sqlplus system/****@ORCL
SQL>alter session set nls_date_format=’dd-mm-yyyy hh:mi:ss’;
SQL>select instance_name from v$instance;
SQL>select sysdate, current_timestamp, systimestamp, localtimestamp from dual;
The above query will show different time .
su – root
cd /orasw/app/grid/product/11.2.0/grid/bin
./crsctl stop crs –f
su – grid
cd /orasw/app/grid/product/11.2.0/grid/bin
./crsctl stop has
Correct the TZ setting in the file $GRID_HOME/crs/install/s_crsconfig_<hostname>_env.txt.
Please comment the old TZ value(#TZ=GMT-08:00) in s_crsconfig_<hostname>_env.txt.
Add new TZ value(TZ=US/Pacific).Do not modify any other value.
su – root
cd /orasw/app/grid/product/11.2.0/grid/crs/install/
vi s_crsconfig_<hostname>_env.txt
TZ=US/Pacific
#TZ=GMT-08:00
su – root
cd /orasw/app/grid/product/11.2.0/grid/bin
./crsctl start crs
For single instance HAS
su – grid
cd /orasw/app/grid/product/11.2.0/grid/bin
./crsctl start has
sqlplus system/****@ORCL
SQL>alter session set nls_date_format=’dd-mm-yyyy hh:mi:ss’;
SQL>select instance_name from v$instance;
SQL>select sysdate, current_timestamp, systimestamp, localtimestamp from dual;
The above query will show same time .
farmacie on line spedizione gratuita: cialis generico consegna 48 ore – acquisto farmaci con ricetta
Your comment is awaiting moderation.