Skip to main content

Posts

Convert FAT32 disk to NTFS in Windows

Issue below command in DOS prompt. convert <Drive Letter>: /fs:ntfs Eg: C:\Documents and Settings\pubudu>convert l: /fs:ntfs The type of the file system is FAT32. Volume PUBUDU-SUPP created 8/3/2012 4:29 PM Volume Serial Number is B0FB-D07D Windows is verifying files and folders... File and folder verification is complete. Windows has checked the file system and found no problems.    15,609,312 KB total disk space.            32 KB in 4 hidden files.         3,344 KB in 413 folders.     3,453,464 KB in 2,611 files.    12,152,464 KB are available.         8,192 bytes in each allocation unit.     1,951,164 total allocation units on disk.     1,519,058 allocation units available on disk. Determining disk space required for file system conversion... Total disk space:              15624576 KB Free space ...

Change User Password in Linux

Steps to  Change User Password in Linux 1.Login as the root user 2.Type the following command: passwd oracle 3.Enter New password 4.Confirm the new password 5.Then open another terminal and login as Oracle with new password. Eg: login as: root root@191.161.201.111's password: Last login: Thu Mar  7 00:32:14 2013 from 191.161.201.111 [root@my ~]# passwd oracle Changing password for user oracle. New password:

Network Connection not getting up in RHEL 6

After installing RHEL 6 you may not be able to get network connection up on booting the machine. This is a reported bug in RHEL 6. Follow below steps to solve the issue. Edit   /etc/sysconfig/network-scripts/ifcfg-eth0  file, which is your default first NIC configuration file. If you are using DHCP server: Edit below file and change as given below #vi /etc/sysconfig/network-scripts/ifcfg-eth0 ONBOOT="yes" BOOTPROTO="dhcp" Save & restart networking service, #service network restart  If you are providing manual IP: Edit below file and change as given below #vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 IPADDR=192.10.110.10 NETMASK=255.255.255.0 NETWORK=10.10.10.0 GATEWAY=192.9.110.253 ONBOOT=yes BOOTPROTO=none USERCTL=no Save & restart networking service, #service network restart

ORA-12518: TNS:listener could not hand off client connection

You may get below error when trying to connect to the database using sqlplus or through an application login. ORA-12518: TNS:listener could not hand off client connection Reason: The process of handing off a client connection to another process failed. Solution;   Increase PROCESSES initialization parameter. Use the following command to check the value of the PROCESSES initialization parameter: show parameter processes; If the database was started using an spfile, then the following command can be used to increase the PROCESSES initialization parameter: alter system set processes=600 scope=spfile; If the database was started using a pfile, then the value of the processes parameter must be changed in the pfile and the database bounced.

ftp "500 OOPS: cannot change directory" error

Error: When trying to log in through ftp you may receive below error: ftp 500 OOPS: cannot change directory Solution: In the console do the following (Log in as ROOT) su - getsebool -a | grep ftp setsebool -P ftp_home_dir on getsebool -a | grep ftp Eg: [root@test ~]# getsebool -a | grep ftp allow_ftpd_anon_write --> on allow_ftpd_full_access --> off allow_ftpd_use_cifs --> off allow_ftpd_use_nfs --> off ftp_home_dir --> on httpd_enable_ftp_server --> off

Oracle CSS Daemon

In Oracle CSS Daemon refers to Cluster Synchronization Services  , a daemon process that is used for synchronization between different  RAC  nodes and synchronization between  ASM  and Oracle database instances. To stop the Oracle Cluster Services Synchronization (CSS) daemon, run the following command: On AIX: /etc/init.cssd stop On other platforms: /etc/init.d/init.cssd stop To start the CSS daemon, run the following command: /etc/init.d/init.cssd start This command stops the Oracle CSS daemon and then restarts it. $ORACLE_HOME/bin/localconfig reset