Your HostICan Community  


Go Back   Your HostICan Community > HostICan Web Hosting > Dedicated Servers

Dedicated Servers Need help choosing which dedicated server that works best with your site(s)? Feel free to talk about them here!

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-20-2008, 11:31 PM
technabob technabob is offline
Junior Member
 
Join Date: Jan 2008
Posts: 12
Default Minor problem after upgrading to Dedicated from VPS

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.
Reply With Quote
  #2  
Old 09-21-2008, 11:05 AM
technabob technabob is offline
Junior Member
 
Join Date: Jan 2008
Posts: 12
Default Re: Minor problem after upgrading to Dedicated from VPS

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.
Reply With Quote
  #3  
Old 09-21-2008, 12:36 PM
Shazam's Avatar
Shazam Shazam is offline
Forum Whip-Cracker
 
Join Date: Sep 2007
Location: Scottsdale, AZ
Posts: 1,023
Default Re: Minor problem after upgrading to Dedicated from VPS

Quote:
Originally Posted by technabob View Post
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.
That seems correct to me. Did you change anything in the default configuration of either your VPS or dedicated server?

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
Reply With Quote
  #4  
Old 09-21-2008, 12:44 PM
technabob technabob is offline
Junior Member
 
Join Date: Jan 2008
Posts: 12
Default Re: Minor problem after upgrading to Dedicated from VPS

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?
Reply With Quote
  #5  
Old 09-21-2008, 01:56 PM
lnxcode's Avatar
lnxcode lnxcode is offline
The British Kid
 
Join Date: Sep 2007
Location: Richmond, VA
Posts: 2,012
Send a message via AIM to lnxcode Send a message via Skype™ to lnxcode
Default Re: Minor problem after upgrading to Dedicated from VPS

Quote:
Originally Posted by technabob View Post
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?
I will have one of the system administrators take a quick look at it for you. We normally don't do this... However, in this case, as you just upgraded it warrens the review.
__________________
Thanks,

Denis Motova
Affiliate / Operations Manager

HostICan Answers | Become a HostICan Affiliate | Create a Support Ticket.
Reply With Quote
  #6  
Old 09-21-2008, 02:04 PM
lnxcode's Avatar
lnxcode lnxcode is offline
The British Kid
 
Join Date: Sep 2007
Location: Richmond, VA
Posts: 2,012
Send a message via AIM to lnxcode Send a message via Skype™ to lnxcode
Default Re: Minor problem after upgrading to Dedicated from VPS

*** 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.
Reply With Quote
  #7  
Old 09-21-2008, 04:16 PM
technabob technabob is offline
Junior Member
 
Join Date: Jan 2008
Posts: 12
Default Re: Minor problem after upgrading to Dedicated from VPS

Quote:
Originally Posted by lnxcode View Post
*** 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
I appreciate the help, but I don't understand what this has to do with the problem. Wordpress and WP-Cache have nothing to do with this issue.

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:
/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin)
Any ideas?
Reply With Quote
  #8  
Old 09-21-2008, 04:19 PM
technabob technabob is offline
Junior Member
 
Join Date: Jan 2008
Posts: 12
Default Re: Minor problem after upgrading to Dedicated from VPS

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.
Reply With Quote
  #9  
Old 09-22-2008, 10:01 AM
lnxcode's Avatar
lnxcode lnxcode is offline
The British Kid
 
Join Date: Sep 2007
Location: Richmond, VA
Posts: 2,012
Send a message via AIM to lnxcode Send a message via Skype™ to lnxcode
Default Re: Minor problem after upgrading to Dedicated from VPS

Quote:
Originally Posted by technabob View Post
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.
CURL is in the server. If you create a phpinfo file

Code:
And place it in the site and run the link, you will see that cURL is compiled into Apache.
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.
Reply With Quote
  #10  
Old 09-22-2008, 10:08 AM
technabob technabob is offline
Junior Member
 
Join Date: Jan 2008
Posts: 12
Default Re: Minor problem after upgrading to Dedicated from VPS

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.
Reply With Quote
Reply

Tags
amazon, backup, curl, dedicated, minor, problem, upgrading, vps

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

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


All times are GMT -4. The time now is 03:08 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.

Copyright © 2003 - 2008 HostICan. All Rights Reserved.