Jump to content

Recommended Posts

Posted (edited)

Hi, I just got my Ricky server today, but I wasn't able to run anything.

 

 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@llmlazad.heliohost.org to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

 

 

I get "suexec policy violation" on the errors log.

 

my files permission seems right also...

public_html permission at 750

cgi-bin permission at 755

index.html permission at 644

Edited by llmlazad
Posted (edited)

oh, the index.html has to be placed outside of cgi-bin, weird i remember on other server i put it inside cgi-bin,

 

but i still can't run test.py inside cgi-bin, which i followed from https://www.helionet.org/index/topic/29540-total-beginner-need-help-running-a-python-script/

 

oh i can run test.py now, but it's weird how i did it,

 

the shebang was #!/usr/bin/python3.6 which I copied and it can't run with 500 Internal Server Error,

 

just now i changed it to #!/usr/bin/python and it can run, then I changed it back to 3.6 and surprising it is able to run  :blink:

 

so it's all good now, thank you!

Edited by llmlazad
Posted

@Sohamb03: More likely it was due to line endings. The server is very picky about them, if you use Windows line endings it just doesn't work. New accounts will never generate 500 errors just because they're new. If it's due to incomplete setup, it'll be either queued or on rare occasion a 403 or 404 error (happens when Apache and DNS are ready to go, but public_html is inaccessible or doesn't exist).

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...