View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000644 | Apache 2.x | Bug | public | 2015-01-03 14:54 | 2015-01-03 18:40 |
Reporter | estellnb | Assigned To | LewisR | ||
Priority | normal | Severity | block | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | OS/2 | OS | eComstation | OS Version | 2.2 beta |
Product Version | v2.2.0 | ||||
Summary | 0000644: apache2 seems to be unfunctional | ||||
Description | Having unpacked apache2 on C:\ I get the following errors trying to start it: [c:\]bash apache2\bin\apachectl status Unknown command "c:" [c:\]C:\apache2\bin\httpd.exe SYS0002: The system cannot find the file specified. "HTTPD" [c:\]dir C:\apache2\bin\httpd.exe Volume in drive C is ECOSYS Serial number is F156:C5BE Directory of C:\apache2\bin\httpd.exe 7.10.14 0.00 728 124 httpd.exe 728 bytes in 1 file and 0 dirs 4.096 bytes allocated 16.481.923.072 bytes (15GB) free | ||||
Tags | No tags attached. | ||||
Attached Files | envvars (946 bytes)
# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # # # envvars-std - default environment variables for apachectl # # This file is generated from envvars-std.in # ="/apache2/lib:$" export # | ||||
|
The envvars file seems to contain garbage only. I wonder if this is the reason why apache refuses to start. I guess it should define some environment variables. |
|
[c:\]dir C:\apache2\bin\httpd.exe Volume in drive C is ECOSYS Serial number is F156:C5BE Directory of C:\apache2\bin\httpd.exe 7.10.14 0.00 728 124 httpd.exe 728 bytes in 1 file and 0 dirs 4.096 bytes allocated 16.481.914.880 bytes (15GB) free i.e. it is a normal file; I cannot explain the message of above where it was displayed as directory. |
|
Please excuse the report from above; one simply needs to run apache2 in the bin dircetory. |
|
Normally, httpd is started from a script. If not set in your master environment, a minimal script for starting Apache would be something like: x: cd \apache2 set beginlibpath=x:\apache2\bin;x:\apache2\modules; bin\httpd.exe -d . Apache will look in the conf directory relative to what is specified on the command line (which is the reason for the "." on the above line). I thought that a basic startup script was included in the package, but it's been some time since I actually looked (I wouldn't normally overwrite my own startup script, anyway, so during an upgrade, I just copy over what's necessary). |
Date Modified | Username | Field | Change |
---|---|---|---|
2015-01-03 14:54 | estellnb | New Issue | |
2015-01-03 14:57 | estellnb | File Added: envvars | |
2015-01-03 14:57 | estellnb | Note Added: 0002999 | |
2015-01-03 15:11 | estellnb | Note Added: 0003000 | |
2015-01-03 17:47 | estellnb | Note Added: 0003001 | |
2015-01-03 18:40 | LewisR | Note Added: 0003002 | |
2015-01-03 18:40 | LewisR | Status | new => closed |
2015-01-03 18:40 | LewisR | Assigned To | => LewisR |
2015-01-03 18:40 | LewisR | Resolution | open => no change required |