[brlug-general] problems installing Samba on Fedora Core 5:where's smbd and nmbd?

John Hebert johnahebert at yahoo.com
Fri Nov 3 11:05:33 CST 2006


Actually tried it both ways, multiple times. Same result: no smbd or nmbd.

"yum install samba" installs samba-common and samba-client.
"yum install samba-common" just installs samba-common.

Hey Karthik! How ya been?

John Hebert

----- Original Message ----
From: Karthik Poobalasubramanian <karthik at poobal.net>
To: general at brlug.net
Sent: Friday, November 3, 2006 10:45:55 AM
Subject: Re: [brlug-general] problems installing Samba on Fedora Core 5:where's smbd and nmbd?

John,
Did you do #yum install samba or #yum install samba-common  to install
samba?

Karthik
-----Original Message-----
From: John Hebert [mailto:johnahebert at yahoo.com] 
Sent: Friday, November 03, 2006 9:30 AM
To: general at brlug.net
Subject: Re: [brlug-general] problems installing Samba on Fedora Core
5:where's smbd and nmbd?

Dustin,

Here are the results:

[root at houlnxfraud01 ~]# service smb start
Syntax OK
Starting SMB services: /bin/bash: smbd: command not found
                                                           [FAILED]
Starting NMB services: /bin/bash: nmbd: command not found
                                                           [FAILED]
[root at houlnxfraud01 ~]# netstat -nlpt | grep smbd
[root at houlnxfraud01 ~]# netstat -nlpt | grep nmbd
[root at houlnxfraud01 ~]# smbclient -L //localhost -N
Error connecting to 127.0.0.1 (Connection refused)
Connection to localhost failed
[root at houlnxfraud01 ~]#


Like I mentioned, samba-common is installed, but the smbd and nmbd binaries
aren't there. ???

[root at houlnxfraud01 ~]# yum list installed | grep samba
samba-client.x86_64                      3.0.23c-1.fc5          installed
samba-common.i386                        3.0.23c-1.fc5          installed

This is Fedora Core 5 on a 64bit box:

[root at houlnxfraud01 ~]# uname -a
Linux houlnxfraud01.uclc.com 2.6.18-1.2200.fc5 #1 SMP Sat Oct 14 16:59:56
EDT 2006 x86_64 x86_64 x86_64 GNU/Linux

I can't imagine that the released rpm has a bug on it, so I am suspecting my
server has a software config problem.

Thanks,
John Hebert

----- Original Message ----
From: Dustin Puryear <dustin at puryear-it.com>
To: John Hebert <general at brlug.net>
Sent: Thursday, November 2, 2006 10:46:01 PM
Subject: Re: [brlug-general] problems installing Samba on Fedora Core 5:
where's smbd and nmbd?

What happens when you do:

# service smb start
# netstat -nlpt | grep smbd
# netstat -nlpt | grep nmbd
# smbclient -L //localhost -N

---
Puryear Information Technology, LLC
Baton Rouge, LA * 225-706-8414
http://www.puryear-it.com

Author:
  "Best Practices for Managing Linux and UNIX Servers"
  "Spam Fighting and Email Security in the 21st Century"

Download your free copies:
  http://www.puryear-it.com/publications.htm


Thursday, November 2, 2006, 9:13:31 PM, you wrote:

> Howdy,

> I'm trying to install Samba on a FC5 server. Seems like it would be
> very simple with yum ('yum install samba'), but although I get an
> "Complete!" message, I can't find 'smbd' or 'nmbd'. I tried
> 'updatedb' and 'locate smbd' and also 'find / | grep smbd' but still
> no luck. I see that the /etc/samba dir and the init.d scripts were
created.



> I just tried another install using yum with debug and error reporting on:


> 'yum -d 6 -e 1 install samba'


> Here's a partial output from yum:
> ...
>   Installing: initscripts                  ######################### [2/3]
> error: unpacking of archive failed on file /etc/sysconfig/console: cpio:
lsetfilecon
>   Installing: samba                                                
> [3/3]warning: /etc/logrotate.d/samba created as
/etc/logrotate.d/samba.rpmnew
>   Installing: samba                                                
> [3/3]warning: /etc/pam.d/samba created as /etc/pam.d/samba.rpmnew
>   Installing: samba                                                
> [3/3]warning: /etc/rc.d/init.d/smb saved as /etc/rc.d/init.d/smb.rpmorig
>   Installing: samba                                                
> [3/3]warning: /etc/samba/smbusers created as /etc/samba/smbusers.rpmnew
>   Installing: samba                        ######################### [3/3]
> error: unpacking of archive failed on file
> /etc/sysconfig/samba;454ab1bd: cpio: open

> Installed: samba.x86_64 0:3.0.23c-1.fc5
> Dependency Installed: initscripts.x86_64 0:8.31.6-1
> samba-common.x86_64 0:3.0.23c-1.fc5
> Complete!


> I'm pretty sure the *.rpmnew files aren't a problem, but what about the
errors?

> Any ideas how I should approach debugging this?

> Thanks,
> John Hebert





> _______________________________________________
> General mailing list
> General at brlug.net
> http://brlug.net/mailman/listinfo/general_brlug.net


_______________________________________________
General mailing list
General at brlug.net
http://brlug.net/mailman/listinfo/general_brlug.net






_______________________________________________
General mailing list
General at brlug.net
http://brlug.net/mailman/listinfo/general_brlug.net



_______________________________________________
General mailing list
General at brlug.net
http://brlug.net/mailman/listinfo/general_brlug.net








More information about the General mailing list