[Serusers] compiling mysql

Greger V. Teigre greger at teigre.com
Thu Apr 14 11:40:32 CEST 2005


You define the mysql socket in /etc/my.cnf
g-)
Kamran Ahmad wrote:
> when i am starting ser it is not working. how to set
> mysql socket to /tmp/mysql.sock
> 
> /var/log/messages
> ------------------------------------------------------
> Apr 14 05:13:47 achieva ser: WARNING: fix_socket_list:
> could not rev. resolve 202.42.132.133
> Apr 14 05:13:57 achieva ser: WARNING: fix_socket_list:
> could not rev. resolve 202.42.132.133
> Apr 14 05:13:57 achieva ser[16717]: Maxfwd module-
> initializing
> Apr 14 05:13:57 achieva ser[16717]: new_connection():
> Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (2)
> Apr 14 05:13:57 achieva ser[16717]: db_init(): Could
> not create a connection
> Apr 14 05:13:57 achieva ser[16717]: ERROR:
> uridb_db_ver: unable to open database connection
> Apr 14 05:13:57 achieva ser[16717]: ERROR:
> uri_db:mod_init(): Error while querying table version
> Apr 14 05:13:57 achieva ser[16717]: init_mod(): Error
> while initializing module uri_db
> Apr 14 05:14:22 achieva cups: cupsd shutdown succeeded
> Apr 14 05:14:25 achieva cups: cupsd startup succeeded
> Apr 14 05:14:25 achieva logrotate: ALERT exited
> abnormally with [1]
> 
> -------------------------------------------------------
> 
> 
> --- "Greger V. Teigre" <greger at teigre.com> wrote:
>> Kamran,
>> The make_and_install script saves all output to
>> make_and_install_output.txt
>> in the source root directory.  Search for errors in
>> that file (or mysql) and
>> you will see what happened.
>>     If you don't get a mysql.so at all, most likely
>> you have not installed
>> the mysql-devel package (so mysql header file is
>> missing).
>> g-)
>> Kamran Ahmad wrote:
>>> hello
>>> 
>>> while i am trying to compile mysql module for ser but
>>> it is not working. i am using ser-0.9.0.
>>> 
>>> I HAVE TRIED
>>> ./make_and_install sql
>>> but unable to compile mysql
>>> and i also used
>>> changed Makefile then
>>> make; make install
>>> but still unable to compile mysql.so
>>> 
>>> any one gone through this.
>>> 
>>> Kamran
>>> 
>>> 
>>> 
>>> __________________________________
>>> Do you Yahoo!?
>>> Yahoo! Small Business - Try our new resources site!
>>> http://smallbusiness.yahoo.com/resources/
>>> 
>>> _______________________________________________
>>> Serusers mailing list
>>> serusers at lists.iptel.org
>>> http://lists.iptel.org/mailman/listinfo/serusers
>> 
>> 
> 
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/




More information about the sr-users mailing list