|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Apache 2 problems
I am running OpenBSD 5.8 amd64 and just installed Apache2 from the packages collection. When I try and run apachectl configtest it gives this error
Code:
root / # apachectl configtest httpd: unknown option -- t usage: httpd [-dnv] [-D macro=value] [-f file] Code:
root / # apachectl start /usr/sbin/apachectl start: httpd started root / # apachectl stop /usr/sbin/apachectl stop: httpd (no pid file) not running Which brings me to another issue. There is a httpd2.conf located in /usr/local/share/examples/apache2/conf/ and another one in /etc/apache2/. Apache is reading from the /usr/local/share/examples/apache2/conf location. Should it not default to /etc? |
|
|||
Did some digging and found there is /usr/sbin/apachectl and /usr/local/sbin/apachectl2. Apachectl2 works as expect. Why the first one is included I'll never know.
Code:
-r-xr-xr-x 1 root bin 7629 Mar 5 2014 /usr/sbin/apachectl |
|
|||
You didn't follow the upgrade instructions when you upgraded? The older versions of OpenBSD used to have Apache in the base and that's where your extra apachectl file is probably from.
|
|
||||
Hello, and welcome!
The removal of OpenBSD's custom Apache 1.3 was discussed in the OpenBSD 5.6 Upgrade Guide. http://www.openbsd.org/faq/upgrade56.html#ToPorts discusses the removal http://www.openbsd.org/faq/upgrade56.html#RmFiles lists the specific files to delete. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Apache v2.0 vs. v2.2+ with SSL | rtwingfield | FreeBSD Ports and Packages | 3 | 20th June 2010 05:26 PM |
Apache 2.2.14 and PHP | mgreen | NetBSD Package System (pkgsrc) | 0 | 27th January 2010 11:06 AM |
Upgrade Apache 1.3 mod_ssl to Apache 2.2 | beandip | FreeBSD Ports and Packages | 11 | 26th March 2009 09:12 PM |
problems with php apache | disappearedng | FreeBSD General | 1 | 22nd September 2008 08:28 PM |
Apache SSL | mike171562 | FreeBSD General | 0 | 5th May 2008 09:41 PM |