samba stoped working :(

Posted on 2008-11-10
Medium Priority
Last Modified: 2013-12-16
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?!

Question by:lamzaks
  • 2
  • 2

Expert Comment

ID: 22924871
What distribution do you use? Maybe some automated update procedure failed and removed libcap package?

Expert Comment

ID: 22926240
see if you have any libcap installed.
rpm -q --provides libcap
which distro/version

Author Comment

ID: 22928642
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

Accepted Solution

artms earned 1000 total points
ID: 22932473
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.

Expert Comment

ID: 22932823
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.

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month16 days, 8 hours left to enroll

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question