我已经删除了samba:
apt-get –purge remove samba
然后在转到Samba目录后使用rm *.*手动删除smb.conf.
现在,当我尝试再次安装Samba时,我收到以下错误:
Starting Samba daemons: nmbd/usr/sbin/nmbd: /usr/local/lib/libldap_r-2.4.so.2: no version information available (required by /usr/sbin/nmbd)
/usr/sbin/nmbd: /usr/local/lib/liblber-2.4.so.2: no version information available (required by /usr/sbin/nmbd)
Failed!
我无法理解为什么会这样.请帮忙
编辑:
尝试ps aux |后grep samba获得以下响应:
root 25793 0.0 0.0 3088 716 pts/0 R+ 09:17 0:00 grep samba
不知道该怎么办?
编辑@马修
现在有以下错误:
处理man-db的触发器……
Setting up samba-common (2:3.2.5-4lenny11) …
Not replacing deleted config file /etc/samba/smb.conf
chmod: cannot access `/etc/samba/smb.conf’: No such file or directory
dpkg: error processing samba-common (–configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of samba:
samba depends on samba-common (= 2:3.2.5-4lenny11); however:
Package samba-common is not configured yet.
dpkg: error processing samba (–configure):
dependency problems – leaving unconfigured
Errors were encountered while processing:
samba-common
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
我已经删除了smb.cnf文件