Posts

Showing posts from 2011

Oracle 10g installation steps in CentOS 5

 Download the Oracle 10g database from the Oracle website. Graphical environment should be installed correctly in the server before installing oracle. Open a terminal command line and Untar the zip file and go to the folder 'database'. From there type the below given command as a user other than root. Better create a user named 'oracle'. ./runInstaller -ignoreSysPrereqs If you find any error as shown below, ---------- Initializing Java Virtual Machine from /tmp/OraInstall2008-08-25_11-53-58AM/jre/bin/java. Please wait... Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2008-08-25_11-53-58AM/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory  --------- Then install libXp as shown below, yum install libXp And then give the command 'runinstaller' . The software will then open a graphical interface and will check for the system requirements. If it shows some errors in th

Installing RPMforge for CentOS 5

Image
The default RPMforge repository does not replace any CentOS base packages. In the past it used to, but those packages are now in a separate repository (rpmforge-extras) which is disabled by default. You can find a complete listing of the RPMforge package packages at http://packages.sw.be/ Download the rpmforge-release package. Choose one of the two links below, selecting to match your host's architecture. If you are unsure of which one to use you can check your architecture with the command uname -i i386 http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm x86_64 http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm The preferred rpmforge-release package to retrieve and to install in order to enable that repository is one of the two listed above. Install DAG's GPG key rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt Verify the package you have downloaded rpm -K rpmforge-release-0.5.2-2.el5.rf.*.rpm Securi

Oracle command to lock,unlock and change password of a user

Oracle commands to lock and unlock a user alter user user_name account lock; alter user user_name account unlock; To change a user's password in Oracle, alter user user_name identified by new_password ; user_name is the user whose password you wish to change. new_password is the new password to assign. user_name must be substituted with the real username. new_password with the password.

When OE Inbox.dbx becomes too big

  You have two choices. If you do not have any messages that you need, you can just wipe out the Inbox by creating a new one. If you do have messages you need, do the following, but instead of deleting the Inbox.dbx, rename it to Inboxold.dbx. You will still have a new empty, and working Inbox, but will need a tool to retrieve the lost messages.  Tools | Options | Maintenance | Store Folder will reveal the location of your Outlook Express files. Write the location down and navigate to it in Windows Explorer or, copy and paste it into Start | Run. In WinXP, Win2K & Win2K3, the OE user files (DBX and WAB) are by default marked as hidden. To view these files in Windows Explorer, you must enable Show Hidden Files and Folders under Start | Control Panel | Folder Options Icon | View, or in Windows Explorer | Tools | Folder Options | View. With OE closed, find the Inbox.dbx. as mentioned above, if there isn't any mail such important, you can delete them directly oth

How to restore Outlook Express items

Note To restore items when you use multiple identities in Outlook Express, you may have to re-create the identities before you follow these steps. Repeat each step as needed for each identity. Step 1: Import messages from the backup folder On the File menu, point to Import , and then click Messages . In the Select an e-mail program to import from box, click Microsoft Outlook Express 5 or Microsoft Outlook Express 6 , and then click Next . Click Import mail from an OE5 store directory or Import mail from an OE6 store directory , and then click OK . Click Browse , and then click the Mail Backup folder. Click OK , and then click Next . Click All folders , click Next , and then click Finish . Step 2: Import the Address Book file On the File menu, click Import , and then click Other Address Book . Click Text File (Comma Separated Values) , and then click Import . Click Browse . Select the Mail Backup folder, click the address book backup.csv file, and then click Op

How to back up Outlook Express items

Step 1: Copy message files to a backup folder Step A: Locate the Store folder Start Outlook Express. Click Tools , and then click Options . On the Maintenance tab, click Store Folder . In the Store Location dialog box, copy the store location. To do this, follow these steps: Put the mouse pointer at one end of the box under the Your personal message store is located in the following folder box. Press and hold the left mouse button, and then drag the mouse pointer across the Your personal message store is located in the following folder box. Press CTRL+C to copy the location. Click Cancel , and then click Cancel again to close the dialog box. Step B: Copy the contents of the Store folder Click Start , click Run , press CTRL+V, and then click OK . On the Edit menu, click Select All . On the Edit menu, click Copy , and then close the window. Step C: Create a backup folder Right-click any empty area on your desktop, click New , and then click Folder . Type Mail B

Helpful postfix commands

mailq   ( shows all the mail sitting on your server) postsuper -d ALL    ( removes all mail in the queue) postsuper -d ALL deferred   ( removes all mail in the deferred queue) postqueue -f   ( attempt to deliver all the mail in the queue forcefully) postcat -q C95D57032E ( Show details of the mail named ' C95D57032E'  from the mail queue.

Rare cyrus imap error

If you find an error such as shown below ================= Connection refused_ 421 4.3.0 deliver: couldn't connect to lmtpd_ ) ================= fix is shown below /usr/cyrus/bin/master