PDA

View Full Version : Clientexec + Plesk


quarghost
05-05-2006, 12:30 PM
Since the Plesk portion of the forums seems slow for dialog compared to the rest, I figure, "Why not inject some life here?"

Which brings me to my current problem installing clientexec next to plesk. My problem is simply getting CE to alter the domains and users in plesk.

(And yes, Modern Bill is probably better, but it's not free. Thanks PVPS).

Here's what I've done between hours at various message boards grasping at straws:


Make sure admin user has use of XML API.
Tested CE with both CLI curl and PHP curl settings
Add my CA to ca-bundle.crt so that curl wont throw error.
Pull some hair out.
Make sure hostname resolves correctly.
Tried to get CE to use IP instead of hostname.


The bottom line: no dice.

CE throws no errors internally or externally and adds users and domains and packages correctly. However, there is no coresponding addition on the plesk side.

So after two full days of screwing with CE I decided to try the Modern Bill 30 day trial. In step 3 of that, I'm told that:

PHP cURL Enabled?--PHP cURL is available.
PHP cURL Test?--OK (Use "PHP" as your Path to cURL in the Main System Config.)

CLI cURL Enabled?--CLI cURL is NOT available.
CLI cURL Test?--NOT OK
CLI cURL Path?--cURL NOT FOUND
CLI cURL Version w/ SSL?--(SSL IS NOT ENABLED)

However:
[root@kennedy ~]# curl -V
curl 7.12.1 (i686-redhat-linux-gnu) libcurl/7.12.1 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6
Protocols: ftp gopher telnet dict ldap http file https ftps
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

My assumption is that if Modern Bill cannot find and use curl from the command line, then CE has the same problem.

But as far as I can tell, curl is installed properly with SSL support. And it's also compiled into PHP. I'm truely stumped.

Any ideas?

Mike

quarghost
05-07-2006, 03:21 PM
Here is how I solved my own problem. For the record's sake.

I discovered that mcrypt wasn't installed on my server, and that it wasn't compiled into apache. Support didn't have this in their CentOS repo, but I found a version floating around google.

This may or may not have solved the technical side.

However, on the "rack my brain I can't believe I missed that" side, I discovered that you have to manually add your server in the package types area to allow it to be used on the "domain" or package.

It's really unforutnate that we don't have acces to CE's docs. It might have saved me some time. But don't we all have to waste some time troubleshooting our apps.

Other than the "Server" settings page, the install for Plesk should follow the outdated Cpanel instructions provided in the PVPS Knowledge Base.

St3althy
09-08-2006, 04:04 AM
I can get the clientexec to work, but when i activate the account and its supposed to create the account in plesk, i get this

There was an error creating the domain.
Package CE10 qwewqqqwew has been activated.
Package(s) activated successfully

any suggestions?