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

2
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 46.229.168.136:47204] 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

3
@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?

4
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]
</IfModule>

Does this cause security problems?

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

where is problem?

6
tanks Igor

after add this two lines solve httpd problem:

LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so

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

how to solve!!?

7
hello!
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
[FAILED]

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!

8
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


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

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

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

11
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

why?

# tail -f /var/log/mysqld.log
/usr/libexec/mysqld[0x7b0c10]
/usr/libexec/mysqld(_Z24ha_initialize_handlertonP13st_plugin_int+0x41)[0x67b271]
/usr/libexec/mysqld[0x58fe78]
/usr/libexec/mysqld(_Z11plugin_initPiPPci+0x928)[0x593a68]
/usr/libexec/mysqld[0x519338]
/usr/libexec/mysqld(_Z11mysqld_mainiPPc+0x3fd)[0x51c5fd]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x3d4d01ed1d]
/usr/libexec/mysqld[0x511c85]
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.

12
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?

thanks

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

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

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

my server with CentOS 6.9, CWP version: 0.9.8.573
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?

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

in the end of installation cwp, it echo "
http://***.243.79.221:2030
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