Ispconfig3 on centos5.4 i386 problems

Discussion in 'HOWTO-Related Questions' started by zenny, Feb 9, 2010.

  1. zenny

    zenny New Member

    ISPconfig3 webpanel inaccessible in centos5.4 i386 and other problems

    I installed ispconfig3 as stated in http://howtoforge.net/perfect-server-centos-5.4-x86_64-ispconfig-3 but have chosen the i386 rpmbuilds. It was working all well till I installed Ispconfig. The squirrelmail and phpmyadmin showed up at IP (not hostname, server1.mydomain.com), but ISPCONFIG panel refuse to show up at myip:8080 port:-( Just getting a blank page trying to load for hours :-(

    When I executed php -q install.php to install ISPCONFIG3, I encountered the following errors without me allowing to access the webpanel :-:)

    1)
    ...
    Shutting down postfix: [FAILED]
    Starting postfix: [FAILED]
    ...
    httpd: apr_sockaddr_info_get() failed for HOSTNAME=server1.mydomain.net
    httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    [Tue Feb 09 10:18:54 2010] [warn] NameVirtualHost *:443 has no VirtualHosts
    [Tue Feb 09 10:18:54 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
    ...
    Stopping pure-ftpd: [ OK ]
    Starting pure-ftpd: [ OK ]
    Installation completed.

    2) I could not execute the following command with the following error:

    #mysqladmin -u root -h server1.mydomain.net password 123456789
    mysqladmin: connect to server at 'server1.mydomain.net' failed
    error: 'Access denied for user 'root'@'localhost' (using password: NO)'

    3) I could not figure out what are the files and in which directory (normally /var/www/html) the sites are hosted? Appreciate if I can get a directory map of what goes where (including config files) after ISPConfig3 installation.

    Thanks!!
     
    Last edited: Feb 9, 2010
  2. zenny

    zenny New Member

    ISPconfig3 panel not accessible

    Since the ISPconfig3 panel is not accessible, though I can access my_ip/webmail as well as my_ip/phpmyadmin, I could not fix anything. Is there any way that I could do the same as command line?

    I have specified hostname server1.mydomain.net to the machine with 2 public IPs assigned to eth0 and eth0:0 and are assigned ns1.mydomain.net and ns2.mydomain.net in my registrar's control panel.

    Any help solicited, I am just stuck after installing the ISPconfig3 in the remote server. Thanks
     
    Last edited: Feb 11, 2010
  3. zenny

    zenny New Member

    bump

    :confused:!!bump!!bump!!:confused:
     
  4. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    What's the output of
    Code:
    netstat -tap
    ? Are there any errors in Apache's error log?

    Can you connect to MySQL using
    Code:
    mysql -u root -p
    ?
     
  5. zenny

    zenny New Member

    Thanks Falko:

    the output of netstat -tap:

    Script started on Wed 10 Feb 2010 03:57:56 PM CET

    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 server1.mydomain:10024 *:* LISTEN 12742/amavisd (mast
    tcp 0 0 *:mysql *:* LISTEN 12666/mysqld
    tcp 0 0 server1.mydomain:dyna-access *:* LISTEN 705/clamd
    tcp 0 0 *:sunrpc *:* LISTEN 4848/portmap
    tcp 0 0 ns1.mydomain.:webcache *:* LISTEN 11024/httpd
    tcp 0 0 ns2.mydomain.ne:domain *:* LISTEN 12997/mydns
    tcp 0 0 ns1.mydomain.ne:domain *:* LISTEN 12997/mydns
    tcp 0 0 server1.freeregistra:domain *:* LISTEN 12997/mydns
    tcp 0 0 *:ftp *:* LISTEN 12983/pure-ftpd (SE
    tcp 0 0 server1.mydomain.n:ipp *:* LISTEN 5119/cupsd
    tcp 0 0 server1.mydomain.:smtp *:* LISTEN 31443/master
    tcp 0 0 server1.mydomain.:smtp server1.mydomain:60575 SYN_RECV -
    tcp 0 0 *:826 *:* LISTEN 4884/rpc.statd
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:48130 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:60418 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:46600 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:35859 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:54292 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:51735 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:50967 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:48665 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:33818 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:59165 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:60446 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:33826 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:52770 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:57637 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:44326 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:32808 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:56872 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:54840 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:60473 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:45370 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:46908 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:49212 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:46148 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:50757 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:47176 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:50761 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:48457 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:54862 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:37199 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:34384 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:59477 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:50007 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:60247 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:42840 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:56670 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:60256 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:56675 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:35685 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:60777 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:35434 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:55147 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:38510 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:34164 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:44405 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:40311 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:48764 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:39816 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:59276 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:40845 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:59534 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:35472 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:36755 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:48284 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:41887 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:37280 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:60322 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:33444 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:41127 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:60334 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:53422 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:36527 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:60592 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:48565 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:46005 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:53686 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:50871 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:40379 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:52672 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:38593 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:56258 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:50370 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:60102 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:41163 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:52942 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:36820 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:39894 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:38102 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:37847 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:55512 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:46296 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:39642 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:42202 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:41185 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:41445 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:35557 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:34533 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:60902 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:34534 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:36585 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:57578 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:57325 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:51443 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:55288 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:45305 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:41466 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:36602 CLOSE_WAIT -
    tcp 1 0 server1.mydomain.:smtp server1.mydomain:60923 CLOSE_WAIT -
    tcp 0 0 *:imaps *:* LISTEN 12938/couriertcpd
    tcp 0 0 *:pop3s *:* LISTEN 12950/couriertcpd
    tcp 0 0 *:pop3 *:* LISTEN 12944/couriertcpd
    tcp 0 0 *:imap *:* LISTEN 12931/couriertcpd
    tcp 0 0 *:http *:* LISTEN 11024/httpd
    tcp 0 0 localhost6.localdoma:domain *:* LISTEN 12997/mydns
    tcp 0 0 *:ftp *:* LISTEN 12983/pure-ftpd (SE
    tcp 0 0 *:ssh *:* LISTEN 5106/sshd
    tcp 0 0 *:https *:* LISTEN 11024/httpd
    tcp 0 6400 ns1.mydomain.net:ssh 172.166.216.81.static:64442 ESTABLISHED 2198/0

    Script done on Wed 10 Feb 2010 03:58:08 PM CET

    2) I do not see any error in Apache once I installed mod_ssl

    3) I can connect to mysql as root on command line.

    Actually I am planning to deploy the server as my own DNS server with shared webhosting. Like I said it has two public IPs in the same machine assigned to eth0 and eth0:0. I assigned this server ns1.mydomain.net and ns2.mydomain.net and the hostname for the server is assigned server1.mydomain.net. Just for clarifications. Could not figure our where I went wrong?
     
    Last edited: Feb 10, 2010
  6. zenny

    zenny New Member

    Reinstalled again with the same result :-(

    I uninstalled ISPconfig3 using 'php -q uninstall.php' and also deleted the database 'dbispconfig'. I reinstalled with the following output:

    Code:
    # php -q install.php
    --------------------------------------------------------------------------------
     _____ ___________   _____              __ _       
    |_   _/  ___| ___ \ /  __ \            / _(_)      
      | | \ `--.| |_/ / | /  \/ ___  _ __ | |_ _  __ _ 
      | |  `--. \  __/  | |    / _ \| '_ \|  _| |/ _` |
     _| |_/\__/ / |     | \__/\ (_) | | | | | | | (_| |
     \___/\____/\_|      \____/\___/|_| |_|_| |_|\__, |
                                                  __/ |
                                                 |___/ 
    --------------------------------------------------------------------------------
    
    
    >> Initial configuration  
    
    Operating System: Redhat or compatible, unknown version.
    
        Following will be a few questions for primary configuration so be 
    careful.
        Default values are in [brackets] and can be accepted with <ENTER>.
        Tap in "quit" (without the quotes) to stop the installer.
    
    
    Select language (en,de) [en]: 
    
    Installation mode (standard,expert) [standard]: expert
    
    Full qualified hostname (FQDN) of the server, eg server1.domain.tld  
    [server1.mydomain.net]: 
    
    MySQL server hostname [localhost]: 
    
    MySQL root username [root]: 
    
    MySQL root password []: 123456789
    
    MySQL database to create [dbispconfig]: ispconfigdb
    
    MySQL charset [utf8]: 
    
    Shall this server join an existing ISPConfig multiserver setup (y,n) 
    [n]: 
    
    Adding ISPConfig server record to database.
    
    Configure Mail (y,n) [y]: 
    
    Configuring Postfix
    Generating a 2048 bit RSA private key
    ..................................................+++
    .......................................+++
    writing new private key to 'smtpd.key'
    -----
    You are about to be asked to enter information that will be incorporated
    into your certificate request.
    What you are about to enter is what is called a Distinguished Name or a 
    DN.
    There are quite a few fields but you can leave some blank
    For some fields there will be a default value,
    If you enter '.', the field will be left blank.
    -----
    Country Name (2 letter code) [GB]:
    State or Province Name (full name) [Berkshire]:
    Locality Name (eg, city) [Newbury]:
    Organization Name (eg, company) [My Company Ltd]:
    Organizational Unit Name (eg, section) []:
    Common Name (eg, your name or your server's hostname) []:
    Email Address []:
    Configuring SASL
    Configuring PAM
    Configuring Courier
    Configuring Spamassassin
    Configuring Amavisd
    Configuring Getmail
    /etc/sysconfig/network: line 3: server1.mydomain.net: command not 
    found
    Shutting down postfix:                                     [  OK  ]
    Starting postfix:                                          [  OK  ]
    Stopping saslauthd:                                        [  OK  ]
    Starting saslauthd:                                        [  OK  ]
    Shutting down Mail Virus Scanner (amavisd):                [  OK  ]
    Starting Mail Virus Scanner (amavisd):                     [  OK  ]
    sh: /etc/init.d/clamd.amavisd: No such file or directory
    Stopping Courier authentication services: authdaemond
    Starting Courier authentication services: authdaemond
    Stopping Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
    Starting Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
    Stopping Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
    Starting Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
    Stopping Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
    Starting Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
    Stopping Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
    Starting Courier-IMAP server: imap imap-ssl pop3 pop3-ssl
    Configure Jailkit (y,n) [y]: 
    
    Configuring Jailkit
    Configure FTP Server (y,n) [y]: 
    
    Configuring Pureftpd
    /etc/sysconfig/network: line 3: server1.mydomain.net: command not 
    found
    Stopping pure-ftpd:                                        [  OK  ]
    Starting pure-ftpd:                                        [  OK  ]
    Configure DNS Server (y,n) [y]: 
    
    Configuring MyDNS
    
    Hint: If this server shall run the ispconfig interface, select 'y' in 
    the 'Configure Apache Server' option.
    
    Configure Apache Server (y,n) [y]: 
    
    Configuring Apache
    Configuring vlogger
    Configure Firewall Server (y,n) [y]: 
    
    Configuring Firewall
    Install ISPConfig Web-Interface (y,n) [y]: 
    
    Installing ISPConfig
    ISPConfig Port [8080]: 
    
    Configuring DBServer
    Installing Crontab
    Stopping httpd:                                            [  OK  ]
    [Thu Feb 11 10:31:48 2010] [warn] NameVirtualHost *:80 has no 
    VirtualHosts
    Starting httpd:                                            [  OK  ]
    Installation completed.
    
    
    The two errors above with postfix and pure-ftpd was solved after I prefixed HOSTNAME= to the line 3 in /etc/sysconfig/network looks like this:

    Code:
    NETWORKING=yes
    NETWORKING_IPV6=yes
    HOSTNAME=server1.mydomain.net
    
    

    The netstat -tap looks like this:

    Code:
    # netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   
    tcp        0      0 server1.mydomain:10024 *:*                         LISTEN      23170/amavisd (mast 
    tcp        0      0 server1.mydomain:10025 *:*                         LISTEN      23113/master        
    tcp        0      0 *:mysql                     *:*                         LISTEN      12666/mysqld        
    tcp        0      0 server1.mydomain:dyna-access *:*                         LISTEN      705/clamd           
    tcp        0      0 *:sunrpc                    *:*                         LISTEN      4848/portmap        
    tcp        0      0 ns2.mydomain.ne:domain *:*                         LISTEN      23408/mydns         
    tcp        0      0 ns1.mydomain.ne:domain *:*                         LISTEN      23408/mydns         
    tcp        0      0 server1.mydomain:domain *:*                         LISTEN      23408/mydns         
    tcp        0      0 *:ftp                       *:*                         LISTEN      23393/pure-ftpd (SE 
    tcp        0      0 server1.mydomain.n:ipp *:*                         LISTEN      5119/cupsd          
    tcp        0      0 *:smtp                      *:*                         LISTEN      23113/master        
    tcp        0      0 *:826                       *:*                         LISTEN      4884/rpc.statd      
    tcp        0      0 *:imaps                     *:*                         LISTEN      23367/couriertcpd   
    tcp        0      0 *:pop3s                     *:*                         LISTEN      23379/couriertcpd   
    tcp        0      0 *:pop3                      *:*                         LISTEN      23373/couriertcpd   
    tcp        0      0 *:imap                      *:*                         LISTEN      23360/couriertcpd   
    tcp        0      0 *:webcache                  *:*                         LISTEN      24579/httpd         
    tcp        0      0 *:http                      *:*                         LISTEN      24579/httpd         
    tcp        0      0 localhost6.localdoma:domain *:*                         LISTEN      23408/mydns         
    tcp        0      0 *:ftp                       *:*                         LISTEN      23393/pure-ftpd (SE 
    tcp        0      0 *:ssh                       *:*                         LISTEN      5106/sshd           
    tcp        0      0 *:https                     *:*                         LISTEN      24579/httpd         
    tcp        0      0 ns1.mydomain.net:ssh   127.167.218.18.static:52172 ESTABLISHED 10766/0             
    tcp        0   2016 ns1.mydomain.net:ssh   127.167.218.18.static:52877 ESTABLISHED 20779/1             
    tcp        0      0 ns1.mydomain.net:ssh   127.167.218.18.static:52383 ESTABLISHED 16618/2  
    

    The problem persists. I can access to my_remote_ip/webmail as well as phpmyadmin as well as apache2 test page, but not to the my_remote_ip:8080 to render ISPconfig3 web panel. Where did I go wrong? Stuck in the middle.
     
    Last edited: Feb 11, 2010
  7. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    According to your netstat output, ISPConfig is running on port 8080... Is the server in a data center, or is it in your LAN?
     
  8. zenny

    zenny New Member

    datacenter

    At remote datacenter with the following iptables:

    Code:
    # iptables -L
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination         
    fail2ban-ssh  tcp  --  anywhere             anywhere            tcp dpt:ssh 
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain fail2ban-ssh (1 references)
    target     prot opt source               destination         
    RETURN     all  --  anywhere             anywhere 
    
    I am just wondering why I could not access if it is running. I tried to access the my_remote_ip:8080 locally using elinks browser under a ssh session and still it didn't render the login page of ISPConfig.

    However, when I tried with elinks with 127.0.0.1:8080, it renders the login page. Where do I need to make modifications? Making me nervous ;-)
     
    Last edited: Feb 12, 2010
  9. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Is your data center maybe blocking port 8080?
     
  10. zenny

    zenny New Member

    Maybe, but I am not aware of they restricting like that. It is a dedicated server.

    But I found a way out by ssh tunneling the remote:8080 port to localhost:8080.

    Code:
    ssh -L 8080:localhost:8080 root@remote_ip
    
    And I accessed with my browser and it works ;-)

    Now, I am just stuck with how to start with adding new domains (with their own mailserver, and others). I was aware how to go about it in ISPconfig2 but ISPconfig3 seems pretty different.

    Could you guide me after adding either a client and a reseller, what steps are needed to add the other services (like mailservers, dns etc.)? Couldn't find any documentation except for ISPconfig2. I searched other threads in the forum with sporadic replies not specific to what most of the users need as of below:

    I want like this: the main domain should be service1.mydomain.net with mail.mydomain.net as mailserver and ns1.mydomain.net pointing to the first public IP for DNS resolution and ns2.mydomain.net to 2nd public IP.

    The main ns1.mydomain.net and ns2.mydomain.net would be used as the pointer nameservers for other shared domains in the server. Could you guide me which are the steps taken pointwise to make this happen?

    Thanks!!!
     

Share This Page