After update system doesn't boot to runlevel 5 automatically

Greetings, dear openSUSE users.
Today I’ve updated my openSUSE 11.4 installation and faced strange problem: System doesn’t boot to runlevel 5 automatically and during boot I see messages like ‘Superblock time is in the future’. I managed to solve the problem with time, but cannot figure out how to solve the problem with booting to default runlevel 5. Boot process is a bit odd, I don’t see messages about processes starting, like usually. After a while I get command prompt to enter username. I can login as root and type init 5, after which KDE4 starts normally and loads default user profile. Then I can do normal work, everything works as before, until next reboot. I’ve checked /etc/inittab file for the string id:5:initdefault:. It’s there. Could you give some advice where else to check? I’m out of options.
Thanks.

Log in as root?

No, you should login as username*
Does it work with init 5 from there?

> Today I’ve updated my openSUSE 11.4 installation

two things:

  1. how did you “update”

  2. please show us the terminal output from


cat /etc/SuSE-release
uname-a
zypper lr -d

copy/paste the output back to this thread using the instructions here:
http://goo.gl/i3wn


DD
openSUSE®, the “German Automobiles” of operating systems

Thank you for quick replies.
caf4926, I haven’t tried running ‘init 5’ under normal user account, but I think it won’t work. I don’t work as root, KDM loads my default user profile automatically. Now, the question is why the systems gets loaded to runlevel 3, instead of being loaded to runlevel 5 (as it should be according to /etc/inittab)
DenverD,

  1. I update using Online Update through YaST.
  2. I followed the link you provided, but couldn’t find any instuctions. Is it ok, if I post it here?

# cat /etc/SuSE-release
openSUSE 11.4 (x86_64)
VERSION = 11.4
CODENAME = Celadon
lenovo-oss-114:/home/aleks # uname -a
Linux lenovo-oss-114.laptop 2.6.37.6-0.7-desktop #1 SMP PREEMPT 2011-07-21 02:17:24 +0200 x86_64 x86_64 x86_64 GNU/Linux
lenovo-oss-114:/home/aleks # zypper lr -d
#  | Alias                             | Name                                    | Enabled | Refresh | Priority | Type     | URI                                                                                                | Service
---+-----------------------------------+-----------------------------------------+---------+---------+----------+----------+----------------------------------------------------------------------------------------------------+--------
 1 | 11.4 - VideoLan                   | 11.4 - VideoLan                         | Yes     | No      |   99     | rpm-md   | http://download.videolan.org/pub/videolan/vlc/SuSE/11.4/                                           |        
 2 | KDE4_Factory                      | KDE4 Factory                            | Yes     | No      |   99     | rpm-md   | http://download.opensuse.org/repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_11.4/               |        
 3 | KDE:Unstable:Playground           | KDE:Unstable:Playground                 | Yes     | No      |   99     | rpm-md   | http://download.opensuse.org/repositories/KDE:/Unstable:/Playground/openSUSE_11.4_KDE_Unstable_SC/ |        
 4 | KDE:Unstable:SC                   | KDE:Unstable:SC                         | Yes     | No      |   99     | rpm-md   | http://download.opensuse.org/repositories/KDE:/Unstable:/SC/openSUSE_11.4/                         |        
 5 | Lazy_Kent                         | Lazy Kent                               | Yes     | No      |   99     | rpm-md   | http://download.opensuse.org/repositories/home:/Lazy_Kent/openSUSE_11.4                            |        
 6 | Updates-for-openSUSE-11.4-11.4-0  | Updates for openSUSE 11.4 11.4-0        | Yes     | No      |   99     | rpm-md   | http://download.opensuse.org/update/11.4/                                                          |        
 7 | download.opensuse.org-Apps        | openSUSE BuildService - GNOME:Apps      | Yes     | No      |   99     | rpm-md   | http://download.opensuse.org/repositories/GNOME:/Apps/openSUSE_11.4/                               |        
 8 | download.opensuse.org-Education   | openSUSE BuildService - Education       | Yes     | No      |   99     | rpm-md   | http://download.opensuse.org/repositories/Education/openSUSE_11.4/                                 |        
 9 | download.opensuse.org-Extra       | openSUSE BuildService - KDE:Extra       | Yes     | No      |   99     | rpm-md   | http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_11.4/                                |        
10 | download.opensuse.org-Stable      | Stable LibreOffice Repository           | Yes     | No      |   99     | rpm-md   | http://download.opensuse.org/repositories/LibreOffice:/Stable/openSUSE_11.4/                       |        
11 | download.opensuse.org-UpdatedApps | openSUSE BuildService - KDE:UpdatedApps | Yes     | No      |   99     | rpm-md   | http://download.opensuse.org/repositories/KDE:/UpdatedApps/openSUSE_11.4/                          |        
12 | download.opensuse.org-filesystems | openSUSE BuildService - filesystems     | Yes     | No      |   99     | rpm-md   | http://download.opensuse.org/repositories/filesystems/openSUSE_11.4/                               |        
13 | download.opensuse.org-games       | openSUSE BuildService - Games           | Yes     | No      |   99     | rpm-md   | http://download.opensuse.org/repositories/games/openSUSE_11.4/                                     |        
14 | download.opensuse.org-mozilla     | openSUSE BuildService - Mozilla         | Yes     | No      |   99     | rpm-md   | http://download.opensuse.org/repositories/mozilla/openSUSE_11.4/                                   |        
15 | filesharing                       | filesharing                             | Yes     | No      |   99     | rpm-md   | http://download.opensuse.org/repositories/filesharing/openSUSE_11.4/                               |        
16 | google-chrome                     | google-chrome                           | Yes     | No      |   99     | rpm-md   | http://dl.google.com/linux/chrome/rpm/stable/x86_64                                                |        
17 | google-talkplugin                 | google-talkplugin                       | Yes     | No      |   99     | rpm-md   | http://dl.google.com/linux/talkplugin/rpm/stable/x86_64                                            |        
18 | hardware                          | hardware                                | Yes     | No      |   99     | rpm-md   | http://download.opensuse.org/repositories/hardware/openSUSE_11.4/                                  |        
19 | install                           | install                                 | Yes     | Yes     |   99     | plaindir | dir:///home/aleks/install                                                                          |        
20 | openSUSE-11.4-11.4-0              | openSUSE-11.4-11.4-0                    | Yes     | No      |   99     | yast2    | cd:///?devices=/dev/disk/by-id/ata-PIONEER_DVR-213N,/dev/sr0                                       |        
21 | openSUSE:Factory:Contrib          | openSUSE:Factory:Contrib                | Yes     | No      |   99     | rpm-md   | http://download.opensuse.org/repositories/openSUSE:/Factory:/Contrib/openSUSE_11.4/                |        
22 | opensuse-guide.org-repo           | libdvdcss repository                    | No      | No      |   99     | rpm-md   | http://opensuse-guide.org/repo/11.4/                                                               |        
23 | packman.inode.at-suse             | Packman Repository                      | Yes     | No      |   99     | rpm-md   | http://packman.inode.at/suse/openSUSE_11.4/                                                        |        
24 | repo-debug                        | openSUSE-11.4-Debug                     | No      | No      |   99     | NONE     | http://download.opensuse.org/debug/distribution/11.4/repo/oss/                                     |        
25 | repo-debug-update                 | openSUSE-11.4-Update-Debug              | No      | No      |   99     | NONE     | http://download.opensuse.org/debug/update/11.4/                                                    |        
26 | repo-non-oss                      | openSUSE-11.4-Non-Oss                   | Yes     | No      |   99     | yast2    | http://download.opensuse.org/distribution/11.4/repo/non-oss/                                       |        
27 | repo-oss                          | openSUSE-11.4-Oss                       | Yes     | No      |   99     | yast2    | http://download.opensuse.org/distribution/11.4/repo/oss/                                           |        
28 | repo-source                       | openSUSE-11.4-Source                    | No      | No      |   99     | NONE     | http://download.opensuse.org/source/distribution/11.4/repo/oss/                                    |        
29 | subpixel repository               | subpixel repository                     | Yes     | No      |   99     | rpm-md   | http://repos.opensuse-community.org/subpixel/openSUSE_11.4                                         |        
lenovo-oss-114:/home/aleks # 

whooooo, You have many potentially conflicting repos. With Factory in there you are loading up testing software thus this can lead to unstable operations. Hard to tell how messed up your system is.

On 2011-09-17 17:26, aazikov wrote:
>
> Greetings, dear openSUSE users.
> Today I’ve updated my openSUSE 11.4 installation and faced strange
> problem: System doesn’t boot to runlevel 5 automatically and during boot
> I see messages like ‘Superblock time is in the future’. I managed to
> solve the problem with time, but cannot figure out how to solve the
> problem with booting to default runlevel 5. Boot process is a bit odd, I
> don’t see messages about processes starting, like usually.

Do you see something like “rescue”? You have a problem there, with the
filesystem, explained in the messages you get, that you have to solve first.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Strange thing is that I’ve never had any problems with KDE4_Factory repo. I usually update two PCs: desktop and laptop. Desktop is fine, but this time laptop has some problems after updating KDE and Office.
As for file system problem. After updating KDE and Office, I shutdown laptop. When I switched it on about 3 hours later, during booting I found error like ‘/dev/sda6 Superblock last mount time is in the future’ FIXED. After this, the system didn’t proceed to runlevel 5 and provided login prompt. I cannot provide you the boot logs, as now I don’t see such messages. But I think it happened because of time difference. I always had my systems configured without Hardware clock set to UTC. I rebooted several times, configured time (set clock to UTC) and now time settings are correct. But after each reboot I still appear in runlevel 3. Is there any way to run manual fsck?

I booted from rescue cd and ran fsck on /root and other FS. It’s clean. After reboot I see no changes. Would the list of latest updated packages be of any help?
last_installed - Pastebin.com

That repo list is such a mess it isn’t even funny

Try creating a new user account from a root login, then try it. But honestly I never did see such a mess

Might this be the problem?

/etc/init.d/boot.clock restart

Failed to issue method call: Unit boot.clock.service failed to load: No such file or directory. See system logs and ‘systemctl status’ for details.
During rescue session, I found boot.clock service fails.

boot.clock restarts normally on the desktop PC, which was updated on the same day.

# /etc/init.d/boot.clock restart
Set System Time to the current Hardware ClockSun Sep 18 00:42:05 2011  -0.343976 seconds                                                      
                                                                                                                                   done

On 2011-09-17 19:36, aazikov wrote:
>
> I booted from rescue cd and ran fsck on /root and other FS. It’s clean.
> After reboot I see no changes. Would the list of latest updated packages
> be of any help?

Not really, too big.

What messages do you see in text mode when you boot?


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On 09/17/2011 05:56 PM, aazikov wrote:
> # | Alias | Name | Enabled | Refresh | Priority | Type | URI | Service
> —±----------------------------------±----------------------------------------±--------±--------±---------±---------±---------------------------------------------------------------------------------------------------±-------
> 1 | 11.4 - VideoLan | 11.4 - VideoLan | Yes | No | 99 | rpm-md | http://download.videolan.org/pub/videolan/vlc/SuSE/11.4/ |
> 2 | KDE4_Factory | KDE4 Factory | Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_11.4/ |
> 3 | KDE:Unstable:Playground | KDE:Unstable:Playground | Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Unstable:/Playground/openSUSE_11.4_KDE_Unstable_SC/ |
> 4 | KDE:Unstable:SC | KDE:Unstable:SC | Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Unstable:/SC/openSUSE_11.4/ |
> 5 | Lazy_Kent | Lazy Kent | Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/home:/Lazy_Kent/openSUSE_11.4 |
> 6 | Updates-for-openSUSE-11.4-11.4-0 | Updates for openSUSE 11.4 11.4-0 | Yes | No | 99 | rpm-md | http://download.opensuse.org/update/11.4/ |
> 7 | download.opensuse.org-Apps | openSUSE BuildService - GNOME:Apps | Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/GNOME:/Apps/openSUSE_11.4/ |
> 8 | download.opensuse.org-Education | openSUSE BuildService - Education | Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/Education/openSUSE_11.4/ |
> 9 | download.opensuse.org-Extra | openSUSE BuildService - KDE:Extra | Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_11.4/ |
> 10 | download.opensuse.org-Stable | Stable LibreOffice Repository | Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/LibreOffice:/Stable/openSUSE_11.4/ |
> 11 | download.opensuse.org-UpdatedApps | openSUSE BuildService - KDE:UpdatedApps | Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/KDE:/UpdatedApps/openSUSE_11.4/ |
> 12 | download.opensuse.org-filesystems | openSUSE BuildService - filesystems | Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/filesystems/openSUSE_11.4/ |
> 13 | download.opensuse.org-games | openSUSE BuildService - Games | Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/games/openSUSE_11.4/ |
> 14 | download.opensuse.org-mozilla | openSUSE BuildService - Mozilla | Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_11.4/ |
> 15 | filesharing | filesharing | Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/filesharing/openSUSE_11.4/ |
> 16 | google-chrome | google-chrome | Yes | No | 99 | rpm-md | http://dl.google.com/linux/chrome/rpm/stable/x86_64 |
> 17 | google-talkplugin | google-talkplugin | Yes | No | 99 | rpm-md | http://dl.google.com/linux/talkplugin/rpm/stable/x86_64 |
> 18 | hardware | hardware | Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/hardware/openSUSE_11.4/ |
> 19 | install | install | Yes | Yes | 99 | plaindir | dir:///home/aleks/install |
> 20 | openSUSE-11.4-11.4-0 | openSUSE-11.4-11.4-0 | Yes | No | 99 | yast2 | cd:///?devices=/dev/disk/by-id/ata-PIONEER_DVR-213N,/dev/sr0 |
> 21 | openSUSE:Factory:Contrib | openSUSE:Factory:Contrib | Yes | No | 99 | rpm-md | http://download.opensuse.org/repositories/openSUSE:/Factory:/Contrib/openSUSE_11.4/ |
> 22 | opensuse-guide.org-repo | libdvdcss repository | No | No | 99 | rpm-md | http://opensuse-guide.org/repo/11.4/ |
> 23 | packman.inode.at-suse | Packman Repository | Yes | No | 99 | rpm-md | http://packman.inode.at/suse/openSUSE_11.4/ |
> 24 | repo-debug | openSUSE-11.4-Debug | No | No | 99 | NONE | http://download.opensuse.org/debug/distribution/11.4/repo/oss/ |
> 25 | repo-debug-update | openSUSE-11.4-Update-Debug | No | No | 99 | NONE | http://download.opensuse.org/debug/update/11.4/ |
> 26 | repo-non-oss | openSUSE-11.4-Non-Oss | Yes | No | 99 | yast2 | http://download.opensuse.org/distribution/11.4/repo/non-oss/ |
> 27 | repo-oss | openSUSE-11.4-Oss | Yes | No | 99 | yast2 | http://download.opensuse.org/distribution/11.4/repo/oss/ |
> 28 | repo-source | openSUSE-11.4-Source | No | No | 99 | NONE | http://download.opensuse.org/source/distribution/11.4/repo/oss/ |
> 29 | subpixel repository | subpixel repository | Yes | No | 99 | rpm-md | http://repos.opensuse-community.org/subpixel/openSUSE_11.4 |
> lenovo-oss-114:/home/aleks #
>
> --------------------

read the paragraph beginning with “IMPORTANT” in this post:
http://tinyurl.com/33qc9vu

beyond that i wouldn’t know how to help you other than advising:

  1. backup all your data
  2. do a fresh format and install of openSUSE 11.4
  3. restore you data to the new system
  4. be more careful next time in following sound “IMPORTANT” advice

(Factory is the NEXT version of openSUSE, but the repo changes every
day…EVERY day, what you install from there yesterday might work, but
what you install from there today might not…i would NEVER install
from factory to any machine other than one which is purely for
experimental testing, and contains nothing i’m not willing to lose)


DD
Caveat
openSUSE®, the “German Automobiles” of operating systems

Problem solved! It appears systemd messed up my system. It’s a mystery why it happened only now, although systemd package was installed on May 20. After systemd package was removed, boot process became normal and now everything works fine as before. Thanks for your help, everybody!

On 09/18/2011 08:16 AM, aazikov wrote:
> now everything works fine as before. Thanks for your help, everybody!

welcome, but by the way, in the future (if you continue to run Factory
software) you should always post help requests/questions only to the
only pre-release software forum, here: http://tinyurl.com/2du7r4s

that way you don’t waste the time of folks who are involved with
supported versions…thanks.


DD
openSUSE®, the “German Automobiles” of operating systems