HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   perfect install but no ISPconfig (http://www.howtoforge.com/forums/showthread.php?t=27785)

provell 14th October 2008 20:14

perfect install but no ISPconfig
 
Hi Everyone,

I just followed the "debian etch perfect installation"(As I have done many times before).
Then I went on to installing ISPconfig, there were no errors during installation.
The installation log shows no errors
ISPconfig says it's started but I can't reach it on https://server:81 ????
(page not found :confused:)

If I just go to port 80 http://server I get the default appache page saying "It works".
Not the ISPconfig welkom page.

Checking the forum for some simmular problems I could not find it but did gave me some trouble shouting commands.
The output starting ISPconfig by hand shows errors:

/etc/init.d/ispconfig_server start
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Starting ISPConfig system...
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
/root/ispconfig/httpd/bin/apachectl startssl: httpd started
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
ISPConfig system is now up and running!


Am I missing files?
Is there something in the installation directory not accessible?

Never had this before.
Any help would be much aprecited, thanks in advance.:)

Rgds Edo

assuncao 14th October 2008 20:52

I am having the same problem

falko 14th October 2008 21:12

Quote:

Originally Posted by provell (Post 149951)
/etc/init.d/ispconfig_server start
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Starting ISPConfig system...
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
/root/ispconfig/httpd/bin/apachectl startssl: httpd started
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
ISPConfig system is now up and running!

This happens because you're in a directory that doesn't exist anymore. The install_ispconfig directory deletes itself after installation. Just moce out of it:
Code:

cd
and you won't see these errors again.

What's the output of
Code:

netstat -tap
?

provell 15th October 2008 09:55

still nothing on port 81
 
Hi thanks for the response.

Well you got me there with the running ISPconfig from a deleted directory.
Now the output is:
/etc/init.d/ispconfig_server start
Starting ISPConfig system...
/root/ispconfig/httpd/bin/apachectl startssl: httpd (pid 2851) already running
FreshClam is already running!
ISPConfig system is now up and running!

Output of netstat -tap:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:57541 *:* LISTEN 2723/rpc.statd
tcp 0 0 *:mysql *:* LISTEN 2418/mysqld
tcp 0 0 *:sunrpc *:* LISTEN 2044/portmap
tcp 0 0 *:81 *:* LISTEN 2851/ispconfig_http
tcp 0 0 *:auth *:* LISTEN 2589/inetd
tcp 0 0 *:ftp *:* LISTEN 3450/proftpd: (acce
tcp 0 0 WEBSRV02.HOMENET:domain *:* LISTEN 3429/named
tcp 0 0 localhost.locald:domain *:* LISTEN 3429/named
tcp 0 0 localhost.localdoma:953 *:* LISTEN 3429/named
tcp 0 0 *:smtp *:* LISTEN 3399/master
tcp6 0 0 *:imaps *:* LISTEN 2561/couriertcpd
tcp6 0 0 *:pop3s *:* LISTEN 2580/couriertcpd
tcp6 0 0 *:pop3 *:* LISTEN 2566/couriertcpd
tcp6 0 0 *:imap2 *:* LISTEN 2545/couriertcpd
tcp6 0 0 *:www *:* LISTEN 3313/apache2
tcp6 0 0 *:domain *:* LISTEN 3429/named
tcp6 0 0 *:ssh *:* LISTEN 2683/sshd
tcp6 0 0 ip6-localhost:953 *:* LISTEN 3429/named
tcp6 0 0 *:smtp *:* LISTEN 3399/master
tcp6 0 0 *:https *:* LISTEN 3313/apache2
tcp6 0 592 WEBSRV02.HOMENET.LO:ssh ::ffff:10.0.0.150:3822 ESTABLISHED3238/0


To me it looks like all is running and also on port 81.
But I still have a page could not be displayed:confused:

Rgds Edo

till 15th October 2008 10:22

Please post the output of:

iptables -L

provell 15th October 2008 20:09

no firewall installed
 
The output of "netstat -tap" shows all is up and running on all the correct ports(if I am correct).

Her is my output off "iptables -L":
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

The output of iptabels would suggest I have installed a firewall? right?
The perfect setup does not have any steps for that.
And the fact that I don't get the normal ISPconfig(welcome) page on port 80 clearly shows something is not up and running.

Just to be sure I'm posting my /var/log/ispconfig_installation.log.
Mayby you're seeing something I have missed and was not showing up during installation:

cat ispconfig_install.log
Tue Oct 14 19:11:19 CEST 2008 - [ISPConfig] - installation directory: /root/install_ispconfig
Tue Oct 14 19:11:19 CEST 2008 - [ISPConfig] - operating system: Debian 4.0
Tue Oct 14 19:11:22 CEST 2008 - [ISPConfig] - Neuinstallation eines ISPConfig-Systems. / Installation of a new ISPConfig system. / Installation d'ISPConfig sur un nouveau système.
Tue Oct 14 19:11:33 CEST 2008 - [ISPConfig] - selected language: en
Tue Oct 14 19:11:42 CEST 2008 - [ISPConfig] - installation note accepted
Tue Oct 14 19:11:50 CEST 2008 - [ISPConfig] - licence accepted
Tue Oct 14 19:11:53 CEST 2008 - [ISPConfig] - installation mode: standard
Tue Oct 14 19:11:59 CEST 2008 - [ISPConfig] - mail: postfix
Tue Oct 14 19:11:59 CEST 2008 - [ISPConfig] - dist_mail=postfix ##
Tue Oct 14 19:11:59 CEST 2008 - [ISPConfig] - dist_mail_log=/var/log/mail.log ##
Tue Oct 14 19:11:59 CEST 2008 - [ISPConfig] - dist_mail_virtusertable=/etc/postfix/virtusertable ##
Tue Oct 14 19:11:59 CEST 2008 - [ISPConfig] - dist_mail_local_host_names=/etc/postfix/local-host-names ##
Tue Oct 14 19:12:01 CEST 2008 - [ISPConfig] - ftp: proftpd
Tue Oct 14 19:12:01 CEST 2008 - [ISPConfig] - dist_ftp=proftpd ##
Tue Oct 14 19:12:01 CEST 2008 - [ISPConfig] - dist_ftp_conf=/etc/proftpd.conf ##
Tue Oct 14 19:12:01 CEST 2008 - [ISPConfig] - dist_ftp_version=standalone ##
Tue Oct 14 19:12:01 CEST 2008 - [ISPConfig] - dist_ftp_log=/var/log/xferlog ##
Tue Oct 14 19:12:01 CEST 2008 - [ISPConfig] - procmail found: /usr/bin/procmail
Tue Oct 14 19:12:01 CEST 2008 - [ISPConfig] - quota found: /usr/bin/quota
Tue Oct 14 19:12:01 CEST 2008 - [ISPConfig] - mysql found: /usr/bin/mysql
Tue Oct 14 19:12:01 CEST 2008 - [ISPConfig] - openssl found: /usr/bin/openssl
Tue Oct 14 19:12:01 CEST 2008 - [ISPConfig] - named found: /usr/sbin/named
Tue Oct 14 19:12:01 CEST 2008 - [ISPConfig] - iptables found: /sbin/iptables
Tue Oct 14 19:12:01 CEST 2008 - [ISPConfig] - httpd found: /usr/bin/httpd
Tue Oct 14 19:12:01 CEST 2008 - [ISPConfig] - httpd syntax ok!
Tue Oct 14 19:12:01 CEST 2008 - [ISPConfig] - dist_path_httpd_root=/var/www ##
Tue Oct 14 19:12:01 CEST 2008 - [ISPConfig] - gcc found: /usr/bin/gcc
Tue Oct 14 19:12:01 CEST 2008 - [ISPConfig] - make found: /usr/bin/make
Tue Oct 14 19:12:01 CEST 2008 - [ISPConfig] - flex found: /usr/bin/lex
Tue Oct 14 19:12:01 CEST 2008 - [ISPConfig] - g++ found: /usr/bin/g++
Tue Oct 14 19:12:05 CEST 2008 - [ISPConfig] - symbolic link from /var/lib/mysql/mysql.sock to /var/run/mysqld/mysqld.sock created
Tue Oct 14 19:12:05 CEST 2008 - [ISPConfig] - Directory /var/www/sharedip created.
Tue Oct 14 19:12:05 CEST 2008 - [ISPConfig] - Use sharedip_index.html_en as SharedIP default page.
Tue Oct 14 19:29:07 CEST 2008 - [ISPConfig] - unpacked ISPConfig system
Tue Oct 14 19:29:07 CEST 2008 - [ISPConfig] - moved directory ispconfig_tmp to /root/ispconfig
Tue Oct 14 19:31:14 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 623: create group admispconfig
Tue Oct 14 19:31:14 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 624: create user admispconfig
Tue Oct 14 19:31:14 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 628: groupadd -g 20000 ispconfigend
Tue Oct 14 19:31:14 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 629: useradd -u 20000 -s /usr/sbin/nologin ispconfigend -g ispconfigend
Tue Oct 14 19:31:15 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 654: create /var/spool/mail/admispconfig
Tue Oct 14 19:31:15 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 655: chown admispconfig:mail /var/spool/mail/admispconfig
Tue Oct 14 19:31:15 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 656: chmod 600 /var/spool/mail/admispconfig
Tue Oct 14 19:31:15 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 983: copied directory scripts to /root/ispconfig/
Tue Oct 14 19:31:15 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 984: copied directory sv to /root/ispconfig/
Tue Oct 14 19:31:15 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 987: copied directory isp to /root/ispconfig/
Tue Oct 14 19:31:15 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 988: copied cronolog to /root/ispconfig/
Tue Oct 14 19:31:15 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 989: copied cronosplit to /root/ispconfig/
Tue Oct 14 19:31:15 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 997: copied ispconfig_server to /etc/init.d
Tue Oct 14 19:31:17 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1020: copied directory ispconfig to /home/admispconfig/ispconfig
Tue Oct 14 19:31:17 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1021: chown -R admispconfig:admispconfig /home/admispconfig
Tue Oct 14 19:31:17 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1024: chown -R admispconfig:mysql /home/admispconfig/ispconfig/backup
Tue Oct 14 19:31:17 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1025: chmod -R 770 /home/admispconfig/ispconfig/backup
Tue Oct 14 19:31:17 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1057: cp -f /etc/proftpd.conf /etc/proftpd.conf.orig
Tue Oct 14 19:31:17 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1071: create /etc/proftpd_ispconfig.conf
Tue Oct 14 19:31:17 CEST 2008 - [ISPConfig] - Connected successfully to MySQL server
Tue Oct 14 19:31:19 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1136: read in db_ispconfig.sql
Tue Oct 14 19:31:19 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1138: rm -f db_ispconfig.sql
Tue Oct 14 19:31:19 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1218: chmod 600 /home/admispconfig/ispconfig/lib/config.inc.php
Tue Oct 14 19:31:19 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1219: chown admispconfig:admispconfig /home/admispconfig/ispconfig/lib/config.inc.php
Tue Oct 14 19:31:19 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1275: cp -f /etc/apache2/apache2.conf /etc/apache2/apache2.conf.orig
Tue Oct 14 19:31:19 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1311: create /etc/apache2/vhosts/Vhosts_ispconfig.conf
Tue Oct 14 19:31:19 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1313: create /var/log/httpd/ispconfig_access_log
Tue Oct 14 19:31:19 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 582: /etc/init.d/cron restart
Tue Oct 14 19:31:19 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1364: cp -f /etc/postfix/main.cf /etc/postfix/main.cf.orig
Tue Oct 14 19:31:19 CEST 2008 - [ISPConfig] - created virtusertable entry in /etc/postfix/main.cf
Tue Oct 14 19:31:19 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1372: create /etc/postfix/virtusertable
Tue Oct 14 19:31:21 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1373: postmap /etc/postfix/virtusertable
Tue Oct 14 19:31:21 CEST 2008 - [ISPConfig] - created mydestination entry in /etc/postfix/main.cf
Tue Oct 14 19:31:21 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1381: create /etc/postfix/local-host-names
Tue Oct 14 19:31:21 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1395: cp -f isp/conf/bastille-firewall.cfg.master /etc/Bastille/bastille-firewall.cfg
Tue Oct 14 19:31:21 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1396: chmod 644 /etc/Bastille/bastille-firewall.cfg
Tue Oct 14 19:31:21 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1419: cp -f security/bastille-firewall /etc/init.d
Tue Oct 14 19:31:21 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1420: chmod 700 /etc/init.d/bastille-firewall
Tue Oct 14 19:31:21 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1423: cp -f security/bastille-ipchains /sbin
Tue Oct 14 19:31:21 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1424: chmod 700 /sbin/bastille-ipchains
Tue Oct 14 19:31:21 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1427: cp -f security/bastille-netfilter /sbin
Tue Oct 14 19:31:21 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1428: chmod 700 /sbin/bastille-netfilter
Tue Oct 14 19:31:21 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1453: chmod 755 /home/admispconfig/ispconfig/tools/clamav/bin/trashscan
Tue Oct 14 19:31:21 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1454: chown admispconfig:admispconfig /home/admispconfig/ispconfig/tools/clamav/bin/trashscan
Tue Oct 14 19:31:21 CEST 2008 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1474: delete /root/ispconfig/dist.inc.php
Tue Oct 14 19:31:22 CEST 2008 - [ISPConfig] - httpd restart successful
Tue Oct 14 19:31:23 CEST 2008 - [ISPConfig] - postfix restart successful
Tue Oct 14 19:31:37 CEST 2008 - [ISPConfig] - file /root/ispconfig/dist.info deleted
Tue Oct 14 19:31:43 CEST 2008 - [ISPConfig] - directory install_ispconfig deleted
Tue Oct 14 19:31:43 CEST 2008 - [ISPConfig] - ##############################

Thanks for the help so far!:)

nocture 15th October 2008 20:56

What's wrong
 
Does not change
Получить код этого изображения
http://dl.download.su/preview/5fa35c8ffc.jpg

provell 15th October 2008 21:35

Hi Nocure, thanks for your interest.

What is wrong is that ISPconfig says it has started.
There were no errors during installation but I am getting no respons on https port 81 from ISPconfig, and on port 80 I am getting the standard apache welkom page instead of the ISPconfig(welkom) page.

See my earlyer post:
Quote:

I just followed the "debian etch perfect installation"(As I have done many times before).
Then I went on to installing ISPconfig, there were no errors during installation.
The installation log shows no errors
ISPconfig says it's started but I can't reach it on https://server:81 ????
(page not found )

If I just go to port 80 http://server I get the default appache page saying "It works".
Not the ISPconfig welkom page.

falko 16th October 2008 14:16

Can you try your server's IP address?
https://1.2.3.4:81 (replace 1.2.3.4 with the server's IP address)

provell 16th October 2008 22:43

lookes like it's fixed
 
Hi there,

Yes I normaly use an IP adres to connect to my server so that was not the problem.

Anyway, I read somewhere on this forum looking for a solution that it was best to start extracting the ispconfig files and the installation in a place like /tmp.
As I was running my installation from /root and I thougt I could give it a try.

So I removed the /root/ispconfig programm directory and copyied the installation *tar.gz file to the /tmp directory and started the installation again.

And YES this ended with a running ISPconfig system.:D
Don't know why but it seems to be working now.

Thanks for the support on getting this running!;)

I am now trying to setup sites and try if everything is stable.


All times are GMT +2. The time now is 21:37.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.