Archive for April, 2006
I ran into this alert or error message almost all the time after installing a new Apache server. Everytime I do a restart on the apache server, it will say:
[alert] httpd: Could not determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
Since this is just an alert and Apache try to fix this issue automatically by assigning the server’s fully qualified domain name to 127.0.01 for servername. But you can always fix this by defining the ServerName within the http.conf file. So for example you have a hostname named stereo, then you will add the following to your httpd.conf:
ServerName stereo
You can always find out your server’s hostname by typing hostname. Then you might also want to speficy the following in your /etc/hosts file:
127.0.0.1 stereo localhost localhost.localdomain
April 15th, 2006
Time for a new project. A new 50 Mbits server that I ordered last monday is up and running. It took about 5 days for the server setup. Tried to login as root and got this message.. “Password auth with the SSH2 server failed”…
So what is wrong.. I did double check the username and password and still can’t log in. Next, time to contact the network administrator. They responded to me saying they did make a boo-boo. They gave me the wrong IP address the first time and appologized to me. Thats ok.. people do make a mistake once in a while hehe
Now, that I have the correct IP address… time to mess with the server… first move is to check on system information..
Those commands executed as shown in the picture confirm that the server is an Intel P4 2.8 Ghz CPU with 1MB L2 Cache, 1024 MB of DDR RAM, and 80 GB of disk space. That is about all the information I need to know for now. Maybe execute the command to confirm the Linux distribution as well using cat /etc/issue and it says CentOS release 4.2 (Final). That is what I expected.
A speed test done using wget to kernel.org shows us that the download speed is about 1.86 Mbps, which is a significantly good download speed within the continental U.S. The rest would be to fix the machine time, hostname, services, speed and other things to suit the usage. Time to mess with it again..
April 15th, 2006
Four years has passed and this year world cup will kick off in 58 days. If you are a soccer fan, this year wold cup in Germany certaintly could not be missed. All 64 matches would be aired on ABC, ESPN, ESPN2. According to the news ABC/ESPN has paid FIFA $100 millions for the American English languange rights for the next two world cups. I could still remember how much fun I had watching the 2002 world cup. Most of the matches would play during night time in Germany. Therefore, if you are to watch these games live at west coast area which is PST, then it would be early morning at about 9 AM. I guess time is no longer a factor since you can get a TiVo and there is your freedom to watch any show anytime anywhere
April 13th, 2006
My graduation ceremony is set on Sunday, June 11, 2006. I have not yet purchased my cap, gown and tassel as they are available for purchse starting April 27. The engineering grads stole is orange in color. I am planning to purchase the honor stole and cord as well. I am probably allowed to only wear 1 stole and maybe several cords during the commencement. Therefore I am still considering on which to purchase. If I am to get from TBP, they look like below:
When I looked at the TBP stole, it looks a little funny or maybe not. It is white and triangular in shape. Maybe I will not wear that stole and wear the stole shown below from HKN instead. The other set will be from HKN, and they look like below:
I like the looks of the cord from TBP and both the stole and cord from HKN. I have to make my decision really soon to place an order for the stoles and cords. Because I am adviced that if I am to order early, they will arrive in time. I am considering to order all of them and just wore the ones that I like. I am also considering the GoldenKey Medallion and Ribbon. Oh.. is this too much of a graduation accessories
April 6th, 2006
I have not been using shoutcast for long. But here is the unix shell script to autostart your shoutcast server or any other services once it is down. First create a blank file on your shell command like this
touch autostart-shoutcast
Then use your favorite text editor program such as nano, pico or vi and insert the following unix shell script:
#!/usr/bin/perl
@a=qx{ps x | grep -i shoutcast-radio};
$b=1;
foreach (@a) {
 if ($_ =~ /grep/) {
 $_ =~ s/.*/blah/g;
 }
 if ($_ =~ /shoutcast-radio/) {$b=0;}
}
if ($b == 1) {
 print “Starting up\n”;
 qx{cd ~/shoutcast/ ; ./shoutcast-radio &> /dev/null &};
}
Make sure it is executable, using the chmod command like below:
chmod 755 autostart-shoutcast
Finally setup your crontab like below:
0,10,20,30,40,50 * * * * /home/shoutcast/autostart-shoutcast &> /dev/null
April 6th, 2006
I am now in the process of becoming a member of Eta Kappa Nu Electrical and Computer Engineering Honor Society. Induction ceremony will be held on Friday, May 26, 2006. I am also a member of Golden Key International Honour Society. One of the requirements to be a member of HKN is to complete the soldering of the Wheatstone Bridge and get fifteen HKN members to verify the completion. I have completed this and have submitted my Bridge to the chapter members. I certainly did not have a lot of fun soldering the Bridge
April 5th, 2006
Today, I have looked into WPG2 plugin for WordPress. After spending a couple of hours into tweaking the codes to accomodate what I needed, it was successful. I have got Gallery2 embedded into WordPress and a working random picture sidebar. I have also tweaked the Blix theme to display the categories and calendar menus.
April 5th, 2006
I am looking into integrating Gallery2 into this new WordPress installation really soon. I hope everything will go smoothly. The additional capability to add and create photo albums that is embedded into this blog would be nice..
April 3rd, 2006
Sorry for the long absence of update. I have not been into blog during those period of time. I have an idea of a new domain name so here it is… I have registered a brand new domain name chendarma.com and also I have decided to use WordPress as my blog tool instead of the old b2evo which is practically outdated.
April 3rd, 2006