Link to home
Start Free TrialLog in
Avatar of lamzaks
lamzaks

asked on

samba stoped working :(

when I try do something with samba I got error this message

root@srv1:/etc/rc.d# /etc/rc.d/rc.samba start
Starting Samba:  /usr/sbin/smbd -D
/usr/sbin/smbd: error while loading shared libraries: libcap.so.2: cannot open shared object file: No such file or directory
                 /usr/sbin/nmbd -D
/usr/sbin/nmbd: error while loading shared libraries: libcap.so.2: cannot open shared object file: No such file or directory

It is file server in work... Windows users are taking files from this lan server... I gues that here is redhal linux!
I work here only some month and in Linux I`m beginner...

Can some body please help me?!

Tnx..
Avatar of artms
artms

What distribution do you use? Maybe some automated update procedure failed and removed libcap package?
see if you have any libcap installed.
rpm -q --provides libcap
which distro/version
 
Avatar of lamzaks

ASKER

eem... I dont konw witch distribution I have... I didn`t made this system.. admin before me made that, can not find him

when I wrote rpm -q --provides libcap I got this error

rpm: error while loading shared libraries: libbeecrypt.so.6: cannot open shared object file: No such file or directory

P.S. how to detect distribution
ASKER CERTIFIED SOLUTION
Avatar of artms
artms

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
uname -a
Will give you some info.  
If it's debian things will be a tad different. You'll use apt-get to check, update, or install packages.