Computing.Net > Forums > Linux > Getting Samba Started

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Getting Samba Started

Reply to Message Icon

Name: christopher
Date: August 16, 2002 at 23:39:58 Pacific
Comment:

I've downloaded the source files, configure/make/make installed them and then configured smb.config and ran ./testparm to make sure i made no syntax errors. When I go to start the servers and stuff, i was told to do:
# ./smbd -D ./nmbd -D
in the bin directory. When that happens, i get no response and another prompt. So instead, i do:
# sh smbd -D
and it tells me that it can't execute the binary, but doesn't say why? Did anyone else get this error?



Sponsored Link
Ads by Google

Response Number 1
Name: docv
Date: August 17, 2002 at 09:45:33 Pacific
Reply:

Christopher,

Just because you get no message does not mean the services were not started. try this;

After using '# ./smbd -D ./nmbd -D' and you are returned to the prompt, use the command:
'# ps -aux|grep smbd' and '# ps -aux|grep nmbd'
Each should result in a line that shows you the deamons are running.



0

Response Number 2
Name: dfx
Date: August 17, 2002 at 12:56:16 Pacific
Reply:

Yep, it's called daemonizing (hence the -D switch): going automatically into background.

And, you can use "sh" only to run shell scripts, not any executables.


0

Response Number 3
Name: box
Date: August 19, 2002 at 04:25:47 Pacific
Reply:

im running rh 7.3
try:# /etc/rc.d/init.d/smb status

also start and stop.


0

Response Number 4
Name: matt neufeld
Date: August 19, 2002 at 15:11:04 Pacific
Reply:

Alright here's my prob if anyone has some ideas. I have samba running no prob there win98 network neighborhood sees it. I can not access it though? After doing some more reading I think I have to create user in 98 to log into the linux server. Now before anyone emails me askying why I'm using 98 the reason is I'm in a senior project for my degree which requires our small 5 pc network file share/print. 1 pc has Novell server installed and thus the win98 pc's are running Novell client to log into the Netware server. At first I thought the client used 98 users but it seems I'm in corrent. Once my group gets this part of the project done the other 2 pc's have to run NT4.0/2k. So do any of you Linux wizards have some great tips for me? I haven't gotten back to the lab yet to create some win98 users but I am wondering how I tell it to log into that specific server? The server is running Redhat7.0. The stupid gui configurator didn't do a damn thing with http://localhost:901/ all netscape says is unknown site? So I've done everything at the prompt! Things accomplishent so far linux users yes, passwords set yes. smbpasswd file set yes. Everything appears ready I really came here to get some extra info and any tips I could find to make this seamless.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


resolv.conf & dhcpc Grub help required



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Getting Samba Started

starting samba www.computing.net/answers/linux/starting-samba/5528.html

getting started with samba www.computing.net/answers/linux/getting-started-with-samba/5527.html

Yet another Samba question www.computing.net/answers/linux/yet-another-samba-question/8378.html