When you say you "created" /etc/init.d/ser, how exactly did you create this, can you post a copy of this script to me (off list)
What OS are you running (Linux Distribution and version - i.e - RedHat 8, Debian X.Y.Z, etc etc - NOTE: this is GNU/linux/UNIX distribution, not kernel version)
Also, keep in mind that the "ln" was not a "do this and it will magically work" - it requires that the ser startscript conforms to standards as laid out by your OS, what sort of messages do you get from typing
hostname:~# /etc/init.d/ser start
and
hostname:~# /etc/init.d/ser stop
Are there any error messages in /var/log/messages ?
(cat /var/log/messages | grep ser)
if you have chkconfig then please use this - also, try sending the output of chkconfig --list ser
May also pay to include the version of ser you are running..
Need more information sorry :-)
Thanks Steve. But not working for me.
I have done the following,
ln -s /etc/init.d/ser /etc/rc3.d/S81ser
ln -s /etc/init.d/ser /etc/rc4.d/S81ser
ln -s /etc/init.d/ser /etc/rc5.d/S81ser
ln -s /etc/init.d/ser /etc/rc3.d/S81ser
# chkconfig --list ser ser 0:off 1:off 2:off 3:on 4:on 5:on 6:on
When I restart the server it is not starting yet.
Can you help where I have any mistake.
Kannaiyan
----- Original Message ----- From: "Steve Phillips" steve@focb.co.nz To: serusers@lists.iptel.org Sent: Monday, November 17, 2003 11:01 PM Subject: Re: [Serusers] SER Startup --
I'm facing problem with SER when my system reboots or in restart. It does not start automatically. I also created /etc/init.d/ser.
you will need to add a link into your runlevel startup directories, this changes depending on what unix you are on but is usually one of
/etc/rcX.d (later redhat, debian, solaris etc) /etc/rc.d/rcX.d (earlier versions of redhat, some other unixes may use this as well)
say you normally start in run level 3 (check initdefault in /etc/inittab file)
ln -s /etc/init.d/ser /etc/rc3.d/S80ser
you may also want to add a shutdown link as well (usually in /etc/rc6.d)
ln -s /etc/init.d/ser /etc/rc6.d/K10ser
chkconfig can help adding these links if you have it installed and the script supports it
chkconfig ser on
and to list the startup levels.. # chkconfig --list ser ser 0:off 1:off 2:off 3:on 4:on 5:on 6:off
HTH,
-- Steve.