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.
31
SSL / Re: Shoutcast Manager - How to create secure https stream URL's for Shoutcast
« on: January 19, 2023, 01:27:15 AM »
I uninstalled Shoutcast Manager in the end, it messed with other services on the server.
32
DNS / Re: Pointing subdomain on CWP to an external server IP
« on: January 18, 2023, 04:24:35 PM »
All good got it sorted
33
DNS / Pointing subdomain on CWP to an external server IP
« on: January 11, 2023, 10:05:13 AM »
Hi,
Just checking,
I have a domain on CWP that I created a subdomain for: service.domain.com
I also have a new web hosting account on a separate server to CWP.
I wanted to point that subdomain to the IP of the new server,
So I went into DNS Functions > List DNS Zone and clicked on Edit File for domain.com.db
In that file I see two records for the subdomain and changed the IP to the new server.
service 14400 IN A 11.111.73.202 ; #subdomain service
www.service 14400 IN A 11.111.73.202 ; #subdomain service
Is that all I need to do to point the subdomain to the new server, do I need to add their ns1 & ns2 records also?
Thanks in advance
Just checking,
I have a domain on CWP that I created a subdomain for: service.domain.com
I also have a new web hosting account on a separate server to CWP.
I wanted to point that subdomain to the IP of the new server,
So I went into DNS Functions > List DNS Zone and clicked on Edit File for domain.com.db
In that file I see two records for the subdomain and changed the IP to the new server.
service 14400 IN A 11.111.73.202 ; #subdomain service
www.service 14400 IN A 11.111.73.202 ; #subdomain service
Is that all I need to do to point the subdomain to the new server, do I need to add their ns1 & ns2 records also?
Thanks in advance
34
Updates / Update CWP getting errors.. Ajax Error / grep: write error
« on: January 11, 2023, 09:56:59 AM »
Hi,
I'm trying to run the update command sh /scripts/update_cwp
First I used the CWP Pro Terminal and got this message:
[root@svr1 /]# sh /scripts/update_cwp
====================================================
============= CentOS Web Panel Cron ================
====================================================
###########################
Firewall Flush Daily Blocks
###########################
######################
Update Server Packages
######################
grep: write error
Redirecting to /bin/systemctl reload cwpsrv.service
Redirecting to /bin/systemctl reload cwp-phpfpm.service
Redirecting to /bin/systemctl restart cwpsrv.service
[root@svr1 admin]# [root@svr1 admin]# [root@svr1 admin]# ^C
[root@svr1 admin]#
I then ran the same command in the Simple terminal
user@svr1.site.com ~$ sh /scripts/update_cwp
[ERROR] AJAX: error
Any advice appreciated.
Thanks
I'm trying to run the update command sh /scripts/update_cwp
First I used the CWP Pro Terminal and got this message:
[root@svr1 /]# sh /scripts/update_cwp
====================================================
============= CentOS Web Panel Cron ================
====================================================
###########################
Firewall Flush Daily Blocks
###########################
######################
Update Server Packages
######################
grep: write error
Redirecting to /bin/systemctl reload cwpsrv.service
Redirecting to /bin/systemctl reload cwp-phpfpm.service
Redirecting to /bin/systemctl restart cwpsrv.service
[root@svr1 admin]# [root@svr1 admin]# [root@svr1 admin]# ^C
[root@svr1 admin]#
I then ran the same command in the Simple terminal
user@svr1.site.com ~$ sh /scripts/update_cwp
[ERROR] AJAX: error
Any advice appreciated.
Thanks
35
CentOS 7 Problems / Re: Cleaned usr/local/cwpsvr/logs/access_log and get Access Denied on website
« on: January 09, 2023, 04:21:20 AM »
@overseer thanks again
36
CentOS 7 Problems / Re: How to change Owner and Group on a Directory
« on: January 09, 2023, 04:18:11 AM »
@overseer thanks
37
SSL / Shoutcast Manager - How to create secure https stream URL's for Shoutcast
« on: January 05, 2023, 07:45:10 AM »
Hi,
Is there any solution for adding SSL to Shoutcast streams in Shoutcast Manager?
They only work with http://IP:port right now, example: http://1.11.111.50:15000/
This is what I see in Media Services section:
Service url http://1.11.111.50:15000/ | Admin url https://domain.com
Shouldn't the domain name be a proper stream url, like https://domain.com:15000/ ?
Any info appreciated.
Is there any solution for adding SSL to Shoutcast streams in Shoutcast Manager?
They only work with http://IP:port right now, example: http://1.11.111.50:15000/
This is what I see in Media Services section:
Service url http://1.11.111.50:15000/ | Admin url https://domain.com
Shouldn't the domain name be a proper stream url, like https://domain.com:15000/ ?
Any info appreciated.
38
CentOS 7 Problems / How to change Owner and Group on a Directory
« on: December 13, 2022, 08:06:15 PM »
Hi,
I tested that fix permissions option, selected a domain name.
It changed/set Owner and Group to "nobody" on some directories.
But I need to change "nobody" to the correct Owner and Group "user1"
Need to set the right Owner and Group for all files and folders in these directories.

Any help appreciated..
I tested that fix permissions option, selected a domain name.
It changed/set Owner and Group to "nobody" on some directories.
But I need to change "nobody" to the correct Owner and Group "user1"
Need to set the right Owner and Group for all files and folders in these directories.

Any help appreciated..
39
Mod_Security / Re: Mod Security issue? pid 2459:tid 140698774865664
« on: December 07, 2022, 03:28:10 PM »
I disabled mod security for that subdomain,
Do I need to turn it off for the whole main domain also?
I'll give it a try but i like to keep my sites as secure as I can.
Do I need to turn it off for the whole main domain also?
I'll give it a try but i like to keep my sites as secure as I can.
40
Mod_Security / Mod Security issue? pid 2459:tid 140698774865664
« on: December 07, 2022, 05:48:10 AM »
Hi,
I have an issue where I keep getting logged out of one of my sites, wondering if this is causing it?
I'm not sure what the error is, I did disable mod security for this subdomain.
[Sun Dec 04 06:07:02.797116 2022] [:error] [pid 2459:tid 140698774865664] [client 3.44.104.50:38650] [client 3.44.104.50] ModSecurity: Warning. Found 1 byte(s) in REQUEST_HEADERS:sec-ch-ua-mobile outside range: 32,34,38,42-59,61,65-90,95,97-122. [file "/usr/local/apache/modsecurity-owasp-latest/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf"] [line "1522"] [id "920274"] [msg "Invalid character in request headers (outside of very strict set)"] [data "REQUEST_HEADERS:sec-ch-ua-mobile=?0"] [severity "CRITICAL"] [ver "OWASP_CRS/3.3.2"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-protocol"] [tag "OWASP_CRS"] [tag "capec/1000/210/272"] [tag "paranoia-level/4"] [hostname "sub.domain.it"] [uri "/ad1/theme/theme.css"] [unique_id "Y4w5BtDf09272i5clVjrZQAAAJI"]
Any advice appreciated
Thanks
I have an issue where I keep getting logged out of one of my sites, wondering if this is causing it?
I'm not sure what the error is, I did disable mod security for this subdomain.
[Sun Dec 04 06:07:02.797116 2022] [:error] [pid 2459:tid 140698774865664] [client 3.44.104.50:38650] [client 3.44.104.50] ModSecurity: Warning. Found 1 byte(s) in REQUEST_HEADERS:sec-ch-ua-mobile outside range: 32,34,38,42-59,61,65-90,95,97-122. [file "/usr/local/apache/modsecurity-owasp-latest/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf"] [line "1522"] [id "920274"] [msg "Invalid character in request headers (outside of very strict set)"] [data "REQUEST_HEADERS:sec-ch-ua-mobile=?0"] [severity "CRITICAL"] [ver "OWASP_CRS/3.3.2"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-protocol"] [tag "OWASP_CRS"] [tag "capec/1000/210/272"] [tag "paranoia-level/4"] [hostname "sub.domain.it"] [uri "/ad1/theme/theme.css"] [unique_id "Y4w5BtDf09272i5clVjrZQAAAJI"]
Any advice appreciated
Thanks
41
CentOS 7 Problems / Re: Cleaned usr/local/cwpsvr/logs/access_log and get Access Denied on website
« on: December 04, 2022, 05:29:43 AM »
Issue fixed, some how Owner and Group permissions were wrong on files and folders under public_html
42
CentOS 7 Problems / Cleaned usr/local/cwpsvr/logs/access_log and get Access Denied on website
« on: December 04, 2022, 01:06:27 AM »
Hi,
I was reading a guide on cleaning cwp logs,
cd /root
nano cleanlog.sh
But I got an error: Error opening terminal: unknown
So I decided to clean some of them manually.
Now when I go to my domain I get Access Denied.
Any tips appreciated
I was reading a guide on cleaning cwp logs,
cd /root
nano cleanlog.sh
But I got an error: Error opening terminal: unknown
So I decided to clean some of them manually.
Now when I go to my domain I get Access Denied.
Any tips appreciated
43
PHP / Re: ionCube Loader - Failed loading /usr/local/ioncube/ioncube_loader_lin_7.4.so
« on: December 02, 2022, 02:11:29 PM »
I got CWP support to help and they fixed the issue/s.
Thanks!
Thanks!
44
PHP / Re: ionCube Loader - Failed loading /usr/local/ioncube/ioncube_loader_lin_7.4.so
« on: November 29, 2022, 05:29:26 AM »[root@svr1 ~]# service cwpsrv restart
Redirecting to /bin/systemctl restart cwpsrv.service
** (pkttyagent:17326): WARNING **: 05:23:59.003: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)
45
PHP / Re: ionCube Loader - Failed loading /usr/local/ioncube/ioncube_loader_lin_7.4.so
« on: November 29, 2022, 12:10:38 AM »
I got in with Putty yes,
[root@svr1 ~]# service csf status
Redirecting to /bin/systemctl status csf.service
â csf.service - ConfigServer Firewall & Security - csf
Loaded: loaded (/usr/lib/systemd/system/csf.service; enabled; vendor preset: disabled)
Active: active (exited) since Fri 2022-09-23 15:49:37 IST; 2 months 5 days ago
Main PID: 1241 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/csf.service
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
--
[root@svr1 ~]# service cwpsrv status
Redirecting to /bin/systemctl status cwpsrv.service
â cwpsrv.service - CentOS Web Panel service (daemon)
Loaded: loaded (/usr/lib/systemd/system/cwpsrv.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2022-11-28 03:43:13 GMT; 20h ago
Main PID: 3492 (cwpsrv)
CGroup: /system.slice/cwpsrv.service
ââ3492 cwpsrv: master process /usr/local/cwpsrv/bin/cwpsrv
ââ3493 cwpsrv: worker process
ââ3494 cwpsrv: worker process
Nov 28 03:43:13 svr1.x.it systemd[1]: Starting CentOS Web Panel se....
Nov 28 03:43:13 svr1.x.it cwpsrv[3488]: cwpsrv: [warn] he "ssl" dir...
Nov 28 03:43:13 svr1.x.it cwpsrv[3488]: cwpsrv:the configuration fi...
Nov 28 03:43:13 svr1.x.it cwpsrv[3488]: cwpsrv:configuration file /...
Nov 28 03:43:13 svr1.x.it cwpsrv[3490]: cwpsrv: [warn] he "ssl" dir...
Nov 28 03:43:13 svr1.x.it systemd[1]: Started CentOS Web Panel ser....
Hint: Some lines were ellipsized, use -l to show in full.
[root@svr1 ~]# service csf status
Redirecting to /bin/systemctl status csf.service
â csf.service - ConfigServer Firewall & Security - csf
Loaded: loaded (/usr/lib/systemd/system/csf.service; enabled; vendor preset: disabled)
Active: active (exited) since Fri 2022-09-23 15:49:37 IST; 2 months 5 days ago
Main PID: 1241 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/csf.service
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
--
[root@svr1 ~]# service cwpsrv status
Redirecting to /bin/systemctl status cwpsrv.service
â cwpsrv.service - CentOS Web Panel service (daemon)
Loaded: loaded (/usr/lib/systemd/system/cwpsrv.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2022-11-28 03:43:13 GMT; 20h ago
Main PID: 3492 (cwpsrv)
CGroup: /system.slice/cwpsrv.service
ââ3492 cwpsrv: master process /usr/local/cwpsrv/bin/cwpsrv
ââ3493 cwpsrv: worker process
ââ3494 cwpsrv: worker process
Nov 28 03:43:13 svr1.x.it systemd[1]: Starting CentOS Web Panel se....
Nov 28 03:43:13 svr1.x.it cwpsrv[3488]: cwpsrv: [warn] he "ssl" dir...
Nov 28 03:43:13 svr1.x.it cwpsrv[3488]: cwpsrv:the configuration fi...
Nov 28 03:43:13 svr1.x.it cwpsrv[3488]: cwpsrv:configuration file /...
Nov 28 03:43:13 svr1.x.it cwpsrv[3490]: cwpsrv: [warn] he "ssl" dir...
Nov 28 03:43:13 svr1.x.it systemd[1]: Started CentOS Web Panel ser....
Hint: Some lines were ellipsized, use -l to show in full.