Plesk 12.x / Linux :: Migration Failing Due To HTTPD Not Listening To Specific IPs
Sep 16, 2014
I built the system on Centos 6.5 with plesk 12 with a range of ips. I then (after the fact) copied the IPs of the old server to the new and moved all the domains to their IP's. This way today we flipped the routes and all should work.
The problem is that the domains only work when putting :7080 behind them. It seems like the httpd is only listening on the old IP and not the new ones. How to make plesk/httpd listen with the new IP's on port 80"
httpd.conf
#Listen 12.34.56.78:80
Listen 7080
I added all the other IP's and tried changing ports under Listen but that does not work either. So changing the listening port does not work.
IP-Pair1 is supposed to host admin and customer access. = Plesk-admin-interface (lighhttpd?) on 80/443 instead of 8443 (ssh on 22, ftp ...)
IP-Pair2 is supposed to host visitor access. = Plesk webspaces (nginx/apache) on 80/443
So I want to stop nginx from grabbing ports 80/443 of IP-Pair1 and listen to IP-Pair2 addresses only. Then I want to set plesk-admin interface to listen to 80/443 on IP-Pair1 only.
I need to listen to two IP addresses supporting many domains.
It the pass we achieve this on the Data Centre firewall. This option is no longer available.
Traffic is been presented to Plesk 12.0.18 on
Eth0 – 192.168.0.2 Eth1 – 192.168.0.12
I set up 192.168.0.2 – all is working well
I installed NGINX – all is well and the websites are running faster.
Normally I would try to listen on two IP address in Apache. This option I could not get working as Plesk creates the Apache configuration files from the information entered through the panels. This in turn over rights any manual changes to the Apache configuration files.
I understand that I could use NGINX to achieve this. Is this correct how is it achieved?
What is apsc? I found an apsc.conf (in /etc/sw-cp-server/conf.d) the file contains the line "listen 6308 ssl;". So far that explains why sw-cp-server is listening on that particular tcp port.
Which service is provided by apsc? Can I change it to listen only to 127.0.0.1? I like my server to have a minimum of open ports to the public.
for the past 4 days i have being having problems with my Apache server. on day one i noticed it was going down irregularly over day 2/3 it got progressively worse by last night httpd would only work after i restarted it then 5minutes later it failed again. now it wont start at all every time i tried restarting from whm it just says 'httpd failed' ive also tried restarting from shell but no joy. ive tried rebuilding apache from whm that hasn't helped either. one error i was getting was 'invalid user name' of a user who i terminated yesturday.
I run a filehosting site actually and there are alot of people downloading at the same time which i think the server goes down and then httpd restarts itself and all the people downloading the files, their files get currupted.
I have the latest centos 7 and plesk 12 installed on a dedicated server and i wish to add a new IP to use on a specific website. However, when I am trying to add the IP in plesk i am getting the following error:
Code: Error: ifmng failed: sh: /sbin/ifconfig: No such file or directory /sbin/ifconfig 'eth0:1' '85.214.93.196' netmask '255.255.255.255' up exited with non-zero status 127
I have read somewhere on the forum that installing iptables can fix this but cents 7 is using the new firewald and i am wondering if in the future such a change will not affect the well being of the overall server.
Is there any solution to this problem or will there be a fix from Plesk in the near future ?
Currently i'm running a server with 12 customers on it. They all have their own domainnames and subscriptions. One of them wants to secure his site with SSL and also his mail traffic. Currently he is using the mail.hisdomain.com server for receiving/sending e-mail. I want to install a certificate so that domain is secured. How can i accomplish this?
When i look on the server there is only 1 PEM file for the whole server. If i'm going to install his KEY and CRT in that file than all my clients will use that certifcate right? Can i make it so that only his domain uses thoses certifcates? Plesk is configured to use Postfix with Courier.
I'm trying to use spamfilter to block mail from specific address, adding this e-mail to spamfilter in mail account settings, but it doesn't work. In logs I see:
spamc[13430]: skipped message, greater than max message size (256000 bytes).
A domain on my Plesk does not receive incoming emails from a specific external domain. Other domains on the same server are receiving correctly emails from the same external domain. DNS are configurated by the same way (external of Plesk). Can't see a bounce anywhere. External sender does not receive a bounce too...
So: - I've deleted the domain in Plesk and re-created it (just in case...). - I've added the external sender in spam whitelist (I've tried in user conf and in server wide conf) - When I send mail to a different address in the same server, I can see the mail in syslog and maillog (send or bounced) - When I send from this external f***** domain to my domain, I can't see anything in syslog and maillog
I'm using Plesk 11.5.50 CentOS 6.5 64bit with Qmail. I have installed a SSL certificate on mail server "mail.company.tld" and is running successfully with smtp/pop3/imap4 daemon. Every user agent uses "mail.company.tld" for smtp/pop3/imap4. The qmail name is "mail.company.tld" (file me). The server has about 300 domains and 1000 accounts.
Now we want to add a new SSL certificate, called "mail.newcompany.tld", and use it only for certain domains. I would like to know if is possible to use the new SSL "mail.newcompany.tld" for a specific mail domain without using the old SSL "mail.company.tld" that isn't expired yet. From Plesk Panel I haven't found a section for using the SSL for a specific mail domain.
I have setup Nginx to serve static pages. I cache some pages and therefor they are static and should be served by Nginx. Now, how can i check if a specific page actual was served by Nginx and not Apache?
I am experiencing a weird issue after a Plesk upgrade (from 11 to 12, installed on Ubuntu 12.04).
FTP/SFTP is not working for all users in one specific domain. When using the latest Filezilla client, I receive the following error when I try to connect in SFTP with the main user of this domain
Error: Received unexpected end-of-file from SFTP server Error: Could not connect to serverClick to expand...
In plesk I have set the ssh rule to allow from source, deny others and added my IP. However, if I connect my PC to my work VPN, I can still login via ssh, even when I am on a different IP as the allowed IP
I'm migrating 11 domains from my old server to my new server, and it's been running now for 3 hours and the progress section shows 100% but it looks like it's still running.
And each time I check the "Domains" section I see a couple of my domains listed but not all of them yet, and the ones I do see the "Disk Usage" on one of my domains that I know is large shows the same figure each time I go to this page; it doesn't seem like it has increased at all.
How can I tell if the migration is still processing or if it has froze and I should restart the migration again?
Since upgrading to 12.0.18 i have picked up a strange problem when creating a new email account.The Mail tab is not displayed and does not allow me to create email accounts, in version 11.5 I also appeared tab. I have reviewed the FAQ and the solution to change tables in the DB does not serve 11.5 (I understand that by varying the field names and values in 12.0.18).
I have a plesk12 webhost linux. We are having an issue about horde webmail. Weird because one of the email user cannot open email coming from specific email address and this is the message:
Error Message: Error when communicating with the server and There has been no contact with the server for several minutes. The server may be temporarily unavailabe or network problems may be interrupting your session. You will not see any updates until the connection is restored.
Now upon checking to the error logs of httpd, I found the ff: [Tue Jul 14 16:53:09 2015] [warn] [client 202.X.X.X] mod_fcgid: stderr: PHP Fatal error: Class 'Math_BigInteger' not found in /usr/share/psa-pear/pear/php/Horde/Mapi.php on line 172, referer:http://webmail.domainsample.com/imp/dynamic.php?page=mailbox
We successfully migrated web and email from a Plesk 9.3 system to the new Plesk 12.0 system. Afterwards i try to install new extensions and / or try to delete existing extensions and receive the following error:
Die Erweiterung Webserver Configurations Troubleshooter kann nicht entfernt werden: crontabmng failed: /usr/bin/crontab execution failed: "crontabViWP46":11: bad command errors in crontab file, can't install. System error: crontab execution error
Means that i am not able to delete the extension "Webserver Configurations Troubleshooter". But the extension is delete (but not completelly - only a checkbox is shown without entry).
Is something comes with a config of the old server? All works proper until migration.
We have a problem migrating from 11.0.9 to a different server running 12.0.18. Our Plesk 11 server is running great since years ago. We have 3 resellers there, say reseller1 with 17 domains, reseller2 with 13 domains and reseller3 with 250 domains.
First, we executed a complete server migration with: /usr/local/psa/bin/migrate -m -host xxx.xxx.xxx.xxx -password xxxxxx -ip-mapping /root/migration-mapping.txt -skip-license -replace-existing-objects true
The process ran properly, but in the end we've found reseller1 and reseller2 were NOT migrated. No errors were reported tho.
While investigating this issue we have found:
1) "/usr/local/psa/bin/migrate --list-resellers" returns only reseller3. So it looks like reseller1 and reseller2 are not "seen" by the migrate utility.
2) /usr/local/psa/bin/migrate -mr reseller1 returns: Migration started at: 2015-06-03 04:21:11 The following clients not exist: reseller1
3) /usr/local/psa/bin/migrate --list-subscriptions returns the 250 subscriptions of reseller3, but no single mention to reseller1 and reseller2 subscriptions.
In short, reseller1 and reseller2 are invisible for the migration utility. Both missing resellers are ok, enabled and active in our Plesk 11 server.
We are now stuck on the migration process and wondering if this could be a bug in the migrate utility? or some inconsistence in our Plesk 11?
I had a old virtual Server with Ubuntu+Plesk12. I build a new dedicated Server with CentOS6+Plesk12 and migrate all Domains. Now i have a strange problem:
When i upload a file with FTP-User "user1", the file has the permissions Group=psacln & Owner=user1. All is fine, i can see and edit this file in a FTP-Program. But when my website create a file (cache html files or installed plugin folders in wordpress), I can't see, can't edit and can't download this files.
When i login to plesk with the admin account, i can see and edit this files. They have also Group=psacln & Owner=user1 and i can give them 0666 rights but when i login with FTP-User "user1" with my FTP-Program, I didn't see that files?!
Just went through a migration and everything appeared to go pretty smooth, but we figured out there was an issue with symbolic links.
A site on an old server running plesk 12 had symbolic links in it. When the site is Migrated through the plesk migration tool, the symbolic links aren't preserved on the new server.
I have recently migrated to new server with Plesk 12. There was a webalizer even I used to have awstat. So I installed awstat and changed it in the settings. But every day when I synchronized the abonnement it changed alone back to Webalizer ... which I dont want
When I tried to deactivate or deinstall Webalizer in plesk using the update manager, I got an error:
"Some errors occured during installation."
Solved, changed settings in Customer Service Plan and synchronized...