Products Forum Forum Index Products Forum
Use this forum for questions and discussion about our products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problems, etc.

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Products Forum Forum Index -> Support questions & how to use/enhance Vorras Antibot
View previous topic :: View next topic  
Author Message
-WBO-
Guest





PostPosted: Thu Oct 09, 2003 12:28 am    Post subject: Problems, etc. Reply with quote

Hopefully you can help.

I have tried almost everything to get the antibot to work. Nothing.

I've tried every permission, nothing.

Here is what I have done:

cgi-bin (CHMOD 755)
|
- config.py
- config.pyc
- parseidat.py
- perlform.cgi
- perlreply.cgi
- png.py
- png.pyc
- pythonform.cgi
- pythonreply.cgi
- templates
|
- template1

httpdocs
|
- antibot
|
- data (includes all .png, .dat and back up)

Put in the proper paths in config.py, fired up (through a browser) parseidat.py, it hangs for a minute, and then the always lovely "500 Internal Server Error."

Move onto the perlform.cgi, a blank screen is received and the browser source shows nothing written (no html code at all).

Perlreply.cgi either gives the beautiful "500 Internal Server Error" or just writes "Wrong!" (from the script).

I am completely baffled and cannot figure this out for anything.

I thank you for your speedy help in advance.

- WBO-
Back to top
haris
Site Admin


Joined: 22 Aug 2002
Posts: 40

PostPosted: Thu Oct 09, 2003 8:09 pm    Post subject: Reply with quote

Hello,

Parseidat is not supposed to be run from the browser, just from the shell.
Did you change permissions on the perlform.cgi script to 755?
Also what about the path to the python interpreter? Have you changed the first line to point to the correct location on your system?

You are not supposed to run perlreply.cgi directly, perlform.cgi should call it after running.

If you get internal server errors please send me the error_log file so that I can see what was the reason. Also please let me know which platform (Operating system) you are using.

Thanks,
Haris
Back to top
View user's profile Send private message
-WBO-
Guest





PostPosted: Fri Oct 10, 2003 10:24 pm    Post subject: Reply with quote

perform.cgi is CHMOD 755

pyhton has been changed to usr/bin/pyhton from the default

OS is Linux


haris wrote:
Hello,

Parseidat is not supposed to be run from the browser, just from the shell.
Did you change permissions on the perlform.cgi script to 755?
Also what about the path to the python interpreter? Have you changed the first line to point to the correct location on your system?

You are not supposed to run perlreply.cgi directly, perlform.cgi should call it after running.

If you get internal server errors please send me the error_log file so that I can see what was the reason. Also please let me know which platform (Operating system) you are using.

Thanks,
Haris
Back to top
-WBO-
Guest





PostPosted: Fri Oct 10, 2003 10:25 pm    Post subject: Reply with quote

perlform.cgi is CHMOD 755

pyhton has been changed to usr/bin/pyhton from the default

OS is Linux


haris wrote:
Hello,

Parseidat is not supposed to be run from the browser, just from the shell.
Did you change permissions on the perlform.cgi script to 755?
Also what about the path to the python interpreter? Have you changed the first line to point to the correct location on your system?

You are not supposed to run perlreply.cgi directly, perlform.cgi should call it after running.

If you get internal server errors please send me the error_log file so that I can see what was the reason. Also please let me know which platform (Operating system) you are using.

Thanks,
Haris
Back to top
-WBO-
Guest





PostPosted: Fri Oct 10, 2003 10:33 pm    Post subject: Reply with quote

Let me try this again.

- OS is Linux/Unix
- perlform.cgi is CHMOD 755
- python path has been changed from the default (usr/local/bin/python) to usr/bin/python which is the correct path for this server.

All tect files were uploaded as ASCII.
All png files were uploaded as automatic.

Please let me know what you suggest, unfortunately I do not have access to the error log at this time.
Back to top
haris
Site Admin


Joined: 22 Aug 2002
Posts: 40

PostPosted: Sat Oct 11, 2003 9:39 am    Post subject: Reply with quote

Most likely the paths are not set correctly in the config.py file or you do not have the right permissions to write into the images directory.

In order to troubleshoot this please use the shell. Go to the antibot directory and run the following command:

./png.py

Once you run this please send me the output, or the error message you get. If you do not have shell access let me know and we will find another way around this.

Thanks,
Haris
Back to top
View user's profile Send private message
Guest
Guest





PostPosted: Thu Jan 29, 2004 4:42 am    Post subject: error as above Reply with quote

Hi,

Having the same symptoms as above.

Was the above ever resolved?

What was the outcome or solution?

Thank you
Back to top
haris
Site Admin


Joined: 22 Aug 2002
Posts: 40

PostPosted: Thu Jan 29, 2004 7:19 am    Post subject: Reply with quote

Hi,

Could you run the png.py script from the shell (not from the browser) and let me know what you get as the output?

Thanks,
Haris
Back to top
View user's profile Send private message
Guest
Guest





PostPosted: Thu Jan 29, 2004 11:32 am    Post subject: How do I execute (run)... Reply with quote

Hi Haris,

Thanks for getting back.

I can login using ssh, cd to the directory... but I don't know how to execute the file. bash is the interpreter...

Thank you
Brian
Back to top
haris
Site Admin


Joined: 22 Aug 2002
Posts: 40

PostPosted: Thu Jan 29, 2004 11:51 am    Post subject: Reply with quote

Brian

Go to the directory that contains the png.py file. To make sure its there execute an ls command and see if it appears in the file listings. Then to execute it type ./png.py

In other words here are all the necessary commands:

cd /path/to/antibot
ls
./png.py

After you execute ./png.py you should get some output. Please let me know what is the output you get.

Thanks,
Haris
Back to top
View user's profile Send private message
Guest
Guest





PostPosted: Thu Jan 29, 2004 12:14 pm    Post subject: bash output Reply with quote

Hi Haris,

bash-2.05a$ ./png.py
Traceback (innermost last):
File "./png.py", line 275, in ?
createPic()
File "./png.py", line 265, in createPic
comb.addFilesHorizontal(flist, widthlist)
File "./png.py", line 70, in addFilesHorizontal
d.append(d_vert[rand]+zlib.decompress(fdes.read())+d_vert[rand2])
zlib.error: Error -3 while decompressing data: incorrect data check
bash-2.05a$ bash-2.05a$ ./png.py
bash: bash-2.05a$: command not found
bash-2.05a$ Traceback (innermost last):
bash: syntax error near unexpected token `(innermost'
bash-2.05a$ File "./png.py", line 275, in ?
bash: File: command not found
bash-2.05a$ createPic()
> File "./png.py", line 265, in createPic

Thank you,
Brian
Back to top
Guest






PostPosted: Thu Jan 29, 2004 12:48 pm    Post subject: Reply with quote

Thanks Brian, unfortunately I cannot see what is causing zlib to fail from this.

The only thing I can suggest is to give me temporary access to your server so I can take a closer look. If you wish to do so please contact me directly using the form at:

http://vorras.com/contact.html

Thanks,
Haris
Back to top
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Products Forum Forum Index -> Support questions & how to use/enhance Vorras Antibot All times are GMT + 6.5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

Copyright © 2005 Vorras Corporation. All rights reserved.