View previous topic :: View next topic |
Author |
Message |
NotQuiteSane Guru
Joined: 30 Jan 2005 Posts: 488 Location: Klamath Falls, Jefferson, USA, North America, Midgarth
|
Posted: Fri Jun 03, 2005 4:42 am Post subject: Problems running 'at' |
|
|
I am trying to configure at. both myself (only user) and root belong to the group at, and are in at.allow
First I do (and see):
Code: | miverna ~ # date
Thu Jun 2 21:35:48 PDT 2005
miverna ~ # at 2137
warning: commands will be executed using /bin/sh
at> date > test.txt
at> <EOT>
job 9 at 2005-06-02 21:37
Warning: at daemon not running |
so I check atd:
Code: | miverna ~ # /etc/init.d/atd status
* status: started |
Portage says it's installed too:
Code: | miverna ~ # emerge at -p
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] sys-process/at-3.1.8-r11
|
Any hints as to why it's not working? after search, I figued out at.allow & at group membership, but still no joy running it
also, dunno if a seperate problem, but when I try to delete old job I see:
Code: | miverna ~ # atq
4 2005-06-02 07:30 a root
4 2005-06-02 21:15 a root
6 2005-06-02 22:27 a root
8 2005-06-02 22:31 a root
1 2005-06-02 16:25 a root
3 2005-06-02 21:11 a root
3 2005-06-01 22:58 a root
5 2005-06-02 22:24 a root
7 2005-06-02 22:29 a root
9 2005-06-02 21:37 a root
2 2005-06-02 21:11 a root
2 2005-06-01 22:57 a root
miverna ~ # atrm 1
Cannot unlink a00001011c427d: Permission denied
miverna ~ # |
root doesn't have permission
TIA,
NQS _________________ These opinions are mine, mine I say! Piss off and get your own.
As I see it -- An irregular blog, Improved with new location
To delete French language packs from system use 'sudo rm -fr /' |
|
Back to top |
|
|
PowerFactor Veteran
Joined: 30 Jan 2003 Posts: 1693 Location: out of it
|
Posted: Fri Jun 03, 2005 4:57 am Post subject: |
|
|
It's possible the at daemon crashed or got killed somehow. It would still show as "started" according to "/etc/init.d/atd status" Try "ps aux | grep atd" If you don't see "/usr/sbin/atd" from that you need to run "/etc/init.d/atd zap" and "/etc/init.d/atd start" |
|
Back to top |
|
|
NotQuiteSane Guru
Joined: 30 Jan 2005 Posts: 488 Location: Klamath Falls, Jefferson, USA, North America, Midgarth
|
Posted: Fri Jun 03, 2005 5:05 am Post subject: |
|
|
PowerFactor wrote: | It's possible the at daemon crashed or got killed somehow. It would still show as "started" according to "/etc/init.d/atd status" Try "ps aux | grep atd" If you don't see "/usr/sbin/atd" from that you need to run "/etc/init.d/atd zap" and "/etc/init.d/atd start" |
still no joy. tried removing job 1 with atrm, gave error as in orginal post.
ps (after zap & start) did not show at. I re-emerged at also, after orinal post, just in case
NQS _________________ These opinions are mine, mine I say! Piss off and get your own.
As I see it -- An irregular blog, Improved with new location
To delete French language packs from system use 'sudo rm -fr /' |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9547 Location: beyond the rim
|
Posted: Fri Jun 03, 2005 6:50 am Post subject: |
|
|
try running /usr/sbin/atd directly. |
|
Back to top |
|
|
NotQuiteSane Guru
Joined: 30 Jan 2005 Posts: 488 Location: Klamath Falls, Jefferson, USA, North America, Midgarth
|
Posted: Fri Jun 03, 2005 4:38 pm Post subject: |
|
|
Genone wrote: | try running /usr/sbin/atd directly. |
Still no go. PS only shows 'grep atd'
NQS _________________ These opinions are mine, mine I say! Piss off and get your own.
As I see it -- An irregular blog, Improved with new location
To delete French language packs from system use 'sudo rm -fr /' |
|
Back to top |
|
|
melbaum n00b
Joined: 01 Jul 2004 Posts: 35
|
Posted: Sat Jun 04, 2005 2:26 pm Post subject: |
|
|
I just emerged and it works straight off. Have you tried getting rid of /etc/at/at.allow? You don't need it.
'ps -ef |grep at' gives
at 10752 1 0 17:13 ? 00:00:00 /usr/sbin/atd |
|
Back to top |
|
|
|