I am trying to get the obhttpd package working, and must be missing a critical step somewhere.
1. Installed the package
2. Set the service to start on boot (/etc/rc.conf)
3. Created a basic configuration (/usr/local/etc/obhttpd.conf)
4. Created the directories and set the permissions
5. Start the service
6. Now I receive an error in /var/log/messages as follows
What am I missing?
1. Installed the package
pkg install obhttpd
2. Set the service to start on boot (/etc/rc.conf)
Code:
obhttpd_enable="YES"
obhttpd_flags='"
3. Created a basic configuration (/usr/local/etc/obhttpd.conf)
Code:
ext_ip="MY_EXT_IP"
server "default" {
listen on ext_ip port 80
root "/htdocs/default"
}
4. Created the directories and set the permissions
Code:
mkdir -p /var/www/htdocs/default
chown -R www:www /var/www
5. Start the service
service obhttpd start
6. Now I receive an error in /var/log/messages as follows
Code:
lost child: server exited abnormally
lost child: logger exited abnormally
What am I missing?
Last edited by a moderator: