Disk space Usage
I came across a useful bash alias. I don’t know where. I’ll call it dureport.
alias dureport='du -sdk * | awk '\''{printf "%12d\t%s\n", $1, substr($0,index($0,$2),80)}'\'' |sort -r'
I came across a useful bash alias. I don’t know where. I’ll call it dureport.
alias dureport='du -sdk * | awk '\''{printf "%12d\t%s\n", $1, substr($0,index($0,$2),80)}'\'' |sort -r'
This is more for me than you, however if you need Git on Ubuntu 10.04 (LTS) try this. The commands I ran get the pre-packaged PPA Git working on Ubuntu 10.04:
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:git-core/ppa
sudo aptitude update
sudo aptitude safe-upgrade
sudo aptitude install git
I’ve been struggling to install the beast that is Clearcase 7.1.1 on a proof of concept server.
In this case the server is a Solaris 10 64bit install running on VMware Fusion 3.
One of the initial mistakes I made was to try and run the installation from a network mount. DON’T. Solaris must block the execution of code on some types of removable drives, which in this case was a VMWare Fusion shared folder.
A second thing that is not clear in the README files: Clearcase 7.1.1 on Solaris x86 does NOT support the GUI installation. Therefore, for me as much as any readers of this blog, I’ll document the steps to kick off a fresh/silent installation.
The install will be/have:
If you need an evaluation copy, they are also available.
mkdir -p /var/ccinstall
cp -p CZ9XKML.zip /var/ccinstall
cd /var/ccinstall
unzip CZ9XKML.zip
cd disk1
/var/ccinstall/disk1/InstallerImage_*/install \
--launcher.ini \
/var/ccinstall/disk1/InstallerImage_*/silent-install.ini \
-silent \
-input clearcase_response_sol_x86.xml \
-log silentinstall.log
-showVerboseProgress
At this point kick back and make a few coffees.
Enjoy.
If you use Unix, and need to migrate your Business objects CMS from one database to another database, you will probably use the cmsdbsetup.sh script. This script migrates and manages your database connection in a Unix environment using Business Objects Enterprise (BOE).
In my case I am Using Solaris 9, and have Oracle 10g databases and client files for use by BOE.
When running the cmsdbsetup.sh script you get the following error pertaining to clntsh:
Business Objects
Current CMS Data Source: DBNAME
err: Error: Failed to get cluster name.
err: Error description: Unable to load clntsh
select (Select a Data Source)
reinitialize (Recreate the current Data Source)
copy (Copy data from another Data Source)
changecluster (Change current cluster name)
selectaudit (Select an Auditing Data Source)
[select(6)/reinitialize(5)/copy(4)/changecluster(3)/selectaudit(2)/back(1)/quit(0)]
----------------------------------------------------------
This error “Unable to load clntsh” refers to the libclntsh.so library used by the Oracle client. Since BOE runs as 32bit, the 32bit Oracle client libraries should be accessible by the user running BOE.
If you are running a 64 bit Unix and a 64bit Oracle install check that the environment for the user running BOE (user that will run the CMS) has the 32bit libraries in the path:
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:$ORACLE_HOME/lib32
Then check that either the user is a member of the Oracle dba Unix group or everyone has permissions to access the 32bit libraries under Oracle 10g:
su - oracle
chmod o+rx $ORACLE_HOME/lib32/*
Feel free to leave any comments if you need help with this.