Archive for November, 2004

110177802958899074

Hibernate with Tomcat
Here is a quick HowTo quickly start on using Hibernate with Tomcat.

http://www.hibernate.org/hib_docs/reference/en/html/quickstart.html

Leave a Comment

110169729763583020

Good old Nautilus

http://gnome-hacks.jodrell.net/hacks.html?id=60

Leave a Comment

apt-get vs emerge

apt-get vs emerge

After upgraded to FC3, I tried to install apt and gave apt-get a try. After explored a various subcommands and installed/upgraded a few packages, I am happy with its ease of use.

However, when comapring to emerge from Gentoo, I found it has one very nice feature that apt-get doesn’t have: search. With search, emerge allows me to browse a list of applications that has a matching string in its name or description. This can be useful if I am interested to see what related packages are available and perhaps install a different implementation as a result of such search.

So, here is my RFE for the developers on apt. Even without such a minor feature, apt-get still blows the dust off uptodate/yum.

Peace!

Comments (2)

110158869228824105

Some useful tips to fix your out-of-box fc3:

http://www.mjmwired.net/resources/mjm-fedora-fc3.shtml

DVD still doesn’t work…. to fix later

Leave a Comment

Oracle 9i on linux is no fun

Oracle 9i on linux is no fun

I have installed Oracle many times. I have never encountered as many issues during installation on Solaris or Windows. However, when I tried it on Linux, I get errrors left and right.

The first error that I encountered was JVM unable to initialize. Please see error below:

—————–

Initializing Java Virtual Machine from /tmp/OraInstall2004-11-26_10-31-58PM/jre/bin/java. Please wait…

head: `-1′ option is obsolete; use `-n 1′ since this will be removed in the future

Error occurred during initialization of VM

Unable to load native library: /tmp/OraInstall2004-11-26_10-31-58PM/jre/lib/i386/libjava.so: symbol __libc_wait, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

—————–

I worked around the issue by edit the JRE_LOCATION parameter in Disk1/install/linux/oraparam.ini file. (source: http://www.oracle-base.com/articles/9i/Oracle9iInstallationOnFedora1.php)

Then the installer complained that it doesn’t have enough primission. Please see error message below:

—————–

Error: you do not have sufficient privileges to write to the specified path. in component Database Configuration Assistant 9.2.0.1.0 . installation cannot continue for this component.

—————–

I tried a suggestion by chmod /var/log to 777 (source: http://www.tek-tips.com/viewthread.cfm?qid=952748&page=1), however that didn’t help. Looks like I’ll need to strace the thing to find out what the installer is trying to do down there on the disk.

In the process of strace the installer, I discovered that “> file” doesn’t work on Linux when part of the file contains binary.

I also found out that tail command do have a limit. After certain limit, the output will be the same as the original file. Before the limit, I would get a small fraction of the original file. The fraction is around 1/10. Increase the limit by about 1/3,which was beyond the limit, the output has the same size as the original file.

I did a little filtering by first grep for “stat” to see what files the installer is trying to lookup, then look for error message “ENOENT”. Since I know that the installer was trying to write and couldn’t, then I can ignore /tmp, lib directories, JDK directory, and oracle home directory. Since I took a snap shot of the trace file right after the error occurred, I was able to eliminate all the cleanup activites and able to “see” the errors toward end of the trace file. Anyway, I don’t really see much beyond the following:

—————

3388 stat64(“/usr/bin/save”, 0×7fffe800) = -1 ENOENT (No such file or directory)

3388 stat64(“/usr/bin/nsr/save”, 0×7fffe820) = -1 ENOENT (No such file or directory)

3388 stat64(“/opt/networker/bin/save”, 0×7fffe8b0) = -1 ENOENT (No such file or directory)

3388 stat64(“/usr/networker/bin/save”, 0×7fffe940) = -1 ENOENT (No such file or directory)

3388 stat64(“/bin/save”, 0×7fffe9d0) = -1 ENOENT (No such file or directory)

3388 stat64(“/opt/usr/networker/bin/save”, 0×7fffea60) = -1 ENOENT (No such file or directory)

3388 stat64(“/usr/opt/networker/bin/save”, 0×7fffeaf0) = -1 ENOENT (No such file or directory)

3388 stat64(“/nsr/res/nsrdb”, 0×7fffec10) = -1 ENOENT (No such file or directory)

3389 stat64(“/sbin/fuser”, 0×7d7fe4b0) = -1 ENOENT (No such file or directory)

3390 stat64(“/sbin/fuser”, 0×7d7fe4b0) = -1 ENOENT (No such file or directory)

3391 stat64(“/sbin/fuser”, 0×7d7fe4b0) = -1 ENOENT (No such file or directory)

3393 stat64(“/sbin/fuser”, 0×7d7fe4b0) = -1 ENOENT (No such file or directory)

3394 stat64(“/sbin/fuser”, 0×7d7fe4b0) = -1 ENOENT (No such file or directory)

3395 stat64(“/sbin/fuser”, 0×7d7fe4b0) = -1 ENOENT (No such file or directory)

—————

All of the listed files/directories do no exist.

It’s late for me, I guess I’ll need to install on a different OS to get it up and running.

Comments (4)

oracle on linux

oracle on linux

http://www.oracle-base.com/articles/9i/Oracle9iInstallationOnFedora1.php

Leave a Comment

Fedora Core 3 pages

Fedora Core 3 pages

http://rebus.webz.cz

http://www.freshrpms.net

http://newrpms.sunsite.dk/

http://dag.wieers.com/home-made/apt/

http://ccrma.stanford.edu/planetccrma/software/

http://rpm.livna.org/fedora/

http://atrpms.physik.fu-berlin.de

Leave a Comment

110135667396437471

Development Gateway

http://home.developmentgateway.org/

Leave a Comment

110132155149966519

http://www.nosoftwarepatents.com/en/m/intro/index.html

Leave a Comment

110127394725119306

priority

http://story.news.yahoo.com/news?tmpl=story2&u=/ap/20041123/ap_on_go_co/congress_favored_projects

Leave a Comment

Older Posts »