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

Pages: [1] 2
1
DNS Manager / Re: DNS manager is broken
« on: November 28, 2023, 09:33:21 PM »
How did you fix this?
Because it seems my DNS Manager is broken too. It's a blank white page. I believe it all happened after a CWP update.
When accessing the DNS manager in my browser I'm receiving this error:
Quote
[Mon Nov 27 13:09:14.572225 2023] [:error] [pid 14285:tid 140026687985408] [client IP-HIDDEN:53608] PHP Fatal error:  <br>The encoded file <b>/home/dnsmgr/public_html/index.php</b> has expired. in Unknown on line 0

So when turning on the query log:
Code: [Select]
rndc querylog
I'm getting following error:
Quote
named[844]: client @0x7f11580a9060 198.98.50.47#57421 (centos-webpanel.com): query failed (REFUSED) for centos-webpanel.com/IN/A at ../../../bin/named/query.c:7145

Also, when accessing one of the VPS that's sending DNS records to our DNS Manager, the page Slave DNS Manager, and run "Get Status" I see following error:
Quote
Your request could not be completed. Check your DNS configuration and internet

It's a very issue. We haven't updated the PHP, but we did update the MySQL, or Mariadb rather. Not sure what's going on. Any suggestions?

Thanks in advance,
Ponch



2
DKIM / Re: DKIM record is not accepting by Bind
« on: September 06, 2021, 11:23:13 PM »
Did you get any clarification in this issue? I'm having EXACTLY same problem. Using external mail server Mail-in-a-box, and need to add mail._domainkey with sha256 key. Getting an error when trying to add a TXT record.

3
Suggestions / Re: PowerDNS
« on: May 03, 2021, 09:57:14 PM »
I believe this would be a GREAT addition to CWP 7 Pro. Admin's could easily select with DNS software they'd like to use, Current CWP with BIND or PowerDNS.

4
Suggestions / Re: Enable DNSSEC on CWP
« on: May 03, 2021, 09:53:39 PM »
I also second this motion! Please enable DNSSEC on CWP 7 Pro.

5
DNS / Re: How to configure DNSSEC?
« on: May 03, 2021, 09:12:57 PM »
Is this still the preferred way to configure DNSSEC on CWP 7?
https://www.centlinux.com/2019/09/configure-dnssec-bind-dns-server-centos-7.html

6
CentOS-WebPanel Bugs / Re: CWP -> CWP Migration [4 bugs found]
« on: January 24, 2021, 06:21:33 PM »
Bug 4: Fixed by chmod 755 the addon domain directory inside /public_html
Code: [Select]
chmod 755 /home/main-domain/public_html/domain2

7
CentOS-WebPanel Bugs / CWP -> CWP Migration [4 bugs found]
« on: January 24, 2021, 05:05:38 PM »
Bug 1:
It doesn't transfer Email Forwarders. The section Email Forwarders on new CWP server is totally blank for domain moved over.

Bug 2:
DNS, if @ or MX records pointing to external (other than CWP) it disregards the external IP's, and still points to new local server.
The challenge is that if old CWP has IP ie, 1.2.3.4 and new CWP has ie. 4.3.2.1, the @ should of course change from new to old. However, if a customer is using external IP such as 5.5.5.5, it still changes it to 4.3.2.1. That will be a disaster, if not noticing.

Bug 3:
Contacts in webmail (RoundCube) not copied over to new server.

Bug 4:
Addon domains located inside /public_html/addon-domain throws an error when accessing via web browser.
Code: [Select]
Forbidden
You don't have permission to access this resource. Server unable to read htaccess file, denying access to be safe

8
CentOS 7 Problems / Re: Disk Quota
« on: January 18, 2021, 07:19:45 PM »
We also just realized that email and db sizes not calculate towards user quotas set in CWP. Is there a workaround on this? Our business is depending on these thing working properly, so we can charge accordingly, and make sure we're planning server usage correctly. As of now, it's basically worthless quota feature in CWP. Ie, a customer paying for 20GB of space, they're using 500MB of web site space, but have 6 emails that are about 5-8GB each. That's well over 20GB that we are charging them. We would need to let them know, and upgrade them to next package. However, we did not know that this was the case, until server started to run out of space. :(
Now we ran the command to check disk usage for emails:
Code: [Select]
du -sh /var/vmail/*Then the command to check DB's:
Code: [Select]
du -h /var/lib/mysqlIt's really sad to see how much space my customers are using, without us knowing that it's not showing inside CWP correctly. Now we know, and we have to implement a procedure to monitor this on a frequent basis, with the commands above.
Hopefully CWP developers can come up with something to solve this. I believe cPanel kept all the emails inside the /home/user directories, and as the user, not in a main server directory as root user. But maybe I'm wrong. I don't use cPanel anymore I can't check it.
Thanks for your hardwork. Looking forward to putting this issue behind us sometimes soon.
-Ponch


9
CentOS-WebPanel Bugs / Re: CPU 100% clamd
« on: August 18, 2020, 03:58:22 PM »
cynique's solutions fixed my ClamAV crashing constantly.

My error was:
Code: [Select]
unit clamd.service entered failed state.
clamd.service failed.

Now it's running smooth. Thank you cynique!

10
Trying to migrate a large account (8GB) from cPanel. I have transferred probably 60+ accounts previously to this specific server, without any issues.
But this one account always stops after Decompress.
Checking the logfile at /var/log/cwp/migration_cpanel.log it shows:
Code: [Select]
2020-05-19 17:48:03 Start import process, decompress .tar
2020-05-19 17:57:37 The file was decompressed
That's where it stops. I see the files decompressed inside /home/tmpback
Since this is run by PHP, I have increased everything inside CWP PHP Settings > PHP Simple Editor. But without luck.
Any suggestions? I prefer not to transfer it manually, but it's looking like it's going that way. If I could get this working I'd rather use the migration tool, since it's preserve all the passwords for emails and DBs.

11
DNS / Re: Multiple CWPPro using same NS1 and NS2
« on: May 13, 2020, 04:12:19 AM »
Ok, I got EVERYTHING working beautifully!!! Thanks for your help.

Except, I found a "bug" in the Slave DNS Server & Manager.
When removing a zone from master or primary (ns1), it does in fact remove it, but not from the folder /var/named/slave
Hence, the secondary server (ns2), won't remove it, and think it's still live.
But if I go in via ssh to ns1 and remove the record manually inside the /var/named/slave
then ns2 is syncing it up, and removing it too. Of course, if I have the crontab setup, which I have at 1 min intervals, for now.

Works great, just a little hiccup with the script. Where do I report that?

12
DNS / Re: Multiple CWPPro using same NS1 and NS2
« on: May 09, 2020, 07:26:25 PM »
Ok, I got it to work, following the steps in these pages:
http://wiki.centos-webpanel.com/slave-dns-server-manager-download-version
http://wiki.centos-webpanel.com/slave2-dns-server

Now I have other questions, when setup Slave DNS Manager in CWPPro on VPS3, I see all the Zones listed on that page, but they don't automatically sync to my ns1. It works when I click Push All Domains To Slave. But I'd like it to sync every 5 min's or so, without manually have to press "Push All Domains To Slave".
Also, my ns2 isn't getting synced up with zones from ns1. Because I pushed one of the domains from VPS3 to ns1, and it worked, but waited for a while, and nothing is synced  up to ns2.
I did add a domain on ns2, and it synced to ns1.
What step did I miss?
Thanks a lot!

13
DNS / Re: Multiple CWPPro using same NS1 and NS2
« on: May 09, 2020, 01:35:25 PM »
Ok, that's great! Thank you.
So install this https://wiki.centos-webpanel.com/slave-dns-server-manager-download-version
on Srv1 and Srv2?
Once that is setup, can I also use Srv1 and Srv2 with Pro license and use as a regular VPS, along side with the NS1 and NS2?
Thanks again for your great help.

14
DNS / Re: Multiple CWPPro using same NS1 and NS2
« on: May 09, 2020, 05:25:33 AM »
Not sure if I'm following you correctly. Let's say I have 10x VPS systems using CWP Pro, and we call them VPS1 through VPS10. Currently I have been using same IP for NS1a and NS1b for VPS1. Then used the IP for VPS2, using NS2a and NS2b. Which kind of sucks, if a customer sets the Nameservers on the domain, to for example NS2a and NS2b, but I want to switch him to another server, I need to ask my customer to switch to NS3a and NS3b. So you say, I could install Slave DNS on VPS1 and VPS2. Call them NS1 and NS2, then all other VPS servers can use NS1 and NS2? They could still use their "local" DNS features in CWP, but it will sync to NS1 and NS2?
Or do I have to setup two dedicated NS servers? Not sure I'm explaining this well enough?
Bottom line, I am looking to use NS1 and NS2 for ALL my CWP Pro installation VPS'. I don't want to mess around with each VPS has it's own 2 NS# and point to same IP as its VPS. Suggestions?

15
DNS / Multiple CWPPro using same NS1 and NS2
« on: May 07, 2020, 09:31:34 PM »
Currently, I have multiple CWPPro VPS'. Everytime I spin up a new one, I use ie. ns10a.my-domain.com ns10b.my-domain.com, or ns11a.my-domain.com and ns11b.my-domain.com. The number goes higher and higher the more servers I have. I would like to use 2 name servers, and that's it. ns1 and ns2.
I wanted to ask if someone can steer me in the direction to use each CWPPro DNS local setup, but have it sync to ns1 and ns2. Maybe using the Slave DNS Manager, or similar? I'm a little lost how I would accomplish something like that?
For example, if I were to create a few new CWPPro servers, and want to use ns1.my-domain.com and ns2.my-domain.com for all of them. I also would like the local DNS feature for my customers to work, but sync to ns1 and ns2. How would this be possible?
Thanks in advance.

Pages: [1] 2