[Serusers] error starting ser daemon with persistency support

Ziying Sherwin sherwin at lhc.nlm.nih.gov
Thu Jan 22 16:48:02 CET 2004



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





More information about the sr-users mailing list