[Bug 672586] New: Atd fails to start jobs
https://bugzilla.novell.com/show_bug.cgi?id=672586 https://bugzilla.novell.com/show_bug.cgi?id=672586#c0 Summary: Atd fails to start jobs Classification: openSUSE Product: openSUSE 11.4 Version: RC 1 Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: vass.elemer@gmail.com QAContact: qa@suse.de Found By: Community User Blocker: --- Atd is enabled and running, however jobs invoked via the batch or at commands are queued but never started (they have to be removed from the queue with the atrm command). The test was done with openSuSE 11.4 RC1 x86_64 (I did not test the 32bit edition). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=672586
https://bugzilla.novell.com/show_bug.cgi?id=672586#c
wei wang
https://bugzilla.novell.com/show_bug.cgi?id=672586
https://bugzilla.novell.com/show_bug.cgi?id=672586#c
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=672586
https://bugzilla.novell.com/show_bug.cgi?id=672586#c1
Michal Vyskocil
https://bugzilla.novell.com/show_bug.cgi?id=672586
https://bugzilla.novell.com/show_bug.cgi?id=672586#c2
--- Comment #2 from Elemér Vass
Cannot reproduce with at-3.1.8-1088.2.x86_64 on openSUSE 11.4 Milestone 6 of 6 (x86_64)
$ echo "touch /tmp/ATDTEST" | at +1 minute warning: commands will be executed using /bin/sh job 3 at 2011-02-18 10:19 $ atq 3 2011-02-18 10:19 a mvyskocil $ sleep 60; ls -l /tmp/ATDTEST -rw-r--r-- 1 mvyskocil users 0 Feb 18 10:19 /tmp/ATDTEST $ atq
Is there anything in system log about atd?
grep '\
OK, I am not a programmer (just a simple user) but I tried to repeat what you
suggested. The result is below:
------------------
vass@suse114:~> echo "touch /tmp/ATDTEST" | at +1 minute
warning: commands will be executed using /bin/sh
job 8 at 2011-02-18 18:53
vass@suse114:~> atq
8 2011-02-18 18:53 a vass
vass@suse114:~> sleep 60; ls -l /tmp/ATDTEST
-rw-r--r-- 1 vass users 0 febr 18 18.53 /tmp/ATDTEST
vass@suse114:~> atq
vass@suse114:~> su -
vass@suse114:~> echo "touch /tmp/ATDTEST" | at +1 minute
warning: commands will be executed using /bin/sh
job 8 at 2011-02-18 18:53
vass@suse114:~> atq
8 2011-02-18 18:53 a vass
vass@suse114:~> sleep 60; ls -l /tmp/ATDTEST
-rw-r--r-- 1 vass users 0 febr 18 18.53 /tmp/ATDTEST
vass@suse114:~> atq
vass@suse114:~> su -
Jelszó:
suse114:~ # grep '\
https://bugzilla.novell.com/show_bug.cgi?id=672586
https://bugzilla.novell.com/show_bug.cgi?id=672586#c3
Elemér Vass
https://bugzilla.novell.com/show_bug.cgi?id=672586
https://bugzilla.novell.com/show_bug.cgi?id=672586#c4
Michal Vyskocil
As you can see there is nothing about atd in /var/log/message and the job is no more in the queue.
That's intended - once job is executed, it's removed from a at queue - it contains only a list of planned tasks. And because the file is created, the at works well on your system.
But this does not solve my problem, everything I start with "batch" is sitting endlessly in the queue.
I did a similar test with the "batch" command, I hope it helps: --------------------------- vass@suse114:~> batch warning: commands will be executed using /bin/sh at> echo "touch /tmp/ATDTEST" at> <EOT> job 9 at 2011-02-19 19:03 vass@suse114:~> atq 9 2011-02-19 19:03 b vass vass@suse114:~> sleep 60; ls -l /tmp/ATDTEST -rw-r--r-- 1 vass users 0 febr 18 18.53 /tmp/ATDTEST vass@suse114:~> atq 9 2011-02-19 19:03 b vass vass@suse114:~> su - Jelszó: suse114:~ # grep '\
--------------------- Again, nothing in /var/log/messages/ but as you can see the job is still there.
It is also interesting that jobs fail to start only if the time is not explicitly specified for atd, like e.g. when jobs are started with "batch" or "at now", Everything is OK with "at +1 minute" or similar.
Downgrading to at-3.1.8-1081.1.x86_64 (shipped with openSUSE 11.3) is a temporary workaround for me, that version still works well even with openSUSE 11.4 RC2.
This reminds me to bnc#668485 - Vitezslav, can you please prepare the patched at package for test and request the maintenance update? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=672586
https://bugzilla.novell.com/show_bug.cgi?id=672586#c5
Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=672586
https://bugzilla.novell.com/show_bug.cgi?id=672586#c6
--- Comment #6 from Elemér Vass
The has been fixed in Base:System repository. You can test the at package from there.
I can confirm that the problem has been fixed with at-3.1.8-1120.1.x86_64 from Base:System repository. Atd now works as expected. I think the bug can be marked as resolved. Thank you. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=672586
https://bugzilla.novell.com/show_bug.cgi?id=672586#c7
Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=672586
https://bugzilla.novell.com/show_bug.cgi?id=672586#c8
Elemér Vass
Fixed in devel project, closing.
Unfortunately openSUSE 11.4 final shipped with the wrong version, at-6.1.8-1093.1.x86_64, so please offer the fixed version as an online update for openSUSE 11.4. Did somebody test the situation of at in the 32bit architecture? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=672586
https://bugzilla.novell.com/show_bug.cgi?id=672586#c9
--- Comment #9 from Elemér Vass
https://bugzilla.novell.com/show_bug.cgi?id=672586
https://bugzilla.novell.com/show_bug.cgi?id=672586#c10
Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=672586
https://bugzilla.novell.com/show_bug.cgi?id=672586#c12
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=672586
https://bugzilla.novell.com/show_bug.cgi?id=672586#c13
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=672586
https://bugzilla.novell.com/show_bug.cgi?id=672586#c14
--- Comment #14 from Vitezslav Cizek
https://bugzilla.novell.com/show_bug.cgi?id=672586
https://bugzilla.novell.com/show_bug.cgi?id=672586#c15
Björn Voigt
https://bugzilla.novell.com/show_bug.cgi?id=672586
https://bugzilla.novell.com/show_bug.cgi?id=672586#c16
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=672586
https://bugzilla.novell.com/show_bug.cgi?id=672586#c17
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=672586
https://bugzilla.novell.com/show_bug.cgi?id=672586#c
Swamp Workflow Management
https://bugzilla.novell.com/show_bug.cgi?id=672586
https://bugzilla.novell.com/show_bug.cgi?id=672586#c18
Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com