start services during the startup

 
Thread Tools Search this Thread
Operating Systems Linux SuSE start services during the startup
# 1  
Old 05-27-2009
start services during the startup

I'm trying to add services to start services automatically during the system start up in suse linux.
I followed these steps..

chkconfig servicename on

and created symbolic link at /etc/rc.d/rc3.d/ folder with name S80servicename. here is the command I used

ln -s /etc/init.d/servicename S80servicename.

But It still not working. I also tried with yast, system, system services. enable services (its already enabled). But no luck.

any ideas ...thanks
# 2  
Old 05-28-2009
What happens if you try to start the service manually? Any error messages?

By the way, using insserv to enable the service will create the necessary symlinks for you.
# 3  
Old 05-28-2009
man insserv

Are you using Red Hat style init scripts or the LSB header style SUSE uses?
# 4  
Old 05-28-2009
I dont know what scripts. But I think regular Suse init.d scripts. Im able to run script manually. Thanks
# 5  
Old 05-28-2009
what is the output of the command "runlevel"
# 6  
Old 05-29-2009
Here is the out put of command run level...

#chkconfig --list sname
sname 0Smilieff 1Smilieff 2Smilien 3Smilien 4Smilien 5;on 6Smilieff

Thanks
# 7  
Old 05-29-2009
how is that the output of the command runlevel? You showed the command as being chkconfig?
If it was the command "runlevel" you would have seen this:
#runlevel

not:

#chkconfig --list sname
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Start a service manager process automatically on startup

Hello, I am in the process of learning Linux OS. How do I run the below lines of code automatically as root on server startup. cd /opt/program_folder/ServiceManager/bin nohup ./servce_manager DEV & Currently, as soon as the server is up and running I log in as root (as this... (6 Replies)
Discussion started by: rparavastu
6 Replies

2. Shell Programming and Scripting

Script to Start services based on dependent services on other AIX machine

Hi, I just started working on a script. After my research, i found a command which can help me: AIM: To build a script which starts the services (Services 1) on server 1 automatically whenever its down. And it has a dependency on other service (Service 2) on Server 2. So my script has to... (4 Replies)
Discussion started by: draghun9
4 Replies

3. UNIX for Advanced & Expert Users

start some services automatically

Hello All i have a question related to some services,i want to start some services with server linux centos. i make "chkconfig httpd on" and "chkconfig asterisk on",but when i verify with chkconfig --list i found httpd 0: off 1: off 2: on 3: on 4: on 5: on 6:... (6 Replies)
Discussion started by: bernard12
6 Replies

4. AIX

Startup script and services

Guy's What the exact steps to mention for example this script /usr/start/start.sh to be as start up script , I want it to be automatically started when I reboot the server . (8 Replies)
Discussion started by: ITHelper
8 Replies

5. Solaris

StartUP file to start a service

Hi guys: i have a Solaris 10 development server and a Solaris 9 production server. The entire task must be done in the dev. server. When it's done and all the testing is OK, the script or files are transfer to prod. Server. All right. Now I have to figure out a way to put a script to initiate... (2 Replies)
Discussion started by: bmathiasf
2 Replies

6. Solaris

Start Up Services?

Solaris uses a few different mechanisms to start up services and processes at boot time. Where do all the running processes come from? Can you find from where they were started? (8 Replies)
Discussion started by: gc40
8 Replies

7. UNIX for Dummies Questions & Answers

startup script wont start up

I've put this script in /etc/rc.d and made a symbolic link to it from S99pctb in /etc/rc.d/rc3.d but it wont start up. Anyone know why ? This is the script: --------------------------- #!/bin/sh c=1 case "$1" in start) echo -n "starting pctb ..." > /etc/logger while ; do... (7 Replies)
Discussion started by: msearson1
7 Replies

8. Solaris

stop a process to start at system startup

Hi all! I'm running Solaris 10 and have a question about how i can stop a certain program to start at system startup,for example, as it is now sendmail is starting but i don't need sendmail,on the other hand so would i be very glad to get cups up and running at startup, anyone who can explain where... (3 Replies)
Discussion started by: larsgk
3 Replies

9. UNIX for Advanced & Expert Users

AIX 5.3: Start Service on System startup

Hi, I'm new to AIX, and have to make some services start at system startup. The IBM-Redbook says I have to edit /etc/inittab. As a long time (Debian)-Linux Admin I'm a bit confused. Is there something like /etc/init.d/$SERVICE in AIX? Greetings, Dennis (1 Reply)
Discussion started by: dennis.kuehl
1 Replies

10. UNIX for Dummies Questions & Answers

how do i auto start application upon startup?

sorry, i'm a newbie to unix... but how do i or rather where do i write scripts that auto start my application e.g. Informix? in Windows it would be services but in UNIX where can i auto start my informix program? To run informix i just type "oninit". And do i have to login to any user before... (2 Replies)
Discussion started by: doofie
2 Replies
Login or Register to Ask a Question