CentOS and Red Hat (RHEL) Linux (version 5.x) issue: netfs init script fails to auto mount NFS volumes at boot with error: “System Error: No route to host”:
This can be caused by network protocol initialization taking place after the network setup completing, such as with an 802.3ad LACP bonded link. Some have suggested a fix of a predetermined sleep period in the /etc/rc.d/init.d/netfs script: CentOS and Redhat problem: NFS mount at boot up fails with error: “System Error: No route to host”
However I have been bitten by Red Hat updates replacing init scripts. They are not supposed to be modified, so what to do. I have also decided to improve on this by adding a limited retry loop to netfs for the NFS mount action. To this end, I create a script in /etc/cron.daily/ of the name netfs_script_modifier with the following contents:
#!/bin/sh
grep -P "^[\t\s]*action \\$\"Mounting NFS filesystems: \" mount -a -t nfs,nfs4$" /etc/rc.d/init.d/netfs # END OF GREP COMMAND
if [ $? -eq 0 ]; then
echo "/etc/rc.d/init.d/netfs doesn't retry NFS mount, modifying."
sed '/[\t\s]*action \$"Mounting NFS filesystems: " mount -a -t nfs,nfs4$/s/.*/for (( i=1; i <31; i=$i+1 )); do action $"Mounting NFS filesystems (try $i): " mount -a -t nfs,nfs4; if [ $? -eq 0 ]; then break; fi; sleep 1; done;/g' --in-place=.netfs_script_modifier /etc/rc.d/init.d/netfs # END OF SED COMMAND
fi
This inserts a for loop limited to 30 tries with a test and break on success and a 1 second delay. This does not, however, take into account a single NFS mount failing out of several successful mounts. That would require enumeration and individual testing of each NFS mount point in /etc/fstab. Not tested is what the mount command returns if a single NFS server out of many fails, and may it cause multiple NFS mounts to the same point. Also, other errors such as authentication will also cause retries. Ideally it would use an /etc/sysconfig/netfs file with an option for the number of attempts, for customers who wanted to limit startup duration at the expense of auto-mounting problematic NFS shares.
tips on iphone jailbreaking which may not be clear:
Tips for compiling fontconfig on Mac OS X when you run into the “configure: line [0-9]*: PKG_PROG_PKG_CONFIG: command not found” error. The clue was found on a page about Autoconf Macros “Autoconf Building Blocks: Macros”.
Most likely you have been installing to the default location, /usr/local/ , but the standard macro location for autoconf is /usr/share/aclocal and it doesn’t know where to pick up the files you’ve been installing in /usr/local/share/aclocal . Just run autoconf -I /usr/local/share/aclocal and then your ./configure should run OK.
Tips for pairing an Apple Remote:
recompiling OpenBSD 3.9 (and higher) to use Adaptec (aac) adapters
The difference between "single ranked" and "dual ranked" DIMMs. See page two of this PDF.
Some server class motherboards require an EPS12v power supply. An example is the Tyan i7320 S5350G2NR dual Xeon motherboard.
Also note that this motherboard has a PCI-Express bus, but no slots for any PCI-Express cards. The PCI-E bus is apparently dedicated to the onboard dual Gigabit Ethernet.
SuSE LES 9 wouldn't give me an alternate console (alt+f2, etc.) until I booted with ACPI disabled.
Compiling netatalk 2 and can't find / doesn't build uams_dhx.so?
Install openssl-devel headers and configure again...
ld: cannot find -lgmodule-2.0
make sure the glib2 dev files are installed...
The BOM (Byte Order Mark) of UTF files can interfere with sending HTTP headers from PHP. I was getting a "cannot modify header information" error trying to set a cookie on UTF-8, but not Macintosh character encoding... setting the file type to "UTF-8 no BOM" did the trick.
iChat saves your sessions in ~/Documents/iChats
Free 3d modeler (and supports Linux!): Wings 3D
Very inexpensive 3d modeler: Silo
Not bad with an educational discount: LightWave 3D
Less expensive than LightWave, but seems to lack a good modeler (and defaults to a centimeter scale rather than meters, so doing architectural work at scale seems to disappear the reference grid): Carrara Pro
Salmon Open Framework for Internet Applications (SOFIA) is a bit touchy about its X11 $DISPLAY environment variable. At least it is on SuSE Linux Enterprise Server 8 w/Tomcat 4.1 with this crappy facilities management web interface Java app. Of course, this crappy FM web interface seems considerably better than the one it replaces.
Solution: set DISPLAY=localhost:0.0 in one of the startup scripts.
On SuSE Linux Enterprise Server 9 w/Tomcat 5.0, set the variable like this: export DISPLAY=:0.0
You have to have an X session logged in and issue either "xhost +localhost" and/or "xhost +[your ip here]" .
Mac OS X (not server) has a default of allowing guest access if you turn Personal File Sharing on. Instructions on how to fix that.
Nessus is a nice security assessment package. Here's how to install it on Mac OS X.
Three useful extensions for Firefox:
If you go to about:config in Firefox, you can change raw preference values. I had to change accessibility.tabfocus to 3 so I could tab through form control fields.
You won't be able to build on that system unless you arrange HDD space to bypass the Adaptec adapter in question. Do that or find a similar system with a compatible HDD.
These instructions are also a slight modification of the release(8) instructions found in the BSD man pages. They should take, counting compilation, about 5 hours. There are likely faster ways to do this. Total man hours should be about an hour. The OpenBSD team has disabled AAC for good reasons, please evaluate the reliability of using the AAC module within your own requirements.
Say you did something dumb: you took the battery out of your 1996 Jaguar XJ6 and closed the trunk, but the key doesn't open the trunk. (My key mechanism must be broken.) There are two points to energise your vehicle to enable the electric release mechanism.
One is on the firewall, passenger side, /1/3 down from the windshield. It is protected by a black rubber boot.

The second is behind the footwell of the rear-passenger. There should be a thick cable with a crimp mounted to a bolt running across the top of the fuse / relay area. It should be protected by a black rubber boot.

Last Modified: Friday, March 05, 2010