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 - mouchoon

Pages: [1] 2
Updates / Re: 503 error
« on: October 10, 2019, 03:29:01 PM »
It seems that because of using the php-fpm selctor
And because it's not for free, then the php is disabled and locked for users!!!

But What can I do now to disable the php-fpm and be able to use cwp???

At the moment our sites are giving error 503

Updates / 503 error
« on: October 09, 2019, 09:11:33 AM »
hello, i get 503 error on all my websites on server
cwp panel ok =>
Apache Webserver, FTP Server, MySQL Database Server, PostgreSQL Database Server ,BIND DNS Server ,SSH Server  => Active

PHP version: 7.2.23 PHP-FPM is forced    -- CentOS release 6.10
Apache version: Apache/2.4.34  --- Web Servers: apache-only

apache log error for a user=
[proxy:error] [pid 26903:tid 139971251853056] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /opt/alt/php-fpm72/usr/var/sockets/farhang.sock (*) failed
[proxy_fcgi:error] [pid 26903:tid 139971251853056] [client] AH01079: failed to make connection to backend: httpd-UDS

when reload PHP-FPM 7.2  in PHP-FPM Selector  get this noice =>  Reload service php-fpm warning, no pid file found - php-fpm is not running ?

any suggestions?? please help

@mouchoon, check the log file in /usr/local/apache/domlogs/DOMAIN.error.log

error is: [ .htaccess: Option FollowSymlinks not allowed here ]

in .htaccess file=>     comment it out this line ->>>   Options +FollowSymlinks

problem solved

but, Is this solution safe way?

my sites is created with joomla!

the standard .htaccess file get error
but when replace .htaccess with this content, correct!

Code: [Select]
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

Does this cause security problems?

the problem for .htaccsess  file in root
if remove this, my sites work
but need for .htaccess for url rewriting

where is problem?

tanks Igor

after add this two lines solve httpd problem:

LoadModule log_config_module modules/
LoadModule logio_module modules/

but now get the 500 Internal Server Error on  the sites
fix permissions had no effect!

how to solve!!?

by following the steps of installing php-fpm i get this error

Stopping httpd: [FAILED]
Starting httpd: AH00526: Syntax error on line 9 of /usr/local/apache/conf.d/vhosts/****.com.conf:
Invalid command 'CustomLog', perhaps misspelled or defined by a module not included in the server configuration

line 9-11 of vhosts/****.com.conf is:
        CustomLog /usr/local/apache/domlogs/****.com.bytes bytes
   CustomLog /usr/local/apache/domlogs/****.com.log combined
   ErrorLog /usr/local/apache/domlogs/****.com.error.log

please help me!

CentOS 6 Problems / Re: can not log in to the panel
« on: April 29, 2019, 10:05:39 PM »
no error!
only in browsers "The connection has timed out"
and The server at 188.165.***.*** is taking too long to respond

and apache , dns, ssh ... work fine in server

maybe the problem apear after a cwp updates
but I do not have much information about fixing this problem

CentOS 6 Problems / Re: can not log in to the panel
« on: April 28, 2019, 05:55:32 AM »
no any suggestions? :(

CentOS 6 Problems / can not log in to the panel
« on: April 23, 2019, 08:04:05 AM »

It's a few days that I can not log in to the panel and nothing happens after entering the address
but i access with ssh and no problem
my centos webpanel address:      htttp://188.165.***.***:2030        and with https://...

I have not made any changes to the server for a few weeks
my centos version 6
please guide me

CentOS 6 Problems / Re: mysql crashed after server migration please help!
« on: January 07, 2019, 05:58:20 AM »
#systemctl status mysql.service or systemctl status mysqld.service ->
command not found
#systemctl status mariadb.service ->
command not found


# tail -f /var/log/mysqld.log
The manual page at contains
information that should help you find out what is causing the crash.

CentOS 6 Problems / Re: mysql crashed after server migration please help!
« on: January 06, 2019, 09:52:52 PM »
the passwords in both files similar

# service mariadb restart
mariadb: unrecognized service

# mysqlcheck --all-databases -r #repair
mysqlcheck: Got error: 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) when trying to connect

also /var/lib/mysql/mysql.sock   is 0 kilibyte and not editable

What else comes to mind?


CentOS 6 Problems / mysql crashed after server migration please help!
« on: January 05, 2019, 08:07:04 PM »

my server migrat to other location ... and my sql server crashed with this error in cwp:

Warning: mysqli_connect(): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: mysqli_connect(): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: mysqli_connect(): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: mysqli_connect(): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Trying to start mysql server, please wait!
Try to restart CentOS Web Panel with command: sh /scripts/restart_cwpsrv

**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf

Warning: mysqli_error() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:

how to solve this problem? It seems that innodb

CentOS-WebPanel Bugs / coin hive attack on my server ... how?
« on: October 06, 2018, 07:33:38 AM »

my server with CentOS 6.9, CWP version:
few days infected with virus : coinhive and in all my websites in this server get:

Threat found
This web page contains potentially dangerous content.
Threat: JS/CoinMiner.AH potentially unwanted application

how to clean this from my cwp?
How it happened and firewall has not worked?

Installation / different ip in installation cwp !!
« on: April 17, 2018, 06:55:28 AM »

in the end of installation cwp, it echo "
SSL: https://***.243.79.221:2031 "

But my server ip is => ***.243.129.21

why it get wrong ip ?

now in cwp info :
Server IP: ***.243.129.21 | host.*****.net
Shared IP: ***.243.79.221 [Change]

how to correct this

Pages: [1] 2