System reboot after user log out of gui

General support questions
niel
Posts: 6
Joined: 2011/08/05 11:27:26

System reboot after user log out of gui

Post by niel » 2011/08/05 11:31:51

I have installed Centos 6 with Gnome Desktop environment. I am able to start the desktop session but when I log out the system reboot.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

System reboot after user log out of gui

Post by pschaff » 2011/08/06 14:08:16

Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

That's one I don't remember seeing before. Have you installed all available updates? Anything interesting in /var/log/messages at the time of the reboot? Please [b]do not[/b] post the entire log file.

If more help is needed then please [url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=28723&forum=54]provide more information about your system[/url] by running "./getinfo.sh" and showing us the output file.

niel
Posts: 6
Joined: 2011/08/05 11:27:26

Re: System reboot after user log out of gui

Post by niel » 2011/08/08 14:51:05

Thanks for your responds Phil,

I have done a yum update and No Packages marked for Update.

I have attached the system information from the getinfo.sh (get_sys_info).

I also check the /var/log/messages that there is a entry with an error [1312813960.193244] [nm-manager.c:1312] user_proxy_init(): could not init user settings proxy: (3) Could not get owner of name. I am not sure if this is the problem. If you check message file I did a log out off the root user at 16:30.

Hope this gives you a more clear understanding of this log out restart.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: System reboot after user log out of gui

Post by pschaff » 2011/08/09 14:07:40

The forum attachment function is permanently broken. Please just paste the output file into the edit window. It already has [code] ... [/code] tags for proper formatting.

Long output can go to http://pastebin.centos.org if required.

niel
Posts: 6
Joined: 2011/08/05 11:27:26

Re: System reboot after user log out of gui

Post by niel » 2011/08/10 08:07:16

/var/log/messages after reboot

Aug 8 16:30:25 dev-srv NetworkManager[1685]: [1312813825.323051] [nm-manager.c:1312] user_proxy_init(): could not init user settings proxy: (3) Could not get owner of name 'org.freedesktop.NetworkManagerUserSettings': no such name
Aug 8 16:30:25 dev-srv NetworkManager[1685]: [1312813825.476274] [nm-manager.c:1312] user_proxy_init(): could not init user settings proxy: (3) Could not get owner of name 'org.freedesktop.NetworkManagerUserSettings': no such name
Aug 8 16:30:46 dev-srv NetworkManager[1685]: [1312813846.268340] [nm-manager.c:1312] user_proxy_init(): could not init user settings proxy: (3) Could not get owner of name 'org.freedesktop.NetworkManagerUserSettings': no such name
Aug 8 16:30:47 dev-srv NetworkManager[1685]: [1312813847.246067] [nm-manager.c:1312] user_proxy_init(): could not init user settings proxy: (3) Could not get owner of name 'org.freedesktop.NetworkManagerUserSettings': no such name
Aug 8 16:30:51 dev-srv pulseaudio[24727]: pid.c: Stale PID file, overwriting.
Aug 8 16:32:23 dev-srv kernel: imklog 4.6.2, log source = /proc/kmsg started.
Aug 8 16:32:23 dev-srv rsyslogd: [origin software="rsyslogd" swVersion="4.6.2" x-pid="1493" x-info="http://www.rsyslog.com"] (re)start
Aug 8 16:32:23 dev-srv kernel: Initializing cgroup subsys cpuset
Aug 8 16:32:23 dev-srv kernel: Initializing cgroup subsys cpu
Aug 8 16:32:23 dev-srv kernel: Linux version 2.6.32-71.29.1.el6.x86_64 (mockbuild@c6b5.bsys.dev.centos.org) (gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) ) #1 SMP Mon Jun 27 19:49:27 BST 2011
Aug 8 16:32:23 dev-srv kernel: Command line: ro root=/dev/mapper/vg_devsrv-lv_root rd_LVM_LV=vg_devsrv/lv_root rd_LVM_LV=vg_devsrv/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto rhgb quiet
SNIP
Aug 8 16:32:23 dev-srv kernel: Kernel command line: ro root=/dev/mapper/vg_devsrv-lv_root rd_LVM_LV=vg_devsrv/lv_root rd_LVM_LV=vg_devsrv/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=129M@0M rhgb quiet

get_sys_info output

Information for general problems.
[code]
== BEGIN uname -rmi ==
2.6.32-71.29.1.el6.x86_64 x86_64 x86_64
== END uname -rmi ==

== BEGIN rpm -qa \*-release\* ==
rpmforge-release-0.5.2-2.el6.rf.x86_64
centos-release-6-0.el6.centos.5.x86_64
== END rpm -qa \*-release\* ==

== BEGIN cat /etc/redhat-release ==
CentOS Linux release 6.0 (Final)
== END cat /etc/redhat-release ==

== BEGIN getenforce ==
Enforcing
== END getenforce ==

== BEGIN free -m ==
total used free shared buffers cached
Mem: 15900 1117 14783 0 21 383
-/+ buffers/cache: 712 15188
Swap: 18079 0 18079
== END free -m ==

== BEGIN rpm -q yum rpm python ==
yum-3.2.27-14.el6.centos.noarch
rpm-4.8.0-12.el6.x86_64
python-2.6.5-3.el6_0.2.x86_64
== END rpm -q yum rpm python ==

== BEGIN ls /etc/yum.repos.d ==
CentOS-Base.repo
CentOS-Debuginfo.repo
CentOS-Media.repo
mirrors-rpmforge
mirrors-rpmforge-extras
mirrors-rpmforge-testing
rpmforge.repo
virtualbox.repo
== END ls /etc/yum.repos.d ==

== BEGIN cat /etc/yum.conf ==
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release

# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
== END cat /etc/yum.conf ==

== BEGIN yum repolist all ==
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile
* base: sunsite.rediris.es
* extras: ftp.gui.uva.es
* rpmforge: fr2.rpmfind.net
* updates: sunsite.rediris.es
repo id repo name status
base CentOS-6 - Base enabled: 6,019
c6-media CentOS-6 - Media disabled
centosplus CentOS-6 - Plus disabled
contrib CentOS-6 - Contrib disabled
debug CentOS-6 - Debuginfo disabled
extras CentOS-6 - Extras enabled: 0
rpmforge RHEL 6 - RPMforge.net - dag enabled: 3,926
rpmforge-extras RHEL 6 - RPMforge.net - extras disabled
rpmforge-testing RHEL 6 - RPMforge.net - testing disabled
updates CentOS-6 - Updates enabled: 1,042
virtualbox RHEL/CentOS-6 / x86_64 - VirtualBox enabled: 10
repolist: 10,997
== END yum repolist all ==

== BEGIN egrep 'include|exclude' /etc/yum.repos.d/*.repo ==
== END egrep 'include|exclude' /etc/yum.repos.d/*.repo ==

== BEGIN sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==
== END sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==

== BEGIN cat /etc/fstab ==

#
# /etc/fstab
# Created by anaconda on Fri Aug 5 12:25:21 2011
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_devsrv-lv_root / ext4 defaults 1 1
UUID=9290b63c-5c11-4096-a5f7-d1a4e35da379 /boot ext4 defaults 1 2
/dev/mapper/vg_devsrv-lv_home /home ext4 defaults 1 2
/dev/mapper/vg_devsrv-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
== END cat /etc/fstab ==

== BEGIN df -h ==
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_devsrv-lv_root
803G 34G 729G 5% /
tmpfs 7.8G 200K 7.8G 1% /dev/shm
/dev/sda1 485M 58M 402M 13% /boot
/dev/mapper/vg_devsrv-lv_home
97G 441M 91G 1% /home
== END df -h ==

== BEGIN fdisk -l ==
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2 doesn't contain a valid partition table

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb5be8624

Device Boot Start End Blocks Id System
/dev/sda1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 64 121602 976248832 8e Linux LVM

Disk /dev/dm-0: 875.9 GB, 875858755584 bytes
255 heads, 63 sectors/track, 106483 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/dm-1: 19.0 GB, 18958254080 bytes
255 heads, 63 sectors/track, 2304 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/dm-2: 104.9 GB, 104857600000 bytes
255 heads, 63 sectors/track, 12748 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

== END fdisk -l ==

== BEGIN blkid ==
/dev/sda1: UUID="9290b63c-5c11-4096-a5f7-d1a4e35da379" TYPE="ext4"
/dev/sda2: UUID="VjsVIR-mWvv-GHLy-5BAO-93C4-rqeR-sp9zsa" TYPE="LVM2_member"
/dev/mapper/vg_devsrv-lv_root: UUID="146ef82a-3e5a-4ab2-8129-5cde599f9f30" TYPE="ext4"
/dev/mapper/vg_devsrv-lv_swap: UUID="25acb0bb-880d-4368-b7e1-8b7de8f9f46f" TYPE="swap"
/dev/mapper/vg_devsrv-lv_home: UUID="4b0d965c-6a4c-4212-a7b1-b18dd4739edd" TYPE="ext4"
== END blkid ==

== BEGIN cat /proc/mdstat ==
Personalities :
unused devices: <none>
== END cat /proc/mdstat ==

== BEGIN pvs ==
PV VG Fmt Attr PSize PFree
/dev/sda2 vg_devsrv lvm2 a- 931.02g 0
== END pvs ==

== BEGIN vgs ==
VG #PV #LV #SN Attr VSize VFree
vg_devsrv 1 3 0 wz--n- 931.02g 0
== END vgs ==

== BEGIN lvs ==
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
lv_home vg_devsrv -wi-ao 97.66g
lv_root vg_devsrv -wi-ao 815.71g
lv_swap vg_devsrv -wi-ao 17.66g
== END lvs ==

== BEGIN rpm -qa kernel\* | sort ==
kernel-2.6.32-71.29.1.el6.x86_64
kernel-2.6.32-71.el6.x86_64
kernel-devel-2.6.32-71.29.1.el6.x86_64
kernel-firmware-2.6.32-71.29.1.el6.noarch
kernel-headers-2.6.32-71.29.1.el6.x86_64
== END rpm -qa kernel\* | sort ==

== BEGIN lspci ==
00:00.0 Host bridge: Intel Corporation Sandy Bridge DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Sandy Bridge Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation Cougar Point HECI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 1 (rev b5)
00:1c.6 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 7 (rev b5)
00:1c.7 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 8 (rev b5)
00:1d.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #1 (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation Cougar Point LPC Controller (rev 05)
00:1f.2 IDE interface: Intel Corporation Cougar Point 4 port SATA IDE Controller (rev 05)
00:1f.3 SMBus: Intel Corporation Cougar Point SMBus Controller (rev 05)
00:1f.5 IDE interface: Intel Corporation Cougar Point 2 port SATA IDE Controller (rev 05)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
03:00.0 USB Controller: Device 1b6f:7023 (rev 01)
== END lspci ==

== BEGIN lspci -n ==
00:00.0 0600: 8086:0100 (rev 09)
00:02.0 0300: 8086:0122 (rev 09)
00:16.0 0780: 8086:1c3a (rev 04)
00:1a.0 0c03: 8086:1c2d (rev 05)
00:1b.0 0403: 8086:1c20 (rev 05)
00:1c.0 0604: 8086:1c10 (rev b5)
00:1c.6 0604: 8086:1c1c (rev b5)
00:1c.7 0604: 8086:1c1e (rev b5)
00:1d.0 0c03: 8086:1c26 (rev 05)
00:1e.0 0604: 8086:244e (rev a5)
00:1f.0 0601: 8086:1c4a (rev 05)
00:1f.2 0101: 8086:1c00 (rev 05)
00:1f.3 0c05: 8086:1c22 (rev 05)
00:1f.5 0101: 8086:1c08 (rev 05)
02:00.0 0200: 10ec:8168 (rev 06)
03:00.0 0c03: 1b6f:7023 (rev 01)
== END lspci -n ==

== BEGIN lsusb ==
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 018: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
Bus 001 Device 004: ID 0b38:0010 Gear Head 107-Key Keyboard
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
== END lsusb ==

== BEGIN ifconfig -a ==
eth0 Link encap:Ethernet HWaddr 50:E5:49:5A:0C:AF
inet addr:192.168.10.10 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: fe80::52e5:49ff:fe5a:caf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14597 errors:0 dropped:0 overruns:0 frame:0
TX packets:12829 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2008590 (1.9 MiB) TX bytes:4286042 (4.0 MiB)
Interrupt:28 Base address:0x8000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:23433 errors:0 dropped:0 overruns:0 frame:0
TX packets:23433 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4641940 (4.4 MiB) TX bytes:4641940 (4.4 MiB)

== END ifconfig -a ==

== BEGIN route -n ==
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
0.0.0.0 192.168.10.1 0.0.0.0 UG 0 0 0 eth0
== END route -n ==

== BEGIN cat /etc/resolv.conf ==
# Generated by NetworkManager
nameserver 41.160.0.36
== END cat /etc/resolv.conf ==

== BEGIN grep net /etc/nsswitch.conf ==
#networks: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
netmasks: files
networks: files
netgroup: nisplus
== END grep net /etc/nsswitch.conf ==

== BEGIN chkconfig --list | grep -Ei 'network|wpa' ==
NetworkManager 0:off 1:off 2:on 3:on 4:on 5:on 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
wpa_supplicant 0:off 1:off 2:off 3:off 4:off 5:off 6:off
== END chkconfig --list | grep -Ei 'network|wpa' ==

[/code]

r_hartman
Posts: 711
Joined: 2009/03/23 15:08:11
Location: Netherlands
Contact:

Re: System reboot after user log out of gui

Post by r_hartman » 2011/08/10 08:28:11

Looking at the list, a few things should be corrected:

1) You have both the network and the NetworkManager service enabled. While I would not expect this to cause reboots at logoff, this may cause issues, especially networking-related. Use the chkconfig command to switch off the service you do not want to use, most likely network: [code]# chkconfig network off[/code]
2) You have rpmforge enabled without having installed or configured [url=http://wiki.centos.org/PackageManagement/Yum/Priorities]yum-plugin-priorities[/url]. This may cause core packages to be replaced by rpmforge packages, with unpredictable results. Please install and configure yum-plugin-priorities or disable rpmforge.

You then may want to check what was installed from non-CentOS sources:
[code]# rpm -qa --qf '%{NAME} %{VENDOR}\n' | grep -v CentOS[/code]

Alternatively, you can use
[code]# yum list installed[/code]
as RHEL6/CentOS6 now lists the originating repo, instead of just 'installed'.

niel
Posts: 6
Joined: 2011/08/05 11:27:26

Re: System reboot after user log out of gui

Post by niel » 2011/08/10 10:38:10

Thank you for the prompt response.

1) I have turned off network.
# chkconfig --list network
network 0:off 1:off 2:off 3:off 4:off 5:off 6:off

2) I have removed all yum plugins pointing to rpm-forge

# ls /etc/yum.repos.d/ -l
total 16
1926 Jul 3 04:16 CentOS-Base.repo
root root 637 Jul 3 04:16 CentOS-Debuginfo.repo
root root 626 Jul 3 04:16 CentOS-Media.repo
root root 241 May 19 2010 virtualbox.repo

3) I see rpmforge-release.x86_64 0.5.2-2.el6.rf @/rpmforge-release-0.5.2-2.el6.rf.x86_64 is installed. Is it better to remove it?

# rpm -qa --qf '%{NAME} %{VENDOR}\n' | grep -v CentOS
sun-javadb-client Sun Microsystems, Inc.
VirtualBox-4.1 Oracle Corporation
crash-trace-command Fujitsu Limited
sun-javadb-javadoc Sun Microsystems, Inc.
redhat-logos (none)
grub (none)
gpg-pubkey (none)
sun-javadb-common Sun Microsystems, Inc.
sun-javadb-docs Sun Microsystems, Inc.
bash (none)
coreutils-libs (none)
coreutils (none)
jdk Oracle and/or its affiliates.
sun-javadb-demo Sun Microsystems, Inc.
rpmforge-release Dag Apt Repository, http://dag.wieers.com/apt/
gpg-pubkey (none)
gpg-pubkey (none)
sun-javadb-core Sun Microsystems, Inc.

I am only running Oracle Virtualbox, Sun Java JDK, Apache, Apache Tomcat and Vncserver.

The system still reboot after I log off from a Gnome session.

The latest /var/log/messages
Aug 10 12:11:40 dev-srv abrtd: Can't load public GPG key /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-auxiliary
Aug 10 12:11:40 dev-srv abrtd: Can't load public GPG key /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta-2
Aug 10 12:11:40 dev-srv abrtd: Can't load public GPG key /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-beta
Aug 10 12:11:40 dev-srv abrtd: Can't load public GPG key /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-former
Aug 10 12:11:40 dev-srv abrtd: Can't load public GPG key /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-release
Aug 10 12:11:40 dev-srv abrtd: Can't load public GPG key /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-rhx
Aug 10 12:12:00 dev-srv NetworkManager[1605]: [1312971120.866472] [nm-manager.c:1312] user_proxy_init(): could not init user settings proxy: (3) Could not get owner of name 'org.freedesktop.NetworkManagerUserSettings': no such name

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: System reboot after user log out of gui

Post by pschaff » 2011/08/10 19:17:42

[quote]
niel wrote:
Thank you for the prompt response.

1) I have turned off network.
# chkconfig --list network
network 0:off 1:off 2:off 3:off 4:off 5:off 6:off[/quote]
That was highly advisable for CentOS-5 and earlier. RHEL/CentOS-6 defaults to having both "network" and "NetworkManager" services running and I have not seen problems with that configuration. I doubt it is relevant to the reboot anyway.

[quote]
2) I have removed all yum plugins pointing to rpm-forge[/quote]
For the sake of accuracy, what you removed were the repository configuration files for RPMforge and not plugins. Deleting files belonging to an RPM package is generally not advisable, nor should it be necessary. You can leave the files in place and just disable the repo by inserting "enabled=0" in each stanza of the repo configurations.

[quote]
3) I see rpmforge-release.x86_64 0.5.2-2.el6.rf @/rpmforge-release-0.5.2-2.el6.rf.x86_64 is installed. Is it better to remove it?[/quote]
As you have already removed the files then removing the package is probably advisable. It will need to be reinstalled if you want to install or update RPMforge packages. I rather doubt any of that is relevant to the reboot problem either.

[quote]
...
The system still reboot after I log off from a Gnome session.

The latest /var/log/messages
Aug 10 12:11:40 dev-srv abrtd: Can't load public GPG key /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-auxiliary
Aug 10 12:11:40 dev-srv abrtd: Can't load public GPG key /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta-2
Aug 10 12:11:40 dev-srv abrtd: Can't load public GPG key /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-beta
Aug 10 12:11:40 dev-srv abrtd: Can't load public GPG key /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-former
Aug 10 12:11:40 dev-srv abrtd: Can't load public GPG key /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-release
Aug 10 12:11:40 dev-srv abrtd: Can't load public GPG key /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-rhx
Aug 10 12:12:00 dev-srv NetworkManager[1605]: [1312971120.866472] [nm-manager.c:1312] user_proxy_init(): could not init user settings proxy: (3) Could not get owner of name 'org.freedesktop.NetworkManagerUserSettings': no such name[/quote]
Not sure what that's all about. You previously posted /var/log/messages lines from right after the reboot. What would be more interesting is what happens right before the reboot. It is not clear how the above fit into that time sequence. Are you logging in as a normal user and not root?

r_hartman
Posts: 711
Joined: 2009/03/23 15:08:11
Location: Netherlands
Contact:

Re: System reboot after user log out of gui

Post by r_hartman » 2011/08/11 06:41:08

From reply #5:
[quote]Aug 8 16:30:46 dev-srv NetworkManager[1685]: [1312813846.268340] [nm-manager.c:1312] user_proxy_init(): could not init user settings proxy: (3) Could not get owner of name 'org.freedesktop.NetworkManagerUserSettings': no such name
Aug 8 16:30:47 dev-srv NetworkManager[1685]: [1312813847.246067] [nm-manager.c:1312] user_proxy_init(): could not init user settings proxy: (3) Could not get owner of name 'org.freedesktop.NetworkManagerUserSettings': no such name
Aug 8 16:30:51 dev-srv pulseaudio[24727]: pid.c: Stale PID file, overwriting.
Aug 8 16:32:23 dev-srv kernel: imklog 4.6.2, log source = /proc/kmsg started.
Aug 8 16:32:23 dev-srv rsyslogd: [origin software="rsyslogd" swVersion="4.6.2" x-pid="1493" x-info="http://www.rsyslog.com"] (re)start
Aug 8 16:32:23 dev-srv kernel: Initializing cgroup subsys cpuset
Aug 8 16:32:23 dev-srv kernel: Initializing cgroup subsys cpu[/quote]

To me this looks like the reboot occurs at 16:30:51, with the first message after the reboot at 16:32:23

If that is correct, the system just coldboots without warning, no shutdown and thus no logging; not a proper 'reboot'.

I didn't know about C6 having network and NetworkManager enabled as a proper config, especially as with C5 it has been stated that network would be deprecated.

Nothing in the OP's info so far suggests a reason for reboots; I was just sort of hoping the info requested would reveal replacement of a core package that might somehow attribute to the problem, but it looks like nothing was ever installed yet from rpmforge, except the repo itself.

I guess the elimination process should involve a number of steps, like finding out the following
- How do you log out (I'd assume by 'logout' you don't mean pressing Alt-Ctl-Del)?
- Does the box only reboot after a graphical logout, or also after a console logout?
- Is it always the same user experiencing the reboot-at-logout, or does this happen with all users?
- Have any logout scripts been configured, either in .bash_logout or in /etc/gdm/PostSession?
- When rebooting, does the system show any indication of unclean filesystem status, supporting the cold-boot assumption (remove 'rhgb quiet' from the kernel line in grub.conf to see the boot messages)?
- is there any indication of hardware initialization issues in /var/log/dmesg?

There's probably more, but this is what pops up with me as next steps.
It might be worth running memtest68+ as well, although with memory issues I would not expect problems at logout only.

niel
Posts: 6
Joined: 2011/08/05 11:27:26

Re: System reboot after user log out of gui

Post by niel » 2011/08/11 14:45:21

Thank you guys for looking into my problem.

I have removed the rpmforge-release.x86_64 package.
# rpm -q rpmforge-release.x86_64
package rpmforge-release.x86_64 is not installed

[quote]
I guess the elimination process should involve a number of steps, like finding out the following
- How do you log out (I'd assume by 'logout' you don't mean pressing Alt-Ctl-Del)?
- Does the box only reboot after a graphical logout, or also after a console logout?
- Is it always the same user experiencing the reboot-at-logout, or does this happen with all users?
- Have any logout scripts been configured, either in .bash_logout or in /etc/gdm/PostSession?
- When rebooting, does the system show any indication of unclean filesystem status, supporting the cold-boot assumption (remove 'rhgb quiet' from the kernel line in grub.conf to see the boot messages)?
- is there any indication of hardware initialization issues in /var/log/dmesg?
[/quote]

1) I log out by clicking System --> Log Out 'username' --> Log Out again.
2) The reboot occurs only after a graphical log out. I can ssh in and exit without any issues.
3) The reboot happens with all users root and created users.
4) No log out scripts were configured.
5) There is no clean reboot after a graphical log out it is as you refer too a cold-boot. There is no text indication of unmounting file system or stop any services when the reboot occurs.
6) The only strange thing I could see in /var/log/dmesg is:

iTCO_wdt: Intel TCO WatchDog Timer Driver v1.05
iTCO_wdt: failed to reset NO_REBOOT flag, reboot disabled by hardware
iTCO_wdt: No card detected

Post Reply