SID-00707: Error "The requested operation has failed"?
| Status: |
Answered |
TWiki version: |
4.3.2 |
Perl version: |
ActivePerl 5.10.1.1006 |
| Category: |
CategoryInstallation |
Server OS: |
Win XP SP2 |
Last update: |
16 years ago |
I just installed TWiki 4.3.2 on Windows XP. I copy pasted a twiki.conf file from the config tool.
When I try to start Apache, I get an error "The requested operation has failed."
When I comment out Include conf/twiki.conf line from httpd.conf then apache starts up with no error.
There's nothing of note in the trace logs.
Someone else in the #twiki channel had the same problem, was on Debian, so I think it's got to be related somehow to twiki.
I have
ActivePerl 5.10.1.1006 and Apache 2.2.14.
I believe I followed the install instructions correctly, but maybe I messed up somewhere? googled the error message but didn't see anything that was helpful.
Any idea what the problem might be?
--
AlecBeaton - 2010-01-07
Discussion and Answer
Test your twiki.conf with the apachectl utility:
apachectl configtest should tell you configuration errors. Details in
http://httpd.apache.org/docs/2.2/programs/apachectl.html
Info on Apache on Windows at
http://www.ricocheting.com/server/apache.html
--
PeterThoeny - 2010-01-07
Thanks Peter. I don't see an apachectl utility in the Windows version. Googled it but don't see where I can download one, or if it even exists. When the twiki.conf include is commented out from httpd.conf, apache starts and I get the It works! page, so it doesn't seem to be an apache problem, per se. Any further advice?
BTW, while I'm in the "playing around" stage with this I need to run it on Windows as I don't have a Linux box available that I can use. If I choose to go with twiki for production use, it'll be running on Linux, but for now it's Win XP.
--
AlecBeaton - 2010-01-08
Never mind re apachectl - for Windows, they "bury" it in a Start menu, called Test Configuration. Duh.
That reports an error in the config file:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not
included in the server configuration
In the twiki.conf file, I see the following:
php_admin_flag engine off
Is it looking for a script called php_admin_flag? I don't see any such anywhere.
--
AlecBeaton - 2010-01-09
If php is not installed (unlikely on Windows) it is safe to remove the flag.
--
PeterThoeny - 2010-01-09
Thanks, that resolves the apache problem with twiki.conf
--
AlecBeaton - 2010-01-09
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.