CyberHosting

need help for firewall

i will try to active my firewall first time but it show error can some one help me our to solve this issue

Action failed. Error message: Can not start firewall, see CyberCP main log file.

Comments

  • 2019-03-04 07:48:19.068407 [ERROR] [config:scripthandler] use static file handler for suffix [php55]
    2019-03-04 07:48:19.068412 [ERROR] [config:scripthandler] Can not find handler with type: 17, name: lsphp56.
    2019-03-04 07:48:19.068416 [ERROR] [config:scripthandler] Can not find External Application: lsphp56, type: lsapi
    2019-03-04 07:48:19.068418 [ERROR] [config:scripthandler] use static file handler for suffix [php56]
    2019-03-04 07:48:19.068440 [INFO] [config:server:php] Try Litespeed PHP handlers
    2019-03-04 07:48:19.068454 [INFO] Associate [lsphp70] with PHP handler [lsphp70].
    2019-03-04 07:48:19.068462 [INFO] Add #1 suffix handler [lsphp70]->[lsphp70].
    2019-03-04 07:48:19.068467 [INFO] Associate [lsphp71] with PHP handler [lsphp71].
    2019-03-04 07:48:19.068486 [INFO] Add #2 suffix handler [lsphp71]->[lsphp71].
    2019-03-04 07:48:19.068491 [INFO] Associate [lsphp72] with PHP handler [lsphp72].
    2019-03-04 07:48:19.068496 [INFO] Add #3 suffix handler [lsphp72]->[lsphp72].
    2019-03-04 07:48:19.068501 [INFO] Associate [lsphp73] with PHP handler [lsphp73].
    2019-03-04 07:48:19.068505 [INFO] Add #4 suffix handler [lsphp73]->[lsphp73].
    2019-03-04 07:48:19.068509 [INFO] [config:server:php] Try CloudLinux PHP selector handlers
    2019-03-04 07:48:19.068516 [INFO] Create PHP handler [phpsel] with PHP binary [/usr/local/bin/lsphp]
    2019-03-04 07:48:19.068527 [INFO] Add #5 suffix handler [phpsel]->[phpsel].
    2019-03-04 07:48:19.068544 [INFO] Default PHP handler is [lsphp5], path [/usr/local/lsws/fcgi-bin/lsphp5]
    2019-03-04 07:48:19.068550 [INFO] Add #6 suffix handler [php]->[lsphp5].
    2019-03-04 07:48:19.068554 [INFO] Add #7 suffix handler [php5]->[lsphp5].
    2019-03-04 07:48:19.068561 [INFO] Add #8 suffix handler [php70]->[lsphp70].
    2019-03-04 07:48:19.068564 [INFO] Add #9 suffix handler [php71]->[lsphp71].
    2019-03-04 07:48:19.068568 [INFO] Add #10 suffix handler [php72]->[lsphp72].
    2019-03-04 07:48:19.068572 [INFO] Add #11 suffix handler [php73]->[lsphp73].
    2019-03-04 07:48:19.068625 [INFO] [/usr/local/lsws/conf/httpd.conf:12] try to add listener: '*:80'.
    2019-03-04 07:48:19.068645 [INFO] [/usr/local/lsws/conf/httpd.conf:13] try to add listener: '[::]:80'.
    2019-03-04 07:48:19.068655 [INFO] [/usr/local/lsws/conf/httpd.conf:14] try to add listener: '*:443'.
    2019-03-04 07:48:19.068667 [INFO] [/usr/local/lsws/conf/httpd.conf:15] try to add listener: '[::]:443'.
    2019-03-04 07:48:19.068777 [INFO] Processing config file: /usr/local/lsws/conf/modsec.conf
    2019-03-04 07:48:19.068777 [INFO] Processing config file: /usr/local/lsws/conf/modsec.conf
    2019-03-04 07:48:19.068813 [INFO] Processing config directory: /usr/local/lsws/conf
    2019-03-04 07:48:19.068813 [INFO] Processing config directory: /usr/local/lsws/conf
    2019-03-04 07:48:19.068845 [ERROR] [/usr/local/lsws/conf/modsec.conf:19] Failed to get absolute path for [/usr/local/lsws/conf/rules.conf/(null)]!
    2019-03-04 07:48:19.068845 [ERROR] [/usr/local/lsws/conf/modsec.conf:19] Failed to get absolute path for [/usr/local/lsws/conf/rules.conf/(null)]!
    2019-03-04 07:48:19.068856 [INFO] Processing config file: /usr/local/lsws/conf/vhosts/nexoone.com/vhost.conf
    2019-03-04 07:48:19.068856 [INFO] Processing config file: /usr/local/lsws/conf/vhosts/nexoone.com/vhost.conf
    2019-03-04 07:48:19.068884 [INFO] Processing config file: /usr/local/lsws/conf/vhosts/ec2-100-26-37-42.compute-1.amazonaws.com/vhost.conf
    2019-03-04 07:48:19.068884 [INFO] Processing config file: /usr/local/lsws/conf/vhosts/ec2-100-26-37-42.compute-1.amazonaws.com/vhost.conf
    2019-03-04 07:48:19.075763 [ERROR] [/usr/local/lsws/conf/vhosts/ec2-100-26-37-42.compute-1.amazonaws.com/vhost.conf:9] Listener for _default_ is not available!
    2019-03-04 07:48:19.075763 [ERROR] [/usr/local/lsws/conf/vhosts/ec2-100-26-37-42.compute-1.amazonaws.com/vhost.conf:9] Listener for _default_ is not available!
    2019-03-04 07:48:19.076709 [INFO] [UDP:172.31.92.70:443] initPacketsIn: allocated 100 packets
    2019-03-04 07:48:19.076732 [INFO] [UDP:172.17.0.1:443] initPacketsIn: allocated 100 packets
    2019-03-04 07:48:19.076744 [INFO] [UDP:127.0.0.1:443] initPacketsIn: allocated 100 packets
    2019-03-04 07:48:19.076761 [INFO] [UDP:[::]:443] initPacketsIn: allocated 100 packets
    [Mon Mar 4 07:48:19 2019] [notice] Finish reading Apache configuration, server configured -- resuming normal operations
    2019-03-04 07:48:19.077037 [NOTICE] litespeed (8509) is ready
    2019-03-04 07:48:19.077218 [NOTICE] [AutoRestarter] new child process with pid=8512 is forked!
    2019-03-04 07:48:19.078383 [NOTICE] [Child: 8512] Setup swapping space...
    2019-03-04 07:48:19.078425 [NOTICE] [child: 8512] Successfully change current user to nobody
    2019-03-04 07:48:19.078431 [NOTICE] [Child: 8512] Core dump is enabled.
    2019-03-04 07:48:19.078539 [ALERT] [Child: 8512] LiteSpeed/5.3.5 Enterprise starts successfully!
  • Firewall is already active by default, so I am not sure what you try to do. However, provide logs from CyberPanel log files

    https://cyberpanel.net/docs/log-files-on-cyberpanel/

    You provided server logs (they are used to troubleshoot server issues)
  • [05-40-27-Tue-Mar-2019] Failed to apply rule: sudo firewall-cmd --permanent --zone=public --add-rich-rule='rule family="ipv4" source address="0.0.0.0/0" port protocol="tcp" port="22" accept' Error #1
    [05-46-37-Tue-Mar-2019] Failed to apply rule: sudo firewall-cmd --permanent --zone=public --add-rich-rule='rule family="ipv4" source address="0.0.0.0/0" port protocol="tcp" port="22" accept' Error #1
    [05-46-37-Tue-Mar-2019] Failed to apply rule: sudo firewall-cmd --permanent --zone=public --remove-rich-rule='rule family="ipv4" source address="0.0.0.0/0" port protocol="tcp" port="22" accept' Error #1
    [05-55-47-Tue-Mar-2019] Failed to apply rule: sudo firewall-cmd --permanent --zone=public --add-rich-rule='rule family="ipv4" source address="0.0.0.0/0" port protocol="tcp" port="22" accept' Error #1
    [05-55-47-Tue-Mar-2019] Failed to apply rule: sudo firewall-cmd --permanent --zone=public --remove-rich-rule='rule family="ipv4" source address="0.0.0.0/0" port protocol="tcp" port="22" accept' Error #1
    [06-00-28-Tue-Mar-2019] Command '['sudo', 'cat', '/etc/csf/csf.conf']' returned non-zero exit status 1 [fetchCSFSettings]
    [06-00-46-Tue-Mar-2019] [Errno 2] No such file or directory: 'csf.tgz' [CSF.run]
  • edited March 12
    hi plz check issue i think in aws security group plz help me to set up proper group
  • I have same problem... Firewall did not get started. When I click start on Cyberpanel it shows

    "Action failed. Error message: Can not start firewall, see CyberCP main log file."
  • Hello
    i have problem ADD/DELETE FIREWALL RULES i see FIREWALL status OFF and i can't turn it on also i can't see all ip rule name list .
Sign In or Register to comment.
CyberHosting CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!