XILO Community Forum

Support 0345 468 0005 • Sales 0800 848 8468 • sales chat

Go Back   XILO Community Forum > Customer Support > Support Queries > cgibin test not working - suggestions please
Support Queries This forum should be used to contact our support team should you have any problems with your account.

Closed Thread
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Reseller
wilson765 is on a distinguished road
 
Posts: 23
Join Date: Nov 2005
Unhappy cgibin test not working - suggestions please - 24/08/2006, 7:39 PM

Hi

I've been running omnidrive document upload software fine till the software suddenly stopped working.

Omnidrive support gave me this cgitest to do.

#!/usr/bin/perl
print "Content-type: text/html\n\n";
print "TEST";

but this gives a server error when put in a .pl file in the cgibin.

So they are saying it's a server error.

I really don't understand much of this.

How can I find out what is wrong with my cgi-bin?

Steve
  (#2 (permalink)) Old
User
A-Wing is on a distinguished road
 
A-Wing's Avatar
 
Posts: 23
Join Date: Aug 2006
Location: N. Wales
Send a message via MSN to A-Wing Send a message via Skype™ to A-Wing
Default Re: cgibin test not working - suggestions please - 25/08/2006, 3:53 PM

Try re-uploading the file as ASCII if you are using FTP instead of binary mode. The perl interpreter doesn't like /r/n newline codes the /r are stripped in ASCII mode.
  (#3 (permalink)) Old
Reseller
wilson765 is on a distinguished road
 
Posts: 23
Join Date: Nov 2005
Default Re: cgibin test not working - suggestions please - 25/08/2006, 4:02 PM

Thanks A Wing,

I tried using ASCII but in this case it did not work.

The odd thing about all this is that the main CGI was working fine until a few days ago. Then it stopped and now everyone is stumped.

Xilo have made no server changes (that I know of) and I certainly didn't touch the server.

This little test program was provided by the software writers to check for errors. Now of course nothing works and they are washing their hands of it.

Thanks for taking the time A Wing, I really am lost when it comes to perl.

Steve
  (#4 (permalink)) Old
User
A-Wing is on a distinguished road
 
A-Wing's Avatar
 
Posts: 23
Join Date: Aug 2006
Location: N. Wales
Send a message via MSN to A-Wing Send a message via Skype™ to A-Wing
Default Re: cgibin test not working - suggestions please - 25/08/2006, 4:24 PM

hmm...that should work. If that doesn't I would look at apache error logs for clues
  (#5 (permalink)) Old
Reseller
wilson765 is on a distinguished road
 
Posts: 23
Join Date: Nov 2005
Default Re: cgibin test not working - suggestions please - 25/08/2006, 4:34 PM

Thanks A Wing,

Apart from WHM and Cpanel I don't really know the servers. Where and how would I find the apache error logs?

I use a small resellers account.

Sorry to put on you but as you can probably guess your the first helpful voice I heard in a few days.

Steve
  (#6 (permalink)) Old
Tom Tom is offline
XILO Staff


Tom is on a distinguished road
 
Tom's Avatar
 
Posts: 171
Join Date: Nov 2005
Default Re: cgibin test not working - suggestions please - 25/08/2006, 4:38 PM

Quote:
Originally Posted by wilson765 View Post
Thanks A Wing,

Apart from WHM and Cpanel I don't really know the servers. Where and how would I find the apache error logs?

I use a small resellers account.

Sorry to put on you but as you can probably guess your the first helpful voice I heard in a few days.

Steve
Steve,

We are also looking at this in relation to the ticket you have raised but currently dont have anything concrete as to why it was working and then just stopped.

We've even compared to the last backup which appears the same.

Please do bear with us.

Tom


XILO Communications Ltd.
Internet Hosting and Online Services
w: http://www.xilo.net/
h: http://my.xilo.net/
t: +44 (0) 845 034 6444
f: +44 (0) 845 034 6555
  (#7 (permalink)) Old
Reseller
wilson765 is on a distinguished road
 
Posts: 23
Join Date: Nov 2005
Default Re: cgibin test not working - suggestions please - 25/08/2006, 4:49 PM

Thanks Tom,

that was very kind of you to post that.

I know you guys are busy and always get there in the end. I didn't mean to suggest you weren't helping. You are always helpful where you can be.

Steve
  (#8 (permalink)) Old
Tom Tom is offline
XILO Staff


Tom is on a distinguished road
 
Tom's Avatar
 
Posts: 171
Join Date: Nov 2005
Default Re: cgibin test not working - suggestions please - 25/08/2006, 5:19 PM

I've been told that all was fixed on a swift permissions change

Tom


XILO Communications Ltd.
Internet Hosting and Online Services
w: http://www.xilo.net/
h: http://my.xilo.net/
t: +44 (0) 845 034 6444
f: +44 (0) 845 034 6555
  (#9 (permalink)) Old
Reseller
wilson765 is on a distinguished road
 
Posts: 23
Join Date: Nov 2005
Default Re: cgibin test not working - suggestions please - 25/08/2006, 5:22 PM

Hi Tom,

Yes, you know there must be something wrong with my FTP software because that file was showing as 755 but never worked.

I'm sorry that it ended up a permissions thing. But thanks for sticking at it and helping me out.

That's lots of kind voices I've heard in the last hour.

Steve
  (#10 (permalink)) Old
User
A-Wing is on a distinguished road
 
A-Wing's Avatar
 
Posts: 23
Join Date: Aug 2006
Location: N. Wales
Send a message via MSN to A-Wing Send a message via Skype™ to A-Wing
Default Re: cgibin test not working - suggestions please - 25/08/2006, 5:30 PM

Ah, I should have thought of that. Its always something simple that takes the time to find.
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Website Security Test? folio Support Queries 1 19/10/2006 6:00 PM


Powered by vBulletin | XHTML | © Copyright 2003-2009 XILO Communications Ltd. All rights reserved. E&OE