Pages

Wednesday, January 25, 2012

Install pakege in suse linux by zyper (error -'/etc/init.d/vboxdrv setup' )

First make certain that openSUSE is up-to-date

Code: Select all Expand view
zypper update


Then install all packages needed to compile external modules.

Code: Select all Expand view
sudo zypper install gcc make automake autoconf kernel-source kernel-syms


Then install VirtualBox again and it should work after a reboot. Make sure that your user name in in the vboxusers group as well.

Tuesday, January 10, 2012

Oracle Long operations

SELECT SID, SERIAL#, CONTEXT, SOFAR, TOTALWORK,
ROUND(SOFAR/TOTALWORK*100,2) "%_COMPLETE"
FROM V$SESSION_LONGOPS WHERE OPNAME LIKE 'RMAN%'
AND OPNAME NOT LIKE '%aggregate%'
AND TOTALWORK != 0
AND SOFAR <> TOTALWORK/