[brlug-general] problems installing Samba on Fedora Core 5:where's smbd and nmbd?
John Hebert
johnahebert at yahoo.com
Sat Nov 4 15:07:42 CST 2006
Good info, thanks Ray.
I think I know what the problem is now. I _think_ the install is failing because the files and dirs under /etc have the immutable bit set. Too many root users spoil the server...
Will try to fix this tomorrow and try the install again.
Thanks for everyone's feedback.
John Hebert
----- Original Message ----
From: -ray <ray at ops.selu.edu>
To: general at brlug.net
Sent: Friday, November 3, 2006 6:08:04 PM
Subject: Re: [brlug-general] problems installing Samba on Fedora Core 5:where's smbd and nmbd?
Whenever I want to see if an installed rpm package is messed up,
i use rpm -V. For instance:
[root at norm home]# rpm -V setup
missing c /etc/printcap
S.5....T c /etc/profile
Tells me the /etc/printcap file is missing, and some other stuff has
changed with /etc/profile. Here's what it looks for (from rpm manpage):
S file Size differs
M Mode differs (includes permissions and file type)
5 MD5 sum differs
D Device major/minor number mismatch
L readLink(2) path mismatch
U User ownership differs
G Group ownership differs
T mTime differs
C selinux Context differs
John, looks like it doesn't check file attributes, so it wouldn't have
caught the immutable flag on your files.
ray
On Fri, 3 Nov 2006, Dustin Puryear wrote:
> Yeah, he *appears* to be missing samba.i386. samba-client and
> samba-common don't include the server functionality. That said, I
> don't know why /etc/rc.d/init.d/smb exists if samba isn't installed.
>
> ---
> 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
>
>
> Friday, November 3, 2006, 10:45:55 AM, you wrote:
>
>> 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
>
>
> _______________________________________________
> General mailing list
> General at brlug.net
> http://brlug.net/mailman/listinfo/general_brlug.net
>
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ray DeJean http://www.r-a-y.org
Systems Engineer Southeastern Louisiana University
IBM Certified Specialist AIX Administration, AIX Support
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
_______________________________________________
General mailing list
General at brlug.net
http://brlug.net/mailman/listinfo/general_brlug.net
More information about the General
mailing list