1: lusrmgr.msc-------to see user and computer
2: compmgmt.msc------to see computer management
3: devmgmt.msc-------to see devices and driver
4: ncpa.cpl----------to see local area connection
5: appwiz.cpl--------to see control pannel
6: control-----------to see control pannel
7: sysdm.cpl---------to see my computer properties
8: dnsmgmt.msc-------to see DNS configuration.
9: dsa.msc-----------to see Active Directory User and Computer.
10: intcpl.cpl-------to see internet properties.
11: cleanmgr---------to clean c drive from unwanted junk files.
12: taskmgr.msc------to open task manager
13: eventvwr.msc----to see event viewer
14: regedit.msc-----to check registry info.
15: gpedit.msc------to configure Group oplicy on local PC
16: services.msc----to check services information.
17: secpol.msc------to check local security and policy.
18: msconfig--------to check startup running application.
19: osk-------------ON SCREEN KEYBOARD
Wednesday, January 31, 2018
Tuesday, December 5, 2017
Configure ssmtp to use gmail SMTP relay on CentOS
1. Install ssmtp rpm as,
#yum install ssmtp
2. Now edit ssmtp.conf file as,
#vim /etc/ssmtp/ssmtp.conf
root=XXX@gmail.com
mailhub=smtp.gmail.com:465
AuthUser=XXXX@gmail.com
AuthPass=<Password of gmail account>
FromLineOverride=YES
UseTLS=YES
TLS_CA_File=/etc/pki/tls/certs/ca-bundle.crt
3. After this, make ssmtp default mta as,
#alternatives --config mta
it will ask to choose mta, here select the ssmtp and enter.
4. Now send the mail as,
#mail -s "SUBJECT" xxxxx@abc.com
#yum install ssmtp
2. Now edit ssmtp.conf file as,
#vim /etc/ssmtp/ssmtp.conf
root=XXX@gmail.com
mailhub=smtp.gmail.com:465
AuthUser=XXXX@gmail.com
AuthPass=<Password of gmail account>
FromLineOverride=YES
UseTLS=YES
TLS_CA_File=/etc/pki/tls/certs/ca-bundle.crt
3. After this, make ssmtp default mta as,
#alternatives --config mta
it will ask to choose mta, here select the ssmtp and enter.
4. Now send the mail as,
#mail -s "SUBJECT" xxxxx@abc.com
Wednesday, November 8, 2017
javax.net.ssl.SSLKeyException in Node Manager status
Problem : Could not start node manager
Problem Explanation : I have changed my machine(It got currupted) and use the existing HDD partition to again run the machine. All was right but node manager was not running.
Error : javax.net.ssl.SSLKeyException
Solution : This issue has two solutions as,
A. Disable the hostname verification
B. Recreate the certificates
A. Disable the hostname verification ,
1. In the Admin console for your domain, go to Environment -> Servers -> AdminServer.
2. Click on the SSL tab.
3. Expand the “Advanced” section at the bottom.
4. Set Hostname Verification to None.
5. Save and activate the changes.
B. Recreate the certificates ,
1. First of all set the WLS enviornment varibales using,
$MIDDLEWARE_HOME/wlserver_10.3/server/bin/.setWLSEnv.sh
2. Backup the Demoidentity.jks keystore located in,
$MIDDLEWARE_HOME/wlserver_10.3/server/lib/DemoIdentity.jks
3. Generate the private key of the keystore using the following command:
java utils.CertGen -cn hostname -keyfilepass DemoIdentityPassPhrase -certfile newcert -keyfile newkey
Note : Here I got error "utils.CertGen not found"
Solution : For this we have need to set CLASSPATH manually as,
$export CLASSPATH=$CLASSPATH:/stage/oracle/middleware/wlserver_10.3/server/lib/weblogic.jar
After this run the above command again.
4. Import the generated key in the Demoidentity.jks using the following command:
java utils.ImportPrivateKey -keystore DemoIdentity.jks -storepass DemoIdentityKeyStorePassPhrase -keyfile newkey.pem -keyfilepass DemoIdentityPassPhrase -certfile newcert.pem -alias demoidentity.
5. Now restart the WebLogic Server.
Problem Explanation : I have changed my machine(It got currupted) and use the existing HDD partition to again run the machine. All was right but node manager was not running.
Error : javax.net.ssl.SSLKeyException
Solution : This issue has two solutions as,
A. Disable the hostname verification
B. Recreate the certificates
A. Disable the hostname verification ,
1. In the Admin console for your domain, go to Environment -> Servers -> AdminServer.
2. Click on the SSL tab.
3. Expand the “Advanced” section at the bottom.
4. Set Hostname Verification to None.
5. Save and activate the changes.
B. Recreate the certificates ,
1. First of all set the WLS enviornment varibales using,
$MIDDLEWARE_HOME/wlserver_10.3/server/bin/.setWLSEnv.sh
2. Backup the Demoidentity.jks keystore located in,
$MIDDLEWARE_HOME/wlserver_10.3/server/lib/DemoIdentity.jks
3. Generate the private key of the keystore using the following command:
java utils.CertGen -cn hostname -keyfilepass DemoIdentityPassPhrase -certfile newcert -keyfile newkey
Note : Here I got error "utils.CertGen not found"
Solution : For this we have need to set CLASSPATH manually as,
$export CLASSPATH=$CLASSPATH:/stage/oracle/middleware/wlserver_10.3/server/lib/weblogic.jar
After this run the above command again.
4. Import the generated key in the Demoidentity.jks using the following command:
java utils.ImportPrivateKey -keystore DemoIdentity.jks -storepass DemoIdentityKeyStorePassPhrase -keyfile newkey.pem -keyfilepass DemoIdentityPassPhrase -certfile newcert.pem -alias demoidentity.
5. Now restart the WebLogic Server.
Wednesday, November 1, 2017
To increase the heap size of a Managed server
1. Open Admin console, go to server-->server name-->Configuration-->server start.
2. Here in Arguments section, write the desired heap size as,
-Xms512m -Xmx512m
2. Here in Arguments section, write the desired heap size as,
-Xms512m -Xmx512m
Tuesday, October 31, 2017
BEA-090087 - Server failed to bind to the configured Admin port. The port may already be used by another process.
BEA-090087 - Server failed to bind to the configured Admin port. The port may already be used by another process.
Reason 1 : This error occured when we try to start managed server on other physical machine with node manager.Solution : We have to create new node manager that points to other physical machine.
Procedure :
1. Go to Enviournment-->Machines.
2. Here click on New button, then give the name for the machine and select the type of the machine and then Next.
3.Here give the listen address and listen port of the node manager and click on Finish.
Reason 2 : This error occurred when we try to start two nodemanager on one physical machine. e.g. one for weblogic and second for OHS.
Solution :
Just change the port of one nodemanager.
java.lang.OutOfMemoryError: PermGen space
Error : java.lang.OutOfMemoryError: PermGen space
Solution : Have to increase PermSize of weblogic server
Procedure :
Weblogic Version : 10.3.6
1. go to $DOMAIN_HOME/bin
2. Here edit the file setDomainEnv.sh.
$vim setDomainEnv.sh
3. Here change the value of min and max PerSize as,
241 MEM_PERM_SIZE_64BIT="-XX:PermSize=512m"
242 export MEM_PERM_SIZE_64BIT
243
244 MEM_PERM_SIZE_32BIT="-XX:PermSize=48m"
245 export MEM_PERM_SIZE_32BIT
246
247 if [ "${JAVA_USE_64BIT}" = "true" ] ; then
248 MEM_PERM_SIZE="${MEM_PERM_SIZE_64BIT}"
249 export MEM_PERM_SIZE
250 else
251 MEM_PERM_SIZE="${MEM_PERM_SIZE_32BIT}"
252 export MEM_PERM_SIZE
253 fi
254
255 MEM_MAX_PERM_SIZE_64BIT="-XX:MaxPermSize=1024m"
256 export MEM_MAX_PERM_SIZE_64BIT
257
258 MEM_MAX_PERM_SIZE_32BIT="-XX:MaxPermSize=128m"
Line no. 241 for Min. PermSize and Line no. 255 for Max. PerSize.
Solution : Have to increase PermSize of weblogic server
Procedure :
Weblogic Version : 10.3.6
1. go to $DOMAIN_HOME/bin
2. Here edit the file setDomainEnv.sh.
$vim setDomainEnv.sh
3. Here change the value of min and max PerSize as,
241 MEM_PERM_SIZE_64BIT="-XX:PermSize=512m"
242 export MEM_PERM_SIZE_64BIT
243
244 MEM_PERM_SIZE_32BIT="-XX:PermSize=48m"
245 export MEM_PERM_SIZE_32BIT
246
247 if [ "${JAVA_USE_64BIT}" = "true" ] ; then
248 MEM_PERM_SIZE="${MEM_PERM_SIZE_64BIT}"
249 export MEM_PERM_SIZE
250 else
251 MEM_PERM_SIZE="${MEM_PERM_SIZE_32BIT}"
252 export MEM_PERM_SIZE
253 fi
254
255 MEM_MAX_PERM_SIZE_64BIT="-XX:MaxPermSize=1024m"
256 export MEM_MAX_PERM_SIZE_64BIT
257
258 MEM_MAX_PERM_SIZE_32BIT="-XX:MaxPermSize=128m"
Line no. 241 for Min. PermSize and Line no. 255 for Max. PerSize.
Sunday, April 16, 2017
To change the Mode of Weblogic server from Developer to Production
To change all the servers of a domain to run in production mode :
1. Go to weblogic console.
2. Select the desired domain.
3. On Configuration tab, go to General.
4. Here check the option "Enable production Mode"
5. Now click on save.
6. Now restart the servers.
1. Go to weblogic console.
2. Select the desired domain.
3. On Configuration tab, go to General.
4. Here check the option "Enable production Mode"
5. Now click on save.
6. Now restart the servers.
Subscribe to:
Posts (Atom)