appnode 面板打不开

daoke 2018-11-26 1475

CentOS 7 x86_64

appnode ccenter start
appnode ccenter restart
这些命令也试了,不行。

最新回复 (7)
  • 虚竹 2018-11-26
    引用 2

    先运行以下命令:

    appnode ccenter status

    检查是否在运行。

    如果在运行,检查你的系统防火墙和机房防火墙(服务商后台)设置,是否开放了端口。

    另外,用命令:

    appnode ccenter config

    查看下你的面板是否绑定域名,以及绑定的端口,是否启用https,确保面板登录地址没有错误。

  • daoke 2018-11-26
    引用 3
    Nov 26 08:39:17 daoke appnode-ccenter-server[706]: Examining /var/tmp/yum-roo...
    Nov 26 08:39:17 daoke appnode-ccenter-server[706]: /var/tmp/yum-root-fgGtBS/a...
    Nov 26 08:39:17 daoke appnode-ccenter-server[706]: No packages marked for update
    Nov 26 08:40:20 daoke systemd[1]: Stopping AppNode CCenter Server...
    Nov 26 08:40:20 daoke systemd[1]: Stopped AppNode CCenter Server.
    Nov 26 08:40:43 daoke systemd[1]: Started AppNode CCenter Server.
    Nov 26 08:40:43 daoke systemd[1]: Starting AppNode CCenter Server...
    Nov 26 08:40:45 daoke appnode-ccenter-server[365]: Examining /var/tmp/yum-roo...
    Nov 26 08:40:45 daoke appnode-ccenter-server[365]: /var/tmp/yum-root-fgGtBS/a...
    Nov 26 08:40:45 daoke appnode-ccenter-server[365]: No packages marked for update
    Hint: Some lines were ellipsized, use -l to show in full.
    [root@daoke ~]# firewall-cmd --state
    not running
    [root@daoke ~]# systemctl stop firewalld.service
    [root@daoke ~]# systemctl disable firewalld.service
    [root@daoke ~]# firewall-cmd --state
    not running
    [root@daoke ~]# appnode ccenter config
    ccenter_ip_addr       : *
    ccenter_port          : 8823
    ccenter_protocol      : http
    ccenter_domain_name   :
    ccenter_login_notify  : <not set>
    ccenter_tls_cert      :
    ccenter_tls_key       :
    [root@daoke ~]#
  • daoke 2018-11-26
    引用 4

    机房防火墙(服务商后台)这个真没有.系统防火关了,还不行,端口自己改的面板登录地址没有错误

  • 虚竹 2018-11-26
    引用 5

    firewalld只是个防火墙前端模块,你要用iptables命令来看防火墙规则:

    systemctl status iptables
    iptables -nL


    直接命令测试下,能不能在服务器上打开:

    curl http://127.0.0.1:8823/
  • daoke 2018-11-26
    引用 6
    [root@daoke ~]# systemctl status iptables
    * iptables.service - IPv4 firewall with iptables
       Loaded: loaded (/usr/lib/systemd/system/iptables.service; enabled; vendor preset: disabled)
       Active: active (exited) since Mon 2018-11-26 08:40:42 EST; 1h 15min ago
     Main PID: 111 (code=exited, status=0/SUCCESS)
       CGroup: /system.slice/iptables.service
    
    Nov 26 08:27:16 daoke iptables.init[101]: iptables: Applying firewall rules:...]
    Nov 26 08:27:16 daoke systemd[1]: Started IPv4 firewall with iptables.
    Nov 26 08:40:22 daoke systemd[1]: Stopping IPv4 firewall with iptables...
    Nov 26 08:40:22 daoke iptables.init[945]: iptables: Setting chains to policy...]
    Nov 26 08:40:22 daoke iptables.init[945]: iptables: Flushing firewall rules:...]
    Nov 26 08:40:22 daoke iptables.init[945]: iptables: Unloading modules: [  OK  ]
    Nov 26 08:40:22 daoke systemd[1]: Stopped IPv4 firewall with iptables.
    Nov 26 08:40:42 daoke systemd[1]: Starting IPv4 firewall with iptables...
    Nov 26 08:40:42 daoke iptables.init[111]: iptables: Applying firewall rules:...]
    Nov 26 08:40:42 daoke systemd[1]: Started IPv4 firewall with iptables.
    Hint: Some lines were ellipsized, use -l to show in full.

    [root@daoke ~]# iptables -nL
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0            state RELATED,ESTABLISHED
    ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0
    ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0
    ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0            state NEW tcp dpt:22
    REJECT     all  --  0.0.0.0/0            0.0.0.0/0            reject-with icmp-host-prohibited
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    REJECT     all  --  0.0.0.0/0            0.0.0.0/0            reject-with icmp-host-prohibited
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination

    [root@daoke ~]# curl http://127.0.0.1:8823/
    <a href="/login">Found</a>.
  • 虚竹 2018-11-26
    引用 7

    你的防火墙只允许22端口连接,其它端口全部未放行。

    先停止 iptables 服务后就可以外部连接了:

    systemctl stop iptables


    连接成功后进入面板防火墙应用中添加规则后再启动防火墙。

  • daoke 2018-11-26
    引用 8

    好的,谢谢.已经正常,非常感谢

返回
发新帖