Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to setup samba on my Redhat FC4 box to share files and printer with my other windows machine. I followed the steps provided by the samba.org and when i try to start the samba by doing "./smb start" in /etc/init.d/, it tells me :
Aside from playing around with Knoppix when my main HD failed a while ago, I'm pretty new to linux (as in I installed it 2 days ago) so please, be kind
Originally posted by routers /etc/rc.d/init.d/smb start <- for FC4
use this command no ./.
see what is the output if still cannot paste ur smb.conf to pastebin and post link here
ps: do not expected ur ques will be answer like paid support , patient is needed
cheers
Hi,
Thanks for your suggestion, sorry about the bumping
Anyhow, i tried doing /etc/rc.d/init.d/smb start without the ./ it wouldn't work. However when i do /etc/rc.d/init.d/./smb start it shows me the same msg as before.
and tried the "yum remove samba" and "yum install samba" and got the same error
reinstalled the GUI from the disk and tried setting it up anyway
Something else that I probably should have mentioned earlier - I can see the "Mygroup" from samba on windows, but I can't access it (no permission / path not found)
my network adapter is set as a secure device
and tried the "yum remove samba" and "yum install samba" and got the same error
reinstalled the GUI from the disk and tried setting it up anyway
Something else that I probably should have mentioned earlier - I can see the "Mygroup" from samba on windows, but I can't access it (no permission / path not found)
my network adapter is set as a secure device
because nmb is running but smb isn't?
In /etc/init.d/function
---------------
daemon() { --> is the 82nd LINE
83rd is the next line after tht...
---------------
Do check again.
83rd line is commented out. --> "#Test syntax." (83rd line)
Check out at your end again.
Feedback.
Donot discuss the other issues until you samba service is not running.
Sharing, access rights are for later discussion.
Originally posted by amitsharma_26 In /etc/init.d/function
---------------
daemon() { --> is the 82nd LINE
83rd is the next line after tht...
---------------
Do check again.
83rd line is commented out. --> "#Test syntax." (83rd line)
Check out at your end again.
Feedback.
just checked again
--------------
daemon() { --> definitely 83rd line
#Test syntax --> line 84
---------------
just type 'smbd' without the quotes and try that. or do a 'whereis smbd' and type the path it gives you (for example, when I do 'whereis smbd' i get "/usr/bin/smbd", so when I type '/usr/bin/smbd' my SMB Daemon starts up by itself. It goes around the /etc/rc.d/smb start command
/usr/sbin/smbd start
THEN
/etc/rc.d/init.d/smb start
Does this work for anyone else?
And does anyone know why?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.