Hi James and every body,
Thank you for this solution, the problem have been solved.
Have a good day.
Totem
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/791944
Title:
package
Hi James and every body,
Thank you for this solution, the problem have been solved.
Have a good day.
Totem
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/791944
Title:
package samba
Looking at this bug report and all of the duplicates all of the reports
are coming from systems with -generic kernels; i.e. Desktops not
Servers.
Something is opening up the permissions on this directory (and others
looking at comment #15) which is creating this issue.
--
You received this bug
So the workaround for the moment is to run the following commands in a
terminal:
sudo chmod 0755 /var/lib/samba /var/cache/samba
sudo apt-get -f install
This should fixup the permissions and complete the installation of
samba.
--
You received this bug notification because you are a member
** Changed in: samba (Ubuntu)
Status: Incomplete = Confirmed
** Changed in: samba (Ubuntu)
Importance: Undecided = Medium
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
Thank you James. Problem solved here!
2011/7/7 James Page 791...@bugs.launchpad.net
So the workaround for the moment is to run the following commands in a
terminal:
sudo chmod 0755 /var/lib/samba /var/cache/samba
sudo apt-get -f install
This should fixup the permissions and complete the
Looking at this bug report and all of the duplicates all of the reports
are coming from systems with -generic kernels; i.e. Desktops not
Servers.
Something is opening up the permissions on this directory (and others
looking at comment #15) which is creating this issue.
--
You received this bug
So the workaround for the moment is to run the following commands in a
terminal:
sudo chmod 0755 /var/lib/samba /var/cache/samba
sudo apt-get -f install
This should fixup the permissions and complete the installation of
samba.
--
You received this bug notification because you are a member
** Changed in: samba (Ubuntu)
Status: Incomplete = Confirmed
** Changed in: samba (Ubuntu)
Importance: Undecided = Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/791944
Title:
Thank you James. Problem solved here!
2011/7/7 James Page 791...@bugs.launchpad.net
So the workaround for the moment is to run the following commands in a
terminal:
sudo chmod 0755 /var/lib/samba /var/cache/samba
sudo apt-get -f install
This should fixup the permissions and complete the
Peter
samba-common-bin is a dependency for samba so should be installed
automatically.
It would appear that the alternates have not been installed correctly
during the upgrade; please could you run the following commands and
attach output to this bug report:
apt-cache policy samba-common-bin
Carlos
I think that your issue might be different to Peters as your are getting
a exit status code of 1 (which would indicate that testparm is runing
but returning non-zero exit code); please could you try running:
sudo testparm
echo $?
Please post the output to this bug report.
Thanks
--
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section [printers]
Processing section [print$]
Loaded services file OK.
WARNING: state directory /var/lib/samba should have permissions 0755 for
browsing to work
On Wed, 2011-07-06 at 11:41 +, EduardoMonteiro wrote:
WARNING: state directory /var/lib/samba should have permissions 0755
for
browsing to work
WARNING: cache directory /var/cache/samba should have permissions 0755
for
browsing to work
This might be pointing at the issue - please could
sudo ls -l /var/lib
total 300
drwxrwxrwx 2 root root 4096 2010-04-23 09:51 acpi-support
drwxrwxrwx 2 root root 4096 2010-09-13 07:58 alsa
drwxrwxrwx 6 root root 4096 2011-06-28 15:47 apt
drwxrwxrwx 2 root root 4096
oracle@apex:~$ apt-cache policy samba-common-bin
samba-common-bin:
Installed: 2:3.5.4~dfsg-1ubuntu8.2
Candidate: 2:3.5.4~dfsg-1ubuntu8.4
Version table:
2:3.5.4~dfsg-1ubuntu8.4 0
500 http://ca.archive.ubuntu.com/ubuntu/ maverick-updates/main i386
Packages
root@pc-03:~# apt-cache policy samba-common-bin
samba-common-bin:
Instalado: 2:3.5.8~dfsg-1ubuntu2.2
Candidato: 2:3.5.8~dfsg-1ubuntu2.2
Tabela de versão:
*** 2:3.5.8~dfsg-1ubuntu2.2 0
500 http://br.archive.ubuntu.com/ubuntu/ natty-updates/main i386
Packages
100
It would appear that if the directories /var/lib/samba or
/var/cache/samba have anything other that 0755 permissions nmbd will
fail to start as the testparm call in /etc/init/nmbd.conf returns a non-
zero error code (1).
It would be good to get confirmation that this is the issue (I have
Hello,
I changed permissions of dirs /var/lib/samba and /var/cache/samba to
0755 as indicated and the problem went away!
Thanks!
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/791944
Peter
samba-common-bin is a dependency for samba so should be installed
automatically.
It would appear that the alternates have not been installed correctly
during the upgrade; please could you run the following commands and
attach output to this bug report:
apt-cache policy samba-common-bin
Carlos
I think that your issue might be different to Peters as your are getting
a exit status code of 1 (which would indicate that testparm is runing
but returning non-zero exit code); please could you try running:
sudo testparm
echo $?
Please post the output to this bug report.
Thanks
--
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section [printers]
Processing section [print$]
Loaded services file OK.
WARNING: state directory /var/lib/samba should have permissions 0755 for
browsing to work
On Wed, 2011-07-06 at 11:41 +, EduardoMonteiro wrote:
WARNING: state directory /var/lib/samba should have permissions 0755
for
browsing to work
WARNING: cache directory /var/cache/samba should have permissions 0755
for
browsing to work
This might be pointing at the issue - please could
sudo ls -l /var/lib
total 300
drwxrwxrwx 2 root root 4096 2010-04-23 09:51 acpi-support
drwxrwxrwx 2 root root 4096 2010-09-13 07:58 alsa
drwxrwxrwx 6 root root 4096 2011-06-28 15:47 apt
drwxrwxrwx 2 root root 4096
oracle@apex:~$ apt-cache policy samba-common-bin
samba-common-bin:
Installed: 2:3.5.4~dfsg-1ubuntu8.2
Candidate: 2:3.5.4~dfsg-1ubuntu8.4
Version table:
2:3.5.4~dfsg-1ubuntu8.4 0
500 http://ca.archive.ubuntu.com/ubuntu/ maverick-updates/main i386
Packages
root@pc-03:~# apt-cache policy samba-common-bin
samba-common-bin:
Instalado: 2:3.5.8~dfsg-1ubuntu2.2
Candidato: 2:3.5.8~dfsg-1ubuntu2.2
Tabela de versão:
*** 2:3.5.8~dfsg-1ubuntu2.2 0
500 http://br.archive.ubuntu.com/ubuntu/ natty-updates/main i386
Packages
100
It would appear that if the directories /var/lib/samba or
/var/cache/samba have anything other that 0755 permissions nmbd will
fail to start as the testparm call in /etc/init/nmbd.conf returns a non-
zero error code (1).
It would be good to get confirmation that this is the issue (I have
Hello,
I changed permissions of dirs /var/lib/samba and /var/cache/samba to
0755 as indicated and the problem went away!
Thanks!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/791944
Title:
Probably testparm is bundled in the common-bin and I've never install
it.
root@apex:~# update-alternatives --display testparm
update-alternatives: error: no alternatives for testparm.
root@apex:~# ls -l /usr/bin/testparm
ls: cannot access /usr/bin/testparm: No such file or directory
root@apex:~#
I have the same problem and this is what I found.
testparm does not exist on my box and that is why it is failing.
I removed the check just to get my own box going. This is NOT the proper
fix.
pre-start script
[ -f /etc/samba/smb.conf ] || { stop; exit 0; }
install -o root -g root -m 755 -d
Carlos/Peter
Please could you run the following commands on your systems and attach
the output to this bug report:
update-alternatives --display testparm
ls -l /usr/bin/testparm
It may be that the links to support this command have not been setup
correctly during install/upgrade.
Thanks
Probably testparm is bundled in the common-bin and I've never install
it.
root@apex:~# update-alternatives --display testparm
update-alternatives: error: no alternatives for testparm.
root@apex:~# ls -l /usr/bin/testparm
ls: cannot access /usr/bin/testparm: No such file or directory
root@apex:~#
Hello,
Did you manage to find out something more about this bug?
Best regards,
Carlos J. Gil Bellosta
http://www.datanalytics.com
2011/6/18 Clint Byrum cl...@fewbar.com:
Excerpts from datanalytics.com's message of Sat Jun 18 15:55:02 UTC 2011:
I got this:
carlos@kropotkin:datos_econta$
Excerpts from datanalytics.com's message of Fri Jun 17 20:04:32 UTC 2011:
Nothing happens:
carlos@kropotkin:~$ sudo /usr/sbin/nmbd -d 3
carlos@kropotkin:~$ man nmbd
There is no output at all.
No problem helping uncover a possible bug (if it is).
Heh, ok, one more time
sudo
I got this:
carlos@kropotkin:datos_econta$ sudo /usr/sbin/nmbd -d 3 -F -S
[sudo] password for carlos:
nmbd version 3.5.8 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to
Excerpts from datanalytics.com's message of Sat Jun 18 15:55:02 UTC 2011:
I got this:
carlos@kropotkin:datos_econta$ sudo /usr/sbin/nmbd -d 3 -F -S
[sudo] password for carlos:
nmbd version 3.5.8 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
lp_load_ex: refreshing
carlos@kropotkin:~$ cat /etc/init/nmbd.conf /etc/init/nmbd.override
description NetBIOS name server
author Steve Langasek steve.langa...@ubuntu.com
start on (local-filesystems and net-device-up IFACE!=lo)
stop on runlevel [!2345]
expect fork
respawn
pre-start script
[ -f
Excerpts from datanalytics.com's message of Fri Jun 17 20:04:32 UTC 2011:
Nothing happens:
carlos@kropotkin:~$ sudo /usr/sbin/nmbd -d 3
carlos@kropotkin:~$ man nmbd
There is no output at all.
No problem helping uncover a possible bug (if it is).
Heh, ok, one more time
sudo
I got this:
carlos@kropotkin:datos_econta$ sudo /usr/sbin/nmbd -d 3 -F -S
[sudo] password for carlos:
nmbd version 3.5.8 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to
Excerpts from datanalytics.com's message of Sat Jun 18 15:55:02 UTC 2011:
I got this:
carlos@kropotkin:datos_econta$ sudo /usr/sbin/nmbd -d 3 -F -S
[sudo] password for carlos:
nmbd version 3.5.8 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
lp_load_ex: refreshing
carlos@kropotkin:~$ cat /etc/init/nmbd.conf /etc/init/nmbd.override
description NetBIOS name server
author Steve Langasek steve.langa...@ubuntu.com
start on (local-filesystems and net-device-up IFACE!=lo)
stop on runlevel [!2345]
expect fork
respawn
pre-start script
[ -f
Great, thanks datanalytics.com.
Can you now try running
sudo /usr/sbin/nmbd -d 3
And give us that output?
Thanks! (this is really helping btw, hopefully we can find a bug or help
you solve your problem)
Excerpts from datanalytics.com's message of Thu Jun 16 23:58:35 UTC 2011:
Here it goes:
Nothing happens:
carlos@kropotkin:~$ sudo /usr/sbin/nmbd -d 3
carlos@kropotkin:~$ man nmbd
There is no output at all.
No problem helping uncover a possible bug (if it is).
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in
Great, thanks datanalytics.com.
Can you now try running
sudo /usr/sbin/nmbd -d 3
And give us that output?
Thanks! (this is really helping btw, hopefully we can find a bug or help
you solve your problem)
Excerpts from datanalytics.com's message of Thu Jun 16 23:58:35 UTC 2011:
Here it goes:
Nothing happens:
carlos@kropotkin:~$ sudo /usr/sbin/nmbd -d 3
carlos@kropotkin:~$ man nmbd
There is no output at all.
No problem helping uncover a possible bug (if it is).
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Sorry datanalytics.com, it does not. We need to see the contents of
/var/log/samba/log.nmbd.
Also the 'start' command and 'service' command need sudo just like the
old init.d scripts.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to
My huge mistake, sorry for making you loose your time. I use to do
administrative tasks as root...
Here it goes:
root@kropotkin:~# /etc/init.d/nmbd start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service nmbd start
Since the script you are
Excerpts from datanalytics.com's message of Thu Jun 16 21:14:58 UTC 2011:
My huge mistake, sorry for making you loose your time. I use to do
administrative tasks as root...
Here it goes:
root@kropotkin:~# /etc/init.d/nmbd start
Rather than invoking init scripts through /etc/init.d, use
Here it goes:
root@kropotkin:~# dpkg -l 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)
||/ NameVersion
Sorry datanalytics.com, it does not. We need to see the contents of
/var/log/samba/log.nmbd.
Also the 'start' command and 'service' command need sudo just like the
old init.d scripts.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
My huge mistake, sorry for making you loose your time. I use to do
administrative tasks as root...
Here it goes:
root@kropotkin:~# /etc/init.d/nmbd start
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service nmbd start
Since the script you are
Excerpts from datanalytics.com's message of Thu Jun 16 21:14:58 UTC 2011:
My huge mistake, sorry for making you loose your time. I use to do
administrative tasks as root...
Here it goes:
root@kropotkin:~# /etc/init.d/nmbd start
Rather than invoking init scripts through /etc/init.d, use
Here it goes:
root@kropotkin:~# dpkg -l 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)
||/ NameVersion
That is an empty file.
On Tue, Jun 14, 2011 at 8:29 PM, Clint Byrum cl...@fewbar.com wrote:
Hi dallaswv and datanalytics.com. Sorry I got the path to the log wrong
the first time. The file to look at is
/var/log/samba/log.nmbd
Please upload the contents of that or at least look through it
I tried to manually start nmbd and I got the following:
carlos@kropotkin:samba$ sudo /etc/init.d/nmbd start
[sudo] password for carlos:
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service nmbd start
Since the script you are attempting to invoke has
That is an empty file.
On Tue, Jun 14, 2011 at 8:29 PM, Clint Byrum cl...@fewbar.com wrote:
Hi dallaswv and datanalytics.com. Sorry I got the path to the log wrong
the first time. The file to look at is
/var/log/samba/log.nmbd
Please upload the contents of that or at least look through it
I tried to manually start nmbd and I got the following:
carlos@kropotkin:samba$ sudo /etc/init.d/nmbd start
[sudo] password for carlos:
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service nmbd start
Since the script you are attempting to invoke has
I have exactly the same problem.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/791944
Title:
package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade:
subprocess installed
Hi dallaswv and datanalytics.com. Sorry I got the path to the log wrong
the first time. The file to look at is
/var/log/samba/log.nmbd
Please upload the contents of that or at least look through it for clues
as to why there was a failure to start nmbd.
--
You received this bug notification
I have exactly the same problem.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/791944
Title:
package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade:
subprocess installed
Hi dallaswv and datanalytics.com. Sorry I got the path to the log wrong
the first time. The file to look at is
/var/log/samba/log.nmbd
Please upload the contents of that or at least look through it for clues
as to why there was a failure to start nmbd.
--
You received this bug notification
On 06/03/2011 06:15 PM, Clint Byrum wrote:
dallaswv, The relevant error is here:
Setting up samba (2:3.5.8~dfsg-1ubuntu2.2) ...
start: Job failed to start
invoke-rc.d: initscript nmbd, action start failed.
dpkg: error processing samba (--configure):
subprocess installed post-installation
On 06/03/2011 06:15 PM, Clint Byrum wrote:
dallaswv, The relevant error is here:
Setting up samba (2:3.5.8~dfsg-1ubuntu2.2) ...
start: Job failed to start
invoke-rc.d: initscript nmbd, action start failed.
dpkg: error processing samba (--configure):
subprocess installed post-installation
dallaswv, The relevant error is here:
Setting up samba (2:3.5.8~dfsg-1ubuntu2.2) ...
start: Job failed to start
invoke-rc.d: initscript nmbd, action start failed.
dpkg: error processing samba (--configure):
subprocess installed post-installation script returned error exit status 1
This means
dallaswv, The relevant error is here:
Setting up samba (2:3.5.8~dfsg-1ubuntu2.2) ...
start: Job failed to start
invoke-rc.d: initscript nmbd, action start failed.
dpkg: error processing samba (--configure):
subprocess installed post-installation script returned error exit status 1
This means
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/791944
Title:
package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade:
subprocess installed post-installation script returned
This issue is more of an annoyance since it does not seem to effect the
programs that I'm installing.
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/791944
Title:
package samba
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/791944
Title:
package samba 2:3.5.8~dfsg-1ubuntu2.2 failed to install/upgrade:
subprocess installed post-installation script returned error exit
This issue is more of an annoyance since it does not seem to effect the
programs that I'm installing.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/791944
Title:
package samba
69 matches
Mail list logo