IPCONFIG3 webmail unable to connect errors

Discussion in 'Installation/Configuration' started by i928, Feb 9, 2012.

  1. i928

    i928 New Member

    I am new to server setup.
    I have a Fedora 15 x86_64 vm.
    I followed the instruction "The Perfect Server - Fedora 15 x86_64 [ISPConfig 3]"
    I tried to access webmail website after Step 23 Install SquirrelMail.
    I got "Unable to connect" error. I can connect phpmyadmin and ISPConfig localhost:8080.

    Any suggestion how to resolve this issue.

    Best Regards,

    Chiiwen
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please post the output of the command:

    netstat -tap
     
  3. i928

    i928 New Member

    Till,

    Thanks for your help.

    Chiiwen

    [[email protected] squirrelmail]# netstat -tap

    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 localhost.localdomain:10024 *:* LISTEN 6765/amavisd (maste
    tcp 0 0 localhost.localdomain:10025 *:* LISTEN 4871/master
    tcp 0 0 *:mysql *:* LISTEN 4742/mysqld
    tcp 0 0 *:ftp *:* LISTEN 5196/pure-ftpd (SER
    tcp 0 0 localhost.localdomain:ipp *:* LISTEN 959/cupsd
    tcp 0 0 *:smtp *:* LISTEN 4871/master
    tcp 0 0 *:pop3s *:* LISTEN 5155/couriertcpd
    tcp 0 0 *:pop3 *:* LISTEN 5149/couriertcpd
    tcp 0 0 *:imap *:* LISTEN 5136/couriertcpd
    tcp 0 0 *:webcache *:* LISTEN 7352/httpd
    tcp 0 0 *:http *:* LISTEN 7352/httpd
    tcp 0 0 *:tproxy *:* LISTEN 7352/httpd
    tcp 0 0 *:ftp *:* LISTEN 5196/pure-ftpd (SER
    tcp 0 0 localhost.localdomain:ipp *:* LISTEN 959/cupsd
    tcp 0 0 *:smtp *:* LISTEN 4871/master
    tcp 0 0 *:imaps *:* LISTEN 5143/couriertcpd
     
  4. falko

    falko Super Moderator ISPConfig Developer

    Looks good. Are there any errors in Apache's error log and your mail log?
     
  5. i928

    i928 New Member

    Flako,

    Thanks for your help.
    There are errors from Apache's error_log
    Code:
    [Fri Feb 10 19:51:38 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Fri Feb 10 19:51:38 2012] [notice] Digest: generating secret for digest authentication ...
    [Fri Feb 10 19:51:38 2012] [notice] Digest: done
    No log handling enabled - using stderr logging
    Created directory: /var/lib/net-snmp/cert_indexes
    Created directory: /var/lib/net-snmp/mib_indexes
    [Fri Feb 10 19:51:39 2012] [notice] Apache/2.2.21 (Unix) DAV/2 mod_fcgid/2.3.6 PHP/5.3.9 configured -- resuming normal operations
    [Fri Feb 10 19:55:15 2012] [notice] caught SIGTERM, shutting down
    [Fri Feb 10 19:55:17 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
    [Fri Feb 10 19:55:17 2012] [notice] Digest: generating secret for digest authentication ...
    [Fri Feb 10 19:55:17 2012] [notice] Digest: done
    [Fri Feb 10 19:55:17 2012] [notice] Apache/2.2.21 (Unix) DAV/2 mod_fcgid/2.3.6 PHP/5.3.9 mod_ruby/1.3.0 Ruby/1.8.7(2011-12-28) configured -- resuming normal operations
    [Fri Feb 10 23:10:10 2012] [notice] caught SIGTERM, shutting down
    
    maillog seems ok.
    Code:
    Feb 10 22:55:33 chess1 clamd.amavisd[20377]: SelfCheck: Database status OK.
    Feb 10 23:00:36 chess1 clamd[20349]: SelfCheck: Database status OK.
    Feb 10 23:03:48 chess1 sendmail[25826]: q1B43mc3025826: [email protected], size=149, class=0, nrcpts=1, msgid=<[email protected]>, [email protected]
    Feb 10 23:03:48 chess1 postfix/smtpd[25827]: connect from localhost.localdomain[127.0.0.1]
    Feb 10 23:03:48 chess1 postfix/smtpd[25827]: DB92B442CF: client=localhost.localdomain[127.0.0.1]
    Feb 10 23:03:48 chess1 postfix/cleanup[25830]: DB92B442CF: message-id=<[email protected]>
    Feb 10 23:03:48 chess1 sendmail[25826]: q1B43mc3025826: to=root, [email protected] (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30149, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (Ok: queued as DB92B442CF)
    Feb 10 23:03:49 chess1 postfix/smtpd[25827]: disconnect from localhost.localdomain[127.0.0.1]
    Feb 10 23:03:49 chess1 postfix/qmgr[20071]: DB92B442CF: from=<[email protected]>, size=612, nrcpt=1 (queue active)
    Feb 10 23:03:49 chess1 postfix/local[25831]: DB92B442CF: to=<[email protected]>, relay=local, delay=0.31, delays=0.2/0.06/0/0.05, dsn=2.0.0, status=sent (delivered to mailbox)
    Feb 10 23:03:49 chess1 postfix/qmgr[20071]: DB92B442CF: removed
    Feb 10 23:06:19 chess1 clamd.amavisd[20377]: SelfCheck: Database status OK.
    Feb 10 23:10:36 chess1 clamd[20349]: SelfCheck: Database status OK.
    Feb 10 23:16:19 chess1 clamd.amavisd[20377]: SelfCheck: Database status OK.
    Feb 10 23:20:36 chess1 clamd[20349]: SelfCheck: Database status OK.
    Feb 10 23:26:19 chess1 clamd.amavisd[20377]: SelfCheck: Database status OK.
    Feb 10 23:28:41 chess1 clamd.amavisd[20377]: Pid file removed.
    Feb 10 23:28:41 chess1 clamd.amavisd[20377]: --- Stopped at Fri Feb 10 23:28:41 2012
    Feb 10 23:28:41 chess1 clamd.amavisd[20377]: Socket file removed.
    Feb 10 23:28:41 chess1 clamd[26042]: clamd daemon 0.97.3 (OS: linux-gnu, ARCH: x86_64, CPU: x86_64)
    Feb 10 23:28:41 chess1 clamd[26042]: Running as user amavis (UID 493, GID 487)
    Feb 10 23:28:41 chess1 clamd[26042]: Log file size limited to 1048576 bytes.
    Feb 10 23:28:41 chess1 clamd[26042]: Reading databases from /var/lib/clamav
    Feb 10 23:28:41 chess1 clamd[26042]: Not loading PUA signatures.
    Feb 10 23:28:41 chess1 clamd[26042]: Bytecode: Security mode set to "TrustSigned".
    Feb 10 23:28:43 chess1 clamd[26042]: Loaded 1135080 signatures.
    Feb 10 23:28:43 chess1 clamd[26042]: LOCAL: Unix socket file /var/spool/amavisd/clamd.sock
    Feb 10 23:28:43 chess1 clamd[26042]: LOCAL: Setting connection queue length to 200
    Feb 10 23:28:43 chess1 clamd[26043]: Limits: Global size limit set to 104857600 bytes.
    Feb 10 23:28:43 chess1 clamd[26043]: Limits: File size limit set to 26214400 bytes.
    Feb 10 23:28:43 chess1 clamd[26043]: Limits: Recursion level limit set to 16.
    Feb 10 23:28:43 chess1 clamd[26043]: Limits: Files limit set to 10000.
    Feb 10 23:28:43 chess1 clamd[26043]: Archive support enabled.
    Feb 10 23:28:43 chess1 clamd[26043]: Algorithmic detection enabled.
    Feb 10 23:28:43 chess1 clamd[26043]: Portable Executable support enabled.
    Feb 10 23:28:43 chess1 clamd[26043]: ELF support enabled.
    Feb 10 23:28:43 chess1 clamd[26043]: Mail files support enabled.
    Feb 10 23:28:43 chess1 clamd[26043]: OLE2 support enabled.
    Feb 10 23:28:43 chess1 clamd[26043]: PDF support enabled.
    Feb 10 23:28:43 chess1 clamd[26043]: HTML support enabled.
    Feb 10 23:28:43 chess1 clamd[26043]: Self checking every 600 seconds.
    
    Best Regards,

    Chiiwen
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Looks ok. Can you post an excerpt from both logs from the time you try to log into your webmail application?
     
  7. i928

    i928 New Member

    Falko,

    Thanks for your help. I found out the reason.
    squirrelmail default use https. It works after I commented out https session.

    Code:
    #
    # SquirrelMail is a webmail package written in PHP.
    #
    
    Alias /webmail /usr/share/squirrelmail
    
    <Directory "/usr/share/squirrelmail/plugins/squirrelspell/modules">
      Deny from all
    </Directory>
    
    # this section makes squirrelmail use https connections only, for this you
    # need to have mod_ssl installed. If you want to use unsecure http
    # connections, just remove this section:
    <Directory /usr/share/squirrelmail>
      RewriteEngine  on
      RewriteCond    %{HTTPS} !=on
      RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
    </Directory>
    
    Best Regards,

    Chiiwen
     

Share This Page