The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

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



Slackware The Official Release of Slackware Linux by Patrick Volkerding is an advanced Linux operating system, designed with the twin goals of ease of use and stability as top priorities.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
cannot find boot device and won't boot off cdrom kymberm SUN Solaris 3 04-11-2006 11:23 AM
solaris boot problem boot error loading interpreter(misc/krtld) johncy_j SUN Solaris 0 08-17-2005 08:15 AM
Scologin not starting on boot up AtALoss SCO 1 05-16-2005 04:49 PM
Cannot boot - Boot : Panic : File size out of range (EWS-UX/V unix) fredo UNIX for Advanced & Expert Users 2 05-05-2005 08:42 PM
linux will not boot, boot to grub prompt hassan2 Red Hat 7 01-05-2005 07:38 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-05-2004
kymberm kymberm is offline
Registered User
  
 

Join Date: Mar 2002
Location: Texas
Posts: 120
starting up something on boot

I'm trying to bring up a database server when the linux 6.2 machine is restarted, in unix i can set up a Sxxdbstart script under rc3.d and run
su user -c /path/to/my/script


How can I do this in linux? I thought I could just run it under the rc.d/rc.local script and add it at the end of the local script, but that isn't working, any ideas?


Thanks, k
  #2 (permalink)  
Old 10-05-2004
TioTony's Avatar
TioTony TioTony is offline Forum Advisor  
Bit Pusher
  
 

Join Date: Oct 2001
Location: Southern California
Posts: 332
6.2 Really? Welcome to 1998

I don't have a 6.2 system handy and don't remember the exacts of init from back then. On a more current version you would put your startup script in /etc/init.d and link it to the /etc/rc#.d directories you want it to run in. For example if you want it to run when the system boots to run level 3 you would link it to /etc/rc3.d. I don't think chkconfig existed back on 6.2 but it might have. If it's on your system you could also use chkconfig --add.
  #3 (permalink)  
Old 10-06-2004
locustfurnace locustfurnace is offline Forum Advisor  
Registered User
  
 

Join Date: Aug 2004
Posts: 232
Re: starting up something on boot

Quote:
Originally posted by kymberm How can I do this in linux? I thought I could just run it under the rc.d/rc.local script and add it at the end of the local script,
Slackware Linux still makes use of /etc/rc.d/rc.local. Once you add the script to the rc.local. Make sure it is executable.
Closed Thread

Bookmarks

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 01:54 PM.


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