Koozali.org: home of the SME Server

script startup

Offline carachi

  • 2
  • +0/-0
script startup
« on: October 20, 2010, 04:57:30 PM »
Hello,
I installed Kannel on my SME Server and I added the script for the startup in /etc/rc.d/init.d/ and  I added on chkconfig the script,
but it doesn't start on boot of server!

Why??

Thank you

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: script startup
« Reply #1 on: October 20, 2010, 07:08:54 PM »
Moving to SME 7.x Contribs where it is more appropriate.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: script startup
« Reply #2 on: October 20, 2010, 07:12:55 PM »
I installed Kannel on my SME Server and I added the script for the startup in /etc/rc.d/init.d/ and  I added on chkconfig the script,
but it doesn't start on boot of server!
SME Server is not just plain linux as it is geared to be managed through server-manager and not through the command line. Therefore some special mechanisms are in place. You should familiarize yourself with it and the best start is to read the manual which is available in the wiki.

Why??
That is hard to say with th every limited amount of information you are providing. Please keep in mind that we are not at the terminal of your machine and do not know what instructions you entered exactly and what you observe. We can only guess.
Your best bet is to investigate for error messages by starting to look through /var/log/messages for clues. If you want us to help you you should provide us with more information.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: script startup
« Reply #3 on: October 20, 2010, 07:51:25 PM »
Hello,
I installed Kannel on my SME Server and I added the script for the startup in /etc/rc.d/init.d/ and  I added on chkconfig the script,
but it doesn't start on boot of server!

Why??

Thank you

you have to do it in the SME's way:

Code: [Select]
config set kannel service status enabled
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc7.d/S99kannel

pay attention to upper/lower case

please take some time to read the dev's manual, thank you