error in APC installation

Information and discussions relating to the Nagios Mobile addon.

error in APC installation

Postby pouda » Wed May 02, 2012 2:22 am

Hi i've a little problem wit one of nagios server ..

i would install apc service for faster webpage...

it's a remote installation and i need to set http_proxy variable ... i found the way to solve this issue but!!
The proxy need an authentication and!!! i wrote ..

Code: Select all
pear config-set http_proxy http://rworobel@dmvstafr.fr.fto:password@proxy.dmv-stainless.com:8080
pear list-all


Image

The problem is coming that in username i've an @-sign ...but i didn't find how to escape this character by something else...

Someone could help me ?

Thanks bye.
pouda
 
Posts: 105
Joined: Wed Sep 14, 2011 9:47 am

Re: error in APC installation

Postby pouda » Wed May 02, 2012 2:23 am

so now i tried using encoded chararacters with this website and i have now thios result

errorapc.jpg


username and password are properly set...but i've always an authentication error..
pouda
 
Posts: 105
Joined: Wed Sep 14, 2011 9:47 am

Re: error in APC installation

Postby mguthrie » Wed May 02, 2012 9:43 am

Not sure on that one, the other thing you could try would be to use wget to grab the rpm and the install the rpm locally.
User avatar
mguthrie
 
Posts: 4379
Joined: Mon Jun 14, 2010 10:21 am

Re: error in APC installation

Postby pouda » Thu May 03, 2012 4:46 am

ok wget is now configured and works properly with my proxy ..

have you got a guide of how to install apc ?

Thx
pouda
 
Posts: 105
Joined: Wed Sep 14, 2011 9:47 am

Re: error in APC installation

Postby mguthrie » Thu May 03, 2012 12:25 pm

Here's a good tutorial for it if you get get yum and pear through the proxy:
viewtopic.php?f=21&t=4994

Otherwise find the rpm, download it with wget, and use rpm to install it. Then just make sure it's enabled in the php.ini file as described in the tutorial above.
User avatar
mguthrie
 
Posts: 4379
Joined: Mon Jun 14, 2010 10:21 am

Re: error in APC installation

Postby pouda » Fri May 04, 2012 1:50 am

Hello,

i already used this guide for installing APC and post my problem on this topic .. but someone aske me to create a new one ...with my problem in details.

oups.jpg
pouda
 
Posts: 105
Joined: Wed Sep 14, 2011 9:47 am

Re: error in APC installation

Postby mguthrie » Fri May 04, 2012 9:40 am

Correct, however the key issue on this thread is getting pear to work around your local proxy.

http://stackoverflow.com/questions/2266491/how-to-use-pear-behind-proxy
http://www.spiration.co.uk/post/1216/Install-PEAR-class-packages-through-a-proxy

As I mentioned earler, you can probably do a workaround by locating the actual rpm online, downloading it with wget, and installing it through RPM, but not having tested that method I don't know if it would produce other package conflicts.
User avatar
mguthrie
 
Posts: 4379
Joined: Mon Jun 14, 2010 10:21 am

Re: error in APC installation

Postby pouda » Mon May 07, 2012 1:33 am

Hello,

Maybe i'm idiot but i can't find APC rpm on internet ...only tarball for compiling souces ...another question, is it possible to use Nagios mobile without using APC service ?

Bye
pouda
 
Posts: 105
Joined: Wed Sep 14, 2011 9:47 am

Re: error in APC installation

Postby mguthrie » Mon May 07, 2012 9:59 am

This should be the one that you need.
http://pkgs.repoforge.org/php-pecl-apc/

And no, you certainly don't need APC to run Nagios Mobile, it's just a performance improvement for larger environments.
User avatar
mguthrie
 
Posts: 4379
Joined: Mon Jun 14, 2010 10:21 am

Re: error in APC installation

Postby pouda » Wed May 09, 2012 3:34 am

ok so ... thx for the link but i will not install APC ... :D
pouda
 
Posts: 105
Joined: Wed Sep 14, 2011 9:47 am


Return to Nagios Mobile

Who is online

Users browsing this forum: No registered users and 0 guests