Solaris 8 how do I enable and disable services? (equivalent of chkconfig on Linux)


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 8 how do I enable and disable services? (equivalent of chkconfig on Linux)
# 1  
Old 06-09-2009
Solaris 8 how do I enable and disable services? (equivalent of chkconfig on Linux)

I've successfully installed syslog-ng and chkconfig using the packages from the OpenCSW project, these packages install under /opt/csw. I now need to disable the default syslog daemon and enable the new service created by the OpenCSW package (/etc/init.d/cswsyslog_ng).

Is there any good way to do this or do I have to manually delete and create symlinks under each /etc/rcX.d directory?

(The chkconfig program doesn't seem able to function, even when I point it at the /etc/init.d and /etc or /etc/rc0.d directories.)
# 2  
Old 06-09-2009
It is a manual process in Solaris versions older than 10. In this case you should rename the start script like this
mv /etc/rcX.d/SXXsyslogd /etc/rcX.d/_SXXsyslogd
and do the same for the kill script KXXsyslogd => _KXXsyslogd
# 3  
Old 06-12-2009
Thanks, done that now although can't tell if it'll work or not as we can't reboot this machine yet (it's on 10-year old hardware so no one's sure if it'll come up again!)

Still I have to wonder how do people manage Solaris 8 and 9, such simple things seem to be huge pains in the arse
# 4  
Old 06-12-2009
Quote:
Still I have to wonder how do people manage Solaris 8 and 9, such simple things seem to be huge pains in the arse
Well, you can always write your own scripts to automate simple tasks like that... I know I used to have one for disabling/enabling services.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Looking for equivalent of Solaris containers/zones in RHEL7 Linux

Hi, I come from a legacy Solaris background with lots of experience with Solaris Containers/zones that we use for network and process isolation from each other. Currently we have a RHEL7 Linux VM running on VMWare, but we would like to segment that VM with some form of containers and achieve... (1 Reply)
Discussion started by: ckmehta
1 Replies

2. UNIX for Dummies Questions & Answers

How do i disable kudzu without using chkconfig

How do i disable kudzu without using chkconfig? /sbin/chkconfig --level 3 kudzu off Is there any other way of doing it . for example by modifying parameter of any file. Basically i want kudzu to be disabled during the first run of the machine after installation. I have full access to the... (2 Replies)
Discussion started by: pinga123
2 Replies

3. Shell Programming and Scripting

How to disable Enable/Disable Tab Key

Hi All, I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:( Thanks, Rico (1 Reply)
Discussion started by: carnegiex
1 Replies

4. Solaris

need solaris /etc/default/fs equivalent file in redhat Linux

contents of /etc/default/fs file in solaris are @:/root !ksh less /etc/default/fs LOCAL=ufs i want to retrieve same LOCAL variable in redhat Linux... any1 knows path of corresponding file in Linux? (3 Replies)
Discussion started by: crackthehit007
3 Replies

5. UNIX for Dummies Questions & Answers

need solaris /etc/default/fs equivalent file in redhat Linux

contents of /etc/default/fs file in solaris are @:/root !ksh less /etc/default/fs LOCAL=ufs i want to retrieve same LOCAL variable in redhat Linux... any1 knows path of corresponding file in Linux? (0 Replies)
Discussion started by: crackthehit007
0 Replies

6. Solaris

solaris equivalent to the linux screen command

hi there is there a solaris equivalent to the linux screen command? (1 Reply)
Discussion started by: milhan
1 Replies

7. UNIX for Dummies Questions & Answers

What is the equivalent of Solaris snoop in Linux

What is the equivalent of Solaris snoop in Linux I could not find snoop in RHEL (2 Replies)
Discussion started by: santosh149
2 Replies

8. UNIX for Advanced & Expert Users

Disable/Enable HP print services SCO OS 5

We're running SCO Open Server 5. On occassion we need to disable/enable HP print services. There's nothing that I have found in the HP printer manager that allows for this. I know we can stop/start print services via SCOADMIN. On occassion one of our HP printers will generate an error, the msg in... (4 Replies)
Discussion started by: sighbrrguy
4 Replies

9. Linux

Enable and disable ttyS0

I have a modem connect it to ttyS0 , in unix sco i know i can disable and enable the port , how can i do this , is there a command that will allow me to do this. **** I'm running Redhat 9 *****External Usrobotics 56k Thanks a lot guys (1 Reply)
Discussion started by: josramon
1 Replies
Login or Register to Ask a Question

Featured Tech Videos