PDA

View Full Version : Missing - DocumentRoot [/var/www/ispconfig/]


slaeya
11th May 2009, 04:14
Hi,

I followed the Perfect Ubuntu 8.10 server with ISPCONFIG3 tut and am presented with this error when installing ISPCONFIG3.


Configuring DBServer
Installing Crontab
Restarting services ...
* Stopping MySQL database server mysqld
...done.
* Starting MySQL database server mysqld
...done.
* Checking for corrupt, not cleanly closed and upgrade needing tables.
* Stopping Postfix Mail Transport Agent postfix
...done.
* Starting Postfix Mail Transport Agent postfix
...done.
* Stopping SASL Authentication Daemon saslauthd
...done.
* Starting SASL Authentication Daemon saslauthd
...done.
Stopping amavisd: amavisd-new.
Starting amavisd: amavisd-new.
* Stopping ClamAV daemon clamd
...done.
* Starting ClamAV daemon clamd
LibClamAV Warning: ************************************************** *********
LibClamAV Warning: *** This version of the ClamAV engine is outdated. ***
LibClamAV Warning: *** DON'T PANIC! Read http://www.clamav.net/support/faq ***
LibClamAV Warning: ************************************************** *********
...done.
* Stopping Courier authentication services authdaemond
...done.
* Starting Courier authentication services authdaemond
...done.
* Stopping Courier IMAP server...
...done.
* Starting Courier IMAP server...
...done.
* Stopping Courier IMAP-SSL server...
...done.
* Starting Courier IMAP-SSL server...
...done.
* Stopping Courier POP3 server...
...done.
* Starting Courier POP3 server...
...done.
* Stopping Courier POP3-SSL server...
...done.
* Starting Courier POP3-SSL server...
...done.
* Restarting web server apache2
Warning: DocumentRoot [/var/www/ispconfig/] does not exist
Warning: DocumentRoot [/var/www/ispconfig/] does not exist
... waiting ...done.
Restarting ftp server: Running: /usr/sbin/pure-ftpd-mysql-virtualchroot -l mysql:/etc/pure-ftpd/db/mysql.conf -l pam -u 1000 -E -A -b -O clf:/var/log/pure-ftpd/transfer.log -B
Installation completed.

Could anyone shed some light on this please.

falko
11th May 2009, 14:41
Can you access the ISPConfig control panel?

slaeya
13th May 2009, 01:29
Can you access the ISPConfig control panel?

No,

There is no symlink in the /var/www/ dir for ispconfig/ and I can't find any folder associated with it.

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:20000 *:* LISTEN 1947/apache2
tcp 0 0 localhost:10024 *:* LISTEN 19011/amavisd (mast
tcp 0 0 localhost:10025 *:* LISTEN 18957/master
tcp 0 0 *:mysql *:* LISTEN 18751/mysqld
tcp 0 0 localhost:spamd *:* LISTEN 4139/spamd.pid
tcp 0 0 *:www *:* LISTEN 1947/apache2
tcp 0 0 *:webmin *:* LISTEN 4626/perl
tcp 0 0 PTY12036A.server:domain *:* LISTEN 19829/mydns
tcp 0 0 localhost:domain *:* LISTEN 19829/mydns
tcp 0 0 *:ftp *:* LISTEN 19820/pure-ftpd (SE
tcp 0 0 *:ssh *:* LISTEN 4122/sshd
tcp 0 0 *:smtp *:* LISTEN 18957/master
tcp 0 0 *:https *:* LISTEN 1947/apache2
tcp 55 0 localhost:36733 localhost:10025 CLOSE_WAIT 19213/amavisd (ch1-
tcp 0 352 PTY12036A.serverpro:ssh 121.215.240.243:1670 ESTABLISHED 24978/0
tcp 55 0 localhost:48986 localhost:10025 CLOSE_WAIT 19210/amavisd (ch1-
tcp6 0 0 [::]:imaps [::]:* LISTEN 19732/couriertcpd
tcp6 0 0 [::]:pop3s [::]:* LISTEN 19768/couriertcpd
tcp6 0 0 [::]:pop3 [::]:* LISTEN 19747/couriertcpd
tcp6 0 0 [::]:imap2 [::]:* LISTEN 19711/couriertcpd
tcp6 0 0 ::1%153550288:domain [::]:* LISTEN 19829/mydns
tcp6 0 0 [::]:ftp [::]:* LISTEN 19820/pure-ftpd (SE
tcp6 0 0 [::]:ssh [::]:* LISTEN 4122/sshd


Everything else including mailservers appear to be running fine, there was no previous version of ISPCONFIG installed and it was installed on a new server.

Thanks falko

till
13th May 2009, 10:12
Which is the exact ispconfig version that you installed?

slaeya
13th May 2009, 12:07
I followed the perfect ubuntu 8.10 server guide with ISPCONFIG3

http://downloads.sourceforge.net/ispconfig/ISPConfig-3.0.1.1.tar.gz?use_mirror=

I also just realised my httpd.conf located in /etc/apache2/httpd.conf is EMPTY :(

This may be one big factor in the equation.

I think I need to rebuild this somehow too. Help would be appreciated.

falko
14th May 2009, 16:15
I followed the perfect ubuntu 8.10 server guide
Which one (URL)?

Ghostdare
19th August 2009, 19:45
I have this problem also, but I think this due to the updates that i've made. My server works fine, or not because i've made the update for apache2 and now ISPCOnfig3 control panel shows me that the web-server is offline... but my site's are up.

* Restarting web server apache2 Warning: DocumentRoot [/var/www/ispconfig/] does not exist
Warning: DocumentRoot [/usr/local/ispconfig/interface/web/] does not exist
Warning: DocumentRoot [/var/www/ispconfig/] does not exist
Warning: DocumentRoot [/usr/local/ispconfig/interface/web/] does not exist
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[fail]



Now i have to see what is wrong, but if you people can give a little help... please do so.

falko
20th August 2009, 16:53
Did you somehow delete /var/www/ispconfig/ and /usr/local/ispconfig/interface/web/?

Ghostdare
20th August 2009, 17:12
Somehow everything works perfect, eaven the web server (apache2) i did some updates on entire system and now it's all back togther.

bswinnerton
6th March 2010, 00:15
Did you somehow delete /var/www/ispconfig/ and /usr/local/ispconfig/interface/web/?

Well, I've done it. I uninstalled ISPConfig using the uninstaller script and accidentally removed the /var/www/ folder after the fact. ISPConfig didn't re-create the /var/www/ispconfig folder. Everything works fine, but when I restart apache I get that error message. How can I recreate the folder? And what's in it?