Results 1 to 14 of 14

Thread: Network Time Synchronization fails

  1. #1
    Join Date
    2017-Feb
    Posts
    7

    Network Time Synchronization fails

    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.

  2. #2
    Join Date
    2017-Jan
    Posts
    2
    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.

  3. #3
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445

    Lightbulb Solution for systemd-timesyncd.service failing to start

    Code:
    sudo apt install libnss-systemd

  4. #4
    Join Date
    2017-Dec
    Posts
    5
    Anyone know how to fix this one?
    http://imgur.com/eH0UMrF
    http://imgur.com/dl2Q4iZ

  5. #5
    Join Date
    2018-Apr
    Posts
    3

    Works!

    Quote Originally Posted by re4son View Post
    Code:
    sudo apt install libnss-systemd
    Thanks, works!

  6. #6
    Join Date
    2018-Apr
    Posts
    1
    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.
    Last edited by jumpering; 2018-04-06 at 17:43. Reason: error typing

  7. #7
    Join Date
    2018-Apr
    Posts
    4
    Quote Originally Posted by jumpering View Post
    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).

  8. #8
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445
    It's a problem with systemd and a fix is on its way.

    As a workaround you can install libnss-systemd via:

    Code:
    sudo apt install libnss-systemd
    Hope that helps,
    re4son
    Last edited by re4son; 2018-04-20 at 01:15.

  9. #9
    Join Date
    2018-Apr
    Posts
    1
    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

  10. #10
    Join Date
    2018-Apr
    Posts
    1
    Quote Originally Posted by mosta8402 View Post
    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!

  11. #11
    Join Date
    2015-Nov
    Location
    Australia
    Posts
    445
    Odd, it's working fine for me:

    Code:
    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"?

  12. #12
    i just fixed this problem by running fsck in emergency mode and typing y to everithing it asks.

  13. #13
    Join Date
    2019-Mar
    Posts
    1
    I've been having this problem on Bochs (Kali Linux 32bit light) on setup. Any advise?

  14. #14
    Join Date
    2019-May
    Posts
    1

    This worcked

    Quote Originally Posted by peternovoselov View Post
    i just fixed this problem by running fsck in emergency mode and typing y to everithing it asks.
    Thanks this completely worked

Similar Threads

  1. Replies: 2
    Last Post: 2023-04-12, 02:23
  2. Time Synchronization Problems on MacBook Air
    By snapetom in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2021-04-04, 22:09
  3. Replies: 1
    Last Post: 2018-08-26, 01:56
  4. First time installation of Kali Linux On VM Fails with error code.
    By Obsidian in forum TroubleShooting Archive
    Replies: 5
    Last Post: 2016-12-10, 13:31

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •