document root error

woshka

Verified User
Joined
Mar 23, 2011
Messages
9
how to fix this

PHP:
login as: root
[email protected]'s password:
Last login: Wed May 25 15:34:45 2011 from a.ab.f4.static.xlhost.com
[root@server ~]# service httpd restart
Stopping httpd:                                            [  OK  ]
Starting httpd: 
Warning: DocumentRoot [/domains/voshka.ir/public_html] does not exist
Warning: DocumentRoot [/domains/voshka.ir/private_html] does not exist
Warning: DocumentRoot [/domains/zaban118.ir/private_html] does not exist
[Wed May 25 17:40:28 2011] [warn] NameVirtualHost 184.82.194.141:80 has no Virtu                                                                                        alHosts
[Wed May 25 17:40:28 2011] [warn] NameVirtualHost 184.82.194.141:443 has no Virt
 
Do those domains still exist?

Code:
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue
 
YEs they exist
the problem is that the directory is incorrect
it has to be somthingl like /home/user/doman
not /domain

I have checked the virtual host every thing is correct
:(
but still this problem
PHP:
[root@server custom]# cd /usr/local/directadmin/data/templates/custom
[root@server custom]# rm -f *
[root@server custom]# cd /usr/local/directadmin/custombuild
[root@server custombuild]# rm -rf custom
[root@server custombuild]# rm -rf configure
[root@server custombuild]# ./build update
--2011-05-26 01:52:13--  http://files.directadmin.com/services/custombuild/1.1/custombuild.tar.gz
Resolving files.directadmin.com... 69.30.193.202, 72.35.77.7, 72.35.85.222
Connecting to files.directadmin.com|69.30.193.202|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 106759 (104K) [application/x-gzip]
Saving to: `./custombuild.tar.gz'

100%[==============================================================================================================================>] 106,759      358K/s   in 0.3s

2011-05-26 01:52:14 (358 KB/s) - `./custombuild.tar.gz' saved [106759/106759]

extracting custombuild.tar.gz for 1.1 ...
custombuild/
custombuild/build
custombuild/configure/
custombuild/configure/pureftpd/
custombuild/configure/pureftpd/configure.pureftpd
custombuild/configure/ap1/
custombuild/configure/ap1/configure.php5
custombuild/configure/ap1/configure.apache_ssl
custombuild/configure/ap1/conf/
custombuild/configure/ap1/conf/mime.types
custombuild/configure/ap1/conf/httpd.conf
custombuild/configure/ap1/conf/extra/
custombuild/configure/ap1/conf/extra/httpd-vhosts.conf
custombuild/configure/ap1/conf/extra/httpd-deflate.conf
custombuild/configure/ap1/conf/extra/httpd-multilang-errordoc.conf
custombuild/configure/ap1/conf/extra/httpd-info.conf
custombuild/configure/ap1/conf/extra/httpd-alias.conf
custombuild/configure/ap1/conf/extra/httpd-userdir.conf
custombuild/configure/ap1/conf/extra/httpd-languages.conf
custombuild/configure/ap1/conf/extra/httpd-default.conf
custombuild/configure/ap1/conf/extra/httpd-autoindex.conf
custombuild/configure/ap1/conf/extra/directadmin-vhosts.conf
custombuild/configure/ap1/conf/extra/httpd-ssl.conf
custombuild/configure/ap1/conf/magic
custombuild/configure/ap1/configure.php4
custombuild/configure/ap2/
custombuild/configure/ap2/configure.php5
custombuild/configure/ap2/conf/
custombuild/configure/ap2/conf/httpd.conf_2.0
custombuild/configure/ap2/conf/mime.types
custombuild/configure/ap2/conf/httpd.conf
custombuild/configure/ap2/conf/extra/
custombuild/configure/ap2/conf/extra/httpd-vhosts.conf
custombuild/configure/ap2/conf/extra/httpd-deflate.conf
custombuild/configure/ap2/conf/extra/httpd-mpm.conf
custombuild/configure/ap2/conf/extra/httpd-multilang-errordoc.conf
custombuild/configure/ap2/conf/extra/httpd-mpm.conf_2.0
custombuild/configure/ap2/conf/extra/httpd-info.conf
custombuild/configure/ap2/conf/extra/httpd-alias.conf
custombuild/configure/ap2/conf/extra/httpd-userdir.conf
custombuild/configure/ap2/conf/extra/httpd-languages.conf
custombuild/configure/ap2/conf/extra/httpd-dav.conf
custombuild/configure/ap2/conf/extra/httpd-default.conf
custombuild/configure/ap2/conf/extra/httpd-autoindex.conf
custombuild/configure/ap2/conf/extra/directadmin-vhosts.conf
custombuild/configure/ap2/conf/extra/httpd-ssl.conf
custombuild/configure/ap2/conf/extra/httpd-manual.conf
custombuild/configure/ap2/conf/magic
custombuild/configure/ap2/cert_config
custombuild/configure/ap2/configure.apache
custombuild/configure/ap2/configure.php4
custombuild/configure/dovecot/
custombuild/configure/dovecot/dovecot.conf
custombuild/configure/proftpd/
custombuild/configure/proftpd/configure.proftpd
custombuild/configure/suphp/
custombuild/configure/suphp/configure.php5
custombuild/configure/suphp/configure.suphp
custombuild/configure/suphp/configure.php4
--2011-05-26 01:52:14--  http://files.directadmin.com/services/custombuild/versions.txt
Resolving files.directadmin.com... 69.30.193.202, 72.35.77.7, 72.35.85.222
Connecting to files.directadmin.com|69.30.193.202|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4625 (4.5K) [text/plain]
Saving to: `./versions.txt'

100%[==============================================================================================================================>] 4,625       --.-K/s   in 0.05s

2011-05-26 01:52:14 (90.9 KB/s) - `./versions.txt' saved [4625/4625]

File already exists:    servers.txt
MD5 Checksum on servers.txt passed.
File already exists:    httpd-2.2.19.tar.gz
MD5 Checksum on httpd-2.2.19.tar.gz passed.
File already exists:    httpd_2
File already exists:    httpd_2_freebsd
File already exists:    httpd_2_debian
File already exists:    mime.types
File already exists:    mod_perl-2.0.4.tar.gz
MD5 Checksum on mod_perl-2.0.4.tar.gz passed.
File already exists:    curl-7.21.6.tar.gz
MD5 Checksum on curl-7.21.6.tar.gz passed.
File already exists:    pcre-8.12.tar.gz
MD5 Checksum on pcre-8.12.tar.gz passed.
File already exists:    libmcrypt-2.5.8.tar.gz
MD5 Checksum on libmcrypt-2.5.8.tar.gz passed.
File already exists:    mhash-0.9.9.9.tar.gz
MD5 Checksum on mhash-0.9.9.9.tar.gz passed.
File already exists:    freetype-2.4.4.tar.gz
MD5 Checksum on freetype-2.4.4.tar.gz passed.
File already exists:    libiconv-1.13.1.tar.gz
MD5 Checksum on libiconv-1.13.1.tar.gz passed.
File already exists:    libxml2-2.7.6.tar.gz
MD5 Checksum on libxml2-2.7.6.tar.gz passed.
File already exists:    libxslt-1.1.26.tar.gz
MD5 Checksum on libxslt-1.1.26.tar.gz passed.
File already exists:    icu4c-4_6_1-src.tgz
MD5 Checksum on icu4c-4_6_1-src.tgz passed.
File already exists:    php-5.2.17.tar.gz
MD5 Checksum on php-5.2.17.tar.gz passed.
File already exists:    php-5.2.17-mail-header.patch
MD5 Checksum on php-5.2.17-mail-header.patch passed.
File already exists:    webalizer-2.23-05-src.tgz
File already exists:    pure-ftpd-1.0.32.tar.gz
MD5 Checksum on pure-ftpd-1.0.32.tar.gz passed.
File already exists:    pure-ftpd
File already exists:    pure-ftpd_freebsd
File already exists:    pure-ftpd_debian
File already exists:    suphp-0.7.1.tar.gz
MD5 Checksum on suphp-0.7.1.tar.gz passed.
File already exists:    exim-4.76.tar.gz
MD5 Checksum on exim-4.76.tar.gz passed.
File already exists:    exim
File already exists:    exim_freebsd
File already exists:    exim_debian
File already exists:    dovecot-2.0.13.tar.gz
MD5 Checksum on dovecot-2.0.13.tar.gz passed.
File already exists:    dovecot.boot
File already exists:    dovecot.boot.freebsd
File already exists:    dovecot.boot.debian
File already exists:    dovecot.conf
File already exists:    exim.conf.dovecot.patch
MD5 Checksum on exim.conf.dovecot.patch passed.
File already exists:    autoconf-2.68.tar.gz
MD5 Checksum on autoconf-2.68.tar.gz passed.
File already exists:    m4-1.4.16.tar.gz
MD5 Checksum on m4-1.4.16.tar.gz passed.
File already exists:    automake-1.11.1.tar.gz
MD5 Checksum on automake-1.11.1.tar.gz passed.
File already exists:    libtool-2.4.tar.gz
MD5 Checksum on libtool-2.4.tar.gz passed.
File already exists:    ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz
File already exists:    ioncube_loaders_lin_x86.tar.gz
- Show quoted text -
[Thu May 26 01:55:27 2011] [warn] NameVirtualHost 184.82.194.141:80 has no VirtualHosts
[Thu May 26 01:55:27 2011] [warn] NameVirtualHost 184.82.194.141:443 has no VirtualHosts

[root@server custombuild]#
 
Well you should just create those directory.. or.. if no data still uploaded and no email are used the best way should be remove the domain and re-create it so directadmin will create those folders.

Regards

@Ramsy, i think yes
 
The warnings mean nothing and check your error log to why its not starting up correctly.
 
Back
Top