This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
CentOS 7 Problems / Netdata
« on: March 30, 2019, 09:05:22 AM »
How can I disable / remove netdata?
Thanks.
Thanks.
2
CSF Firewall / /bin/bash^M: bad interpreter and iptables
« on: March 30, 2019, 09:01:27 AM »
Howdy
I was trying to add some custom iptables commands to basically drop all connects from my SSH port + MySQL etc, other than my IP but I keep getting this when starting CSF
root@[~]: sh: /usr/local/csf/bin/csfpost.sh: /bin/bash^M: bad interpreter: No such file or directory
I tried changing the shebang in csfpost.sh to #!/usr/bin/bash but that returned the same.
At this time csfpost.sh is default with what ships with CWP7, so basically empty. What can I do to have these rules applied after / before startup of CSF?
I was trying to add some custom iptables commands to basically drop all connects from my SSH port + MySQL etc, other than my IP but I keep getting this when starting CSF
root@[~]: sh: /usr/local/csf/bin/csfpost.sh: /bin/bash^M: bad interpreter: No such file or directory
I tried changing the shebang in csfpost.sh to #!/usr/bin/bash but that returned the same.
At this time csfpost.sh is default with what ships with CWP7, so basically empty. What can I do to have these rules applied after / before startup of CSF?
3
CentOS 6 Problems / Admin Panel 404 Error
« on: March 14, 2019, 07:03:38 AM »
https://domain:2031/cwp_210a6d8bce5e8cc8f0a4b46c605374d0/admin/index.php?chk=y
Anytime I try to login to the admin panel I get redirected to a 404 not found with the above being the link. This randomly started happening, I have not logged in for a few days and upon trying to login I get this. As well the user control panel seems to be different and I can not login to ANY user accounts. I've tried everything I can think of including the following (in this order) and still can't get in.
Clear browser cache
470 service cwpsrv restart
471 sh /scripts/cwpsrv_rebuild_user_conf
472 sh /scripts/restart_cwpsrv
473 sh /scripts/restart_httpd
474 sh /scripts/generate_hostname_ssl
475 yum update
476 yum reinstall cwpsrv cwpphp
477 service cwpsrv restart
478 sh /scripts/cwpsrv_rebuild_user_conf
479 sh /scripts/restart_cwpsrv
480 sh /scripts/generate_hostname_ssl
yum update returned nothing all of the commands came back without any errors, after a reinstall I tried to login with the same so I ran the commands again. At this point I seem stuck out of CWP. Any ideas?
Anytime I try to login to the admin panel I get redirected to a 404 not found with the above being the link. This randomly started happening, I have not logged in for a few days and upon trying to login I get this. As well the user control panel seems to be different and I can not login to ANY user accounts. I've tried everything I can think of including the following (in this order) and still can't get in.
Clear browser cache
470 service cwpsrv restart
471 sh /scripts/cwpsrv_rebuild_user_conf
472 sh /scripts/restart_cwpsrv
473 sh /scripts/restart_httpd
474 sh /scripts/generate_hostname_ssl
475 yum update
476 yum reinstall cwpsrv cwpphp
477 service cwpsrv restart
478 sh /scripts/cwpsrv_rebuild_user_conf
479 sh /scripts/restart_cwpsrv
480 sh /scripts/generate_hostname_ssl
yum update returned nothing all of the commands came back without any errors, after a reinstall I tried to login with the same so I ran the commands again. At this point I seem stuck out of CWP. Any ideas?
Pages: [1]