The link problem
The installation process stops midway, complaining about a certain make target having some error message.
Read this post for fixing that :
Here
Thought the post points to an older version of Ubuntu, it works on Gutsy just as good.
Things to do to make it work automatically on each reboot :
1. create a script in init.d, Sample Here
2. Create further links for that script in diff rc.d directories. Remember, the suggested commands in the page referred above are not correct completely. The path needs to be changed. So, check ur box, and then update the path.
3. In the script, there is no reference to the listener start/stop thing, u got to do that urself. So, add ${ORACLE_HOME}/bin/lsnrctl {start|stop} before the dbstart and dbshut respectively.
Here's my copy for reference...
----------------------------
#! /bin/sh -x
#
# Change the value of ORACLE_HOME to specify the correct Oracle home
# directory for your installation.
#ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
ORACLE_HOME=/media/sda8/oracle/product/10.1.0.1
#
# Change the value of ORACLE to the login name of the
# oracle owner at your site.
#
ORACLE=oracle
PATH=${PATH}:$ORACLE_HOME/bin
HOST=`hostname`
PLATFORM=`uname`
export ORACLE_HOME PATH
case $1 in
'start')
${ORACLE_HOME}/bin/lsnrctl start
$ORACLE_HOME/bin/dbstart $ORACLE_HOME &
;;
'stop')
${ORACLE_HOME}/bin/lsnrctl stop
$ORACLE_HOME/bin/dbshut &
#$ORACLE_HOME &
;;
*)
echo "usage: $0 {start|stop}"
exit
;;
esac
#
exit
----------------------------
4. The files at $ORACLE_HOME/network/logs behave strangely when root tries to start a listener. So, mark them 777 and then the listener control from root works fine.
When i know more, I would post...
what are we ? we are what we experience. And some more. I bring together here, collective experiences from different parts of life..
Sunday, December 30, 2007
Wednesday, October 10, 2007
Wednesday, August 22, 2007
Controllers dont respond when...
I had this problem when the server is running nice and fine, but the controllers wont respond. Look at this post http://railsforum.com/viewtopic.php?pid=36358.
And then I realized the reason for the problem, quite by chance actually, but I found that the current location while launching the server program did matter.
When I start the server from the application-root directory (.../railsapp/sampleApp/ ) using ./script/server it always works fine.
However, if I start the server from .../railsapp/sampleApp/script using ./server it doesnt work.
I think the trick is that from application-root it seems all the application components and directories etc.
Its not a big thing, though I now wish that it was documented properly somewhere.
cheers
raghav..
And then I realized the reason for the problem, quite by chance actually, but I found that the current location while launching the server program did matter.
When I start the server from the application-root directory (.../railsapp/sampleApp/ ) using ./script/server it always works fine.
However, if I start the server from .../railsapp/sampleApp/script using ./server it doesnt work.
I think the trick is that from application-root it seems all the application components and directories etc.
Its not a big thing, though I now wish that it was documented properly somewhere.
cheers
raghav..
Saturday, August 11, 2007
Catching up...with rails
Well, I have been reading and experimenting a lot with rails past days.. but didnt really take time out to report anything significant...
First things first, I am deeply interested in this thing now... I am getting more and more into this with each new experiment I come across.
As I mentioned, I have had my experience with web programming, (with Java, J2EE in 2001-2) but that was very different. I was a novice to IT industry in more than one ways... and if I compare what we had to do at that time to make one servlet run on a given app server, current effort looks minuscule. Its just so much more simple.. easy.. I like it.
In the meantime, I have been working on different technologies, really far away from the web world. But, after my brush with ruby, I am actively thinking of getting into more web based app development.
In the days that passed by, I have tried to follow a few tutorials which were really nice starters for me. I list them here...
And then, I got hold of some books on ruby on rails...
Agile web development with rails 2nd Edition, is a masterpiece for rails starters. May be I liked it more given my background in programming, but I have to say, it just such a nice book... I really have to give the writer guys full marks for putting across such a nice book. Great work guys.. keep it up.
First things first, I am deeply interested in this thing now... I am getting more and more into this with each new experiment I come across.
As I mentioned, I have had my experience with web programming, (with Java, J2EE in 2001-2) but that was very different. I was a novice to IT industry in more than one ways... and if I compare what we had to do at that time to make one servlet run on a given app server, current effort looks minuscule. Its just so much more simple.. easy.. I like it.
In the meantime, I have been working on different technologies, really far away from the web world. But, after my brush with ruby, I am actively thinking of getting into more web based app development.
In the days that passed by, I have tried to follow a few tutorials which were really nice starters for me. I list them here...
- links courtesy Ruby on Rails site (www.rubyonrails.org). These tutorials might be old in time, but they are still excellent starts for ruby on rails
And then, I got hold of some books on ruby on rails...
Agile web development with rails 2nd Edition, is a masterpiece for rails starters. May be I liked it more given my background in programming, but I have to say, it just such a nice book... I really have to give the writer guys full marks for putting across such a nice book. Great work guys.. keep it up.
Sunday, July 29, 2007
Making the fonts look better on Ubuntu
Hi,
Just found a better way of rendering fonts on Ubuntu..
I was looking for making the fonts look better on my Feisty Fawn. While searching, I hit this - http://jaganath.wordpress.com/2006/07/16/ubuntu-install-log-6-finally-os-x-like-font-rendering-in-linux/
The following page suggests some tips/packages to be installed for better rendering.
http://ubuntuforums.org/showpost.php?p=1041769&postcount=1
However, I must warn that, after installing the attached files, the system will be BROKEN. Not because what he is suggesting is incorrect in any way, rather just because in Feisty fawn the same packages are
sudo apt-get install libcairo2 libcairo2-dev libfreetype6 libfreetype6-dev libxft2
And, lest I forget to mention, run the following command...
sudo dpkg-reconfigure fontconfig-config
Hope that its useful. AND, I must say, the suggestion for the fonts settings work excellently.. absolutely great.
have fun
raghav..
Just found a better way of rendering fonts on Ubuntu..
I was looking for making the fonts look better on my Feisty Fawn. While searching, I hit this - http://jaganath.wordpress.com/2006/07/16/ubuntu-install-log-6-finally-os-x-like-font-rendering-in-linux/
The following page suggests some tips/packages to be installed for better rendering.
http://ubuntuforums.org/showpost.php?p=1041769&postcount=1
However, I must warn that, after installing the attached files, the system will be BROKEN. Not because what he is suggesting is incorrect in any way, rather just because in Feisty fawn the same packages are
- available in the repositories
- available in newer versions.
sudo apt-get install libcairo2 libcairo2-dev libfreetype6 libfreetype6-dev libxft2
And, lest I forget to mention, run the following command...
sudo dpkg-reconfigure fontconfig-config
Hope that its useful. AND, I must say, the suggestion for the fonts settings work excellently.. absolutely great.
have fun
raghav..
Thursday, July 12, 2007
Introduction to Rails
Well,
I have worked with C, C++, Java and shell scripts in past. And I never really was looking for learning another programming language till I met Mr Marcel Canclini. Marcel as we all call him, is an ardent Apple fan and been playing around with ruby on rails for a few months now.
I intend to make this a record of what I experience with ruby on a regular basis and how I progress...
I have worked with C, C++, Java and shell scripts in past. And I never really was looking for learning another programming language till I met Mr Marcel Canclini. Marcel as we all call him, is an ardent Apple fan and been playing around with ruby on rails for a few months now.
I intend to make this a record of what I experience with ruby on a regular basis and how I progress...
Order for installing ruby gems locally
For installing ruby on rails basic framework when u dont have access to internet, you could follow the following order of installing gems...
Install Ruby
Install RubyGems
Install different gems
Also found some more info on installation of rails when internet connection is actually available. Here's the source of info, the rails wiki site
Install Ruby
Install RubyGems
Install different gems
Also found some more info on installation of rails when internet connection is actually available. Here's the source of info, the rails wiki site
- Installing Ruby
sudo apt-get install ruby irb ri rdoc ruby1.8-dev build-essential- Installing Ruby Gems
sudo apt-get install rubygems- Installing Rails
sudo gem install rails -y- Installing MySql
sudo apt-get install libmysql-ruby mysql-server libmysqlclient15-devsudo gem install mysql
Subscribe to:
Posts (Atom)