You are not logged in.

#1 2024-07-20 11:26:47

zarowsky
Member
Registered: 2024-02-16
Posts: 10

[Solved] Can't start reflector service

When i try:

# systemctl start reflector.service

i get:

# systemctl start reflector.service
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ====
Authentication is required to start 'reflector.service'.
Authenticating as: *****
Password:
==== AUTHENTICATION COMPLETE ====
Job for reflector.service failed because the control process exited with error code.
See "systemctl status reflector.service" and "journalctl -xeu reflector.service" for details.

status:

# systemctl status reflector.service
× reflector.service - Refresh Pacman mirrorlist with Reflector.
     Loaded: loaded (/usr/lib/systemd/system/reflector.service; disabled; preset: disabled)
     Active: failed (Result: exit-code) since Sat 2024-07-20 13:18:19 CEST; 3min 38s ago
 Invocation: 4abdbe1e255c4a2cb982dc6a1384eb82
TriggeredBy: ● reflector.timer
       Docs: https://wiki.archlinux.org/index.php/Reflector
    Process: 16135 ExecStart=/usr/bin/reflector @/etc/xdg/reflector/reflector.conf (code=exited, status=1/FAILURE)
   Main PID: 16135 (code=exited, status=1/FAILURE)

Jul 20 13:18:13 archlinux systemd[1]: Starting Refresh Pacman mirrorlist with Reflector....
Jul 20 13:18:19 archlinux reflector[16135]: error: failed to retrieve mirrorstatus data: TimeoutError: The read operation timed out
Jul 20 13:18:19 archlinux systemd[1]: reflector.service: Main process exited, code=exited, status=1/FAILURE
Jul 20 13:18:19 archlinux systemd[1]: reflector.service: Failed with result 'exit-code'.
Jul 20 13:18:19 archlinux systemd[1]: Failed to start Refresh Pacman mirrorlist with Reflector..

journal (last few lines, the rest is the same):

Jul 20 13:18:13 archlinux systemd[1]: Starting Refresh Pacman mirrorlist with Reflector....
░░ Subject: A start job for unit reflector.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit reflector.service has begun execution.
░░
░░ The job identifier is 3323.
Jul 20 13:18:19 archlinux reflector[16135]: error: failed to retrieve mirrorstatus data: TimeoutError: The read operation timed out
Jul 20 13:18:19 archlinux systemd[1]: reflector.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ An ExecStart= process belonging to unit reflector.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Jul 20 13:18:19 archlinux systemd[1]: reflector.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ The unit reflector.service has entered the 'failed' state with result 'exit-code'.
Jul 20 13:18:19 archlinux systemd[1]: Failed to start Refresh Pacman mirrorlist with Reflector..
░░ Subject: A start job for unit reflector.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit reflector.service has finished with a failure.
░░
░░ The job identifier is 3323 and the job result is failed.

How to fix it?

Last edited by zarowsky (2024-07-20 11:33:13)

Offline

#2 2024-07-20 11:31:23

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 702
Website

Re: [Solved] Can't start reflector service

Yes, as the error says the service did hit a timeout with Archweb (archlinux.org). The site is currently under heavy load since it's being DDoS'ed sad

Offline

#3 2024-07-20 11:32:54

zarowsky
Member
Registered: 2024-02-16
Posts: 10

Re: [Solved] Can't start reflector service

Ok, thank you

Offline

#4 2024-11-07 19:14:19

NadVic17
Member
Registered: 2020-07-03
Posts: 10

Re: [Solved] Can't start reflector service

Short software design question:
why should a single mirror being down make this mirror rating software run into a failure?
Why doesn't it just continue with its workflow over the other mirrors and then returns a rating for those?

I'm running into the same mistake and it doesn't seem to work, no matter what i do.
And sure, if every mirror would be under attack and down, then the list would be empty. In that case, i would expect reflector to just do nothing at all. But why does it depend on a single mirror that the software just doesn't work at all?

Offline

#5 2024-11-07 19:49:09

seth
Member
Registered: 2012-09-03
Posts: 59,045

Re: [Solved] Can't start reflector service

error: failed to retrieve mirrorstatus data

Because it's not a single mirror but the mirrorlist…

Offline

Board footer

Powered by FluxBB