Oracle 10g: Create Heterogenous DBLink to connect to other databases

To create an heterogenous database link (to another database):1) set an odbc connection named testdb and in advanced put username/password (admin/admin)2) put inittestdb.ora in D:\oracle\product\10.2.0\db_1\hs\admin (* see below)3) put tnsnames.ora…

Continue ReadingOracle 10g: Create Heterogenous DBLink to connect to other databases

Siebel: Server Manager Notes (srvrmgr)

Some useful commands for srvrmgr:

C:\sba80\siebsrvr\BIN>
srvrmgr /g
<siebel_gateway_host_address> /e <siebel_enterprise_name> /s <siebel_server_name>
/u
SADMIN /p SADMIN

list servers
set server SBLAPP1
unset server SBLAPP1
unset server
list component groups

disable component group Workflow

assign component group Remote to server <siebel_server_name>
enable component group Remote for server <siebel_server_name>

shutdown appserver <siebel_server_name>
startup appserver <siebel_server_name>
[stop and restart system service...]

list evtloglvl for component eCommunicationsObjMgr_enu
change evtloglvl Error=5 for component eCommunicationsObjMgr_enu

change evtloglvl GenericLog=1, Performance=1, Trace=0, TaskConfig=0, SrmRouting=0, SQLParseAndExecute=1,
SQLSlowQuery
=4, Perf=1, ProcReq=1 for comp WorkMon

activate component definition GenNewDb for server <siebel_server_name>

spool c:\spool.txt
spool off (more…)

Continue ReadingSiebel: Server Manager Notes (srvrmgr)

PHP: Get informed by e-mail when someone visits your site

The code below sends e-mail when someone visits your site (except yourself, assuming that you are testing locally): if(!empty($_REQUEST)){ $theRemoteAddr = $_SERVER['REMOTE_ADDR']; $theRemoteHost = gethostbyaddr($_SERVER['REMOTE_ADDR']); //send mail: $receiver="myself@mymail.com"; $from="info@swkb.net"; $subject="someone…

Continue ReadingPHP: Get informed by e-mail when someone visits your site