The auto-update kicked in 2 days ago and directadmin has been down ever since. This system had been running without trouble for months. I managed to get DA running again, but now httpd won't start any more. Here's a list of the problems and fixes, so far, restarting the appropriate service(s) between each.
1) libmysqlclient.so.15 not found
(got new file installed, long rigamarole)
2) ioctl can't find the server's ip address for eth0 : No such device
(added ethernet_dev=venet0:0 to directadmin.conf)
3) Syntax error on line 26 of /etc/httpd/conf/ips.conf:
User cannot occur within <VirtualHost> section
(moved user/group statements -- has something overwritten all the config files?)
4) Syntax error on line 7 of /usr/local/directadmin/data/users/admin/httpd.conf:
Port was replaced with Listen in Apache 2.0
(edit httpd.conf, change Port to Listen.)
5) Syntax error on line 22 of /usr/local/directadmin/data/users/admin/httpd.conf:
User cannot occur within <VirtualHost> section
(commented out User/Group statements in VirtualHost sections)
6) (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
(totally stumped by this one)
Summary: It looks like the DA update has overwritten many of the configuration files with something that is out of date. the ips.conf and httpd.conf files I fixed were written by DA.
What is wrong with this crazy thing and how do I fix it?
1) libmysqlclient.so.15 not found
(got new file installed, long rigamarole)
2) ioctl can't find the server's ip address for eth0 : No such device
(added ethernet_dev=venet0:0 to directadmin.conf)
3) Syntax error on line 26 of /etc/httpd/conf/ips.conf:
User cannot occur within <VirtualHost> section
(moved user/group statements -- has something overwritten all the config files?)
4) Syntax error on line 7 of /usr/local/directadmin/data/users/admin/httpd.conf:
Port was replaced with Listen in Apache 2.0
(edit httpd.conf, change Port to Listen.)
5) Syntax error on line 22 of /usr/local/directadmin/data/users/admin/httpd.conf:
User cannot occur within <VirtualHost> section
(commented out User/Group statements in VirtualHost sections)
6) (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
(totally stumped by this one)
Summary: It looks like the DA update has overwritten many of the configuration files with something that is out of date. the ips.conf and httpd.conf files I fixed were written by DA.
What is wrong with this crazy thing and how do I fix it?