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

Pages: 1 2 [3]
31
Softaculous / How to enable Fantsctico F3 panel
« on: July 24, 2020, 04:51:22 PM »
Hi, in the CWP admin panel I don't see any tools to manage Fantsctico F3, but in the user panel I see it's available in the Script Installers section.
When clicking on it it shows error:
Quote
You are not authorized to use this module (fantastico_f3)- Contact Server Admin
Could you please let me know how to enable it?

32
Softaculous / Re: Trial Premium licence doesn't switch to free
« on: July 24, 2020, 04:49:11 PM »
After contacting Softaculous support it was fixed remotely.
I just had to click Refresh license once again.

Topic can be closed.

33
Softaculous / Re: Trial Premium licence doesn't switch to free
« on: July 22, 2020, 07:48:25 PM »
Also I've noticed when login as user I see License inactive and can't install anything.
Seems it hasn't switched to Free license.


34
CentOS 7 Problems / Re: CWP 7 can't login to user panel
« on: July 22, 2020, 07:40:04 PM »
Indeed, using https://site:2083/ worked well for me!

Thanks for the trick!

35
Softaculous / Re: Trial Premium licence doesn't switch to free
« on: July 22, 2020, 07:34:01 PM »
Interesting, thanks for letting know.
What I also see in the notifications that updates now fail.
Cron job that runs daily to check the updates for Softtaculous now reports that update failed:

Quote
The following software were updated during Automatic Cron Updates:
WordPress 5.4.2 - Failed
Drupal 7 7.72 - Failed
Drupal 8 8.9.2 - Failed
CE Phoenix 1.0.7.5 - Failed
Roundcube 1.4.7 - Failed
MediaWiki 1.27 1.27.7 - Failed
Drupal 9.0.2 - Failed
phpList 3.5.5 - Failed
Zenphoto 1.5.7 - Failed
TinyWebGallery 2.4.7 - Failed
MediaWiki 1.34.2 - Failed
AngularJS 1.8.0 - Failed
PmWiki 2.2.130 - Failed
WikkaWiki 1.4.2 - Failed
Dojo 1.16.3 - Failed
SitePad 1.3.8 - Failed
UVdesk 1.0.11 - Failed
DropzoneJs 5.7.1 - Failed
LESS 3.12.0 - Failed
JSZip 3.5.0 - Failed
MediaWiki 1.31 1.31.8 - Failed

The logs of the Updates are as follows:
WordPress
Updated version found.....Needs Update
Fetching Latest package......Could not SAVE latest package......Continuing
Mirror : s1.softaculous.com

Drupal 7
Updated version found.....Needs Update
Fetching Latest package......Could not SAVE latest package......Continuing
Mirror : s4.softaculous.com

Is there any way to fix it?

36
Softaculous / Trial Premium licence doesn't switch to free
« on: May 28, 2020, 08:07:40 AM »
It was told that after 1 month of Premium trial Softaculous automatically switch to Free license.
Instead it shows me error message:
License Inactive
  Your license (###-###) is not active or it has expired. If your license has expired, please renew it to continue using this Software.

If has Refresh License link but nothing happens when I click on it.

How to switch to Free license?

37
CentOS 7 Problems / CWP 7 can't login to user panel
« on: April 23, 2020, 06:03:01 PM »
Latest updated CWP 7.
I have 1 user created and one domain.
User has correct password and I can login with it over FTP.
When trying to login to user panel https://hostname:2083/login/?acc=logon
after clicking login button it stays showing "Please wait!" on green button and nothing happens.

I have tried assigning different packages to the user - didn't help.

Conteant of /home/user/.conf
cwp.ini
Code: [Select]
LANG=en
THEME=original
EMAIL=

Also it's interesting that when I click edit user I can't see any settings already assigned and visible in "List users" table. Also I can't select from package, as drop-down is empty here, but I can assign package in the previous table but seem this doesn't apply.



Looks like CWP bug!

Please help!

38
CentOS-WebPanel Bugs / Re: CPU 100% clamd
« on: April 21, 2020, 10:27:55 AM »
Do I need to stop services before running a script?

39
CentOS-WebPanel Bugs / Re: CPU 100% clamd
« on: April 20, 2020, 07:51:14 PM »
Same issue.
Tried script above - didn't help.

Then I tried the alternate solution above - also failed.
There is no clamd.sock file in /var/run/clamd.amavisd/.
Anyway I've assigned 755 to /var/run/clamd.amavisd/ and to /var/run/clamd.scan/ that didn't help.

Then I checked /var/log/messages:

It has cycled error:
Apr 20 23:19:01 cwp systemd: Started clamd scanner () daemon.
Apr 20 23:19:01 cwp clamd: LibClamAV Warning: **************************************************
Apr 20 23:19:01 cwp clamd: LibClamAV Warning: ***  The virus database is older than 7 days!  ***
Apr 20 23:19:01 cwp clamd: LibClamAV Warning: ***   Please update it as soon as possible.    ***
Apr 20 23:19:01 cwp clamd: LibClamAV Warning: **************************************************
Apr 20 23:19:09 cwp clamd: LibClamAV Error: mpool_malloc(): Can't allocate memory (262144 bytes).
Apr 20 23:19:09 cwp clamd: LibClamAV Error: cli_ac_addpatt: Can't allocate memory for new->trans
Apr 20 23:19:09 cwp clamd: LibClamAV Error: cli_parse_add(): Problem adding signature (3).
Apr 20 23:19:09 cwp clamd: LibClamAV Error: Problem parsing database at line 64534
Apr 20 23:19:09 cwp clamd: LibClamAV Error: Can't load daily.ldb: Can't allocate memory
Apr 20 23:19:09 cwp clamd: LibClamAV Error: cli_tgzload: Can't load daily.ldb
Apr 20 23:19:09 cwp clamd: LibClamAV Error: Can't load /var/lib/clamav/daily.cvd: Malformed database
Apr 20 23:19:09 cwp clamd: LibClamAV Error: cli_loaddbdir(): error loading database /var/lib/clamav/daily.cvd
Apr 20 23:19:09 cwp clamd: ERROR: Malformed database
Apr 20 23:19:09 cwp systemd: clamd.service: main process exited, code=exited, status=1/FAILURE
Apr 20 23:19:09 cwp systemd: Unit clamd.service entered failed state.
Apr 20 23:19:09 cwp systemd: clamd.service failed.
Apr 20 23:19:10 cwp systemd: clamd.service holdoff time over, scheduling restart.
Apr 20 23:19:10 cwp systemd: Stopped clamd scanner () daemon.

From it it's clear that it fails to extract signature database daily.ldb because it Can't allocate memory.
The same I see in the usage resources (I have 1 GB RAM on VPS) - normally 0.5 GB is consumed, after ClamAV start it raises from 0.5 to max and restarts.

Is there any way to load the db file on 1 GB RAM?

40
CentOS 7 Problems / Re: CWP 7 generates PHP errors
« on: April 20, 2020, 06:38:28 PM »
Code: [Select]
######################
Update Server Packages
######################
chmod: cannot access ‘/opt/alt/php*/usr/sbin/*’: No such file or directory
chmod: cannot access ‘/opt/alt/php*/usr/bin/*’: No such file or directory
https://mirror.oxilion.nl/remi/enterprise/7/remi/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a00:d10:1141:8::7: Network is unreachable"
Trying other mirror.
https://mirror.oxilion.nl/remi/enterprise/7/remi/x86_64/repodata/6e82cab09585dae6d790f2874ddb9d432775018288186503706c82648d55b5ca-primary.sqlite.bz2: [Errno 14] curl#7 - "Failed to connect to 2a00:d10:1141:8::7: Network is unreachable"
Trying other mirror.
Redirecting to /bin/systemctl restart cwpsrv.service
PHP Warning:  Error while sending QUERY packet. PID=21021 in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
PHP Warning:  mysqli_error() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
PHP Warning:  mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
PHP Warning:  mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
Redirecting to /bin/systemctl restart httpd.service
PHP Warning:  Error while sending QUERY packet. PID=21021 in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
Redirecting to /bin/systemctl reload httpd.service
--2020-04-20 21:11:47--  http://static.cdn-cwp.com/files/mail/vacation.zip
Resolving static.cdn-cwp.com (static.cdn-cwp.com)... 167.114.21.226, 151.80.90.199, 137.74.148.116, ...
Connecting to static.cdn-cwp.com (static.cdn-cwp.com)|167.114.21.226|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2390 (2.3K) [application/zip]
Saving to: ‘vacation.zip’

100%[========================================================================================================================>] 2,390       --.-K/s   in 0s

2020-04-20 21:11:47 (123 MB/s) - ‘vacation.zip’ saved [2390/2390]

Now i see many different issues but of another but also related to mysql permisions (of course mysql root password was checked and it is correct and has permissions on the tables):

Code: [Select]
2020/04/20 21:14:49 [error] 21534#0: *17 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined index: senders in /usr/local/cwpsrv/htdocs/resources/admin/modules/mail_queue.php on line 0
PHP message: PHP Warning:  Invalid argument supplied for foreach() in /usr/local/cwpsrv/htdocs/resources/admin/modules/mail_queue.php on line 0
PHP message: PHP Notice:  Undefined index: involved in /usr/local/cwpsrv/htdocs/resources/admin/modules/mail_queue.php on line 0
PHP message: PHP Warning:  Invalid argument supplied for foreach() in /usr/local/cwpsrv/htdocs/resources/admin/modules/mail_queue.php on line 0" while reading upstream, client: 93.92.199.232, server: localhost, request: "GET /cwp_9453a33e2e748521667b72ab9b6c17da/admin/index.php?module=mail_queue HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "cwp.ipnets.ru:2031", referrer: "https://cwp.ipnets.ru:2031/cwp_9453a33e2e748521667b72ab9b6c17da/admin/index.php?module=mx_routing"
2020/04/20 21:17:45 [error] 21534#0: *123 FastCGI sent in stderr: "PHP message: PHP Warning:  mysqli::__construct(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in /usr/local/cwpsrv/var/services/oauth/v2/server/server.php on line 25
PHP message: PHP Warning:  mysqli::__construct(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in /usr/local/cwpsrv/var/services/oauth/v2/server/server.php on line 27
PHP message: PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /usr/local/cwpsrv/var/services/oauth/v2/server/server.php on line 29
PHP message: PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /usr/local/cwpsrv/var/services/oauth/v2/server/server.php on line 95
PHP message: PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /usr/local/cwpsrv/var/services/oauth/v2/server/server.php on line 95
PHP message: PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /usr/local/cwpsrv/var/services/oauth/v2/server/server.php on line 95
PHP message: PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /usr/local/cwpsrv/var/services/oauth/v2/server/server.php on line 95
PHP message: PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /usr/local/cwpsrv/var/services/oauth/v2/server/server.php on line 95
PHP message: PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /usr/local/cwpsrv/var/services/oauth/v2/server/server.php on line 95
PHP message: PHP Warning:  mysqli::query(): Couldn't fetch mysqli in /usr/local/cwpsrv/var/services/oauth/v2/server/server.php on line 95
PHP message: PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) in /usr/local/cwpsrv/var/services/oauth/v2/server/OAuth2/Storage/Pdo.php:67
Stack trace:
#0 /usr/local/cwpsrv/var/services/oauth/v2/server/OAuth2/Storage/Pdo.php(67): PDO->__construct('mysql:dbname=oa...', 'root', ''4IzqYr9Ddp'', Array)
#1 /usr/local/cwpsrv/var/services/oauth/v2/server/server.php(187): OAuth2\Storage\Pdo->__construct
2020/04/20 21:17:45 [info] 21534#0: *123 client 127.0.0.1 closed keepalive connection
2020/04/20 21:35:48 [error] 21533#0: *441 FastCGI sent in stderr: "PHP message: PHP Warning:  mysqli::__construct(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_list_accounts.php on line 0
PHP message: PHP Warning:  mysqli_query(): Couldn't fetch mysqli in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_list_accounts.php on line 0
PHP message: PHP Notice:  Trying to get property of non-object in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_list_accounts.php on line 0" while reading response header from upstream, client: 93.92.199.232, server: localhost, request: "POST /cwp_54b40ca053082a745925cb61699eb281/admin/loader_ajax.php?ajax=list_accounts HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "cwp.ipnets.ru:2031", referrer: "https://cwp.ipnets.ru:2031/cwp_54b40ca053082a745925cb61699eb281/admin/index.php?module=list_accounts"

41
CentOS 7 Problems / Re: CWP 7 admin panel doesn't show up properly
« on: April 20, 2020, 06:21:02 PM »
Code: [Select]
######################
Update Server Packages
######################
chmod: cannot access ‘/opt/alt/php*/usr/sbin/*’: No such file or directory
chmod: cannot access ‘/opt/alt/php*/usr/bin/*’: No such file or directory
https://mirror.oxilion.nl/remi/enterprise/7/remi/x86_64/repodata/repomd.xml: [Errno 14] curl#7 - "Failed to connect to 2a00:d10:1141:8::7: Network is unreachable"
Trying other mirror.
https://mirror.oxilion.nl/remi/enterprise/7/remi/x86_64/repodata/6e82cab09585dae6d790f2874ddb9d432775018288186503706c82648d55b5ca-primary.sqlite.bz2: [Errno 14] curl#7 - "Failed to connect to 2a00:d10:1141:8::7: Network is unreachable"
Trying other mirror.
Redirecting to /bin/systemctl restart cwpsrv.service
PHP Warning:  Error while sending QUERY packet. PID=21021 in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
PHP Warning:  mysqli_error() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
PHP Warning:  mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
PHP Warning:  mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
Redirecting to /bin/systemctl restart httpd.service
PHP Warning:  Error while sending QUERY packet. PID=21021 in /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php on line 0
Redirecting to /bin/systemctl reload httpd.service
--2020-04-20 21:11:47--  http://static.cdn-cwp.com/files/mail/vacation.zip
Resolving static.cdn-cwp.com (static.cdn-cwp.com)... 167.114.21.226, 151.80.90.199, 137.74.148.116, ...
Connecting to static.cdn-cwp.com (static.cdn-cwp.com)|167.114.21.226|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2390 (2.3K) [application/zip]
Saving to: ‘vacation.zip’

100%[========================================================================================================================>] 2,390       --.-K/s   in 0s

2020-04-20 21:11:47 (123 MB/s) - ‘vacation.zip’ saved [2390/2390]

The menu issue gone, I can see dashboard.
On the other hand mysql errors are still there as you can see

42
CentOS 7 Problems / CWP 7 admin panel doesn't show up properly
« on: April 17, 2020, 12:33:53 PM »
Newly installed CWP 7 latest on CentOS 7.6
Nginx+Apache config
When login in to admin panel is doesn't show dashboard and in the left menu the items to not have expand/collapse arrows.
The only workaround to use the menu is to navigate to Notifications and Alerts after which arrows appear.

Dashboard doesn't show up at all.


Please help to fix it.

43
CentOS 7 Problems / CWP 7 generates PHP errors
« on: April 17, 2020, 10:20:37 AM »
On many pages on CWP admin panel I see multiple similar errors
the same I see in /usr/local/cwpsrv/logs/error_log

Some relate to WebServers_conf_editor.php
Code: [Select]
2020/04/17 11:02:35 [error] 31259#0: *459 FastCGI sent in stderr: "PHP message: PHP Warning:  Invalid argument supplied for foreach() in /usr/local/cwpsrv/htdocs/resources/admin/modules/WebServers_conf_editor.php on line 0" while reading upstream, client: 93.92.199.232, server: localhost, request: "GET /cwp_33098c336383410db4086d05640a0e26/admin/index.php?module=WebServers_conf_editor HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "ipnets.ru:2031", referrer: "https://ipnets.ru:2031/cwp_33098c336383410db4086d05640a0e26/admin/index.php?module=httpd_fullstatus"

Other relate to ajax_ssl_certificate.php
Code: [Select]
2020/04/17 11:17:53 [error] 31260#0: *975 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined variable: keeke in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_ssl_certificate.php on line 0
PHP message: PHP Warning:  in_array() expects parameter 2 to be array, string given in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_ssl_certificate.php on line 0" while reading response header from upstream, client: 93.92.199.232, server: localhost, request: "POST /cwp_33098c336383410db4086d05640a0e26/admin/loader_ajax.php?ajax=ssl_certificate&acc=config HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "ipnets.ru:2031", referrer: "https://ipnets.ru:2031/cwp_33098c336383410db4086d05640a0e26/admin/index.php?module=ssl_certificate"


Others relate to array multiple errors when working with SQL

Code: [Select]
2020/04/17 11:34:03 [error] 31260#0: *1618 FastCGI sent in stderr: "PHP message: PHP Warning:  mysqli_error() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
PHP message: PHP Warning:  mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
PHP message: PHP Warning:  mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0" while reading upstream, client: 93.92.199.232, server: localhost, request: "POST /cwp_33098c336383410db4086d05640a0e26/admin/index.php?module=list_subdomains HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "ipnets.ru:2031", referrer: "https://ipnets.ru:2031/cwp_33098c336383410db4086d05640a0e26/admin/index.php?module=list_subdomains"

2020/04/17 11:05:04 [error] 31260#0: *551 FastCGI sent in stderr: "PHP message: PHP Warning:  Error while sending QUERY packet. PID=5745 in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
PHP message: PHP Warning:  mysqli_error() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
PHP message: PHP Warning:  mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
PHP message: PHP Warning:  mysqli_free_result() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
PHP message: PHP Warning:  mysqli_error() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
PHP message: PHP Warning:  mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in /usr/local/cwpsrv/htdocs/resources/admin/include/functions/func_mysql.php on line 0
PHP message: PHP Warning:  mysqli_fre" while reading upstream, client: 93.92.199.232, server: localhost, request: "POST /cwp_33098c336383410db4086d05640a0e26/admin/index.php?module=add_subdomain HTTP/1.1", upstream: "fastcgi://unix:/usr/local/cwp/php71/var/sockets/cwpsrv.sock:", host: "ipnets.ru:2031", referrer: "https://ipnets.ru:2031/cwp_33098c336383410db4086d05640a0e26/admin/index.php?module=add_subdomain"


All of them relate to the issues in CWP code.
At least array issue was noted many times in the Internet and could be resolved by modifying the code.
but here php code pages are base64 encoded and I can't modify them.

What can we done?

Pages: 1 2 [3]