View previous topic :: View next topic |
Author |
Message |
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Tue Mar 29, 2005 10:02 pm Post subject: E17: enlightenment_remote fails to open IPC socket |
|
|
I've just done a complete update of E17 from CVS today and I was in the process of setting up engage (also from CVS) on my AMD64 box with 64-bit Gentoo.
When trying to load engage using enlightenment_remote with the following command:
enlightenment_remote -module-load usr/lib/engage/module/module.so
It fails with the following error:
Code: |
enlightenment_remote -module-load /usr/lib/engage/module/module.so
WARNING: not a utf8 locale!
ERROR: Enlightenment_remote cannot set up the IPC socket.
Maybe try the '-display :0' option?
|
Now adding the -display option does nothing so, i ran the same command through strace and found:
Code: |
socket(PF_FILE, SOCK_STREAM, 0) = 3
fcntl(3, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [7885636023621779456], 4) = 0
connect(3, {sa_family=AF_FILE, path="/home/ebrostig/.ecore/enlightenment-(:0.0)/0"}, 46) = -1 ENOENT (No such file or directory)
close(3) = 0
write(1, "ERROR: Enlightenment_remote cann"..., 58) = 58
write(1, "Maybe try the \'-display :0\' opti"..., 36) = 36
munmap(0x2aaaab5d6000, 4096) = 0
exit_group(-1) = ?
|
It complains about a missing directory. Shouldn't it create this if needed?
So, I go ahead and create the directory structure it asks for:
Code: |
ebrostig@zappa ~/tmp $ mkdir -p "/home/ebrostig/.ecore/enlightenment-(:0.0)/0"
ebrostig@zappa ~/tmp $ strace -ff -o eng1 enlightenment_remote -module-load /usr/lib/engage/module/module.so
WARNING: not a utf8 locale!
ERROR: Enlightenment_remote cannot set up the IPC socket.
Maybe try the '-display :0' option?
|
Looking at the strace output shows:
Code: |
socket(PF_FILE, SOCK_STREAM, 0) = 3
fcntl(3, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
fcntl(3, F_SETFD, FD_CLOEXEC) = 0
setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [7885636023621779456], 4) = 0
connect(3, {sa_family=AF_FILE, path="/home/ebrostig/.ecore/enlightenment-(:0.0)/0"}, 46) = -1 ECONNREFUSED (Connection refused)
close(3) = 0
write(1, "ERROR: Enlightenment_remote cann"..., 58) = 58
write(1, "Maybe try the \'-display :0\' opti"..., 36) = 36
munmap(0x2aaaab5d6000, 4096) = 0
exit_group(-1) = ?
|
Ok, I give up
Anyone have some solution to this issue?
Erik _________________ 'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.' |
|
Back to top |
|
|
disgustingangel n00b
Joined: 28 Mar 2005 Posts: 7
|
Posted: Wed Mar 30, 2005 9:06 am Post subject: |
|
|
I've also tried your solution, but I think this mast be not a directory... but a socket!
I can't unerstand why it complains, still... |
|
Back to top |
|
|
disgustingangel n00b
Joined: 28 Mar 2005 Posts: 7
|
Posted: Wed Mar 30, 2005 9:55 am Post subject: |
|
|
some news... I've assumed that fore some strange reasons we ave only a folder ~/.ecore/_systems containing two sockets (named 0 and 1) (that's my case).
So, i've symlinked that to enlightenment-(:0.0), and the error now is ERRCONNREFUSED (Connection Refused...)
BTW, a netstat -a gives me no listening sockets in those paths!....!
What's there? |
|
Back to top |
|
|
Acoc Apprentice
Joined: 06 Aug 2004 Posts: 189 Location: New Jersey, USA
|
Posted: Mon Apr 04, 2005 10:33 pm Post subject: |
|
|
Are you running this as a root or as a user? I experienced the same problem as a root and so I tried it as a user and all went well.
John _________________ _There were plenty of times in my century when I was gonna give up, but I never did. Never! Hey, are you even listening to me? Oh, I give up._ Futurama |
|
Back to top |
|
|
ebrostig Bodhisattva
Joined: 20 Jul 2002 Posts: 3152 Location: Orlando, Fl
|
Posted: Tue Apr 05, 2005 12:03 am Post subject: |
|
|
Acoc wrote: | Are you running this as a root or as a user? I experienced the same problem as a root and so I tried it as a user and all went well.
John |
I actually though that the following was a clue in that matter:
Code: |
connect(3, {sa_family=AF_FILE, path="/home/ebrostig/.ecore/enlightenment-(:0.0)/0"}, 46)
|
It says "/home/ebrostig' and not "/root"
Erik _________________ 'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.' |
|
Back to top |
|
|
Acoc Apprentice
Joined: 06 Aug 2004 Posts: 189 Location: New Jersey, USA
|
Posted: Tue Apr 05, 2005 12:27 am Post subject: |
|
|
I'm taking the high road on this one bud, but your pushing it.
Anyway, ok THAT isn't your problem, my mistake, but looking back on an old backup I noticed that I didn't have that directory or socket in .ecore. I got it working fine by reemerging of all efls, and e17 libs (ecore included). The directory now exists with a 0: socket.
John _________________ _There were plenty of times in my century when I was gonna give up, but I never did. Never! Hey, are you even listening to me? Oh, I give up._ Futurama |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|