PDA

View Full Version : Network Time Synchronization fails



alacos
2018-02-06, 04:48
I have installed the 2018-W06 weekly build (for amd64) of Kali, and when I start it up it gives error messages saying that "Network Time Synchronization" has failed to start.

I have made a bug report about this. But actually I'm not quite sure that I understand exactly what "Network Time Synchronization" is or (more importantly) why I should need it. What adverse effects (if any), for the purposes of Kali use, might result from my not having it?

Apologies for my ignorance. I have tried to research this matter online, but can find nothing specifically Kali-related which explains whether Network Time Synchronization is important --- and if so, why.

tanujboy
2018-02-11, 13:32
Same problem here. Somebody please help. I'm on Kali 2018.1. Here's the output of the command systemctl status systemd-timesyncd:


● systemd-timesyncd.service - Network Time Synchronization
Loaded: loaded (/lib/systemd/system/systemd-timesyncd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2018-02-11 18:46:39 IST; 12min ago
Docs: man:systemd-timesyncd.service(8)
Process: 2310 ExecStart=/lib/systemd/systemd-timesyncd (code=exited, status=1/FAILURE)
Main PID: 2310 (code=exited, status=1/FAILURE)
Status: "Shutting down..."

Feb 11 18:46:39 kali systemd[1]: systemd-timesyncd.service: Service has no hold-off time, scheduling restart.
Feb 11 18:46:39 kali systemd[1]: systemd-timesyncd.service: Scheduled restart job, restart counter is at 5.
Feb 11 18:46:39 kali systemd[1]: Stopped Network Time Synchronization.
Feb 11 18:46:39 kali systemd[1]: systemd-timesyncd.service: Start request repeated too quickly.
Feb 11 18:46:39 kali systemd[1]: systemd-timesyncd.service: Failed with result 'exit-code'.
Feb 11 18:46:39 kali systemd[1]: Failed to start Network Time Synchronization.

Been facing this issue for a while, somebody please help.

@alacos Please give me the link of the bug report.

re4son
2018-02-11, 22:51
sudo apt install libnss-systemd

stellarix
2018-02-16, 06:49
Anyone know how to fix this one?
http://imgur.com/eH0UMrF
http://imgur.com/dl2Q4iZ

hankovg
2018-04-05, 19:05
sudo apt install libnss-systemd

Thanks, works!:)

jumpering
2018-04-06, 13:18
How I can acces to console for use the solution? I got and error in boot time (even on recovery mode I got a loop saying 'failed network time synchronization'), and I can't get command line to use the solution (install a libnss-systemd). Thanks in advance.

XP1
2018-04-19, 01:28
How I can acces to console for use the solution? I got and error in boot time (even on recovery mode I got a loop saying 'failed network time synchronization'), and I can't get command line to use the solution (install a libnss-systemd). Thanks in advance.Same here. Stuck on boot. Using the ARM version of Kali Linux for Raspberry Pi 1 w/TFT 2018.1 (4ecc2b57642e81d5f9f5c74d91a473232f59c69f763abae56 97224e7cade017e).

re4son
2018-04-19, 23:52
It's a problem with systemd and a fix is on its way (https://bugs.kali.org/view.php?id=4535).

As a workaround you can install libnss-systemd via:


sudo apt install libnss-systemd

Hope that helps,
re4son

mosta8402
2018-04-28, 02:13
Hi this package doesnt seem to work at all





~# sudo apt install libnss-systemd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libnss-systemd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libnss-systemd' has no installation candidate

creepy
2018-04-28, 10:12
Hi this package doesnt seem to work at all





~# sudo apt install libnss-systemd
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libnss-systemd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libnss-systemd' has no installation candidate

Same problem. Help!

re4son
2018-04-29, 02:43
Odd, it's working fine for me:


root@kali:~# apt update
Hit:1 http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
956 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@kali:~# apt-cache search libnss-systemd
libnss-systemd - nss module providing dynamic user and group name resolution
root@kali:~# apt install libnss-systemd
Reading package lists... Done
Building dependency tree
Reading state information... Done
.
.
.
Setting up libnss-systemd:amd64 (238-4) ...
First installation detected...
Checking NSS setup...
Setting up libpam-systemd:amd64 (238-4) ...
Setting up locales-all (2.27-3) ...
Processing triggers for libc-bin (2.27-3) ...
root@kali:~#

Have you run "apt update" first?
What's your architecture and the content of your "/etc/apt/sources.list"?

peternovoselov
2019-02-07, 10:09
i just fixed this problem by running fsck in emergency mode and typing y to everithing it asks.

N3mo
2019-03-11, 17:31
I've been having this problem on Bochs (Kali Linux 32bit light) on setup. Any advise?

matth2504
2019-05-28, 10:43
i just fixed this problem by running fsck in emergency mode and typing y to everithing it asks.
Thanks this completely worked