XFileSharing Pro - 403 Forbidden when running cron.pl ..... How to fix?

Message
Author
awaisuk
Posts: 39
Joined: May 25, 2009 4:08 am

403 Forbidden when running cron.pl ..... How to fix?

#1 Postby awaisuk » Jul 12, 2011 3:35 am

Hey,

I am getting 403 Forbidden when running cron.pl ..... How to fix?

Its chmod 755, I tried 777, still same error.

Thanks.

chrda
Posts: 296
Joined: Sep 14, 2009 7:16 pm

#2 Postby chrda » Jul 12, 2011 8:52 am

You need to run it from shell

cd /var/www/(XFS-CGI-FOLDER); perl cron.pl

Tried that? Same as what in the install file.

awaisuk
Posts: 39
Joined: May 25, 2009 4:08 am

#3 Postby awaisuk » Jul 12, 2011 7:23 pm

Yes but how to run it from the website?

chrda
Posts: 296
Joined: Sep 14, 2009 7:16 pm

#4 Postby chrda » Jul 12, 2011 8:15 pm

That file is not ment to be runned from the website.

Run it from shell or/and put it on cron system.

okpa
Posts: 120
Joined: Apr 08, 2011 12:37 pm

#5 Postby okpa » Aug 22, 2011 2:07 am

have same problem

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#6 Postby PilgrimX182 » Aug 22, 2011 12:25 pm

maybe renaming it to cron.cgi will help

okpa
Posts: 120
Joined: Apr 08, 2011 12:37 pm

#7 Postby okpa » Aug 22, 2011 4:14 pm

still Deleting symlinks for SRV=1...Error when deleting syms. SRV=1.
Can't connect to xxxx.com:80 (Connection timed out) LWP::Protocol::http::Socket: connect: Connection timed out at /usr/lib/perl5/site_perl/5.8.8/LWP/Protocol/http.pm line 51.

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

#8 Postby admin » Aug 23, 2011 7:03 am

okpa wrote:still Deleting symlinks for SRV=1...Error when deleting syms. SRV=1.
Can't connect to xxxx.com:80 (Connection timed out) LWP::Protocol::http::Socket: connect: Connection timed out at /usr/lib/perl5/site_perl/5.8.8/LWP/Protocol/http.pm line 51.
That does mean that your file server cant connect to main server. Check connection between these servers.