anarcholinuxism
01-23-2003, 04:17 AM
how do i actually start Samba in RH8.0?
|
Click to See Complete Forum and Search --> : Beginners Samba question anarcholinuxism 01-23-2003, 04:17 AM how do i actually start Samba in RH8.0? z0mbix 01-23-2003, 04:45 AM One you have correctly configured your /etc/samba/smb.conf file then you can use either: /sbin/service smb start or /etc/rc.d/init.d/smb start You can substitute start for stop, restart or status too. anarcholinuxism 01-23-2003, 05:31 AM /sbin/service smb start I get /etc/init.d/smb: line 2: mymachine: command not found if I run it as root I get /etc/init.d/smb: line 2: mymachine: command not found Starting SMB services: [ OK ] Starting NMB services: [ OK ] which I assume means it's starting and if I run /sbin/service smb status I get /etc/init.d/smb: line 2: mymachine: command not found smbd (pid 11448) is running... nmbd (pid 11452) is running... so what is the significance of the error report and can I or should I do anything about it? anarcholinuxism 01-23-2003, 08:17 AM Do you know I've actually got samba sort of working now so that I can browse through Network Neighbourhood to my home directory on this Linux box, which has only taken me 2 weeks to do! :) Apart from that strange error message in my previous post the only other problem I can see is that i have to restart Samba everytime I reboot the box, not strictly a networking problem, but how do I autostart services? clinux 01-23-2003, 09:10 AM In R.H. 8.0 you shuold have a selection in your menu that says servers or services, select that when it opens one of the following selections will be a services start up menu, when taht opens scroll down to whwere it says smb, click on it (highlight it) and push the start button at the top, also I beleive if you put a check mark in the box it will start up automatically when you reboot each time. I don't remember the name of everything cause I'm not using R.H any more, but I know it's there. anarcholinuxism 01-23-2003, 09:28 AM Excellent, that was exactly where you said it was and did excatly what you said it would. Doesn't happen very often :) clinux 01-23-2003, 09:52 PM Great!, glad I could help! ixthus 01-24-2003, 08:30 AM Originally posted by clinux In R.H. 8.0 you shuold have a selection in your menu that says servers or services, select that when it opens one of the following selections will be a services start up menu, when taht opens scroll down to whwere it says smb, click on it (highlight it) and push the start button at the top, also I beleive if you put a check mark in the box it will start up automatically when you reboot each time. I don't remember the name of everything cause I'm not using R.H any more, but I know it's there. Yes, RH8.0 has me feeling all GUI :D. I'm not at my Linux box right now, so I don't have the correct name either. I'll call it the service menu for the moment. But anyway I'm wondering. For this newbie, the Services menu is great! Having the magical Off/On reset switch so handy is really nice when trying to configue a service. pcghost 01-24-2003, 07:07 PM The correct way to do that from the CLI is /etc/init.d/samba start or /etc/init.d/samba stop or /etc/init.d/samba restart justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |