how to uninstall apache2.0 and go back to 1.3

Hello,

It's a bit of a lengthy process:

1) restore the old httpd.conf:
cd /etc/httpd/conf
mv httpd.conf httpd.conf.2.0
mv httpd.conf.1.3.backup httpd.conf

2) rebuild everything:
cd /usr/local/directadmin/data/customapache
./build clean
rm -f /usr/lib/apache/*
./build all

3) tell DA what you are doing. Edit the directadmin.conf and change apache_ver=2.0 to apache_ver=1.3

4) rewrite the httpd.conf files:
echo "action=rewrite&value=ips" >> /usr/local/directadmin/data/task.queue
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue
echo "action=directadmin&value=restart" >> /usr/local/directadmin/data/task.queue

That should be it... e-mail if you have any problems. Haven't really done this much. :)

Mark
 
I cant start DA. My friend said this is because i installed apache manualy before i installed DA. Now i dont know how to uninstall apache, please help me.
 
Did your DA installation successfully finish the installation?

While you should not have httpd installed when you install DA, it shouldn't keep DA from starting.

Have you looked at the directadmin error log?
Jeff
 
the stange thing is that no error massage was shown. In the end of installation i get DA user and pass, but DA start only "/usr/local/directadmin/da-popb4smtp" and "/usr/local/directadmin/dataskq" services, the command "service directadmin restart" doesnt help.
 
this is what i found in error log.
2006:11:02-02:48:02: ioctl can't find the server's ip address for eth0
2006:11:02-02:48:02: The ip of this machine () does not match the ip in the license file.<br>


After install i found in /usr/local/directadmin/scripts/setup.txt that i missing netmask

ip=62.90.134.230
netmask=

What i doing wrong?
 
My problem was that i inseret incorrect ethernet device during installation, after i checked my runing devices with /sbin/ifconfig command i saw that eth2 is working and not eth0.
 
Back
Top