SID-00729: Installation problem, Apache does not restart
| Status: |
Answered |
TWiki version: |
4.3.2 |
Perl version: |
5.10.1.1006 |
| Category: |
CategoryInstallation |
Server OS: |
Windows XP |
Last update: |
14 years ago |
I'd like to get TWiki running locally on Windows. I followed a few times the guide on
TWiki04x02WindowsInstallationGuide. No success up until now. Also tried under XAMPP. Problem: Apache doesn't start. If I comment out the Include command for twiki.conf in the httpd.conf, Apache starts. But when I then call "http://localhost/twiki/bin/configure" (or "... configure.pl") I get the 404 browser message "The requested URL /twiki/bin/configure was not found on this server." The Apache log has no according entries. Do you have any hint for solving this problem?
A big Thank You in advance!
Marcel
--
TWikiGuest - 2010-01-23
Discussion and Answer
Sometimes when Apache fails to start after configuration, there are no errors in its log simply is died before it could get that far. In that case, it help to check for errors at the command line:
- to test the config (your path will vary):
D:\Apache2.2\bin\httpd.exe -w -t -f "D:\Apache2.2\conf\httpd.conf" -d "D:\Apache2.2\."
- To start it:
D:\Apache2.2\bin\httpd.exe -w -f "D:\Apache2.2\conf\httpd.conf" -d "D:\Apache2.2\."
--
SeanCMorgan - 2010-01-25
Thank you, Sean, for your reply. I'll test your suggestions next week.
--
TWikiGuest - 2010-02-01
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
Hi, I got the same error using the same procedure. I am installing TWiki 4.3.2 in XAMPP 1.7.3. This is error log from Apache,
[Fri Apr 30 14:06:07 2010] [notice] Child 3512: Starting thread to listen on port 80.
Variable "$localLibFailure" will not stay shared at C:/xampp/htdocs/twiki/bin/configure.pl line 172.
Variable "$sanityStatement" will not stay shared at C:/xampp/htdocs/twiki/bin/configure.pl line 522.
Variable "$badLSC" will not stay shared at C:/xampp/htdocs/twiki/bin/configure.pl line 543.
Variable "$expertsMode" will not stay shared at C:/xampp/htdocs/twiki/bin/configure.pl line 603.
Variable "$scriptName" will not stay shared at C:/xampp/htdocs/twiki/bin/configure.pl line 616.
[Fri Apr 30 14:06:11 2010] [error] [Fri Apr 30 14:06:11 2010] -e: Insecure dependency in eval while running with -T switch at C:\\xampp\\htdocs\\twiki\\lib/TWiki/Configure/Checker.pm line 197.\n
I give extension .pl to all Perl scripts in lib dir. So, I access the URL in this form,
http://localhost/twiki/bin/configure.pl
The introduction page is displayed, mentioning "General path settings", but I can't do nothing there.
Any suggestion?
--
TheresiaFreska - 2010-04-30
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-06-14
Have you solved those error messages? I'm trying to install TWiki 5.0.1 version and I got them too. I'll appreciated your help!
--
RobertoOFC - 2011-04-26
The message "Variable $localLibFailure will not stay shared" is likely caused by running configure under mod_perl. Disable mod_perl for the configure script. Alternatively, you could change 'my' to 'local our' in the configure script for all variable declarations.
--
PeterThoeny - 2011-04-26
I believe I may have a solution. I have configured the config file in the apache folder so apache is pointed to our network shared server instead of the default localhost. The server went down and xampp apache woult start then as it didn't find the directory, it would promptly stop, so make sure that Apache has acess to the files where it is pointed to.
--
BenjaminGearhart - 2011-05-01
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.