[Serusers] Cant restart SER after I edit the 'ser.cfg'
Psyber
psyber1 at gmail.com
Sat Mar 12 06:32:29 CET 2005
This indicates that ser can't connect to your SQL database. Make
sure that the line below contains the correct access information for
your SQL database:
modparam("usrloc", "db_url", "sql://<DB Username>:<DB Password>@<DB IP
Address>/ser")
If you followed the instructions for setting up SER+SQL put forth
by most of the SER configuration guides that I've seen, this should
work:
modparam("usrloc", "db_url", "sql://ser:heslo@localhost/ser")
If you really don't care about having a database backend (you
don't need a persistent registration/usrloc, do this:
modparam("usrloc", "db_mode", 0)
If you're just messing around with ser for the first time and
don't have a specific application in mind you may want to start
without an SQL database backend and configure it later on when you're
more familiar with SER's configuration. That's what I did.
On Fri, 11 Mar 2005 13:54:38 +0800 (CST), eric quek
<ericquek2002 at yahoo.com.sg> wrote:
> Thx Psyber
>
> But I donn't really understand e error...would u
> continue to help me to solve?
>
> here's wad e terminal promt:
>
> 0(9191) connect_db(): Access denied for user:
> 'ser at localhost' (Using password: YES)
> 0(9191) db_init(): Error while trying to connect
> database
> 0(9191) mod_init(): Error while connecting database
> 0(9191) init_mod(): Error while initializing module
> usrloc
> ERROR: error while initializing modules
> 0(9191) MSILO: destory module ...
> 0(9191) DEBUG: tm_shutdown : start
> 0(9191) DEBUG: tm_shutdown : empting hash table
> 0(9191) DEBUG: tm_shutdown : releasing timers
> 0(9191) DEBUG: tm_shutdown : removing semaphores
> 0(9191) DEBUG: tm_shutdown : done
> 0(9191) shm_mem_destory
> 0(9191) destorying the shared memory lock
>
> [FAILED]
> Hope u can understand what are this...
>
> Regards,
> EricQ
>
> --- Psyber <psyber1 at gmail.com> wrote:
> > It sounds like something in your ser.cfg file is
> > broken (which
> > will cause ser not to start). Add these lines to
> > your ser.cfg file
> > and try restarting it.
> >
> > debug=7
> > fork=no
> > log_stderror=yes
> >
> > You will then see (via your terminal) whatever
> > error(s) ser is
> > encountering while attempting to start.
> >
> >
> >
> >
> >
> >
> > On Wed, 9 Mar 2005 14:22:52 +0800 (CST), eric quek
> > <ericquek2002 at yahoo.com.sg> wrote:
> > > Hi all,
> > >
> > > Im a new user who is still learning.
> > >
> > > This is my OS:
> > > Linux ISPL-PC-0034 2.4.20-8 #1 Thu Mar 13 17:54:28
> > EST
> > > 2003 i686 i686 i386 GNU/Linux
> > >
> > > ser distribution:
> > > ser-0.8.12-0.i386.rpm
> > > ser-0.8.12-0.src.rpm
> > > ser-debuginfo-0.8.12-0.i386.rpm
> > > ser-jabber-0.8.12-0.i386.rpm
> > > ser-mysql-0.8.12-0.i386.rpm
> > > ser-radius-0.8.12-0.i386.rpm
> > >
> > > I was unable to restart SER in the terminal after
> > I
> > > eidted the 'ser.cfg' file.
> > > When I type 'service ser restart', stopping ser:
> > > FAILED
> > > But.......Starting ser: OK
> > >
> > > Seem like the SER just wont stop as I had try out
> > > 'service ser stop', result fail.
> > >
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Download the latest ringtones, games, and more!
> > > http://sg.mobile.yahoo.com
> > >
> > > _______________________________________________
> > > Serusers mailing list
> > > serusers at lists.iptel.org
> > > http://lists.iptel.org/mailman/listinfo/serusers
> > >
> >
>
> __________________________________________________
> Do You Yahoo!?
> Download the latest ringtones, games, and more!
> http://sg.mobile.yahoo.com
>
More information about the sr-users
mailing list