UNIX Recent Entries

netatalk.png

MacOSX 10.7 Lion doesn't support old version of netatalk (2.0.x?). Lion won't mount older version of netatalk volume and an error occurred.

It needs to be updated to the latest version.
After the update, if CNID DB error occurred, ' cnid_metad_enable="YES" ' must be set in /etc/rc.conf, then restarting netatalk fixes this problem.

vmwarefusion-lnc0error.jpg

An error of FreeBSD on VMware Fusion "lnc0: Missed packet -- no receive buffer" was sometimes annoying me.

When bunch of this error stacks, virtual machine stacks too.After upgrading Fusion 3, it seems to run more stable, but this error still occurs.

I had been looking for solution to resolve this problem for several months and I found two solutions. The one is installing VMware tools and using vmxnet for Network interface, and another is editing .vmx file and add alternate NIC statement (e1000) in it.

VMware tools for fusion supports ony FreeBSD 6.3 and 7.0. Unfortunatelly I am using 6.2, so my environment was rejected by its installer.

I decieded to change NIC to e1000, and as a result it runs without problems.

rsync-deletes.jpg

I did forget that rsync with --delete option deleted data in the backup directory while rsync is building first index.

After I reconstructed my backup RAID on the server in my local network, I executed rsync --delete then it deleted all backup data. It was too late when I was aware of it.

It is better to do it with --dry-run when you rsync at first time.

php.png

After installing php5 from ports, php error said "preg_match" was undefined.

This is because I forgot check install option "PCRE" while making port. Just make clean, rmconfig, and reinstall with PCRE, then restart Apache.

gnufreebsd.jpg

Errors occured while compiling autoconf-2.62 of FreeBSD ports,

"autoconf-2.62.texi:1723: Unknown command `'.".

To solve this problem, remove old version of makeinfo from /usr/bin/makeinfo, and install new version of makeinfo by installing textinfo from ports (/usr/ports/print/textinfo).

ssl-embed-passphrase.jpg

Just note a tip to skip SSL pass phrase on starting httpd.

# openssl rsa -in KEYFILE -out KEYFILE_EMBED

Every time I forget when I install SSL certificate.

php+apache.jpg

Apache2.1.11+php4.4.9 (on FreeBSD6.2) makes httpd processes stacked, and they are going to be dumb.

The problem was fixed by upgrading php to the version 5.2.8.

ssh.png

I forgot a ssh configuration to keep SSH session alive, and remembered it while I was using my second machine.

Write the following setting in ".ssh/config".

----------

ServerAliveInterval   60

----------

The number is request time to keep your connection alive.

terminal-hx.jpg

.screenrc and Terminal setting for Japanese characters on hx.

----------
startup_message   off
escape   ^z^z
vbell   off
defencoding   sjis
----------

Set text encoding "Unicode (UTF-8)" in the settings of Terminal. (default)

screenmacosx.jpg

Installing GNU Screen on Mac OS X 10.5 failed while its make process.

It shows errors that say "warning: 'utmp' is deprecated". The patch of MacPorts resolves this problem.

With this patch, you can make install though it still occurs some utmp errors.

About this archive

This page contains entries in category of UNIX

Previous category is

Software

Next category is

Web Dev

Recent entries are in

Index Page.

Past entries are in

Archive page

RSS RSS