package samba 2:3.3.2-1ubuntu3.2 failed to install/upgrade: il sottoprocesso post-installation script ha restituito un codice di errore 1

Bug #450534 reported by morstofolini luigi
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

Binary package hint: samba

tutte le volte che faccio operazioni con synaptic mi esce questo errore, poi non riesco a condividere con altri pc ne windows ne linux.

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: il sottoprocesso post-installation script ha restituito un codice di errore 1
NonfreeKernelModules: nvidia
Package: samba 2:3.3.2-1ubuntu3.2
SourcePackage: samba
Title: package samba 2:3.3.2-1ubuntu3.2 failed to install/upgrade: il sottoprocesso post-installation script ha restituito un codice di errore 1
Uname: Linux 2.6.28-15-generic i686

Revision history for this message
morstofolini luigi (gigmo) wrote :
Revision history for this message
Thierry Carrez (ttx) wrote :

samba fails to start.
Please include the information requested at https://wiki.ubuntu.com/DebuggingSamba#samba-server.

Changed in samba (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
morstofolini luigi (gigmo) wrote : Re: [Bug 450534] Re: package samba 2:3.3.2-1ubuntu3.2 failed to install/upgrade: il sottoprocesso post-installation script ha restituito un codice di errore 1

Thierry Carrez ha scritto:
> samba fails to start.
> Please include the information requested at https://wiki.ubuntu.com/DebuggingSamba#samba-server.
>
> ** Changed in: samba (Ubuntu)
> Importance: Undecided => Low
>
> ** Changed in: samba (Ubuntu)
> Status: New => Incomplete
>
>
luigi@luigi-desktop:~$ dpkg-query -W -f='${Package} ${Version} ${Source}
${Status}\n' | grep samba
libpam-smbpass 2:3.3.2-1ubuntu3.2 samba install ok installed
libsmbclient 2:3.3.2-1ubuntu3.2 samba install ok installed
libwbclient0 2:3.3.2-1ubuntu3.2 samba install ok installed
samba 2:3.3.2-1ubuntu3.2 install ok half-configured
samba-common 2:3.3.2-1ubuntu3.2 samba install ok installed
smbclient 2:3.3.2-1ubuntu3.2 samba install ok installed
smbfs 2:3.3.2-1ubuntu3.2 samba install ok installed
system-config-samba 1.2.63-0ubuntu4 install ok unpacked
luigi@luigi-desktop:~$

il server è questo pc ubuntu 9.04 i386 i client sono windows xp mc 2005
e linux mandriva 2009 o mint 7

nella cartella /etc/samba c'è solo un file smbpasswd

file log

luigi@luigi-desktop:~$ smbclient -L //server/
params.c:OpenConfFile() - Unable to open configuration file
"/etc/samba/smb.conf":
    No such file or directory
smbclient: Can't load /etc/samba/smb.conf - run testparm to debug it
Connection to server failed (Error NT_STATUS_BAD_NETWORK_NAME)

luigi@luigi-desktop:~$ testparm -s
Load smb config files from /etc/samba/smb.conf
params.c:OpenConfFile() - Unable to open configuration file
"/etc/samba/smb.conf":
    No such file or directory
Error loading services.

spero di aver messo tutto.

Revision history for this message
Chuck Short (zulcss) wrote :

The reason why it is not loaded is the following error:

Load smb config files from /etc/samba/smb.conf
params.c:OpenConfFile() - Unable to open configuration file
"/etc/samba/smb.conf":
    No such file or directory
Error loading services.

spero di aver messo tutto

Copy the smb.conf from /usr/share/samba/ to /etc/samba/smb.conf and you should be fine.

Thanks
chuck

Changed in samba (Ubuntu):
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.