May 20th, 2012 by Lars-Georg Paulsen
Got a problem updating php5-extensions via portupgrade?
There is a dependency that shouldn’t be there, that is messing up the automatic upgrade of php5-extensions.
php5-sqlite is the sinner!
#pkg_deinstall php5-sqlite -f
—> Deinstalling ‘php5-sqlite-5.3.13′
pkg_delete: package ‘php5-sqlite-5.3.13′ is required by these other packages
and may not be deinstalled (but I’ll delete it anyway):
php5-extensions-1.6
#pkgdb -F
—> Checking the package registry database
Stale dependency: php5-extensions-1.6 -> php5-sqlite-5.3.13 (databases/php5-sqlite):
-> Deleted. (irrelevant)
Tags: FreeBSD, php5-extensions, php5-extensions-1.6, php5-extensions-1.7, php5-sqlite, portupgrade
Posted in FreeBSD | No Comments »
May 16th, 2012 by Lars-Georg Paulsen
My current hosting provider has kindly provided me with a /64 IPv6 Net. Time to get connected!
The normal wiki entry doesn’t include a FreeBSD setup, and after a couple tries, and google on my side is still couldn’t get it working.
A couple of emails later to support asking for help, they kindly informed me that they had given me the wrong net…..
Changed my Net, and I was running IPv6.. Yeah!
So what did I do to get a working IPv6 connectivity when your have been given a /64 net, and your default gw is on another subnet.
Edit the following files, and add some information.
I used the following example information
My Network: 2001:DB8:100:1
My Gateway: 2001:DB8::1
/etc/rc.conf ==>
#IPv6
ipv6_enable="YES"
ipv6_ifconfig_re0="2001:DB8:100:1"
ipv6_static_routes="gwNet gwHost"
ipv6_route_gwNet="2001:DB8::1/128 -iface re0"
ipv6_route_gwHost="2001::/3 2001:DB8::1 -iface re0"
ipv6_default_interface="re0"
Tags: FreeBSD, IPv6
Posted in FreeBSD, Network | No Comments »
February 25th, 2011 by Lars-Georg Paulsen
FreeBSD has just released a new stable release! (8.2-RELEASE)
And as this is my beloved OS for running servers on, it was time to update.
But I was scared!
I’ve started using FreeBSD with ZFS boot.
Last time I did a ‘freebsd-upgrade’ my zfs boot went super dead.
And this time I didn’t have an test platform either….
VirtualBox to the rescue
I know it wouldn’t be just the same, but it would be better to simulate it on this,
rather then just bet on my luck!
The upgrade from 8.1-RELEASE and 8.2-RELEASE when without any issues.
And when I issued the ‘zpool upgrade tank’, I crossed my fingers…..
gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0
What a nice message!
After search the web, I came across this maillist entry.
Should I used the /src/UPDATE instruction or follow what ZFS says….
ZFS is the king! It worked as a sharm, and the virtualbox setup upgraded without any issues.
Without hesitation I when to my production server, and upgrade.. No problemo!.
Me just loves sexy freebsd!
Tags: 8.2-RELEASE, FreeBSD, ZFS, ZFS-boot
Posted in FreeBSD | No Comments »