XFileSharing Pro - Cron issues

Message
Author
Arthur
Posts: 74
Joined: Dec 04, 2009 12:00 am

Cron issues

#1 Postby Arthur » Oct 05, 2011 2:14 am

Today I tried running cron.pl and cron_deleted_email.pl and I am getting errors. It was after my move to a new server. I went from cpanel to directadmin so I am guessing there might changes that need to be done somewhere to make it work? I get the following error:


<h1>Software error:</h1>
<pre>Can't locate XFileConfig.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /home/mydomain/domains/mydomain.com/public_html/cgi-bin/cron.pl line 4.
BEGIN failed--compilation aborted at /home/mydomain/domains/mydomain.com/public_html/cgi-bin/cron.pl line 4.
</pre>
<p>
For help, please send mail to this site's webmaster, giving this error message
and the time and date of the error.

</p>
[Tue Oct 4 20:51:53 2011] cron.pl: Can't locate XFileConfig.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /home/mydomain/domains/mydomain.com/public_html/cgi-bin/cron.pl line 4.
[Tue Oct 4 20:51:53 2011] cron.pl: BEGIN failed--compilation aborted at /home/mydomain/domains/mydomain.com/public_html/cgi-bin/cron.pl line 4.

admin
Site Admin
Posts: 1824
Joined: Mar 22, 2006 12:32 pm

#2 Postby admin » Oct 05, 2011 6:15 am

Read install.txt about setting up cron jobs.
You need to "cd" to the cgi-bin folder first.

Arthur
Posts: 74
Joined: Dec 04, 2009 12:00 am

#3 Postby Arthur » Oct 05, 2011 7:42 am

Oh sorry that was dumb of me..anyways cron.pl works fine just when i run the cron_deleted_email.pl i get no results back via ssh. When I run in the browser it gives me 500 error. Permission is set to 755

cd /home/mydomain/domains/mydomain.com/public_html/cgi-bin;./cron_deleted_email.pl

admin
Site Admin
Posts: 1824
Joined: Mar 22, 2006 12:32 pm

#4 Postby admin » Oct 05, 2011 8:45 am

Arthur wrote:Oh sorry that was dumb of me..anyways cron.pl works fine just when i run the cron_deleted_email.pl i get no results back via ssh. When I run in the browser it gives me 500 error. Permission is set to 755

cd /home/mydomain/domains/mydomain.com/public_html/cgi-bin;./cron_deleted_email.pl


Start it from console, not browser.

Arthur
Posts: 74
Joined: Dec 04, 2009 12:00 am

#5 Postby Arthur » Oct 05, 2011 6:31 pm

admin wrote:Start it from console, not browser.


I did..nothing happens when I run it in the console.

Arthur
Posts: 74
Joined: Dec 04, 2009 12:00 am

#6 Postby Arthur » Oct 10, 2011 5:15 am

anyone know what issue may be?

glumbo
Posts: 211
Joined: Mar 11, 2011 6:26 am

#7 Postby glumbo » Oct 13, 2011 5:30 pm

I have the same issue. I get 500 error for cron_deleted_email.pl

NVM, works in console

Arthur
Posts: 74
Joined: Dec 04, 2009 12:00 am

#8 Postby Arthur » Oct 21, 2011 1:59 am

Still no answer on this...I guess the cron runs but it sure doesnt send any emails out...Do I need anything installed on my server maybe?


Return to “XFileSharing Pro”