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

Pages: 1 ... 9 10 [11] 12 13
151
How to / Re: [Tutorial] Installing Netdata on Centos Web Panel
« on: September 03, 2018, 12:03:01 PM »
Thank you so much!

152
CentOS-WebPanel GUI / Re: Resources monitor per user/website
« on: September 03, 2018, 12:01:58 PM »
Did you try to run the following command for permission

chown -R netdata:netdata /usr/local/apache/htdocs/netdata
Wow you're a savior! Thank you!
Wasn't it part of the tutorial, though? I can swear there was such a command in there...

153
Backup / Re: Error found on the email from - Anacron job 'cron.daily'
« on: September 03, 2018, 11:56:10 AM »

cat /etc/my.cnf:
Code: [Select]

[xxx@cwp ~]# cat /etc/my.cnf
#
# 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


#
# Disable LOAD DATA LOCAL commands in MySQL
#
local-infile=0


As you can see, the
Code: [Select]
local-infile=0 is there...

154
How to / Re: [Tutorial] Installing Netdata on Centos Web Panel
« on: September 03, 2018, 11:00:59 AM »
Any idea what this error mean (tcp listen drops)?


Warning screenshot from email:
https://pasteboard.co/HCagjN0.png


Recovery screenshot from email:
https://pasteboard.co/HCafQi3.png

155
CentOS-WebPanel GUI / Re: Resources monitor per user/website
« on: September 03, 2018, 05:57:03 AM »
I got to work now, and am trying to access netdata from my workplace's PC, and get this:
Code: [Select]
Access to file is not permitted: /usr/local/apache/htdocs/netdata/usr/share/netdata/web//index.html

Is it related at all to the fact I'm trying to access it from another PC?
I've also tried from my mobile, and got the same.


Any idea what's wrong?

156
Backup / Error found on the email from - Anacron job 'cron.daily'
« on: September 03, 2018, 05:44:00 AM »
For the first time I've looked deeply into the email received for the daily backups and found some errors (marked the errors in Red):

---
mysqldump: unknown variable 'local-infile=0'
Database Backup: dbb_dba --> /backup/mysql/daily//dbb_dba.sql
mysqldump: unknown variable 'local-infile=0'
Database Backup: dbb_dbb --> /backup/mysql/daily//dbb_dbb.sql
mysqldump: unknown variable 'local-infile=0'
Database Backup: dbb_dbc --> /backup/mysql/daily//dbb_dbc.sql
mysqldump: unknown variable 'local-infile=0'
Database Backup: dbb_dbd --> /backup/mysql/daily//dbb_dbd.sql
mysqldump: unknown variable 'local-infile=0'
Database Backup: dbb_dbe --> /backup/mysql/daily//dbb_dbe.sql
mysqldump: unknown variable 'local-infile=0'
Database Backup: dbb_dbf --> /backup/mysql/daily//dbb_dbf.sql
mysqldump: unknown variable 'local-infile=0'
Database Backup: dbb_dbg --> /backup/mysql/daily//dbb_dbg.sql
Skipping database: information_schema.
mysqldump: unknown variable 'local-infile=0'
Database Backup: dbb_dbh --> /backup/mysql/daily//dbb_dbh.sql
mysqldump: unknown variable 'local-infile=0'
Database Backup: mysql --> /backup/mysql/daily//mysql.sql
mysqldump: unknown variable 'local-infile=0'
Database Backup: oauthv2 --> /backup/mysql/daily//oauthv2.sql
mysqldump: unknown variable 'local-infile=0'
Database Backup: performance_schema --> /backup/mysql/daily//performance_schema.sql
mysqldump: unknown variable 'local-infile=0'
Database Backup: postfix --> /backup/mysql/daily//postfix.sql
mysqldump: unknown variable 'local-infile=0'
Database Backup: root_cwp --> /backup/mysql/daily//root_cwp.sql
mysqldump: unknown variable 'local-infile=0'
Database Backup: roundcube --> /backup/mysql/daily//roundcube.sql
mysqldump: unknown variable 'local-infile=0'
Database Backup: dbb_dbi --> /backup/mysql/daily//dbb_dbi.sql
warning: /var/tmp/rpm-tmp.RpBiRK: Header V4 DSA/SHA1 Signature, key ID cd2efd2a: NOKEYerror: Failed dependencies:
       perl(DBD::mysql) >= 1.0 is needed by percona-toolkit-2.2.16-1.noarch
---

Any idea what might be wrong?

157
CentOS-WebPanel GUI / Re: Resources monitor per user/website
« on: September 03, 2018, 01:53:59 AM »
Oh, and one more thing - I see this system is open for all. How can I protect its access with a password so others won't use it?

158
CentOS-WebPanel GUI / Re: Resources monitor per user/website
« on: September 03, 2018, 01:49:44 AM »
Ok, this DOES look impressive and lots of data (too much? :) )...
Coming back to my original question - how can I see resources used by a specific site.
Let's say there's a huge increase in CPU usage - how can I tell which site is causing it and which process in this site?

159
CentOS-WebPanel GUI / Re: Resources monitor per user/website
« on: September 03, 2018, 01:39:47 AM »
Code: [Select]
Ok, figured it out after some search.
You first have to run this:
[codee]yum install ipset-service


Now it works. Thanks!
I'll go and check this. Looks great.

160
CentOS-WebPanel GUI / Re: Resources monitor per user/website
« on: September 03, 2018, 01:32:51 AM »
Does this helps

yum install python-devel -y
Yes, it does. Thanks!
BUT... then I get this error:


Code: [Select]
[root@cwp netdata]# rpm -ivh https://github.com/firehol/packages/releases/download/2018-08-19-1732/firehol-3.1.6-1.el7.noarch.rpm
Retrieving https://github.com/firehol/packages/releases/download/2018-08-19-1732/firehol-3.1.6-1.el7.noarch.rpm
error: Failed dependencies:
        ipset is needed by firehol-3.1.6-1.el7.noarch


So I can't write the file /etc/firehol/fireqos.conf


161
CentOS-WebPanel GUI / Re: Resources monitor per user/website
« on: September 02, 2018, 07:26:18 PM »
Unfortunately, it resulted in an error, quite early.
Right after the command
Code: [Select]
pip install mysqlclient I was getting these errors:

Code: [Select]
Installing collected packages: mysqlclient
  Running setup.py install for mysqlclient ... error
    Complete output from command /usr/bin/python2 -u -c "import setuptools, toke                                                                                                                                                             nize;__file__='/tmp/pip-install-WBKL5o/mysqlclient/setup.py';f=getattr(tokenize,                                                                                                                                                              'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(comp                                                                                                                                                             ile(code, __file__, 'exec'))" install --record /tmp/pip-record-G1r32T/install-re                                                                                                                                                             cord.txt --single-version-externally-managed --compile:
    /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distributio                                                                                                                                                             n option: 'long_description_content_type'
      warnings.warn(msg)
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-2.7
    copying _mysql_exceptions.py -> build/lib.linux-x86_64-2.7
    creating build/lib.linux-x86_64-2.7/MySQLdb
    copying MySQLdb/__init__.py -> build/lib.linux-x86_64-2.7/MySQLdb
    copying MySQLdb/compat.py -> build/lib.linux-x86_64-2.7/MySQLdb
    copying MySQLdb/connections.py -> build/lib.linux-x86_64-2.7/MySQLdb
    copying MySQLdb/converters.py -> build/lib.linux-x86_64-2.7/MySQLdb
    copying MySQLdb/cursors.py -> build/lib.linux-x86_64-2.7/MySQLdb
    copying MySQLdb/release.py -> build/lib.linux-x86_64-2.7/MySQLdb
    copying MySQLdb/times.py -> build/lib.linux-x86_64-2.7/MySQLdb
    creating build/lib.linux-x86_64-2.7/MySQLdb/constants
    copying MySQLdb/constants/__init__.py -> build/lib.linux-x86_64-2.7/MySQLdb/                                                                                                                                                             constants
    copying MySQLdb/constants/CLIENT.py -> build/lib.linux-x86_64-2.7/MySQLdb/co                                                                                                                                                             nstants
    copying MySQLdb/constants/CR.py -> build/lib.linux-x86_64-2.7/MySQLdb/consta                                                                                                                                                             nts
    copying MySQLdb/constants/ER.py -> build/lib.linux-x86_64-2.7/MySQLdb/consta                                                                                                                                                             nts
    copying MySQLdb/constants/FIELD_TYPE.py -> build/lib.linux-x86_64-2.7/MySQLd                                                                                                                                                             b/constants
    copying MySQLdb/constants/FLAG.py -> build/lib.linux-x86_64-2.7/MySQLdb/cons                                                                                                                                                             tants
    copying MySQLdb/constants/REFRESH.py -> build/lib.linux-x86_64-2.7/MySQLdb/c                                                                                                                                                             onstants
    running build_ext
    building '_mysql' extension
    creating build/temp.linux-x86_64-2.7
    gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2                                                                                                                                                              -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-sw                                                                                                                                                             itches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wa                                                                                                                                                             ll -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buf                                                                                                                                                             fer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv                                                                                                                                                              -fPIC -Dversion_info=(1,3,13,'final',0) -D__version__=1.3.13 -I/usr/include/mys                                                                                                                                                             ql -I/usr/include/python2.7 -c _mysql.c -o build/temp.linux-x86_64-2.7/_mysql.o
    _mysql.c:37:20: fatal error: Python.h: No such file or directory
     #include "Python.h"
                        ^
    compilation terminated.
    error: command 'gcc' failed with exit status 1


    ----------------------------------------
Command "/usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-                                                                                                                                                             install-WBKL5o/mysqlclient/setup.py';f=getattr(tokenize, 'open', open)(__file__)                                                                                                                                                             ;code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exe                                                                                                                                                             c'))" install --record /tmp/pip-record-G1r32T/install-record.txt --single-versio                                                                                                                                                             n-externally-managed --compile" failed with error code 1 in /tmp/pip-install-WBK                                                                                                                                                             L5o/mysqlclient/


I guess I shouldn't continue the installation...
Any idea what's wrong?

162
Apache / Re: HTTP2 / SPDY
« on: September 02, 2018, 02:54:49 PM »
https://www.mysterydata.com/how-to-enable-http-2-for-apache-in-cwp-with-mod_http2-module/



Ok, Iíve finished this tutorial but still get negative when testing one of my sites.
Was it ok if Iíve followed this tutorial on a server built with Apache+Nginx+Varnish?

163
CentOS-WebPanel GUI / Resources monitor per user/website
« on: September 01, 2018, 08:54:37 PM »
Hi,


Is there a way for me as admin to see how many resources each user/site is using (RAM/CPU/etc...)?
Couldn't find a page with such info.


TIA.

164
Addons / Re: Wordpress Addon is not working
« on: September 01, 2018, 06:22:36 PM »
Correct. I've found it the hard way myself. Here's a post I added here: http://forum.centos-webpanel.com/centos-webpanel-bugs/wordpress-installation-issue/msg18945/


Anyway, here's the process to go for installing wordpress via the addon:
1. Go to Wordpress within the addon menu: http://IP:2082/USER/?module=addons&acc=wordpress (change IP and USER to your own).
2. Make sure the password used does NOT include special characters. If it does, either change it manually or click the round icon aside to it till it gives you another password with no special characters.
3. Of course change all installation options as you see fit.
4. Click Install.
5. Copy the password you chose (remember, no special characters!) and go to Mysql manager under SQL services menu - http://IP:2082/USER/?module=mysql_manager
6. Click password and input the password you've copied in both fields and save changes.
7. Go to FTP file manager - http://IP:2082/USER/fileManager2.php and access your wordpress installation under public_html.
8. Delete the file WP-CONFIG.PHP.
9. Access your site's URL and the Wordpress' installation should properly start now.


Would appreciate to know if this helped you.

165
I've installed memcached and redis but found out it's causing severe issued on my server, so I've uninstalled them.
But I still see there are 2 folders under the root folder named php-memcached and php-redis which are about 22mb altogether.
Is it safe to remove them?

Pages: 1 ... 9 10 [11] 12 13