Try to find where is your mysql.sock file and after that make a link to it:
ln -s /path/to/mysql.sock /var/lib/mysql/mysql.sock
Regards,
Pavel Siderov
----- Original Message -----
From: "Olivier.taylor" <olivier.taylor(a)gmail.com>
To: <serusers(a)lists.iptel.org>
Sent: Friday, March 04, 2005 4:49 PM
Subject: [Serusers] Re: Serusers Digest, Vol 23, Issue 7
Hi,
I installed SER 8.14 exactly following INSTALL guide. I am running
on the same machine MySQL 4.1.10 and I successfuly initialised
ser database.
Serweb is working fine with mysql, any changes in the mysql database is
visible on serweb.
In /var/log/messages I can see :
Mar 4 15:38:05 linux ser: Listening on Mar 4 15:38:05 linux ser:
127.0.0.1 [127.0.0.1]:5060
Mar 4 15:38:05 linux ser: 82.146.123.252
[82.146.123.252]:5060
Mar 4 15:38:05 linux ser: Aliases: linux.finalcut.be:5060
finalcut.be:5060 localhost:5060 localhost.localdomain:5060 Mar 4 15:38:05
linux ser: ser startup succeeded
Mar 4 15:38:05 linux /usr/sbin/ser[2652]: connect_db(): Can't connect to
local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) Mar 4
15:38:05 linux /usr/sbin/ser[2652]: db_init(): Error while trying to
connect database Mar 4 15:38:05 linux /usr/sbin/ser[2652]: mod_init():
Error while connecting database Mar 4 15:38:05 linux /usr/sbin/ser[2652]:
init_mod(): Error while initializing module usrloc Mar 4 15:38:05 linux
crond: crond startup succeeded
If I don'tuse ser-mysql, everythings are ok, of course...
Any idea?
Olivier
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers