Adding needed repository Failed!
-
@FlareImp Hi, installation using root access ? (sudo)
-
See here: https://forums.fogproject.org/topic/6058/trunk-update-failing
Especially try adding the repo by hand and see what error it gives:
add-apt-repository -y ppa:ondrej/php5-5.6
-
This post is deleted! -
Check that your date and time match that of the server.
Quickest I could suggest is to run:
sudo ntpdate pool.ntp.org
Then run:
sudo add-apt-repository -y ppa:ondrej/php5-5.6
-
Any update?
-
@Tom-Elliott After running “sudo add-apt-repository -y ppa:ondrej/php5-5.6” I get this message:
Cannot add PPA: ‘ppa:ondrej/php5-5.6’. -
@FlareImp I know youve already said you are not behind a proxy… but I must say that this smells a whole lot like you’re behind a proxy… Can you confirm?
-
@FlareImp Sounds to me like it could be “time” on the server as well.
-
My network admin suggested that our content filter may be screwing with something in the script if it’s trying to access a site out on the web. Our filter system is manually configured for each site so that may explain why I can run the install.sh file at every site with no problems except at this one
. -
@Tom-Elliott Time is correct.
-
@FlareImp So what does this mean? Did you find the issue causing this. Seams like this is not something we can fix.
-
This post is deleted! -
@FlareImp said:
My network admin suggested that our content filter may be screwing with something in the script if it’s trying to access a site out on the web.
This makes me think you do have a transparent proxy server/content filter enabled at this site. If you could white list sourceforge.net that should allow the installer to pull the client and kernel images.
[Edit] rereading your OP you will need to enable more than just sourceforge, since the installer reaches out to your linux distribution’s archives to bring in any missing packages. It may be easier to while list the FOG server’s IP address for a short time until you have it updated. [/Edit]
-
@george1421 Thanks for the suggestions, I will speak with our ISP about white listing. I’ll let you know what I turn up.
-
@FlareImp Just be aware, it is more than just sourceforge.net. (If I wasn’t clear in my previous posts. You need access to a bunch of sites for your OS, so it would be easier to white list the fog server IP address instead of the remote sites)
-
@george1421 Got ya, I will see if we can do that. Thanks!
-
@FlareImp said:
My network admin suggested that our content filter …
https://en.wikipedia.org/wiki/Proxy_server said:
A content-filtering web proxy server provides administrative control over the content that may be relayed in one or both directions through the proxy. It is commonly used in both commercial and non-commercial organizations (especially schools) to ensure that Internet usage conforms to acceptable use policy.
You are behind a proxy.
-
White listing the Fog server and Storage Nodes fixed the problem. Everything is installing correctly now. Thank you so much!!!
The only thing I am noticing now is that the time stamps on my Replicator Logs are incorrect. Is that an easy fix?
Thanks,
-
@FlareImp Thread marked as solved.
For the time stamps, make sure your Fog web interface is set to the correct time zone inside FOG Config -> Fog Settings -> General settings
and after that’s set right, check the server time itself with the
date
command and see what it says. Maybe set your server to stay synchronized with an NTP server in your environment? There are a lot of materials on the net for how to do that. It’s really easy in RHEL/Fedora/CentOS -
@Wayne-Workman Thanks, I needed to change the time under General Settings. Thanks again! I think I’m golden now.
Peace!