The eAuction Support Forums
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl
eAuction 1.6.1.x >> Start Up and more >> script does not work for me
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1124025566

Message started by wasil on 08/14/05 at 15:19:26

Title: script does not work for me
Post by wasil on 08/14/05 at 15:19:26

Hello,

Afther I've instaled the script as instructed I allways get "Internal Server Error" message, what ever I do it is the same . the old 1.5 script works well in the same directory but this one do not . I run it on Apache server 2.0.5.2 and Perl 5.8.
Here are the last  server error logs:

[Sun Aug 14 16:17:16 2005] [notice] Parent: Created child process 4064
[Sun Aug 14 16:17:16 2005] [notice] Child 4064: Child process is running
[Sun Aug 14 16:17:16 2005] [notice] Child 4064: Acquired the start mutex.
[Sun Aug 14 16:17:16 2005] [notice] Child 4064: Starting 250 worker threads.
[Sun Aug 14 16:17:20 2005] [error] [client 127.0.0.1] C:/Documents and Settings/Administrator/My Documents/cgi_bin/eAuction.pl is not executable; ensure interpreted scripts have "#!" first line
[Sun Aug 14 16:17:20 2005] [error] [client 127.0.0.1] (9)Bad file descriptor: don't know how to spawn child process: C:/Documents and Settings/Administrator/My Documents/cgi_bin/eAuction.pl

Please help me to find out what is wrong
thanks

Title: Re: script does not work for me
Post by wasil on 08/14/05 at 15:21:27

Me again, ofcourse that the file eauction.pl has the  #! in first line and the econfig does not.

Title: Re: script does not work for me
Post by Dieter Werner on 08/14/05 at 17:18:53

eAuction.pl must be chmod 755

Title: Re: script does not work for me
Post by wasil on 08/14/05 at 18:23:13

Thanks very much for fast reply.
But I run it on win xp

Title: Re: script does not work for me
Post by Dieter Werner on 08/14/05 at 20:01:58

Click properties and make it executeable  ;)

Title: Re: script does not work for me
Post by wasil on 08/16/05 at 09:08:32

The file and folder have full permision and still does show the same error, and do not work. I ve tried other perl scripts and they all work, only this one do not.

I spent my last days trying all kind of things, but still not get it to work .
I ve tried to download the script again, I thought the files may be corrupted.
Could there be some compatibility isue of some kind, with the perl interpreter?
Or does the script have some bugs?
Please help.
Thanks

Title: Re: script does not work for me
Post by Dieter Werner on 08/16/05 at 09:54:19

What's your path to perl?

Title: Re: script does not work for me
Post by wasil on 08/16/05 at 11:57:18

The path to perl is C:\Perl\bin\Perl.exe
and the path in the script it is the same like inthe other scripts that work: #!/perl/bin/perl


Title: Re: script does not work for me
Post by Dieter Werner on 08/16/05 at 12:55:50

Write:

Code:
#!c:/perl/bin/perl -w


and check your Apache config file ...


Title: Re: script does not work for me
Post by Dieter Werner on 08/16/05 at 15:16:14


wasil wrote:
The path to perl is C:\Perl\bin\Perl.exe
and the path in the script it is the same like inthe other scripts that work: #!/perl/bin/perl

Are your sure that
Quote:
Perl.exe
is correct?

Title: Re: script does not work for me
Post by wasil on 08/16/05 at 16:23:46

Well as long as the other scripts have the same path and they work , I think the path it is correct.
However there is one file perl.exe and one perl5.8.4.exe in the same directory.
I ve tried #!c:/perl/bin/perl and also #!c:/perl/bin/perl5.8.4.exe but does not work either.
I ve uploaded the script on a free server  and there works. But on my localhost does not work although the old auction 1.5 works well along with other scripts. I also configured perl and apache on another computer and ther dont works either.
You stated that you developed the script on a Win platform, so there should be no compatibility problems.
Hoewever I dont understand why does not work on my machines.
IS there some special server configutation that I have to set for this script to work?
Thanks

Title: Re: script does not work for me
Post by Dieter Werner on 08/16/05 at 17:22:18


wasil wrote:
I ve uploaded the script on a free server  and there works.

Good to know :)


wasil wrote:
You stated that you developed the script on a Win platform, so there should be no compatibility problems.
Hoewever I dont understand why does not work on my machines.
IS there some special server configutation that I have to set for this script to work?

No, a special server configuration isn't needed.
But I don't know your server configuration, therefore I'm not able to judge it.


Title: Re: script does not work for me
Post by wasil on 08/16/05 at 17:55:43

I give you the link to my config file here:
http://abid.danuserwebservice.com/server.txt

Maybe you can tell me if there is something that I have to change so that the script works on my server too.

Title: Re: script does not work for me
Post by Dieter Werner on 08/16/05 at 18:22:26

I'm not an Apache expert but ...

Code:
ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache2/cgi-bin/"

means:
you have to store your CGI files into the directory

Code:
C:/Program Files/Apache Group/Apache2/cgi-bin


And ...
I beg your pardon, but this is the help-forum of eAuction.
Questions regarding the configuration of servers are out of topic.

Title: Re: script does not work for me
Post by wasil on 08/17/05 at 12:05:32

Ich habe versucht die Files in C:/Program Files/Apache Group/Apache2/cgi-bin  zu plazieren aber das hat auch nicht geholfen.
Na ja danke fuer ihre Muehe jedenfals.
Ich werde mit den Sever einstelungen ein wenig spielen , vieleicht klapt es .
Gruss


Title: Re: script does not work for me
Post by Dieter Werner on 08/17/05 at 12:34:48


Code:
C:/Program Files/Apache Group/Apache2/cgi-bin/eAuction161


is the right place to store the files.

And please ...
if you want to talk in German, you should use the German forums  :)

Title: Re: script does not work for me
Post by wasil on 08/18/05 at 13:41:51

Hi again,

Yes I ve put rhe files in the C:/Program Files/Apache Group/Apache2/cgi-bin/eAuction161  still the same.
But I guess I found out why it does not work.

As I ve said before, I ve instaled the script on a free server and there works, then I ve tried to edit the eauction161.pl file and added the line $form{'DAYS'} == 0 && ($form{'DAYS'} = 1);
to fix the "Deadline" bug.
Afther I aded the line the script didn t worked at all it showed the  500 error message, even afther removing that line.
Then I uploaded a new fresh copy of the file and worked again.
Then I ve added a space in the end of the line #!/usr/bin/perl, saved it then deleted the space and saved again and afther doing this the script didnt worked again. That means , afther the file eauction161.pl is edited it stops to work.
I have no explanation for this.
What is the cause of this behaviour and how can be  solved?
Thanks

Title: Re: script does not work for me
Post by Dieter Werner on 08/18/05 at 14:24:11


wasil wrote:
I ve tried to edit the eauction161.pl file and added the line $form{'DAYS'} == 0 && ($form{'DAYS'} = 1);
to fix the "Deadline" bug.

Please, tell me more about the "Deadline" bug ...


wasil wrote:
Afther I aded the line the script didn t worked at all it showed the  500 error message, even afther removing that line.
Then I uploaded a new fresh copy of the file and worked again.
Then I ve added a space in the end of the line #!/usr/bin/perl, saved it then deleted the space and saved again and afther doing this the script didnt worked again. That means , afther the file eauction161.pl is edited it stops to work.
I have no explanation for this.
What is the cause of this behaviour and how can be  solved?
Thanks


I never heared about a behaviour like this ...
but

- make sure you upload in ASCII mode
- check the chmod after uploading

Title: Re: script does not work for me
Post by Dieter Werner on 08/18/05 at 18:15:19

OK Dear friend ...
as I could see - you have got it up and running.

But:
Copyright © 2002 - 2005 By www.abid.com
is a real impudence and it is a license violation too.

Arrrgghhh ...
why do I waste my time with users like you ...

The eAuction Support Forums » Powered by YaBB 2.2!
YaBB © 2000-2007. All Rights Reserved.