From: malick h. <mal...@ya...> - 2009-02-15 00:11:54
|
Hi Orlando, I also tried to run cronw on win32 and after some while wasn't able to work with cronw on win32 xp I heard from the core developer that most cronw problems are based on newer versions of Perl. I don't know which version should be used to keep cronw stable. My cronw error looks as follow: my cronw logfile tells me that Can't call method "mtime" without a package or object reference at which looks like mtime cannot be used even while Crontab.pm has the with use File::stat object reference. when I try P:\>net start cron I get back : The service is not responding to the control function. when I try to start cron in Services I get back Could not start the Cron Service (CRONw) service on local computer Error 1053: The service did not respond to the start or control request in a timely fashion when I try perl C:\CRONw\cronService.pl --crontab=C:\CRONw\crontab.txt I get back [2009/02/12 16:26:15] Can't call method "mtime" without a package or object reference at C:\CRONw/Crontab.pm line 370. [2009/02/12 16:26:15] Can't call method "mtime" without a package or object reference at C:\CRONw/Crontab.pm line 370. This is a strange bug. I cannot uninstall the cron to reinstall it all over. The biggest problem is an unmaintaned project for newer perl versions so someone should really step unto this. Maybe in your case you should check your system -> cronw and verify that you can start / stop / reinstall the service first . second make sure that you can test it with an cronw stable perl version. Or else try UNIX cron from cygwin regards from Malick Heuvel Orlando Reis wrote: > > Hi, I'm sorry to be asking this, and probably this has been asked in the > past. > > I'm not using activate state perl but a perl that was compiled by my > company > in a windows environment. > > I added ppm support and all the modules that cronw needs are installed. > > But I just can't get the cronw service to start... > > I have changed the log.conf > > log4perl.logger.cronw.cronService-pl = DEBUG, log > log4perl.logger.cronw.Crontab-pm = DEBUG, log > > And this is all I get in the error messages (log file) when invoked > manually. > > [2008/09/14 09:47:55] starting service > [2008/09/14 09:47:55] programdir: C:\CRONw_2.0 > [2008/09/14 09:47:55] logfile: C:\CRONw_2.0\logs\cronw.log > [2008/09/14 09:47:55] crontab: C:\CRONw_2.0\crontab.txt > [2008/09/14 09:47:55] read crontab successfully > [2008/09/14 09:47:55] comment (1) > [2008/09/14 09:47:55] comment (2) > [2008/09/14 09:47:55] comment (3) > [2008/09/14 09:47:55] comment (4) > [2008/09/14 09:47:55] comment (5) > [2008/09/14 09:47:55] comment (6) > [2008/09/14 09:47:55] comment (7) > [2008/09/14 09:47:55] comment (8) > [2008/09/14 09:47:55] comment (9) > [2008/09/14 09:47:55] comment (10) > [2008/09/14 09:47:55] comment (11) > [2008/09/14 09:47:55] comment (12) > [2008/09/14 09:47:55] comment (13) > [2008/09/14 09:47:55] comment (14) > [2008/09/14 09:47:55] comment (15) > [2008/09/14 09:47:55] comment (16) > [2008/09/14 09:47:55] comment (17) > [2008/09/14 09:47:55] comment (18) > [2008/09/14 09:47:55] comment (19) > [2008/09/14 09:47:55] comment (20) > [2008/09/14 09:47:55] comment (21) > [2008/09/14 09:47:55] comment (22) > [2008/09/14 09:47:55] comment (23) > [2008/09/14 09:47:55] comment (24) > [2008/09/14 09:47:55] comment (25) > [2008/09/14 09:47:55] comment (26) > [2008/09/14 09:47:55] comment (27) > [2008/09/14 09:47:55] comment (28) > [2008/09/14 09:47:55] comment (29) > [2008/09/14 09:47:55] comment (30) > [2008/09/14 09:47:55] comment (31) > [2008/09/14 09:47:55] comment (32) > [2008/09/14 09:47:55] comment (33) > [2008/09/14 09:47:55] comment (34) > [2008/09/14 09:47:55] comment (35) > [2008/09/14 09:47:55] blank line (36) > [2008/09/14 09:47:55] crontab parsed successfully > [2008/09/14 09:47:55] no job entries, syntax check skipped > [2008/09/14 09:47:55] crontab object initialized > [2008/09/14 09:47:55] state: SERVICE_NOT_READY > [2008/09/14 09:47:55] do not sleep because of service state > [2008/09/14 09:47:55] service stopped > > I'm trying from the command line to call the application, doing so by > executing what is in the windows service. > c:\perl\bin\perl.exe "C:\CRONw_2.0\cronService.pl" > --crontab="C:\CRONw_2.0\crontab.txt" > > I have tried with active state perl and with our own perl. > > The modules installation proceeds in both versions (although it works in a > different manner). > > I have Oracle10G installed, in the beginning, I thought this might be a > problem due to Oracle10g setting up PERL5LIB, and I guess the reason for > the > service not starting is related to that. But if I call it by manually it > also doesn't work... > > Ive read somewhere there is some problem with perl 5.8.8 ? > > Can someone just give me some directions on how to fix this? > > Best regards, > > Orlando > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Cronw-devel mailing list > Cro...@li... > https://lists.sourceforge.net/lists/listinfo/cronw-devel > > -- View this message in context: http://www.nabble.com/installing-cronw-problem-tp19485534p22018611.html Sent from the CRONw mailing list archive at Nabble.com. |