Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

unable to start apache (Windows 2008 R2)

Featured Replies

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>

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

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

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

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...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.