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.
16
CSF Firewall / lfd on vpsxxxxxx.ovh.net: Excessive processes running under user xxxxxx
« on: November 13, 2017, 06:39:32 PM »What is it??
What can I do??
I received a lot mails with title "lfd on vps#####.ovh.net: Excessive processes running under user #####" and message
Code: [Select]
Time: Mon Nov 13 18:10:06 2017 +0100
Account: #####
Process Count: 12 (Not killed)
Process Information:
User:##### PID:19781 PPID:1642 Run Time:2(secs) Memory:201244(kb) RSS:47496(kb) exe:/usr/local/bin/php-cgi cmd:/usr/local/bin/php-cgi /home/#####/public_html/index.php
User:##### PID:19782 PPID:1641 Run Time:2(secs) Memory:199188(kb) RSS:45424(kb) exe:/usr/local/bin/php-cgi cmd:/usr/local/bin/php-cgi /home/#####/public_html/index.php
User:##### PID:19783 PPID:1640 Run Time:2(secs) Memory:199200(kb) RSS:45416(kb) exe:/usr/local/bin/php-cgi cmd:/usr/local/bin/php-cgi /home/#####/public_html/index.php
User:##### PID:19784 PPID:2247 Run Time:2(secs) Memory:199200(kb) RSS:45412(kb) exe:/usr/local/bin/php-cgi cmd:/usr/local/bin/php-cgi /home/#####/public_html/index.php
User:##### PID:19785 PPID:1640 Run Time:2(secs) Memory:196320(kb) RSS:42452(kb) exe:/usr/local/bin/php-cgi cmd:/usr/local/bin/php-cgi /home/#####/public_html/index.php
User:##### PID:19786 PPID:2247 Run Time:2(secs) Memory:199200(kb) RSS:45416(kb) exe:/usr/local/bin/php-cgi cmd:/usr/local/bin/php-cgi /home/#####/public_html/index.php
User:##### PID:19787 PPID:1642 Run Time:2(secs) Memory:199200(kb) RSS:45416(kb) exe:/usr/local/bin/php-cgi cmd:/usr/local/bin/php-cgi /home/#####/public_html/index.php
User:##### PID:19788 PPID:1641 Run Time:1(secs) Memory:198628(kb) RSS:42448(kb) exe:/usr/local/bin/php-cgi cmd:/usr/local/bin/php-cgi /home/#####/public_html/index.php
User:##### PID:19797 PPID:2247 Run Time:1(secs) Memory:183340(kb) RSS:29164(kb) exe:/usr/local/bin/php-cgi cmd:/usr/local/bin/php-cgi /home/#####/public_html/index.php
User:##### PID:19798 PPID:2247 Run Time:1(secs) Memory:183340(kb) RSS:29168(kb) exe:/usr/local/bin/php-cgi cmd:/usr/local/bin/php-cgi /home/#####/public_html/index.php
User:##### PID:19801 PPID:2247 Run Time:0(secs) Memory:178728(kb) RSS:24576(kb) exe:/usr/local/bin/php-cgi cmd:/usr/local/bin/php-cgi /home/#####/public_html/index.php
User:##### PID:19802 PPID:2247 Run Time:0(secs) Memory:178800(kb) RSS:24608(kb) exe:/usr/local/bin/php-cgi cmd:/usr/local/bin/php-cgi /home/#####/public_html/index.php
17
MySQL / Re: MySQL version: empty
« on: November 13, 2017, 03:24:32 PM »
I fix it in: /etc/my.conf
I had
I add [mysqld]
I hope it will help someone
I had
Code: [Select]
#
# This group is read both both by the client and the server
# use it for options that affect everything
#
[client-server]
#
# include all files from the config directory
#
!includedir /etc/my.cnf.d
max_user_connections=45
I add [mysqld]
Code: [Select]
#
# This group is read both both by the client and the server
# use it for options that affect everything
#
[client-server]
#
# include all files from the config directory
#
!includedir /etc/my.cnf.d
[mysqld]
max_user_connections=45
I hope it will help someone
18
MySQL / MySQL version: empty
« on: November 13, 2017, 02:17:46 PM »
It is normal??
The panel doesn't show my mysql version.
And if I go to ssh...
Whats happen?
The panel doesn't show my mysql version.
And if I go to ssh...
Code: [Select]
[root@vps****** /]# mysql -v
mysql: unknown variable 'max_user_connections=45'
Whats happen?
19
MySQL / Re: Warning: [obfuscated](): (HY000/2002): No such file or directory in ...
« on: November 13, 2017, 01:31:58 PM »
Today it's repteated
Code: [Select]
Warning: [obfuscated](): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Warning: [obfuscated](): (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: [obfuscated]() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:
20
MySQL / Warning: [obfuscated](): (HY000/2002): No such file or directory in ...
« on: November 07, 2017, 12:04:25 PM »
Hi
I have a big error with my website. It is a wordpress with woocommerce, and normally it runs ok, but sometimes it is down and when I go to CWP I read:
I refresh, and it disappeared and the website is up automatically.
How can I fix it?
Where can I see my mysql log in CW7? I have not the a .error log in /var/lib/mysql
I have a big error with my website. It is a wordpress with woocommerce, and normally it runs ok, but sometimes it is down and when I go to CWP I read:
Code: [Select]
Warning: [obfuscated](): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Warning: [obfuscated](): (HY000/2002): No such file or directory 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: service cwpsrv restart
**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf
I refresh, and it disappeared and the website is up automatically.
How can I fix it?
Where can I see my mysql log in CW7? I have not the a .error log in /var/lib/mysql
21
CentOS 6 Problems / Re: yum update after get mod security issue cant start apache
« on: November 07, 2017, 03:11:31 AM »hello, i just investigated issue. found something.
my httpd.conf had duplicated line that i just needs to be removed these.Code: [Select]Include /usr/local/apache/conf/sharedip.conf
Include /usr/local/apache/conf.d/*.conf
ExtendedStatus On
<Directory "/usr/local/apache/htdocs">
suPHP_UserGroup nobody nobody
</Directory>
Include /usr/local/apache/conf/sharedip.conf
Include /usr/local/apache/conf.d/*.conf
ExtendedStatus On
i have just remove these duplicated shit and after that rebuild mod security. Rebuild vhost files. And it works again.
thanks for reading. just want to share this.
happy CWP:)
It works for me too.
The same error and the same solution.
Thanks.
22
DNS / Re: How do I configure an additional ip?
« on: October 16, 2017, 02:01:39 AM »
Finally I have used BBB.BBB.BBB.BBB in all fields and I think it is working
And nameserver:
es1.domain.com BBB.BBB.BBB.BBB
es1.domain.com BBB.BBB.BBB.BBB
And nameserver:
es1.domain.com BBB.BBB.BBB.BBB
es1.domain.com BBB.BBB.BBB.BBB
23
DNS / How do I configure an additional ip?
« on: October 15, 2017, 12:59:52 AM »Hi,
I have a VPS in OVH, with his ip: AAA.AAA.AAA.AAA
That ip is in France, and I want my web looks like a spanish site (to improve my SEO), for this reason I bought an additional geo ip in spain: BBB.BBB.BBB.BBB
How can I configure it for a right use?
I add it with this method: https://docs.ovh.com/gb/en/dedicated/network-ipaliasing/
But now, I dont know what ip I have to use in the field "Shared IP", "nameservers", "hostname" ...
In my domain provider I have some glue records.
fr1.domain.com AAA.AAA.AAA.AAA
fr2.domain.com AAA.AAA.AAA.AAA
es1.domain.com BBB.BBB.BBB.BBB
es2.domain.com BBB.BBB.BBB.BBB
server.domain.com AAA.AAA.AAA.AAA
24
CentOS 7 Problems / Re: Mysqld doesn't work. Message: [obfuscated](): (HY000/2002):
« on: September 19, 2017, 02:10:50 PM »
How can I check if the logs are configured in configuration ?
I don't find any log about mysql in /var/log/
I don't find any log about mysql in /var/log/
25
CentOS 7 Problems / Re: Mysqld doesn't work. Message: [obfuscated](): (HY000/2002):
« on: September 13, 2017, 02:52:11 PM »in centos 7 you need to use systemd manager and NOT chkconfig.
For mysql issue you should check mysql logs in folder /var/lib/mysql/ filename is usually named as hostname.err
Thanks for your time studio4host, but there I have not any file .err
26
CentOS 7 Problems / Mysqld doesn't work. Message: [obfuscated](): (HY000/2002):
« on: September 12, 2017, 09:35:53 PM »Hi
I have a fresh install of CWP7 in a Centos 7 VPS. I have only a wordpress install there.
Every day my blog is down, the mysql doesn't work. So I go to my centos panel, and I find this message:
"Warning: [obfuscated](): (HY000/2002): Connection refused in /usr/local/cwpsrv/htdocs/admin/user/index.php on line 0"
After a few seconds the CWP works again and the wordpress run again.
Whats happen !!??
* In my Chkconfig manager I have only two services: netconsole, network.
27
PHP / I want php7 but the switcher doesn't work
« on: July 07, 2017, 04:40:20 AM »I use the switchwe, wait and finally I read:
PHP Version Switcher task completed, please check the log for more details.
I don't read any error but the PHP is not upgrade.
What is wrong?
This is the final of my log:
Code: [Select]
Configure DONE!
####################
make: *** No targets specified and no makefile found. Stop.
Make DONE!
####################
make: *** No rule to make target `install'. Stop.
Make Install DONE!
####################
httpd: Could not reliably determine the server's fully qualified domain name, using vps******.ovh.net for ServerName
PHP Rebuild Completed
#########################
28
Mod_Security / Re: Found another rule with the same id
« on: May 19, 2017, 01:30:39 PM »issue found and fixed it was related to comodo waf update
update cwp to latest version
sh /scripts/update_cwp
I have the same problem and I the newest version: 0.9.8.238
29
Apache / Re: Apache webserver stop when server restart
« on: January 29, 2017, 06:45:36 PM »
I have the same problem,
What item have to turn on?
I have not the "httpd".
Regards
What item have to turn on?
I have not the "httpd".
Regards
30
Updates / Re: BUG when you upgrade the VPS - RESIZE PARTITION HARD DISC
« on: January 29, 2017, 06:38:57 PM »
Hi,
I have need it again, and I reply here for to explain the right way. It works for me (I home it works for you too, but be careful ):
df -h
fdisk -ul /dev/vda
To show the hard disk. It looks like:
Disk /dev/vda: 21.5 GB, 21474836480 bytes
16 heads, 63 sectors/track, 41610 cylinders, total 41943040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000574cf
Device Boot Start End Blocks Id System
/dev/vda1 * 2048 41943039 20970496 83 Linux
fdisk -u /dev/vda
Command (m for help): d
Selected partition 1
Command (m for help): p
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First sector (63-41943039, default 63): 2048 <-- You can see it in the size table that we showed 1 minute ago.
Last sector, +sectors or +size{K,M,G} (2048-41943039, default 41943039): 41943039 <-- You can see it in the size table that we showed 1 minute ago.
Command (m for help): a
Partition number (1-4): 1
Command (m for help): w
The partition table has been altered!
reboot
....
resize2fs /dev/vda1
I have need it again, and I reply here for to explain the right way. It works for me (I home it works for you too, but be careful ):
df -h
fdisk -ul /dev/vda
To show the hard disk. It looks like:
Disk /dev/vda: 21.5 GB, 21474836480 bytes
16 heads, 63 sectors/track, 41610 cylinders, total 41943040 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000574cf
Device Boot Start End Blocks Id System
/dev/vda1 * 2048 41943039 20970496 83 Linux
fdisk -u /dev/vda
Command (m for help): d
Selected partition 1
Command (m for help): p
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First sector (63-41943039, default 63): 2048 <-- You can see it in the size table that we showed 1 minute ago.
Last sector, +sectors or +size{K,M,G} (2048-41943039, default 41943039): 41943039 <-- You can see it in the size table that we showed 1 minute ago.
Command (m for help): a
Partition number (1-4): 1
Command (m for help): w
The partition table has been altered!
reboot
....
resize2fs /dev/vda1