#1  
Old 11th January 2006, 12:22
wr19026 wr19026 is offline
Senior Member
 
Join Date: Jan 2006
Posts: 172
Thanks: 7
Thanked 1 Time in 1 Post
Unhappy Install question/issue

Hi,

After several (some relatively successful, some unsuccessful) tries I'm not ready to give up on ISPConfig yet

What keeps confusing me is the question in the install process where it asks for the IP address: should I use my internal IP addy (e.g. 10.x.x.x) or the external one (e.g. 84.x.x.x)

84.x.x.x points to my router and I have NAPT doing the internal forward to 10.x.x.x

Last time I tried to set it up I entered the external one. This gave me the error message that it couldn't find the server and that the install process would stop there.

Then it gets interesting: if I do a reinstall starting from the tar command (pretty vanilla reinstall I'd think), the process starts without any errors or warnings that something might not be right. However, pretty much to the end of the install I'm getting errors/warnings:

Warning: main(config.inc.php): failed to open stream: No such file or directory in /tmp/install_ispconfig/install.php on line 639

Warning: main(): Failed opening 'config.inc.php' for inclusion (include_path='.:/root/ispconfig/php/lib/php') in /tmp/install_ispconfig/install.php on line 639

Warning: mysql_connect(): Access denied for user: 'root@localhost' (Using password: NO) in /tmp/install_ispconfig/install.php on line 649
Could not connect to db
Restarting some services...
* Stopping Postfix Mail Transport Agent... [ ok ]
* Starting Postfix Mail Transport Agent... [ ok ]
Restarting ProFTPD ftp daemon.proftpd.
..proftpd.
done.
./setup2: line 974: /etc/init.d/ispconfig_server: No such file or directory
Congratulations! Your ISPConfig system is now installed. If you had to install quota, please take the steps described in the installation manual. Otherwise your system is now available without reboot.

The official uninstall is not available:
root@blablabla:~/ispconfig# ls
dist.inc.php httpd openssl php

So, here are my two main questions:
- What IP address do I need to enter in the install script: the internal one or the external one?
- If the install fails/aborts, what can I do to remove all that's there and start from scratch without having to completely reinstall the server (using the excellent guide for an Ubuntu server) first?

Thanks in advance for your help.
Reply With Quote
Sponsored Links
  #2  
Old 11th January 2006, 13:32
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by wr19026
- What IP address do I need to enter in the install script: the internal one or the external one?
Always the one you see for your network interface when you run
Code:
ifconfig
, i.e. your internal one.

Quote:
Originally Posted by wr19026
- If the install fails/aborts, what can I do to remove all that's there and start from scratch without having to completely reinstall the server (using the excellent guide for an Ubuntu server) first?
Run
Code:
rm -fr /root/ispconfig
rm -rf /home/admispconfig
and also delete the ISPConfig MySQL database.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 11th January 2006, 13:34
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,788
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

Quote:
Originally Posted by wr19026
After several (some relatively successful, some unsuccessful) tries I'm not ready to give up on ISPConfig yet
Good to hear that


Quote:
- What IP address do I need to enter in the install script: the internal one or the external one?
This must be the internal IP address (10.x.x.x).

Quote:
- If the install fails/aborts, what can I do to remove all that's there and start from scratch without having to completely reinstall the server (using the excellent guide for an Ubuntu server) first?
rm -rf /root/ispconfig
rm -rf /home/admispconfig

Then delete the install_ispconfig directory and the mySQL database, then unpack the installer tar.gz file again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 11th January 2006, 15:30
wr19026 wr19026 is offline
Senior Member
 
Join Date: Jan 2006
Posts: 172
Thanks: 7
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by till
rm -rf /root/ispconfig
rm -rf /home/admispconfig

Then delete the install_ispconfig directory and the mySQL database, then unpack the installer tar.gz file again.
So here's a real noob question; how do I delete the MySQL database? I tried installing phpmyadmin to help me do that but that gave errors (removing phpmyadmin did as well btw) because from my experience with XAMPP I know how to use that. But it was "close, but no cigar" in this install.

By the way, the support from Falco and yourself is SUPERB!
Reply With Quote
  #5  
Old 11th January 2006, 15:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,788
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

Have a look in the folder:

/var/lib/mysql

If there is a folder in that directory with the name of your database, delete this folder. If your database is named e.g. db_ispconfig:

rm -rf /var/lib/mysql/db_ispconfig
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #6  
Old 11th January 2006, 16:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by wr19026
So here's a real noob question; how do I delete the MySQL database?
It's described here: http://www.howtoforge.com/forums/sho...33&postcount=4
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 12th January 2006, 01:50
wr19026 wr19026 is offline
Senior Member
 
Join Date: Jan 2006
Posts: 172
Thanks: 7
Thanked 1 Time in 1 Post
Red face

I have installed ISPConfig for what must be the 15th time and so far so good. I have a system that's up and running, I can connect and change settings etc. and I can see the first website's homepage! At first glance however e-mail will be my next problem

Here's a follow up question for you:
When connecting from a machine from the same network as the server (10.x.x.1 for the server and 10.x.x.2 for a client) it won't connect me when I use https://servername.mydomainname.com:81. https://10.x.x.1:81 does allow me to connect. When I'm connected it does not allow me to access certain pages in the Management tab: specifically System Configuration and Server.

All the other tabs seem to work fine.

Now when I log in from an outside network I can log in and do everything without any issues at all. So it does work, but not quite as I had expected.

Again, I'm using the Perfect Server Setup for Ubuntu (Breezy) as my baseline and I have not tinkered with iptables or any other type of firewall on my server. NAPT on the router has everything pointing to the server's IP address.
Reply With Quote
  #8  
Old 12th January 2006, 02:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Your problem is related to this one: http://www.howtoforge.com/forums/showthread.php?t=534

I guess you have https://servername.mydomainname.com:81 in /home/admispconfig/ispconfig/lib/config.inc.php. The problem seems to be that your router doesn't support looping back, i.e. you're in your network and try to access a machine in your network with an "outside" address which your router has to map back into your local network...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 12th January 2006, 10:44
wr19026 wr19026 is offline
Senior Member
 
Join Date: Jan 2006
Posts: 172
Thanks: 7
Thanked 1 Time in 1 Post
 
Default

And again this was of great help In the mean time I also discovered what to fix in order to send mail (darn nameservers ) so now I'll search a bit more to find how to actually be able to receive mail as well.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandriva 10.2 Perfect Setup Install Problems... ctroyp Installation/Configuration 12 30th December 2005 17:04
install error on the end of the installation Vegettex Installation/Configuration 2 21st November 2005 00:50
perfect install 5.04 isp on desktop image? bspratt Server Operation 5 6th November 2005 15:27
Mix of Install Problems shawndb Installation/Configuration 5 15th September 2005 10:09
Fresh Install of FC4 using Perfect Install HowTo latcarf HOWTO-Related Questions 21 10th August 2005 23:55


All times are GMT +2. The time now is 01:14.


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