Note: You are viewing an old version of this page. View the current version.

Task Descriptor

Date: Nov 15, 2005 2:13 PM
Subject: Will's payment this month.
To: CyberLeo Kitsana <cyberleo@cyberleo.net>

[13:58] LtKassah: sup?
[13:59] IceZetsumei: namuch.
[14:00] LtKassah: I think I have a project that you guys can help me out with instead of paying this month for the server
[14:00] IceZetsumei: ok, what's the project?
[14:01] LtKassah: well Plesk has this set of scripts
[14:01] LtKassah: with full docs
[14:01] LtKassah: http://download1.swsoft.com/Plesk/Plesk7.5/Doc/plesk-7.5r-sdk-html/docs/cu/unix/ch05.html
[14:01] LtKassah: now those can only be run as root
[14:02] LtKassah: but there is also a RPC API
[14:02] LtKassah: http://download1.swsoft.com/Plesk/Plesk7.5/Doc/plesk-7.5r-sdk-html/docs/plesk_agent/ch05.html
[14:03] LtKassah: what I want is a script that takes two extra arguments at the begining.... user/pass
[14:03] LtKassah: which has similar if not the same syntax as the admin script
[14:03] LtKassah: but uses the RPC-API
[14:04] IceZetsumei: Leo's been working on that stuff.
[14:04] IceZetsumei: thus.... yeah, should be (I believe, not gonna quote for her) up her alley.
[14:06] LtKassah: all I pretty much care about right now is domain.sh
[14:07] LtKassah: dns.sh would be nice... but isn't required

Task Dependancies

Plesk script interface

Plesk RPC API interface

Test plesk area: <restricted>

System workspace: <restricted>

Task Notes

  • See http://www.wesha.com/clwiki/index.php/PleskAPI for restricted details.
  • Nonstandard XML-RPC interface. Requires custom interface module.
  • Can set the 'Administratively locked' bit (status bit 5) via RPC, but cannot unset it. Domain remains locked out and unusable/uneditable until admin unlocks it.
  • Cannot delete a domain via RPC. Error code 1002: Can not init class.Manager.php. Error: Access denied: Management of parent node is forbidden.