• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

VI an encrypted .sh and saved by mistake

Inspiring

New Pleskian
Hi,

I have added an IP to my Suse system with a wrong subnet , after wards when I delete it my system stoped responding.

I then ran /usr/local/psa/bin/ipmanage.sh but it gives out some error messages. Since my brain was in "Panic mode", I vi this .sh file and pressed :wq to save it!

Now I can no longer run this ipmanage.sh - it gives me "The file ipmanage.php is part of Plesk distribution. It cannot be run outside of Plesk environment."

Does any one know what can I do to repair this file?

Thanks,
INS
 
The best thing to do, is installing a new server with Plesk (can be a virtual server, or whatevery you have).

After installation of Linux/Unix, use scp to copy the file to your production server and you should be going again.

For you to use scp, you need your networking up-and-running. Check the systems configuration.

What distribution are you using?
Debian, SLES, RH, or ???
 
You need to know that the file: ipmanage.sh is a link to: /opt/psa/admin/plib/api-cli/ipmanage.php

I do not have any SuSE Plesk server running, i have Debian, Ubuntu and FreeBSD.

The following comes without any garantee. I have GZipped the file, and put it on my FTP server.
ftp://ftp.hpux.dk/unix/psa/psa821_debian_ipmanage.php.gz

Otherwise, take a new server (any hardware) and do a complete new install. It will take some time..
 
They are of the same content except for the first line:

Yours says

#!/opt/psa/admin/bin/php

And mine is

#!/usr/local/psa/admin/bin/php

I will keep your file and when I am really desperate I will overwrite mine with your file :D

Thanks again
 
ALWAYS BACKUP, your own file if you need to do a "role-back".

Check your directory links:

Code:
# ls -la /usr/local/psa
lrwxrwxrwx 1 root root 8 Oct 21 23:44 /usr/local/psa -> /opt/psa
 
Back
Top