The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > Linux > SuSE
.
google unix.com



SuSE SUSE Linux is a major operating system. The developer rights are owned by Novell, Inc.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Identities in a Service-Oriented World: Identity as a Service iBot Solaris BigAdmin RSS 0 11-24-2008 03:30 PM
Multiple runlevel options at Bootup srikumar_cs UNIX for Advanced & Expert Users 2 04-04-2007 03:21 AM
Runlevel(s) Irish Jimmy Linux 5 09-17-2006 10:11 PM
runlevel from cmdline or lilo? odys Linux 2 02-06-2006 04:22 PM
Runlevel in Freebsd? Insomniac UNIX for Dummies Questions & Answers 2 03-01-2003 09:35 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-15-2009
benefactr benefactr is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 71
Question New runlevel service

Ok, I am attempting to add a new program to startup during the runlevel 3. I am using Suse 10.
I made a script lets call it foostart and placed it in /etc/init.d. It has 777 permissions on the script.
I then created a link ln -s /etc/init.d/foostart /etc/init.d/rc3.d/S99foostart
But during bootup the script will not run.
I can run /etc/init.d/footstart start and it will execute fine. I can even go into yast and see it in there and start it from there and it starts fine. What am I missing for it not to start during bootup. thanks for any help.
  #2 (permalink)  
Old 01-15-2009
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,993
isn't the path /etc/rc3.d/S99foostart? and what are the permissions and who is owner of the link and the script in init.d? post the output of "ls -l /path/to/script".
  #3 (permalink)  
Old 01-15-2009
benefactr benefactr is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 71
gold:/etc/init.d # ls -lrt /etc/init.d/foostart
-rwxrwxrwx 1 root root 143 2009-01-15 12:43 /etc/init.d/foostart
gold:/etc/init.d #

gold:/etc/init.d # ls -lrt /etc/init.d/rc3.d/S99*
lrwxrwxrwx 1 root root 20 2009-01-15 12:50 /etc/init.d/rc3.d/S99foostart -> /etc/init.d/foostart
gold:/etc/init.d #
  #4 (permalink)  
Old 01-15-2009
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,993
again, is this "/etc/init.d/rc3.d/S99foostart" the right path? in all other linux/unix distros i know, the path is "/etc/rc3.d/S99whatever". i don't know suse and maybe your path is right but please check this...

Last edited by DukeNuke2; 01-15-2009 at 07:34 PM..
  #5 (permalink)  
Old 01-15-2009
benefactr benefactr is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 71
Quote:
Originally Posted by DukeNuke2 View Post
again, is this "/etc/init.d/rc3.d/S99foostart" the right path? in all other linux/unix distros i know, the path is "/etc/rc3.d/S99whatever". i don't now suse and maybe your path is right but please check this...
Yes that's the right path, as there is no rc3.d and all other runlevel programs are in the paths.
  #6 (permalink)  
Old 01-15-2009
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
  
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 2,993
all looks fine for me so far... so this is a suse problem or something is wrong with the script itself... i've no suse system to test this. i've moved the thread to the suse subforum. maybe a suse user knows how to solve this?!

greets,
DN2
  #7 (permalink)  
Old 01-15-2009
benefactr benefactr is offline
Registered User
  
 

Join Date: Jul 2007
Posts: 71
I changed S99 to S10 and now it seems to be running at startup. Anyone know why that is? Thanks.
Closed Thread

Bookmarks

Tags
runlevel, service

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:58 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0