[Serusers] error starting ser daemon with persistency support
Klaus Darilion
darilion at ict.tuwien.ac.at
Thu Jan 22 16:58:22 CET 2004
try to start ser in debug mode.
at the begin of ser.cfg:
debug=7
fork=no
log_stderror=yes
this will give you a lot of information and hints to the error!
regards,
klaus
-----Original Message-----
From: Ziying Sherwin [mailto:sherwin at lhc.nlm.nih.gov]
Sent: Thu 22.01.2004 16:48
To: pelinescu-onciul at fokus.fraunhofer.de
Cc: info at iptel.org; serusers at lists.iptel.org
Subject: [Serusers] error starting ser daemon with persistency support
We are trying to compile ser 0.8.12 on Solaris 2.8 using gcc 3.3. The
compilation and installation go smoothly until we tried to start the ser
daemon with persistancy support.
We followed the instructions listed on the website. First, we modified the
MySQL configuration file to increase the maximun connections allowed. Second
we restart the MySQL daemon. Third, we modified the ser_mysql.sh file to
set the username, password and path properly and used it to create the MySQL
tables. Then we modifid ser.cfg file and uncommented the following lines:
loadmodule "/depot/package/ser_0.8.12/lib/ser/modules/mysql.so"
loadmodule "/depot/package/ser_0.8.12/lib/ser/modules/auth.so"
loadmodule "/depot/package/ser_0.8.12/lib/ser/modules/auth_db.so"
modparam("usrloc", "db_mode", 2)
modparam("auth", "calculate_ha1", yes)
modparam("auth_db", "password_column", "password")
uncommented and modified the following lines:
if (!www_authorize("<our domain name>", "subscriber")) {
www_challenge("<our domain name>", "0");
break;
};
Finally, we tried to start the ser daemon by directly calling the binary "ser",
and the got the following error message:
>ser
ERROR: bad config file (1 errors)
How can we find where the error is? All the modules listed in the configuration
file are present in the directory. What else could go wrong?
Thank you very much in advance.
Ziying Sherwin
_______________________________________________
Serusers mailing list
serusers at lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list