I am using Azure Linux (Ubuntu) VM’s default OSDisk 30 GB, due to data and other files there was a need emerged to increase that size.
I went to Azure portal and it was straightforward to increase disk size. Shut down VM, alter Disk config to increase size, save and reboot machine.
But surprisingly nothing changed when i checked the size again using df -h
Then i started reading the documentation of Azure and came across below URL (see bottom ref section) which explained that Portal only create / modify size but you still have to do update of partition , modify of filesystem to reflect recent changes.
Also on my /dev/sda i was getting below error
GPT PMBR size mismatch (62914559 != 125829119) will be corrected by w(rite).
started reading on stack blogs and found the reason and solution for this GPT error. As we recently increased the size which was not completely utilized so system was complaining about it.
Below commands i performed to resolve my issue and they are pretty standard what i found when you have to work on Linux fs.
There are two servers, one is app and one is Db both hosted on AWS separate EC2. App server have an IIS and logged in with service account to communicate with DB server. Application is using Trusted_Connection option in connection string so that not have to specify credentials and communicate as logged in user. While communicating App server hits with below error, IIS app was configured with default AppPoolIdentity –
System.Data.SqlClient.SqlException: Login failed for user ‘DOMAIN\MACHINENAME$’.
Last week i was working on TFSBuild using TFS Buildserver to build a java project and there was one major challenge managing TFSBuild.proj file created when build definition was done. You can only have one proj file and you can’t use it in flexible way by changing lifecycle based build files, drop location etc.
java.security.NoSuchAlgorithmException: Cannot find any provider supporting RSA/NONE/OAEPPADDING at javax.crypto.Cipher.getInstance(DashoA12275) at org.apache.ws.security.util.WSSecurityUtil.getCipherInstance(WSSecurityUtil.java:703) at org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:145) at org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:114)
Last night I got many log files from 8 different servers, all the servers have date wise log files. I separated out similar logs and kept in a folder, now as per requirement team needs the one type of log in consolidated manner means “USAGE.log” of all days and servers in one USAGE-Consildated.log file.
I was searching for some utility on Google but not get any. Later I thought about DOS Batch command to do the same but a simple copy command did it for me.
I was testing my web application on FireFox5 , I faced “not enough arguments” issue. During investigation what I found is while opening the page we are hitting actual issues inside ‘addEventListener’ function. I searched web around behavior of ‘addEventListener’ in firefox and found that it expect third argument as well so I replaced below code locally and it worked for me =)
From couple of weeks in my brother’s machine he was getting Blue Dump screen with message “DRIVER_IRQL_NOT_LESS_OR_EQUAL”. Today to investigate I asked him to pass me the minidump files. Minidump are file that windows write for debugging purpose at below location:
in the above folder you will find files with ext .dmp if you open this file with notepad or any other editor you will not be able to read it’s content.
I was writing a code to access DB2 in CICS where I encountered this error. This error encounters when you are trying to access a secured Db with default options. In order to get this working, you have to specify ‘securityMechanism’ property in your connection string with value as supported by server, see below: