LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-28-2003, 06:59 PM   #1
Arot
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Rep: Reputation: 0
Thumbs down Still Samba problems


I have found and installed the libcups.so.2. When I installed the samba 2.2.8a-1 it gave me conflick warning with other samba (i thin it was the older version). So I upgrade to samba2.2.8a-1 and when I check with rpm -qa|grep samba it shows the latest samba 2.2.8a-1.

1. Am I doing the correct way??
2. After I upgrade, it give me smb.conf.rpmnew in the /etc/samba. What is this file??
3. Can anyone create me the smb.conf file (I just wanna to connect directly another comp running windows2000 to my linux box for the start) and please tell me where should i put the smb.conf file?
4. How do I start samba??

Thanks Thanks Thanks in advance
 
Old 08-28-2003, 11:47 PM   #2
lunardreamr
Member
 
Registered: Aug 2003
Location: Grand Rapids, MI
Distribution: Red Hat Linux
Posts: 39

Rep: Reputation: 15
1. I am not totally sure if your rpm installation/upgrade went well. But it looks like it did.

2. That smb.conf.rpmnew file is a config file for the new upgraded version that you installed. Now, it does that so it won't automatically write over your old one which might have a lot of customized options in it that you don't want to loose like that (I wouldn't) - So basically its just another example smb.conf file.

3. I can't really "create" a config file for you. But I can direct you to a site that offers a step by step explanation on how to write an smb.conf file and set up your Linux and Win32 boxes to access each share. Here it is: http://samba.netfirms.com - Your completed customized smb.conf file should be put in /etc/samba

4. How do you start samba - I am assuming you are using red hat so the command would be:

$ /etc/rc.d/init.d/smb start
Or to restart:
$ /etc/rc.d/init.d/smb restart
Or to stop:
$ /etc/rc.d/init.d/smb stop
Or to check status:
$ /etc/rc.d/init.d/smb status

You must be logged in as root to execute those commands.

Good luck
 
Old 08-29-2003, 02:30 AM   #3
Arot
LQ Newbie
 
Registered: Aug 2003
Posts: 11

Original Poster
Rep: Reputation: 0
I tried to run the samba program as you described but when I run "smb start" in /etc/rc.d/init.d, it says smb command not found. Now I am confuse...again
 
Old 08-29-2003, 02:34 AM   #4
lunardreamr
Member
 
Registered: Aug 2003
Location: Grand Rapids, MI
Distribution: Red Hat Linux
Posts: 39

Rep: Reputation: 15
Well, I am not completely familiar with Mandrake Linux and how it lays out system / server scripts. It could be samba start.

Do a directory listing of /etc/rc.d/init.d/ to see if there is anything related to smb or samba.

/etc/rc.d/init.d/smb <option> is common in Red Hat-based systems. Which is what Mandrake was originall branched from.
 
Old 08-29-2003, 02:38 AM   #5
lunardreamr
Member
 
Registered: Aug 2003
Location: Grand Rapids, MI
Distribution: Red Hat Linux
Posts: 39

Rep: Reputation: 15
Ok. I looked more deeply into the world of Mandrake (via MandrakeExpert.com) and found how to start and stop samba:

as root:

$ service smb <options>

<options> being one of the following: start stop restart
 
Old 08-29-2003, 02:54 AM   #6
ZenithRS
LQ Newbie
 
Registered: Dec 2002
Posts: 24

Rep: Reputation: 15
Quote:
Originally posted by Arot
I tried to run the samba program as you described but when I run "smb start" in /etc/rc.d/init.d, it says smb command not found. Now I am confuse...again
If you're actually in the /etc/rc.d/init.d directory you'll have to prefix the command with ./ so make it

./smb start
./smb stop
./smb restart
,/smb status
 
  


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
Samba/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
Samba Problems again :) Iztari Linux - Networking 18 06-24-2004 11:00 AM
samba problems... Digital_Err0r Linux - Networking 1 03-20-2004 04:46 PM
Samba problems. Zombie13 Mandriva 4 03-11-2004 02:34 AM
[Samba] Problems since update to samba 3 ffred Linux - Networking 6 01-02-2004 06:19 PM


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