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.
1
DNS / Re: Does CWP support .de domains?
« on: April 04, 2025, 07:50:13 PM »
I appreciate everyone who tried to help but this one was on my stupidity. I put the ip address for ns2 everywhere except where I really needed it. I was so busy updating registrar, nameserver ips, nameservers with njal.la and etc that I totally forgot to add the new ip to my available ip's in cwp...DOH! So sorry guys hehe
2
DNS / Does CWP support .de domains?
« on: April 03, 2025, 06:02:09 AM »
I have registered a .de domain name with njal.la, set custom nameservers and glue records using 2 different ips that are set as nameservers ns1 and ns2 in CWP. So, in the edit nameservers at the top the ns1 and ns2 show the right ips. With that said, it is set correct with njal.la, set correct in CWP, ptr records set with contabo but still I get an errorf when trying to go to the domain:
This site can’t be reached
Check if there is a typo in porndu.de.
If spelling is correct, try running Windows Network Diagnostics.
DNS_PROBE_FINISHED_NXDOMAIN
This site can’t be reached
Check if there is a typo in porndu.de.
If spelling is correct, try running Windows Network Diagnostics.
DNS_PROBE_FINISHED_NXDOMAIN
3
Mod_Security / Re: 19GB modsec_audit.log
« on: March 16, 2025, 05:11:23 PM »
I added this code to the same logrotate.d/httpd file as the other
/usr/local/apache/domlogs/*.log {
missingok
notifempty
sharedscripts
daily
rotate 7
postrotate
/sbin/service httpd reload > /var/log/httpd-rotate.log 2>&1 || true
endscript
compress
}
I hope that is where it goes.
/usr/local/apache/domlogs/*.log {
missingok
notifempty
sharedscripts
daily
rotate 7
postrotate
/sbin/service httpd reload > /var/log/httpd-rotate.log 2>&1 || true
endscript
compress
}
I hope that is where it goes.
4
Mod_Security / Re: 19GB modsec_audit.log
« on: March 15, 2025, 04:55:26 PM »It will be executed automatically on daily bases. All files located in the folder /usr/local/apache/logs/ with the names "log" at the end:
something.log
something_log
somethinglog
will be checked for their size. If the file size is over than 100Mb the log file will be rotated.
So then the dom error log files won't be rotated
5
Mod_Security / Re: 19GB modsec_audit.log
« on: March 14, 2025, 07:24:49 PM »Create the file:
/etc/logrotate.d/httpd
with the following content:Code: [Select]/usr/local/apache/logs/*log
{
missingok
notifempty
sharedscripts
copytruncate
compress
postrotate
if [ -f /usr/local/apache/logs/httpd.pid ]; then
kill -USR1 `cat /usr/local/apache/logs/httpd.pid`
fi
endscript
maxsize 100M
}
It will rotate files called like "anythinglog" located in the folder /usr/local/apache/logs/
Also do I run this manually when they get large oer does it run on it's own?
6
Mod_Security / Re: 19GB modsec_audit.log
« on: March 14, 2025, 06:00:20 PM »
Ok will that also rotate the error dom logs? I am noticing one or two error logs is getting large as well. Also thank you for your help.
7
Mod_Security / 19GB modsec_audit.log
« on: March 14, 2025, 04:00:39 AM »
Is this file not getting rotated in my log rotate? Is this not in CWP by default and if so ho can I add it so it will get rotated?
8
Aplications / Re: Imagick Error
« on: February 25, 2025, 10:06:56 PM »
Might have worked back then but doesn't now. Worked until I got to this step:
[root@viking imagick-3.7.0]# /opt/alt/phpXX/usr/bin/phpize
-bash: /opt/alt/phpXX/usr/bin/phpize: No such file or directory
[root@viking imagick-3.7.0]# /opt/alt/phpXX/usr/bin/phpize
-bash: /opt/alt/phpXX/usr/bin/phpize: No such file or directory
9
Aplications / Imagick Error
« on: February 25, 2025, 09:30:24 PM »
Does anyone know how to fix this? It's messing up sites server wide uggggh
Warning: Version warning: Imagick was compiled against ImageMagick version 1692 but version 1693 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0
Warning: Version warning: Imagick was compiled against ImageMagick version 1692 but version 1693 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0
10
Updates / Re: How to stop update notifications for non existent updates?
« on: January 19, 2025, 06:57:59 PM »
Ok, I deleted the other an added this: 0 0 * * * /etc/cron.daily/yum
Thank you
Thank you
11
Updates / Re: How to stop update notifications for non existent updates?
« on: January 19, 2025, 06:14:28 AM »
0 0 * * * yum -y update
12
Updates / How to stop update notifications for non existent updates?
« on: January 19, 2025, 03:40:21 AM »
I login to the root panel every day twice a day and every time there is an orange notification in the bottom right saying there is 2 updates, it ALWAYS says 2 updates even if by chance UI would have 17 updates for real. Please tell me how to fix this. Is there maybe a CWP Cache somewhere that is stuck?
13
How to / Re: Increase /root Partition in CWP?
« on: December 18, 2024, 07:55:30 AM »
I finally fixed it by moving all log files over to / home until they fill up again and then I'll move them over again but I also moved/backup over to /home/backup and that brought it down to 52%, so I was able to start my SQL backup and get everything going but now I'm not sure if this has to do with my SQL being down during that time but I have an issue now that I don't get...
Warning: Attempt to read property "name" on null in /home/hmudate/public_html/assets/includes/core.php on line 1251
Warning: Attempt to read property "id" on null in /home/hmudate/public_html/assets/includes/core.php on line 1260
Warning: Attempt to read property "fake" on null in /home/hmudate/public_html/assets/includes/core.php on line 1269
Warning: Attempt to read property "lang" on null in /home/hmudate/public_html/assets/includes/core.php on line 1270
Warning: Attempt to read property "gender" on null in /home/hmudate/public_html/assets/includes/core.php on line 1270
Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'order by q_order asc' at line 1 in /home/hmudate/public_html/assets/includes/core.php:2199 Stack trace: #0 /home/hmudate/public_html/assets/includes/core.php(2199): mysqli->query() #1 /home/hmudate/public_html/assets/includes/core.php(1270): profileQuestion() #2 /home/hmudate/public_html/mobile/index.php(13): getUserInfo() #3 {main} thrown in /home/hmudate/public_html/assets/includes/core.php on line 2199
Warning: Attempt to read property "name" on null in /home/hmudate/public_html/assets/includes/core.php on line 1251
Warning: Attempt to read property "id" on null in /home/hmudate/public_html/assets/includes/core.php on line 1260
Warning: Attempt to read property "fake" on null in /home/hmudate/public_html/assets/includes/core.php on line 1269
Warning: Attempt to read property "lang" on null in /home/hmudate/public_html/assets/includes/core.php on line 1270
Warning: Attempt to read property "gender" on null in /home/hmudate/public_html/assets/includes/core.php on line 1270
Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'order by q_order asc' at line 1 in /home/hmudate/public_html/assets/includes/core.php:2199 Stack trace: #0 /home/hmudate/public_html/assets/includes/core.php(2199): mysqli->query() #1 /home/hmudate/public_html/assets/includes/core.php(1270): profileQuestion() #2 /home/hmudate/public_html/mobile/index.php(13): getUserInfo() #3 {main} thrown in /home/hmudate/public_html/assets/includes/core.php on line 2199
14
How to / Re: Increase /root Partition in CWP?
« on: December 15, 2024, 05:44:54 AM »One system I manage uses traditional partitions, therefore fdisk and growpart are needed:
https://thelinuxcode.com/extend-xfs-filesystem-linux-without-lvm/
But other systems I manage use LVM, so this is a good guide:
https://sleeplessbeastie.eu/2020/04/22/how-to-expand-an-existing-xfs-filesystem-on-lvm-logical-volume/
[root@viking ~]# sudo pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 almalinux lvm2 a-- 1.56t 0
[root@viking ~]# sudo lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 1.6T 0 disk
├─sda1 8:1 0 1G 0 part /boot
└─sda2 8:2 0 1.6T 0 part
├─almalinux-root 253:0 0 70G 0 lvm /
├─almalinux-swap 253:1 0 23.6G 0 lvm [SWAP]
└─almalinux-home 253:2 0 1.5T 0 lvm /home
[root@viking ~]# sudo pvcreate /dev/sdb
No device found for /dev/sdb.
[root@viking ~]#
15
How to / Re: Increase /root Partition in CWP?
« on: December 15, 2024, 05:41:11 AM »
[root@viking ~]# ls -lh
total 68K
-rw-------. 1 root root 1007 Aug 6 03:03 anaconda-ks.cfg
-rw-r--r-- 1 root root 735 Nov 18 23:34 cron
drwxr-xr-x 81 root root 4.0K Dec 9 05:12 node_modules
-rw-r--r-- 1 root root 105 Dec 9 05:12 package.json
-rw-r--r-- 1 root root 40K Dec 9 05:12 package-lock.json
-rw-r--r-- 1 root root 3.0K Dec 9 05:12 server.js
-rw-r--r--. 1 root root 1.1K Aug 6 03:15 viking.dratgocom.xyz.csr
-rw-------. 1 root root 1.8K Aug 6 03:15 viking.dratgocom.xyz.key.org
[root@viking ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 24G 0 24G 0% /dev
tmpfs 24G 0 24G 0% /dev/shm
tmpfs 24G 2.3G 22G 10% /run
tmpfs 24G 0 24G 0% /sys/fs/cgroup
/dev/mapper/almalinux-root 70G 70G 20K 100% /
/dev/sda1 1014M 340M 675M 34% /boot
/dev/mapper/almalinux-home 1.5T 49G 1.5T 4% /home
tmpfs 4.7G 0 4.7G 0% /run/user/0
tmpfs 4.7G 0 4.7G 0% /run/user/1002
I am trying to find safe stuff in /root I can delete to make enough room to install gparted. I can get in ssh and vnc both but I am not sure what is safe to delete. I can't install anything or update because I get an error that it's full.
total 68K
-rw-------. 1 root root 1007 Aug 6 03:03 anaconda-ks.cfg
-rw-r--r-- 1 root root 735 Nov 18 23:34 cron
drwxr-xr-x 81 root root 4.0K Dec 9 05:12 node_modules
-rw-r--r-- 1 root root 105 Dec 9 05:12 package.json
-rw-r--r-- 1 root root 40K Dec 9 05:12 package-lock.json
-rw-r--r-- 1 root root 3.0K Dec 9 05:12 server.js
-rw-r--r--. 1 root root 1.1K Aug 6 03:15 viking.dratgocom.xyz.csr
-rw-------. 1 root root 1.8K Aug 6 03:15 viking.dratgocom.xyz.key.org
[root@viking ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 24G 0 24G 0% /dev
tmpfs 24G 0 24G 0% /dev/shm
tmpfs 24G 2.3G 22G 10% /run
tmpfs 24G 0 24G 0% /sys/fs/cgroup
/dev/mapper/almalinux-root 70G 70G 20K 100% /
/dev/sda1 1014M 340M 675M 34% /boot
/dev/mapper/almalinux-home 1.5T 49G 1.5T 4% /home
tmpfs 4.7G 0 4.7G 0% /run/user/0
tmpfs 4.7G 0 4.7G 0% /run/user/1002
I am trying to find safe stuff in /root I can delete to make enough room to install gparted. I can get in ssh and vnc both but I am not sure what is safe to delete. I can't install anything or update because I get an error that it's full.