LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 02-04-2003, 08:25 AM   #1
lethargic
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?

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

Rep: Reputation: 47
Quote:
- How do you know if its running?
ps aux
Quote:
- 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, 09:46 AM   #3
mawarsha
Member
 
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, 02:54 PM   #4
cgrowdon
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....
 
  


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


All times are GMT -5. The time now is 12:23 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