Archive for April, 2008
April 25, 2008 at 3:11 pm
· Filed under Documentum, Oracle
After running the uninstaller clean up the schema. Useful in cases of migration when sysadmin’s password can’t be legally extracted from the Oracle dba and you need to crack on.
set heading off
set feedback off
spool dropobj_x.sql
select ‘drop ‘||object_type||’ ‘||object_name||’ ;’
from user_objects
where object_type <> ‘INDEX’
and object_type <> ‘DATABASE LINK’
and object_type <> ‘PACKAGE BODY’
and object_type <> ‘TRIGGER’
and object_type <> ‘LOB’
order by created;
spool off
set heading on
set feedback on
Permalink
April 25, 2008 at 2:52 pm
· Filed under Documentum, Oracle
If you have to have your schema created for you by the hosting company then this is what is required.
Make sure to ask the developers if any triggers will be required as you may wish to add this at the same time.
Schema Parameters (Tried, tested and in use)
GRANT ALTER SESSION TO xy_resource;
GRANT CREATE DATABASE LINK TO xy_resource;
GRANT CREATE INDEXTYPE TO xy_resource;
GRANT CREATE OPERATOR TO xy_resource;
GRANT CREATE PROCEDURE TO xy_resource;
GRANT CREATE PUBLIC SYNONYM TO xy_resource;
GRANT CREATE ROLE TO xy_resource;
GRANT CREATE SEQUENCE TO xy_resource;
GRANT CREATE SESSION TO xy_resource;
GRANT CREATE SYNONYM TO xy_resource;
GRANT CREATE TABLE TO xy_resource;
GRANT CREATE TYPE TO xy_resource;
GRANT CREATE VIEW TO xy_resource;
GRANT SELECT_CATALOG_ROLE TO xy_resource;
Permalink
April 19, 2008 at 9:44 am
· Filed under Documentum, Unix
To check dm_check_password on unix (thanks Dave R)
$ dm_check_password -p <nnn.nnn.nnn.nnn> -b <nnn.nnn.nnn.nnn> -d <DOMAIN>
“copyright info”
Enter user name: <windowsuser>
Enter user password:
Enter user extra #1 (not used):
“additional info”
Enter user extra #2 (not used):
dm_check_password: Result = (0) = (DM_EXT_APP_SUCCESS)
Permalink
April 18, 2008 at 2:01 pm
· Filed under Documentum, Unix
More find stuff (thanks for the tips JC)
find /mydir ! -user dmadmin ! -group dmgroup
find /mydir -type f ! -user dmadmin ! -group dmgroup
Permalink
April 14, 2008 at 9:28 pm
· Filed under Linux, Uncategorized
use this syntax
gcc test2.c -o base2 `pkg-config –cflags –libs gtk+-2.0`
Permalink
April 4, 2008 at 8:07 am
· Filed under Unix
Root password not set by default for root user.
Login an as normal user which should be a sudo user:
my-macbook:~ mymacbook $ sudo su
Password:
sh-3.2# passwd root
Changing password for root.
New password:
Retype new password:
sh-3.2#
Commit password to memory!
Permalink
April 4, 2008 at 8:05 am
· Filed under Documentum
fetch,c,<oid>
set,c,l,method_arguments[4]
-master_broker <fqdn of docbroker>
set,c,l,method_arguments[8]
-replica_broker <fqdn of docbroker>
save,c,l
Not the short name or some of the tabs in DA wont work when looking at federation configs even if config in same domain. I think this is only when using dns servers.
Permalink