Show Posts

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.


Messages - synxmax

Pages: [1]
1
CentOS 7 Problems / How can I unlock my site from root ?
« on: July 16, 2019, 09:50:44 PM »
Hi there
My CWP is busted , I can see my site but panel is busted

I want to change my site files but I locked it
How can I unlock it from terminal ?

I want to make a change in index.html and try to create another clean install

2
CentOS-WebPanel GUI / Client Panel Dosen't Work :(
« on: January 07, 2019, 01:06:08 PM »
Please someone help me, I'm so frustrated and helpless  :'(
I have installed like 10 times from scratch

My user GUI dosen't work, It keeps loading and timeouts
here is error_log from cwpsrv :

Code: [Select]
2019/01/07 16:30:29 [notice] 32371#0: *157 "/cwp_([0-9a-zA-Z]{16})/(.*)" does not match "/login/index.php", client: 192.168.1.50, server: localhost, request: "POST /login/index.php?acc=validate HTTP/1.1", host: "myCwpFQDN:2082", referrer: "http://myCwpFQDN:2082/"
2019/01/07 16:30:29 [notice] 32371#0: *163 "^/v1/([^/]+)/?$" matches "/v1/valid_user/", client: 127.0.0.1, server: localhost, request: "POST /v1/valid_user/ HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:29 [notice] 32371#0: *163 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/valid_user/ HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:30 [info] 32371#0: *163 client 127.0.0.1 closed keepalive connection
2019/01/07 16:30:30 [error] 32371#0: *157 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined variable: session_number in /usr/local/cwpsrv/var/services/users/login/index.php on line 0" while reading response header from upstream, client: 192.168.1.50, server: localhost, request: "POST /login/index.php?acc=validate HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/login.sock:", host: "myCwpFQDN:2082", referrer: "http://myCwpFQDN:2082/"
2019/01/07 16:30:30 [notice] 32371#0: *157 "/cwp_([0-9a-zA-Z]{16})/(.*)" does not match "/testuser/index.php", client: 192.168.1.50, server: localhost, request: "POST /testuser/index.php?acc=validate HTTP/1.1", host: "myCwpFQDN:2082", referrer: "http://myCwpFQDN:2082/"
2019/01/07 16:30:30 [notice] 32371#0: *166 "^/v1/([^/]+)/?$" matches "/v1/check_oauthv2/", client: 127.0.0.1, server: localhost, request: "POST /v1/check_oauthv2/ HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:30 [notice] 32371#0: *166 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/check_oauthv2/ HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:31 [info] 32371#0: *166 client 127.0.0.1 closed keepalive connection
2019/01/07 16:30:31 [info] 32371#0: *168 client 127.0.0.1 closed keepalive connection
2019/01/07 16:30:31 [info] 32371#0: *170 client 127.0.0.1 closed keepalive connection
2019/01/07 16:30:31 [notice] 32371#0: *172 "^/v1/([^/]+)/?$" matches "/v1/last_access", client: 127.0.0.1, server: localhost, request: "POST /v1/last_access HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:31 [notice] 32371#0: *172 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/last_access HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:31 [info] 32371#0: *172 client 127.0.0.1 closed keepalive connection
2019/01/07 16:30:31 [notice] 32371#0: *174 "^/v1/([^/]+)/?$" matches "/v1/loginfail/", client: 127.0.0.1, server: localhost, request: "POST /v1/loginfail/ HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:31 [notice] 32371#0: *174 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/loginfail/ HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:31 [info] 32371#0: *174 client 127.0.0.1 closed keepalive connection
2019/01/07 16:30:31 [error] 32371#0: *157 FastCGI sent in stderr: "PHP message: PHP Warning:  session_start(): open(/tmp/session/sess_jkm1a8lm849tv5h09q3u6hfr92, O_RDWR) failed: Permission denied (13) in /usr/local/cwpsrv/var/services/users/index.php on line 0" while reading response header from upstream, client: 192.168.1.50, server: localhost, request: "POST /testuser/index.php?acc=validate HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/testuser.sock:", host: "myCwpFQDN:2082", referrer: "http://myCwpFQDN:2082/"
2019/01/07 16:30:31 [error] 32371#0: *157 FastCGI sent in stderr: "PHP message: PHP Warning:  Unknown: open(/tmp/session/sess_jkm1a8lm849tv5h09q3u6hfr92, O_RDWR) failed: Permission denied (13) in Unknown on line 0
PHP message: PHP Warning:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp/session) in Unknown on line 0" while reading upstream, client: 192.168.1.50, server: localhost, request: "POST /testuser/index.php?acc=validate HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/testuser.sock:", host: "myCwpFQDN:2082", referrer: "http://myCwpFQDN:2082/"
2019/01/07 16:30:31 [notice] 32371#0: *157 "/cwp_([0-9a-zA-Z]{16})/(.*)" matches "/cwp_7e305df83cdf4a7e/testuser/", client: 192.168.1.50, server: localhost, request: "GET /cwp_7e305df83cdf4a7e/testuser/ HTTP/1.1", host: "myCwpFQDN:2082", referrer: "http://myCwpFQDN:2082/"
2019/01/07 16:30:31 [notice] 32371#0: *157 rewritten data: "/testuser/", args: "", client: 192.168.1.50, server: localhost, request: "GET /cwp_7e305df83cdf4a7e/testuser/ HTTP/1.1", host: "myCwpFQDN:2082", referrer: "http://myCwpFQDN:2082/"
2019/01/07 16:30:31 [notice] 32371#0: *157 "/cwp_([0-9a-zA-Z]{16})/(.*)" does not match "/testuser/index.php", client: 192.168.1.50, server: localhost, request: "GET /cwp_7e305df83cdf4a7e/testuser/ HTTP/1.1", host: "myCwpFQDN:2082", referrer: "http://myCwpFQDN:2082/"
2019/01/07 16:30:32 [notice] 32371#0: *177 "^/v1/([^/]+)/?$" matches "/v1/token_valid/", client: 127.0.0.1, server: localhost, request: "POST /v1/token_valid/ HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:32 [notice] 32371#0: *177 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/token_valid/ HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:32 [info] 32371#0: *177 client 127.0.0.1 closed keepalive connection
2019/01/07 16:30:32 [notice] 32371#0: *179 "^/v1/([^/]+)/?$" matches "/v1/sendComv2", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:32 [notice] 32371#0: *179 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:32 [info] 32371#0: *179 client 127.0.0.1 closed keepalive connection
2019/01/07 16:30:32 [notice] 32371#0: *181 "^/v1/([^/]+)/?$" matches "/v1/sendComv2", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:32 [notice] 32371#0: *181 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:32 [info] 32371#0: *181 client 127.0.0.1 closed keepalive connection
2019/01/07 16:30:32 [notice] 32371#0: *183 "^/v1/([^/]+)/?$" matches "/v1/sendComv2", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:32 [notice] 32371#0: *183 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:32 [info] 32371#0: *183 client 127.0.0.1 closed keepalive connection
2019/01/07 16:30:32 [notice] 32371#0: *185 "^/v1/([^/]+)/?$" matches "/v1/sendComv2", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:32 [notice] 32371#0: *185 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:32 [info] 32371#0: *185 client 127.0.0.1 closed keepalive connection
2019/01/07 16:30:32 [notice] 32371#0: *187 "^/v1/([^/]+)/?$" matches "/v1/sendComv2", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:32 [notice] 32371#0: *187 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:32 [info] 32371#0: *187 client 127.0.0.1 closed keepalive connection
2019/01/07 16:30:32 [notice] 32371#0: *189 "^/v1/([^/]+)/?$" matches "/v1/sendComv2", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:32 [notice] 32371#0: *189 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:32 [info] 32371#0: *189 client 127.0.0.1 closed keepalive connection
2019/01/07 16:30:32 [notice] 32371#0: *191 "^/v1/([^/]+)/?$" matches "/v1/serverstatus", client: 127.0.0.1, server: localhost, request: "POST /v1/serverstatus HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:32 [notice] 32371#0: *191 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/serverstatus HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:32 [info] 32371#0: *191 client 127.0.0.1 closed keepalive connection
2019/01/07 16:30:33 [notice] 32371#0: *193 "^/v1/([^/]+)/?$" matches "/v1/sendComv2", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:33 [notice] 32371#0: *193 rewritten data: "/v1/index.php", args: "method=", client: 127.0.0.1, server: localhost, request: "POST /v1/sendComv2 HTTP/1.1", host: "127.0.0.1:2302"
2019/01/07 16:30:33 [info] 32371#0: *193 client 127.0.0.1 closed keepalive connection


This is fresh Install CWP Pro
I'm familiar with basic configuration, everything is configured correctly
Using Apache + Nginx + Varnish ( which dosen't matter to cwpsrv )
This is latest version

3
CentOS-WebPanel GUI / Re: Can Not Log in Client Side
« on: January 07, 2019, 06:00:16 AM »
Did anyone solve this, I'm having the same issue

4
Installation / Using a Remote Mysql Cluster without Socat
« on: July 26, 2017, 06:15:18 PM »
Hi there,

Is it necessary to use socat for remote Mysql server ?
Can't I just change configs to connect using Mysql remote port?
We have a Proxysql loadbalancer , I can't install Socat on that!
If it's possible how many config files I have to change, Is there a global variable ( Mysql host, Port, Host )?

Thanks in advance

5
Hi there ,

I did installed varnish using cwp Select Webservers , it doesn't have any configuration to tweak in varnish config , just two check boxes

Code: [Select]
Varnish Disk Storage Size (recommended: 1G):
Use RAM as storage (memory available 4.9G):

Now my mod_security sees every traffic from my server ip , i had to disable it since it's getting block by simple attacks from clients,
How can i config it so it does represent ( forward ) every request to apache using client ip , not my server ip

thanks in advance

6
Installation / Re: Changing Server IP Address
« on: September 23, 2015, 12:31:01 PM »
Is there anyone who can help me with this , it's somehow urgent , i thought someone ran into this ,
it's such a pain to go through every conf file

7
Installation / Re: How to install mod_speling
« on: September 23, 2015, 12:25:42 PM »
Go to Apache Re-Build  add :

Code: [Select]
--enable-speling
and rebuild apache ,
here is a list of apache modules that u can enable and rebuild apache
http://forum.centos-webpanel.com/apache/apache-compiler/

8
Installation / Re: need advice to install intl (extension php)
« on: September 22, 2015, 11:31:06 AM »
Try using .. yum install php-intl , it should resolve dependencies and install libicu also , then do a service httpd restart and youre good to go

Bad Idea so Bad Since php is compiled with extensions ,
All you need to do install Dependencies from php selector then go to your machine console and install libicu-devel

Code: [Select]
yum install libicu-devel
after that add this line :
Code: [Select]
--enable-intl
to compile flags and compile

Example :

Code: [Select]
./configure
--with-zlib
--enable-soap
--enable-intl
--enable-exif
....

After it's done you are good to go ;)

Edit : Since there is several php version available in cwp be careful php-intl is available since php 5.3

If you want to add it to your default php compile go to PHP Version Switcher , click next , in Additional configuration field add --enable-intl , and compile ( before this make sure you installed libicu-devel as i mentioned

If you want to add it to other php versions ( 5.3+ ) go to PHP Version Selector , edit flags add --enable-intl , save and compile

9
Installation / Changing Server IP Address
« on: September 22, 2015, 11:24:33 AM »
Hello There , I have a fully functional and stable installation of cwp , for some reason i should change my server ip address due to isp request , im wondering other than system ip , is there any config files  which storing and using my ip so i can edit and change them too ,

Thanks in advance

10
Installation / How to install mod_geoip ?
« on: April 26, 2015, 11:19:42 AM »
Hi there , im trying to install mod_geoip for apache but i can't , if i add epel repo and try to install it via yum , it's going to install httpd ( apache ) too , i think it's going to ruin my server

is there anyway i can install it ?
thanks in advance

Pages: [1]