Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] cant start ntpd, tor or privoxy
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 564
Location: Cracow, Poland

PostPosted: Mon Oct 31, 2011 2:19 pm    Post subject: [solved] cant start ntpd, tor or privoxy Reply with quote

I can't start some of services since I get:
Code:
meee ~ # /etc/init.d/ntp-client start
 * Caching service dependencies ...                                                                                   [ ok ]
 * WARNING: ntp-client is scheduled to start when net.wlan0 has started


But I wifi connection is up and working, I posting from my netbook right now. It strange:
Code:
meee ~ # rc-status default
Runlevel: default
 dbus                                                                                                          [  started  ]
 udev-postmount                                                                                                [  started  ]
 net.wlan0                                                                                                     [ inactive  ]
 hddtemp                                                                                                       [ scheduled ]
 ntp-client                                                                                                    [ scheduled ]
 nfsmount                                                                                                      [ scheduled ]
 netmount                                                                                                      [ scheduled ]
 gpm                                                                                                           [  started  ]
 xdm                                                                                                           [  crashed  ]
 uptimed                                                                                                       [  started  ]
 vixie-cron                                                                                                    [  started  ]
 lm_sensors                                                                                                    [  started  ]
 eee-control                                                                                                   [  started  ]
 fancontrol                                                                                                    [  started  ]
 microcode_ctl                                                                                                 [  started  ]
 local                                                                                                         [  started  ]

As you can see wlan0 is inactive (but is workingg), and rest is scheduled.

If I remove 'need net' form depand() section form scheduled services they are working.

How to solve it?


Last edited by emc on Tue Nov 01, 2011 5:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54232
Location: 56N 3W

PostPosted: Mon Oct 31, 2011 8:00 pm    Post subject: Reply with quote

emc,

In /etc/rc.conf read
Code:
# Do we allow any started service in the runlevel to satisfy the dependency
# or do we want all of them regardless of state? For example, if net.eth0
# and net.eth1 are in the default runlevel then with rc_depend_strict="NO"
# both will be started, but services that depend on 'net' will work if either
# one comes up. With rc_depend_strict="YES" we would require them both to
# come up.
#rc_depend_strict="YES"
then set rc_depend_strict="NO"
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
emc
Guru
Guru


Joined: 02 Jul 2004
Posts: 564
Location: Cracow, Poland

PostPosted: Tue Nov 01, 2011 5:17 pm    Post subject: Reply with quote

so simple, thx ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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