Hi, I finished the Debian Squeeze perfect setup yesterday and all went perfect. I even typed every command by hand just to understand it. But now I want to test it locally because I do not have external domains yet and I just want to play, learn and understand. That does not work, I will explain. Server: Debian 6, perfect setup ISPC3 IP 192.168.1.100 fixed Hostname Serveerster.thuis.nl Other computers are all in the 192.168.1.x range For some reason the other computers can not find the hostname: Pinging: to 192.168.1.100 works to Serveerster.thuis.nl does not work Even when I enter 192.168.1.100 as a DNS server on other pc's it still does not work. What am I doing wrong to get this locally to work? My goal is to recreate a mini internet at home with all sorts of domains and services for testing purposes. For starters, the following domains should be routed internally and not be looked for at the Internet: www.sareno.nl ww.dog.nl www.cat.nl www.test.nl www.thuis.nl How to set it up and use these domains locally through ISPConfig 3? Thanks
First error found: While installing I pointed the system to 192.168.1.1 for the gateway. For some reason ISPConfig made its own choice?: Gateway 192.168.0.1 Nameservers 192.168.0.1, 192.168.0.2 Is this a flaw?
I've added a few lines to the hosts file on my other machines and that part seems solved but it was not how I thought it should be possible. Question about that Gateway and NS still stands. Could it be possible that ISP Config did not take all the settings right? Also FTP does not work. Sometimes, but not always, FTP accepts a connection. It never accepts the passwords. Active and Passive. strange. Edit: While booting I see the messages: Not starting internet superserver: no services enabled & Jailkit; nothing to do Also an error about Mysql but I can't find it anymore. Does anyone know what is going on?
Do you see any FTP-related errors in your logs? Does the server have a working Internet connection? Does Code: ping -c4 google.com work?
Hi Falko, What logs do you refer to? While booting I have the error mentioned above: Superserver not starting. I am not at home now and the server is down so I cannot check internet but the server can get the repositories and updates. Other computers can reach ftp.cat.com via 192.168.1.100. User is OK but password is not accepted.
This data has to be set by the administrator in the ispconfig interface.The values that you see there are just examples and not used on your servera s networking is disabled by default on ispconfig systems. There is no need to change anything there as the network configuration is done directly in the debian files if you followed the perfect setup guide, the values from the network settings in ispconfig are not used. Regarding the FTP issue, enable verbose logging in FTP and check the syslog for errors then. The detailed steps are described in the ISPConfig FAQ.
It seems that internet is working fine: Code: sander@Serveerster:~$ ping -c4 google.com PING google.com (66.102.13.99) 56(84) bytes of data. 64 bytes from ez-in-f99.1e100.net (66.102.13.99): icmp_req=1 ttl=56 time=25.8 ms 64 bytes from ez-in-f99.1e100.net (66.102.13.99): icmp_req=2 ttl=56 time=25.8 ms 64 bytes from ez-in-f99.1e100.net (66.102.13.99): icmp_req=3 ttl=56 time=25.3 ms 64 bytes from ez-in-f99.1e100.net (66.102.13.99): icmp_req=4 ttl=56 time=25.9 ms --- google.com ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3003ms rtt min/avg/max/mdev = 25.300/25.729/25.961/0.321 ms I will now try to look for the FTP logs. It seems that PureFTP cannot find the password in Mysql. How can I see if FTP and Mysql are setup fine? Edit: very long ping times by the way! :-(
FTP Log: Code: May 16 19:19:16 Serveerster mysqld: 110516 19:19:16 InnoDB: Started; log sequen ce number 0 44233 May 16 19:19:17 Serveerster mysqld: 110516 19:19:17 [Note] Event Scheduler: Load ed 0 events May 16 19:19:17 Serveerster mysqld: 110516 19:19:17 [Note] /usr/sbin/mysqld: rea dy for connections. May 16 19:19:17 Serveerster mysqld: Version: '5.1.49-3' socket: '/var/run/mysql d/mysqld.sock' port: 3306 (Debian) May 16 19:19:18 Serveerster /etc/mysql/debian-start[1732]: Upgrading MySQL table s if necessary. May 16 19:19:18 Serveerster /etc/mysql/debian-start[1737]: /usr/bin/mysql_upgrad e: the '--basedir' option is always ignored May 16 19:19:18 Serveerster /etc/mysql/debian-start[1737]: Looking for 'mysql' a s: /usr/bin/mysql May 16 19:19:18 Serveerster /etc/mysql/debian-start[1737]: Looking for 'mysqlche ck' as: /usr/bin/mysqlcheck May 16 19:19:18 Serveerster /etc/mysql/debian-start[1737]: This installation of MySQL is already upgraded to 5.1.49, use --force if you still need to run mysql_ upgrade May 16 19:19:18 Serveerster /etc/mysql/debian-start[1760]: Checking for insecure root accounts. May 16 19:19:18 Serveerster /etc/mysql/debian-start[1766]: Triggering myisam-rec over for all MyISAM tables May 16 19:19:21 Serveerster postfix/master[1878]: daemon started -- version 2.7. 1, configuration /etc/postfix May 16 19:20:01 Serveerster /USR/SBIN/CRON[1972]: (root) CMD (/usr/local/ispconf ig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log) May 16 19:20:01 Serveerster /USR/SBIN/CRON[1973]: (getmail) CMD (/usr/local/bin/ run-getmail.sh > /dev/null 2>> /var/log/ispconfig/cron.log) May 16 19:20:02 Serveerster pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 May 16 19:20:02 Serveerster pure-ftpd: ([email protected]) [INFO] Logout. May 16 19:20:03 Serveerster pop3d: Connection, ip=[::ffff:127.0.0.1] May 16 19:20:03 Serveerster imapd: Connection, ip=[::ffff:127.0.0.1] May 16 19:20:03 Serveerster imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0 May 16 19:20:03 Serveerster pop3d: Disconnected, ip=[::ffff:127.0.0.1] May 16 19:20:05 Serveerster postfix/smtpd[1996]: connect from localhost.localdom ain[127.0.0.1] May 16 19:20:05 Serveerster postfix/smtpd[1996]: lost connection after CONNECT f rom localhost.localdomain[127.0.0.1] May 16 19:20:05 Serveerster postfix/smtpd[1996]: disconnect from localhost.local domain[127.0.0.1] May 16 19:21:01 Serveerster /USR/SBIN/CRON[2047]: (root) CMD (/usr/local/ispconf ig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log) May 16 19:21:50 Serveerster named[890]: error (network unreachable) resolving 'n s1.google.com/A/IN': 2001:503:a83e::2:30#53 May 16 19:22:01 Serveerster /USR/SBIN/CRON[2058]: (root) CMD (/usr/local/ispconf ig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log) May 16 19:23:01 Serveerster /USR/SBIN/CRON[2065]: (root) CMD (/usr/local/ispconf ig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log) May 16 19:24:01 Serveerster /USR/SBIN/CRON[2074]: (root) CMD (/usr/local/ispconf ig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log) May 16 19:25:02 Serveerster /USR/SBIN/CRON[2083]: (getmail) CMD (/usr/local/bin/ run-getmail.sh > /dev/null 2>> /var/log/ispconfig/cron.log) May 16 19:25:02 Serveerster /USR/SBIN/CRON[2084]: (root) CMD (/usr/local/ispconf ig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log) May 16 19:25:02 Serveerster pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 May 16 19:25:02 Serveerster pure-ftpd: ([email protected]) [INFO] Logout. May 16 19:25:02 Serveerster pop3d: Connection, ip=[::ffff:127.0.0.1] May 16 19:25:02 Serveerster imapd: Connection, ip=[::ffff:127.0.0.1] May 16 19:25:02 Serveerster pop3d: Disconnected, ip=[::ffff:127.0.0.1] May 16 19:25:02 Serveerster imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0 May 16 19:25:02 Serveerster postfix/smtpd[2107]: connect from localhost.localdom ain[127.0.0.1] May 16 19:25:02 Serveerster postfix/smtpd[2107]: lost connection after CONNECT f rom localhost.localdomain[127.0.0.1] May 16 19:25:02 Serveerster postfix/smtpd[2107]: disconnect from localhost.local domain[127.0.0.1] May 16 19:26:01 Serveerster /USR/SBIN/CRON[2124]: (root) CMD (/usr/local/ispconf ig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log) May 16 19:27:01 Serveerster /USR/SBIN/CRON[2131]: (root) CMD (/usr/local/ispconf ig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log) May 16 19:28:01 Serveerster /USR/SBIN/CRON[2139]: (root) CMD (/usr/local/ispconf ig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log) May 16 19:29:01 Serveerster /USR/SBIN/CRON[2158]: (root) CMD (/usr/local/ispconf ig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log) May 16 19:29:17 Serveerster pure-ftpd: ([email protected]) [INFO] New connection fro m 192.168.1.8 May 16 19:29:17 Serveerster pure-ftpd: ([email protected]) [DEBUG] Command [user] [t est] May 16 19:29:17 Serveerster pure-ftpd: ([email protected]) [DEBUG] Command [pass] [< *>] May 16 19:29:17 Serveerster pure-ftpd: ([email protected]) [INFO] PAM_RHOST enabled. Getting the peer address May 16 19:29:25 Serveerster pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [test] May 16 19:29:25 Serveerster pure-ftpd: ([email protected]) [INFO] Logout. May 16 19:29:39 Serveerster pure-ftpd: ([email protected]) [INFO] New connection fro m 192.168.1.8 May 16 19:29:39 Serveerster pure-ftpd: ([email protected]) [DEBUG] Command [user] [K lant] May 16 19:29:39 Serveerster pure-ftpd: ([email protected]) [DEBUG] Command [pass] [< *>] May 16 19:29:39 Serveerster pure-ftpd: ([email protected]) [INFO] PAM_RHOST enabled. Getting the peer address May 16 19:29:45 Serveerster pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [Klant] May 16 19:29:45 Serveerster pure-ftpd: ([email protected]) [INFO] Logout. May 16 19:30:01 Serveerster /USR/SBIN/CRON[2170]: (root) CMD (/usr/local/ispconf ig/server/server.sh > /dev/null 2>> /var/log/ispconfig/cron.log) May 16 19:30:01 Serveerster /USR/SBIN/CRON[2171]: (getmail) CMD (/usr/local/bin/ run-getmail.sh > /dev/null 2>> /var/log/ispconfig/cron.log) May 16 19:30:02 Serveerster pure-ftpd: ([email protected]) [INFO] New connection from 127.0.0.1 May 16 19:30:02 Serveerster pure-ftpd: ([email protected]) [DEBUG] Command [quit] [] May 16 19:30:02 Serveerster pure-ftpd: ([email protected]) [INFO] Logout. May 16 19:30:02 Serveerster pop3d: Connection, ip=[::ffff:127.0.0.1] May 16 19:30:02 Serveerster imapd: Connection, ip=[::ffff:127.0.0.1] May 16 19:30:02 Serveerster pop3d: Disconnected, ip=[::ffff:127.0.0.1] May 16 19:30:02 Serveerster imapd: Disconnected, ip=[::ffff:127.0.0.1], time=0 May 16 19:30:02 Serveerster postfix/smtpd[2194]: connect from localhost.localdom ain[127.0.0.1] May 16 19:30:02 Serveerster postfix/smtpd[2194]: lost connection after CONNECT f rom localhost.localdomain[127.0.0.1] May 16 19:30:02 Serveerster postfix/smtpd[2194]: disconnect from localhost.local
There is a lot missing from the log, how can I copy past that? I used putty but it does not copy all.
Did you use the full ftp username incl prefix for login? The username looks like: c0user or usernameuser or defaultuser and not just user
Sorry, what do you mean? I created a user test, so in the FTP client I used test.. Edit; Gotit, Klantklant works. But why that? Seems a bit like a workaround for other issues?
FTP users have to be unique for a whole linux server. So there can be only one user "admin" for all websites and clients might get confused if they want to add a user "admin" and the system tells them that there is already such a user, even if they have not created a admin user yet because a different client has done that already. So most controlpanels work around that by using a prefix for usernames like ispconfig is doing it. The default prefix is the client username, but you can change the prefix or remove it completely under system > interface config in ispconfig.
Hi Till, I do understand how it works but I expected otherwise and maybe, it might be better differently: Admin for all websites (whole server): Superadmin Admin per reseller (only sold domains): Administrator Admin per enduser (or per website): Admin This is just an example of course. The reason why I expected something like this is when I was a customer of a few Hosting providers, I was able to get the name Admin myself and I was able to grant admin rights to 'colleagues'. Back on topic; it works but still a question(s): When I work on another PC in the network (lets say 192.168.1.8) I can access my server by 192.168.1.100 and I get "It works!!" from Apache. Why can I not reach it by Serveerster.thuis.nl? The whole server seems invisible by its name? I solved this by editing the hosts file on that computer, redirecting **.thuis.nl. Isn't the DNS server of 192.168.1.100 supposed to redirect it? (I have DNS sequence setup 192.168.1.100, 192.168.1.1). Thanks.
To access a website, enter the domain of the website in the URL field of the browser. You can not access websites by IP address as apache need s to know which Website shall be accessed. Thats required for every namebased vhsot setup and not specific to ispconfig. Regarding FTP users, then your other hosting provider runs a separate server or veserver per client. As I pointed out, the limitation that users have to be unique is in the FTP protocaol and daemon and not a limitation in ispconfig. If ftp daemons would support identical usernames for different domains on the same server, then it would be supported by ispconfig as well.
Hi Till, That part I understand but that was not the question; I would like to reach my server at serveerster.thuis.nl:8080 instead of 192.168.1.100:8080. The server is not visible in the network by its name. The sites are working fine
Thats a question of your dns setup and not the ispconfig installation or setup. You can reach ispconfig udner any IP address or domain name that points to the server. If you want to use serveerster.thuis.nl, create a dns A-Record for serveerster.thuis.nl in the DNS server that is authoritive for the zone thuis.nl and point it to the IP address of your server.