DeveloperSide.NET Forums
July 13, 2020, 05:46:48 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: Installation Error - Can't get apache to install  (Read 33447 times)
0 Members and 1 Guest are viewing this topic.
wolfdragon_2848
Member
*
Posts: 10


View Profile
« Reply #15 on: September 29, 2004, 01:12:57 PM »

I don't have any VPN software. The only link to the outside world that my computer has is through my cable modem. And I couldn't find any sort of special permissions for extra.pl. Here's the last bit of access.log:

Code:
127.0.0.1 - - [18/Sep/2004:18:56:37 -0500] "GET /PostNuke/javascript/showimages.php HTTP/1.1" 200 472 "http://localhost/PostNuke/admin.php?module=Sections&op=sections" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; Maxthon; SV1; .NET CLR 1.1.4322)"
127.0.0.1 - - [18/Sep/2004:18:56:37 -0500] "GET /PostNuke/javascript/quickbuild.js HTTP/1.1" 304 221 "http://localhost/PostNuke/admin.php?module=Sections&op=sections" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; Maxthon; SV1; .NET CLR 1.1.4322)"
127.0.0.1 - - [18/Sep/2004:18:56:37 -0500] "GET /PostNuke/javascript/tabedit.js HTTP/1.1" 304 221 "http://localhost/PostNuke/admin.php?module=Sections&op=sections" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; Maxthon; SV1; .NET CLR 1.1.4322)"
127.0.0.1 - - [18/Sep/2004:18:56:37 -0500] "GET /PostNuke/javascript/returnnl.js HTTP/1.1" 304 220 "http://localhost/PostNuke/admin.php?module=Sections&op=sections" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; Maxthon; SV1; .NET CLR 1.1.4322)"
127.0.0.1 - - [18/Sep/2004:18:56:37 -0500] "GET /PostNuke/javascript/recover.js HTTP/1.1" 304 220 "http://localhost/PostNuke/admin.php?module=Sections&op=sections" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; Maxthon; SV1; .NET CLR 1.1.4322)"
127.0.0.1 - - [18/Sep/2004:18:56:37 -0500] "GET /PostNuke/javascript/tabedit.js HTTP/1.1" 304 221 "http://localhost/PostNuke/admin.php?module=Sections&op=sections" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; Maxthon; SV1; .NET CLR 1.1.4322)"
127.0.0.1 - - [18/Sep/2004:18:56:37 -0500] "GET /PostNuke/javascript/openwindow.php?hlpfile=modules/Sections/lang/eng/manual.html HTTP/1.1" 200 492 "http://localhost/PostNuke/admin.php?module=Sections&op=sections" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; Maxthon; SV1; .NET CLR 1.1.4322)"
127.0.0.1 - - [18/Sep/2004:18:56:37 -0500] "GET /PostNuke/images/logo.jpg HTTP/1.1" 304 220 "http://localhost/PostNuke/admin.php?module=Sections&op=sections" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; Maxthon; SV1; .NET CLR 1.1.4322)"
127.0.0.1 - - [18/Sep/2004:18:56:37 -0500] "GET /PostNuke/images/link-to/prairie-nut3.jpg HTTP/1.1" 304 221 "http://localhost/PostNuke/admin.php?module=Sections&op=sections" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; Maxthon; SV1; .NET CLR 1.1.4322)"
127.0.0.1 - - [18/Sep/2004:18:56:37 -0500] "GET /PostNuke/images/powered/postnuke.butn.gif HTTP/1.1" 304 220 "http://localhost/PostNuke/admin.php?module=Sections&op=sections" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; Maxthon; SV1; .NET CLR 1.1.4322)"
127.0.0.1 - - [21/Sep/2004:17:16:53 -0500] "GET /PostNuke/index.php HTTP/1.1" 200 2562 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; Maxthon; SV1; .NET CLR 1.1.4322)"
127.0.0.1 - - [21/Sep/2004:17:17:35 -0500] "GET /PostNuke/themes/PrairieNut/style/styleNN.css HTTP/1.1" 200 894 "http://localhost/PostNuke/index.php" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; Maxthon; SV1; .NET CLR 1.1.4322)"
127.0.0.1 - - [21/Sep/2004:17:17:36 -0500] "GET /PostNuke/themes/PrairieNut/style/style.css HTTP/1.1" 200 978 "http://localhost/PostNuke/index.php" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; Maxthon; SV1; .NET CLR 1.1.4322)"
127.0.0.1 - - [21/Sep/2004:17:17:37 -0500] "GET /PostNuke/javascript/showimages.php HTTP/1.1" 200 472 "http://localhost/PostNuke/index.php" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; Maxthon; SV1; .NET CLR 1.1.4322)"
127.0.0.1 - - [21/Sep/2004:17:17:42 -0500] "GET /PostNuke/javascript/quickbuild.js HTTP/1.1" 200 36884 "http://localhost/PostNuke/index.php" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; Maxthon; SV1; .NET CLR 1.1.4322)"
127.0.0.1 - - [21/Sep/2004:17:17:45 -0500] "GET /PostNuke/javascript/tabedit.js HTTP/1.1" 200 10897 "http://localhost/PostNuke/index.php" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; Maxthon; SV1; .NET CLR 1.1.4322)"
127.0.0.1 - - [21/Sep/2004:17:17:46 -0500] "GET /PostNuke/javascript/returnnl.js HTTP/1.1" 200 998 "http://localhost/PostNuke/index.php" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; Maxthon; SV1; .NET CLR 1.1.4322)"
127.0.0.1 - - [26/Sep/2004:22:57:00 -0500] "GET /PostNuke/index.php HTTP/1.1" 200 0 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2; Maxthon; SV1; .NET CLR 1.1.4322)"
Logged
wolfdragon_2848
Member
*
Posts: 10


View Profile
« Reply #16 on: October 04, 2004, 12:22:39 AM »

Anyone have any ideas about what I should do?
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #17 on: October 04, 2004, 02:15:49 AM »

Try inserting, into httpd.conf, near the bottom...
Code:

EnableSendfile Off
EnableMMAP Off
Win32DisableAcceptEx


Reboot.

Aside from that, something on your system is causing this, something you have in common with the original poster.

Would you want to consider formatting and re-installing Windows?
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #18 on: October 04, 2004, 02:17:30 AM »

Of course, you could also just take out the mod_perl part out of httpd.conf.

The Web-Server Suite will function without it just fine.  Its just another add-on.
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #19 on: October 04, 2004, 03:27:47 PM »

BTW, what older package did you have installed? And where?

Because it does not make any sense...

You have requests recorded under C:\www\Apache2\logs\access.log but your Apache never starts? And some of those requests are from a while back. And if you installed (or upgraded) our Web-Server Suite, those logs will be clean.

It almost seems to me that you have two installations of Apache.

Let me ask you this, have you installed anything like PostNuke into C:\www\webroot ?  Or anything else, after installing out Web-Server Suite?

It might also help a lot if we could take a loook into your error.log
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #20 on: October 04, 2004, 03:55:19 PM »

Hmmm, could it be that you already have our Web-Server Suite installed...  Apache2 and MySQL Services Installed and running...  And are trying to install and start those Services for the second time?
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #21 on: October 04, 2004, 04:05:37 PM »

Run 'services.msc', go through every line, whether it says "Apache2", "Apache", "AppServ", or anything else that looks like something you might have installed.

The more I think about this, the more it looks like you might have "some-service-name" installed that is conflicting with our Apache.

And how are you "installing and starting" our Apache2 Service?

Code:

C:\www\Apache2\bin> apache -k install
C:\www\Apache2\bin> net start Apache2


..on which part does the error occur?

Have you checked...
http://localhost
http://127.0.0.1
...to make sure nothing comes up?
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
wolfdragon_2848
Member
*
Posts: 10


View Profile
« Reply #22 on: October 04, 2004, 11:47:29 PM »

Whoa, too many messages  :?

Anyways...

I had version 1.10 installed before under C:\www\. It suddenly stopped working one day (the day I installed SP2) but I just thought that it needed to be upgraded. I did have PostNuke installed on 1.10. I upgraded the package to 1.12 but then Apache wouldn't start so then I came here for help...and well, you know the rest.

I've been installing and starting Apache in the exact same way that you described and the error occurs when I would try to "install" it. Nothing would come up whenever I typed in either http://localhost or http://127.0.0.1

I tried inserting

Code:
EnableSendfile Off
EnableMMAP Off
Win32DisableAcceptEx


into httpd.conf but that didn't work so then I removed the mod_perl part. Now Apache starts up fine and I can access localhost but now my PostNuke won't work. So does this mean that PostNuke needs the mod_perl part and I now have to put it back in?

Boy, I'm in way over my head, aren't I?
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #23 on: October 05, 2004, 07:44:14 PM »

Quote

It suddenly stopped working one day (the day I installed SP2)


Yes, SP2 came with a native firewall software that would need to be manually configured to pass ports 80, (443 -- SSL), and 3306.
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
wolfdragon_2848
Member
*
Posts: 10


View Profile
« Reply #24 on: October 06, 2004, 03:20:46 AM »

Yeah, I figured that out after a while. But it still wouldn't work even after I configured it to make an exeption for ports 80 and 3306.

I don't know what to do now. It's great that Apache working again but I pretty much only wanted it for my PostNuke and now that's all screwed up...
Logged
dale_j
Member
*
Posts: 1


View Profile
« Reply #25 on: October 08, 2004, 08:01:34 AM »

Quote from: "minghia"
Hey guys, I just downloaded the self-extracting, self-installing pack from the website, and followed through the setup, but got this message in the middle of setup "The procedure entry point modperl_apr_strerror could not be located in the dynamic link library mod_perl.so."


I have this problem as well. I read through the rest of this thread and have tried the various relevant bits except removing the mod_perl ref. [I did that when all else failed...  :-)  ] There is no other perl installed on this machine. The path has D:\www\perl\bin; as the first entry (The complete installation was into D:\www).

Changing directory to <apache>.conf and running
Code:
perl extra.pl
to see what interesting error messages turn up gets:

Code:
Perl lib version (v5.8.2) doesn't match executable version (v5.8.4) at D:/www/perl/lib/Config.pm line 32.
Compilation failed in require at D:/www/perl/lib/DynaLoader.pm line 25.
BEGIN failed--compilation aborted at D:/www/perl/lib/DynaLoader.pm line 25.
Compilation failed in require at D:/www/perl/site/lib/ModPerl/Const.pm line 3.
BEGIN failed--compilation aborted at D:/www/perl/site/lib/ModPerl/Const.pm line 3.
Compilation failed in require at D:/www/perl/site/lib/Apache/Const.pm line 3.
BEGIN failed--compilation aborted at D:/www/perl/site/lib/Apache/Const.pm line 3.
Compilation failed in require at extra.pl line 10.
BEGIN failed--compilation aborted at extra.pl line 10.


As a sidenote, commenting out the mod_perl  references in httpd.conf does allow apache to be installed. Tests work except cgi-bin.

Where would that perl lib be? There is nothing with an obvious name in the windows system directories. These lines in httpd.conf:
Code:
LoadFile "/www/perl/bin/perl58.dll"
#LoadModule perl_module modules/mod_perl.so
#PerlRequire "/www/Apache2/conf/extra.pl"
...
Do they imply perl58.dll has a problem?
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #26 on: October 08, 2004, 06:40:02 PM »

Thats quite interesting...

On first glance, I would assume that the posted errors imply that your system contains an older version of perl58.dll

Try running "perl -v" from different paths.
(probably not that useful -- as the version displayed might come from perl.exe and not perl58.dll)

And have you done a system wide search (Start >> Search...) for 'perl58.dll' (search for 'Config.pm' too) ?

Also, do you have Cygwin installed?
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #27 on: October 08, 2004, 06:44:41 PM »

Also, run DependencyWalker against your <drive:>\www\perl\bin\perl.exe and we will see what libs/dlls it is trying to load, and from where...
http://www.dependencywalker.com/

I would first run it with the Apache Service stopped.

You might also be able to "profile" it with 'perl extra.pl'
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #28 on: October 09, 2004, 01:15:48 AM »

Another thought...

I have noticed that some files/dirs under Perl -- such as Config.pm and any files under <drive:>\www\perl\lib and <drive:>\www\perl\site\lib -- have had “read-only” permissions set.

If perl58.dll or any other files (including config files) are "read-only", and the user upgrades the Web-Server Suite from an earlier version -- under some circumstances -- the older “read-only” files might not be written over and would remain.  That is, if the user were NOT to delete/move/rename the older 'www' dir before "upgrading".
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!