Perfect Server, OpenSUSE 13.1 - Apache on http://[public IP]:8080 ". . not available"

Discussion in 'Server Operation' started by rupertrealbear, Nov 18, 2014.

  1. rupertrealbear

    rupertrealbear New Member

    Hi

    I have completed HowtoForge tutorial The Perfect Server - OpenSUSE 13.1 x86_64 (Apache2, MySQL, PHP, Postfix, Dovecot and ISPConfig 3), but I find that - after getting my public IP from
    Code:
    curl -s checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'
    http://[public IP of my openSUSE]:8080

    is ". . not available"

    Because I had no static IP, I skipped step 4 Configure The Network Settings on page 3, leaving the system configured to get the IP address with DHCP (I DID turn off the firewall, tho).

    I commented out the lines beginning "php_admin_flag . . " in /etc/apache2/conf.d/squirrelmail.conf

    and the output of
    Code:
    # systemctl status apache -l
    is
    Code:
    apache2.service - The Apache Webserver
       Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled)
       Active: active (running) since Tue 2014-11-18 10:32:13 GMT; 1h 34min ago
     Main PID: 1606 (httpd2-prefork)
       Status: "Total requests: 0; Current requests/sec: 0; Current traffic:   0 B/sec"
       CGroup: /system.slice/apache2.service
               ├─1606 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL -D SYSTEMD -DFOREGROUND -k start
               ├─1846 vlogger (access log)                                                                                                    
               ├─1853 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL -D SYSTEMD -DFOREGROUND -k start
               ├─1872 /usr/sbin/fcgi-pm        -f /etc/apache2/httpd.conf -DSSL -D SYSTEMD -DFOREGROUND -k start
               ├─1873 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL -D SYSTEMD -DFOREGROUND -k start
               ├─1875 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL -D SYSTEMD -DFOREGROUND -k start
               ├─1876 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL -D SYSTEMD -DFOREGROUND -k start
               ├─1878 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL -D SYSTEMD -DFOREGROUND -k start
               └─1879 /usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -DSSL -D SYSTEMD -DFOREGROUND -k start
    
    Nov 18 10:32:13 linux-urfg start_apache2[1606]: [Tue Nov 18 10:32:13.224588 2014] [so:warn] [pid 1606] AH01574: module fastcgi_module is already loaded, skipping
    Nov 18 10:32:13 linux-urfg start_apache2[1606]: AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/sites-enabled/000-ispconfig.conf:62
    Nov 18 10:32:13 linux-urfg systemd[1]: Started The Apache Webserver.
    Is there something I haven't done (maybe something to do with firewalls|routers) ?

    Any advice would be much appreciated
     
  2. rupertrealbear

    rupertrealbear New Member

    I ran
    Code:
    - netstat -tap
    and got
    Code:
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
    tcp        0      0 192.168.0.6:domain      *:*                     LISTEN      1590/named          
    tcp        0      0 localhost:domain        *:*                     LISTEN      1590/named          
    tcp        0      0 *:ftp                   *:*                     LISTEN      1468/pure-ftpd (SER 
    tcp        0      0 *:ssh                   *:*                     LISTEN      1484/sshd           
    tcp        0      0 *:smtp                  *:*                     LISTEN      1998/master         
    tcp        0      0 localhost:953           *:*                     LISTEN      1590/named          
    tcp        0      0 *:imaps                 *:*                     LISTEN      1469/dovecot        
    tcp        0      0 *:pop3s                 *:*                     LISTEN      1469/dovecot        
    tcp        0      0 localhost:10024         *:*                     LISTEN      1919/amavisd (maste 
    tcp        0      0 localhost:cslistener    *:*                     LISTEN      1540/php-fpm.conf)  
    tcp        0      0 localhost:10025         *:*                     LISTEN      1998/master         
    tcp        0      0 *:pop3                  *:*                     LISTEN      1469/dovecot        
    tcp        0      0 *:imap                  *:*                     LISTEN      1469/dovecot        
    tcp        0      0 localhost:41821         localhost:mysql         ESTABLISHED 2019/amavisd (ch5-a 
    tcp        0      0 localhost:41822         localhost:mysql         ESTABLISHED 2018/amavisd (ch5-a 
    tcp        0      0 *:domain                *:*                     LISTEN      1590/named          
    tcp        0      0 *:ftp                   *:*                     LISTEN      1468/pure-ftpd (SER 
    tcp        0      0 *:ssh                   *:*                     LISTEN      1484/sshd           
    tcp        0      0 *:smtp                  *:*                     LISTEN      1998/master         
    tcp        0      0 localhost:953           *:*                     LISTEN      1590/named          
    tcp        0      0 *:https                 *:*                     LISTEN      1606/httpd2-prefork 
    tcp        0      0 *:imaps                 *:*                     LISTEN      1469/dovecot        
    tcp        0      0 *:pop3s                 *:*                     LISTEN      1469/dovecot        
    tcp        0      0 localhost:10024         *:*                     LISTEN      1919/amavisd (maste 
    tcp        0      0 *:mysql                 *:*                     LISTEN      1885/mysqld         
    tcp        0      0 *:pop3                  *:*                     LISTEN      1469/dovecot        
    tcp        0      0 *:imap                  *:*                     LISTEN      1469/dovecot        
    tcp        0      0 *:http-alt              *:*                     LISTEN      1606/httpd2-prefork 
    tcp        0      0 *:www-http              *:*                     LISTEN      1606/httpd2-prefork 
    tcp        0      0 *:sunproxyadmin         *:*                     LISTEN      1606/httpd2-prefork 
    tcp        0      0 localhost:58996         localhost:imap          TIME_WAIT   -                   
    tcp        0      0 localhost:www-http      localhost:45231         TIME_WAIT   -                   
    tcp        0      0 localhost:mysql         localhost:41822         ESTABLISHED 1885/mysqld         
    tcp        0      0 localhost:mysql         localhost:41821         ESTABLISHED 1885/mysqld         
    tcp        0      0 localhost:34182         localhost:ftp           TIME_WAIT   -                   
    
    I DID manage to connect with
    Code:
    https://192.168.0.6:8080
    (after various STERN warnings)

    rupertrealbear
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, so your server is configured correctly. If you cant connect with the extarnal IP, then you should check your router now to ensure that you forwarded port 8080 tcp to the internal Ip of the server.
     
  4. rupertrealbear

    rupertrealbear New Member

    Thanks, Till. I port-fowarded port 8080 TCP to my internal IP for the server and [after some lengthy confusion, owing to not quite using the EXACT IP address:eek:] I managed to connect with the external IP for my router.

    Best regards

    Guy :)
     

Share This Page