Plesk 12.x / Linux :: Execution Failed Command - Autoinstaller
Apr 13, 2015
while plesk was trying to update automatically (as per the normal preference settings) but suddenly gave this error
Execution failed.
Command: autoinstaller
Arguments: Array
(
[0] => --select-product-id
[1] => plesk
[2] => --select-release-current
[3] => --upgrade-installed-components
)
Details: Doing restart of Parallels Installer...
File downloading products.inf3: 100% was finished.
File downloading plesk.inf3: 10%..20%..30%..40%..50%..60%..70%..80%..90%..100% was finished.
File downloading ppsmbe.inf3: 17%..26%..37%..47%..57%..78%..88%..100% was finished.
File downloading sitebuilder.inf3: 22%..35%..48%..60%..73%..86%..100% was finished.
[code]....
ERROR: Currently installed version of product with ID 'plesk' is not available from download site anymore.Please upgrade to the next available product version to receive software updates.Seems like the RPM got damaged, but I already fixed that part, now when I put "install" I'm geting the following
Installation started in background..Getting bootstrapper packages to installation list:
Following bootstrapper packages will be installed: (empty)
----------------
Getting packages to installation list:
Following packages will be installed: (empty)
----------------
Loaded plugins: fastestmirror
Patch for plesk 12.0.18 will not be installed since it is already applied.Error: You already have the latest version of product(s) and all selected components installed. Installation will not continue.HOWEVER the "mail" and mail server configuration no longer shows in "tools & settings".
View 1 Replies
ADVERTISEMENT
Dec 5, 2014
When I logged in today I saw this message:"Failed to update Plesk. To solve this problem, you can send the update log to Parallels support. View the update logs (Dec 5, 2014). Copy the logs to your computer before you close this message. To close this message, click here." Here is the error log - how do I fix this issue:
Execution failed.
Command: autoinstaller
Arguments: Array
(
[0] => --select-product-id
[1] => plesk
[2] => --select-release-current
[3] => --upgrade-installed-components
[4] => --include-components-from-class
[5] => vendor=parallels
[6] => --include-components-from-class
[7] => patched
)
Details: Doing restart of Parallels Installer...
File downloading products.inf3: Error: Couldn't resolve host 'autoinstall.plesk.com', retry...
Error: Couldn't resolve host 'autoinstall.plesk.com', retry...
Error: Couldn't resolve host 'autoinstall.plesk.com', retry...
File downloading versions.inf3: Error: Couldn't resolve host 'autoinstall.plesk.com', retry...
Error: Couldn't resolve host 'autoinstall.plesk.com', retry...
Error: Couldn't resolve host 'autoinstall.plesk.com', retry...
[code].....
Not all packages were installed.Please resolve this issue and try installing the packages again.
View 2 Replies
View Related
Dec 5, 2014
I get the following error in plesk i don't know how to resolve this
Unable to configure the web server: Execution failed.
Command: httpdmng Arguments: Array ( [0] => --reconfigure-all )
Details: Execution failed. Command: httpdmng Arguments: Array ( [0] => --reconfigure-server [1] => -no-restart )
[Code] .....
View 2 Replies
View Related
Nov 20, 2014
This happens in around 30% of the cases when I run CLI autoinstaller to update/install/remove packages.
Code:
Patches were installed successfully.
The changes were applied successfully.
Synchronizing the Debian APT package index files...
# pgrep -lf xinetd || service xinetd start
Starting internet superserver: xinetd.
# pgrep -lf xinetd || service xinetd start
849 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive
As you can see, after the autoinstaller finishes, xinetd is not running and has to be started again.
View 2 Replies
View Related
Jul 18, 2014
Recently Debian released point release .6 of Debian Wheezy (Debian 7). This change in version number is causing all Plesk updates and upgrades to fail, due to 404 errors:
Code:
Getting new version of Parallels Installer...
File downloading parallels_installer_Debian_7.6_x86_64.md5sum:
ERROR: The required version '3.16.20' was not found on the server.
This could happen because of configuration error at the download site.
Failed to download the package [url] ....
The requested URL returned error: 404...This has been going on a couple of days. When will this be fixed?
View 2 Replies
View Related
Apr 27, 2015
I have formatted my server and tried to install PLESK 11.5 (I have my license every thing). But after I start to install with current AutoInstaller there is only PLESK 12 to be chosen.
How can I install my PLESK 11.5 BACK with Current AutoInstall? Is there anyway to have an option to install 11.5 in the Installation Selection?
View 1 Replies
View Related
Apr 4, 2015
Trying to enable Tomcat Java Servlets using autoinstaller via ssh, but I'm receiving the following error:
Exception: Failed to solve dependencies: 2:apache-commons-discovery-0.5-9.el7.noarch requires mvn(commons-logging:commons-logging)
ERROR: The Yum utility failed to install the required packages. Attention! Your software might be inoperable. When I try through the admin UI, I just get "The Yum utility failed to install the required packages"
View 2 Replies
View Related
Jan 14, 2007
Cacti version 0.8.6i has vulnerability: [url]
Solution: [url]
View 2 Replies
View Related
Oct 7, 2014
Have the same case for 4 servers (web and pro), the menu in plesk could not show another choice, only fastcgi.
Handlers look like ok:
root@serveur:~# /usr/local/psa/admin/sbin/php_handlers_control --list
id: display name: version: type: cgi-bin: cli-bin: php.ini:
module 5.4.4 5.4.4 module /usr/bin/php5-cgi /etc/php5/cgi/php.ini
fastcgi 5.4.4 5.4.4 fastcgi /usr/bin/php5-cgi /etc/php5/cgi/php.ini
cgi 5.4.4 5.4.4 cgi /usr/bin/php5-cgi /etc/php5/cgi/php.ini
[code]....
How to force to display php module ?
View 3 Replies
View Related
Nov 5, 2014
I have this error when i put import to mysql database
Code:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<script></script><p>ERROR: Maximum execution time of 300 seconds exceeded (Util.' at line 244
I have in domain > doemainname >
max_execution_time
Standaard
Geef een aangepaste waarde op 0
and insert in
usr/local/psa/admin/htdocs/domains/databases/phpmyadmin in the file config.sample.inc.php following command
$cfg['ExecTimeLimit'] = 70000;
but it will not work...
View 2 Replies
View Related
Jun 24, 2009
My mail server receives tons of messages directed towards bogus, non-existant addresses at my domain. When those addresses don't exist, it creates a reply email with the subject "Mail delivery failed: returning message to sender". How do I stop exim from doing this?
View 3 Replies
View Related
Jul 1, 2014
I use plesk 11.5 on windows 2008r2 x64
Have error then login https://ipxxxx:8443
ERROR: Class 'CommonPanel_Update_Autoinstaller' not found (UpdateController.php:69)
View 4 Replies
View Related
May 3, 2015
I want to run a script that will loop through all of the domains on a particular server and remove all MX records with mail.*.I am testing on a single test domain at the moment but I'm not sure how to do the wildcard./usr/local/psa/bin/dns -d example.com -mx '' -mailexchanger mail.*
The following example command is from: URL....To add an MX resource record mail3.example.com specifying domain name mail.example.com as the mail exchanger for the record, and setting the mail exchanger's priority to the DNS zone on the domain example.com to 15:
# ./dns -a example.com -mx mail3 -mailexchanger mail.example.com -priority 15..What does the mail3.example.com got to do with it? Isn't it just adding a MX record mail.example.com?
View 1 Replies
View Related
May 19, 2014
With the endless security patches, is there a command that can be used to verify that all current microupdates have been applied?
View 4 Replies
View Related
Mar 10, 2015
i have to delete all PTR records in over 80 domains in a Plesk 12 panel, when i tried to run the dns command to remove the PTR record from a domain, i got the error :
Code: Unable del record in DNS server: unable find DNS record ...
There is a KB article about this specific problem : [URL] .... , but it refers to older Plesk versions (8.x-10.x). I gave it a shot by copying the fix file from all 3 different versions to /usr/local/psa/admin/plib/api-common/ and i got the following PHP errors:
Code:
PHP Warning: include_once(class.PHostingManager.php): failed to open stream: No such file or directory; File: /usr/local/psa/admin/plib/api-common/cuDns.php, Line: 4
PHP Warning: include_once(): Failed opening 'class.PHostingManager.php' for inclusion (include_path='/usr/local/psa/admin/plib:/usr/local/psa/admin/externals'); File: /usr/local/psa/admin/plib/api-common/cuDns.php, Line: 4
[URL] ......
Is there any workaround this PTR issue? Also, is Parallels going to update the article and provide solution for Plesk 12?
View 4 Replies
View Related
Mar 30, 2015
Up till the last update Plesk was working correctly. After the latest update I can't send out mail in any form:
webmail, pop3, wordpress forms, etc.
This is the error message I get:
Command died with status 100: "/usr/bin/spamc".
Command output: Mail handler 'limit-out' said: REPLY:554:5.7.0
Your message could not be sent. The user spamfilter is not allowed to send email.
When I reverted back to the last snapshot before the update everything works fine again. But the automated update bot messes it all up again when it downloads the newer version.
View 2 Replies
View Related
Jul 25, 2014
I just upgraded my Plesk 11.5 on Plesk version: 12.0.18 Update #9 , and after the upgrade the Postfix stop working. And forwarding, receiving is not working at all and I am getting message bellow.
OS: CentOS 6.5 (Final)
Plesk version: 12.0.18 Update #9
This is the mail system at host nsXXXXX.ovh.net.You can delete your own text from the attached returned message. mail system
<xyz@gmail.com>: Command rejected
Final-Recipient: rfc822; xyz@gmail.com
Action: failed
Status: 5.7.1
Diagnostic-Code: X-Postfix; Command rejected
View 2 Replies
View Related
Jul 23, 2015
I'm using this script as a cron to generate DKIM keys for the domains I have. It's an easy script. And it does it's job just OK. I have the necessary software installed and configured.
The way it works is:
The script check if the domain in queue has a record for it. If it doesn't, OpenDKIM generates a one time DKIM record for mail._domainkey that I am entering to my dns records for all the domains I have.
After creating the DKIM record, it checks and deletes mail._domainkey records if there's any. Then adds the generated DKIM to plesk dns zones and disables/enables greylisting to create the appropriate dns entry.
If it does have a DKIM recors on the hdd already, then it removes
mail._domainkeyand
TXT o=-entries.
After that it basically adds the already generated DKIM record and it disables/enables the greylisting for each domain in order to recreate "TXT o=-"
Up till here, it works fine. I can see these entries when I check the DNS Settings. They are there.
But whenever I run this script either via cron or manually, I get an error message on my panel: (You can check the screenshot as well)
Code:
Warning: The DNS zone was modified. If you would like to apply DNS template changes to this zone, either click the 'Apply DNS Template Changes' button on this page or choose the 'Apply the changes to all zones' option in Server Administration Panel > Tools & Settings > DNS Template Settings > Apply DNS Template Changes.
And unless I manually click "Apply DNS Template Changes" for EVERY SITE it doesn't go away.
So, I was wondering, is there a way to scriptize that command? Or how to prevent it?
This is the command I use to generate DKIM and add it to Plesk database, also if any such record exists, delete and re-write it:
Code:
#!/bin/sh
ADMIN_PASS=`cat /etc/psa/.psa.shadow`
MYSQL_BIN_D=`grep MYSQL_BIN_D /etc/psa/psa.conf | awk '{print $2}'`
mysql="${MYSQL_BIN_D}/mysql -N -uadmin -p${ADMIN_PASS} psa"
query="select name from domains;"
domains=`echo $query | $mysql `
for i in ${domains}; do
echo "Processing $i"
[Code] ....
View 4 Replies
View Related
Apr 9, 2015
I'm looking to set up a schedulled backup from command line.
I haven't found the correct command, could you tell me if it's possible and how ?
Additional question: I'm looking too, to set for the server the max number backup file to save, do you know how to do it from cli ?
View 8 Replies
View Related
Jan 17, 2015
Is there a command line way of removing Plesk backups?
I'm looking for the command line equivalent of these steps: Log into Plesk as the server admin > "Tools & Settings" > "Tools & Resources" > "Backup Manager" > check a backup and click "Remove".
We have a script that copies the contents of "/var/lib/psa/dumps/" to Amazon S3 for long-term storage of backups. It runs nightly after a scheduled Plesk backup. Once that script completes successfully, we'd like to delete the Plesk backup to free up disk space. We have Plesk's "Maximum number of backups in the repository" set to 1.
But Plesk appears to keep that backup around while creating a new backup (which makes some sense). This is causing us trouble because the server does not have enough disk space for two backups. As a temporary solution, I'm manually deleting the backup each day through the Plesk admin, but would like to automate it if possible. If automation is overly complex/risky, we'll look at upping our disk space instead.
View 4 Replies
View Related
Feb 23, 2015
Is there any way for a client to use command line mail in a script. Client has ssh access via chromed environment.
Wants their script to be able to send an email on completion.
plesk 12 on Centos6.6
View 6 Replies
View Related
Apr 2, 2015
We have a plesk server running on a Ubuntu 14.04.2 LTS machine. We check the state of the mailqueue with nagios, executing the "mailq" command. After the AutoInstaller upgraded our installation from 12.0.18 update 38 to 39, we noticed, that the nagios check failed.
After investigating a little bit, it seems that we found the problem:
When I enter "mailq" in the shell, the command is executed and gives me an proper output. But when I try to execute the command with its full path "/usr/bin/mailq" nothing happens, and I have to cancel with [ctrl]+[c]. The which-command delivers exactly the same path as written above...
View 4 Replies
View Related
Mar 26, 2015
Why servers are being run out of memory by the 'sort' command even when the logs are small? Here's what is currently on a site:
-rw-r--r-- 2 root root 22392143 Mar 26 11:40 access_log
-rw-r--r-- 2 root root 68018869 Mar 26 10:50 access_log.processed.1
-rw-r--r-- 3 root root 67671664 Mar 26 09:50 access_log.processed.2
-rw-r--r-- 1 root root 69908 Mar 26 10:50 access_log.stat
[Code] .....
View 1 Replies
View Related
Dec 9, 2014
I have a subscription and I'm able to switch the subscription to a given service-plan, but I'm unable to sync the subscription with the plan, using the CLI. These are my commands:
/usr/local/psa/bin/subscription --switch-subscription <domain.com> -service-plan Hosting
result => The subscription <domain.com> is now associated with the service plan Hosting..When watching the webinterface in Plesk, I see the domain is "connected" to the service plan, so far so good. However, I notice that the subscription is not synced.
Back to the CLI, I've tried some combinations, but I can't get the subscription synced. The webbased interface keeps telling me that the subscription is unsynced. Here is what I've tried:
/usr/local/psa/bin/subscription --sync-subscription <domain.com>
And I also unlocked it (just in case it was locked) like so: /usr/local/psa/bin/subscription --unlock-subscription <domain.com>
The funny part is that the CLI tells me: "Subscription <domain.com> was synchronized with the associated service plans." but unfortenately it's not if I look through the GUI. Only if I click the sync-option webbased the subscription get synced. we have to transfer over 1000 domains and need to sync these domains with a given service-plan.
View 1 Replies
View Related
May 27, 2014
We're attempting to redo all of the Plesk default templates. I created my skel file (.zip), uploaded it and run the command as noted here [URL] ....
The CLI sites for a moment and then I am dropped back to command line. It seems to have worked...but, is not.
View 5 Replies
View Related
May 5, 2015
I'm attempting to utilize the WordPress Toolkit. After clicking scan on a webspace with WordPress installed the panel returns the error "'plugin list' is not a registered wp command. See 'wp support'.".
I've tried it on a few servers that has the WordPress Toolkit installed, but they all return the same error.
View 2 Replies
View Related
Jul 15, 2014
We're trying to migrate a Webspace from a 11.5 to a 12.0.18 Plesk host using the Migration Manager. The Webspace contains 4 domains. The main domain of the webspace gets migrated fine, however, all of the "child" domains fail with the following error:
Execution of /usr/local/psa/admin/plib/api-cli/domain.php --create webspace-domain.ch -webspace-name child-domain.ch -do-not-apply-skeleton -notify false -guid 733c0e02-4b75-4f73-8421-03b23051d65d -creation-date 2013-06-06 -skip-plan -ignore-nonexistent-options failed with return code 1.
Stderr is
Wrong syntax for command's '-webspace-name' parameter. 'webspace-domain.ch' does not match the pattern '/^[[:alnum:]]([[:alnum:]-]{0,61}[[:alnum:]]){0,1}(.[[:alnum:]]([[:alnum:]-]{0,61}[[:alnum:]]){0,1})+$/iu'.
View 3 Replies
View Related
Apr 7, 2015
Although running
>>
/usr/local/psa/bin/dns --info dev.sname.c002.aname.domain.com
>>
shows the 'ecz1' TXT record exists for "dev.sname.c002.aname.domain.com" :
...
ecz1.dev.sname.c002.aname.domain.com. TXT ecz1
[Code] ....
The issue can be caused by extra spaces in the TXT record:
Code:
[root@a10-52-143-28 ~]# /usr/local/psa/bin/dns --add dev.sname.c002.aname.domain.com -txt 'ecz1 ' -domain ecz1
SUCCESS: Creation of DNS record in Domain 'dev.sname.c002.aname.domain.com' complete.
[root@a10-52-143-28 ~]# /usr/local/psa/bin/dns --del dev.sname.c002.aname.domain.com -txt 'ecz1' -domain ecz1
Unable to del record in DNS server: unable to find DNS record
In the following example I have 3 such TXT records with 3, 5, 7 extra spaces and remove record with 3 spaces:
Code:
[root@a10-52-143-28 ~]# mysql -u admin -p`cat /etc/psa/.psa.shadow` psa -e "select host, val, (length(val) - length(rtrim(val))) as extraspaces from dns_recs where host='ecz1.dev.sname.c002.aname.domain.com.' and val like 'ecz1%'"
+---------------------------------------+-------------+-------------+
| host | val | extraspaces |
+---------------------------------------+-------------+-------------+
| ecz1.dev.sname.c002.aname.domain.com. | ecz1 | 5 |
| ecz1.dev.sname.c002.aname.domain.com. | ecz1 | 3 |
[Code] ...
Click to expand...
Click for original message
View 12 Replies
View Related
Apr 21, 2015
We found an issue after running plesk mchk command to restore all the mail server settings with SpamAssiassin settings enabled for all email accounts on the Plesk Server.
After running the mchk command, we found many warning messages in the psa maillog as following "authpsa : No such user [Email account] in mail authorization database".
We checked the mysql database for records on the Email Account that the error is referring to but found that the Domain Email Database was deleted (email address, password, email data). Is this something normal that the plesk mchk command does? Plesk 12.0.18 Update #37
View 2 Replies
View Related
Mar 19, 2015
After auto-updates I cannot connect to all my sites in ftp with filezilla.
These are the errors:
Unable to accept TLS connection: received EOF that violates protocol
I have tried this: [URL] .... but with no success.
I have restored permissions with:
/usr/local/psa/bin/repair --restore-vhosts-permissions but also in this case it cannot work for me.
How is it possible?
Firewall is ok. All is ok. I have this issue after updates.
View 7 Replies
View Related
Jan 10, 2015
I got this error, when i press on process PHP-files by means of nginx. Nex i receive this in plesk panel:
phpinimng failed: Job for php-fpm.service failed. See 'systemctl status php-fpm.service' and 'journalctl -xn' for details.
Failed to reload php-fpm service
View 8 Replies
View Related