No Ispconfig After Reboot

Discussion in 'Installation/Configuration' started by andrusha, May 10, 2007.

  1. andrusha

    andrusha New Member

    I have SUSE 10.1 I followed Perfect Setup instructions everything runs great.
    Installed Ispconfig worked very nicely till i did server reboot now only my webpages come out but cannot access http://www.xxx.com:81/
    also tried running /etc/init.d/ispconfig_server start everything is running but still no access to ISPconfig or Proftpd FTP....Can someone help me please.....
     
  2. JaJunk

    JaJunk New Member

    post output of netstat -tap
     
  3. andrusha

    andrusha New Member

    linux:~ # netstat -tap
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:mysql *:* LISTEN 2561/mysqld
    tcp 0 0 localhost:971 *:* LISTEN 3763/famd
    tcp 0 0 *:sunrpc *:* LISTEN 3169/portmap
    tcp 0 0 localhost:novell-zen *:* LISTEN 3404/zmd
    tcp 0 0 *:hosts2-ns *:* LISTEN 10033/ispconfig_htt
    tcp 0 0 *:ftp *:* LISTEN 10274/proftpd: (acc
    tcp 0 0 ool-457a0085.dyn:domain *:* LISTEN 10257/named
    tcp 0 0 localhost:domain *:* LISTEN 10257/named
    tcp 0 0 *:ipp *:* LISTEN 3445/cupsd
    tcp 0 0 localhost:953 *:* LISTEN 10257/named
    tcp 0 0 *:smtp *:* LISTEN 10176/master
    tcp 0 0 localhost:6010 *:* LISTEN 12449/0
    tcp 0 0 *:imaps *:* LISTEN 3344/couriertcpd
    tcp 0 0 *:pop3s *:* LISTEN 3382/couriertcpd
    tcp 0 0 *:pop3 *:* LISTEN 3367/couriertcpd
    tcp 0 0 *:imap *:* LISTEN 3329/couriertcpd
    tcp 0 0 *:www-http *:* LISTEN 10101/httpd2-prefor
    tcp 0 0 *:ssh *:* LISTEN 3567/sshd
    tcp 0 0 localhost:953 *:* LISTEN 10257/named
    tcp 0 0 *:smtp *:* LISTEN 10176/master
    tcp 0 0 localhost:6010 *:* LISTEN 12449/0
    tcp 0 2072 ool-457a0085.dyn.op:ssh c-68-32-54-208.hs:64210 ESTABLISHED 12447/sshd: admin [
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Please start ISPConfig by executing:

    /etc/init.d/ispconfig_server start

    to start ISPConfig automatically after reboot, execute this command.

    chkconfig --add ispconfig_server
     
  5. andrusha

    andrusha New Member

    I did that it gives me

    Starting ISPConfig system...
    /root/ispconfig/httpd/bin/apachectl startssl: httpd (pid 10033) already running
    FreshClam is already running!
    ISPConfig system is now up and running!

    But I still cannot access ISPConfig and FTP is down....
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    I guess ISPconfig and FTP is blocked by a firewall. Please post the output of:

    iptables -L
     
  7. andrusha

    andrusha New Member

    linux:~ # iptables -L
    Chain INPUT (policy DROP)
    target prot opt source destination
    ACCEPT all -- anywhere anywhere
    ACCEPT all -- anywhere anywhere state RELATED,ESTAB LISHED
    input_ext all -- anywhere anywhere
    input_ext all -- anywhere anywhere
    LOG all -- anywhere anywhere limit: avg 3/min bu rst 5 LOG level warning tcp-options ip-options prefix `SFW2-IN-ILL-TARGET '
    DROP all -- anywhere anywhere

    Chain FORWARD (policy DROP)
    target prot opt source destination
    LOG all -- anywhere anywhere limit: avg 3/min bu rst 5 LOG level warning tcp-options ip-options prefix `SFW2-FWD-ILL-ROUTING '

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination
    ACCEPT all -- anywhere anywhere
    ACCEPT all -- anywhere anywhere state NEW,RELATED,E STABLISHED
    LOG all -- anywhere anywhere limit: avg 3/min bu rst 5 LOG level warning tcp-options ip-options prefix `SFW2-OUT-ERROR '

    Chain forward_ext (0 references)
    target prot opt source destination

    Chain input_ext (2 references)
    target prot opt source destination
    DROP all -- anywhere anywhere PKTTYPE = broadcast
    ACCEPT icmp -- anywhere anywhere icmp source-quench
    ACCEPT icmp -- anywhere anywhere icmp echo-request
    ACCEPT icmp -- anywhere anywhere state RELATED,ESTAB LISHED icmp echo-reply
    ACCEPT icmp -- anywhere anywhere state RELATED,ESTAB LISHED icmp destination-unreachable
    ACCEPT icmp -- anywhere anywhere state RELATED,ESTAB LISHED icmp time-exceeded
    ACCEPT icmp -- anywhere anywhere state RELATED,ESTAB LISHED icmp parameter-problem
    ACCEPT icmp -- anywhere anywhere state RELATED,ESTAB LISHED icmp timestamp-reply
    ACCEPT icmp -- anywhere anywhere state RELATED,ESTAB LISHED icmp address-mask-reply
    ACCEPT icmp -- anywhere anywhere state RELATED,ESTAB LISHED icmp protocol-unreachable
    ACCEPT icmp -- anywhere anywhere state RELATED,ESTAB LISHED icmp redirect
    LOG tcp -- anywhere anywhere limit: avg 3/min bu rst 5 tcp dpt:http flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-op tions prefix `SFW2-INext-ACC-TCP '
    ACCEPT tcp -- anywhere anywhere tcp dpt:http
    LOG tcp -- anywhere anywhere limit: avg 3/min bu rst 5 tcp dpt:ssh flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-opt ions prefix `SFW2-INext-ACC-TCP '
    ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
    reject_func tcp -- anywhere anywhere tcp dpt:ident sta te NEW
    LOG all -- anywhere anywhere limit: avg 3/min bu rst 5 PKTTYPE = multicast LOG level warning tcp-options ip-options prefix `SFW2- INext-DROP-DEFLT '
    DROP all -- anywhere anywhere PKTTYPE = multicast
    LOG tcp -- anywhere anywhere limit: avg 3/min bu rst 5 tcp flags:FIN,SYN,RST,ACK/SYN LOG level warning tcp-options ip-options pre fix `SFW2-INext-DROP-DEFLT '
    LOG icmp -- anywhere anywhere limit: avg 3/min bu rst 5 LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT '
    LOG udp -- anywhere anywhere limit: avg 3/min bu rst 5 LOG level warning tcp-options ip-options prefix `SFW2-INext-DROP-DEFLT '
    LOG all -- anywhere anywhere limit: avg 3/min bu rst 5 state INVALID LOG level warning tcp-options ip-options prefix `SFW2-INext- DROP-DEFLT-INV '
    DROP all -- anywhere anywhere

    Chain reject_func (1 references)
    target prot opt source destination
    REJECT tcp -- anywhere anywhere reject-with tcp-res et
    REJECT udp -- anywhere anywhere reject-with icmp-po rt-unreachable
    REJECT all -- anywhere anywhere reject-with icmp-pr oto-unreachable
     
  8. andrusha

    andrusha New Member

    Got it working just had to reopen port 21 and 81 in Firewall.....thanx everyone
     

Share This Page