httpd won't restart after custombuild 2 update

HH101

New member
Joined
Dec 29, 2020
Messages
4
Hi

I've updated a server with custombuild 2 from custombuild 1.2. Now I can't restart httpd. I get this error:

(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs

If I run netstat -lnp | grep :80
I get this line:
tcp 0 0 :::80 :::* LISTEN 8948/httpd
 
Linux probably is not able to kill an existing httpd process. Try to kill it manually.

Check which httpd processes are running:

Code:
ps aux |grep -i httpd

Force-shutdown them all manually, i.e.:

Code:
kill -9 8948

Start httpd:

Code:
service httpd start
 
There was alot of processes but it worked after shutting them all down manually, thank you!
 

Assuming you did this?

3. How to install custombuild 2.0?
Code:
cd /usr/local/directadmin
wget -O custombuild.tar.gz http://files.directadmin.com/services/custombuild/2.0/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild
./build all


You need to run this command for the first time:
Code:
./build all d


You might run a
Code:
cd /usr/local/directadmin/custombuild
./build set_fastest
./build clean
./build update
./build all d
./build rewrite_confs

Just to be sure you are all good
Make sure you validate the options.conf before running.
 
Last edited:

Assuming you did this?

3. How to install custombuild 2.0?
Code:
cd /usr/local/directadmin
wget -O custombuild.tar.gz http://files.directadmin.com/services/custombuild/2.0/custombuild.tar.gz
tar xvzf custombuild.tar.gz
cd custombuild
./build all


You need to run this command for the first time:
Code:
./build all d



You might run a
Code:
cd /usr/local/directadmin/custombuild
./build set_fastest
./build clean
./build update
./build all d
./build rewrite_confs

Just to be sure you are all good
Make sure you validate the options.conf before running.
Thanks! It seems to work better now!
 
Hmmm no, I'm afraid it didn't help with the rebuild. The httpd processes are building up and I can't restart the httpd service. Any suggestions?
 
Back
Top