Plesk Automation :: Database Resource On Primary Branded Domain
Aug 16, 2014
I added a mail resource and a database resource to the "branding" service template, and made sure the provisioning attributes match up to an actual node. I also made sure that under the resources for the branding template the "Branding Hosting (management node)" -> "Number of MySQL databases" is "1" and the "MySQL Database" is unlimited.
Ive made a primary branded domain assigned to the administrator account. When I then login to the account, I see that the mail resource is added and I can add email accounts. However, the database resource does not seem to be activated. Indeed, if I try to add a application in the domain that requires a database, it fails because there is not a database resource available.
The database server is a separate node from the management server.
I do not see any running tasks waiting, and the events log doesnt mention anything about provisioning a database.
Separately but tangentially related, once the account is up, I dont see it listed as an active subscription under the service template. I should see it there, right?
I'm on PPA 11.5 MU#2 (Should upgrade to MU#3 soon). My problem is that the Usage of Disk Space for all my customers subscriptions are not calculated. I've run the daily maintenance script (which it actually runs periodically), but there's no update on the display.
Up until a week ago we had some troubles with package dependencies on our dedicated server running on Ubuntu 14.04.1. Plesk was totally out of reach, displaying 502 Bad Gateway pages and some other weird error on login_up.php3.
I fixed the dependencies by removing a lot of packages (including Plesk) and finally managed to reinstall Plesk using the autoinstaller, then repaired it using "/usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh" (IIRC this whole bootstrapper folder was not present before reinstallation).
Now, after restoring our data from a backup pretty much everything works except for the subdomains. They all redirect to the primary domain's vhost (307 Redirect) for some reason.
"/var/log/apache2/access.log" shows the following after issuing a HTTP request to any subdomain:
I have tried enabling and disabling nginx, it did not work. Then I just kept it disabled because it makes our forum think that everyone has the server's IP (because of the reverse proxy thing I assume).
Oh, and I should say: using HTTPS anywhere just gets me a 502 Bad Gateway error.
I have recently deployed PPA with on nodes with hostnames on the serverroom.net.au domain, so management.serverroom.net.au, mail.serverroom.net.au etc. The DNS is currently hosted on a plesk server which will soon be migrated to PPA.
When I add the serverroom.net.au domain to PPA, I it fails at the sync task with an error saying that there are no A or AAA records for ns1.serverroom.net.au, even when these records exist in the external DNS. The same error occurs when I try to add the domain as a dns entry and switch to internal...
How do we disable email on the domain entirely? The client is hosting email externally - the offered spam filtering is wholely inadequate and we're seeing a few of these happening - to the point I'm considering offering externally hosted email plans anyway - but back to the problem - I need to delete the mailboxes and then disable mail - and then remove the DNS records for webmail etc - but can't seem to find how to turn off locally hosted email for a domain.
OK, I am confused. I have one domain that is parked on top of another domain. I would like Mail that comes to the parked domain to be automatically forwarded to the same user name at the primary domain.
Can I change a DNS or MX record to facilitate this?
A client is trying to add a domain that was accidentally deleted when he deleted an account, but now when adding the domain again it is not adding it. The task in CP fails. If I manually try delete the domain I get this error:
[root@ns1 bin]# ./domain --remove domain.com An error occurred during domain removal: Unable to remove domains: Package with UID '8972ffa7-50fb-4dbc-8639-bf08caee425d' not found.
In mysql I see the domain is still in the db so something did not go right when the client deleted the hosting package, and now it is in limbo as the domain cannot be re-added.
The issue is effectively that we created a subscription with the domain. Which has since been deleted. The domain now wants to be added to another subscription on the account.
The domain can be seen in both the PBAS and PPA domains and everything seems to point at the right subscriptions. I presume all this is right as we have other domains quite happily added to the subscription in a similar manner.
I'm not really wanting to rip out the entire domain from the system as we spent the morning putting in 132 records, due to a bizarre lack of bulk insertion tools.
I got a new dedicated server, and I put the primary domain name to be zeonwebhosting.com.
However, when I setup the nameservers, and go to GoDaddy.com and NameCheap.com to change the nameservers on my domains, I get an "Errors were detected" on GoDaddy.com and a "nRRPResponseCode 531" on NameCheap.
I fixed everything in WHM and got a server administrator to fix some things for me, and it didn't work yet. Now I am thinking that the problem might not be with the server, but with the domain.
ZeonWebHosting.com is registered at GoDaddy.com, and since I was not sure what nameservers I should put as it is the primary domain name, I used the parked nameservers on GoDaddy, and used the Total DNS feature to change the A and MX Records to point to my server's IPs.
I tried putting the ns1.zeonwebhosting.com and ns2.zeonwebhosting.com DNSs on GoDaddy, but still I got the "Errors were detected" error. I tried almost everything possible. I even redid cPanel just to make sure that everything was OK with the cPanel configuration.
Also there is another problem with the server. I can't seem to be able to delete Nameservers from "Networking Setup > Nameserver IPs" in WHM. I get this message when trying to delete one of the nameservers: "Sorry, the nameserver ip 188.8.131.52 cannot be removing since it is still registered with an ICANN register."
I have a hostee who as part of an out-of-court settlement, needs to change the primary domain they host on. The domain they're switching to is already a parked domain on their account. At first blush, it seems like it would be pretty easy, but now I'm concerned about their email. Both of the principals of the company use Horde extensively for webmail, and as such I have files on the server for their email accounts. What I was thinking about doing is this:
1. Stop parking the "new" domain on the account. 2. Change the account from using the "old" domain in WHM to the "new" domain by modifying the account in WHM. 3. Forwarding email sent to email@example.com to firstname.lastname@example.org, in CPanel. 4. Assorted changes on website to account for the new domain - published email addresses, new SSL cert, things like that.
My concern is in how to move the mail files, currently set up to be for email@example.com, to be readable by Horde as firstname.lastname@example.org, so it's seamless to the users. We will be keeping the old domain under our control, but not using it to point to the site any more; I just don't want to have to tell them "OK, to get your old email, you have to check this address, and to get new email, you have to check this one."
Would my plan above actually accomplish that? Is there a better way within a WHM/CPanel framework to accomplish what I need without losing email or access to it? What am I missing?