The chosen size is not valid for the chosen file system /dev/disk2 : MacOS...
Restore a bootable USB flash drive to normal on MacOS If you are trying to format a USB disk on MacOS Mojave and get the below error The chosen size is not valid for the chosen file system. Go to...
View ArticleLinux exclude certain files formats eg : *.gz *.zip from a tar archive
If you want to exclude certain filetypes from the directory when creating a tar archive use the –exclude parameter for tar tar -zcvf filename.tar.gz abc_direc/ –exclude=’*.zip’ –exclude=’*.gz’...
View ArticleEnable Transparent Data Encryption in Oracle 12c (12.1 12.2)
1. Add Encryption Wallet in sqlnet.ora Location $ORACLE_HOME/network/admin [oracle@localhost admin]$ vi sqlnet.ora ENCRYPTION_WALLET_LOCATION = (SOURCE =(METHOD = FILE)(METHOD_DATA = (DIRECTORY =...
View ArticleUpgrade Oracle Apex from 5.1.x to 18.1
Oracle has released the latest version of Apex and keeping in line with their naming convention Apex has jumped from version 5.1.4 to 18.1 . The new version of Apex has many exciting new features, you...
View ArticleDocumentation#1193 – Unknown system variable 'lc_messages'
This error you would usually see when you login to phpMyAdmin after an upgrade. This is related to your MySQL version, in my case I had upgraded my phpMyAdmin but the MySQL version was still on 5.1,...
View ArticleColumn count of mysql.user is wrong. Expected 42, found 39. Created with...
This error occurred in my environment when i tried to create a user in MySQL, most likely you have upgraded MySQL Server (51. to 5.6 in my case) . After upgrading your MySQL you have to run...
View ArticleInstall Oracle Database 12cR2 Silent Mode on CENT OS 7 & Oracle Linux 7
If you are going to work on Oracle Database in cloud or in environments where X11 client or server is not available. It is always good to learn how to do a silent installation of Oracle. Specially in...
View ArticleEnable SSL Certificates for Oracle Apex 18.1 with Oracle Rest Data Services...
If you have a public facing APEX instance it would be mandatory to secure it with TLS 1.2 or SSL. If you want to enable https for a public facing web server, it’s always recommended to use a public...
View ArticleCreate pem file for SSH access Linux
It is always good practice to lock down password based logins and SSH using keys. We can use pem files to login to remote server from local machines. Infact if you use AWS, the only way to SSH into the...
View ArticleA Very Cool Oracle Bash Profile
# .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/.local/bin:$HOME/bin export PATH # Oracle...
View ArticleAdd Image to Column from URL Column Value Apex
Create a new interactive report based on SQL Query. Make sure the column where image is store is populated in the column ‘PHOTO’ of the table Go to Columns > Column Formatting and add to HTML...
View ArticleMultiple Oracle Databases and Homes on Same Listener
On my test server I have got 2 ORACLE_HOMES 12cR1 (12.1.0.2) and 12cR2 (12.2.0.1) My listener.ora file on my server looks something like below SID_LIST_LISTENER_12CR2 = (SID_LIST = (SID_DESC =...
View ArticleMultiple Homes and Instances Oracle Database Bash Profile
# .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs export CATALINA_HOME=/home/oracle/apache-tomcat...
View ArticleSCP and Pass Variable in Bash Script
#!/bin/bash read -p 'Enter the Files to be Send to Remote Host: ' files destination_directory='/home/oracle' scp -i /Users/shadab/wha.pem $files oracle@192.168.1.200:$destination_directory ## SAMPLE...
View ArticleOracle 18c (18.3) DBCA Issue – [DBT-50000] [DBT-50001]
While creating a on-premise 18c (18.3) database with DBCA in the silent mode I got the below error dbca -createDatabase -silent -gdbName ora18c -templateName General_Purpose.dbc -sysPassword sys123...
View ArticleInstall Oracle 18c(18.3) on CentOS 7.5 Silent Mode
Linux Version : CentOS 7.5 Oracle Version : 18c (18.3.0.0) 1. Download the Zip file from Oracle Website and create groups and oracle...
View ArticleCannot uninstall ‘six’. It is a distutils installed project and thus we...
Installing Mechanize gives error on MacOS Mojave For Python and Pip 2.7 This error is due to a version of ‘six’ which comes default with MacOS Use the below command to ignore the version of six...
View ArticleThe chosen size is not valid for the chosen file system /dev/disk2 : MacOS...
Restore a bootable USB flash drive to normal on MacOS If you are trying to format a USB disk on MacOS Mojave and get the below error The chosen size is not valid for the chosen file system. Go to...
View ArticleLinux exclude certain files formats eg : *.gz *.zip from a tar archive
If you want to exclude certain filetypes from the directory when creating a tar archive use the –exclude parameter for tar tar -zcvf filename.tar.gz abc_direc/ –exclude=’*.zip’ –exclude=’*.gz’...
View ArticleBenchmark & Test URL with ApacheBench Tool
If you have a Linux server or Mac machine you can use the ApacheBench utility to do a quick benchmar for a URL The utility comes installed by default on most CentOS installations ab -n 10 -c 5 -d -S -q...
View Article