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

Pages: [1] 2
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 / Re: Migration CWP -> CWP doesn't work...
« on: March 06, 2023, 07:41:50 PM »
Figured out, i had to add IP to API key

3
CentOS 7 Problems / Re: Migration CWP -> CWP doesn't work...
« on: March 06, 2023, 07:30:13 PM »
For a successful CWP -> CWP Migration, you have to stand on your head, pat your belly, and rub your feet at the same time in order to make it work. But actually, I just had the opportunity to do a CWP -> CWP migration, so here was my solution to the various unhelpful errors (such as for API TOKEN):
Disable the firewall (CSF & LDF) on both servers.
On both servers, reset the r00t password to be 8 characters or fewer.
In
Code: [Select]
/etc/ssh/sshd_config set:
Code: [Select]
PermitRootLogin yes
StrictModes no
Restart sshd:
Code: [Select]
service sshd restartOn the source server, set up the API key (CWP Settings > API Manager) for CWP Migration using the default CWP template.
On the receiving server, use the interface in User Accounts > CWP->CWP Migration.
After successfully migrating the accounts, revert all changes to your SSH configuration, restart the ssh daemon, reset the r00t passphrases to strong ones, and re-enable the firewalls.
Same issue, maybe i need to buy CWP Pro for second server?

5
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

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

7
removed immutable tag, worked fine now

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

9
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

10
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)?

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

12
PHP Selector / Re: PHP-FPM Selector php 5.6 issue
« on: October 26, 2020, 01:12:24 PM »
did you tried restarting the server ?
yes, after whole server restart is stopped to work

13
PHP Selector / Re: PHP-FPM Selector php 5.6 issue
« on: October 24, 2020, 09:33:23 AM »
Installed php5.5 works fine, 5.6 not starting

14
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..


15
SSL / Re: Validation disabled for letsencrypt V1 API
« on: September 09, 2020, 08:31:02 AM »
didn't helped..

Pages: [1] 2