LinuxQuestions.org
Review your favorite Linux distribution.
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 12-14-2006, 03:29 AM   #1
boy_to_man
Member
 
Registered: Dec 2006
Posts: 54

Rep: Reputation: 15
how to start samba service


hi
one more question in today
I have just install Samba 3.0.3 in fedora linux 6.0
But i dont know how to start it.
i do as this
" To change a users Samba password use the same command as above with out the -a option. Now you can start the Samba service.

# /etc/init.d/smb start

To have the Samba service start on boot, use the chkconfig tool:

# chkconfig �level 35 smb on "

and type
"service smb start "

but i dont exactly where i should type aboves command
please help me
 
Old 12-14-2006, 03:36 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
well there aren't many places you can type commands are there? in a console (Konsole, gnome-terminal, xterm, rxvt). as root (run "su -" to change to root from a normal user).
 
Old 12-14-2006, 03:51 AM   #3
boy_to_man
Member
 
Registered: Dec 2006
Posts: 54

Original Poster
Rep: Reputation: 15
yooooo
it not i meant .I meant was where i can type above command as in below
[root@user ~] or [root@user bin] or somewhere like that
another question, i am using fedora 6.0 but whenever i want use terminal i must follow this path application->accessories->terminal
have any suggest to i can create a shortcut on desktop or by keyboard

Thanks a lot
 
Old 12-14-2006, 03:53 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
what directory? it doesn't matter. for quick access to a terminal under gnome 2.14, find it in the menu and right click, i think it's "attach to panel" or something.
 
Old 12-14-2006, 04:00 AM   #5
boy_to_man
Member
 
Registered: Dec 2006
Posts: 54

Original Poster
Rep: Reputation: 15
thanks for ur reply in quicky

But when i type above command in any where as i said ,i cant get success always is " command not found" i dont know why?
i find out in google but not easy to find out so i want ask to have a exactly answer.

any suggest is always welcome
Thanks
 
Old 12-14-2006, 04:03 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
well the commands are sound, but they are admin commands. as such you need to have logged in as root *correctly* in order to ensure your path contains those commands. as above, it's "su -" from within a normal user console. alternatively, hit Ctrl+alt+f2 and log in directly as root there.

if you are still stuck, start again, open a new terminal and do what you're doing. then copy the *ENTIRE* contents of that terminal here for us to see.

Last edited by acid_kewpie; 12-14-2006 at 04:04 AM.
 
Old 12-14-2006, 04:05 AM   #7
kenji
Member
 
Registered: Sep 2004
Location: Philippines
Distribution: Slackware
Posts: 143

Rep: Reputation: 16
try sudo or switching to root. hope this helps| 3

$su -
password:
# /etc/init.d/smb start

or
# sudo /etc/init.d/smb start

Last edited by kenji; 12-14-2006 at 04:08 AM.
 
Old 12-14-2006, 04:26 AM   #8
boy_to_man
Member
 
Registered: Dec 2006
Posts: 54

Original Poster
Rep: Reputation: 15
here is things i have try to do

[root@10 ~]# /etc/init.d/s
saslauthd single spamassassin syslog
sendmail smartd sshd
[root@10 ~]#
[root@10 ~]# cd /etc/init.d/smb start
bash: cd: /etc/init.d/smb: No such file or directory
[root@10 ~]# cd /etc/init.d/smb
bash: cd: /etc/init.d/smb: No such file or directory
[root@10 ~]#

i had logoff and logon to root account to type it but still....
any new suggest
 
Old 12-14-2006, 04:43 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
where did "cd" come into it?? i don't see that in any instructions. at either rate there clearly is no "/etc/init.d/smb" is there?
 
Old 12-14-2006, 05:07 AM   #10
boy_to_man
Member
 
Registered: Dec 2006
Posts: 54

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by acid_kewpie
no "/etc/init.d/smb" is there?
I think here is my problem
, because when i follw guide to install Samba,after install they said that i must start samba service but i cant find where is smb was installed. so i cannot start it.
i type "cd" to sure that i can not find more in there.

Eventhough thanks for all ur help in this afternoon.
tommorow i will try to find out more about this.
Any suggest is warmly welcome.
 
  


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
when i try to start samba pdc's smb service nmbd failed to start . sandeepchau123 Linux - Newbie 2 10-20-2007 02:59 PM
service does not start Aljaber Fedora 11 12-01-2005 08:07 PM
service could not start LinuxRam Linux - Newbie 4 08-26-2004 07:03 AM
How do I start samba as a system service? tlawlessrr Linux - Software 2 07-14-2004 01:51 PM
Start service HiGate Linux - General 3 01-25-2003 05:19 PM

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

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