DeveloperSide.NET Forums

DeveloperSide.NET => Anything else goes here => Topic started by: the5threvolution on April 03, 2007, 06:47:46 AM



Title: Apache Unable to Start After Installing Oracle DB 10g
Post by: the5threvolution on April 03, 2007, 06:47:46 AM
Hello,

Thank you for the great program which reduces my work of configuring php, mysql, apache all separately.

When I installed the program several days ago, it worked fine. It's been working fine until I installed Oracle Database 10g on my system.
Apache 2.2 gives the status of Error[1], and the error log says
[Tue Apr 03 02:21:21 2007] [error] Can't load Perl file: /www/Apache22/conf/Suite-extra/perl_extra.pl for server localhost:80, exiting...
When I try to log localhost or 127.0.0.1, it simply says that Internet Explorer cannot display the webpage.
I'm suspecting that Oracle and WDC both trying to start their own server on the same ip address (my own computer) is causing the trouble???

Right now, Oracle is running on my computer's IP address 192.168.1.1, which WDC displays under "system information" as my IP address (192.168.1.1(private)).

I was wondering what the solution might be.
Thank you.


Title: Re: Apache Unable to Start After Installing Oracle DB 10g
Post by: admin on April 03, 2007, 12:16:53 PM
From the command line, run...

httpd -k start
httpd -t

What is the output?


Title: Re: Apache Unable to Start After Installing Oracle DB 10g
Post by: the5threvolution on April 03, 2007, 02:38:31 PM
Hello,

httpd -k start does not give me anything.

httpd -t gives me
Syntax OK

Thank you very much for your help!


Title: Re: Apache Unable to Start After Installing Oracle DB 10g
Post by: admin on April 03, 2007, 04:12:49 PM
You can try binding apache to a different port...
Edit \www\Apache22\conf\httpd.conf
Change line 'Listen 80' to 'Listen 8080', save file, restart Apache. Check URL localhost:8080


Title: Re: Apache Unable to Start After Installing Oracle DB 10g
Post by: the5threvolution on April 03, 2007, 11:03:21 PM
Thank you very much for your help.

Although changing the port did not help, by commenting out the following lines:
httpd.conf
#Include conf/extra/httpd-dav.conf

components.conf
#Include conf/Suite-extra/mod_perl.conf

I was able to start the server and run apache + php.

I'm not sure why perl would be giving me a problem, but all I needed to do was to run php + mysql, it would do for now.

I don't know what the problem might be but until I have to use perl, I guess this would be good.

Thank you very much for your help and time.


Title: Re: Apache Unable to Start After Installing Oracle DB 10g
Post by: sd on May 02, 2007, 06:05:41 PM
I had Oracle DB 10g installed, along with MSSQL Server 2005 on XP Professional SP2 and then installed the current devside package.  I also received the same perl load error in the error log.  Commenting out the perl load was the only thing that allowed apache to successfully start.

Oracle DB 10g is installed but not running and I have the same error.  So, given that it was working for you, it might not be a coincidence and somehow related to Oracle.

I might try uninstalling Oracle...using a different perl...So far no solution to load perl, unless there's a way to load it after apache is loaded?

I see this as a machine issue since apache with perl as packaged in devside works fine for me on two other machines.  Any other ideas or information? 


Title: Re: Apache Unable to Start After Installing Oracle DB 10g
Post by: admin on May 02, 2007, 07:35:23 PM
What does 'perl -v' display?


Title: Re: Apache Unable to Start After Installing Oracle DB 10g
Post by: sd on May 03, 2007, 12:15:39 AM

C:\www\Apache22\bin>perl -v

This is perl, v5.8.8 built for MSWin32-x86-multi-thread

Copyright 1987-2006, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.


C:\www\Apache22\bin>


Title: Re: Apache Unable to Start After Installing Oracle DB 10g
Post by: admin on May 03, 2007, 01:38:29 AM
Ok. Try editing your system path, and moving anything Oracle related to the very end. Maybe some DLL with the same name is being loaded.


Title: Re: Apache Unable to Start After Installing Oracle DB 10g
Post by: sd on May 03, 2007, 02:47:07 AM
Same issue. 
I will probably end up uninstalling Oracle 10g after a few more experiments to see if it's really the issue.  I did change the path environment variable, tried it without success, then reboot, tried it etc. 
Also, usefully, from a command line I saw devside set %webdev%.
So, I tried the set path=%webdev%;path and even set path=%webdev% before attempting a command-line start as or not as a service (httpd -k start / httpd -k runservice)
I appreciate any feedback or ideas.  I'm going to switch over to using sysinternals filemon and regmon and see if I can identify something obvious that prevents the start.  I did set the apache web log to debug but it's not giving any more info--is there something similar on the perl side to get more debugging info?


Title: Re: Apache Unable to Start After Installing Oracle DB 10g
Post by: admin on May 03, 2007, 03:12:01 AM
No, nothing like that on the perl side, as far as I know.

Though perl will still work, it's just that some of those perl modules will not be pre-loaded. Nothing to really worry about here.


Title: Re: Apache Unable to Start After Installing Oracle DB 10g
Post by: sd on May 03, 2007, 08:53:08 PM
I can see how perl would still work; but, I don't see how to get this to work:
http://localhost/perl-status


Title: Re: Apache Unable to Start After Installing Oracle DB 10g
Post by: admin on May 04, 2007, 02:14:56 AM
In that case, the problem seems to be deeper than I originally thought.