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

Pages: 1 ... 5 6 [7] 8 9 ... 12
91
CentOS-WebPanel GUI / Known Issue???
« on: October 04, 2024, 06:14:07 AM »
All of a sudden tonight my cwp user panels won't load, they just hang there but if I do a domain.com:20893/user/ I get a 500 error like this?

This page isn’t working
viking.dragocom.xyz is currently unable to handle this request.

HTTP ERROR 500

I have restarted cwp root admin panel which works fine but cwp user panel does not.

92
MySQL / Re: MARIADB10.4.0 to 10.10.0
« on: October 03, 2024, 05:54:34 AM »
I have a snapshot from last night with Contabo:
SnapShot 10-2-24   02.10.2024 08:06

93
MySQL / Re: MARIADB10.4.0 to 10.10.0
« on: October 03, 2024, 05:45:05 AM »
I can't just re-install 10.4 again?

94
MySQL / Re: MARIADB10.4.0 to 10.10.0
« on: October 03, 2024, 05:30:10 AM »
It looks like it's still trying to install 10.4 anyway after doing those commands on that page. I can't install laravel without incresing to 10.10

[root@viking ~]# mysql -V
mysql  Ver 15.1 Distrib 10.4.34-MariaDB, for Linux (x86_64) using readline 5.1
[root@viking ~]# cat /etc/redhat-release
AlmaLinux release 8.10 (Cerulean Leopard)
[root@viking ~]# mysqldump –all-databases > /tmp/all-database-backup.sql
mysqldump: Got error: 1049: "Unknown database '–all-databases'" when selecting the database
[root@viking ~]# rpm -qa|grep -i maria|grep "\-10.4."
MariaDB-devel-10.4.34-1.el8.x86_64
MariaDB-common-10.4.34-1.el8.x86_64
MariaDB-client-10.4.34-1.el8.x86_64
MariaDB-server-10.4.34-1.el8.x86_64
MariaDB-shared-10.4.34-1.el8.x86_64
[root@viking ~]# sed -i 's/10.4/10.10/g' /etc/yum.repos.d/mariadb.repo
[root@viking ~]# systemctl stop mariadb mysql mysqld
[root@viking ~]# systemctl disable mariadb
Removed /etc/systemd/system/multi-user.target.wants/mariadb.service.
Removed /etc/systemd/system/mysql.service.
Removed /etc/systemd/system/mysqld.service.
[root@viking ~]# rpm --nodeps -ev MariaDB-server
Preparing packages...
MariaDB-server-10.4.34-1.el8.x86_64
[root@viking ~]# yum clean all
81 files removed
[root@viking ~]# yum -y update "MariaDB-*"
CentOS Web Panel repo for Linux 8 - x86_64                                                                                                                  1.7 MB/s | 305 kB     00:00
AlmaLinux 8 - BaseOS                                                                                                                                         13 MB/s | 7.4 MB     00:00
AlmaLinux 8 - AppStream                                                                                                                                      19 MB/s |  13 MB     00:00
AlmaLinux 8 - Extras                                                                                                                                         31 kB/s |  13 kB     00:00
AlmaLinux 8 - PowerTools                                                                                                                                    7.0 MB/s | 3.7 MB     00:00
AlmaLinux 8 - PowerTools Source                                                                                                                             108 kB/s | 138 kB     00:01
AlmaLinux 8 - PowerTools debuginfo                                                                                                                          666 kB/s | 610 kB     00:00
Extra Packages for Enterprise Linux 8 - x86_64                                                                                                               22 MB/s |  14 MB     00:00
MariaDB                                                                                                                                                      52  B/s |  10  B     00:00
Errors during downloading metadata for repository 'mariadb':
  - Status code: 404 for http://mirror.mariadb.org/yum/10.10/centos8-amd64/repodata/repomd.xml (IP: 162.55.42.214)
Error: Failed to download metadata for repo 'mariadb': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
[root@viking ~]# yum -y install MariaDB-server
MariaDB                                                                                                                                                      53  B/s |  10  B     00:00
Errors during downloading metadata for repository 'mariadb':
  - Status code: 404 for http://mirror.mariadb.org/yum/10.10/centos8-amd64/repodata/repomd.xml (IP: 162.55.42.214)
Error: Failed to download metadata for repo 'mariadb': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
[root@viking ~]# systemctl enable mariadb
Failed to enable unit: Unit file mariadb.service does not exist.
[root@viking ~]# systemctl start mariadb

95
MySQL / MARIADB10.4.0 to 10.10.0
« on: October 03, 2024, 04:11:07 AM »
Will this method still work to go from 10.4 to 10.10?

https://wiki.centos-webpanel.com/mariadb-upgrade-from-10-2-to-10-4

96
DNS / DNS Issue?
« on: August 29, 2024, 02:54:56 AM »
My site keeps saying it can't be found, this site is not secure even though I have an autossl cert that is valid.or sometimes it will say too many redirects. I am running Xenforo on the site...


The page isn’t redirecting properly

LibreWolf has detected that the server is redirecting the request for this address in a way that will never complete.

    This problem can sometimes be caused by disabling or refusing to accept cookies.

In CWP...

Checking DNS Zone Record for Domain: blah.com   
Checking Zone File: /var/named/blah.com.db

/var/named/blah.com.db:28: file does not end with newline
zone blah.com/IN: loaded serial 2013071600
OK




97
Suggestions / Re: So here we are at EOL's
« on: August 07, 2024, 12:41:00 AM »
Have to say, never seen someone reserve 3GB for PHP before.

The normal recommended is usually only 512M

Also a 2GB limit on uploads, interesting.

Why is the max execution time 100 mins.?
If a script goes rouge, and locks, waiting 1.67 hours for it to timeout seems a little long.

But to each their own.

3GB because there is 6 sites on the server and it won't hurt to allow each one some wiggle room. As for 512mb ram that's old school memory rates, that's like saying lets run an AMD Ryzen 9 with 512MB ram hehe.

2GB limit because a lot of my sites are download/upload file sharing and some files are as high as 1.7gb or so. Hence the reason for 6000 because uploading through php times out way to quickly.

I run file sharing, I run XF/IPS forums, these type of sites require higher resources than the typical wordpress or html5 site. I don't have strangers on my box, it is me and one other person with 6 sites.

98
Suggestions / Re: So here we are at EOL's
« on: August 06, 2024, 09:34:34 PM »
What is your memory_limit = line set to?

Do you have a screenshot of that.

You should see the format of the csf.pignore, and just add to the bottom.


99
Suggestions / Re: So here we are at EOL's
« on: August 06, 2024, 08:13:29 PM »
Raise up your mem_Limit under: PHP Settings -> PHP Simple Editor

Also those LFD emails will tell you what program is causing the problem, and you can add it to
Code: [Select]
nano /etc/csf/csf.pignore

exe:/usr/sbin/varnishd
exe:/usr/sbin/nginx
exe:/usr/sbin/mariadbd
exe:/usr/sbin/redis
exe:/usr/bin/redis-server
exe:/opt/alt/php-fpm72/usr/sbin/php-fpm
exe:/opt/alt/php-fpm74/usr/sbin/php-fpm
exe:/opt/alt/php-fpm81/usr/sbin/php-fpm
exe:/opt/alt/php-fpm82/usr/sbin/php-fpm
exe:/opt/alt/php-fpm83/usr/sbin/php-fpm

100
Suggestions / Re: So here we are at EOL's
« on: August 06, 2024, 08:09:32 PM »
I have mem limit set 3096 already and I have added php-fpm and redis paths in pignore and I am still getting them.  <<<

I have been reading about that memory_limit. it is the limit that every connection / user gets. if you you have a server with just 4 gb of memory your system can handle only  40 connections or users before it goes out of memory.

I would say that I definitely don't have that issue with 48GB ram and 1.6TB ssd hehe


101
Suggestions / Re: So here we are at EOL's
« on: August 06, 2024, 07:53:32 PM »
Raise up your mem_Limit under: PHP Settings -> PHP Simple Editor

Also those LFD emails will tell you what program is causing the problem, and you can add it to
Code: [Select]
nano /etc/csf/csf.pignore

I have mem limit set 3096 already and I have added php-fpm and redis paths in pignore and I am still getting them.

102
Suggestions / Re: So here we are at EOL's
« on: August 06, 2024, 05:19:55 PM »
Yeah I got it working now. I did a reinstall and finally got it all working great. Now I just can't remember how to stop these lfd emails. I went to bed and woke up to 100+ lfd emails saying excessive resource: username and excessive resource: redis.

103
CentOS-WebPanel GUI / User Panel Dark Mode
« on: August 06, 2024, 06:16:56 AM »
Why doesn't dark mode in the user panel remember your choice when you log out and back in you gotta set it back to dark mode again. No ad blocker on, I accept cookies, ???

104
Suggestions / Re: So here we are at EOL's
« on: August 06, 2024, 03:00:29 AM »
If you want do the base OS install, no Apache, MariaDB, PHP, etc.
And then I can try to login with SSH and see why the script isn't installation anything.

I've never had the script have problems on a virgin server.
Whether AlmaLinux 8 or 9.

That shows even BIND didn't install, not to mention the main problem that MariaDB didn't install.

I finally got it and it was working fine then I did the spf and dkim setups per domain and now I get this for every panel page I try to go to:

Unable to connect

An error occurred during a connection to viking.dragocom.xyz:2031.

    The site could be temporarily unavailable or too busy. Try again in a few moments.
    If you are unable to load any pages, check your computer’s network connection.
    If your computer or network is protected by a firewall or proxy, make sure that Waterfox is permitted to access the web.

105
Suggestions / Re: So here we are at EOL's
« on: August 06, 2024, 12:42:10 AM »
No, use the DVD ISO, it has all the libraries needed for the initial setup.

I personally always ran into trouble using the Minimum or Network versions.


3rd attempt, 1 time using minimal and 2 times using  dvd install and got the same thing:

2024-08-06 02:36:40 (20.1 MB/s) - ‘cwp-services.zip’ saved [34026386/34026386]

Installing phpMyAdmin
#######################
cwp-el7-latest: line 558: mysql: command not found
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  8978  100  8978    0     0  47252      0 --:--:-- --:--:-- --:--:-- 47252
curl: (23) Failed writing body (0 != 8978)
cwp-el7-latest: line 559: mysql: command not found
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3987  100  3987    0     0  21668      0 --:--:-- --:--:-- --:--:-- 21668
(23) Failed writing body
cwp-el7-latest: line 561: mysql: command not found
Failed to enable unit: Unit file named.service does not exist.
sed: can't read /etc/named.conf: No such file or directory
sed: can't read /etc/named.conf: No such file or directory
sed: can't read /etc/named.conf: No such file or directory
56 files removed
#########################################################
          CentOS Web Panel MailServer Installer
#########################################################

visit for help: www.centos-webpanel.com

cwp-el7-latest: line 604: mysql: command not found
MySQL root password is invalid!!!
Check password and run this script again.
[root@viking src]#


How can the mysql password be wrong when cwp is installing mysql itself ugggh

Pages: 1 ... 5 6 [7] 8 9 ... 12