MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
When installing Mandriva 2011 i could not connect to the Internet to be able to use NTP server for time adjustment,also i made a mistake by not checking daylight saving....anyway the time was not adjusted correctly and manual adjusting was useful only for that session! then i copied a "drakclock" into my bin folder and adjusted the time! this worked but whenever i type "at" the output is : Garbled time!
the time is correct now but trying to connect NTP fails due to some errors(i thought that may be NTP sever can fix this problem)...and i want to use "at" command.How do i fix that? please help.
Please provide more information. What errors are you getting in response to what commands? Also, what happens when you use the date command? (See man date for the arguments.)
Please provide more information. What errors are you getting in response to what commands? Also, what happens when you use the date command? (See man date for the arguments.)
Hi
[iraj@localhost ~]$ date
Sun Jun 24 21:22:40 IRDT 2012 which is correct..no problem!
[iraj@localhost ~]$ at Garbled time
.......... when i try to adjust time and date by ntp using a clock widget's date and time adjustment interface This is the error: Unable to authenticate/execute the action: 7, DBus Backend error: could not contact the helper. Connection error: . Message error: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Last edited by irajjs; 06-24-2012 at 12:34 PM.
Reason: removing php border
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195
Rep:
A few things.
This is how to use the at command:
Code:
echo "/path/to/your/script" | at 23:00
atmust have a time or a date-time parameter.
As an ordinary user you cannot adjust the time. Your widget is running on the desktop, hence with your own credentials, not root, and cannot adjust time. You have to be root for that.
If you don't have ntp installed, install it. Configure correct servers in /etc/ntp.conf.
If you want to make a large adjustment to the time, stop the ntp service, run ntpdate <time server name>, and restart ntp.
As an ordinary user you cannot adjust the time. Your widget is running on the desktop, hence with your own credentials, not root, and cannot adjust time. You have to be root for that.
If you don't have ntp installed, install it. Configure correct servers in /etc/ntp.conf.
If you want to make a large adjustment to the time, stop the ntp service, run ntpdate <time server name>, and restart ntp.
jlinkels
Hi
I have a weak memory but i think that in previous version(Mandriva2010)i used the command "at" to make some alarms ,reminders...etc..and i think by typing "at" a graphical user interface appeared enabling me to do all these.
..................... in case of ntp :
[iraj@localhost etc]$ ntp.conf
bash: ntp.conf: command not found
[iraj@localhost etc]$ su
Password:
[root@localhost etc]# ntp.conf
bash: ntp.conf: command not found
[root@localhost etc]# /etc/ntp.conf
bash: /etc/ntp.conf: Permission denied
....................
Here i have another question: Who denies the permission to root?!
/etc/ntp.conf is not a command; it's just a path statement. That's why you got the permission denied. See this example:
Code:
tuna:~$ /etc/network/interfaces
bash: /etc/network/interfaces: Permission denied
tuna:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
(snip file contents)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.