Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sevral errors on boot time [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
lazeros
n00b
n00b


Joined: 17 Sep 2005
Posts: 14

PostPosted: Sat Sep 17, 2005 9:16 pm    Post subject: sevral errors on boot time [solved] Reply with quote

hello im new to gentoo in particular but an avid ppc user.

i just installed gentoo 2005.1 on my emac 1.25 GHZ and encontered several errors in the init stage in the cron demon (vixie-cron) and the dhcp demon. and the system logger witch made them fail to start on boot time for no explaind reason (sorry i cant supply the exact errors right now),
i remember i encounterd similar errors a few years back on gentoo 1.4 on x86 so i sepose the problem is of my making, i think it might be ralted to my USE flags on make.conf but any guees is as good as mine

sorry for the bad english
_________________
umount /dev/vodka && eject /dev/stumach


Last edited by lazeros on Wed Sep 21, 2005 7:11 am; edited 2 times in total
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sat Sep 17, 2005 9:35 pm    Post subject: Reply with quote

Without the exact errors, it's hard to help you, but I'd guess that you didn't emerge a dhcp client (dhcpcd is a popular one) or a system logger (I use syslog-ng).

If you can get the actual errors, please post them and we'll help you out.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
lazeros
n00b
n00b


Joined: 17 Sep 2005
Posts: 14

PostPosted: Sat Sep 17, 2005 9:46 pm    Post subject: Reply with quote

JoseJX wrote:
Without the exact errors, it's hard to help you, but I'd guess that you didn't emerge a dhcp client (dhcpcd is a popular one) or a system logger (I use syslog-ng).


i did emerged them both ( i to use syslog-ng and dhcpcd), and the cron deamon to,or alse they would print errors... (and added them to the default run-level via rc-update)

i will post the exact errors in the morning but the common thame for for all the "problematic" software is thet i compiled them myself in the installation (i installed the the system from stage 3)
_________________
umount /dev/vodka && eject /dev/stumach
Back to top
View user's profile Send private message
lazeros
n00b
n00b


Joined: 17 Sep 2005
Posts: 14

PostPosted: Sun Sep 18, 2005 3:35 pm    Post subject: Reply with quote

hare are the errors:

Code:
Failed to set system clock to hardware clock
Failed to start /etc/init.d/clock


Code:
Failed to start syslog-ng


Code:
ERROR: Problem starting needed services.
"netmount was not started


for the record: i did setup /etc/init.d/clock to local time witch is set in /etc/localtime

with syslog-ng i only emerged it from the cd resources and added it to the default run level.

i dont recall seting up any remote file system in this installtion or even defained another computer on the network...
_________________
umount /dev/vodka && eject /dev/stumach
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Sep 18, 2005 3:43 pm    Post subject: Reply with quote

There have to be additional errors, but let's see what we can do:

1. For the hwclock, make sure you have these set in your kernel configuration:
CONFIG_GEN_RTC=y
CONFIG_GEN_RTC_X=y
2. Syslog-ng depends on the clock, so fixing the above may fix your issue.
3. netmount is started by default as part of the init system, I'm not sure why it's not starting, but perhaps check your fstab to make sure you don't have any potential netmounts. It only depends on net, so make sure net.lo is starting.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
lazeros
n00b
n00b


Joined: 17 Sep 2005
Posts: 14

PostPosted: Sun Sep 18, 2005 4:56 pm    Post subject: Reply with quote

well, i enabled rtc sepport in the kernel and it did solved the /etc/conf.d/clock problem, but syslog-ng and netmount still fail.

syslog-ng failes with a diffrent print this time:

Code:
starting syslog-ng
Error initializing configuration, exiting.
Failed to start syslog-ng

_________________
umount /dev/vodka && eject /dev/stumach
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Sep 18, 2005 5:10 pm    Post subject: Reply with quote

It looks like your syslog-ng configuration is bad. Have you run etc-update? Check it over and make sure that it's configured correctly.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
lazeros
n00b
n00b


Joined: 17 Sep 2005
Posts: 14

PostPosted: Sun Sep 18, 2005 5:26 pm    Post subject: Reply with quote

JoseJX wrote:
It looks like your syslog-ng configuration is bad. Have you run etc-update? Check it over and make sure that it's configured correctly.


im new to gentoo, the "etc-update" is not mation in the installtion handbook, when should i had to use it?
and, is thare anything i can do now?
_________________
umount /dev/vodka && eject /dev/stumach
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Sep 18, 2005 5:33 pm    Post subject: Reply with quote

You should use etc-update or dispatch-conf to maintain your configuration files. Portage will not overwrite important files unless you tell it to so such a tool is necesary to maintain your system. dispatch-conf is probably the better choice for you, since it makes backups. I'm not sure why your syslog-ng is failing, but you should check its configuration file to make sure that nothing invalid is in there.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
lazeros
n00b
n00b


Joined: 17 Sep 2005
Posts: 14

PostPosted: Sun Sep 18, 2005 5:43 pm    Post subject: Reply with quote

well i did like you said with the following output:

Code:
etc-update syslog-ng
scanning configuration files...
exiting: nothing left to do; exiting. :)


dfispatch-conf didnt mde any output att all.

syslog-ng problem persisits after reboot...
_________________
umount /dev/vodka && eject /dev/stumach
Back to top
View user's profile Send private message
lazeros
n00b
n00b


Joined: 17 Sep 2005
Posts: 14

PostPosted: Sun Sep 18, 2005 6:09 pm    Post subject: Reply with quote

i also noticed a new problem, it seems my network ( both wan and lan) is unreachable, even if the init printing says that device eth0 is online via dhcp (my network card driver: sun gem is build into the kernel)
_________________
umount /dev/vodka && eject /dev/stumach
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
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