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
E-Mail / ClamAV not working
« on: May 29, 2025, 06:14:49 AM »
As mentioned in wiki at https://wiki.centos-webpanel.com/test-spamassassin-and-clamav
I am sending an email with content
I dont see any flagging in log.
Mail is also getting landed in inbox
What might have gone wrong?
I have built mail servers with ClamAV enabled
Any settings to be done as it is the case with SpamAssassin ?
I am sending an email with content
Quote
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
I dont see any flagging in log.
Mail is also getting landed in inbox
What might have gone wrong?
I have built mail servers with ClamAV enabled
Any settings to be done as it is the case with SpamAssassin ?
2
E-Mail / Spamassassin Restarting regulary
« on: May 21, 2025, 11:09:23 AM »
Few times I saw Spamassassin had stopped. On checking the logs, I see this. How to fix this?
Quote
May 21 20:05:45 server systemd[1]: Started Spamassassin daemon.
May 21 20:05:47 server systemd[1]: spamassassin.service: Succeeded.
May 21 20:05:47 server systemd[1]: spamassassin.service: Service RestartSec=100ms expired, scheduling restart.
May 21 20:05:47 server systemd[1]: spamassassin.service: Scheduled restart job, restart counter is at 4589.
May 21 20:05:47 server systemd[1]: Stopped Spamassassin daemon.
May 21 20:05:47 server systemd[1]: Started Spamassassin daemon.
3
CentOS-WebPanel GUI / NetworkManager errors / warnings
« on: April 25, 2025, 05:28:17 AM »Quote
Apr 25 00:22:01 hosting NetworkManager[676]: [1745558521.6932] platform-linux: do-add-ip6-address[2: fe80::250:56ff:fe40:f5e8]: failure 13 (Permission denied)
Apr 25 00:22:03 hosting NetworkManager[676]: [1745558523.6955] ipv6ll[7815b866a956efe0,ifindex=2]: changed: no IPv6 link local address to retry after Duplicate Address Detection failures (back off)
Apr 25 00:22:03 hosting NetworkManager[676]: [1745558523.6958] platform: (eth0) route-sync: failure to add IPv6 route: type unicast fe80::1/128 dev 2 metric 100 mss 0 rt-src user: Permission denied
Apr 25 00:22:13 hosting NetworkManager[676]: [1745558533.7064] platform-linux: do-add-ip6-address[2: fe80::250:56ff:fe40:f5e8]: failure 13 (Permission denied)
Apr 25 00:22:15 hosting NetworkManager[676]: [1745558535.7089] ipv6ll[7815b866a956efe0,ifindex=2]: changed: no IPv6 link local address to retry after Duplicate Address Detection failures (back off)
Apr 25 00:22:15 hosting NetworkManager[676]: [1745558535.7093] platform: (eth0) route-sync: failure to add IPv6 route: type unicast fe80::1/128 dev 2 metric 100 mss 0 rt-src user: Permission denied
Apache log file shows these lines. Should I ignore or should I fix this?
4
E-Mail / Stop forwarding SPAM emails
« on: April 23, 2025, 10:31:54 AM »
Some of my users have created email forwards
I see in postfix q that many SPAM emails coming to these emails getting forwarded.
This has resulted in my IP getting blacklisted with email providers like Microsoft
How to stop SPAM emails getting forwarded?
I see in postfix q that many SPAM emails coming to these emails getting forwarded.
This has resulted in my IP getting blacklisted with email providers like Microsoft
How to stop SPAM emails getting forwarded?
5
MySQL / root password change
« on: April 17, 2025, 06:31:16 AM »
I tried following https://wiki.centos-webpanel.com/how-to-reset-mysql-root-password
And now CWP panel is not working
Quote
[root@hosting ~]# sh /scripts/mysql_pwd_reset
Enter the new root password (at least 8 chars).
Or leave it empty if you would like to generate it.
Or press CTRL+C to abort and do not touch it
Enter MySQL root password (NO special characters): abcxyzavcbdFrsg
Shutting down any mysql processes...
/scripts/mysql_pwd_reset: line 14: [: -eq: unary operator expected
Redirecting to /bin/systemctl stop mariadb.service
/scripts/mysql_pwd_reset: line 26: [: -eq: unary operator expected
Redirecting to /bin/systemctl start mariadb.service
Resetting password... hold on
--------------
UPDATE mysql.user SET Password=PASSWORD('abcxyzavcbdFrsg'),Authentication_string=PASSWORD('abcxyzavcbdFrsg') WHERE user='root'
--------------
ERROR 1348 (HY000) at line 1: Column 'Password' is not updatable
Cleaning up...
/scripts/mysql_pwd_reset: line 14: [: -eq: unary operator expected
Redirecting to /bin/systemctl stop mariadb.service
Password reset has been completed
New MySQL root password: abcxyzavcbdFrsg
Remember to store this password safely!
/scripts/mysql_pwd_reset: line 26: [: -eq: unary operator expected
Redirecting to /bin/systemctl start mariadb.service
And now CWP panel is not working
6
MySQL / mysql user issues
« on: April 16, 2025, 06:44:32 AM »
1. I am trying to add an user from user panel.
I am trying to create mysql db 'user_db' with db user 'user_db_usr'
I get success message. But the db and user are not visible.
I logged in as user. I see db '_db' with db user '_db_usr' instead of db 'user_db' with db user 'user_db_usr'
Ignoring this, I created db 'user_db' with db user 'user_db_usr' from admin panel. Now I can see this db and user from user panel login
But if I try to login to phpmyadmin with the crerdentials, I get the error "mysqli::real_connect(): (HY000/1045): Access denied for user 'user_db_usr'@'localhost' (using password: YES)"
I taught maybe I have to add local host or IP. I tried adding an existing user in userpanel with IP / hostname / %. But select user doesnt show the user (I can see the user in "List database and users" and "List Users" options)
Please suggest.
I am trying to create mysql db 'user_db' with db user 'user_db_usr'
I get success message. But the db and user are not visible.
I logged in as user. I see db '_db' with db user '_db_usr' instead of db 'user_db' with db user 'user_db_usr'
Ignoring this, I created db 'user_db' with db user 'user_db_usr' from admin panel. Now I can see this db and user from user panel login
But if I try to login to phpmyadmin with the crerdentials, I get the error "mysqli::real_connect(): (HY000/1045): Access denied for user 'user_db_usr'@'localhost' (using password: YES)"
I taught maybe I have to add local host or IP. I tried adding an existing user in userpanel with IP / hostname / %. But select user doesnt show the user (I can see the user in "List database and users" and "List Users" options)
Please suggest.
7
CentOS-WebPanel GUI / Email ids and forwards
« on: April 12, 2025, 10:44:26 AM »
If I create a email forward for a email which already has an email created email is getting forwarded but not stored in inbox.
Is this how this works?
I taught having an email id created should store email in server inbox also.
Any update on this?
Create email forward says "*** By using email forwarder you will not receive emails anymore into the mailbox but if you add your email address into Forward to: filed then you will also receive email into mailbox and forward them to the other mail address."
Where is this "Forward to" option? I am unable to find it
Is this how this works?
I taught having an email id created should store email in server inbox also.
Any update on this?
Create email forward says "*** By using email forwarder you will not receive emails anymore into the mailbox but if you add your email address into Forward to: filed then you will also receive email into mailbox and forward them to the other mail address."
Where is this "Forward to" option? I am unable to find it
8
CentOS-WebPanel GUI / MySQL db and user creation error
« on: April 11, 2025, 03:46:46 PM »
Logged in as a user. Tried adding a new database along with user. Got successfully created database message (green). But the list of databases and list of users shower empty.
Curiously logged in as admin to see database _test and user _test is created without username prefix
Please suggest
https://ibb.co/Z1wM1vw7
Curiously logged in as admin to see database _test and user _test is created without username prefix
Please suggest
https://ibb.co/Z1wM1vw7
9
E-Mail / Email ids under 1 user not receiving emails
« on: April 10, 2025, 06:06:51 AM »
All was working fine
Suddenly all email ids under a user stopped recieving emails (Has multiple domains)
I checked for quota, increased quota. No use
The folder permissions under var/vmail/domainname has
user | mail | 751
maillog do not have the record of missing incoming emails
Please guide
Suddenly all email ids under a user stopped recieving emails (Has multiple domains)
I checked for quota, increased quota. No use
The folder permissions under var/vmail/domainname has
user | mail | 751
maillog do not have the record of missing incoming emails
Please guide
10
MySQL / mySQL user
« on: April 04, 2025, 11:15:57 AM »
Hi
When i login to phpmyadmin using any user, I am able to see all databases, tables and data of other users as well.
What might be wrong?
When i login to phpmyadmin using any user, I am able to see all databases, tables and data of other users as well.
What might be wrong?
11
CentOS-WebPanel GUI / Find username option
« on: January 01, 2025, 11:29:56 AM »
Users usually dont remember their usernames
This results in recover password unusable.
Instead domain name can be used.
Including username in recovery email will help this
This results in recover password unusable.
Instead domain name can be used.
Including username in recovery email will help this
12
CentOS-WebPanel Bugs / User login - errors
« on: November 06, 2024, 07:54:53 AM »
I am unable to login as a user.
When I use https://server:2083/user/ I get "502 Bad Gateway cwpsrv" (Admin - List Accounts - User auto login)
When I use https://server:2083/ , I am able to enter username / password but get error "Failed" (Red - rt top corner)
When I use https://domain:2083/ , I am able to enter username / password but get error "Failed" (Red - rt top corner)
Please suggest. Also where can I check the logs? I tried looking at
/usr/local/apache/logs (main logs)
/usr/local/apache/domlogs
When I use https://server:2083/user/ I get "502 Bad Gateway cwpsrv" (Admin - List Accounts - User auto login)
When I use https://server:2083/ , I am able to enter username / password but get error "Failed" (Red - rt top corner)
When I use https://domain:2083/ , I am able to enter username / password but get error "Failed" (Red - rt top corner)
Please suggest. Also where can I check the logs? I tried looking at
/usr/local/apache/logs (main logs)
/usr/local/apache/domlogs
13
Information / Missing Items - CWP To CWP Migration
« on: November 01, 2024, 02:03:56 PM »
I have come across the following items which gets missed out during CWP to CWP migration
1. MX records (If external mail services have been used)
2. Contacts of roundcube
I manually copied MX records
and
logged in to roundcube email (each) and used import-export option to transfer contacts (Any better method like an SQL query on roundcube DB?)
Are there any other items which gets missed out during this CWP-CWP migration?
1. MX records (If external mail services have been used)
2. Contacts of roundcube
I manually copied MX records
and
logged in to roundcube email (each) and used import-export option to transfer contacts (Any better method like an SQL query on roundcube DB?)
Are there any other items which gets missed out during this CWP-CWP migration?
14
CSF Firewall / Cant start firewall
« on: November 01, 2024, 04:04:25 AM »
When I try starting in cwp, i get the error
Quote
Status: You have an unresolved error when starting csf:
Error: FASTSTART: (DROP no logging IPv4) [] [iptables-restore v1.4.21: iptables-restore: unable to initialize table 'filter']. Try restarting csf with FASTSTART disabled, at line 5790 in /usr/sbin/csf
You need to restart csf successfully to remove this warning, or delete /etc/csf/csf.error
15
CentOS-WebPanel Bugs / CWP - CWP Migration - DNS Records
« on: October 31, 2024, 05:37:58 PM »
When you do a CWP - CWP migration, all records like sub domain A records, MX records (Like GSuite) gets lost.
Is it a known bug or a not solvable technical issue? Or is it related to some API permission selection?
Is it a known bug or a not solvable technical issue? Or is it related to some API permission selection?