LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-23-2003, 03:19 PM   #1
tmelo49
LQ Newbie
 
Registered: Apr 2003
Location: San Jose, CA
Distribution: RedHat 9
Posts: 2

Rep: Reputation: 0
Question Add a new system service


I made the mistake of installing the version if SAMBA that comes with RedHat 9. Don't remember the exact version, but it doesn't come with SWAT. I have since uninstalled it and installed 2.2.7 in its place. However, now I do not have a service for samba and I'd like to add one. I've read the chkconfig man page, but that did not clear up my confusion. Right now I start smbd and nmbd with a cheap 2 line script that runs at run level 5. I'd like to be able to start and stop samba from the service configuration gui. Any help would be appreciated. Thanks!
 
Old 04-23-2003, 06:29 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,340

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Did the script you want disappear when you uninstalled the old version of Samba? If so, you could reinstall the old version, save a copy of the old script somewhere and then install 2.2.7 again.
 
Old 04-23-2003, 06:37 PM   #3
tmelo49
LQ Newbie
 
Registered: Apr 2003
Location: San Jose, CA
Distribution: RedHat 9
Posts: 2

Original Poster
Rep: Reputation: 0
Yes it did. If I was able to retrieve it, would I simply need to modify it to point to the 2.2.7 install bins?
 
Old 04-23-2003, 06:48 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,340

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
I know nothing about how to start Samba. But many times I have rewritten SuSE scripts for other services. I find it easier to rework the old script than to write one from scratch.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add service in windows ajkannan83 Linux - Software 2 09-12-2005 09:32 AM
Add service in windows ajkannan83 General 2 09-12-2005 03:14 AM
Making a service as a system service Dakkar SUSE / openSUSE 2 07-13-2005 07:36 AM
add service to "system services list"? frieza Linux - Software 2 05-05-2004 11:51 AM
How to add a system service in "ntsysv" list? yuzuohong Linux - General 1 07-15-2002 07:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration