 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

13th November 2009, 07:01 PM
|
|
Registered User
|
|
Join Date: Nov 2009
Posts: 10

|
|
|
samba on fedora 11
I am baffled by fedora's feeble attempts to work with Samba. I have ran various versions of Fedora for the last few years, and sporadically, the Samba gui and samba itself have had such problems. My current problem in Fedora 11 (64bit) is that samba doesn't seem to be running correctly. It is allowing the hosting of shares, but it does not show that it is running in the services gui. It shows enabled, but when I attempt to change it by starting or stopping, nothing happens. The samba gui also shows that it launches but then never actually starts. I saw very similar problems with Fedora 9. Anyone got suggestions?
|

13th November 2009, 07:17 PM
|
|
Registered User
|
|
Join Date: Aug 2009
Posts: 32

|
|
|
use console
|

13th November 2009, 07:19 PM
|
|
Registered User
|
|
Join Date: Nov 2009
Posts: 10

|
|
|
too inexperienced with fedora...what is console?
|

13th November 2009, 07:23 PM
|
|
Registered User
|
|
Join Date: Aug 2009
Posts: 32

|
|
|
u dont know what is console, but running linux? hehe...
terminal.. is this word familiar to you?
|

13th November 2009, 07:29 PM
|
|
Registered User
|
|
Join Date: Nov 2009
Posts: 10

|
|
|
Thanks for clarifying. Yes, I know terminal.
For example, when in console, I run: /etc/rc.d/init.d/smb restart
Shutting down SMB services: FAILED
Starting SMB services: FAILED
The gui shows the service is enabled but that it is refreshing right now.
Edit: It appears to me that samba is not running properly. Am I using the right command to shut down the samba service? If so, how could I not be able to shut it down?
|

13th November 2009, 07:32 PM
|
|
Registered User
|
|
Join Date: Aug 2009
Posts: 32

|
|
|
sudo ps ax | grep mbd
|

13th November 2009, 07:39 PM
|
|
Registered User
|
|
Join Date: Nov 2009
Posts: 10

|
|
|
Thanks for helping...
results of sudo ps ax | grep mbd:
30509 pts/3 S+ 0:00 grep mdb
Don't know what this means. Do you?
|

13th November 2009, 07:43 PM
|
|
Registered User
|
|
Join Date: Aug 2009
Posts: 32

|
|
|
that means that actually smbd and nmbd is not running now.
nmbd is for name resolving and smbd is main server.
now try /etc/init.d/smb stop, then /etc/init.d/smb start
|

13th November 2009, 07:48 PM
|
|
Registered User
|
|
Join Date: Nov 2009
Posts: 10

|
|
|
from root:
# /etc/init.d/smb stop
Shutting down SMB services: [FAILED]
# /etc/init.d/smb start/
Starting SMB services [FAILED]
|

13th November 2009, 07:53 PM
|
|
Registered User
|
|
Join Date: Aug 2009
Posts: 32

|
|
|
try to removing /var/run/smbd.pid and /var/run/nmbd.pid
then again /etc/init.d/smb start.
if it failed again, just run from the command line "smbd"
i've updated the post. just didn't know samba's pid file.
Last edited by zythar; 13th November 2009 at 08:02 PM.
|

13th November 2009, 08:24 PM
|
|
Registered User
|
|
Join Date: Nov 2009
Posts: 10

|
|
|
Apparently, I had downloaded a bug (508760) in Fedora 11. I ran the following:
yum update libtalloc
Now, all is well again. Thanks for your help.
|

13th November 2009, 08:26 PM
|
|
Registered User
|
|
Join Date: Aug 2009
Posts: 32

|
|
|
em.. u're welcome, but i've got disapointed (*
just an advice for future, don't use gui tools for configuring and troubleshooting problems.
learn to use console
|

13th November 2009, 11:31 PM
|
 |
Registered User
|
|
Join Date: May 2007
Location: U.S.
Posts: 4,852

|
|
Quote:
Originally Posted by zythar
don't use gui tools for configuring and troubleshooting problems.
learn to use console
|
Why?
__________________
- Tom
"What is freedom? To have the will to be responsible for one's self." - Stirner
|

14th November 2009, 09:09 AM
|
|
Registered User
|
|
Join Date: Aug 2009
Posts: 32

|
|
|
because, in spite of this is rh based fedora, which has many gui tools and console tools inherited from rh, it is linux. if u use gui tools, someday if u have server with slackware or freebsd u cant configure them, because u're not familiar with console.
also, gui tools leaving garbage in files. and editing files is much more interesting and comfortable than clicking on buttons
Last edited by zythar; 14th November 2009 at 03:56 PM.
|

14th November 2009, 03:00 PM
|
 |
Registered User
|
|
Join Date: Nov 2008
Location: Canada
Posts: 2,050

|
|
|
+1. People also become complacent, over look the notes in smb.conf and miss both selinux and the net commands entirely. From a gui perspective, compare system-config-samba with swat and kde's samba control module. They must leave you wondering just how much more there is.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 02:46 (Friday, 24-05-2013)
|
|
 |
 |
 |
 |
|
|