View Full Version : new custombuild install on clean Debian 4: error missing file ips.conf

08-24-2008, 04:43 AM
Hi everyone,

When using custombuild on a clean Debian 4 minimal install, I get an error when the install tries to restart apache:

stopping httpd
starting httpd: syntax error on line 141 of /etc/httpd/conf/httpd.conf syntax error on line 21 of /etc/https/conf/extra/httpd-vhosts.conf: could not open configuration file /etc/httpd/cond/ips.conf: no such file or directory

It seems that ips.conf is missing.

It's the first time I'm using custombuild, so I'm convinced I missed something, but I searched for many hours this forum, google, wht... and I couldn't find a solution.

First I've choosen:
-php5 cgi
-zend: yes
-MySQL 5.0
-Apache 2.2
-Dovecot: no
-ProFTPD: yes
-jailed shell: no

After trying and trying, I did a complete Debian reinstall en ran custombuild again:
-php 4 cgi
-zend: no
-MySQL 4.1
-Apache 1.3
-Dovecot: no
-ProFTPD: yes
-jailed shell: no

Same problem...

Anyone an idee?

(I already tried ./build update ./build all d)

08-24-2008, 04:54 AM
echo "action=rewrite&value=ips" >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d

08-24-2008, 05:36 AM
Thanx for your quick reply!

When I type that command I get an error: no such file or directory
It seems I haven't a folder 'data' in /usr/local/directadmin yet.

In /usr/local/directadmin I have:

DirectAdmin Support
08-24-2008, 11:14 AM

If you only have those 3 files, then your install isn't done.
The setup.sh should have downloaded an update.tar.gz file, extracted it and given you many other files. You'll want to figure out why that is.
You can send us your license ID number to support at directadmin.com and have a check the recent connections for that license.. it's usually a wrong IP or something like that.


08-25-2008, 02:04 PM
Hi John,

Thanx for your reply and thanks Mark for changing the IP in the DA license.

I did a format again and reinstalled DA using custombuild; but same problem.

Installation stops and I get:
All parts have been installed
Type: /etc/init.d/httpd restart

When I do that, I get:
Stopping httpd:
Starting httpd: httpd: Syntax error on line 141 of /etc/httpd/conf/httpd.conf: Syntax error on line 21 of /etc/httpd/conf/extra/httpd-vhosts.conf: Could not open configuration file /etc/httpd/conf/ips.conf: No such file or directory

And in /usr/local/directadmin I still just have:

Installation procedure I did:
1. wget http://www.directadmin.com/setup.sh
chmod 755 setup.sh
2. option custombuild
3. error: http://help.directadmin.com/item.php?id=119
wget http://files.directadmin.com/services/wget-1.8.2.tar.gz
tar xvzf wget-1.8.2.tar.gz
cd wget-1.8.2
./configure --prefix=/usr --with-ssl
make install
4. proceed install by redownloading en restarting custombuild:
cd /usr/local/directadmin
wget http://files.directadmin.com/services/custombuild
tar xvzf custombuild.tar.gz
cd custombuild
./build update
./build all

What did I do wrong?

DirectAdmin Support
08-25-2008, 04:45 PM
You need to go back to step 1 after doing step 3.
If you end up going in circles, send us an email at support at directadmin.com


08-26-2008, 03:05 AM
Hi John,

Thanx for the tip. Now the install is completed succesfully, without any problems!!

Also thanx to Mark, smtalk en Jeff for the support. I really appreciate it.


03-22-2010, 02:51 PM
I'm about to pull my hair out lol

I get this far:

any help would be great.

DirectAdmin Support
03-22-2010, 02:54 PM

It's claiming you're missing g++. If you're running Debian, run this command:
apt-get install gcc g++ make flex bison openssl libssl-dev perl perl-base perl-modulesto give you a good base of required packages.


03-22-2010, 03:40 PM
I had to update my apt-get sources, after doing so everything John mentioned above installed perfectly as well as DirectAdmin. Thanks John and smtalk.