Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

<SOLVED> funny error with timedatectl

Started by kanliot, March 21, 2019, 08:16:33 PM

Previous topic - Next topic

kanliot

trying to run this command:  timedatectl status as root.  It's the systemd service for network time.
I'm getting an error on "sparkylinux-rolling"
please confirm this?

lami07

#1
Works fine for me. Why do you run it as root? What the error message say ?
Quote from: forum rulesWhen an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread
Want to chat? Join #sparkylinux at [url="//irc.freenode.net"]irc.freenode.net[/url]

kanliot

Thank you for the reply, Lami07

$ timedatectl status
Failed to query server: Unit -.mount is masked.


reading https://askubuntu.com/questions/710420/why-are-some-systemd-services-in-the-masked-state, i looked for masked services:

# systemctl list-unit-files --state=masked
UNIT FILE                    STATE
alsa-utils.service           masked
bootlogd.service             masked
bootlogs.service             masked
bootmisc.service             masked
brightness.service           masked
checkfs.service              masked
checkroot-bootclean.service  masked
checkroot.service            masked
cryptdisks-early.service     masked
cryptdisks.service           masked
halt.service                 masked
hostname.service             masked
hwclock.service              masked
killprocs.service            masked
lvm2.service                 masked
motd.service                 masked
mountall-bootclean.service   masked
mountall.service             masked
mountdevsubfs.service        masked
mountkernfs.service          masked
mountnfs-bootclean.service   masked
mountnfs.service             masked
nfs-common.service           masked
ntp.service                  masked
rc.local.service             masked
rc.service                   masked
rcS.service                  masked
reboot.service               masked
rmnologin.service            masked
saned.service                masked
screen-cleanup.service       masked
sendsigs.service             masked
single.service               masked
stop-bootlogd-single.service masked
stop-bootlogd.service        masked
sudo.service                 masked
umountfs.service             masked
umountnfs.service            masked
umountroot.service           masked
urandom.service              masked
x11-common.service           masked


lami07

#3
And what does the systemctl list-units say ?
Quote from: forum rulesWhen an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread
Want to chat? Join #sparkylinux at [url="//irc.freenode.net"]irc.freenode.net[/url]

kanliot

https://paste.ubuntu.com/p/P4DV7r6XCw/

reading that i see
systemd-timesyncd.service      loaded active running   Network Time Synchronization                                                           
  user-runtime-dir@1000.service              loaded active exited    User Runtime Directory /run/user/1000                                                   
  time-sync.target               loaded active active    System Time Synchronized                                                               
 


I hate to bring this up, but do you have a GTK-2 theme that fixes firefox?  I literally can't see form field boxes.  The borders are white on white for some reason.

kanliot

I just retested my problem:

timedatectl status


Working normally now, I didn't do anything.  No idea.

lami07

QuoteI hate to bring this up, but do you have a GTK-2 theme that fixes firefox?  I literally can't see form field boxes.  The borders are white on white for some reason.
Yes. Better system theme is on the list of things yet to do. For now you can grab some nice theme from repo or site like opendesktop.org. There's plenty to choose from.

Great your problem solved itself. Closing now.
Quote from: forum rulesWhen an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread
Want to chat? Join #sparkylinux at [url="//irc.freenode.net"]irc.freenode.net[/url]

View the most recent posts on the forum