![]() |
|
|
|
|
|||||||
| Dedicated Servers Need help choosing which dedicated server that works best with your site(s)? Feel free to talk about them here! |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
I've been using the following approach to backup my Hostican VPS server using Amazon S3...
Automatic wordpress backups to Amazon S3 | Brendan Nee Now that I'm up and running on my new dedicated box, I'm getting the following error whenever the backup shell script runs: which: no curl in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin: /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin) curl not found on the path or not executable I'm assuming that means that the curl module isn't properly installed or permissioned, but I'm not sure what I need to do to add this. Any ideas? Last edited by technabob; 09-21-2008 at 11:10 AM. |
|
#2
|
|||
|
|||
|
The plot thickens...
When I check my PHP config, I see the following... curl cURL support enabled cURL Information libcurl/7.19.0 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6 So doesn't this mean that curl is installed? I can't figure out why my S3 Backups can't use it then, unless I'm confused and the cURL library used by PHP is something different than the one that the shell script is looking for. Any help would be greatly appreciated, as my backups are now failing. |
|
#3
|
||||
|
||||
|
Quote:
Beyond that, you might want to ask the author of that blog, who wrote the instructions, if he has any idea. I haven't used S3 for backups.
__________________
Best, Shazam HostICan Community Superhero |
|
#4
|
|||
|
|||
|
No. In both cases they were the default configuration from Hostican, and I've not installed any custom OS or Apache modules.
If you run "which curl" from the shell, though, it says that curl isn't installed. Isn't that part of the default config on your servers? |
|
#5
|
||||
|
||||
|
Quote:
__________________
Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | Become a HostICan Affiliate | Create a Support Ticket. |
|
#6
|
||||
|
||||
|
*** update ****
I've found what was going on here... the ownership was nobody:nobody <-- so we've fixed that for you, you should be all set ![]() You may need to re-install the WP-Cache plugin
__________________
Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | Become a HostICan Affiliate | Create a Support Ticket. |
|
#7
|
|||
|
|||
|
Quote:
If you execute the shell command "which curl", you still get an error, which indicates that curl is not installed... /usr/bin/which: no curl in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/local/sbin:Any ideas? |
|
#8
|
|||
|
|||
|
As a matter of fact, changing the owner of that directory back to technabob has broken other things in Wordpress, since PHP seems to run as nobody.
I actually had to put those permissions back the way they were, or else Wordpress can't write to the file system. Again... Not sure what any of this has to do with cURL not working from the unix shell anyhow. I appreciate the help, but I think you're digging under the wrong rock. Last edited by technabob; 09-21-2008 at 04:23 PM. |
|
#9
|
||||
|
||||
|
Quote:
Code:
It sounds like you just have to copy the php.ini from the server and place the copy from the server into the public_html or the wp-includes and wp-admin folders
__________________
Thanks, Denis Motova Affiliate / Operations Manager HostICan Answers | Become a HostICan Affiliate | Create a Support Ticket. |
|
#10
|
|||
|
|||
|
This isn't a PHP problem at all. I see that cURL is available to PHP.
I'm actually having trouble getting curl to be available when running a Unix Shell script that's out in my home directory. This was never a problem on my VPS, but is on the dedicated server. |
![]() |
| Tags |
| amazon, backup, curl, dedicated, minor, problem, upgrading, vps |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Upgrading to Dedicated $199.95 pm | TTTG | Dedicated Servers | 50 | 05-14-2009 02:41 AM |
| my vps disabled - due to abuse | ezak | Virtual Private Servers (VPS) | 14 | 02-11-2008 01:19 PM |
| Securing SSH & Apache for VPS + Dedicated | roger | Virtual Private Servers (VPS) | 2 | 01-04-2008 12:37 AM |