View previous topic :: View next topic |
Author |
Message |
wpkzz Tux's lil' helper
Joined: 28 Feb 2013 Posts: 80
|
Posted: Fri Jun 07, 2013 2:59 am Post subject: rc or init is not starting anything i tell him to start. |
|
|
Hello crew:
This is NOT my first gentoo install, and is a problem I never had. I began a thread about a seemingly minor issue about the hostname not being set, but I discovered that allmost all the services that I manually added to runlevel boot or default don't start. If I do it manually, after logging as root, they work, except for syslog-ng. It is more than annoying, and I have absolutely no idea what is going on.
The services which don't start are
hostname
net.wlp3s0
net.sith0
wpa_supplicant
syslog-ng
wicd
It is super fustrating. All of them appear on thier correct runlevel after asking rc-update show and
cheking in the directory /etc/runlevel. Also the links are correct.
I am on the point of throwing the install to the trash while crying (really, is really annoying having to enter as root and start everything that you need manually and then logg off and log on again as user), and do another again, but I need the computer so badly to work NOW...
This is the other thread, I checked everything there already:
https://forums.gentoo.org/viewtopic-t-959044-highlight-hostname.html
Greetings... |
|
Back to top |
|
|
Pes88 Apprentice
Joined: 06 May 2009 Posts: 243
|
Posted: Fri Jun 07, 2013 7:48 pm Post subject: |
|
|
I read your previous post.
Are you sure all symbolik links are consistent? what s the output of rc-update show?
Second, if you are using wicd you should not have the net interface net.wlp3s0 since this is handled directly by the wicd daemon.
Chek this out : http://wiki.gentoo.org/wiki/Wicd
Quote: | I am on the point of throwing the install to the trash while crying (really, is really annoying having to enter as root and start everything that you need manually and then logg off and log on again as user), and do another again, but I need the computer so badly to work NOW... |
Before doing this, try to re-install openrc. _________________ Pygoscelis papua, chiamato Gentoo dagli abitanti delle isole Falkland/Malvinas, noto per essere il pinguino più veloce!!! XD |
|
Back to top |
|
|
wpkzz Tux's lil' helper
Joined: 28 Feb 2013 Posts: 80
|
Posted: Fri Jun 07, 2013 8:10 pm Post subject: Sort of works now... |
|
|
Hello Pes88:
Well, I spent the morning with a fellow gentooer, and we managed to get it to work... sort of.
Yeah, the symlinks were consistent, showing this with rc-update show:
Code: |
monstruona karel # rc-update show
acpid | default
alsasound | boot
bootmisc | boot
dbus | boot
devfs | sysinit
dmesg | sysinit
fsck | boot
hostname | boot
hwclock | boot
keymaps | boot
killprocs | shutdown
local | default
localmount | boot
modules | boot
mount-ro | shutdown
mtab | boot
net.lo | boot
net.sit0 | default
net.wlp3s0 | default
netmount | default
procfs | boot
root | boot
savecache | shutdown
swap | boot
swapfiles | boot
sysctl | boot
sysfs | sysinit
syslog-ng | default
termencoding | boot
tmpfiles.setup | boot
udev | sysinit
udev-mount | sysinit
urandom | boot
vixie-cron | default
|
The symlinks were:
Code: |
monstruona boot # ls -lah
total 8.0K
drwxr-xr-x 2 root root 4.0K Jun 6 21:43 .
drwxr-xr-x 6 root root 4.0K Apr 24 21:21 ..
lrwxrwxrwx 1 root root 21 May 9 20:25 alsasound -> /etc/init.d/alsasound
lrwxrwxrwx 1 root root 20 Apr 24 21:21 bootmisc -> /etc/init.d/bootmisc
lrwxrwxrwx 1 root root 16 May 26 18:07 dbus -> /etc/init.d/dbus
lrwxrwxrwx 1 root root 16 Apr 24 21:21 fsck -> /etc/init.d/fsck
lrwxrwxrwx 1 root root 20 Jun 6 21:43 hostname -> /etc/init.d/hostname
lrwxrwxrwx 1 root root 19 Apr 24 21:21 hwclock -> /etc/init.d/hwclock
lrwxrwxrwx 1 root root 19 Apr 24 21:21 keymaps -> /etc/init.d/keymaps
lrwxrwxrwx 1 root root 22 Apr 24 21:21 localmount -> /etc/init.d/localmount
etcetera...
|
Fishing around I saw a thread in an external forum suggesting to call rc-update with the full name path, namely
Code: |
Bla bla # /sbin/rc-update add service default
|
... and it worked.
I do not know why, but it solved the problem. It is very strange. Now, I am running a qcheck -a to watch for badly instaled filles. It seems that openrc has a problem, but I had it re-emerged only a few days ago (thanks to mv on the other thread!)
I still do not consider it solved, until I know what is going on. Thank for the support! |
|
Back to top |
|
|
Pes88 Apprentice
Joined: 06 May 2009 Posts: 243
|
Posted: Fri Jun 07, 2013 8:29 pm Post subject: |
|
|
Quote: |
Fishing around I saw a thread in an external forum suggesting to call rc-update with the full name path, namely
Codice:
Bla bla # /sbin/rc-update add service default
... and it worked.
I do not know why, but it solved the problem. It is very strange. Now, I am running a qcheck -a to watch for badly instaled filles. It seems that openrc has a problem, but I had it re-emerged only a few days ago (thanks to mv on the other thread!)
|
You are right, this is not an acceptable solution.
Unless you have two versions of the same application in different folders within the executable path, you call the same exactly application.
it s really weird.
Maybe when you call again the program (using the global path) you fix the symbolic links in all folders, default, boot, shutdown and sysint.
[/quote] _________________ Pygoscelis papua, chiamato Gentoo dagli abitanti delle isole Falkland/Malvinas, noto per essere il pinguino più veloce!!! XD |
|
Back to top |
|
|
Captain Newbie Apprentice
Joined: 22 Dec 2006 Posts: 182 Location: Socal
|
Posted: Tue Jun 11, 2013 12:15 am Post subject: |
|
|
If this is a fresh installation, an installation I performed this morning had something rotten with OpenRC that produced the same problem.
I would suggest:
_________________ /* Nobody will ever see this message */
panic("Cannot initialize video hardware\n");
"As much as it pains me, we hope that developers know what they're doing." - wolf31o2 |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|