system time
I have a debian server , want to know what is the hardware clock time
of it , I tried use hwclock , but not work , can advise what can i do ? thx #hwclock hwclock is unable to get I/O port access: the iopl(3) call failed. Probably you need root privileges. |
Hi,
First thing I norice: Probably you need root privileges. You don't mention this, but did you try this as a normal user or as root user. It should be done as root. Hope this helps. |
Run the command through sudo user configured.
It will run without any issue. |
Quote:
I use root user to do it already . |
Hello elainelaw,
Is this on your own physical server or on a VPS? This kind of error happens mostly in virtual environment where hardware is 'shared'. Kind regards, Eric |
thx replies,
this is not virtual machine . |
Hi,
Can you try: Code:
hwclock --directisa Kind regards, Eric |
Quote:
|
Hello,
This is what I found on the net: Quote:
Code:
uname -r Eric |
Hi,
Look at the online 'man hwclock'; Quote:
|
Hi,
@elainelaw: You seem to be struggling with GNU/Linux. I've noticed a lot of recent posts. I suggest that you look at these useful links; Linux Documentation Project Rute Tutorial & Exposition Linux Command Guide Bash Reference Manual Advanced Bash-Scripting Guide Linux Newbie Admin Guide LinuxSelfHelp Getting Started with Linux The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links! |
All times are GMT -5. The time now is 09:36 AM. |