CRON problemsForum: Apps Topic: CRON problems started by: nbx909 Posted by nbx909 on May 03 2005,00:52
When i try to run cron i get....cron: can't lock /var/run/crond.pid, otherpid may be 592: Resource temporarily unavailable what is the problem... all i want to do is have ssh, monkey, and ftp to start up when i start up my computer... Posted by SaidinUnleashed on May 03 2005,02:18
add the appropriate lines to /opt/bootlocal.sh
Posted by nbx909 on May 03 2005,22:37
just add /var/run/crond.pid to the bootlocal.sh?
Posted by SaidinUnleashed on May 04 2005,00:39
no, the lines to start the servers you want started at boot.
Posted by nbx909 on May 04 2005,01:31
yah, i know i've done that but why won't cron work?
Posted by ke4nt1 on May 04 2005,02:17
I didn't even know that cron was installed into DSL..There is a symlink in /etc/apm/event.d called anacron, but it goes nowhere.. ( links to itself in /KNOPPIX/etc/apm/event.d/anacron ) You could use apt-get to install anacron. [ using locate, I could find anacron.. there was no cron , or crond to be found ] 73 ke4nt Posted by SaidinUnleashed on May 04 2005,03:24
That's right. DSL has no cron installed.I'm sorry I didn't make myself clearer. That symlink is another 80 bytes toward another feature after it's removed. -J.P. Posted by nbx909 on May 04 2005,12:02
so go to aptget and type in apt-get install anacron ?
Posted by clacker on May 04 2005,17:24
Well, it looks to me like your problem isn't the lack of cron. From your error message, it looks like you at least tried to install cron. If you hadn't the error you got about the PID would not have happened. Did you try running cron as root? sudo /etc/init.d/cron start Is cron running already? ps -ax (look for the cron process) Did you have your crontab file set up? I used export VISUAL=beaver crontab -e to setup the crontab and crontab -l to view it. There was a discussion < about cron here > that might be of some help as well if it didn't load correctly for you. The example crontab there is also a neat way to make sure that cron is running correctly. |