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
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
32
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
33
CentOS 7 Problems / Re: How to change Owner and Group on a Directory
« on: January 09, 2023, 04:18:11 AM »
@overseer thanks
34
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.
35
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..
36
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.
37
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
38
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
39
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
40
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!
41
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)
42
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.
43
PHP / Re: ionCube Loader - Failed loading /usr/local/ioncube/ioncube_loader_lin_7.4.so
« on: November 28, 2022, 11:31:30 PM »
@Starburst
No, when I type php -v
I get:
Failed loading /usr/local/ioncube/ioncube_loader_lin_7.4.so: /usr/local/ioncube/ioncube_loader_lin_7.4.so: undefined symbol: file_globals
Failed loading /usr/local/sourceguardian/ixed.7.4.lin: /usr/local/sourceguardian/ixed.7.4.lin: undefined symbol: executor_globals
PHP 7.4.27 (cli) (built: Jan 11 2022 06:11:26) ( ZTS )
Copyright (c) The PHP Group
Last night I clicked install for that FFMPEG Installer, I shoulda left that alone.
After that, the server froze, I was able to run that tail command to check FFMPEG status
But it took ages then threw up AJAX error, then I lost access to CWP.
Been locked out of the front-end of CWP since.
The data-center did some checks last night, sorted one or two issues, disabled ionCube module,
Because I think it needs to be installed again, we couldn't run yum update either, getting AJAX errors.
I'm able to access the server via FTP and Putty, but can't access CWP front-end: 504 Gateway Time-out
Didn't try rebooth encase we lost access to the server, websites etc. are running fine.
No, when I type php -v
I get:
Failed loading /usr/local/ioncube/ioncube_loader_lin_7.4.so: /usr/local/ioncube/ioncube_loader_lin_7.4.so: undefined symbol: file_globals
Failed loading /usr/local/sourceguardian/ixed.7.4.lin: /usr/local/sourceguardian/ixed.7.4.lin: undefined symbol: executor_globals
PHP 7.4.27 (cli) (built: Jan 11 2022 06:11:26) ( ZTS )
Copyright (c) The PHP Group
Last night I clicked install for that FFMPEG Installer, I shoulda left that alone.
After that, the server froze, I was able to run that tail command to check FFMPEG status
But it took ages then threw up AJAX error, then I lost access to CWP.
Been locked out of the front-end of CWP since.
The data-center did some checks last night, sorted one or two issues, disabled ionCube module,
Because I think it needs to be installed again, we couldn't run yum update either, getting AJAX errors.
I'm able to access the server via FTP and Putty, but can't access CWP front-end: 504 Gateway Time-out
Didn't try rebooth encase we lost access to the server, websites etc. are running fine.
44
PHP / Re: ionCube Loader - Failed loading /usr/local/ioncube/ioncube_loader_lin_7.4.so
« on: November 28, 2022, 12:18:00 AM »
I updated to PHP 7.4.32
In PHP-FPM Selector, Managing options for PHP-FPM 7.4
I selected PHP 7.4.32 from the drop-down, enabled all.
-
PHP-FPM Information for PHP 7.4
Configuration:
ionCube Loader
For Loader updates visit www.ioncube.com/loaders.php
For support visit support.ioncube.com
This Loader also includes features for real-time error reporting and malware protection. Visit ioncube24.com for more details.
Loader version => 12.0.1
ionCube24 features => unconfigured
Directive => Local Value => Master Value
ic24.api.log_msg_errors => 0 => 0
ic24.api.max_timeout => 7 => 7
ic24.api_access_key => ******** => ********
ic24.api_check_ip => 1 => 1
ic24.enable => 0 => 0
ic24.home_dir => no value => no value
ic24.phperr.enable => auto => auto
ic24.phperr.ignore => 0 => 0
ic24.sec.block_stdin => 1 => 1
ic24.sec.block_uploaded_files => 1 => 1
ic24.sec.enable => auto => auto
ic24.sec.exclusion_key => ******** => ********
ic24.sec.initial_action => block => block
ic24.sec.initial_cache_all => 1 => 1
ic24.sec.initial_notify => always => always
ic24.sec.initial_state => 1 => 1
ic24.sec.stop_on_error => 1 => 1
ic24.sec.trusted_include_paths => ******** => ********
ic24.slt => 7 => 7
ic24.update_domains_retry_interval => 30 => 30
ioncube.loader.encoded_paths => no value => no value
In PHP-FPM Selector, Managing options for PHP-FPM 7.4
I selected PHP 7.4.32 from the drop-down, enabled all.
-
PHP-FPM Information for PHP 7.4
Configuration:
ionCube Loader
For Loader updates visit www.ioncube.com/loaders.php
For support visit support.ioncube.com
This Loader also includes features for real-time error reporting and malware protection. Visit ioncube24.com for more details.
Loader version => 12.0.1
ionCube24 features => unconfigured
Directive => Local Value => Master Value
ic24.api.log_msg_errors => 0 => 0
ic24.api.max_timeout => 7 => 7
ic24.api_access_key => ******** => ********
ic24.api_check_ip => 1 => 1
ic24.enable => 0 => 0
ic24.home_dir => no value => no value
ic24.phperr.enable => auto => auto
ic24.phperr.ignore => 0 => 0
ic24.sec.block_stdin => 1 => 1
ic24.sec.block_uploaded_files => 1 => 1
ic24.sec.enable => auto => auto
ic24.sec.exclusion_key => ******** => ********
ic24.sec.initial_action => block => block
ic24.sec.initial_cache_all => 1 => 1
ic24.sec.initial_notify => always => always
ic24.sec.initial_state => 1 => 1
ic24.sec.stop_on_error => 1 => 1
ic24.sec.trusted_include_paths => ******** => ********
ic24.slt => 7 => 7
ic24.update_domains_retry_interval => 30 => 30
ioncube.loader.encoded_paths => no value => no value
45
PHP / Re: ionCube Loader - Failed loading /usr/local/ioncube/ioncube_loader_lin_7.4.so
« on: November 27, 2022, 09:46:12 PM »
@Starburst
If I'm looking at the correct settings, IonCube appears to be enabled for PHP (7.4.27)
https://snipboard.io/GwAH2X.jpg
If I'm looking at the correct settings, IonCube appears to be enabled for PHP (7.4.27)
https://snipboard.io/GwAH2X.jpg