UNIX Recent Entries
After installing SPAMASSASSIN, an error occured on its startup.
The message is
# error: Can't locate Sys/Syslog/Win32.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8) at (eval 19) line 2.
You can fix this Syslog.pm bug by commenting out the line in Syslog.pm (I edited "/usr/local/lib/perl5/5.8.8/mach/Sys/Syslog.pm" on my system/FreeBSD6.2.)
# use EventLog on Win32
my $is_Win32 = $^O =~ /Win32/i;
#eval "use Sys::Syslog::Win32"; # commented out this line
After upgrading Apache 2.2, you sometimes encounter the error "[warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter" on FreeBSD.
You need load "accf_http.ko" by kldload.
(kldload can loads dynamically kernel module without rebuilding kernel.)
# sudo kldload accf_http.ko
And enable it in loader.conf
# vi /boot/loader.conf
accf_http_load="YES"

After installing the latest ImageMagick (6.4.2), an error occured on MovableType image upload interface. The error said "/usr/local/lib/libMagickCore.so.1 Undefined symbol "pthread_equal".
A web source tells it causes because of misconfigure on some version of FreeBSD (I guess 5.x or earlier version. It works fine on my 6.2.)
An easy solution is disable "thread".
Try it on configure process.
# ./configure --without-threads
Sometimes CPAN install fails because of registered site's problem.
You can change the URL by this command.
cpan> o conf urllist push "CPAN URL"
CPAN site list is available on CPAN SITE page.
If you are UNIX-ite, you will like the web site "Goosh".
"Goosh" is a web based Google interface which imitates unix type CUI.
It has UNIX commands like "ls", "more", "clear", "cd", etc.
You can search images and videos by the command "images" and "video". And also "wiki", "news", "blogs", "feeds", "place", "translate" are available.
This is kind of worthless web program but you can just have fun on unique type of web site.
I needed a CPAN module "File::Basename 2.76" (It seemed to be included from perl version 5.10.0), so upgraded perl to version 5.10.0.
As a result, MovableType4.1 got an error in its library.
(Got an error: Can't locate object method "configure" via package "MT::ObjectDriverFactory" at lib/MT.pm line 877.)
I removed 5.10.0 and switched it back to 5.8.8.
MT4.1 is not incompatible with perl5.10.0 at this moment.
Everytime I build vqadmin, I forget the configuration of apache for vqadmin.
Here is the note for me to set vqadmin directive in apache configuration.
-------------------------------------------
Put a conf file named like "httpd-vqadmin.conf" into the directory "Include" or "extra" under "apache22" directory.
And write this directive in it.
<Directory "/usr/local/www/apache22/cgi-bin/vqadmin">
deny from all
Options ExecCGI
AllowOverride AuthConfig
Order deny,allow
</Directory>
-------------------------------------------
Quoted from the page,
http://luac.net/~ssk/pwiki/index.php?vqadmin