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

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

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

where is problem?

4
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!!?

5
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!

6
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


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

8
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

9
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.

10
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

11
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

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

13
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

14
Installation / Re: error while re-install cwp
« on: April 15, 2018, 02:03:28 PM »
how to  have a clean/fresh installation of  centos7
please tutorial for commands or link for that

thanks

15
Installation / Re: error while re-install cwp
« on: April 15, 2018, 01:49:08 PM »
for first installation its ok and work fine
but for re-install ...

my server ram and cpu ... = 6GB Ram& cpu 8core

is any way to solve this?

Pages: [1] 2