Displaying 2 results from an estimated 2 matches for "default_socket".
Did you mean:
default_bucket
2005 Jan 12
0
astweb cdr's mysql.sock problem
Hi,
I am trying to install the astweb.php but I am always getting into the same problem:
Warning: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /var/www/html/astweb.php
Yet mysocket is in tmp/mysql.sock as specified in php.ini !?
mysql.default_socket = /tmp/mysql.sock
I don't see where astweb obstinently claim the socket in "/var/lib/mysql/" when all other apps use /tmp
Rmrk: a link is OK but only temporary
Anyone had the same problem ?
Thanks for any help,
FK
---------------------------------
Do you Yahoo!?
Meet the all-ne...
2009 Jan 06
1
Problems getting 1.6 to run with user asterisk and group asterisk
.../asterisk/asterisk.conf has:
astrundir => /var/run/asterisk
runuser = asterisk
rungroup = asterisk
The directory, user, and group exist. Permissions are fine. The only
way I can get it to run is to edit defaults.h and change:
#define DEFAULT_RUN_DIR "/var/run/asterisk"
#define DEFAULT_SOCKET "/var/run/asterisk/asterisk.ctl"
#define DEFAULT_PID "/var/run/asterisk/asterisk.pid"
After these changes and recompiling all is fine.
It seems that at startup asterisk.conf is being parsed, runuser and
rungroup are being set, but astrundir is not overriding the de...