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..
LVL 1
lamzaksAsked:
Who is Participating?
 
artmsConnect With a Mentor Commented:
Please check if everything is ok with your hardware to many libraries are missing (at least libcap and libbeecrypt). You will find some usefull information by reading /var/log/messages or executing dmesg

How to detect distribution, thats good question :), please try:
cat /etc/redhat-releasecat /etc/debian_versionls /etc | grep release

Depending on distribution you should find some release information.
0
 
artmsCommented:
What distribution do you use? Maybe some automated update procedure failed and removed libcap package?
0
 
dathhoCommented:
see if you have any libcap installed.
rpm -q --provides libcap
which distro/version
 
0
 
lamzaksAuthor Commented:
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
0
 
dathhoCommented:
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.
 
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.