Aug 122016
 
 Posted by on August 12, 2016 at 11:23 pm FAQ, Troubleshooting, Tutorials, WordPress Tagged with:  No Responses »
Content Management Systems

As a webmaster of a tech website where maximum traffic is organic via google search, it is a night mare to know that your structure data hentry is missing some values even after using many SEO plugins,etc. Basically structured data markup is used by google search to show visually appealing, information-rich search results and very much necessary for a website if iot wants to gets listed in front page and grow authority. There are many SEO Plugins like Yoast SEO, All In One SEO pack,etc. which also automatically adds the hentry for a website when you install it but this hentry generations are more dependent on the code of your wordpress theme.

So when we saw errors like “Missing updated” on our webmaster tools and almost all my links started showing errors like below:
Continue reading »

© Incase of any copyright infringements please check copyrights page for faster resolutions.
Aug 012016
 
 Posted by on August 1, 2016 at 11:32 pm DevOps, Rundeck Tagged with:  No Responses »
DevOps

RunDeck is a very useful tool as a runbook automation tool for administrator as well as developers. It is well known for remote job executions and remote management.
So it is important that the url to access the web interface shall look presentable. When we introduced RunDeck to our team of developers we had one quick requirement to change the default rundeck port 4440(HTTP) or 4443(HTTPS) to 80/443 as it was easy to access and looked good.

Note: In this article we have used 80 as the new port for Rundeck, you can put any other port if required other than 80/443.

We tried to change the port numbers values for framework.server.port and framework.server.url in /opt/rundeck/etc/framework.properties but faced many access denied errors after restarting the services and while running the jobs.
Continue reading »

© Incase of any copyright infringements please check copyrights page for faster resolutions.
Jul 272016
 
 Posted by on July 27, 2016 at 7:19 pm DevOps, Rundeck, Windows Batch, WMI Tagged with: ,  2 Responses »
DevOps

All admins would have faced some issue with Windows remote management starting from executing a long running command or fetching some data. When you start using different tools to execute the same over WinRM for better tracking purpose first time setup is always little hard. So here also we will discuss on how to correctly setup WinRM plugin over Rundeck so that you will not face much issue. Example, while executing jobs over winRM in a windows environment you would have faced 500 internal server error when the command is long running and takes plenty of time to finish. When we migrated all our WinRM scripts to RunDeck to make it more user friendly we faced the same “Unexpected HTTP response 500” error after each one minute of job run. On debugging we came to know its due to the default timeouts set on the overthere plugin used in rundeck winrm plugin. So to avoid this issue and allow users to run long running jobs over WinRM follow below steps to fix. How ever same steps mentioned in “WinRM settings in the remote host” can be followed in case you are not using RunDeck but facing the same issue while directly running commands via WinRM.

Errors Seen while executing the commands:

com.xebialabs.overthere.cifs.winrm.WinRmRuntimeIOException: Unexpected HTTP response on http://lap1.techpaste.com:5985/wsman: (500)
at com.xebialabs.overthere.cifs.winrm.WinRmClient.doSendRequest(WinRmClient.java:419)
at com.xebialabs.overthere.cifs.winrm.WinRmClient.sendRequest(WinRmClient.java:345)
at com.xebialabs.overthere.cifs.winrm.WinRmClient.receiveOutput(WinRmClient.java:182)
at com.xebialabs.overthere.cifs.winrm.CifsWinRmConnection$2.run(CifsWinRmConnection.java:162)
[overthere-winrm:lap1.techpaste.com] failed: Unexpected HTTP response on http://lap1.techpaste.com:5985/wsman: (500)
Failed: WinRMProtocolError: Unexpected HTTP response on http://lap1.techpaste.com:5985/wsman: (500)

Continue reading »

© Incase of any copyright infringements please check copyrights page for faster resolutions.
Jul 272016
 
 Posted by on July 27, 2016 at 6:36 pm DevOps, FAQ, Rundeck Tagged with: ,  No Responses »
DevOps

Windows remote management is always a tricky job as you have to take care of amny aspects starting from timeouts to memory per shell and connectivity. Out of all tools available for windoes remote management WinRM is used most as its default software and reliable but few times you would have seen errors like “Could not reserve enough space for object heap” or “Error occurred during initialization of VM” while trying to run a program over WinRM. Even most of administrators use WinRM in Rundeck to execute commands in remote windows machines. This articles errors are common to WiRM implementation though we had faced them while running remote commands via RunDeck software. The issue can be resolved by following below mentioned steps:

Errors Seen :

Error occurred during initialization of VM
Could not reserve enough space for object heap

Or

Error: Could not create the Java Virtual Machine.
Error occurred during initialization of VM
Error: A fatal exception has occurred. Program will exit.
Unable to allocate 51776KB bitmaps for parallel garbage collection for the requested 1656832KB heap.

Continue reading »

© Incase of any copyright infringements please check copyrights page for faster resolutions.
Jul 192016
 
 Posted by on July 19, 2016 at 11:23 pm Linux, Operating Systems, Oracle Database, Tutorials No Responses »
Linux

While installing Oracle database for one of DEV environments we encountered a error due to small swap space available in machine. As this was used for Development only and not required to be production grade we have made a quick hack to fix the swap space issue without recreating the VM again. So before we dive into the quick hack let’s first know what is swap space and why its required.

A very crisp excerpt is  swapping is necessary for two important reasons.

 

  1. When the system requires more memory than is physically available, the kernel swaps out less used pages and gives memory to the current application (process) that needs the memory immediately.
  2. A significant number of the pages used by an application during its startup phase may only be used for initialization and then never used again. The system can swap out those pages and free the memory for other applications or even for the disk cache.

Now to increase the swap space without recreating the VM can be done by below steps:

  • Login as root and check what is the current swap space available and how much needs to be added more using below command.
swapon -s

swapon output Note: All outputs are in KB. Continue reading »

© Incase of any copyright infringements please check copyrights page for faster resolutions.