Pages: [1]   Go Down
Author Topic: I can't make the start/stop scripts work in /etc/initd  (Read 236 times)
0 Members and 2 Guests are viewing this topic.
daggett
Sr. Member
****

Karma: 0
Offline Offline

Posts: 109


View Profile
« on: December 05, 2006, 05:30:55 PM »

Hi,
I wanted to integrate the start/stop script for pandora server and agents with every other daemons of my machines (/etc/init.d and /etc/rc.d set with chkconfig) but it didn't work, chkconfig is returning an error:
the service pandora_server doesn't support chkconfig.

So is there any men to make them start when the computer/server is switched on and stop when stopping the machine/server?

I'm not sure my question is real understandable (well it's late, and I'm quiet tired actually... ;-)

bye
« Last Edit: January 01, 1970, 01:00:00 AM by daggett » Logged

Sancho Lerena
Administrator
Expert member
*****

Karma: 24
Offline Offline

Posts: 1151


I can see everything... with my glasses :-)


View Profile WWW
« Reply #1 on: December 05, 2006, 06:05:00 PM »

Quote from: "daggett"
Hi,
I wanted to integrate the start/stop script for pandora server and agents with every other daemons of my machines (/etc/init.d and /etc/rc.d set with chkconfig) but it didn't work, chkconfig is returning an error:
the service pandora_server doesn't support chkconfig.

So is there any men to make them start when the computer/server is switched on and stop when stopping the machine/server?

I'm not sure my question is real understandable (well it's late, and I'm quiet tired actually... ;-)

bye


Probably provided script doesn't work properly in your distro, you may change to fit your needs, it would be easy to change... provided one do not support chkconfig but must work on many distros, just put on /etc/init.d  test, and if it works, make a link to appropiate runlevel.
« Last Edit: January 01, 1970, 01:00:00 AM by nil » Logged

-- See you in the other screen.

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST