> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Elwell, Richard

> I get the following error when I run portsnap fetch:

> Fetching 14248 new ports or files... /usr/sbin/portsnap: cannot open
> d5742d6e9ca3b11450f23606ae6a16b391a12f4c7b2d4fc638513ce34f7c2c
> 25.gz: No
> such file or directory
> 
> snapshot is corrupt.
> A quick search led to a similar problem in the past:

Richard,

By any chance is your portsnap using a proxy server, possibly squid?

If so this may get around the problem prior to running your portsnap.

# sysctl net.inet.ip.portrange.randomized=0

You may want to check the value first, and reset it after the portsnap.

Maybe something like this in your portsnap script.

 - barry

-- snip --
RANDOMIZED=`sysctl -n net.inet.ip.portrange.randomized`
portsnap fetch update   # or portsnap cron update
sysctl net.inet.ip.portrange.randomized=$RANDOMIZED 
-- snip -- 

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to