Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 02-04-2003, 07:25 AM   #1
LQ Newbie
Registered: Feb 2003
Posts: 1

Rep: Reputation: 0
Starting samba

I'm a newbie and I'm trying to get samba to run. I have a few small questions.

- How do you know if its running?
- How do you start/stop/restart it?

Old 02-04-2003, 07:40 AM   #2
Senior Member
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
- How do you know if its running?
ps aux
- How do you start/stop/restart it?
As far as I remember:
I'm going to assume you have a RedHat (-compatible) system.
Goto /etc/init.d and run (as root) ./smb start (or restart, stop)
Old 02-04-2003, 08:46 AM   #3
Registered: Feb 2003
Distribution: RedHat 8.0, Mandrake 9.1
Posts: 54

Rep: Reputation: 15
Go to the terminal window and type in any of the following commands:

/etc/init.d/smb restart
/etc/init.d/smb start
/etc/init.d/smb stop

To have SAMBA start when the machine does type:
chkconfig smb on

Hope that helps.
Old 02-04-2003, 01:54 PM   #4
LQ Newbie
Registered: Feb 2003
Location: Reno, NV
Distribution: RH 7.x , 8
Posts: 4

Rep: Reputation: 0
Using RH 7 or 8, I open a terminal window and
"su -"
<enter password>
and then
"service smb status "

you can also just enter the service command with no parameters to get the parameters it accepts -- one of these is

service --status-all

which is useful to see what services are running--note per other posts that you either need to stop your default IPTABLES firewall which can be done by

service iptables stop

or "poke a hole in the firewall" to get Samba to work with windows boxes.

RH gnome also has a GUI services program and a Samba config program. editing the conf file is instructive though.

All the above is just another way to do what mawarsha correctly posts, without having to remember (or count on ) directory locations.

-- my 2cents....


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
Starting Samba agallant AIX 7 10-31-2004 06:30 AM
Samba is really starting to irritate me, can anyone help? WorldBuilder Linux - Networking 5 05-24-2003 01:33 PM
Starting up Samba jmarsh Linux - Networking 1 02-13-2003 08:04 AM
starting samba chrismiceli Linux - Networking 3 10-23-2002 11:10 PM
Starting Samba AMDPwred Linux - General 5 01-27-2002 11:14 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:18 AM.

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