LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-30-2024, 06:51 PM   #1
lostintime
Member
 
Registered: Dec 2021
Posts: 195

Rep: Reputation: Disabled
dhcpcd is not running


I am tinkering with a test 15.0 64-bit system. When I run the dhcpcd --dumplease command I receive a "dhcpcd is not running" result.

Running the command with strace seems to indicate dhcpcd is looking for two socket files:

/run/eth1.unpriv.sock
/run/unpriv.sock

Those files do not exist. The following files do exist:

/run/eth1-4.sock
/run/eth1-4.unpriv.sock

The system receives an IP address. A lease file exists in /var/lib/dhcpcd. No errors in /var/log/messages or the rc.inet1 debug stdout. There are four dhcpcd processes.

The dhcpcd does seem slow, often needing 10 seconds or more to obtain a lease but that does not seem related to the differently named socket files that cause the dumplease failure.

Any ideas?

Thanks.
 
Old 03-31-2024, 01:01 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,363

Rep: Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335Reputation: 2335
On current I get the same "dhcpcd is not running" output, when dhcpcd is. The --dumplease command is weird. My /run has
/run/wlan0.sock
/run/wlan0.unpriv.sock

And I have 7 processes running. Version is dhcpcd-10.0.6. I only fire up strace when I have to poke a dev for solutions, as I'm not one myself.
 
  


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
DDclient slack13 dhcpcd.sh vs dhcpcd.eth0.exe question nl1at Slackware 3 10-27-2010 01:51 PM
dhcpcd wireless problems. dhcpcd wlan0 removes essid entry in iwconfig. Romanus81 Slackware 3 08-25-2008 10:34 PM
"**** /sbin/dhcpcd: not running" messages on shutdown/reboot Nylex Slackware 2 01-22-2006 09:12 AM
/sbin/dhcpcd: not running - Slackware 10 jtp51 Slackware 6 10-14-2004 12:40 PM
dhcpcd running b4 pcmcia stuff... hecresper Slackware 4 12-09-2002 07:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:27 PM.

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