2 problems with whm/cpanel server: piping error and build error with imap

Hey all

Just purchased my first VPS server and I have of course run into problems. My site used to be hosted on a cpanel server, so I figured I would be safe by purchasing a cpanel vps. Little did I know about all the different ways these boxes are configured. Anyway, I'm having some trouble setting up e-mail piping (using Kayako support suite, so that's why I need it.)

I have set up /etc/valiases/domain.com correct, so the e-mail "pipes" just fine. However, it get's returned with this error;

PHP Code:
PHP Warning:  Function registration failed duplicate name curl_init in Unknown on line 0 
PHP Warning
:  Function registration failed duplicate name curl_version in Unknown on line 0 
PHP Warning
:  Function registration failed duplicate name curl_setopt in Unknown on line 0 
PHP Warning
:  Function registration failed duplicate name curl_exec in Unknown on line 0 
PHP Warning
:  Function registration failed duplicate name curl_getinfo in Unknown on line 0 
PHP Warning
:  Function registration failed duplicate name curl_error in Unknown on line 0 
PHP Warning
:  Function registration failed duplicate name curl_errno in Unknown on line 0 
PHP Warning
:  Function registration failed duplicate name curl_close in Unknown on line 0 PHP Warning:  curl:  Unable to register functionsunable to load in Unknown on line 0 
The script that the e-mail is beeing piped to worked without a hitch on my previous server. Just to make sure, I also piped it to another script with just the shebang line, and still get the same error. At a first glance, it would appear to be some sort of error with curl, but I have other scripts using curl without any problems. Any ideas?

Problem 2; Whenever I rebuild php with imap-support, httpd never is able to restart properly. Looking at the log reveals that some berkley db files are missing. (Strange that these are not included in the default server setup when you need them to compile php with imap) Anybody know a decent guid on how to install berkley db?

Setup: WHM 10. 8.0 cPanel 10.8.1-R113 CentOS 4.2 i686

thanks,


Thomas

 

 

 

 

Top