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.


Topics - ring_c

Pages: 1 [2] 3 4
16
CentOS-WebPanel Bugs / Default page changed to index.html on all sites!
« on: November 21, 2019, 10:16:20 AM »
CWP falks, I assume you've made some kind of update that caused all my wordpres' hosted sites to show CWP's default index.html instead of using index.php to load wordpress.


I've fixed it by moving index.php before index.html in httpd.conf.


I don't really know how it was configured before, but I guess you've changed the httpd.conf with a wrong order of index pages.
BUT! I can I make sure this won't happen again in the future? Please advise what was the change you've made to the panel.


By the way, I didn't access the panel for at least a week, so it's not something I did.
I wonder if others had the same issue...

17
CentOS-WebPanel Bugs / Anacron errors in daily email
« on: October 23, 2019, 06:14:25 AM »

Are you aware of this?

Code: [Select]

######################
Update Server Packages
######################
Redirecting to /bin/systemctl restart cwpsrv.service
Redirecting to /bin/systemctl restart httpd.service
curl: (6) Could not resolve host: static.cdn-cwp.com; Unknown error
--2019-10-22 03:10:15--  http://static.cdn-cwp.com/files/mysql/phpMyAdmin--all-languages.zip
Resolving static.cdn-cwp.com (static.cdn-cwp.com)... failed: Name or service not known.
wget: unable to resolve host address ‘static.cdn-cwp.com’
unzip:  cannot find or open phpMyAdmin--all-languages.zip, phpMyAdmin--all-languages.zip.zip or phpMyAdmin--all-languages.zip.ZIP.
mv: cannot stat ‘phpMyAdmin--all-languages’: No such file or directory
chown: cannot access ‘pma’: No such file or directory
mv: cannot stat ‘/usr/local/cwpsrv/var/services/pma/config.sample.inc.php’: No such file or directory
tr: write error: Broken pipe
tr: write error
sed: can't read /usr/local/cwpsrv/var/services/pma/config.inc.php: No such file or directory
cat: /usr/local/cwpsrv/var/services/pma/README: No such file or directory

18

Hi,


I'm receiving an error from cron daemon (received daily by email the last since last update) as follows:

From:
(Cron Daemon)


Topic:
Cron <root@cwp> /usr/local/cwp/php71/bin/php /usr/local/cwpsrv/htdocs/resources/admin/include/cron_autossl_renew_all_domains.php

Message:

PHP Notice:  Undefined index: domain in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_autossl_renew_all_domains.php on line 0
PHP Notice:  Undefined variable: autoSslResult in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_autossl_renew_all_domains.php on line 0


CWP version: 0.9.8.907


Looking into the file mentioned, it looks like this (I have no idea if this is how it should be) [I didn't include the whole encoded text as it's long]:


Code: [Select]
<?php //00423
// Copyright CentOS WebPanel, Decoding is FORBIDDEN
// All Rights Reserved. www.centos-webpanel.com
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@dl($__ln);}if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}if(function_exists('dl')){@dl($__ln);}}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo('No Loader is installed, please try to run this command or contact support: sh /scripts/update_ioncube');exit(199);
?>

HR+cPsfvdZuTys8ng9yB7L3/WWtj2VtDsoYsrz0HNXGo5SH0kqiEuSq73QX80M6vjax1ivhaKYxE
1AXwY7c7bt6cFbrnZzyXqFLnGE7I0NvgnGe90rSuGkhBSCQhuuJoZdIzi75ZlxDmkE2zMTCK+s5a
Kket5Opq0P2HKOAZ1dFMCIql3CfE2ju7xrbjXPQze8BjFyl2kQnDsiwbxJkr1BgFd3Z/GmYM9n8S
NuGtdrBTy2gqW/vv9nuSNusLUHQLY22eivE1KswXYMwS0eI3y4S68J2g9wNAX8tPNRNx+yo39Sft
0wjWQ6+IGmTJ8LvlFVfADwVrGsOw/M9Mq6i2uaXLw1MVlcAXrdnxAbcibPL6FizV++SoAE/hJhjc
/Xhmbefja+t+OVFZbulbcYyzhQkBeeRxOCG9kAKsTqmuHWkXY1kVHYr0NLifFe5PyqqK8ZcRi0KT
ZWcToVjQLJHty3T3byxa6XJ0NNbBsiB95VPCcnmhibgrZUqQfrnznhdONsk8cYlUfI4G6QDDiNpf
t8qkSOUdKX5r59F3NLoBFvzKZ7Kk6uqec+MhlQm+pIOkfeAwGWHLPrK89IC3HUagVsgfmViqlArO
5AU18XFSyOxBSRZuzxLCNwC1IFb8ezcfYhIq3kRJdcWPqNq+UyHGes42uyXQPZQ003P+M1Y/46Xj

19
Nginx / Old version of Nginx?
« on: September 24, 2019, 02:19:06 PM »
I ran sucuri scan on one of my sites, and got a critical error about nginx version being too old (1.14.2, while it wants 1.17.3).
But I have not yum updates.


Checking the nginx website, it seems 1.14.2 is the most recent legacy version, while the mainline version is 1.17.3.
When will we get the newest nginx version?


Screenshot of Sucuri:


https://ibb.co/M6VVknQ

20
MySQL / Why do I have 6 users for each DB?
« on: September 23, 2019, 12:41:28 PM »
Hi,


I've just noticed that I have a few DBs with 6 users. I believe the common thing between them all is that they were imported from a different hosting company.
So I have something like that:

Code: [Select]
db_name [O] [C] [R] [B]      db_user1 [xx.xx.xx.xx] [P]
                                          db_user1 [localhost] [P]
                                          db_user1 [old.hosting.com] [P]
                                          db_user2 [xx.xx.xx.xx] [P]
                                          db_user2 [localhost] [P]
                                          db_user2 [old.hosting.com] [P]

Any idea if this is normal? Should I remove the users which are not localhost?

21
CentOS-WebPanel GUI / Cpanel migration stuck in the process
« on: August 29, 2019, 02:38:52 AM »

I was using today the new cpanel migration tool, now called cpanel account restore, and the process is stuck for the last hour in the db creation. This site is very small, so it can't be that it is really working on something.
Also, couldn't find any log showing any info on the process.


How can I fix this?

PS: using cwp pro 0.9.8.873


22
MySQL / PhpMyAdmin 404 error
« on: August 29, 2019, 02:32:11 AM »
I'm using cwp pro latest version (0.9.8.873) and trying to use PMA either from the admin or user panel results in 404 error.
[/size]The URL I'm being sent to is my.domain.com:2031/pma for the user panel or my.domain.com:2087/pma from the admin panel.[/color]
[/size][/color]
[/size]Is that a known bug? Is there a way to fix this?[/color]

23
PHP / How to compile PHP with support for webp in gd?
« on: June 03, 2019, 08:18:26 PM »
I'v already installed it using:
Code: [Select]
yum install libwebp-develBut how can I compile php-fpm with it?

24
CSF Firewall / UDP out port 67
« on: June 03, 2019, 05:38:57 AM »
Checking /var/log/messages, I've found the following notification about blocking UDP port 67 out.
I actually went to CSF's configuration and allowed this port and the message was gone.

After 5 minutes I thought I might have risking my system without properly checking (though sounds like my server is the one which is blocked from sending data out), so I've removed the port from CSF, but would appreciate if anyone has any idea what this might be.


Code: [Select]
Jun  3 08:11:32 cwp dhclient[3102]: DHCPREQUEST on eth0 to 172.31.1.1 port 67 (xid=0x216d4be)
Jun  3 08:11:35 cwp kernel: Firewall: *UDP_OUT Blocked* IN= OUT=eth0 SRC=159.69.16.218 DST=172.31.1.1 LEN=328 TOS=0x00 PREC=0x00 TTL=64 ID=12990 DF PROTO=UDP SPT=68 DPT=67 LEN=308 UID=0 GID=0
Jun  3 08:11:35 cwp dhclient[3102]: send_packet: Operation not permitted
Jun  3 08:11:35 cwp dhclient[3102]: dhclient.c:2697: Failed to send 300 byte long packet over fallback interface.

25
PHP / error while compiling php-fpm v5.3.3
« on: June 01, 2019, 10:58:03 PM »
I was trying to compile php v5.3.3 (the oldest currently available on CWP) under php-fpm menu, in order to host an old site of mine.
Using the trail command after it took too long, I found this error:

Code: [Select]

[root@cwp ~]# tail -f /var/log/php-selector-rebuild.log
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Skipping as php build failed
exe:/opt/alt/php-fpm53/usr/sbin/php-fpm
Redirecting to /bin/systemctl restart httpd.service


Build Completed
###################




Error:Can't add notification!


Any idea what's the issue?


Also, ever since, whenever I get into php-fpm menu again, I get this in the bottom:
Code: [Select]
Task already running in the background, please wait a few minutes and then check again!!!How can I remove that?

26
Nginx / Nginx failed and can't be restarted
« on: May 29, 2019, 03:55:49 AM »
This morning I woke up to see my server's nginx failed and couldn't restart (CWP tried to restart it every 15 minutes).

This is my error.log for nginx:
Code: [Select]
2019/05/29 04:00:02 [emerg] 13297#13297: the size 20971520 of shared memory zone "SSL" conflicts with already declared size 10485760 in /etc/nginx/conf.d/cwp.hostname.com_ssl.conf:17
2019/05/29 04:15:03 [emerg] 14094#14094: the size 20971520 of shared memory zone "SSL" conflicts with already declared size 10485760 in /etc/nginx/conf.d/cwp.hostname.com_ssl.conf:17
2019/05/29 04:30:02 [emerg] 14820#14820: the size 20971520 of shared memory zone "SSL" conflicts with already declared size 10485760 in /etc/nginx/conf.d/cwp.hostname.com_ssl.conf:17
2019/05/29 04:45:02 [emerg] 15579#15579: the size 20971520 of shared memory zone "SSL" conflicts with already declared size 10485760 in /etc/nginx/conf.d/cwp.hostname.com_ssl.conf:17
2019/05/29 05:00:02 [emerg] 16292#16292: the size 20971520 of shared memory zone "SSL" conflicts with already declared size 10485760 in /etc/nginx/conf.d/cwp.hostname.com_ssl.conf:17
2019/05/29 05:15:02 [emerg] 17021#17021: the size 20971520 of shared memory zone "SSL" conflicts with already declared size 10485760 in /etc/nginx/conf.d/cwp.hostname.com_ssl.conf:17
2019/05/29 05:30:02 [emerg] 17778#17778: the size 20971520 of shared memory zone "SSL" conflicts with already declared size 10485760 in /etc/nginx/conf.d/cwp.hostname.com_ssl.conf:17
2019/05/29 05:45:02 [emerg] 18567#18567: the size 20971520 of shared memory zone "SSL" conflicts with already declared size 10485760 in /etc/nginx/conf.d/cwp.hostname.com_ssl.conf:17
2019/05/29 06:00:02 [emerg] 19346#19346: the size 20971520 of shared memory zone "SSL" conflicts with already declared size 10485760 in /etc/nginx/conf.d/cwp.hostname.com_ssl.conf:17
2019/05/29 06:06:23 [emerg] 20056#20056: the size 20971520 of shared memory zone "SSL" conflicts with already declared size 10485760 in /etc/nginx/conf.d/cwp.hostname.com_ssl.conf:17
2019/05/29 03:08:23 [emerg] 4086#4086: the size 20971520 of shared memory zone "SSL" conflicts with already declared size 10485760 in /etc/nginx/conf.d/cwp.hostname.com_ssl.conf:17
2019/05/29 03:09:12 [emerg] 4022#4022: the size 20971520 of shared memory zone "SSL" conflicts with already declared size 10485760 in /etc/nginx/conf.d/cwp.hostname.com_ssl.conf:17
2019/05/29 06:09:37 [emerg] 4691#4691: the size 20971520 of shared memory zone "SSL" conflicts with already declared size 10485760 in /etc/nginx/conf.d/cwp.hostname.com_ssl.conf:17
2019/05/29 06:15:02 [emerg] 6426#6426: the size 20971520 of shared memory zone "SSL" conflicts with already declared size 10485760 in /etc/nginx/conf.d/cwp.hostname.com_ssl.conf:17
2019/05/29 06:20:41 [emerg] 7303#7303: the size 20971520 of shared memory zone "SSL" conflicts with already declared size 10485760 in /etc/nginx/conf.d/cwp.hostname.com_ssl.conf:17
2019/05/29 06:20:53 [emerg] 7517#7517: the size 20971520 of shared memory zone "SSL" conflicts with already declared size 10485760 in /etc/nginx/conf.d/cwp.hostname.com_ssl.conf:17
2019/05/29 06:21:14 [emerg] 7882#7882: the size 20971520 of shared memory zone "SSL" conflicts with already declared size 10485760 in /etc/nginx/conf.d/cwp.hostname.com_ssl.conf:17
2019/05/29 06:30:02 [emerg] 10127#10127: the size 20971520 of shared memory zone "SSL" conflicts with already declared size 10485760 in /etc/nginx/conf.d/cwp.hostname.com_ssl.conf:17
2019/05/29 03:40:43 [emerg] 3837#3837: the size 20971520 of shared memory zone "SSL" conflicts with already declared size 10485760 in /etc/nginx/conf.d/cwp.hostname.com_ssl.conf:17

So I went into /etc/nginx/conf.d/cwp.hostname.com_ssl.conf and found the following on line 17:
Code: [Select]
ssl_session_cache   shared:SSL:20m;
So according to the error, i changed it to (from 20m to 10m):

Code: [Select]
ssl_session_cache   shared:SSL:10m;


Any idea why did this happened suddenly? And what does this line actually mean (I understand it's some kind of cache size for SSL). Can it be that some update of CWP made this overnight?
Oh, and where is this "already declared size" stored?




27
Varnish / Varnish won't work
« on: May 12, 2019, 05:45:53 AM »

Hi there,


I'm hosting quite a few websites on my server. I have only one site which is approved to be using varnish with https://isvarnishworking.uk/ - all other won't, although I've set them the same as the one which is working, as per the attached screenshot.

Any idea what might be wrong?


https://pasteboard.co/Iejmr6c.png

28
Addons / netdata installed by itself???
« on: April 30, 2019, 05:11:23 AM »
Hi there,


I'm running CWP7pro and yesterday I've noticed there's a "Graphs" entry in the menu, which I didn't notice before.
I clicked it and there was a sub-entry named "netdata". Clicking it actually resulted in nothing. I mean, there was no data showing except for the headline "netdata".


BUT! Ever since I'm being bombarded with emails from netdata and have noticed a high resources usage. Checking the processes running, I see many netdata processes (/usr/libexec/netdata/...) so I went checking this folder and indeed its date is of yesterday at the time I've accessed this sub menu.



A. How do I uninstall this ASAP?
B. How come it was installed without asking my permission???


I'm totally pissed off currently. Would appreciate a prompt solution please.

29
PHP / Error 503 for WordPress on PHP-FPM 7.3.4
« on: April 29, 2019, 05:29:09 AM »
I've built PHP 7.3.4 and configured a test wordpress site webserver to use it but I get a 503 error.
I've tried with other sites - and the same result.
I've tried disabling plugins, but the error is still there.


Anyone managed to run Wordpress on PHP 7.3.4?

30
PHP Selector / Do I need both php selector and php-fpm selector?
« on: April 24, 2019, 03:54:10 PM »
Do I need to build PHP and PHP-FPM versions or can PHP-FPM be enough?

Pages: 1 [2] 3 4