problem with apache as service

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

problem with apache as service

Postby nicolas.poulain » 10. December 2008 21:38

Hi

I tri to install Apache as a service but I can't :(

I have tried by clicking the SVC check in Xampp control panel and by starting the file apacheinstallservice.bat

The two times it seem's to be the same result :
- apache2.2 is really in the list of the MS-services
- but it can't start with the following message
Code: Select all
Installing Apache2.2 as an service
Installing the Apache 2.2 service
the apache2.2 service is succefully installed
Testing httpd.conf
Errors reported here must be corrected before the service can be started
Now we start apache2.2
le service apache2.2 démarre
le service n'a pas pu être lancé
une erreur spécifique s'est produite : 1.
vous obtiendrez une aide supplémentaire en entrant NET HELPMSG 3547.


What can I do to resolve ?

Nico
nicolas.poulain
 
Posts: 10
Joined: 10. December 2008 21:26

Re: problem with apache as service

Postby Wiedmann » 10. December 2008 21:51

Read the Windows eventlogs (system and application).
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: problem with apache as service

Postby nicolas.poulain » 10. December 2008 22:02

In apache error.log nothing appear
Where are the win logs ?

Nico

PS : apache -t > all is fine and correct
nicolas.poulain
 
Posts: 10
Joined: 10. December 2008 21:26

Re: problem with apache as service

Postby Wiedmann » 10. December 2008 22:04

Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: problem with apache as service

Postby nicolas.poulain » 10. December 2008 22:18

Thanks ;)

The message is :
Directory X:/.... path is invalid

X:\ is a network drive !

I have the following configuration in httpd.conf (really in extra/httpd-xampp.conf)
Code: Select all
Alias /test "X:/cl_test/"
<directory "X:/cl_test">
AllowOverride AuthConfig
Order allow,deny
Allow from all
</directory>


Is it impossible to work with a network drive ?

A lot of thanks
Nico
nicolas.poulain
 
Posts: 10
Joined: 10. December 2008 21:26

Re: problem with apache as service

Postby Wiedmann » 10. December 2008 22:24

Is it impossible to work with a network drive ?

Yes and no... Services can't work with network drive mappings. Use the UNC paths ("//server/share/path") instead.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: problem with apache as service

Postby glitzi85 » 10. December 2008 22:26

For explanation WHY Services can not work with mapped drives:

Network Drives are connected when logging on to the PC, using the credentials of the current user to map the drives. The services are normally started when the computer is booting, so before the user is logged on. That's the reason why it is not possible to use the drive letters.

glitzi
User avatar
glitzi85
 
Posts: 1920
Joined: 05. March 2004 23:26
Location: Dahoim

Re: problem with apache as service

Postby nicolas.poulain » 10. December 2008 22:39

Wiedmann wrote:
Is it impossible to work with a network drive ?

Yes and no... Services can't work with network drive mappings. Use the UNC paths ("//server/share/path") instead.


The same thing for mysql :
datadir="//TEST/dir/mysql_data"

Nico
nicolas.poulain
 
Posts: 10
Joined: 10. December 2008 21:26

Re: problem with apache as service

Postby nicolas.poulain » 10. December 2008 23:02

What become the absolute path when you do that ?

If I do an include("//TEST/dir/file.php") it doesn't work :(

More any good idea ;)

Nico
nicolas.poulain
 
Posts: 10
Joined: 10. December 2008 21:26

Re: problem with apache as service

Postby nicolas.poulain » 10. December 2008 23:08

nicolas.poulain wrote:What become the absolute path when you do that ?

If I do an include("//TEST/dir/file.php") it doesn't work :(

More any good idea ;)

Nico


Sorry work fine with that :\
Thanks for all

So CollectionLibre from http://www.collectionlibre.org can now work fine with XAMPP as servcies :D

Nico
nicolas.poulain
 
Posts: 10
Joined: 10. December 2008 21:26


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 122 guests