lachenmaier
2010-08-24 20:18:55 UTC
I am trying to run fcron/fcronq on a ubuntu lucid lynx (10.04) system. It has linux kernal 2.6.32-24-generic, and Gnome 2.30.2 on a Dell D610 laptop. I want to use fcron to schedule backups so that if the system is down during one or more scheduled backups, it will execute the backup once upon restart. However, I am having the problem that fcron is disabled after every restart.
I have installed fcron 3.0.6, the latest stable version, and fcronq 0.2.0-1. I installed fcron by
./configure
/usr/bin/make
sudo /usr/bin/make install
In lucid the group id 22 is already used so I used the following commands to install group and user fcron on id=200 using the commands given in
http://www.linuxfromscratch.org/blfs/view/svn/general/fcron.html .
sudo groupadd -g 200 fcron &&
useradd -d /dev/null -c "Fcron User" -g fcron -s /bin/false -u 200 fcron
This successfully created the user/group fcron and the installation commands (scripts) ran successfully. However, user fcron does not appear in the Users and Groups gui as does the user cron. However, I know it is there, because I got an error, when I attempted to create a different user and group with id=200.
I used the default value for all questions asked during the install. I then went to Synaptic and completely removed anacron, and did a simple remove on its dependents gnome-schedule and ubuntu-desktop. Before I did the removals fcronq would be removed from my System Tools menu with each restart.
My problem is that if I perform a restart fcron no longer will schedule any jobs. I can see fcron in the System Monitor display saying Waiting Channel poll_schedule_timeout. If I setup a scheduled task I can see another copy of fcron come up at the scheduled time, but no task is initiated.
If I issue the following commands (kill and restart fcron) from a Terminal after the system reboot is completed, fcron will schedule tasks and operate normally.
/sudo kill -TERM pidof fcron/--in my case pid was 1416.
//etc/init.d/fcron start
/
It seems that the initial fcron that comes up at restart is unable to start a scheduled task, but that a re-initiated one can do so successfully.
Any help is appreciated.
Thanks
Ralph
I have installed fcron 3.0.6, the latest stable version, and fcronq 0.2.0-1. I installed fcron by
./configure
/usr/bin/make
sudo /usr/bin/make install
In lucid the group id 22 is already used so I used the following commands to install group and user fcron on id=200 using the commands given in
http://www.linuxfromscratch.org/blfs/view/svn/general/fcron.html .
sudo groupadd -g 200 fcron &&
useradd -d /dev/null -c "Fcron User" -g fcron -s /bin/false -u 200 fcron
This successfully created the user/group fcron and the installation commands (scripts) ran successfully. However, user fcron does not appear in the Users and Groups gui as does the user cron. However, I know it is there, because I got an error, when I attempted to create a different user and group with id=200.
I used the default value for all questions asked during the install. I then went to Synaptic and completely removed anacron, and did a simple remove on its dependents gnome-schedule and ubuntu-desktop. Before I did the removals fcronq would be removed from my System Tools menu with each restart.
My problem is that if I perform a restart fcron no longer will schedule any jobs. I can see fcron in the System Monitor display saying Waiting Channel poll_schedule_timeout. If I setup a scheduled task I can see another copy of fcron come up at the scheduled time, but no task is initiated.
If I issue the following commands (kill and restart fcron) from a Terminal after the system reboot is completed, fcron will schedule tasks and operate normally.
/sudo kill -TERM pidof fcron/--in my case pid was 1416.
//etc/init.d/fcron start
/
It seems that the initial fcron that comes up at restart is unable to start a scheduled task, but that a re-initiated one can do so successfully.
Any help is appreciated.
Thanks
Ralph