LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,860

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
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: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,860

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 08:59 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration