You are not logged in.

#1 2018-02-08 10:24:35

rafaelmj
Member
Registered: 2017-08-29
Posts: 15

[SOLVED] dhcpcd does not start with the system

systemctl status dhcpcd.service   
● dhcpcd.service - dhcpcd on all interfaces
   Loaded: loaded (/usr/lib/systemd/system/dhcpcd.service; enabled; vendor preset: disabled)
   Active: failed (Result: timeout) since Thu 2018-02-08 07:01:07 -03; 10min ago
  Process: 2096 ExecStart=/usr/bin/dhcpcd -q -b (code=exited, status=0/SUCCESS)

fev 08 06:59:37 arch dhcpcd[2097]: enp3s0: rebinding lease of 192.168.25.129
fev 08 06:59:37 arch dhcpcd[2097]: enp3s0: leased 102.xxx.xx.xxx for 86400 seconds
fev 08 06:59:37 arch dhcpcd[2097]: enp3s0: changing route to 102.xxx.xx.0/24
fev 08 06:59:37 arch dhcpcd[2097]: enp3s0: changing default route via 102.xxx.xx.1
fev 08 07:01:06 arch systemd[1]: dhcpcd.service: Start operation timed out. Terminating.
fev 08 07:01:06 arch dhcpcd[2097]: received SIGTERM, stopping
fev 08 07:01:06 arch dhcpcd[2097]: enp3s0: removing interface
fev 08 07:01:07 arch dhcpcd[2097]: dhcpcd exited
fev 08 07:01:07 arch systemd[1]: dhcpcd.service: Failed with result 'timeout'.
fev 08 07:01:07 arch systemd[1]: Failed to start dhcpcd on all interfaces.

the same error in postgresql

systemctl status postgresql.service             
● postgresql.service - PostgreSQL database server
   Loaded: loaded (/usr/lib/systemd/system/postgresql.service; enabled; vendor preset: disabled)
   Active: failed (Result: timeout) since Thu 2018-02-08 06:37:49 -03; 33min ago
  Process: 7133 ExecStart=/usr/bin/pg_ctl -s -D ${PGROOT}/data start -w -t 120 (code=exited, status=0/SUCCESS)
  Process: 7127 ExecStartPre=/usr/bin/postgresql-check-db-dir ${PGROOT}/data (code=exited, status=0/SUCCESS)

fev 08 06:35:51 arch postgres[7133]: 2018-02-08 06:35:51.751 -03 [7137] LOG:  database system was shut down at 2018-02-07 10:16
fev 08 06:35:52 arch postgres[7133]: 2018-02-08 06:35:52.054 -03 [7136] LOG:  database system is ready to accept connections
fev 08 06:35:52 arch systemd[1]: postgresql.service: Permission denied while opening PID file or unsafe symlink chain: /var/lib
fev 08 06:37:49 arch systemd[1]: postgresql.service: Start operation timed out. Terminating.
fev 08 06:37:49 arch postgres[7133]: 2018-02-08 06:37:49.489 -03 [7136] LOG:  received smart shutdown request
fev 08 06:37:49 arch postgres[7133]: 2018-02-08 06:37:49.533 -03 [7136] LOG:  worker process: logical replication launcher (PID
fev 08 06:37:49 arch postgres[7133]: 2018-02-08 06:37:49.533 -03 [7138] LOG:  shutting down
fev 08 06:37:49 arch postgres[7133]: 2018-02-08 06:37:49.806 -03 [7136] LOG:  database system is shut down
fev 08 06:37:49 arch systemd[1]: postgresql.service: Failed with result 'timeout'.
fev 08 06:37:49 arch systemd[1]: Failed to start PostgreSQL database server.

obs: internet working ok

Last edited by rafaelmj (2018-02-12 11:47:30)

Offline

#2 2018-02-08 11:17:33

philo
Member
Registered: 2015-01-26
Posts: 275

Re: [SOLVED] dhcpcd does not start with the system

https://wiki.archlinux.org/index.php/Co … s_and_code

and

https://wiki.archlinux.org/index.php/Ne … figuration

and other helpful wikis which are worth reading.

Last edited by philo (2018-02-08 11:42:31)

Offline

#3 2018-02-08 15:30:24

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,722

Re: [SOLVED] dhcpcd does not start with the system

What are the output of ip addr and of find /etc/systems  ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2018-02-09 06:48:47

omegauser
Member
Registered: 2018-02-09
Posts: 2

Re: [SOLVED] dhcpcd does not start with the system

To enable dhcpcd and postgresql on boot, issue:
systemctl enable dhcpcd.service
systemctl enable postgresql.service

Offline

#5 2018-02-09 06:54:39

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,721
Website

Re: [SOLVED] dhcpcd does not start with the system

omegauser, read the systemctl output. The services are already enabled, that isn't OPs problem.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#6 2018-02-09 08:00:52

shera10001
Member
Registered: 2018-01-23
Posts: 34

Re: [SOLVED] dhcpcd does not start with the system

Have you disabled them and tried enabling them and rebooting again? For some reason (unrealated) my modem was detected by NetworkManager, and ModemManager, when I disabled and then enabled them again. That solved my problem, so it does work with services sometimes. See if it happens in your case too.

Offline

#7 2018-02-09 08:48:11

robg
Member
Registered: 2015-03-05
Posts: 225

Re: [SOLVED] dhcpcd does not start with the system

Do you have other network-related services running? Please post the output of `systemctl list-unit-files --state=enabled`.

Offline

#8 2018-02-09 19:46:19

bernardflach
Member
Registered: 2018-02-09
Posts: 2

Re: [SOLVED] dhcpcd does not start with the system

i have the same problem and i narrowed it down to the upgrade of systemd to 237.
If you keep the old one (systemd <237), the problem is not there

Last edited by bernardflach (2018-02-09 19:46:56)

Offline

#9 2018-02-10 08:11:55

sulaweyo
Member
From: Austria
Registered: 2013-07-08
Posts: 24

Re: [SOLVED] dhcpcd does not start with the system

There already is a fix in systemd upstream: https://github.com/systemd/systemd/issues/8085
Until that is out stay on 236

Offline

#10 2018-02-10 11:41:27

bernardflach
Member
Registered: 2018-02-09
Posts: 2

Re: [SOLVED] dhcpcd does not start with the system

Great. Thanks for the heads up

Offline

#11 2018-02-12 11:46:12

rafaelmj
Member
Registered: 2017-08-29
Posts: 15

Re: [SOLVED] dhcpcd does not start with the system

Thank you all! There was an update and fixed!

Offline

Board footer

Powered by FluxBB