okay so i will be hosting multiple virtual domains. Running on a SuSE9.3 with ISPconfig installed i got it all up and running (I thought) The websites come up no problem (the actual page on the ISPconfig server) but here is what is not working: A) Email seems to not be recieving..and the webmail installed (UBI) wont log into any mailbox's. I send test messages from hotmail and never get a undeliverable message in hotmail..so where are they? I use multiple mail clients on other machines to check and they (like outlook) cannot login to the mail box(s) either. B) HTTPS instantly errors out C) FTP only works if i use the internal ip of the server 192.168.1.205 but if I try to ftp using a domain name on the server nothing happens. D) If it matters my domains are pointed to FREEDNS server (http://freedns.afraid.org) that in turns directs the request to my cable modem. Frustration on this is that i know 1% about linux (so im new here). I currently have a windows system working with email and web through FREEDNS with 7 domains on it, but want to dump it for the linux (Tired of Microso...t). I want to move it all over to the SuSE/ISPConfig setup. Please any help/advice.
I#m not sure if this works or not but do you have wildcards set? are behind a router? on my test system i use "dyns.cx" & it works, my router is a ipcop router . hope this helps.
If you're anything new to Linux, do expect frustrations. I have installed using the How-To Falko created and ISPConfig till developed on my server (x4), and on remote servers (x3) without problems on Fedora 3. The only problem I got was due to my stupidiy and the person who install linux on the remote server. You must know what logs to look at in order for the folks here to help you. Some of your question my have already been posted here. I know I have lost some hair by trying to solve my problems, but that's just part of using an unfamiliar OS. I hope you get your problems sorted soon. Trust me, when you get all the problems ironed out, ISPC is a treat!. Best of luck! Rommel
Please check your mail log (in the directory /var/log) ans syslog for errors. A command to get the last part of a logfile on the commandline is: Code: tail NAMEOFTHELOGFILE What is the error? This looks like a DNS problem. Have you tried FTP from outside your network?
Here is a copy of the mail log (kinda long sorry): ------------[MAIL - log start]------------- Aug 29 23:59:05 wwwserver postfix/postfix-script: starting the Postfix mail system Aug 29 23:59:05 wwwserver postfix/master[27603]: daemon started -- version 2.2.1, configuration /etc/postfix Aug 30 03:00:22 wwwserver postfix/pickup[30788]: 1991622B2C: uid=0 from=<root> Aug 30 03:00:22 wwwserver postfix/cleanup[926]: 1991622B2C: message-id=<[email protected]> Aug 30 03:00:22 wwwserver postfix/qmgr[27618]: 1991622B2C: from=<[email protected]>, size=581, nrcpt=1 (queue active) Aug 30 03:00:22 wwwserver postfix/local[928]: 1991622B2C: to=<[email protected]>, orig_to=<root>, relay=local, delay=1, status=sent (delivered to maildir) Aug 30 03:00:22 wwwserver postfix/qmgr[27618]: 1991622B2C: removed Aug 30 09:00:21 wwwserver postfix/pickup[11144]: 5217922B52: uid=0 from=<root> Aug 30 09:00:21 wwwserver postfix/cleanup[12518]: 5217922B52: message-id=<[email protected]> Aug 30 09:00:21 wwwserver postfix/qmgr[27618]: 5217922B52: from=<[email protected]>, size=581, nrcpt=1 (queue active) Aug 30 09:00:21 wwwserver postfix/local[12520]: 5217922B52: to=<[email protected]>, orig_to=<root>, relay=local, delay=0, status=sent (delivered to maildir) Aug 30 09:00:21 wwwserver postfix/qmgr[27618]: 5217922B52: removed Aug 30 15:00:21 wwwserver postfix/pickup[23706]: 8922F22B53: uid=0 from=<root> Aug 30 15:00:21 wwwserver postfix/cleanup[23864]: 8922F22B53: message-id=<[email protected]> Aug 30 15:00:21 wwwserver postfix/qmgr[27618]: 8922F22B53: from=<[email protected]>, size=581, nrcpt=1 (queue active) Aug 30 15:00:21 wwwserver postfix/local[23866]: 8922F22B53: to=<[email protected]>, orig_to=<root>, relay=local, delay=0, status=sent (delivered to maildir) Aug 30 15:00:21 wwwserver postfix/qmgr[27618]: 8922F22B53: removed Aug 30 15:48:36 wwwserver pop3d: Connection, ip=[::ffff:127.0.0.1] Aug 30 15:48:41 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:127.0.0.1] Aug 30 15:50:03 wwwserver authdaemond.plain: restarting authdaemond children Aug 30 15:50:03 wwwserver authdaemond.plain: modules="authcustom authcram authuserdb authldap authpam", daemons=5 Aug 30 15:50:05 wwwserver postfix/master[27603]: terminating on signal 15 Aug 30 15:51:39 wwwserver authdaemond.plain: modules="authcustom authcram authuserdb authldap authpam", daemons=5 Aug 30 15:52:15 wwwserver postfix/postfix-script: starting the Postfix mail system Aug 30 15:52:15 wwwserver postfix/master[5944]: daemon started -- version 2.2.1, configuration /etc/postfix Aug 30 15:56:05 wwwserver postfix/master[5944]: terminating on signal 15 Aug 30 15:56:07 wwwserver postfix/postfix-script: starting the Postfix mail system Aug 30 15:56:07 wwwserver postfix/master[6709]: daemon started -- version 2.2.1, configuration /etc/postfix Aug 30 16:34:14 wwwserver postfix/master[6709]: terminating on signal 15 Aug 30 16:34:18 wwwserver postfix/postfix-script: starting the Postfix mail system Aug 30 16:34:18 wwwserver postfix/master[32168]: daemon started -- version 2.2.1, configuration /etc/postfix Aug 30 16:34:18 wwwserver postfix/master[32168]: terminating on signal 15 Aug 30 16:34:20 wwwserver postfix/postfix-script: starting the Postfix mail system Aug 30 16:34:20 wwwserver postfix/master[32269]: daemon started -- version 2.2.1, configuration /etc/postfix Aug 30 16:34:33 wwwserver postfix/master[32269]: terminating on signal 15 Aug 30 16:34:35 wwwserver postfix/postfix-script: starting the Postfix mail system Aug 30 16:34:35 wwwserver postfix/master[32520]: daemon started -- version 2.2.1, configuration /etc/postfix Aug 30 16:41:35 wwwserver postfix/master[32520]: terminating on signal 15 Aug 30 16:41:39 wwwserver postfix/postfix-script: starting the Postfix mail system Aug 30 16:41:39 wwwserver postfix/master[865]: daemon started -- version 2.2.1, configuration /etc/postfix Aug 30 16:42:04 wwwserver postfix/master[865]: terminating on signal 15 Aug 30 16:42:05 wwwserver postfix/postfix-script: starting the Postfix mail system Aug 30 16:42:05 wwwserver postfix/master[1237]: daemon started -- version 2.2.1, configuration /etc/postfix Aug 30 16:42:20 wwwserver pop3d: Connection, ip=[::ffff:127.0.0.1] Aug 30 16:43:03 wwwserver pop3d: Connection, ip=[::ffff:127.0.0.1] Aug 30 16:43:06 wwwserver pop3d: Connection, ip=[::ffff:127.0.0.1] Aug 30 16:44:29 wwwserver pop3d: Connection, ip=[::ffff:68.35.83.14] Aug 30 16:44:34 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:68.35.83.14] Aug 30 16:57:12 wwwserver pop3d: Connection, ip=[::ffff:127.0.0.1] ------------[MAIL - log end]------------- ------------[MAIL.ERR - log start]------------- Aug 29 04:37:40 wwwserver postfix/postqueue[31249]: fatal: Cannot flush mail queue - mail system is down Aug 29 16:08:52 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:127.0.0.1] Aug 29 16:20:58 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:127.0.0.1] Aug 29 16:21:15 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:127.0.0.1] Aug 29 17:03:39 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:127.0.0.1] Aug 29 17:04:52 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:127.0.0.1] Aug 29 23:21:02 wwwserver postfix/postqueue[5977]: fatal: Cannot flush mail queue - mail system is down Aug 29 17:27:01 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:68.35.83.14] Aug 29 17:51:30 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:68.35.83.14] Aug 29 17:54:37 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:192.168.1.1] Aug 29 17:54:51 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:192.168.1.1] Aug 29 17:55:12 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:192.168.1.1] Aug 29 17:55:25 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:192.168.1.1] Aug 29 17:55:32 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:192.168.1.1] Aug 29 17:59:45 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:192.168.1.1] Aug 29 17:59:53 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:192.168.1.1] Aug 29 18:02:23 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:127.0.0.1] Aug 29 18:03:56 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:127.0.0.1] Aug 29 18:04:45 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:192.168.1.1] Aug 29 18:04:52 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:192.168.1.1] Aug 29 19:42:09 wwwserver imapd: DISCONNECTED, ip=[::ffff:127.0.0.1], time=60 Aug 29 19:49:20 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:68.35.83.14] Aug 29 19:49:32 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:127.0.0.1] Aug 29 19:49:55 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:192.168.1.1] Aug 29 19:50:42 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:192.168.1.1] Aug 29 19:51:21 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:192.168.1.1] Aug 29 19:51:29 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:192.168.1.1] Aug 29 19:52:32 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:68.35.83.14] Aug 30 15:48:41 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:127.0.0.1] Aug 30 16:44:34 wwwserver pop3d: LOGIN FAILED, ip=[::ffff:68.35.83.14] ------------[MAIL.ERR - log end]------------- Well on internet explorer there is no error. In firefox the error is "The connection to xxxxxxxxx has terminated unexpectedly. Some data may have been transfered." Yes i have tried ftp'ing from an off site system as well as a whole other physical connection when i do it looks like it connets then just freezes before it shows the directory listing. Thanks for helping me with this i look forward to it running in the future!
Have you tried both Passive on/ Passive off on your ftp client? This might not be the answer you are looking for, but I find that I less problems using F3 rather than F4. F4 did give me some FTP problems but F3 worked off the bat. Also I think falko is the person you are looking for as far as Linux operations is concerned. Unfortunately for us, he is on vacation.
I uninstalled and reinstalled ISPconfig and at least the SSL for the pannel works now!!! Ftp still does not...If i ftp to the local internal IP on the network ftp works. If i try using the domain name i logs in and seems to just hang at the "list" below is a capture from my ftp log: ------------- STATUS:> This site can resume broken downloads. COMMAND:> REST 0 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer COMMAND:> PASV 227 Entering Passive Mode (192,168,1,205,4,40). COMMAND:> LIST STATUS:> Connecting FTP data socket 192.168.1.205:1064... ------------- Also email is still not working as mentioned originall in this thread. I have a feeling the email is something simple but i have no idea what.
Are you behind a router? What do you have in your HOSTS file on the machine you are accessing ftp from?
Yes i am behind router and have forward the port 21 to the server. Here is a copy of the HOSTS file ----------[HOSTS file start]------------ # # hosts This file describes a number of hostname-to-address # mappings for the TCP/IP subsystem. It is mostly # used at boot time, when no name servers are running. # On small systems, this file can be used instead of a # "named" name server. # Syntax: # # IP-Address Full-Qualified-Hostname Short-Hostname # 127.0.0.1 localhost # special IPv6 addresses ::1 localhost ipv6-localhost ipv6-loopback fe00::0 ipv6-localnet ff00::0 ipv6-mcastprefix ff02::1 ipv6-allnodes ff02::2 ipv6-allrouters ff02::3 ipv6-allhosts 192.168.1.205 wwwserver.example.com wwwserver ----------[HOSTS file end]------------
From your Postfix logs it seems as if you're using Maildir. Are you using Courier-POP3or another POP3 daemon? You have to use on that's using Maildir, not mbox (if you search the forums, you'll find more about this).
Falko, In going thourgh some of the fourms and double checking everything mentioned in there for the 3rd time...now it is working...I wonder if some of it was because i was using ISPConfig on a remote machine...one i rechecked everything on the physical server in ISPCONFIG email started working!!! I dunno but it works!!! Now for FTP???? Neither Annonymous or Users can get all the way in...it will connect, login in user name but hang at the LIST command. (FTP only works from within the local network using direct IP address of server.) I have also tried passive with no luck. Any other idea? everything i read on the forums is people cant get past user name that is not the problem again it hangs on the LIST
I have read through that thread multiple times and done that and still, inside my network or out it will login but hang at the LIST command. Inside the network it works great with the direct IP address instead of the domain name. Today i tried it at a customers location and below is a copy of the log in the FTP client showing where it stops at the LIST command: -------------------------- SmartFTP v1.5.990.2 Resolving host name "cryptchat.com" Connecting to 24.117.228.198 Port: 21 Connected to cryptchat.com. 220 FTP Server ready. USER web1_user 331 Password required for web1_shane. PASS (hidden) 230 User web1_user logged in. SYST 215 UNIX Type: L8 FEAT 211-Features: MDTM REST STREAM SIZE 211 End PWD 257 "/" is current directory. TYPE I 200 Type set to I PASV An established connection was aborted by the software in your host machine. Server closed connection --------------------------------- Any ideas?
I guess it's an issue with your router's firewall. Maybe it can't cope with FTP (FTP is a firewall nightmare... ). You might try to turn your router's firewall off for a minute and test if you can connect. Then you'll know if your router's firewall causes the problem or not...
Falko, Tried that same problem still. In my routers firewall (linksys) i have my ftp port forward back to my windows ftp server and all is well but when pointed to the linux box or bypassing firewall still have issue? A) while thinking about this if you look at one of my other ftp client logs it shows the IP or the physical ftp server (192.168.1.205) could that be why it is stopping? that ip shows up right at the list command? shouldn't that IP be my external resolved static IP (24.117.228.198) i get from my cable company? --------[logs]------------------- Getting listing ""... STATUS:> Resolving host name ftp.cryptchat.com... STATUS:> Host name ftp.cryptchat.com resolved: ip = 24.117.228.198. STATUS:> Connecting to FTP server ftp.cryptchat.com:21 (ip = 24.117.228.198)... STATUS:> Socket connected. Waiting for welcome message... 220 FTP Server ready. STATUS:> Connected. Authenticating... COMMAND:> USER web4_ol 331 Password required for web4_ol. COMMAND:> PASS ***** 230 User web4_ol logged in. STATUS:> Login successful. COMMAND:> PWD 257 "/" is current directory. STATUS:> Home directory: / COMMAND:> FEAT 211-Features: MDTM REST STREAM SIZE 211 End STATUS:> This site supports features. STATUS:> This site supports SIZE. STATUS:> This site can resume broken downloads. COMMAND:> REST 0 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer COMMAND:> PASV 227 Entering Passive Mode (192,168,1,205,16,88). COMMAND:> LIST STATUS:> Connecting FTP data socket 192.168.1.205:4184... ERROR:> Timeout (60000 ms) occurred on receiving server response. ERROR:> PASV failed, trying PORT. -------------------------------------------------------- B) Also i noticed this WARNING message when restarting proftpd is there any concern here? ===== Shutting down ProFTPD Server: done Starting ProFTPD Server: - warning: "ProFTPD" address/port (192.168.1.205:21) already in use by "ProFTPD Default Installation" done ===== C) I came across this thread on the proftpd site, it is the same problem im having but for a totally differant linux build. they talk about tunring off NSCD helping it, i did try to stop the NSCD service but it wont shut off, when i etll the system to it says its off but if i "chkconfig --list" the list show it still running. Anyways they also talk about a differant linux build so don't want to get in too deep until i see what you think. the thread about this is: http://bugs.proftpd.org/show_bug.cgi?id=2452 --thanks for helping, i'm desperate to resolve this so i can get my clients up thanks for any help!
a) In a NAT Enviromet your server knows only his "private" IP Address. b) Please try this solution with socket bind tight: http://www.howtoforge.com/forums/showthread.php?t=120&page=2
Just a quick shot in the dark. How about for a brief period, place the linux server in front of the router just to test if it can be accessed from outside.
Thanks Till, I did the socketbindtight - no change Following the url you gave above i read through and even used the recommended proftpd.conf file instead of the one i created following the "The Perfect Setup -Suse 9.3" instructions. Interesting thing...when i use the PROFTPD.CONF that was posted at http://www.howtoforge.com/forums/showthread.php?t=120&page=2 i get the following FTP error on my ftp clients: ---------------- STATUS:> Getting listing ""... STATUS:> Connecting to FTP server 24.117.228.198:21 (ip = 24.117.228.198)... ERROR:> The remote host actively refused the attempt to connect to it. 1) Verify that the destination server name or IP address is correct 2) Verify that the connection port number is correct (under Site Settings | Type tab). 3) The remote server may be temporarily or permanently inaccessible (try again later). 4) Verify that you have chosen the right protocol (SSH2, SSL, FTP, etc.) and have setup all required options for that protocol. 5) Verify that the destination IP address and port numbers are correct. 6) The remote server may be refusing multiple connections from the same client. Try using only one connection thread when connecting to this particular server (Site Settings | Options). 7) Try pinging the address. 8) If you are using a router, verify the router is up and running (check by pinging it and then ping an address outside of the router). 9) Do a traceroute to the destination to verify all routers along the connection path are operational. 10) Verify that your subnet mask is setup properly. 11) Verify that your local software or hardware firewall is not blocking outbound connections originating from CuteFTP. 12) Verify that your anti-virus software is not at fault (try disabling it). ------------------ I did note that the url above you gave me to follow the indavidual with the problem notes that his problems started after reinstalling ispconfig..that sticks with me because i too had to reinstall ispconfig to get HTTPS corrected a few days back and never tried ftp till after i reinstalled ispconfig and got HTTPS working. So i am begining to wonder would just taking the linux box and starting completely from scratch with reinstalling Suse per above instructions and then ISPConfig help? Thanks guys for continuing to help me with this...im lost but i think beging to understand..will feel good once i can ftp though.