Antw: Re: [asterisk-dev] chan_h323.so

Hoai-Anh Ngo-Vi Hoai-Anh.Ngo-Vi at mcn-tele.com
Mon Jan 30 01:04:38 MST 2006


 ls -la /root/openh323/lib/
dr-xr-xr-x  3 root root     4096 2006-01-27 12:23 .
dr-xr-xr-x  7 1010 3000     4096 2006-01-27 14:14 ..
-r-xr-xr-x  1 root root 18235856 2006-01-27 12:23 libh323_linux_x86_r_s.a
lrwxrwxrwx  1 root root       29 2006-01-27 12:23 libh323_linux_x86_r.so -> libh323_linux_x86_r.so.1.17.1
lrwxrwxrwx  1 root root       29 2006-01-27 12:23 libh323_linux_x86_r.so.1 -> libh323_linux_x86_r.so.1.17.1
lrwxrwxrwx  1 root root       29 2006-01-27 12:23 libh323_linux_x86_r.so.1.17 -> libh323_linux_x86_r.so.1.17.1
-r-xr-xr-x  1 root root 12185995 2006-01-27 12:23 libh323_linux_x86_r.so.1.17.1
dr-xr-xr-x  2 root root     4096 2006-01-27 12:23 obj_linux_x86_r

thank you for your tips. I think every user has read and execute access here but it still does not work. Asterisk runs as root

>>> Tzafrir Cohen <tzafrir.cohen at xorcom.com> 30.01.2006  08.29 Uhr >>>
On Mon, Jan 30, 2006 at 07:48:57AM +0100, Hoai-Anh Ngo-Vi wrote:
> Hi,
> 
> yes, I have also rebooted the machine but it didn't help.

No reboots/restarts should be required after running ldconfig.

> 
> >>> "Paul Cadach" <paul at odt.east.telecom.kz> 27.01.2006  16.55 Uhr >>>
> Hi,
> 
> Did you executed ldconfig after adding /root/openh323/lib to /etc/ld.so.conf?


Does asterisk run as root? If not: make sure that the user asterisk can
read those files. Not only /root but also /root/openh323 and
/root/openh323/lib . In short:

  ls -la /root/openh323/lib

Also note that a 777 directory and/or a 666 file is a bad habit and
is almost never required in a properly-managed server. In most cases it
seems required there is a simpler and better solution (chown, 555, etc.)

In fact, a world-writable home dirs may have its own tiny side-effects.
Fr instance, ssh will refuse to trust the .ssh/authorized_keys file
under that directory for public key authentication.

-- 
Tzafrir Cohen     icq#16849755  +972-50-7952406
tzafrir.cohen at xorcom.com  http://www.xorcom.com 
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev




More information about the asterisk-dev mailing list