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.
Pages: [1] 2
1
CentOS-WebPanel GUI / Re: Server Name Change & Roundcube Access Issue – Is a Mail Server Rebuild Needed?
« on: April 03, 2025, 02:09:52 PM »
SOLUTION:
I resolved the issue by modifying the virtual host configuration and updating the SSL settings. Specifically, I edited the hostname.conf file located at /usr/local/apache/conf.d/ to change the server name from server.example.com to mail.example.com. Additionally, I updated the ssl.conf file to reflect this change, ensuring that the SSL settings correspond to the new server name.
After making these changes, I restarted the Apache server using the following command:
sudo systemctl restart httpd
This action applied the new configurations, and now accessing Roundcube via https://mail.example.com/roundcube functions correctly.
I resolved the issue by modifying the virtual host configuration and updating the SSL settings. Specifically, I edited the hostname.conf file located at /usr/local/apache/conf.d/ to change the server name from server.example.com to mail.example.com. Additionally, I updated the ssl.conf file to reflect this change, ensuring that the SSL settings correspond to the new server name.
After making these changes, I restarted the Apache server using the following command:
sudo systemctl restart httpd
This action applied the new configurations, and now accessing Roundcube via https://mail.example.com/roundcube functions correctly.
2
CentOS-WebPanel GUI / Server Name Change & Roundcube Access Issue – Is a Mail Server Rebuild Needed?
« on: April 03, 2025, 01:30:30 PM »
I changed the server name from server.example.com to mail.example.com because a client’s security system was rejecting all connections from a server with "server.example.com" in its name, stating that SERVER was too generic.
I updated everything MAIL>SERVER, and the system has been running smoothly. However, I did not perform a mail server rebuild. Everything worked fine for a month after the change.
Today, I noticed that when users click on the yellow email access icon in the user control webpanel, Roundcube returns an error. The issue is that it tries to open the new address mail.example.com/roundcube/ and it returns error:
404 Not Found
cwpsrv
If i change manually in URL to old server name to server.example.com/roundcube/ it works.
My questions are:
#1 Do I need to perform a mail server rebuild to fix that?
#2 If so, will it overwrite my existing configurations and reset them to default (postfix, dovecot...)?
#3 Is there a way to manually update the settings so the correct address is used without rebuilding?
Thanks!
I updated everything MAIL>SERVER, and the system has been running smoothly. However, I did not perform a mail server rebuild. Everything worked fine for a month after the change.
Today, I noticed that when users click on the yellow email access icon in the user control webpanel, Roundcube returns an error. The issue is that it tries to open the new address mail.example.com/roundcube/ and it returns error:
404 Not Found
cwpsrv
If i change manually in URL to old server name to server.example.com/roundcube/ it works.
My questions are:
#1 Do I need to perform a mail server rebuild to fix that?
#2 If so, will it overwrite my existing configurations and reset them to default (postfix, dovecot...)?
#3 Is there a way to manually update the settings so the correct address is used without rebuilding?
Thanks!
3
Updates / Can't update aynthing
« on: July 05, 2024, 01:16:46 PM »
Just example of bind update,
is there any reason for that?
Thank you.
is there any reason for that?
Thank you.
Code: [Select]
[root@srv etc]# yum update bind*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.bme.hu
* epel: mirrors.hostiserver.com
* extras: ftp.bme.hu
* remi-safe: remi.mirror.wearetriple.com
* updates: ftp.bme.hu
http://ftp.bme.hu/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below wiki article
https://wiki.centos.org/yum-errors
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
http://mirror.efect.ro/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.m247.ro/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.nxthost.com/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.uni-sofia.bg/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.hosterion.ro/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.pidginhost.com/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.nav.ro/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.chroot.ro/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.niif.hu/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.bme.hu/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.efect.ro/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.m247.ro/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.nxthost.com/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.uni-ruse.bg/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.hosterion.ro/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.pidginhost.com/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.nav.ro/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.chroot.ro/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.niif.hu/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://yum.mariadb.org/10.2/centos7-amd64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.bme.hu/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.efect.ro/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.m247.ro/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.nxthost.com/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.neterra.net/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.hosterion.ro/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.pidginhost.com/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.nav.ro/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.chroot.ro/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.niif.hu/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
Resolving Dependencies
--> Running transaction check
---> Package bind.x86_64 32:9.11.4-26.P2.el7_9.15 will be updated
---> Package bind.x86_64 32:9.11.4-26.P2.el7_9.16 will be an update
---> Package bind-export-libs.x86_64 32:9.11.4-26.P2.el7_9.15 will be updated
---> Package bind-export-libs.x86_64 32:9.11.4-26.P2.el7_9.16 will be an update
---> Package bind-libs.x86_64 32:9.11.4-26.P2.el7_9.15 will be updated
---> Package bind-libs.x86_64 32:9.11.4-26.P2.el7_9.16 will be an update
---> Package bind-libs-lite.x86_64 32:9.11.4-26.P2.el7_9.15 will be updated
---> Package bind-libs-lite.x86_64 32:9.11.4-26.P2.el7_9.16 will be an update
---> Package bind-license.noarch 32:9.11.4-26.P2.el7_9.15 will be updated
---> Package bind-license.noarch 32:9.11.4-26.P2.el7_9.16 will be an update
---> Package bind-utils.x86_64 32:9.11.4-26.P2.el7_9.15 will be updated
---> Package bind-utils.x86_64 32:9.11.4-26.P2.el7_9.16 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
===============================================================================================================================================================================================================================================================================
Package Arch Version Repository Size
===============================================================================================================================================================================================================================================================================
Updating:
bind x86_64 32:9.11.4-26.P2.el7_9.16 updates 2.3 M
bind-export-libs x86_64 32:9.11.4-26.P2.el7_9.16 updates 1.1 M
bind-libs x86_64 32:9.11.4-26.P2.el7_9.16 updates 159 k
bind-libs-lite x86_64 32:9.11.4-26.P2.el7_9.16 updates 1.1 M
bind-license noarch 32:9.11.4-26.P2.el7_9.16 updates 92 k
bind-utils x86_64 32:9.11.4-26.P2.el7_9.16 updates 262 k
Transaction Summary
===============================================================================================================================================================================================================================================================================
Upgrade 6 Packages
Total download size: 5.1 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
bind-9.11.4-26.P2.el7_9.16.x86 FAILED
http://ftp.bme.hu/centos/7.9.2009/updates/x86_64/Packages/bind-9.11.4-26.P2.el7_9.16.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found ] 0.0 B/s | 0 B --:--:-- ETA
Trying other mirror.
bind-libs-9.11.4-26.P2.el7_9.1 FAILED
http://ftp.bme.hu/centos/7.9.2009/updates/x86_64/Packages/bind-libs-9.11.4-26.P2.el7_9.16.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found ] 0.0 B/s | 0 B --:--:-- ETA
Trying other mirror.
bind-export-libs-9.11.4-26.P2. FAILED
http://ftp.bme.hu/centos/7.9.2009/updates/x86_64/Packages/bind-export-libs-9.11.4-26.P2.el7_9.16.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found ] 0.0 B/s | 0 B --:--:-- ETA
...
4
CentOS-WebPanel Bugs / Re: PHP 8.3.0 on CWP 0.9.8.1172
« on: January 04, 2024, 09:58:22 PM »
I'm not in a hurry; I'd rather wait. I'm just curious whether it's an error they haven't noticed or if the 8.3.x version is temporarily on hold. I'd prefer to wait than have something incorrectly set up.
Thank you anyway.
Thank you anyway.
5
CentOS-WebPanel Bugs / Re: PHP 8.3.0 on CWP 0.9.8.1172
« on: January 04, 2024, 08:35:24 AM »
Is there any news regarding 8.3.x?
I noticed that the control panel has been updated to version 0.9.8.1174, and PHP-FPM now has version 8.3.1.
However, when attempting to install it, the same error occurs as with version 8.3.0:
I noticed that the control panel has been updated to version 0.9.8.1174, and PHP-FPM now has version 8.3.1.
However, when attempting to install it, the same error occurs as with version 8.3.0:
Code: [Select]
#cat /var/log/php-selector-rebuild.log
Build Completed
###################
Error:Can't add notification!
6
E-Mail / Re: NewBackup backup vmail problem
« on: December 16, 2022, 09:38:25 AM »
Simple solution with bash script,
just start this script in every folder:
just start this script in every folder:
Code: [Select]
#/bin/bash
#starting with 1* because all filenames starts with 1
for file in 1*;
do
echo "Processing $file.."
# getting timestamp from filename, first 10 characters
tstamp=$(echo "${file}" | cut -c1-10)
# set timestamp to file
touch -d @"$tstamp" "$file"
done
7
E-Mail / Re: NewBackup backup vmail problem
« on: December 16, 2022, 08:15:57 AM »
Now I see that there is possible solution, all email files has timestamp in the filename.
I will try to solve this out somehow.
I will try to solve this out somehow.
8
E-Mail / NewBackup backup vmail problem
« on: December 16, 2022, 08:13:30 AM »
Today I tried just to recover some emails and I noticed that all files (email) files have date created not when email is received and created but date of backup?
Now when you restore all this emails, they are sorted in email client as they are received at the day of backup.
Is there any solution to repair this?
Tnx.
Now when you restore all this emails, they are sorted in email client as they are received at the day of backup.
Is there any solution to repair this?
Tnx.
9
Backup / Re: What is the best BACKUP on CWP
« on: October 10, 2022, 07:11:33 AM »
I will do it with manual script, bash and then with crond.
Or you can try to use new backup in control panel (CWP settings > New Backup).
There you can select user to backup (one, multiple), what to backup, where, when and notifications.
Also you can create multiple backups.
New Backup is great backup.
Or you can try to use new backup in control panel (CWP settings > New Backup).
There you can select user to backup (one, multiple), what to backup, where, when and notifications.
Also you can create multiple backups.
New Backup is great backup.
10
E-Mail / zen.spamhaus.org or postfix or control web panel
« on: August 19, 2022, 01:16:32 PM »
Few days ago I noticed a plenty of email messages denied by system in /var/log/maillog, system gone wild.
Zen spamhaus org in combination with postfix configuration marked some incoming email servers as blacklisted servers, some of them weren't on spamhaus list at all.
I tested some IP addresses there:
https://check.spamhaus.org/
Configuration of postfix main.cf wasn't changed for months.
Maybe anyone have more info about that problem? Is it spamhaus error/bug with false positive reporting or is there anything with the current system?
Example:
Thank you,
BR.
Zen spamhaus org in combination with postfix configuration marked some incoming email servers as blacklisted servers, some of them weren't on spamhaus list at all.
I tested some IP addresses there:
https://check.spamhaus.org/
Configuration of postfix main.cf wasn't changed for months.
Maybe anyone have more info about that problem? Is it spamhaus error/bug with false positive reporting or is there anything with the current system?
Example:
Code: [Select]
Aug 18 14:47:46 srv postfix/smtpd[32701]: NOQUEUE: reject: RCPT from example.mailserver.com[xxx.xxx.xxx.xxx]: 554 5.7.1 Service unavailable; Client host [xxx.xxx.xxx.xxx] blocked using zen.spamhaus.org; from=<some.user@exampleserver.com> to=<someuser@exampleserver.com> proto=ESMTP helo=<example.mailserver.com>
Thank you,
BR.
11
CentOS 5 Problems / Re: Continuous reduction of hosting space
« on: June 20, 2022, 07:33:23 AM »Hello
The VPS server I use CWP panel, decreasing the area to be used about 100 MB each day. We had 12GB of free space from 6GB. Can you help with this?
Firstly install ncdu with
# yum install ncdu.
After that start ncdu. With that tool you can easily see what's taking your space.
Also you can clean some system apache logs.
Notice: First command list them all, so you can check them before cleaning, second command truncates to nothing.
# apache domain logs
# find /usr/local/apache/domlogs/ -type f -name "*.log" -exec ls -if {} \;
# find /usr/local/apache/domlogs/ -type f -name "*.log" -exec truncate --size 0 {} \;
# php-fpm system logs
# find /opt/alt/php-fpm*/usr/var/log/ -type f -name "php-fpm.log" -exec ls -if {} \;
# find /opt/alt/php-fpm*/usr/var/log/ -type f -name "php-fpm.log" -exec truncate --size 0 {} \;
# apache logs
# find /usr/local/apache/logs/ -type f -name "*log" -exec ls -if {} \;
# find /usr/local/apache/logs/ -type f -name "*log" -exec truncate --size 0 {} \;
# dovecot logs
# find /var/log/dovecot-* -type f -name "*log" -exec ls -if {} \;
# find /var/log/dovecot-* -type f -name "*log" -exec truncate --size 0 {} \;
# cwp_stats home folder clean
# find /home/*/cwp_stats/goaccess/ -type f -name "*.html" -exec ls -if {} \;
# find /home/*/cwp_stats/goaccess/ -type f -name "*.html" -exec rm {} \;
12
CentOS 7 Problems / Re: hello, web try to update cwp get errors!!
« on: June 20, 2022, 07:27:45 AM »
Is there any solution?
Should I contact CWP Control payed support?
Can they fix it? Should I know what they are going to fix it?
Because I read it somewhere in forum that some CWP team crashed some server.
Tnx.
Should I contact CWP Control payed support?
Can they fix it? Should I know what they are going to fix it?
Because I read it somewhere in forum that some CWP team crashed some server.
Tnx.
13
CentOS 7 Problems / Re: Polkit error - GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed
« on: June 02, 2022, 08:03:39 AM »Also tnx to the @NFT,
solved also by my side.
Just notice,
temporally solved.
Problem still exists, yesterday I noticed the same message for crond

Is there any solution?! It seems that there is existing problem with CentOS 7.6, even on 7.8.
It doesn’t look promising that the RedHat team will address this any time soon.
14
CentOS 7 Problems / Re: hello, web try to update cwp get errors!!
« on: June 01, 2022, 12:32:31 PM »Yes rcshaff is right. Apply this fix.
https://opentechy.com/how-to-fix-gdbus-errororg-freedesktop-policykit1-error-failed/
this is not good it can be lead to OS boot failure.
So what's is the good fix for that issue?
Few weeks ago I noticed problem with restart of mysqld, now the same problem with restarting/reloading crond?!
How to solve it?
Code: [Select]
[root@srv /]# systemctl reload crond
** (pkttyagent:13253): WARNING **: 14:32:10.818: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject
Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0)
15
CentOS 7 Problems / Re: Polkit error - GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed
« on: May 16, 2022, 09:35:27 AM »
Also tnx to the @NFT,
solved also by my side.
solved also by my side.
Pages: [1] 2