Plesk 12.x / Linux :: Subdomains Redirect To Primary Domain After Repairing Installation
Jan 23, 2015
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.
So every subdomain is redirected to prefix www. But if I create the subdomain via plesk panel, the mod_rewrite isnt created, as i want. I also tried reconfigure-all, but this rewrite part is always active. I have no possibility in plesk 12.0.18 to set the setting for www prefix like at normal sites. So what can i do to prevent it and where can i change it afterwards?
I had Plesk 10 installed on my openSUSE system (was a low version, maybe 11 or less) and then decided to upgrade to 11.5. So I did distribution upgrades to openSUSE 12.3 and everything went smoothly, except for some services like mysql and php. So I used Plesk autoinstaller to fix the php error and edited an outdated line in mysql configuration and both services ran smoothly!
Then I downloaded Plesk autoinstaller and ran the autoinstaller, but was surprised by this error message:
===> Checking for previous installation ... found. ERR (3) [panel]: Error during product key mode determination, details: Unable to connect to database: ; trace: #0 /usr/local/psa/admin/plib/functions.php(2821): isPpaKeyRequired() #1 /usr/local/psa/admin/plib/common_func.php3(11): require_once('/usr/local/psa/...') #2 /usr/local/psa/admin/plib/api-common/cu.php(5): require_once('/usr/local/psa/...') #3 /usr/local/psa/admin/sbin/httpdmng(8): include_once('/usr/local/psa/...') #4 (main)
Unable to connect to database:
- My MySQL version is: 5.5.33 openSUSE package - I did run mysql_upgrade with my admin username and password (password from: /etc/psa/.psa.shadow) and it worked successfully and fixed all of the errors, I did so after running the auto installer first, but then ran the installer again and the problem was still there - I can access my web page, but it still doesn't connect to MySQL either.
I believe this is a problem with MySQL, but how can I make sure or detect what exactly the problem is
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?
In Tools & Settings --> IP Adresses I got two IP Adresses:
192.168.1.10 (primary, bold) 89.104.83.139
Since the first IP adress is just the internal IP adress, I'd like to remove it, but I get the message that it's not allowed because it would be the primary IP.
Plesk has no option to just switch the primary IP adress, so what's the way to do it with plesk12?
On our instance (Plesk 12 / Debian) I am logged out within 1 or 2 minutes quite often while working on config of the primary website (admin access). The session idle time is set to the 30 min default, and the problem isn't to do with changing IP addresses - the multiple sessions visible all have the same IP address.
This happens so constantly it is difficult do any real work. Where is the logic of session creation and termination? What do we need to look at to deal with this problem? We have root access.
I have a problem with a particular application. I have a domain bbb.com I create a subdomain a.bbb.com
I wanted to point my domain to a.bbb.com under a different ip my server. So I went in the parent zone bbb.com order to change the ip of this subdomain. After 48h nothing worked ...
There are 24 I changed the area to tell Plesk subdomain manages its own area, and I changed all the IP for the new, but nothing happens again, I'm afraid it is not that ...
Or how to check whether the implementation is consistent?
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?
subdomains are not in the network can reach subdomains of the primary name server, but not to those of domains hosted on the server.Here's an example of the results for two domains, one server name and another one that is hosted on the server.
Domain in the server http://verdns.com/itknow.red http://verdns.com/www.itknow.red http://verdns.com/blog.itknow.red
The same in all domains in the server
I think it must be an error in the configuration of the DNS, domains are registered work because an external Hosting (Strato.de), but all changes made on my dedicated server (such as creating a subdomain or webmail) do not appear it is as if my server reportase no changes to the parent DNS server. But not how to fix it.
I have a server in my house. My IP local is 192.168.1.61 and i have other ip static public. I can view my domain and one subdomain, but i don't view other subdomain and webmail.
Outgoing mail control functions properly for domains, but it does not count or limit subdomains.
For example, if you have a subdomain like: sub.domain.tld
And an email account on that subdomain, like: info@sub.domain.tld
Then outgoing mail limits are not applied to that subscription/domain/mail account. You are able to send more emails than the limit.
Also, if you go to: -> Tools and Settings -> Outgoing mail control
And try to see statistics for that subscription/domain/mail account, it shows that there are not sent emails, even if you have sent emails. Of course I checked it many hours after sending, or even the next days.
I've had nothing but issues trying to restore a backup from another plesk installation.Running Plesk 12 on CentOS 6. I installed a php extension which required php 5.4. Yum updated our php version, which broke a couple of our sites. In trying to use yum to remove php 5.4, it also removed several components to plesk.
I then attempted to reinstall plesk and restore our backups from the previous day, but ran into several errors related to the way plesk hashes passwords in backups (as I now had a new key to hash against, they wouldn't work right). I solved that problem by running the fix passwords utility . But now I'm getting the following errors, I suspect the first one is the main problem.
WARNING: (server object '') Execution of /usr/local/psa/bin/sw-engine-pleskrun /usr/local/sb/utils/bru.php --restore --log=stdout --file=/usr/local/psa/PMM/tmp/sb54DVSHeFh.zip --target=server_settings failed with return code 1. Stderr is
After my HDD crashed, I replaced it and installed Plesk 12.0.18 but not some options are missing from the panel.I'm missing this functionality: Send from domain IP addresses and use domain names in SMTP greeting
Also now after the restoration of the backups in /var/www/vhosts/<DOMAIIN_NAME>/logs/There are no logs, but they are present in /var/www/ vhosts/ system/<DOMAIIN_NAME>/logs/Before they were symlinked to the first directory.all my domains with a dedicated IP are being sent from my main IP, and they are being marked as spam because of SPF.
12.0.18 Update #46, last updated at May 15, 2015 03:57 AM
Just recently (after update #46) Fail2Ban stopped working and I couldn't restart it or pin point the reason behind it. I decided to uninstall F2B component via Plesk installer.
F2B uninstalled however when I try to install it again I get error : 'Installation will not continue'
Where to start and where can I find log files that could give me some clues?
Plesk Panel > Updates and Upgrades > Install "Plesk VPN extension" Green Message "All operations with products and components have been successfully completed." Going back from Upgrade window to Plesk Panel Home
[Code] .....
What I already have tried: Shell > apt-get install psa-vpn
Getting error mossage:
Setting up psa-vpn (12.0.18-debian7.0.build1200140606.15) ... ERROR: could not insert 'tun': Unknown symbol in module, or unknown parameter (see dmesg)
Shell > modprobe tun ERROR: could not insert 'tun': Unknown symbol in module, or unknown parameter (see dmesg)
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 66.79.191.196 cannot be removing since it is still registered with an ICANN register."
I'm just testing Plesk 12 on CentOs 7 and after installation is succesfully completed, I cant access [URL]
This is the environment and steps which I taken: * Fresh CentOs 7 iso * Windows 2008 R2 Hyper-v hypervisor
1) Installation of the CentOs successfully completed 2) Yum update 3) Download auto-installer 4) Run auto-installer 5) process successfully completed 6) NOW I CAN'T access the url ...
yesterday I have installed CloudLinux on my Centos 6.6 server. Today only my site was not reach. I have contacted cloudlinux support but this problems does not depend from they. In my personal site I have also WHMCS. For this issue I try: [URL] Then: [URL] I changed size of buffering: [URL] And at the end this: [URL] After that I have the same problem only for one domain.
Installing Plesk Panel with Spamassassin on Ubuntu 14.04 LTS gives a significant error:
Restarting SpamAssassin Mail Filter Daemon: No /usr/bin/perl found running; none killed. server socket setup failed, retry 1: spamd: could not create IO::Socket::INET6 socket on [::1]:783: Cannot assign requested address server socket setup failed, retry 2: spamd: could not create IO::Socket::INET6 socket on [127.0.0.1]:783: Address already in use
server socket setup failed, retry 9: spamd: could not create IO::Socket::INET6 socket on [127.0.0.1]:783: Address already in use spamd: could not create IO::Socket::INET6 socket on [127.0.0.1]:783: Address already in use invoke-rc.d: initscript spamassassin, action "restart" failed. dpkg: error processing package sa-compile (--configure):
even though spamassassin (i.e. spamd) is not running. The usual suspects for the before mentioned error, being
a) differences in the name of the PIDFILE variable in /etc/default/spamassassin and /etc/init.d/spamassassin b) directory and/or file location are not readable/writable
are not causing this specific installation bug. The work-arounds:
1 - not installing spamassassin (not an option) 2 - installing spamassassin and (afterwards)
change /etc/default/spamassassin, add the option "-4" to the line OPTIONS, resulting in the line: OPTIONS="--nouser-config -4 --username=popuser --daemonize --helper-home-dir=/var/qmail --virtual-config-dir=/var/qmail/mailnames/%d/%l/.spamassassin --create-prefs --max-children=5" run plesk-installer or autoinstaller again ..Work-around 2 works fine, after reinstallation the /etc/default/spamassassin is as it should be (note that the added "-4" is not present anymore).
The before mentioned work-around suggests some error in the installation process, very likely to be an issue with the chronological order of installation of the various components. In theory, it can be excluded that this bug/issue is caused by psa-spamassassin and/or spamassassin (version 3.3.x) packages, even though some current spamassassin bugs are known: URL....I sincerely hope that Parallels Team can investigate and patch both of the bugs/issues.
In the Wordpress Toolkit several WP installs appear with exclamation mark and title: "A Wordpress installation was previously detected at this path, but it is not operating properly".
on my Ubuntu 14.04 LTS server, I have ran the install script. This process stopped with the message: ERROR while trying to establish test connection. If you are installing Plesk on an already configured MySQL server, you need to specify the administrator's credentials to succeed with the installation.
To do this, you need to create a file - /root/.my.cnf with the 'client' section where you need to provide user and its password ("user = $admin_name" and "password = $admin_pass").
After installation is finished, the file /root/.my.cnf will be renamed to /root/.my.cnf.bak
Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log), fix and try again
Accordingly, I have the existing my.conf copied to the ROOT directory and added the two missing lines in the client area. After that I started the plesk-installer.sh again. The process stopped at a line
"Installed product components are determined" and nothing still happend. The log files says nothing but the last information at the previous try.
Yesterday I have installed CloudLinux on my Centos 6.6 server. Today only my site was not reach. I have contacted cloudlinux support but this problems does not depend from they. In my personal site I have also WHMCS.
For this issue I try: [URL] ....
Then: [URL] ....
I changed size of buffering: [URL] .....
And at the end this: [URL] ....
After that I have the same problem only for one domain.
I am running phpbb 3.0.12 installed from Plesk. In Plesk it is showing me that there is an upgrade available to version 3.1.2-15 however when I Re-Check the version in phpbb it says that I already have the latest version 3.0.12. That's a little weird.
The problem is when I upgrade to 3.1.2-15 in Plesk, it will mess with the whole installation. The forum page will redirect in circles to /install/index.php which doesn't even exist and I can't do anything except revert to before the upgrade.
So my questions are: Why does Plesk show a version 3.1.2-15 but phpbb says the latest one is 3.0.12? How does the upgrade process from Plesk work? I expect it to automatically do everything, or why else would I want to let Plesk upgrade?