Page 3 of 6

Re: Sabayon 4.1 K; do not use kuser

PostPosted: Wed Jun 10, 2009 7:31
by dunsurfin
I believe that LVM partitions don't behave in the same way :( You may find it helpful to go to Sabayon live help.

Re: hald faild to start

PostPosted: Wed Jun 10, 2009 17:24
by Aakhunaten
No luck :(

Still cant login... and the console says hald failed to start.

where can i see what was the reason why it did not start?

Thanks,
praveen

Re: hald faild to start

PostPosted: Thu Jun 11, 2009 5:32
by Aakhunaten
Hi,

I finally got the error message as to why hald does not start. I disabled x windows and i logged into the F1 console (keyboard works in this mode and not X windows). Then I ran

start-stop-daemon --start -q --exec /usr/sbin/hald -- --daemon=yes --use-syslog --verbose=yes

This commands shows the error message
<<

Could not get password database information for current process : user "???" unknown or no mem to allocate password entry.

DIE: hald_runner_die(): Runner died.

>>

Does this make any sense? What all did kuser screw up????
Any chance I can restore this without actually reinstalling the OS?

Thanks in advance.
aakhunaten

Re: hald faild to start

PostPosted: Thu Jun 11, 2009 6:23
by wolfden
wolfden wrote:yes, using kuser is bad, see:
viewtopic.php?f=57&t=16777


see that thread and do as others have posted what to do to fix

Re: hald faild to start

PostPosted: Thu Jun 11, 2009 9:00
by Aakhunaten
Thanks Wolfden for your quick reply.

I fixed the issue finally using the solution provided at http://forum.mandriva.com/viewtopic.php ... 6ada4a6dc1

The issue was the permissions of passwd, group, shadow and gshadow files.

Back in business :lol:

Thanks again

aakhunaten

Re: Sabayon 4.1 K; do not use kuser

PostPosted: Thu Jun 11, 2009 12:24
by amoebios
Not a problem at all. I used Azerthoth's instructions from the wiki to mount the LVM: http://wiki.sabayonlinux.org/index.php? ... _Mount_LVM

Thanks to everyone for the nice help. I would have probably found it myself, if i wasn't so lazy. Looking back, it was really easy :oops:

Real Root Problem - cannot login or su

PostPosted: Mon Jun 15, 2009 22:10
by physivic
I tried to add a user with the 'Users and Groups' app under Gnome (System > Administration > Users and Groups). I clicked some privileges, made a password, and apparently destroyed all the login information for everyone. I can't su to root, I can't su to this new user, and I'm not willing to try to login as the user I'm running X under.

Thanks for the help!

Re: Real Root Problem - cannot login or su

PostPosted: Mon Jun 15, 2009 22:42
by kodiakmax

Re: Real Root Problem - cannot login or su

PostPosted: Mon Jun 15, 2009 23:51
by physivic
Hey, thanks. I will use the live CD to reset passwords.

I have some old (like 2002) linux/UNIX reference books lying around & I'd use them to figure out how to manage users properly (text &c) if you could tell me that some of the commands will work the same. Any ideas?

Also, you seem to have searched 'kuser' to find those pages. The information there applies somewhat, but it was an app called 'users-admin' in Gnome that screwed me up, not kuser. I do not use KDE.

Incidentally, when I searched 'install kde' on the site, it told me that those words were too common and were ignored. Frustrating, but I found the command (equo install kde-base or something - don't remember and can't search for it :P ). This & the emergency nature of this problem is why I posted instead of digging.

Re: Real Root Problem - cannot login or su

PostPosted: Tue Jun 16, 2009 2:44
by physivic
following these instructions

download/file.php?id=502

from the forum you linked above, I get some serious errors. First, the drive isn't recognized by gparted, which is linked on the livecd desktop. In the info window for the disk (it does show up), it says "Unable to detect filesystem! Possible errors are" broken/unknown filesystem or unformatted disk. This disk, at /dev/sda2 , is my main disk and worked just fine all the way through shutdown.

Of course, mount can't do much with it. dmesg says 'Unable to detect ext3 filesystem on /dev/sda2' and mount just gives some odd error saying the filesystem is unknown - lvm2pv. This is a logical volume and I never made one! I just told the installer to wipe the whole disk when I put in Sabayon.

Using fsck with the -l option doesn't help, either. It comes up with 'error 2.'

Thanks for reading

EDIT // is /dev/sda1 the root partition, even though it's the tiny one? I remember using larger partitions for root filesystems when I had to choose them myself years ago, but I've been off Linux for a while. :mrgreen: EDIT 2 // No, it isn't. It appears to be a boot partition, about 100mb. /boot , /grub , /lost+found , a 2.6.27 kernel & not much else.