You are not logged in.
hello
i was trying to backup my root partition to an external harddisk yesterday. i did a dry run and everything ran fine. i stopped the actual run as the system was copying numerous files from cache, and i had not figured out how to exclude the cache files.
the shutdown process was normal but today when i rebooted the system, i encountered various errors, including the laptop battery being undetected
sudo systemctl status connman.service log
Unit log.service could not be found.
â— connman.service - Connection service
Loaded: loaded (/usr/lib/systemd/system/connman.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2020-10-20 11:49:25 +07; 4min 37s ago
Process: 676 ExecStart=/usr/bin/connmand -n (code=exited, status=127)
Main PID: 676 (code=exited, status=127)
Oct 20 11:49:25 archlinux systemd[1]: connman.service: Service RestartSec=100ms expired, scheduling restart.
Oct 20 11:49:25 archlinux systemd[1]: connman.service: Scheduled restart job, restart counter is at 5.
Oct 20 11:49:25 archlinux systemd[1]: Stopped Connection service.
Oct 20 11:49:25 archlinux systemd[1]: connman.service: Start request repeated too quickly.
Oct 20 11:49:25 archlinux systemd[1]: connman.service: Failed with result 'exit-code'.
Oct 20 11:49:25 archlinux systemd[1]: Failed to start Connection service.systemctl status systemd-resolved.service
â— systemd-resolved.service - Network Name Resolution
Loaded: loaded (/usr/lib/systemd/system/systemd-resolved.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2020-10-20 12:11:50 +07; 3min 11s ago
Docs: man:systemd-resolved.service(8)
https://www.freedesktop.org/wiki/Software/systemd/resolved
https://www.freedesktop.org/wiki/Software/systemd/writing-network-configuration-managers
https://www.freedesktop.org/wiki/Software/systemd/writing-resolver-clients
Process: 676 ExecStart=/usr/lib/systemd/systemd-resolved (code=exited, status=127)
Main PID: 676 (code=exited, status=127)
Oct 20 12:11:50 archlinux systemd[1]: systemd-resolved.service: Service has no hold-off time (RestartSec=0), s>
Oct 20 12:11:50 archlinux systemd[1]: systemd-resolved.service: Scheduled restart job, restart counter is at 5.
Oct 20 12:11:50 archlinux systemd[1]: Stopped Network Name Resolution.
Oct 20 12:11:50 archlinux systemd[1]: systemd-resolved.service: Start request repeated too quickly.
Oct 20 12:11:50 archlinux systemd[1]: systemd-resolved.service: Failed with result 'exit-code'.
Oct 20 12:11:50 archlinux systemd[1]: Failed to start Network Name Resolution.
lines 1-16/16 (END)journal -xn log
bash: journal: command not foundsystemctl --type=service output
Unknown operation output.thanks for any help
Last edited by lenovolobo933 (2020-11-28 14:07:00)
Offline
What was the actual rsync command used? As long as it was actually only writing to the external drive, there is no way that it could be responsible for these symptoms and is likely just a coincidence.
Note, there is no command "journal", you were looking for journalctl.
And I gather your systemctl command included the word "output" at the end as that will generate an error, though slightly different from the one you posted; are you manually translating output from another locale / language? EDIT: I suppose a different version of systemd might be a better explanation for the difference in the error message - is your system up to date?
Overall, please be sure to post the commands and output exactly as entered.
Last edited by Trilby (2020-10-20 13:38:08)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
hello sorry for the late reply
What was the actual rsync command used?
sudo rsync --dry-run -aAHXv / /mnt --exclude={"/home/*/.cache/moonchild productions/*","/home/*/.thumbnails/*","/home/*/.local/share/Trash/*","/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} | head --lines=-3 | tail --lines=+3 > include.txt
sudo rsync --include-from=include.txt -aAHXv / /mnt –exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"}
sudo rsync --include-from=include.txt -aAHXv / /mnt –exclude={"/home/*/.cache/moonchild productions/*","/home/*/.thumbnails/*","/home/*/.local/share/Trash/*","/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"}the first command ran successfully
the second command was in the midst of running when i noticed it seemed to be copying an endless number of cache files from the palemoon browser(i was browsing the web at the time of the backup)
the third command i modified many times in order to exclude the cache folders, but was not successful. each time it showed something like "/home/lenovo/var change directory failed". basically all the /var, /run, /proc
is your system up to date?
no. i was trying to backup the system first before running a full update. what would be the easiest way now to establish an internet connection with my phone so that i can run the update first before coming back for more advice?, if some problems still persist after the update
thanks
Offline
I don't believe those rsync commands could be causally related to your symptoms. So the next step depends on a clear description of your symptoms - several of the diagnostic commands in your first post errored out because you typed them incorrectly, so we don't really know what's going on other than apparently not having a network connection. I can't really help with connman, but if that's the primary problem, you should edit your first post to change your title to that to attract attention from those who can help with it.
It looks like the connman errors are the same as those you posted a year ago. I assume you resolved the problems since then, right? What was the solution then?
Posting an actual journalctl output and list of enabled services would be helpful.
Last edited by Trilby (2020-10-21 15:05:58)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
thanks for the advice
i will get the system updated first
Offline
i was able to execute the command after installing archlinux to a different partition and dropping the argument
--include-from=include.txtOffline