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

Pages: [1]
1
Installation / Rocky Linux 9
« on: June 13, 2023, 11:11:38 AM »
Does it works in Rocky Linux 9? Or i should reinstall Rocky Linux 8, or what's the best OS for CWP at the current moment?

Code: [Select]
#############################################
Please wait... installing web server files...
#############################################

Last metadata expiration check: 0:00:16 ago on Tue 13 Jun 2023 02:08:20 PM EEST.
Error:
 Problem 1: cannot install the best candidate for the job
  - nothing provides libcrypto.so.10()(64bit) needed by apr-util-1.6.0-1.x86_64
  - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by apr-util-1.6.0-1.x86_64
  - nothing provides libssl.so.10()(64bit) needed by apr-util-1.6.0-1.x86_64
 Problem 2: cannot install the best candidate for the job
  - nothing provides libcrypto.so.10()(64bit) needed by cwp-httpd-2.4.56-1.x86_64
  - nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by cwp-httpd-2.4.56-1.x86_64
  - nothing provides libssl.so.10()(64bit) needed by cwp-httpd-2.4.56-1.x86_64
  - nothing provides libssl.so.10(libssl.so.10)(64bit) needed by cwp-httpd-2.4.56-1.x86_64
  - nothing provides libcrypto.so.10(OPENSSL_1.0.1_EC)(64bit) needed by cwp-httpd-2.4.56-1.x86_64
  - nothing provides libcrypto.so.10(OPENSSL_1.0.2)(64bit) needed by cwp-httpd-2.4.56-1.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Last metadata expiration check: 0:00:17 ago on Tue 13 Jun 2023 02:08:20 PM EEST.
Package cwp-suphp-0.7.2-3.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!

Compiler requires 512 MB RAM + SWAP
Installation FAILED at httpd
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   899  100   899    0     0   2015      0 --:--:-- --:--:-- --:--:--  2011
sh: line 36: mysql: command not found
sh: line 46: /usr/local/bin/php: No such file or directory
grep: /etc/init.d/httpd: No such file or directory
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator at
 webmaster@error-reporting.control-webpanel.com to inform them of the time this error occurred,
 and the actions you performed just before this error.</p>
<p>More information about this error may be available
in the server error log.</p>
<p>Additionally, a 500 Internal Server Error
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>
Please contact CWP support about this issue and include the last few lines from the error:
http://centos-webpanel.com/contact

Used command to install:
Code: [Select]
cd /usr/local/src
wget http://centos-webpanel.com/cwp-el8-latest
sh cwp-el8-latest

2
CentOS 7 Problems / Migration CWP -> CWP doesn't work...
« on: March 05, 2023, 07:49:16 PM »
I'm receving error thap api key doesn't have something enabled (used CWP-CWP button to enable needed permissions) but that failed. so i decided to enable everything, but unfortunatelly that didn't worked also...


any ideas?

Migrating from cwp6.pro to cwp7

3
CentOS-WebPanel Bugs / File upload limit
« on: March 02, 2023, 09:10:38 AM »
Upload is limited to 128Mb

Code: [Select]
sh /scripts/php_big_file_upload 512 all
New Configuration:
---------------------
upload_max_filesize = 512M
post_max_size = 517M
memory_limit = 536M
max_input_time = 300
max_execution_time = 300
---------------------
Editing File: /opt/alt/php74/usr/php/php.ini
Editing File: /opt/alt/php-fpm56/usr/php/php.ini
Editing File: /opt/alt/php-fpm74/usr/php/php.ini
Editing File: /usr/local/php/php.ini


Editing File: /usr/local/cwp/php71/php.ini
Editing File: /usr/local/cwpsrv/conf/cwpsrv.conf
Redirecting to /bin/systemctl restart cwpsrv.service
Redirecting to /bin/systemctl restart cwpsrv-phpfpm.service

Editing File: /etc/nginx/nginx.conf
Redirecting to /bin/systemctl restart nginx.service

Editing File: /usr/local/apache/conf/httpd.conf
Redirecting to /bin/systemctl restart httpd.service

Trying to upload 129MB:

Code: [Select]
Request Entity Too Large
The requested resource does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit.

Where also limit can be?

4
Well known problem, so i wan't to update files manually:
Code: [Select]
cd /usr/local/cwpsrv/htdocs

wget dl1.centos-webpanel.com/files/cwp/cwp2-0.9.8.945.zip
unzip -o cwp2-0.9.8.945.zip
rm -f cwp2-0.9.8.945.zip

But i have permission error...
Code: [Select]
[root@server]# rm -f /usr/local/cwpsrv/htdocs/admin/index.php
rm: cannot remove `/usr/local/cwpsrv/htdocs/admin/index.php': Operation not permitted
o_O

Any ideas?

5
CentOS 7 Problems / CWP is not starting 500 error
« on: July 21, 2022, 11:44:05 AM »
Code: [Select]
a[root@server scripts]# ./update_cwp
PHP Fatal error:
The encoded file /usr/local/cwpsrv/htdocs/resources/admin/include/cron.php has expired.
 in Unknown on line 0

CWP is paid (PRO)

Centos 6

6
I'm moving my website to another server and i don't want to have downtime while updating certificate.
Can i generate Letsencrypt certificate for domain example.com for both ip addresses (for old and new server)?

7
Backup / How to restore website.tar.gz?
« on: June 28, 2021, 10:54:13 PM »
How to restore created before backup of user?
I have website.tar.gz from old server (it was reinstalled), how can i restore it?

8
PHP Selector / PHP-FPM Selector php 5.6 issue
« on: October 24, 2020, 08:27:05 AM »
Some of websites are using old php 5.6

Code: [Select]
Starting php-fpm [24-Oct-2020 11:19:52] ERROR: An another FPM instance seems to already listen on /opt/alt/php-fpm56/usr/var/sockets/cwpsvc.sock
[24-Oct-2020 11:19:52] ERROR: FPM initialization failed
 failed

And php error in log :
Code: [Select]
PHP Fatal error:  Call to undefined function mysql_connect() in ...
Any suggestions? It worked before well and stopped after server reboot..


9
CentOS 6 Problems / Centos webpanel HTTP 500 Error
« on: June 14, 2020, 12:14:14 PM »
Recently it stopped to work, ioncube version error, after updating with yum update ioncube started to work and now i'm receiving HTTP 500 error while trying to open webpanel...

Where i can see error log?

10
Nginx / Nginx & Varnish & Apache + php-fpm - Increase timeout (How to?)
« on: November 09, 2019, 09:05:23 AM »
Trying to increase php script time more than 1 minute:

/etc/nginx/proxy.inc
proxy_connect_timeout 240s;
proxy_send_timeout 600;
proxy_read_timeout 600;

php.ini
max_execution_time 300
default_socket_timeout 600

But i'm keep receiving 504 Gateway timeout...
What extra setting i should change?

Pages: [1]