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 2 3 [4] 5 6 ... 15
46
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...

47
Well, I think I've nailed this one. I've found I have 2 expired domains still hosted on my CWP and I believe that error is caused when the SSL cron job is looking for domains that needs to renew their SSLs, while these 2 are not valid anymore, hence it fails.
I've removed the auto SSL tick from both domains and didn't get the error tonight.
Let's hope I'm right...

48
Anyone?

49
CentOS-WebPanel Bugs / Re: Anacron errors in daily email
« on: October 23, 2019, 11:21:40 AM »
Whoops that's a bit embarrassing...I guess one could suggest you get what you pay for. You paid peanuts right?
I paid what I was asked for to use the PRO version of CWP.
What do you try to imply?

50
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

51

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

52
Nginx / Re: Old version of Nginx?
« on: September 26, 2019, 07:56:40 PM »
After reaching out to the support, where they wanted me to pay for technician support time (so why do I pay for the PRO version?), I've decided to do that myself. So I came back here to write it for others who might want to update their nginx as well.
Actually, all I needed to do is edit /etc/yum.repos.d/nginx.repo and changing it to read like this:

Code: [Select]
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=0
enabled=1

Note that the only change is changing "enabled=0" (in the original file) to "enabled=1".
Then run "yum update nginx".
You can tryp "nginx -v" to make sure the version was indeed updated.
Then restart nginx (can be done from CWP's dashboard) and you're done.

53
Nginx / Re: Old version of Nginx?
« on: September 26, 2019, 05:53:39 AM »
Anyone?

54
CentOS 7 Problems / Re: Logrotate for access_log and modsec_audit.log
« on: September 25, 2019, 08:29:42 AM »
Thank you for the below, but I have one correction and one question:


Correction:
This
Code: [Select]
/usr/local/apache/logs/*log{ should be this
Code: [Select]
/usr/local/apache/logs/*log {(space before the { sign).

Question:
Why isn't it pre-configured in CWP? I've found my access_log is already 2GB of size!

TIA.



Try to add as the one config and check.

 /usr/local/apache/logs/*log{
        daily
        missingok
        rotate 15
        compress
        delaycompress
        notifempty
        sharedscripts
        dateext
        postrotate
                service httpd restart > /dev/null
        endscript
}

55
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

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

57
MySQL / Re: PhpMyAdmin 404 error
« on: August 29, 2019, 07:00:56 AM »
this should fix it
sh /scripts/mysql_phpmyadmin_updat
Great! I can confirm it works, though you have a typo - should be update, and not updat.

58
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


59
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]

60
Addons / Re: reseller addon that is never finalized
« on: August 10, 2019, 08:03:02 PM »
What does it has to do with reseller account?

Pages: 1 2 3 [4] 5 6 ... 15