SID-00696: How to Solve the 500 Internet Server Error
| Status: |
Answered |
TWiki version: |
4.3.2 |
Perl version: |
Perl 5.8 |
| Category: |
CategoryInstallation |
Server OS: |
CentOS |
Last update: |
15 years ago |
Hi, I install the twiki 4.3x on the
CentOS that is a virtual server.
My Installation Step is below:
- chown -R apache:apahce /path/to/twiki
- renamed the LocalLib.cfg.txt to LocalLib.cfg and modified the twiki path to the real path.
- renamed the twiki_httpd_conf.txt to the twiki.conf and modified some parameters with this file. Then, added a line into the apache conf file and rebooted the apache.
- renamed the htaccess.txt to .htaccess botht of the root directory and bin folder.
when i run the
http://myip/twiki/bin/configure
, there is the 500 Internet Server Error.
i have tried to install the twiki many times, but the problem is still.
So, anybody can help me solve it .
tks.
BTW, i searched this problem via the search engine but there is not the right solution.
--
MikeKent - 2009-12-29
Discussion and Answer
There is the Apache Log:
[Tue Dec 29 11:37:57 2009] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Dec 29 11:37:57 2009] [notice] Digest: generating secret for digest authentication ...
[Tue Dec 29 11:37:57 2009] [notice] Digest: done
[Tue Dec 29 11:37:57 2009] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Tue Dec 29 11:37:58 2009] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
--
MikeKent - 2009-12-29
The Apache log you specified is unrelated, check for TWiki specific errors.
Check your chown command,
apache:apahce possibly just a typo, should be
apache:apache
I recommend to use the
ApacheConfigGenerator to generate the proper Apache config file for TWiki. Don't use local
.htaccess files.
Don't manually create the
LocalSite.cfg file. Run configure, it will create the file when you save the configuration.
--
PeterThoeny - 2010-01-03
Hi, i have reinstalled it.
- step 1: chown -R apache:apache
- change the LocalLib.cfg.txt to LocalLib.cfg and modified the twiki path.
- create the twiki.cfg via the ApacheConfigGenerator and commented the mod_perl_startup.pl and uploaded it into apache conf path.
- reboot the apache server
- create the htpasswd account that was match with the apache conf file.
- run the http://www.mydomain.com/twiki/bin/configure
the problem is still :
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>401 Authorization Required</title>
</head><body>
<h1>Authorization Required</h1>
<p>This server could not verify that you
are authorized to access the document
requested. Either you supplied the wrong
credentials (e.g., bad password), or your
browser doesn't understand how to supply
the credentials required.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.</p>
<hr>
<address>Apache/2.2.3 (CentOS) Server at www.mydomain.com Port 80</address>
</body></html>
--
MikeKent - 2010-01-04
Again, don't rename the
LocalLib.cfg.txt file, the configure script will create it for you when you save the configuration.
The 401 Authorization Required error indicates that the configure script is under authentication. Remove any
require valid-user you might have in the twiki.conf file. Remove also any local
.htaccess you might have.
--
PeterThoeny - 2010-01-04
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2010-03-04
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.