Skip to content

Stop and Start siebel server procedure

Start Server :

Start Gateway server

[root@siebelts gtwysrvr]# pwd
/siebel/appenterprise/gtwysrvr
[root@siebelts gtwysrvr]# . ./siebenv.sh
[root@siebelts gtwysrvr]# start_ns

Start Siebel server

[root@siebelts siebsrvr]# . ./siebenv.sh
[root@siebelts siebsrvr]# start_server ALL

Start Web Server

/siebel/oraclient/product/10.1.3.5/companionCDHome_1/opmn/opmnctl startall

 

Stop Server

stop webserver

/siebel/oraclient/product/10.1.3.5/companionCDHome_1/opmn/opmnctl stopall

Stop siebel  server

stop_server ALL

Stop gateway

stop_ns

ORA-12154: TNS:could not resolve the connect identifier specified

When you‘re try to connect user with wrong tns alias name, it shows error

My tnsnames.ora

[oracle@cignadev ~]$ cat /u01/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora
# tnsnames.ora Network Configuration File: /u01/oracle/product/10.2.0/db_1/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.

test =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.xx.xx)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = acedb)
)
)

[oracle@cignadev ~]$ tnsping test

TNS Ping Utility for Linux: Version 10.2.0.1.0 – Production on 22-JAN-2013 10:42:22

Copyright (c) 1997, 2005, Oracle. All rights reserved.

Used parameter files:
/u01/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.xx.xx)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = acedb)))
OK (10 msec)
[oracle@cignadev ~]$

my tns alias is “test” but If Itry to connect other names, I can face this error

[oracle@cignadev ~]$ sqlplus prem_saico_leb/prem_saico_leb@testme

SQL*Plus: Release 10.2.0.1.0 – Production on Tue Jan 22 10:43:50 2013

Copyright (c) 1982, 2005, Oracle. All rights reserved.

ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified

So connect with correct tns alias name.

[oracle@cignadev ~]$ sqlplus prem_saico_leb/prem_saico_leb@test

SQL*Plus: Release 10.2.0.1.0 – Production on Tue Jan 22 10:44:34 2013

Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 – 64bit Production
With the Partitioning, OLAP and Data Mining options

SQL>

vi editor basic

Spend few minutes here, then you can learn about vi editor basics

vi editor

Is siebel 8.1.1.5 support for IE9

Is siebel 8.1.1.5 support for IE9?

No.

Internet explorer version IE 9 is not supported for Siebel version 8.1.1.5

for more detail, Doc Id 1307383.1 – “Siebel Support for Internet Explorer 9 (IE9)”

Oracle Open UI will be supported on IE9 with Siebel maintenance release version 8.1.1.9 onwards. For more details, please see published document: Siebel Support News – Current Edition – Volume 6 (Doc ID 1341153.1)

find the siebel crm version

If you want to find out siebel crm version, you can get the information from S_APP_VER table.

 

SQL> select app_ver from siebel.S_APP_VER;

APP_VER
——————————
V8.1

 

If you want to know applied patch version, go to siebel installed server under the directory of

/u01/siebelprod/siebent/siebsrvr/enterprises/ACEPRD81/siebsrvr01/upgrade/base.txt

[root@siebelapps upgrade]# cat base.txt
8.1.1.5 SIA [21229] LANG_INDEPENDENT patch applied.
HOTFIX

Deleted file in linux but don’t get reclaim space in filesystem

that’s a good idea here

Deleted file in Linux but didn’t reclaim space in filesystem

Exception in thread “main” java.lang.InternalError: Can’t connect to X11 window server using ‘xx.x.x.xxx:0.0″

[root@ebsdev ~]# suappltrng
[appltrng@ebsdev ~]$ /u01/EBSTRNG/apps/apps_st/appl/ad/12.0.0/bin/admsi.pl
Invoking Oracle Patch Application Assistant….
Please set the DISPLAY variable and re-run this script

[appltrng@ebsdev ~]$ export DISPLAY=xx.x.x.xxx:0.0
[appltrng@ebsdev ~]$ /u01/EBSTRNG/apps/apps_st/appl/ad/12.0.0/bin/admsi.pl
Invoking Oracle Patch Application Assistant….
Exception in thread “main” java.lang.InternalError: Can’t connect to X11 window server using ‘xx.x.x.x:0.0′ as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$100(X11GraphicsEnvironment.java :52)
at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:155)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:1 31)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvi ronment.java:68)
at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:89)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at java.awt.Toolkit$2.run(Toolkit.java:834)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:826)
at com.jgoodies.looks.LookUtils.isLowResolution(LookUtils.java:436)
at com.jgoodies.looks.LookUtils.<clinit>(LookUtils.java:180)
at com.jgoodies.looks.plastic.PlasticLookAndFeel.<clinit>(PlasticLookAnd Feel.java:122)
at oracle.apps.ad.msi.LaunchUI._useOracleLookAndFeel(LaunchUI.java:84)
at oracle.apps.ad.msi.LaunchUI.<clinit>(LaunchUI.java:30)
Could not find the main class: oracle.apps.ad.msi.LaunchUI. Program will exit.

Solution :

[root@ebsdev ~]# xhost +
access control disabled, clients can connect from any host
[root@ebsdev ~]# su - appltrng
[appltrng@ebsdev ~]$ export DISPLAY=:0

[appltrng@ebsdev ~]$ /u01/EBSTRNG/apps/apps_st/appl/ad/12.0.0/bin/admsi.pl

How do i set linux file permissions using symbolic mode

If you want to set the file permissions in Linux, you can get a two options to set the appropriate permissions of files. One is Symbolic method and Numeric method. Here you can read about symbolic method examples.

The chmod (change mode) command will useful to change your file permissions. First of all I want to explain about how do i set appropriate file permissions for user, groups and others. Here others means Everybody (users) can able to view the files or ability to change the file contents if you give permissions.

The basically Linux file is 9 rightmost bits in 10bits permissions block.

Example :

rw-rw-rw- 1 root   root       889 Nov 10 10:59 1millions.txt

Which user :

u  --> user

g  --> groups

o  --> others

a   --> all

What to do ?

+   --> add this permission

-  --> remove this permission

= --> set exactly this permission

Which permissions :

r  --> read

w   --> write

x  ---> execute

Let’s see some examples :
Example 1: Set read write permission of this files for all

[root@siebelts u01]# chmod a=rw 1millions.txt

[root@siebelts u01]# ls -l 1millions.txt
-rw-rw-rw- 1 root root 889 Nov 10 10:59 1millions.txt

Example 2: Want to remove write permission for all users

[root@siebelts u01]# chmod a-w 1millions.txt
[root@siebelts u01]# ls -l 1millions.txt
-r--r--r-- 1 root root 889 Nov 10 10:59 1millions.txt
[root@siebelts u01]#

Example 3: Set the write permission for owner of this file

[root@siebelts u01]# chmod u+w 1millions.txt
[root@siebelts u01]# ls -l 1millions.txt
-rw-r--r-- 1 root root 889 Nov 10 10:59 1millions.txt

Example 4: set write and execute permission for groups

[root@siebelts u01]# chmod g+wx 1millions.txt
[root@siebelts u01]# ls -l 1millions.txt
-rw-rwxr-- 1 root root 889 Nov 10 10:59 1millions.txt
[root@siebelts u01]#

Example 5: set read and write  permission for other user also

[root@siebelts u01]# chmod o+rw 1millions.txt
[root@siebelts u01]# ls -l 1millions.txt
-rw-rwxrw- 1 root root 889 Nov 10 10:59 1millions.txt
[root@siebelts u01]#

Example 6 : remove the write, execute permission of  groups and others

[root@siebelts u01]# chmod g-rw 1millions.txt && chmod o-rw 1millions.txt
[root@siebelts u01]# ls -l 1millions.txt
-rw---x--- 1 root root 889 Nov 10 10:59 1millions.txt

Example 7: Let’s see i change the groups of this file and try to write on this file.

[root@siebelts u01]# chown :oinstall 1millions.txt
[root@siebelts u01]# ls -l 1millions.txt
-rw---x--- 1 root oinstall 889 Nov 10 10:59 1millions.txt
[root@siebelts u01]# su - oracle
[oracle@siebelts ~]$ vi /u01/1millions.txt

"/u01/1millions.txt" [Permission Denied]
[oracle@siebelts ~]$

Example 8: set write permission of this file and try to write using member of the oinstall group

[root@siebelts u01]# chmod g+rw 1millions.txt
[root@siebelts u01]# ls -l 1millions.txt
-rw-rw---- 1 root oinstall 32 Nov 11 04:25 1millions.txt

[root@siebelts u01]# cat 1millions.txt
File permission symbolic test
[root@siebelts u01]# su - oracle

[oracle@siebelts ~]$ cd /u01
[oracle@siebelts u01]$ vi 1millions.txt
[oracle@siebelts u01]$ cat 1millions.txt
File permission symbolic test
File can be write and read by member of oinstall
[oracle@siebelts u01]$

Reference : Tuxfiles Linux File permissions

Linux How do i view top two lines of files


[oracle@siebelts ~]$ head -n 2 /u01/app/oracle/diag/rdbms/crmtest/crmtest/trace/alert_crmtest.log
Wed Dec 07 04:46:19 2011
Starting ORACLE instance (normal)

Linux common classification of files

Classification of files :

rw-r–r– 1 oracle oinstall 4626849792 Sep  9 02:56 sibel090912.dmp

‘-‘   –> standard file

drwxrwxr-x 4 oracle oinstall  4096 Dec  7  2011 app

d‘  –> directory

crw——- 1 vcsa tty      7, 131 Nov  5 07:30 vcsa3

c‘  –> Character device

lrwxrwxrwx 1 root root         13 Nov  5 07:28 MAKEDEV -> /sbin/MAKEDEV

l‘  –> Symbloic link

brw-r—– 1 root disk     7,   0 Nov  5 07:28 loop0

b‘ –>  block stoarge device i.e. hard disk