I can't run ISPCONFIG3 when i was install

Discussion in 'Installation/Configuration' started by hieukenpro, Dec 14, 2010.

  1. hieukenpro

    hieukenpro New Member

    Hello All ! i'm study ISPCONFIG 3 and i read some document in howtoforge, I have successfully installed ISPCONFIG
    Code:
    >> Initial configuration  
     
     Operating System: CentOS 5 or compatible
     
         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]: 
     
     Full qualified hostname (FQDN) of the server, eg server1.domain.tld  [server1.nguyhiem.net]: 
     
     MySQL server hostname [localhost]: 
     
     MySQL root username [root]: root 
     
     MySQL root password []: vertrigo
     
     MySQL database to create [dbispconfig]: 
     
     MySQL charset [utf8]: 
     
     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 Jailkit
     Configuring Dovecot
     Configuring Spamassassin
     Configuring Amavisd
     Configuring Getmail
     Configuring Pureftpd
     Configuring BIND
     Configuring Apache
     Configuring Vlogger
     Configuring Apps vhost
     Configuring Firewall
     Installing ISPConfig
     ISPConfig Port [8080]: 
     
     Configuring DBServer
     Installing ISPConfig crontab
     no crontab for root
     no crontab for getmail
     Restarting services ...
     Stopping mysqld:                                           [  OK  ]
     Starting mysqld:                                           [  OK  ]
     Shutting down postfix:                                     [FAILED]
     Starting postfix:                                          [  OK  ]
     Stopping saslauthd:                                        [FAILED]
     Starting saslauthd:                                        [  OK  ]
     Stopping Dovecot Imap:                                     [FAILED]
     Error: Error in configuration file /etc/dovecot.conf line 715: Unknown protocol name (section changed in /etc/dovecot.conf at line 709)
     Fatal: Invalid configuration in /etc/dovecot.conf
     Starting Dovecot Imap:                                     [FAILED]
     Stopping httpd:                                            [  OK  ]
     [Tue Dec 14 16:32:06 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
     Starting httpd:                                            [  OK  ]
     Installation completed.
     
    but i can't use it when i access into 192.168.1.200:8080
    this's picture
    http://nguy-hiem.co.cc/1.png

    please, help me !

    THANK !
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    please post the output of:

    netstat -tap

    and

    iptables -L
     
  3. hieukenpro

    hieukenpro New Member

    this's netstat
    Code:
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   
    tcp        0      0 localhost.localdomain:2208  *:*                         LISTEN      2305/hpiod          
    tcp        0      0 *:npmp-trap                 *:*                         LISTEN      2123/rpc.statd      
    tcp        0      0 *:mysql                     *:*                         LISTEN      2490/mysqld         
    tcp        0      0 *:sunrpc                    *:*                         LISTEN      2088/portmap        
    tcp        0      0 *:ftp                       *:*                         LISTEN      2514/proftpd: (acce 
    tcp        0      0 server1.nguyhiem.net:domain *:*                         LISTEN      2069/named          
    tcp        0      0 localhost.localdomai:domain *:*                         LISTEN      2069/named          
    tcp        0      0 localhost.localdomain:ipp   *:*                         LISTEN      2332/cupsd          
    tcp        0      0 localhost.localdomain:smtp  *:*                         LISTEN      2532/sendmail: acce 
    tcp        0      0 localhost.localdomain:rndc  *:*                         LISTEN      2069/named          
    tcp        0      0 localhost.localdomain:2207  *:*                         LISTEN      2310/python         
    tcp        0      0 *:webcache                  *:*                         LISTEN      2561/httpd          
    tcp        0      0 *:http                      *:*                         LISTEN      2561/httpd          
    tcp        0      0 *:tproxy                    *:*                         LISTEN      2561/httpd          
    tcp        0      0 *:ssh                       *:*                         LISTEN      2323/sshd           
    tcp        0      0 localhost6.localdomain:rndc *:*                         LISTEN      2069/named          
    tcp        0      0 *:https                     *:*                         LISTEN      2561/httpd          
    tcp        0      0 server1.nguyhiem.net:ssh    ::ffff:192.168.1.11:8459    ESTABLISHED 10185/3             
    
    
    and then iptables

    Code:
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination         
    RH-Firewall-1-INPUT  all  --  anywhere             anywhere            
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination         
    RH-Firewall-1-INPUT  all  --  anywhere             anywhere            
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination         
    
    Chain RH-Firewall-1-INPUT (2 references)
    target     prot opt source               destination         
    ACCEPT     all  --  anywhere             anywhere            
    ACCEPT     icmp --  anywhere             anywhere            icmp any 
    ACCEPT     esp  --  anywhere             anywhere            
    ACCEPT     ah   --  anywhere             anywhere            
    ACCEPT     udp  --  anywhere             224.0.0.251         udp dpt:mdns 
    ACCEPT     udp  --  anywhere             anywhere            udp dpt:ipp 
    ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:ipp 
    ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED 
    ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ftp 
    ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:ssh 
    ACCEPT     tcp  --  anywhere             anywhere            state NEW tcp dpt:http 
    REJECT     all  --  anywhere             anywhere            reject-with icmp-host-prohibited 
    
    THANKS!
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Please stop your firewall for testing purposes and then try again.
     
  5. hieukenpro

    hieukenpro New Member

    i use centos 5 and i was disable Selinux but it not run,i think , because i did not install dovecot
    Code:
    Error: Error in configuration file /etc/dovecot.conf line 715: Unknown protocol name (section changed in /etc/dovecot.conf at line 709)
     Fatal: Invalid configuration in /etc/dovecot.conf
     Starting Dovecot Imap:                                     [FAILED]
    can you help me install it ?
    THANKS !
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Which tutorial (URL) did you use to set up the system?

    Do you have a 32- or 64-bit system?
     
  7. hieukenpro

    hieukenpro New Member

    I use this URL()
    but in step 10, i can't run this command
    Code:
    Now (still in /tmp) we can build courier-authlib:
    
    sudo rpmbuild -ta courier-authlib-0.62.1.tar.bz2
    
    and i don't know where's this .rpm packed
    Code:
    [compileuser@server1 i386]$ ls -l
    total 584
    -rw-r--r-- 1 root root 140978 Feb 26 03:00 courier-authlib-0.62.1-1.i386.rpm
    -rw-r--r-- 1 root root 309196 Feb 26 03:00 courier-authlib-debuginfo-0.62.1-1.i386.rpm
    -rw-r--r-- 1 root root  34672 Feb 26 03:00 courier-authlib-devel-0.62.1-1.i386.rpm
    -rw-r--r-- 1 root root  17855 Feb 26 03:00 courier-authlib-ldap-0.62.1-1.i386.rpm
    -rw-r--r-- 1 root root  14048 Feb 26 03:00 courier-authlib-mysql-0.62.1-1.i386.rpm
    -rw-r--r-- 1 root root  13214 Feb 26 03:00 courier-authlib-pgsql-0.62.1-1.i386.rpm
    -rw-r--r-- 1 root root   8175 Feb 26 03:00 courier-authlib-pipe-0.62.1-1.i386.rpm
    -rw-r--r-- 1 root root  35927 Feb 26 03:00 courier-authlib-userdb-0.62.1-1.i386.rpm
    [compileuser@server1 i386]$
    
    Select the ones you want to install, and install them like this:
    
    sudo rpm -ivh courier-authlib-0.62.1-1.i386.rpm courier-authlib-mysql-0.62.1-1.i386.rpm courier-authlib-devel-0.62.1-1.i386.rpm
    i use centos 5.3 32bit
    THANKS!
     
  8. falko

    falko Super Moderator Howtoforge Staff

    You forgot to post the URL. ;)

    What's the error message you get?
     
  9. hieukenpro

    hieukenpro New Member

  10. falko

    falko Super Moderator Howtoforge Staff

    Did you run this command (at the end of page 3)?

    Code:
    yum install ntp httpd mysql-server php php-mysql php-mbstring php-mcrypt phpmyadmin rpm-build gcc mysql-devel openssl-devel cyrus-sasl-devel pkgconfig zlib-devel pcre-devel openldap-devel postgresql-devel expect libtool-ltdl-devel openldap-servers libtool gdbm-devel pam-devel gamin-devel
     
  11. hieukenpro

    hieukenpro New Member

    Thank you ! but when i run this command
    sudo rpmbuild -ta courier-authlib-0.62.1.tar.bz2 and the ERROR
    Code:
    [root@server1 tmp]# sudo rpmbuild -ta courier-authlib-0.62.1.tar.bz2
    error: Failed build dependencies:
            redhat-rpm-config is needed by courier-authlib-0.62.1-1.i386
    
     
  12. falko

    falko Super Moderator Howtoforge Staff

    Run
    Code:
    yum install redhat-rpm-config
    and try again.
     
  13. hieukenpro

    hieukenpro New Member

    it's still show that message
    Code:
    error: Failed build dependencies:
            redhat-rpm-config is needed by courier-authlib-0.62.1-1.i386
    
    
    
     
  14. falko

    falko Super Moderator Howtoforge Staff

    Did
    Code:
    yum install redhat-rpm-config
    show any errors? Was the package installed?
     

Share This Page