LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-17-2011, 11:57 AM   #1
abdulsherif
LQ Newbie
 
Registered: Oct 2011
Posts: 1

Rep: Reputation: Disabled
dhcpv6 ; dhcp6s dead but subsys locked


I am trying to start dhcpv6 but after I service dhcp6s start, the daemon seems started but the status show dhcp6s dead but subsys locked, how can i fix this problem? I am running trixbox\centos 2.6.18-164.11.1.el5.




trixbox1.localdomain etc]# vi dhcp6s.conf
#
# See dhcp6s.conf(5) man page for details.
#

interface eth0 {
server-preference 255;
renew-time 60;
rebind-time 90;
prefer-life-time 130;
valid-life-time 200;
authoritative;
allow rapid-commit;
# option dns_servers 2000::2 ibm.com;
# link AAA {
subnet6 2001:db8:0:f101::/64 {
#option routers 2001:db8:0:f101::1;
range6 2001:db8:0:f101::1000 to 2001:db8:0:f101::1fff;
#prefix 2001:db8:0:f101::/64;
};

#};

# link AAA {
# pool{
# range 3ffe:501:ffff:0::1 to 3ffe:501:ffff:0::10/64;
# prefix 3ffe:501:ffff:0001::/48;
# };
#
# #range 3ffe:501:ffff:1::1 to 3ffe:501:ffff:1::10/64;
# };
#
# host BBB {
# duid 00:01:00:01:05:c8:8c:7e:00:10:a4:8d:30:7f;
#
# iaidinfo {
# iaid 8335501;
# renew-time 30;
# rebind-time 40;
# };
#
# prefix {
# fecc::/24;
# prefer-life-time 90;
# valid-life-time 120;
# };
#
# prefix {
# 3000::/64;
# prefer-life-time 100;
# valid-life-time 120;
# };
#
# address {
# fecc::1/34;
# prefer-life-time 60;
# valid-life-time 90;
# };
# };
#};
###################################################################

[trixbox1.localdomain etc]# vi dhcp6c.conf
#
# See dhcp6c.conf(5) man page for details.
#

interface eth0 {
# #information-only;
send rapid-commit;
request prefix-delegation;
# #request temp-address;
};
 
Old 10-18-2011, 02:29 AM   #2
jimbo1954
Member
 
Registered: Oct 2006
Location: High Wycombe, Bucks, UK.
Distribution: Debian and Fedora Core in equal measure
Posts: 264

Rep: Reputation: 33
Look at the two areas /var/run/*.pid and /var/lock/subsys/*
What has happened there (I think!?) is that the daemon started, then crashed. Because it crashed, the daemon didn't clean up the PID file, so when you try to restart the Daemon, it finds a PID file already present, and refuses to start because its locked. If you can find the PID file and delete it, the daemon should restart OK.

As for why it crashed...have a look at your .conf file...It has 2 x { and only 1 x } in the Eth0 declaration....There may be other things wrong, but I'd start there

Hope this helps
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
devmon dead but subsys locked keyboard1973 Linux - Newbie 2 05-24-2009 01:36 PM
radiusd dead but subsys locked i_nomad Linux - Server 3 10-20-2008 02:08 AM
ypserv dead but subsys locked chandra_sekhar_n Linux - General 3 08-11-2008 09:20 AM
vsftpd dead but subsys locked subhalinux Linux - General 1 08-08-2007 03:37 AM
crond dead but subsys locked dpirvulescu Linux - Software 9 04-23-2005 09:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration