500 Internal Server Error (417)

1 Name: !WAHa.06x36 2005-02-21 17:46 ID:FqgLpoAw (Replies) [Del]

Since 500 Internal Server Errors aren't ever really caused by Wakaba or Kareha themselves, but are still a big problem for lots of people, I'm setting up this thread to discuss various problems and solutions related to them.

401 Name: Anonymous : 2014-03-11 06:04 ID:da2YkrVi [Del]

>400

Solved. :)

402 Name: squidcats!0Fu5OhBuIE : 2014-04-21 19:14 ID:KRu4bPMG [Del]

thanks
trying it out

403 Name: Anonymous : 2014-09-16 20:12 ID:MHRs8Ptu [Del]

When I access kareha.pl through a browser, it just shows plain text and doesn't do anything. I'm a complete noob when it comes to this stuff, anyone know any causes of this?

404 Post deleted by moderator.

405 Post deleted by moderator.

406 Post deleted by user.

407 Name: Anonymous : 2016-01-27 14:57 ID:fBHv6Ioj [Del]

Alright, so I've just chmodded my Kareha directory to 777, all the subdirectories to 777, and my scripts to 755. When I run kareha.pl, It generates index.html, index.rss, and subback.html, but it spits out a 500 error afterwords.

In my Apache log, there were these two lines that generated any time I made a request for index.html or kareha.pl:

[Wed Jan 27 12:48:26.628422 2016] [cgid:error] [pid 16453] (13)Permission denied: AH01241: exec of '/var/cgi-bin/kareha/index.html' failed
[Wed Jan 27 12:48:26.631729 2016] [cgid:error] [pid 1029] [client 192.168.1.243:57408] End of script output before headers: index.html

Now, as you may notice, I'm running cgi-bin out of /var/cgi-bin/ instead of /var/www/html/cgi-bin/. Could this have something to do with my problem? Basic hello world scripts work fine.

This is driving me crazy. What's even the problem here?

408 Name: !WAHa.06x36 : 2016-01-27 17:15 ID:Heaven [Del]

cgi-bin directories are usually set to try and execute every file. This is not compatible with how kareha works, it needs to be run from a directory where only .pl files are set to use cgi-handler.

409 Name: Anonymous : 2016-01-27 22:25 ID:fBHv6Ioj [Del]

>>408
I see. So would the standard /var/www/html suffice?

410 Name: !WAHa.06x36 : 2016-01-28 00:39 ID:Heaven [Del]

>>409

You'll have to enable cgi-handler for pl files, but other than that, yes.

411 Name: Anonymous : 2016-01-28 03:07 ID:fBHv6Ioj [Del]

>>410
Alright, thanks. I've now gotten to the error that >>26 posted about, and up there you said that it would require some tweaking to work with mod_perl, which is what I'm using. What would be the easier way than that?

412 Name: !WAHa.06x36 : 2016-01-29 09:50 ID:Heaven [Del]

>>411

Use mod_cgi.

413 Name: Anonymous : 2016-01-29 14:01 ID:WTy6LpOU [Del]

>>412

Alright, thanks!

So what would I have to reconfigure to use mod_cgi instead of mod_perl?

414 Post deleted by moderator.

415 Post deleted by moderator.

416 Post deleted by moderator.

417 Name: Wakaba error : 2017-07-23 12:25 ID:RbGs79dL [Del]

While running Wakaba on my apache server I was unable to even get a proper page.

Browser page:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at [email protected] 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.

ERROR LOG:
[Sun Jul 23 05:16:02.667311 2017] [cgi:error] [pid 2024:tid 1076] (OS 2)The system cannot find the file specified. : [client 98.29.204.188:47451] couldn't create child process: 720002: wakaba.pl

What can I do to fix this?

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: