View previous topic :: View next topic |
Author |
Message |
euphi2 n00b

Joined: 25 Aug 2004 Posts: 60
|
Posted: Wed Oct 12, 2005 10:19 am Post subject: [SOLVED (workaround)] localhost unreachable during boot |
|
|
I have a really strange problem:
My localhost is not reachable during boot. Services like cupds starts and bind to localhost, but other service cannot reach them (e.g. samba (smbd) tries to connect to cups on localhost:631).
If I using interactive boot and exit to a shell, I also cannot reach localhost. There is no answer, not even a RST ("Connection Refused").
This is extremely annoying as booting now takes up to 10 minutes with all the services (samba, nfs, mysql) waiting until a timeout occurs.
When booting finishes, everything gets alright, localhost IS reachable then...?!?!
WTF?,
Euphi
Last edited by euphi2 on Thu Oct 13, 2005 2:27 pm; edited 1 time in total |
|
Back to top |
|
 |
chrbecke Guru


Joined: 12 Jul 2004 Posts: 598 Location: Berlin - Germany
|
Posted: Wed Oct 12, 2005 10:38 am Post subject: |
|
|
Is the service net.lo in your boot runlevel? You can make sure with (as root) |
|
Back to top |
|
 |
euphi2 n00b

Joined: 25 Aug 2004 Posts: 60
|
Posted: Wed Oct 12, 2005 10:57 am Post subject: |
|
|
chrbecke wrote: | Is the service net.lo in your boot runlevel? You can make sure with (as root) |
Yes, it is. |
|
Back to top |
|
 |
Rizzi n00b

Joined: 14 Jan 2005 Posts: 56
|
Posted: Wed Oct 12, 2005 11:04 am Post subject: |
|
|
i have the same problem
this services don't start @ boottime
samba, vmware, cupsd, portmap, famd, idmapd, nfs, nfsmount, netmount ,ntpd, vixie-cron & local
if i skip the services in interactive boot mode and start them from hand there are no problems :/
Rizzi |
|
Back to top |
|
 |
chrbecke Guru


Joined: 12 Jul 2004 Posts: 598 Location: Berlin - Germany
|
Posted: Wed Oct 12, 2005 11:43 am Post subject: |
|
|
Have you tried running |
|
Back to top |
|
 |
TheX Guru


Joined: 31 Jul 2004 Posts: 349 Location: .de
|
|
Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
 |
euphi2 n00b

Joined: 25 Aug 2004 Posts: 60
|
Posted: Wed Oct 12, 2005 1:17 pm Post subject: |
|
|
UberLord wrote: | @euphi2 baselayout-1.11 has an ordering issue which we cannot easily backport from the much improved 1.12 branch (currently ~ARCH)
Care testing 1.12 to see if it works? (latest is baselayout-1.12.0_pre9-r1) |
I'm using ~x86 so baselayout 1.12 is already installed. |
|
Back to top |
|
 |
Dizzutch Guru


Joined: 09 Nov 2004 Posts: 463 Location: Worcester, MA
|
Posted: Wed Oct 12, 2005 1:27 pm Post subject: |
|
|
what's in your /etc/networks |
|
Back to top |
|
 |
Rizzi n00b

Joined: 14 Jan 2005 Posts: 56
|
Posted: Wed Oct 12, 2005 1:59 pm Post subject: |
|
|
/etc/networks
Code: |
# /etc/networks
#
# This file describes a number of netname-to-adress
# mappings for the TCP/IP subsytem. It is mostly
# used at boot time, when no name servers are running.
#
loopback 127.0.0.1
|
|
|
Back to top |
|
 |
MrUlterior Guru

Joined: 22 Mar 2005 Posts: 511 Location: Switzerland
|
Posted: Wed Oct 12, 2005 2:13 pm Post subject: |
|
|
Make sure your IPTABLES rules have a default policy of ACCEPT for both your INPUT and OUTPUT chains during boot for the device "lo". _________________
Misanthropy 2.0 - enough hate to go around
|
|
Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Wed Oct 12, 2005 2:34 pm Post subject: |
|
|
euphi2 wrote: | UberLord wrote: | @euphi2 baselayout-1.11 has an ordering issue which we cannot easily backport from the much improved 1.12 branch (currently ~ARCH)
Care testing 1.12 to see if it works? (latest is baselayout-1.12.0_pre9-r1) |
I'm using ~x86 so baselayout 1.12 is already installed. |
https://bugs.gentoo.org/show_bug.cgi?id=104394
Basically, try setting RC_PARALLEL_STARTUP="yes" in /etc/conf.d/rc as that's been reported to fix it.
I'm at a total loss as to why this happens - and even with some users entire /etc folder on my machines I cannot replicate the issue
BTW, this is the last big stopper before we can consider making 1.12.0 stable, so if anyone comes up with a fix that isn't enabling parallel startup then let me know! _________________ Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool |
|
Back to top |
|
 |
Dizzutch Guru


Joined: 09 Nov 2004 Posts: 463 Location: Worcester, MA
|
Posted: Wed Oct 12, 2005 3:19 pm Post subject: |
|
|
Rizzi wrote: | /etc/networks
Code: |
# /etc/networks
#
# This file describes a number of netname-to-adress
# mappings for the TCP/IP subsytem. It is mostly
# used at boot time, when no name servers are running.
#
loopback 127.0.0.1
|
|
/etc/networks on my my three machines say:
it's setting up the network, not just the host.
don't know if this is the sole cause of your problem, but worth looking into.
-Dizz |
|
Back to top |
|
 |
euphi2 n00b

Joined: 25 Aug 2004 Posts: 60
|
Posted: Thu Oct 13, 2005 2:26 pm Post subject: |
|
|
UberLord wrote: | euphi2 wrote: | UberLord wrote: | @euphi2 baselayout-1.11 has an ordering issue which we cannot easily backport from the much improved 1.12 branch (currently ~ARCH)
Care testing 1.12 to see if it works? (latest is baselayout-1.12.0_pre9-r1) |
I'm using ~x86 so baselayout 1.12 is already installed. |
https://bugs.gentoo.org/show_bug.cgi?id=104394
Basically, try setting RC_PARALLEL_STARTUP="yes" in /etc/conf.d/rc as that's been reported to fix it.
I'm at a total loss as to why this happens - and even with some users entire /etc folder on my machines I cannot replicate the issue
BTW, this is the last big stopper before we can consider making 1.12.0 stable, so if anyone comes up with a fix that isn't enabling parallel startup then let me know! |
Ok, with RC_PARALLEL_STARTUP everything works fine
Uh.. almost everything, a init-skript that expects user-input (a passphrase to mount a dm-crypt partition), doesn't work with parallel startup. Is there any way to let this script prompt for user input? |
|
Back to top |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Thu Oct 13, 2005 3:08 pm Post subject: |
|
|
euphi2 wrote: |
Ok, with RC_PARALLEL_STARTUP everything works fine
Uh.. almost everything, a init-skript that expects user-input (a passphrase to mount a dm-crypt partition), doesn't work with parallel startup. Is there any way to let this script prompt for user input? |
We are aware of that - it's not parallel startup that causes that, but our new interactive boot process as both are fighting for the keyboard. _________________ Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool |
|
Back to top |
|
 |
|