Hi guys, I want to change the time in mx-one, but I don´t know. I think that the command is date but I execute :
date 14:00:00 but it fails.
date: invalid date `14:00:00'
From Ericsson:
Changing time/date is purely Linux related. 'date' is a command in Linux that displays or changes date and time. Changing date/time is only permitted when logging on as 'root' user. It is not possible to change date/time when logging on as 'mduser' user. Changing date/time in the wrong way while telephony server is running results in worst case, that linux operating system freezes.
Command syntax example 'date' will print current time/date.
- Example, to set the current time/date to July 22, 11:44pm, type
- date 07221144 (note that the time is given in 24 hour notation)
- If you wanted to change the year to 2004 as well, you could type: date 072211442004
- To set the seconds as well, type: date 072211442004.30
Here is the correct procedure to change time/date.
1. View Telephony Server status by command: /etc/init.d/eri_sn status
2. Stop Telephony Server by command: /etc/init.d/eri_sn stop
3. Check/Set the hardware clock to 'UTC' in the time zone menu in Yast.
4. Check/Set set correct time zone in the time zone menu in Yast.
5. Check/Set time/date with command: date
6. Synchronize hardware clock with system clock with command: hwclock --systohc
7. Reboot server with command: reboot
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.