Skip to main content

Posts

Showing posts from February, 2020

SED Command Basic Tutorial in Linux

SED Command Tutorial in Linux Introduction: SED command is very powerful tool in Linux and can be used vastly in shell scripting. It is called as stream editor. It can perform lot of function on a file like replacing,finding,insertion and deletion. It is capable of solving complex text processing tasks with few lines of code. Syntax: sed OPTIONS... [SCRIPT] [INPUTFILE...]  Examples: Lets create a sample file with some context. cat DEMO.txt Example 1) Replace a pattern in a file. It will replace all occurrence of the pattern. I the demo file I am going to replace the word "We" with "I". Please note it don't save the changes it is just show on the screen . himanshu@himanshu-ThinkPad-T430 ~ $ sed 's/We/I/g' DEMO.txt I are an IT Services and Training provider. I are the believers in quality services and support. I develop, support and maintenance services across the globe. I have been de...

Script to update profile in EBS R12

Script to update profile in EBS R12  Script:  Declare Result Boolean; BEGIN    Result:= fnd_profile.SAVE ('APPS_SSO_LDAP_SYNC', 'N', 'SITE');    IF Result    THEN       DBMS_OUTPUT.put_line ('Profile Updated');    ELSE       DBMS_OUTPUT.put_line ('Profile Not Updated');    END IF;    COMMIT; END;

Completely Remove All VirtualBox Setup/Packages and Folders from Linux Mint

Completely Remove All VirtualBox Setup/Packages and Folders from Linux Mint If we are installing virtual box after linux mint update, we might see error " The VirtualBox Kernel Modules Do Not Match This Version of VirtualBox " or  rc=-1912. This might happen due to conflicts with prior installed packages before upgrade. Steps: 1. Check the packages which are installed for virtualbox. himanshu@himanshu-LIFEBOOK-A555 ~ $ dpkg -l | grep virtualbox rc  virtualbox                              5.2.34-dfsg-0~ubuntu18.04.1                         amd64        x86 virtualization solution - base binaries rc  virtualbox-5.2                          5.2.22-126460~Ubuntu~xenial                  ...

Installing and Configuring VNC Server on Linux

Installing and Configuring VNC Server on Linux In this post I am going to share the steps to install VNC server on Linux/Oracle Enterprise Linux server. 1)Install the VNC Server. yum install tigervnc-server 2) Edit the file "/etc/sysconfig/vncservers" file to configure the required displays.   Note: Multiple "display:user" pairs are defined on a single line, but the arguments for each display are defined separately. VNCSERVERS="2:root 3:oracle" VNCSERVERARGS[2]="-geometry 1280x1024 -nolisten tcp -localhost" VNCSERVERARGS[3]="-geometry 1280x1024" 3) Setup the VNC password for all users defined in the "/etc/sysconfig/vncservers" file. Root User # vncpasswd Password: Verify: # Oracle User # su - oracle $ vncpasswd Password: Verify: 4) From root user enable the "vncserver" service for autostart and start the service. chkconfig vncserver on  service ...

Changing Weblogic Administrative Password in EBS/Apps R12.2 if it has been Lost or Forgot

Changing Weblogic Administrative Password in EBS/Apps R12.2 if it has been Lost or Forgot For the EBS WebLogic domain, the Node Manager and WebLogic AdminServer passwords must be same. If the passwords are different, the AD control scripts will not work properly. The following steps has to be performed in RUN file system. Steps: 1)  Shut down all running services. Since the AdminServer password is not known, the servers cannot be stopped from the console and so must be killed. 1. Connect to the Oracle E-Business Suite instance and source the application tier environment file. 2. Identify the PIDs of Node Manager, AdminServer, and all running Managed Servers: $ ps -ef | grep "NodeManager" $ ps -ef | grep "weblogic.Name=AdminServer" $ ps -ef | grep "weblogic.Name=forms-c4ws_server" $ ps -ef | grep "weblogic.Name=forms_server" $ ps -ef | grep "weblogic.Name=oafm_server" $ ps -ef | grep "weblogi...

Changing Weblogic Administrative Password in EBS/Apps R12.2

Changing Weblogic Administrative Password in EBS/Apps R12.2 We need to follow below steps to change the weblogic password in R12.2 EBS.  Note: I am assuming that your EBS environment already has R12.TXK.C.Delta.7  or higher patch applied. Steps: 1) Shut down all application tier services except the Admin Server. 1. On the primary node, run the command:  $ /adstpall.sh -skipNM -skipAdmin This command will not stop node manager and Weblogic Admin server as they are required to be running during password change. 2. On all secondary nodes, run the command:  $ /adstpall.sh  2) Change the Oracle WebLogic Server Administration User(weblogic) password by performing the following steps as applicable. 1. Source the environment on the run file system. 2. Run the commands appropriate for your platform: $ perl $FND_TOP/patch/115/bin/txkUpdateEBSDomain.pl - action=updateAdminPassword 3) Now we need to start ...