There was problem that sudo didn't propagate LD_LIBRARY_PATH settings or
it did, but linker didn't care or something like that.
Does your ser binary has setuid/setgid bit set? In this case linker may
ignore the LD_LIBRARY_PATH settings too.
You can try to add the path /usr/local/lib/ser to your /etc/ld.so.conf
and run ldconfig. This might help...
Vaclav
On Mon, May 21, 2007 at 12:32:15PM -0700, Mahatma Sarasvati wrote:
No, I'm not using sudo. Does it matter?
M
----- Original Message ----
From: Vaclav Kubart <vaclav.kubart(a)iptel.org>
To: Mahatma Sarasvati <gnoahhb(a)yahoo.com>
Cc: serusers(a)iptel.org
Sent: Wednesday, May 16, 2007 9:47:40 PM
Subject: Re: [Serusers] Problem running presence modules - SER won't start
Hello,
how did you start ser? Aren't you using sudo?
Vaclav
On Wed, May 16, 2007 at 11:24:07AM -0700, Mahatma Sarasvati wrote:
Hello All,
Running SER 2.0.0 rc1 from CVS (updated yesterday) on CentOS 5.
I'm trying to test/use the presence functionality in SER.
I've compiled and installed with make group_include="standard standard-dep"
all
I've set the environment variable: export LD_LIBRARY_PATH=/usr/local/lib/ser
[root@vx1 modules]# echo $LD_LIBRARY_PATH
/usr/local/lib/ser
My supporting modules are here:
[root@vx1 modules]# ls -l /usr/local/lib/ser/
total 828
-rwxr-xr-x 1 root root 40768 May 14 15:19 libbinrpc.so
-rwxr-xr-x 1 root root 179044 May 14 15:19 lib_ser_cds.so
-rwxr-xr-x 1 root root 213028 May 14 15:19 lib_ser_presence.so
-rwxr-xr-x 1 root root 371056 May 14 15:19 lib_ser_xcap.so
drwxr-xr-x 2 root root 4096 May 14 15:19 modules
[root@vx1 modules]#
Load module commands are in ser.cfg:
loadmodule "/usr/local/lib/ser/modules/xmlrpc.so"
loadmodule "/usr/local/lib/ser/modules/xcap.so"
loadmodule "/usr/local/lib/ser/modules/pa.so"
loadmodule "/usr/local/lib/ser/modules/presence_b2b.so"
loadmodule "/usr/local/lib/ser/modules/rls.so"
loadmodule "/usr/local/lib/ser/modules/dialog.so"
libXML2 and libXML2-devel are installed.
Yet, when I try to start SER I get this:
May 15 13:09:24 vx1 ser: ERROR: load_module: could not open module
</usr/local/lib/ser/modules/pa.so>: lib_ser_xcap.so: cannot open shared object file:
No such file or directory
May 15 13:09:24 vx1 ser: parse error (81,13-14): failed to load module
May 15 13:09:24 vx1 ser: ERROR: load_module: could not open module
</usr/local/lib/ser/modules/presence_b2b.so>: lib_ser_xcap.so: cannot open shared
object file: No such file or directory
May 15 13:09:24 vx1 ser: parse error (82,13-14): failed to load module
May 15 13:09:24 vx1 ser: ERROR: load_module: could not open module
</usr/local/lib/ser/modules/rls.so>: lib_ser_xcap.so: cannot open shared object
file: No such file or directory
May 15 13:09:24 vx1 ser: parse error (83,13-14): failed to load module
May 15 13:09:24 vx1 ser: ERROR: load_module: could not open module
</usr/local/lib/ser/modules/dialog.so>: lib_ser_cds.so: cannot open shared object
file: No such file or directory
Can anyone help? I think I've done everything right. Why won't SER start?
Thanks,
M
Here's my modules directory:
[root@vx1 modules]# ls -l
total 7264
-rwxr-xr-x 1 root root 67000 May 14 15:19 acc_db.so
-rwxr-xr-x 1 root root 73248 May 14 15:19 acc_syslog.so
-rwxr-xr-x 1 root root 69946 May 14 15:19 auth_db.so
-rwxr-xr-x 1 root root 58071 May 14 15:19 auth.so
-rwxr-xr-x 1 root root 37345 May 14 15:19 avp_db.so
-rwxr-xr-x 1 root root 168768 May 14 15:19 avpops.so
-rwxr-xr-x 1 root root 79110 May 14 15:19 avp.so
-rwxr-xr-x 1 root root 279385 May 14 15:19 ctl.so
-rwxr-xr-x 1 root root 72896 May 14 15:19 db_ops.so
-rwxr-xr-x 1 root root 218639 May 14 15:18 dbtext.so
-rwxr-xr-x 1 root root 97287 May 14 15:19 dialog.so
-rwxr-xr-x 1 root root 63003 May 14 15:19 dispatcher.so
-rwxr-xr-x 1 root root 21604 May 14 15:19 diversion.so
-rwxr-xr-x 1 root root 114536 May 14 15:19 domain.so
-rwxr-xr-x 1 root root 45704 May 14 15:19 enum.so
-rwxr-xr-x 1 root root 109624 May 14 15:19 eval.so
-rwxr-xr-x 1 root root 84357 May 14 15:19 exec.so
-rwxr-xr-x 1 root root 81398 May 14 15:19 fifo.so
-rwxr-xr-x 1 root root 53442 May 14 15:19 flatstore.so
-rwxr-xr-x 1 root root 43414 May 14 15:19 gflags.so
-rwxr-xr-x 1 root root 87574 May 14 15:19 lcr.so
-rwxr-xr-x 1 root root 35883 May 14 15:19 maxfwd.so
-rwxr-xr-x 1 root root 112635 May 14 15:19 mediaproxy.so
-rwxr-xr-x 1 root root 87485 May 14 15:19 msilo.so
-rwxr-xr-x 1 root root 106696 May 14 15:19 mysql.so
-rwxr-xr-x 1 root root 187822 May 14 15:19 nathelper.so
-rwxr-xr-x 1 root root 21203 May 14 15:19 options.so
-rwxr-xr-x 1 root root 741640 May 14 15:19 pa.so
-rwxr-xr-x 1 root root 131893 May 14 15:19 pdt.so
-rwxr-xr-x 1 root root 272113 May 14 15:19 permissions.so
-rwxr-xr-x 1 root root 122158 May 14 15:19 pike.so
-rwxr-xr-x 1 root root 232133 May 14 15:19 presence_b2b.so
-rwxr-xr-x 1 root root 26172 May 14 15:19 print.so
-rwxr-xr-x 1 root root 47597 May 14 15:19 ratelimit.so
-rwxr-xr-x 1 root root 152843 May 14 15:19 registrar.so
-rwxr-xr-x 1 root root 402652 May 14 15:19 rls.so
-rwxr-xr-x 1 root root 114896 May 14 15:19 rr.so
-rwxr-xr-x 1 root root 63276 May 14 15:19 sanity.so
-rwxr-xr-x 1 root root 66942 May 14 15:19 sl.so
-rwxr-xr-x 1 root root 222033 May 14 15:18 sms.so
-rwxr-xr-x 1 root root 34415 May 14 15:19 speeddial.so
-rwxr-xr-x 1 root root 120807 May 14 15:19 textops.so
-rwxr-xr-x 1 root root 43276 May 14 15:19 timer.so
-rwxr-xr-x 1 root root 848962 May 14 15:19 tm.so
-rwxr-xr-x 1 root root 117593 May 14 15:19 uac.so
-rwxr-xr-x 1 root root 38793 May 14 15:19 unixsock.so
-rwxr-xr-x 1 root root 38979 May 14 15:19 uri_db.so
-rwxr-xr-x 1 root root 38603 May 14 15:19 uri.so
-rwxr-xr-x 1 root root 351468 May 14 15:19 usrloc.so
-rwxr-xr-x 1 root root 41867 May 14 15:19 xcap.so
-rwxr-xr-x 1 root root 100354 May 14 15:19 xlog.so
-rwxr-xr-x 1 root root 98456 May 14 15:19 xmlrpc.so
[root@vx1 modules]#
____________________________________________________________________________________Boardwalk
for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's
economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
____________________________________________________________________________________
Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html