Increasing size of ASM-based bigfile tablespace

Firstly few commands to get you up & running:

– Get names of tablespaces: “select name from v$tablespace;”

– Get names of disk groups: “select name from v$asm_diskgroup;”

– Get names of data files: “select name from v$datafile;”

In my case it was a big file tablespace, which only option is to resize, not to add more data files, so I did the following:

ALTER TABLESPACE tablespace_name RESIZE 40G;

To check for the size, run the following query:

SELECT tablespace_name,file_name, bytes/1024/1024 SIZE_MBYTES
FROM dba_data_files
WHERE tablespace_name IN (‘SIEBELDATA’, ‘SIEBELINDEX’)
ORDER BY tablespace_name

Posted in Uncategorized | Tagged , , | Leave a comment

How to list the security adapter for an Object Manager in Siebel

list parameter SecAdptMode for comp comp_name

e.g.

list parameter SecAdptMode for comp eCommunicationsObjMgr_enu

sample output for LDAP authentication:

PA_ALIAS     PA_VALUE  PA_DATATYPE  PA_SCOPE   PA_SUBSYSTEM      PA_SETLEVEL  PA_DISP_SETLEVEL     PA_EFF_NEXT_TASK  PA_EFF_CMP_RSTRT  PA_EFF_SRVR_RSTRT  PA_REQ_COMP_RCFG  PA_NAME
———–  ——–  ———–  ———  —————-  ———–  ——————-  —————-  —————-  —————–  —————-  ———————
SecAdptMode  LDAP      String       Subsystem  Security Manager  Comp level   Component level set  N                 Y                 N                  Y                 Security Adapter Mode

Sample output for DB authentication:

PA_ALIAS     PA_VALUE  PA_DATATYPE  PA_SCOPE   PA_SUBSYSTEM      PA_SETLEVEL  PA_DISP_SETLEVEL     PA_EFF_NEXT_TASK  PA_EFF_CMP_RSTRT  PA_EFF_SRVR_RSTRT  PA_REQ_COMP_RCFG  PA_NAME
———–  ——–  ———–  ———  —————-  ———–  ——————-  —————-  —————-  —————–  —————-  ———————
SecAdptMode  DB        String       Subsystem  Security Manager  Comp level   Component level set  N                 Y                 N                  Y                 Security Adapter Mode

Posted in Uncategorized | Tagged , , , , , , , , | 1 Comment

How to cut videos from the command line in Ubuntu 12.10 and later (Mint 14 and later)

avconv -i DP4U12.ogv -vcodec copy -acodec copy -ss 00:00:00 -t 00:04:20 DP4U12_complete.ogv

The above command preserves the same format of the input file, where:

DP4U12.ogv is the input file

DP4U12_complete.ogv is the output file

The command cuts the video from the beginning till 4 minutes 20 seconds.

Posted in Uncategorized | Tagged , , , , , | 1 Comment

How to extract multi-part, e.g. .z01, .z02 type of zip files on Ubuntu

I couldn’t extract an archive that I downloaded from edelivery which was in 3 files, 1.zip, 1.z01 and 1.z02:

In order to extract on Ubuntu, do the following:

zip -s- Input.zip -O output.zip

This will gather the Input.zip file and all following .z0x in one file called output.zip, which you can then extract and do whatever you want on it, e.g

zip -s- dac_win_11g_infa_win_64bit_901.zip -O output.zip

Posted in Uncategorized | Tagged , , , | 7 Comments

How to install the VirtualBox Extension Pack from the Command Line on Ubuntu

The following command was needed after upgrading the VirtualBox version to install the new version of the extension pack and replace the old one:

sudo VBoxManage extpack install –replace Oracle_VM_VirtualBox_Extension_Pack-4.2.12-84980.vbox-extpack

Posted in Uncategorized | Tagged , , , , | Leave a comment