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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
artmsCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.