Impossible to make Apache runs

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Impossible to make Apache runs

Postby for learning » 16. January 2011 00:04

Hello, I need some help please.

I have installed xampp, but I can´t make Apache works. I have tried everything I have come up and I have read.
I have deactivated firewalls and some antivirus. I have configurated Apache to use server 8080.
I am not using server ISS.
I managed to access Apache through localhost before I had to restart my computer. Even then Apache didn´t start running at control panel.
Now I neither get it to run nor I can access Apache through localhost.

Any help, please??

Regards.
for learning
 
Posts: 10
Joined: 29. November 2010 18:55

Re: Impossible to make Apache runs

Postby Sharley » 16. January 2011 00:07

Any clues in the Apache error log file?
I have configurated Apache to use server 8080.
Why did you do this before you found out why default port 80 and or port 443 didn't work?
viewtopic.php?f=16&t=43985
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Impossible to make Apache runs

Postby for learning » 16. January 2011 00:20

Hello agaun. Thank you for your reply.

I have checked that file out. These are the last files :
Code: Select all
[Sat Jan 15 12:41:42 2011] [notice] Child 3776: Child process is exiting
[Sat Jan 15 12:41:42 2011] [notice] Parent: Child process exited successfully.
[Sat Jan 15 12:41:44 2011] [notice] Digest: generating secret for digest authentication ...
[Sat Jan 15 12:41:44 2011] [notice] Digest: done
[Sat Jan 15 12:41:45 2011] [notice] Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
[Sat Jan 15 12:41:45 2011] [notice] Server built: Nov 11 2009 14:29:03
[Sat Jan 15 12:41:45 2011] [notice] Parent: Created child process 5112
[Sat Jan 15 12:41:48 2011] [notice] Digest: generating secret for digest authentication ...
[Sat Jan 15 12:41:48 2011] [notice] Digest: done
[Sat Jan 15 12:41:50 2011] [notice] Child 5112: Child process is running
[Sat Jan 15 12:41:50 2011] [notice] Child 5112: Acquired the start mutex.
[Sat Jan 15 12:41:50 2011] [notice] Child 5112: Starting 150 worker threads.
[Sat Jan 15 12:41:50 2011] [notice] Child 5112: Starting thread to listen on port 443.
[Sat Jan 15 12:41:50 2011] [notice] Child 5112: Starting thread to listen on port 8080.
El proceso ha intentado escribir en una canalizaci¢n que no existe.
El proceso ha intentado escribir en una canalizaci¢n que no existe.
El proceso ha intentado escribir en una canalizaci¢n que no existe.
[Sat Jan 15 13:13:04 2011] [error] [client 127.0.0.1] script 'I:/xampp/xampp/htdocs/aboutus.php' not found or unable to stat
[Sat Jan 15 13:22:04 2011] [error] [client 127.0.0.1] File does not exist: I:/xampp/xampp/htdocs/corner.jpg, referer: http://localhost:8080/aboutus.php
..
..

similar to the last ones are repeated almost hundreds of times. They are files that I haven´t touched yet, just moved in, into htdocs file.
I couldn´t find out why 80 port didn´t work, in fact I wasn´t sure that was the problem. I tried everything, and I thought there wouldn´t be any problem changing the port.I was stuck, as I am now.:D
I think I could change the port again if necessary, couldn´t I?
Thanks again

Regards.
for learning
 
Posts: 10
Joined: 29. November 2010 18:55

Re: Impossible to make Apache runs

Postby Sharley » 16. January 2011 00:46

Because I don't know what else you have changed to try and get XAMPP to work, may I suggest that you revert all you configuration files to their installed default values.

You have this in the error.log file:
El proceso ha intentado escribir en una canalizaci¢n que no existe.
which I don't understand but can guess it is pipe related.

You have files not found by the server, so make sure that the paths to these files are absolutely correct.

When Apache and MySQL are running and showing green in the XAMPP Control Panel what do you see when you type in your browser http://localhost/xampp/index.php
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Impossible to make Apache runs

Postby for learning » 16. January 2011 01:07

Hi,
thank you.
Yes, I have reverted all configurations changes I had done. All except one, the password in config.inc.php, because I had already changed it at phpmyadmin, to where I can´t access now.(In fact this is another issue because it was just after changing the phpmyadmin password that I decided to restart the computer as I couldn´t enter phpmyadmin(I don´t know why, I bet both passwords matched(at the file and at phpmyadmin)).
So just after restarting the computer I couldn´t enter localhost again, as I told you.
So now it is pointing to port 80 again.
You are right about the pipe relating matter. It is about paths that can not be found.
I know now what those files are( the ones the server can´t find. They are images related to some pages/files that I have been working on but that are not within htdocs.)
I have been thinking after reading a bit more about this issue, that I installed xampp some months ago, and I did that into Program files directory(Afterwards I uninstalled it, of course). Now as the apache´s friends site recommends, I have installed it in another directory. I wonder if that may cause some problem.

Thank you again.
p.s.sorry about my English:)
for learning
 
Posts: 10
Joined: 29. November 2010 18:55

Re: Impossible to make Apache runs

Postby Sharley » 16. January 2011 01:13

Your English is just fine. :)

for learning wrote:I have installed it in another directory. I wonder if that may cause some problem.
Only if you failed to also tell your scripts and configurations that XAMPP is now in a different location.
When you relocated XAMPP did you run the \xampp\setup_xampp.bat file?
Did you also reconfigure the paths in your scripts as the above bat file only handles it's own XAMPP files and configurations.

What does running \xampp\xampp-portcheck.exe give about ports 80 and 443 ?
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Impossible to make Apache runs

Postby for learning » 16. January 2011 01:28

Hi,


Sharley wrote:When you relocated XAMPP did you run the \xampp\setup_xampp.bat file?


I am not completly sure but I think I didn´t; in fact I don´t remember where it is.I think I run it during the previous installation but not now.

Sharley wrote:What does running \xampp\xampp-portcheck.exe give about ports 80 and 443 ?


It says both are free.

Thanks again.
for learning
 
Posts: 10
Joined: 29. November 2010 18:55

Re: Impossible to make Apache runs

Postby Sharley » 16. January 2011 01:31

Run \xampp\setup_xampp.bat file now and try and use most of the default settings.

After running the bat file try and start Apache and MySQL again.

Good luck :)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Impossible to make Apache run

Postby for learning » 16. January 2011 01:58

Hi,

I remember now, I had already run this, sorry not having told you before.

After running it, now it seems I have "enabled" all the settings, except IPv6 only(current:Pv4) which doesn´t change and remains asking me if I want to "enable" it.
Apache doesn´t run at control panel. :(

Thank you again!
for learning
 
Posts: 10
Joined: 29. November 2010 18:55

Re: Impossible to make Apache runs

Postby Sharley » 16. January 2011 02:26

OK, I think it may be best if you uninstall XAMPP and start over with a clean default installation as it maybe there is some corruption somewhere hampering our moving forward.

First make sure that there are no ticks in any of the Svc check boxes and all buttons show Start.

Close the XAMPP Control Panel.

Now save all your own files that are in the htdocs folder but don't save any XAMPP files or folders.

Now delete the xampp folder completely.


Re-start your PC to make sure there are no issues with starting your PC.

Next install XAMPP to the root of a drive - I:\ for example and the install script will create I:\xampp do not add xampp or you will get i:\xampp\xampp which although will work is not recommended.

Now run I:\xampp\setup_xampp.bat file and at item 5 select auto for the IPv setting.

Go through and select what you need but do not enable mod_perl item 6 unless you know for sure that your perl scripts need it and most don't need it.

Next run the XAMPP Control Panel and try and start Apache and MySQL before attempting to do anything else as we want to test the default installation.

If you get both to show the green running indication then type in your browser http://localhost and let me know back what you see and also if you get this far.

Good luck :)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Impossible to make Apache runs

Postby for learning » 16. January 2011 03:57

IT works!!!
Hehe. Thank you so much.
Your explanations have been really good!
When I type http://localhost in my browser it takes me to XAMPP. Now I know I can manage all the applications from there.
I hope I don´t have any more problems to configurate a new password to phpmyadmin, although maybe they were originated by the lack of "good" conexion to the server. I think I know how to do it well.
Thank you very very much again!
I hope also to keep moving forward :arrow: :D
Well, I don´t know if you wanted to tell me anything else about the installation. I will come back to see.
My best regards
for learning
 
Posts: 10
Joined: 29. November 2010 18:55

Re: Impossible to make Apache runs

Postby Sharley » 16. January 2011 05:24

There is no more to say about it as you are happy and I am happy that you are happy :D

You're learning well but if you get stuck again please feel free to ask away on these forums.

Good luck and my best wishes. :)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: Impossible to make Apache runs

Postby for learning » 16. January 2011 14:17

Thank you!
good luck too:)
for learning
 
Posts: 10
Joined: 29. November 2010 18:55


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 96 guests