Gut zu wissen…
Also das ist die Info, die mir dpkg gibt:
22:37/255 server01 /var/lib/apt/lists/partial # dpkg --list samba
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
++±=============================-=============================-==========================================================================
iF samba 2:3.6.25-0ubuntu0.12.04.10+ta SMB/CIFS file, print, and login server for Unix
22:37/0 server01 /var/lib/apt/lists/partial #
dpkg-reconfigure --all und apt-get install -f laufen ohne Fehler durch, aber das Problem bleibt bestehen.
22:37/0 server01 /var/lib/apt/lists/partial # aptitude upgrade
The following partially installed packages will be configured:
samba
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up samba (2:3.6.25-0ubuntu0.12.04.10+ta2) …
start: Job is already running: smbd
invoke-rc.d: initscript smbd, action „start“ failed.
dpkg: error processing samba (–configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
Errors were encountered while processing:
samba
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up samba (2:3.6.25-0ubuntu0.12.04.10+ta2) …
start: Job is already running: smbd
invoke-rc.d: initscript smbd, action „start“ failed.
dpkg: error processing samba (–configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
samba
22:39/255 server01 /var/lib/apt/lists/partial #
Wenn ich apt-get install --reinstall samba mache, dann bleiben alle Linuxmusterpakete erhalten bzw. kann ich das gefahrlos probieren?
Im Log finde ich nichts dazu und testparm macht mich auch nicht schlauer:
22:39/255 server01 /var/lib/apt/lists/partial # testparm /etc/samba/smb.conf
Load smb config files from /etc/samba/smb.conf
Processing section „[homes]“
Processing section „[netlogon]“
Processing section „[pgm]“
Processing section „[cdrom]“
Processing section „[linbo-repo]“
Processing section „[students]“
Processing section „[shares]“
Processing section „[tasks]“
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions
[global]
dos charset =
unix charset = UTF8
workgroup = RAHLGASSE
server string = Samba %v on (%L)
passdb backend = ldapsam:ldap://localhost
passwd program = /usr/sbin/sophomorix-passwd --interactive --user %u
passwd chat = Newpassword*:* %n\n Retypenewpassword:* %n\n
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
hostname lookups = Yes
load printers = No
printcap name = cups
add user script = /usr/sbin/smbldap-useradd -m „%u“
add group script = /usr/sbin/smbldap-groupadd -p „%g“
add user to group script = /usr/sbin/smbldap-groupmod -m „%u“ „%g“
set primary group script = /usr/sbin/smbldap-usermod -g „%g“ „%u“
add machine script = /usr/sbin/smbldap-useradd -w „%u“
logon script = login.bat
logon path =
logon home = \%L%u
domain logons = Yes
os level = 99
domain master = Yes
dns proxy = No
wins support = Yes
ldap admin dn = cn=admin,dc=rahlgasse,dc=local
ldap delete dn = Yes
ldap group suffix = ou=groups
ldap machine suffix = ou=machines
ldap replication sleep = 5000
ldap suffix = dc=rahlgasse,dc=local
ldap ssl = no
ldap user suffix = ou=accounts
panic action = /usr/share/samba/panic-action %d
winbind enum users = Yes
winbind enum groups = Yes
idmap config * : backend = tdb
admin users = domadmin
map archive = No
mangled names = No
delete readonly = Yes
[homes]
comment = Heimatverzeichnis
path = %H
valid users = %S
admin users = administrator
read only = No
veto files = /.locked/.htaccess/
hide files = /$RECYCLE.BIN/desktop.ini/
browseable = No
root preexec = samba-userlog --log=in --username=%U --hostname=%I --homedir=%H
root postexec = samba-userlog --log=out --username=%U --hostname=%I --homedir=%H
[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
write list = @domadmins
force group = domadmins
force create mode = 0664
guest ok = Yes
hide unreadable = Yes
[pgm]
comment = Programme
path = /home/samba/progs
write list = @domadmins
force group = domadmins
force create mode = 0664
force directory mode = 0775
guest ok = Yes
[cdrom]
comment = CDs
path = /home/samba/cds
write list = @domadmins
force group = domadmins
force create mode = 0664
force directory mode = 0775
guest ok = Yes
[linbo-repo]
comment = LINBO Images
path = /var/linbo
valid users = administrator, linbo, nobody
admin users = administrator, linbo
write list = administrator, linbo
guest ok = Yes
wide links = Yes
[students]
comment = Schülerverzeichnisse
path = /home/students
valid users = administrator, @teachers
admin users = administrator
write list = administrator, @teachers
browseable = No
[shares]
comment = Tauschen
path = /home/share
admin users = administrator
read only = No
force create mode = 02644
force directory mode = 02755
inherit acls = Yes
hide unreadable = Yes
hide files = /classes/desktop.ini/exams/projects/school/subclasses/teachers/
[tasks]
comment = Backups
path = /media/backup
valid users = administrator
admin users = administrator
write list = administrator, @teachers
inherit acls = Yes
hide unreadable = Yes
hide files = /classes/desktop.ini/projects/rooms/subclasses/teachers/
browseable = No
22:41/0 server01 /var/lib/apt/lists/partial #