Ruby:no such file to load — net/https

gem_original_require’: no such file to load — net/https (MissingSourceFile)

If you get this error when getting your app up and running under Ubuntu it means you still need to install the libopenssl-ruby library:

sudo apt-get install libopenssl-ruby

No Comments

Fetion in Linux world

libfetion: I can’t login with mobile phone number now, but can login with fetion id.
openfetion: new project http://sourceforge.net/projects/ofetion/

when I do apt-get update. got some error
“GPG error: http://ppa.launchpad.net lucid Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY FA9C98D5DDA4DB69

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FA9C98D5DDA4DB69

No Comments

Solaris Patching

Busy with Solaris patching these days. some servers didn’t reboot/patch for more than 3 years.

Some tips:
1. “ERROR: LSI1030: timeout waiting for interrupt status.
ERROR: LSI1030 MPT Firmware, receive-message: issue-port-enable failed.”

Possible Answers:
1st:
{3} ok setenv auto-boot? false
{3} ok reset-all
{3} ok probe-scsi-all
sc>reset -y
Read the rest of this entry »

No Comments

Volume group “VolGroup00″ not found

Met a problem when try to copy virtualbox vdi file directly from Windows virtualbox to Linux

“Error: Volume group “VolGroup00″ not found
……
Kernel panic – not syncing: Attempted to kill init!”

Solution:
First, boot up in rescue mode, using the CentOS cd, type “linux rescue” on the first boot prompt.

Now chroot to you actual system:
#chroot /mnt/sysimage

Then, backup your initrd:
#cd /boot
#mv initrd-2.6.18-164.el5.img initrd.backup

(use the last version, or the one you are trying to boot, on the “2.6.18-92.el5.img” part)
Now rebuild your initrd:

#mkinitrd /boot/initrd-2.6.18-164.el5.img 2.6.18-164.el5
(Same thing about the versions)

#reboot

,

No Comments

Play with Grub2

Grub maybe a headache to old grub users, I updated my Laptop with New version,
really took some time to get familiar with grub2. Here is a good article :)
Cool Links for Grub2

http://www.howtogeek.com/howto/17787/clean-up-the-new-ubuntu-grub2-boot-menu/

,

No Comments

contain holes – can’t swap on it.

root@home# mkfile 512m /var/swapfile
root@home# swap -a /var/swapfile
“/var/swapfile” may contain holes – can’t swap on it.

the above is ok for UFS, but not work in ZFS.

Solution:
root@home# zfs create -V 1gb rpool/swapfile
root@home# swap -a /dev/zvol/dsk/rpool/swapfile

Good articles on Swap

http://blogs.sun.com/jimlaurent/entry/solaris_faq_myths_and_facts

,

No Comments

mount: /mnt/nfs: Not owner

nfs mount: mount: /mnt/nfs: Not owner

When you get this error from a Solaris Host, because you are trying to mount an nfsV3 share with an nfsV4 client.

This occurs when you want to share an nfs from a linux host to a solaris host.

Just use the option vers=3 to avoid this problem or configure nfsV4 on the linux host.

mount -o vers=3 linux_nfs_01:/htdocs /htdocs

,

No Comments

Alfresco installation Guides

Alfresco offers true Open Source Enterprise Content Management (ECM) – Document Management, Collaboration, Records Management, Knowledge Management, Web Content Management and Imaging.

Installation guides with snapshots, clear to follow

http://www.linuxdict.com/books/Alfresco.pdf

PS: The Alfresco installer also support console, so we can install minimal system. and install the Alfresco. no X is needed.
Details: http://wiki.alfresco.com/wiki/Main_Page

No Comments

How to enable apache modules in Debian/Ubuntu-likes

Simple:
sudo a2enmode rewrite

, ,

No Comments

Where is nagstamon configuration?

My nagstamon crashed sometimes and the configuration lost.

but can’t find where the hell configuration is. so got the solution: define the configuration manually.

Everything should get at its place and you can start it from Start menu/Programs/nagstamon. When run from command line with “nagstamon” you can pass a configfile like “nagstamon configfile” in case you want to store it at another place than default. It starts automatically at login. Details: http://nagstamon.sourceforge.net/setup/

Now my shortcut looks like: “C:\Program Files\nagstamon\nagstamon.exe” nagconfig.conf
The configuration lays in C:\Program Files\nagstamon\nagconfig.conf , good news it also encryto the password. cool :)

, ,

No Comments