Jump to content

[Solved] 500 Internal Server Error


llmlazad

Recommended Posts

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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

@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).

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...