Posts

smtp test from server

Image
Test SMTP: Launch Notepad and create the following: To:YourEmailAddress From:YourEmailAddress Subject: This is a test email. This is a test.         Save the file to the desktop called "testemail" Click Save. Note: Be sure to include the " " around testemail. Navigate to C:\inetpub\mailroot\Pickup Copy the testemail from the desktop and paste it into the Pickup folder. It should disappear and send the email. Confirm you have received the test email.

R server error: --with-readline=yes (default) and headers/libs are not available

Image
yum install readline - devel

How To Solve Error: “E: Could not get lock /var/cache/apt/archives/lock – open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/” On Debian 7 or Ubuntu

Today I have keep getting an annoying error when I try to install some libraries. "E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/" This is the first time i got this error and i don't have any clue how to solve this. I googled a bit and found the solution after spending almost an hour. I wanted to share. Problem: Here what i did to install to python libraries. # apt-get install python-twisted Sample output: Reading package lists... Done Building dependency tree        Reading state information... Done The following extra packages will be installed:   python-crypto python-openssl python-pam python-pkg-resources python-pyasn1   python-serial python-twisted-bin python-twisted-conch python-twisted-core   python-twisted-lore python-twisted-mail python-twisted-names   python-twisted-news python-twisted-runner python-twisted-web   python-twisted-words python-zope.interf...

Information Server 11.3.1 install fails on Redhat 6 - J9Generic_Signal_Number=00000010

Technote (troubleshooting) Problem(Abstract) When installing Information Server 11.3.1 on Redhat Linux 6, the installer fails before it generates the install URL. The error is: INFO: Installation program will be running in this session, please do not close installation window until installation program completes. Unhandled exception Type=Illegal instruction vmState=0x00070000 J9Generic_Signal_Number=00000010 Signal_Number=00000004 Error_Value=00000000 Signal_Code=00000002 Handler1=00007FFFF6AFA820 Handler2=00007FFFF6447E90 There is a java dump after that. The java process will dump core as well. Cause There can be an issue with the version of IBM Java that is packaged with the Information Server installer. Resolving the problem Download the latest IBM Java 7 SR and put it in the is-suite/_jvm directory and rerun the install. Example: cd is-suite mv _jvm _jvm.orig mkdir _jvm Move the package downloaded to the _j...

IBM MDM server v11.5 BA UI issue

Unexpected application problem occurred " Below is the snippet of log from SystemOut.log file: [6/30/14 11:43:47:906 EDT] 0000016c servlet       E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0014E: Uncaught service() exception root cause /index.jsp: com.ibm.websphere.servlet.error.ServletErrorReport: java.lang.NoClassDefFoundError: org/apache/myfaces/taglib/core/ViewTag  at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:695)  at com.ibm._jsp._index._jspService(_index.java:245) ​Solution:​ ​ 1. Stop the server 2. delete the content of <Application server profile path>/wstemp <Application server profile path>/temp 3. ./clearClassCache.sh  ./osgiCfgInit.sh.   4. Start the server. ​

How to Install JAVA 8 (JDK/JRE 8u91) on CentOS/RHEL and Fedora

Downloading Latest Java Archive Download latest Java SE Development Kit 8 release from its official download page or use following commands to download from shell. For 64Bit # cd /opt/ # wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F% 2Fwww.oracle.com %2F; oraclelicense=accept-securebackup-cookie" " http://download.oracle.com/otn-pub/java/jdk/8u91-b14/jdk-8u91-linux-x64.tar.gz " # tar xzf jdk-8u91-linux-x64.tar.gz For 32Bit # cd /opt/ # wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F% 2Fwww.oracle.com %2F; oraclelicense=accept-securebackup-cookie" " http://download.oracle.com/otn-pub/java/jdk/8u91-b14/jdk-8u91-linux-i586.tar.gz " # tar xzf jdk-8u91-linux-i586.tar.gz Note: If Above wget command does not work for you watch this example video to download java source archive using terminal. Install Java with Alternatives After extracting archive file use alte...

Registering a WebSphere windows services

Image
Registering a WebSphere windows services are very similar to adding a linux service. From a cmd prompt: Change directory to %WAS_HOME%/bin – in this example it is D:\IBM\WebSphere\AppServer\bin The syntax of the command is wasservice –add <service name> -serverName <name of server> -profilePath <path to server profile> To enable the server to restart automatically and to encode the user name and password additional parameters are required wasservice -add Dmgr -serverName dmgr -profilePath D:\IBM\WebSphere\AppServer\profiles\Dmgr01 -encodeParams -restart true -startType automatic -stopArgs "-username wasadmin -password password" wasservice -add Node -serverName nodeagent -profilePath D:\IBM\WebSphere\AppServer\profiles\AppSrv01 -encodeParams -restart true -startType automatic -stopArgs '-username wasadmin -password password -stopservers' Once the wasservice command has been run successfully the new services will be visible ...