Author Topic: Ugen needed help Zentyal: status module samba: [ STOPPED ]  (Read 5385 times)

thy.ly

  • Zen Apprentice
  • *
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Ugen needed help Zentyal: status module samba: [ STOPPED ]
« on: November 14, 2015, 08:30:59 am »
Dear All,

We are having problem with unknown user account, and when we try to create new account the messages appeared like this

There are some software packages which are not correctly installed: linux-image-3.16.0-52-generic, linux-image-extra-3.16.0-51-generic.
You should reinstall them and retry your operation.

We try to follow up all of these operations below:
apt-get -f install
the messages appear like this

Unpacking linux-image-3.16.0-53-generic (3.16.0-53.72~14.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-3.16.0-53-generic_3.16.0-53.72~14.04.1_amd64.deb (--unpack):
 cannot copy extracted data for './boot/abi-3.16.0-53-generic' to '/boot/abi-3.16.0-53-generic.dpkg-new': failed to write (No space left on device)
No apport report written because the error message indicates a disk full error
                                                                              dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.16.0-53-generic /boot/vmlinuz-3.16.0-53-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.16.0-53-generic /boot/vmlinuz-3.16.0-53-generic
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-3.16.0-53-generic_3.16.0-53.72~14.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Please kindly see attachment files for your reference!
We are using the license one.

Thank you!
Thy Ly

« Last Edit: November 14, 2015, 08:36:33 am by thy.ly »

julio

  • Guest
Re: Ugen needed help Zentyal: status module samba: [ STOPPED ]
« Reply #1 on: November 14, 2015, 02:03:13 pm »
please post the results of:
Code: [Select]
uname -a
dpkg -l linux-image* |grep ii
ls -lah /boot
« Last Edit: November 14, 2015, 02:09:53 pm by julio »

BerT666

  • Zen Warrior
  • ***
  • Posts: 215
  • Karma: +7/-0
    • View Profile
Re: Ugen needed help Zentyal: status module samba: [ STOPPED ]
« Reply #2 on: November 14, 2015, 03:58:09 pm »
Howdy,

sorry for the intervention, but in the Error Message, your System tells, that you do not have any space on your drive left...
Try to check with:

df -h

This will also tell you which partition is involved... (I would think it is your /boot Partition)...

Regards

Thomas

thy.ly

  • Zen Apprentice
  • *
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Re: Ugen needed help Zentyal: status module samba: [ STOPPED ]
« Reply #3 on: November 16, 2015, 01:38:21 am »
Dear Julio and Thomas,

Yes you both right, here are the messages:

root@phnhnpdczty:~# df -h
Filesystem                                   Size  Used Avail Use% Mounted on
/dev/mapper/phn--hn--dc--v--zty--4--vg-root   98G  5.9G   87G   7% /
none                                         4.0K     0  4.0K   0% /sys/fs/cgroup
udev                                         4.9G  4.0K  4.9G   1% /dev
tmpfs                                       1001M  4.1M  997M   1% /run
none                                          50M     0   50M   0% /run/lock
none                                         4.9G  4.0K  4.9G   1% /run/shm
none                                         100M  4.0K  100M   1% /run/user
/dev/vda1                                    236M  230M     0 100% /boot
/dev/vdb1                                    3.9T  3.2T  548G  86% /data
root@phnhnpdczty:~# uname -a
Linux phnhnpdczty 3.16.0-51-generic #69~14.04.1-Ubuntu SMP Wed Oct 7 15:32:41 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
root@phnhnpdczty:~# dpkg -l linux-image* |grep ii
ii  linux-image-3.16.0-30-generic         3.16.0-30.40~14.04.1             amd64        Linux kernel image for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-3.16.0-45-generic         3.16.0-45.60~14.04.1             amd64        Linux kernel image for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-3.16.0-46-generic         3.16.0-46.62~14.04.1             amd64        Linux kernel image for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-3.16.0-48-generic         3.16.0-48.64~14.04.1             amd64        Linux kernel image for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-3.16.0-49-generic         3.16.0-49.65~14.04.1             amd64        Linux kernel image for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-3.16.0-50-generic         3.16.0-50.67~14.04.1             amd64        Linux kernel image for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-3.16.0-51-generic         3.16.0-51.69~14.04.1             amd64        Linux kernel image for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-extra-3.16.0-30-generic   3.16.0-30.40~14.04.1             amd64        Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-extra-3.16.0-45-generic   3.16.0-45.60~14.04.1             amd64        Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-extra-3.16.0-46-generic   3.16.0-46.62~14.04.1             amd64        Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-extra-3.16.0-48-generic   3.16.0-48.64~14.04.1             amd64        Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-extra-3.16.0-49-generic   3.16.0-49.65~14.04.1             amd64        Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP
ii  linux-image-extra-3.16.0-50-generic   3.16.0-50.67~14.04.1             amd64        Linux kernel extra modules for version 3.16.0 on 64 bit x86 SMP
root@phnhnpdczty:~# ls -lah /boot
total 221M
drwxr-xr-x  4 root root 3.0K Nov 14 14:08 .
drwxrwxrwx 24 root root 4.0K Nov 13 14:39 ..
-rw-r--r--  1 root root 1.2M Jan 16  2015 abi-3.16.0-30-generic
-rw-r--r--  1 root root 1.2M Jul 25 06:24 abi-3.16.0-45-generic
-rw-r--r--  1 root root 1.2M Aug 12 01:17 abi-3.16.0-46-generic
-rw-r--r--  1 root root 1.2M Aug 21 07:35 abi-3.16.0-48-generic
-rw-r--r--  1 root root 1.2M Sep  9 18:13 abi-3.16.0-49-generic
-rw-r--r--  1 root root 1.2M Oct  3 08:04 abi-3.16.0-50-generic
-rw-r--r--  1 root root 1.2M Oct  8 03:18 abi-3.16.0-51-generic
-rw-r--r--  1 root root 1.2M Oct 24 03:04 abi-3.16.0-52-generic
-rw-r--r--  1 root root 168K Jan 16  2015 config-3.16.0-30-generic
-rw-r--r--  1 root root 168K Jul 25 06:24 config-3.16.0-45-generic
-rw-r--r--  1 root root 168K Aug 12 01:17 config-3.16.0-46-generic
-rw-r--r--  1 root root 168K Aug 21 07:35 config-3.16.0-48-generic
-rw-r--r--  1 root root 168K Sep  9 18:13 config-3.16.0-49-generic
-rw-r--r--  1 root root 168K Oct  3 08:04 config-3.16.0-50-generic
-rw-r--r--  1 root root 168K Oct  8 03:18 config-3.16.0-51-generic
-rw-r--r--  1 root root 168K Oct 24 03:04 config-3.16.0-52-generic
drwxr-xr-x  5 root root 1.0K Oct 20 05:09 grub
-rw-r--r--  1 root root  20M Aug  4 05:10 initrd.img-3.16.0-30-generic
-rw-r--r--  1 root root  20M Aug  4 05:13 initrd.img-3.16.0-45-generic
-rw-r--r--  1 root root  20M Aug 18 05:06 initrd.img-3.16.0-46-generic
-rw-r--r--  1 root root  20M Sep  4 05:09 initrd.img-3.16.0-48-generic
-rw-r--r--  1 root root  20M Sep 24 05:06 initrd.img-3.16.0-49-generic
-rw-r--r--  1 root root  20M Oct 15 05:06 initrd.img-3.16.0-50-generic
-rw-r--r--  1 root root  20M Oct 20 05:09 initrd.img-3.16.0-51-generic
drwx------  2 root root  12K Jul  5 21:44 lost+found
-rw-------  1 root root 3.4M Jan 16  2015 System.map-3.16.0-30-generic
-rw-------  1 root root 3.4M Jul 25 06:24 System.map-3.16.0-45-generic
-rw-------  1 root root 3.4M Aug 12 01:17 System.map-3.16.0-46-generic
-rw-------  1 root root 3.4M Aug 21 07:35 System.map-3.16.0-48-generic
-rw-------  1 root root 3.4M Sep  9 18:13 System.map-3.16.0-49-generic
-rw-------  1 root root 3.4M Oct  3 08:04 System.map-3.16.0-50-generic
-rw-------  1 root root 3.4M Oct  8 03:18 System.map-3.16.0-51-generic
-rw-------  1 root root 3.4M Oct 24 03:04 System.map-3.16.0-52-generic
-rw-------  1 root root 6.1M Jan 16  2015 vmlinuz-3.16.0-30-generic
-rw-------  1 root root 6.1M Jul 25 06:24 vmlinuz-3.16.0-45-generic
-rw-------  1 root root 6.1M Aug 12 01:17 vmlinuz-3.16.0-46-generic
-rw-------  1 root root 6.1M Aug 21 07:35 vmlinuz-3.16.0-48-generic
-rw-------  1 root root 6.1M Sep  9 18:13 vmlinuz-3.16.0-49-generic
-rw-------  1 root root 6.1M Oct  3 08:04 vmlinuz-3.16.0-50-generic
-rw-------  1 root root 6.1M Oct  8 03:18 vmlinuz-3.16.0-51-generic
-rw-------  1 root root 6.1M Oct 24 03:04 vmlinuz-3.16.0-52-generic
root@phnhnpdczty:~#
                                                                                                                                   

How to solve when it becomes full, how to extend?. I am still new Linux but I am eager to be aware about this, especially Linux system infrastructure.

Thank you!

Thy Ly
« Last Edit: November 16, 2015, 02:11:39 am by thy.ly »

Sand_man

  • Zen Samurai
  • ****
  • Posts: 272
  • Karma: +17/-0
    • View Profile
Re: Ugen needed help Zentyal: status module samba: [ STOPPED ]
« Reply #4 on: November 16, 2015, 06:14:47 am »
Remove old kernels, except for the current and previous version:

Code: [Select]
sudo apt-get purge $(dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | head -n -1) --assume-yes

julio

  • Guest
Re: Ugen needed help Zentyal: status module samba: [ STOPPED ]
« Reply #5 on: November 16, 2015, 10:36:26 am »
first repair your broken update, after repair remove the unused kernels:
Code: [Select]
sudo rm /boot/vmlinuz-3.16.0-45-generic vmlinuz-3.16.0-46-generic
sudo apt-get -f install
sudo reboot
sudo apt-get purge $(dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | head -n -1) --assume-yes
« Last Edit: November 16, 2015, 10:53:25 am by julio »

thy.ly

  • Zen Apprentice
  • *
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Re: Ugen needed help Zentyal: status module samba: [ STOPPED ]
« Reply #6 on: November 17, 2015, 04:41:48 am »
Dear All,

I tried with those command and I got the error messages like below:

Purging configuration files for linux-image-3.16.0-50-generic (3.16.0-50.67~14.04.1) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.16.0-50-generic /boot/vmlinuz-3.16.0-50-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.16.0-50-generic /boot/vmlinuz-3.16.0-50-generic
Errors were encountered while processing:
 linux-image-extra-3.16.0-30-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

thank you!
God Bless,
Thy Ly
« Last Edit: November 20, 2015, 09:30:55 am by thy.ly »

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: Ugen needed help Zentyal: status module samba: [ STOPPED ]
« Reply #7 on: November 20, 2015, 01:44:25 pm »
When there are broken packages, it may be preferrable to use dpkg -r instead of apt

BerT666

  • Zen Warrior
  • ***
  • Posts: 215
  • Karma: +7/-0
    • View Profile
Re: Ugen needed help Zentyal: status module samba: [ STOPPED ]
« Reply #8 on: November 20, 2015, 02:08:00 pm »
I think you have "somehow" a bit of space on /boot
Since there is a Kernel package pending for install, all tries to fix "broken packages" will fail if you do not have "a bit of space"...

In the worst case, try deleteing one or two" initrd" that you do not! use when booting normal.
Afterwards try purging not needed kernels...
If you are on a VM, just make a snapshot to be save ;-)

Regards

Thomas

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: Ugen needed help Zentyal: status module samba: [ STOPPED ]
« Reply #9 on: November 20, 2015, 05:58:41 pm »
Letme insist on using dpkg -r "package name" instead of using apt, as if any package is broken and needs space on the full system (another kernel) it will not allow to complete the operation

julio

  • Guest
Re: Ugen needed help Zentyal: status module samba: [ STOPPED ]
« Reply #10 on: November 20, 2015, 06:38:09 pm »
Letme insist on using dpkg -r "package name" instead of using apt, as if any package is broken and needs space on the full system (another kernel) it will not allow to complete the operation

@jbahillo: yes, you are right!

@thy.ly: try with:
Code: [Select]
sudo dpkg --purge --force-all linux-image-extra-3.16.0-30-generic
« Last Edit: November 20, 2015, 06:39:59 pm by julio »

thy.ly

  • Zen Apprentice
  • *
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Re: Ugen needed help Zentyal: status module samba: [ STOPPED ]
« Reply #11 on: November 30, 2015, 01:35:45 am »
Dear All,

I am back now, apology for long time to reply you. Yes after process all these command lines, I found the result as below:
sudo df -h                                                                                                                                                                 
Filesystem                                   Size  Used Avail Use% Mounted on
/dev/mapper/phn--hn--dc--v--zty--4--vg-root   98G  3.9G   89G   5% /
none                                         4.0K     0  4.0K   0% /sys/fs/cgroup
udev                                         4.9G  4.0K  4.9G   1% /dev
tmpfs                                       1001M  872K 1000M   1% /run
none                                          50M     0   50M   0% /run/lock
none                                         4.9G     0  4.9G   0% /run/shm
none                                         100M  4.0K  100M   1% /run/user
/dev/vdb1                                    3.9T  3.2T  523G  87% /data
/dev/vda1                                    236M   42M  182M  19% /boot

the reason is we could not access by browser now.

Thank you!
God Bless,
Thy Ly 

thy.ly

  • Zen Apprentice
  • *
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Re: Ugen needed help Zentyal: status module samba: [ STOPPED ]
« Reply #12 on: November 30, 2015, 06:54:55 am »
Dear All,

We still could not access to account mangement when we try we get like this
FATAL: Could not connect to samba LDAP server: connect: Connection refused
Please check the attachment for us.

Thank you!
Thy Ly

thy.ly

  • Zen Apprentice
  • *
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Re: Ugen needed help Zentyal: status module samba: [ STOPPED ]
« Reply #13 on: November 30, 2015, 08:12:52 am »
Dear All,

We found the problem like this

root@phnhnpdczty:~# sudo /etc/init.d/zentyal restart
 * Stopping Zentyal module: samba                                        [ OK ]
 * Stopping Zentyal module: ntp                                          [ OK ]
 * Stopping Zentyal module: logs                                         [ OK ]
 * Stopping Zentyal module: dns                                          [ OK ]
 * Stopping Zentyal module: audit                                        [ OK ]
 * Stopping Zentyal module: firewall                                     [ OK ]
 * Stopping Zentyal module: network                                      [fail]
Could not get lock for service: network
 * Stopping Zentyal module: webadmin                                     [ OK ]
 * Starting Zentyal module: network                                      [fail]
 * Starting Zentyal module: firewall                                     [ OK ]
 * Starting Zentyal module: audit                                        [ OK ]
 * Starting Zentyal module: dns                                          [ OK ]
 * Starting Zentyal module: logs                                         [ OK ]
 * Starting Zentyal module: ntp                                          [ OK ]
 * Starting Zentyal module: samba                                        [fail]
 * Starting Zentyal module: webadmin                                     [ OK ]

How to solve?
Thank you!
Thy Ly

jbahillo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1444
  • Karma: +77/-2
    • View Profile
Re: Ugen needed help Zentyal: status module samba: [ STOPPED ]
« Reply #14 on: November 30, 2015, 02:13:25 pm »
Check running a kernel from 3.13 branch