Jump to content
The Uniform Server Community

unable to start apache (Windows 2008 R2)


brunog
 Share

Recommended Posts

Hi

 

I'm unable to start apache on a fresh install of Windows 2008 R2, i ran the Apache Syntax Check:

 

httpd_z.exe: Syntax error on line 210 of D:/UniServerZ/core/apache2/conf/httpd.conf: Cannot load D:/UniServerZ/core/php54/icuin51.dll into server: L\x92application n\x92a pas pu d\xe9marrer car sa configuration c\xf4te-\xe0-c\xf4te est incorrecte. Pour plus d\x92informations, consultez le journal d\x92\xe9v\xe9nements d\x92applications ou utilisez l\x92outil de ligne de commande sxstrace.exe.
D:\UniServerZ>
Link to comment
Share on other sites

On a fresh install of Windows 2008 R2 you probably need to installed the Visual C++ 2010 SP1 Redistributable Package x86 : VC10 SP1 vcredist_x86.exe

 

http://www.microsoft.com/en-us/download/details.aspx?id=8328

 

All the best

Ric

Link to comment
Share on other sites

Same issue here, I installed all the latest Updates for Windows 2008 R2, then downloaded 11_0_6_ZeroXI

 

I get the "Apache failed to start" message too.

 

Location of the Uniform Server = C:\UniServerZ

 

if I run httpd_z.exe manually from Command Prompt I get

 

C:\UniServerZ\core\apache2\bin>httpd_z.exe
[Mon Jan 20 14:29:23.871093 2014] [core:warn] [pid 1112:tid 180] AH00111: Config
variable ${US_ROOTF} is not defined
httpd_z.exe: Syntax error on line 44 of C:/UniServerZ/core/apache2/conf/httpd.co
nf: ServerRoot must be a valid directory

 

If I set System Variable US_ROOTF = C:\UniServerZ and run httpd_z.exe again I get


C:\UniServerZ\core\apache2\bin>httpd_z.exe
[Mon Jan 20 14:32:15.058593 2014] [core:warn] [pid 1468:tid 180] AH00111: Config
variable ${AP_PORT} is not defined
[Mon Jan 20 14:32:15.074218 2014] [core:warn] [pid 1468:tid 180] AH00111: Config
variable ${PHP_SELECT} is not defined
[Mon Jan 20 14:32:15.074218 2014] [core:warn] [pid 1468:tid 180] AH00111: Config
variable ${PHP_INI_SELECT} is not defined
[Mon Jan 20 14:32:15.074218 2014] [core:warn] [pid 1468:tid 180] AH00111: Config
variable ${PHP_INI_SELECT} is not defined
[Mon Jan 20 14:32:15.074218 2014] [core:warn] [pid 1468:tid 180] AH00111: Config
variable ${PHP_INI_SELECT} is not defined
[Mon Jan 20 14:32:15.074218 2014] [core:warn] [pid 1468:tid 180] AH00111: Config
variable ${US_SERVERNAME} is not defined
[Mon Jan 20 14:32:15.074218 2014] [core:warn] [pid 1468:tid 180] AH00111: Config
variable ${US_SERVERNAME} is not defined
[Mon Jan 20 14:32:15.074218 2014] [core:warn] [pid 1468:tid 180] AH00111: Config
variable ${US_ROOTF_WWW} is not defined
[Mon Jan 20 14:32:15.074218 2014] [core:warn] [pid 1468:tid 180] AH00111: Config
variable ${US_ROOTF_WWW} is not defined
AH00526: Syntax error on line 66 of C:/UniServerZ/core/apache2/conf/httpd.conf:
Port must be specified

 

Please advice

Link to comment
Share on other sites

Hi ch1

 

All environment variables are set via UniController.exe check settings by running a command prompt (click Server Console button ) from UniController and typing set at the prompt.

 

This lists all environment variables including the ones used by UniServer check they have a valid value set (all those listed in your post as not being defined ).

 

Run Apache from UniController if it fails what is reported in the error log.

 

All the best

Ric

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...