system hangs on reboot, but not on shutdown

hello forum,
I’m new to linux and ran directly in a strange behaviour for a VM on ESX 5.5 vmx-10.
The installed sles12sp1 is partitioned as follows and I can shutdown or “coldboot” the system, but on “init 6” or “reboot” in x11 the system is going to a black screen - than nothing (I was waiting for 20 minutes).

1 SCSI LSI Logical Controller
sda1 /boot ext4
sdb swap
sdc1 / XFS
sdc2 /tmp XFS
sdc3 /opt XFS
sdd1 /var/log XFS
sde1 / XFS

the partion|mountpoint layout was choosen for easier future disk extention
the choice of the file systems is completely by pure chance.

my questions:
where can I find any helpful log - on the screen I’m not getting any message.
What can be the reason for this issue?
False combination of partitioning / file system?

Thank You,
Stefan

[SIZE=2]PS: sorry for any language errors - I’m native German speaker[/SIZE]

Have you checked /var/log/messages after it comes back up to see what ay
show up in there?

What does this server run? what happens if you stop all services (web,
LDAP, SSH, everything) and then try a reboot?

If you boot into single-user mode and then try to reboot, does that work?

Which version, and Service/Support Pack (SP), do you have on this box?
Has it ever worked? Do other systems with the same software work?


Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below…

hello ab,
the last messages before forced shutdown down:

2017-01-22T16:59:42.048186+01:00 vslidm3 polkitd[1235]: Operator of unix-session:1 successfully authenticated as unix-user:root to gain TEMPORARY authorization for action org.freedesktop.login1.reboot for system-bus-name::1.30 [/usr/bin/gnome-session --session sle-classic] (owned by unix-user:specuser) 2017-01-22T16:59:42.055886+01:00 vslidm3 org.gnome.Nautilus.SearchProvider[6632]: (nautilus:6816): GLib-GObject-WARNING **: gsignal.c:2593: instance '0x18e88e0' has no handler with id '233' 2017-01-22T16:59:42.101044+01:00 vslidm3 ca.desrt.dconf[6632]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting. 2017-01-22T16:59:42.120339+01:00 vslidm3 rsyslogd: [origin software="rsyslogd" swVersion="8.4.0" x-pid="1084" x-info="http://www.rsyslog.com"] exiting on signal 15.
I’ve tried other partition/filesystem layouts - the error ist always reproducable, so I believe I’m running perhaps in a VMware special issue related to the graphic emulation?!

The answers to your other questions:
the system is freshly installed, SP1 x64, other SLES 12 SP1+2 are up and running.
switching to “init 1” also crashes the system. strange …
switching to “init 3” and then rebooting works fine.

ps: nice avatar :wink:

real tarantoga wrote:
[color=blue]

I’ve tried other partition/filesystem layouts - the error ist always
reproducable[/color]

That would suggest this issue is unrelated to that part of your
configuration.

Have you applied all the current patches?

The size of each of your partitions is adequate?

Please post your results from:

cat /etc/*release
df

[color=blue]

I believe I’m running perhaps in a VMware special
issue related to the graphic emulation?![/color]

Have you installed any video drivers or deviated from the default video
options during your install?

Have you checked which VMware freatures are compatible with your
installation?
http://www.vmware.com/resources/compatibility/detail.php?deviceCategory=software&testConfig=16&productid=40308&supRel=243,&deviceCategory=software&details=1&releases=243&operatingSystems=206&productNames=15&page=1&display_interval=10&sortColumn=Partner&sortOrder=Asc&testConfig=16


Kevin Boyle - Knowledge Partner
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below this post.
Thank you.

cat output:
[FONT=Courier New][SIZE=2][color=black]SUSE Linux Enterprise Server 12 (x86_64)
VERSION = 12
PATCHLEVEL = 1

This file is deprecated and will be removed in a future service pack or release.

Please check /etc/os-release for details about this release.

NAME=“SLES”
VERSION=“12-SP1”
VERSION_ID=“12.1”
PRETTY_NAME=“SUSE Linux Enterprise Server 12 SP1”
ID=“sles”
ANSI_COLOR=“0;32”
CPE_NAME=“cpe:/o:suse:sles:12:sp1”[/color][/SIZE][/FONT]

df -lh:
[FONT=Courier New][SIZE=2][color=black]Filesystem Size Used Avail Use% Mounted on
/dev/sda2 40G 3.0G 36G 8% /
devtmpfs 1.9G 0 1.9G 0% /dev
tmpfs 1.9G 80K 1.9G 1% /dev/shm
tmpfs 1.9G 9.7M 1.9G 1% /run
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/sdd1 9.8G 25M 9.2G 1% /var/log
/dev/sda1 979M 45M 868M 5% /boot
/dev/sdc1 1.1G 17M 897M 2% /specuser
/dev/sdc3 23G 17M 21G 1% /opt
/dev/sdc2 1.1G 17M 897M 2% /tmp[/color][/SIZE][/FONT]

the system is actually unpatched - it will be registered and updated by an inernal smt server.
the layout is on customer demand (ldap/idm collegues)
the system specification seems fully esx compatible.
the drivers are “out of the box” from the sles install media and and open vm tools are installed.

I really appreciate your interest and suggestions. I will continue my investigations next week due to more important work this week.

thx, stefan

Hi real_tarantoga,

rsyslogd: [origin software=“rsyslogd” swVersion=“8.4.0” x-pid=“1084” x-info=“http://www.rsyslog.com”] exiting on signal 15.

that last line from syslog seems to indicate that the shutdown was actually initiated (and further messages are no longer logged, since syslog went down).

Are you able to connect via text console (via VMware console)? Then I’d advise to both run "journalctl -f & " (to receive any journal messages produced by systemd during shutdown processing, even after rsyslogd exited) and to initiate the shutdown from tty0, to visually catch any message that might additionally appear from old-style scripts.

Regards,
J

I’ve seen similar things. Did you manage to find a fix for this?

Hello,

i have the same problem.
Hyper V Server 2012R2 - VM Generation 2.

system hangs on reboot, but not on shutdown.

SUSE Linux Enterprise Server 12 (x86_64)
VERSION = 12
PATCHLEVEL = 1

This file is deprecated and will be removed in a future service pack or release.

Please check /etc/os-release for details about this release.

NAME=“SLES”
VERSION=“12-SP1”
VERSION_ID=“12.1”
PRETTY_NAME=“SUSE Linux Enterprise Server 12 SP1”
ID=“sles”
ANSI_COLOR=“0;32”
CPE_NAME=“cpe:/o:suse:sles:12:sp1”

09:32 reboot

2017-07-31T09:31:57.886102+02:00 linux01 systemd[1]: Time has been changed
2017-07-31T09:32:00.378945+02:00 linux01 systemd[1]: Starting Show Plymouth Reboot Screen...
2017-07-31T09:32:00.379670+02:00 linux01 systemd[1]: Stopping Session 1 of user root.
2017-07-31T09:32:00.379986+02:00 linux01 systemd[1]: Stopping Session c1 of user gdm.
2017-07-31T09:32:00.385504+02:00 linux01 systemd[1]: Stopping User Manager for UID 0...
2017-07-31T09:32:00.385921+02:00 linux01 systemd[1]: Stopping RealtimeKit Scheduling Policy Service...
2017-07-31T09:32:00.386214+02:00 linux01 systemd[1]: Stopping Daemon for power management...
2017-07-31T09:32:00.386501+02:00 linux01 systemd[1]: Stopping User Manager for UID 486...
2017-07-31T09:32:00.386771+02:00 linux01 systemd[2027]: Stopping Default.
2017-07-31T09:32:00.387076+02:00 linux01 systemd[2027]: Stopped target Default.
2017-07-31T09:32:00.387370+02:00 linux01 systemd[2027]: Stopping Basic System.
2017-07-31T09:32:00.387654+02:00 linux01 systemd[2027]: Stopped target Basic System.
2017-07-31T09:32:00.387934+02:00 linux01 systemd[2027]: Stopping Paths.
2017-07-31T09:32:00.388221+02:00 linux01 systemd[2027]: Stopped target Paths.
2017-07-31T09:32:00.388509+02:00 linux01 systemd[2027]: Stopping Timers.
2017-07-31T09:32:00.392002+02:00 linux01 systemd[2027]: Stopped target Timers.
2017-07-31T09:32:00.392425+02:00 linux01 systemd[2027]: Stopping Sockets.
2017-07-31T09:32:00.393165+02:00 linux01 systemd[2027]: Stopped target Sockets.
2017-07-31T09:32:00.393483+02:00 linux01 systemd[2027]: Starting Shutdown.
2017-07-31T09:32:00.393782+02:00 linux01 systemd[2027]: Reached target Shutdown.
2017-07-31T09:32:00.394082+02:00 linux01 systemd[2027]: Starting Exit the Session...
2017-07-31T09:32:00.394962+02:00 linux01 systemd[1926]: Stopping Default.
2017-07-31T09:32:00.395284+02:00 linux01 systemd[1926]: Stopped target Default.
2017-07-31T09:32:00.395579+02:00 linux01 systemd[1926]: Stopping Basic System.
2017-07-31T09:32:00.395868+02:00 linux01 systemd[1926]: Stopped target Basic System.
2017-07-31T09:32:00.396152+02:00 linux01 systemd[1926]: Stopping Paths.
2017-07-31T09:32:00.396436+02:00 linux01 systemd[1926]: Stopped target Paths.
2017-07-31T09:32:00.396720+02:00 linux01 systemd[1926]: Stopping Timers.
2017-07-31T09:32:00.397007+02:00 linux01 systemd[1926]: Stopped target Timers.
2017-07-31T09:32:00.405629+02:00 linux01 systemd[1926]: Stopping Sockets.
2017-07-31T09:32:00.406102+02:00 linux01 systemd[1926]: Stopped target Sockets.
2017-07-31T09:32:00.406448+02:00 linux01 systemd[1926]: Starting Shutdown.
2017-07-31T09:32:00.406965+02:00 linux01 systemd[1926]: Reached target Shutdown.
2017-07-31T09:32:00.407335+02:00 linux01 systemd[1926]: Starting Exit the Session...
2017-07-31T09:32:00.407748+02:00 linux01 systemd[1]: Stopping Authorization Manager...
2017-07-31T09:32:00.414149+02:00 linux01 rsyslogd: [origin software="rsyslogd" swVersion="8.4.0" x-pid="1100" x-info="http://www.rsyslog.com"] exiting on signal 15.

This is the log - After Shutdown. After that, I had to turn off the system

what can i do?