You can Read more about this here
Cheers
Osama
For the people who think differently Welcome aboard
You can Read more about this here
Cheers
Osama
Cheers
Osama
You need to download the following files & upload them to the server :-
#ls -lrt
total 14373947
-rwx—— 1 root root 1771800121 Aug 9 08:24 sol-11_2-repo-1of4.zip
-rwx—— 1 root root 1889867782 Aug 9 11:20 sol-11_2-repo-2of4.zip
-rwx—— 1 root root 1902167161 Aug 9 22:34 sol-11_2-repo-3of4.zip
-rwx—— 1 root root 1790358735 Aug 10 00:16 sol-11_2-repo-4of4.zip
-rwx—— 1 root root 5594 Aug 10 20:16 install-repo.ksh
-rwx—— 1 root root 228 Aug 10 20:17 sol-11_2-repo-md5sums.txt
drwxr-xr-x 2 root root 2 Aug 10 20:40 repo
#pkg publisher
PUBLISHER TYPE STATUS URI
solaris origin online http://pkg.oracle.com/solaris/release/
as you see from the above output package publisher still working under oracle Link. Let’s Start Working, Set the executable bit for install-repo.ksh and execute like below.
#./install-repo.ksh -d /export/oracle/repo/ -v -c
Comparing checksums of downloaded files…done. Checksums match.
Uncompressing sol-11_2-repo-1of4.zip…done.
Uncompressing sol-11_2-repo-2of4.zip…done.
Uncompressing sol-11_2-repo-3of4.zip…done.
Uncompressing sol-11_2-repo-4of4.zip…done.
Repository can be found in /export/oracle/repo/.
Initiating repository verification.
Again Check the current publisher.
#pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F http://pkg.oracle.com/solaris/release/
configure the new publisher, Path should be the same.
#pkg set-publisher -G ‘*’ -M ‘*’ -g file:///export/oracle/repo solaris
#pkg publisher
UBLISHER TYPE STATUS P LOCATION
solaris origin online F file:///export/oracle/repo
Configure the repository service to point to the new location by run the following command :-
# svccfg -s application/pkg/server setprop pkg/inst_root=/export/oracle/repo
Check
# svcprop -p pkg/inst_root application/pkg/server
Reload the Services Just to confirm :-
# svcadm refresh application/pkg/server
Cheers
Osama Mustafa
to learn more about this command read the link here.
For Example i need to run the following command without password prompt, However there are three sudo commands I want to run without entering password:
user host = (root) NOPASSWD: /sbin/shutdown
user host = (root) NOPASSWD: /sbin/reboot
This will allow the user user to run the desired commands on host without entering a password. All other sudoed commands will still require a password.
Notes:
sudo visudo -f /etc/sudoers.d/shutdown
INFO: sh[2]: /usr/ccs/bin/as: not found [No such file or directory]
INFO: make: Fatal error:
INFO: *** Error code 127
The package developer/assembler comes with default installation, But Solaris 11 package developer/assembler is not installed.
To install it: –
pkg install developer/assembler
and try again.
Cheers
Osama
ORA-39181: Only partial table data may be exported due to fine grain access control on “SOAPRD_MDS”.”MDS_DEPL_LINEAGES”
. . exported “SOAPRD_MDS”.”MDS_DEPL_LINEAGES” 5.164 KB 1 rows
ORA-39181: Only partial table data may be exported due to fine grain access control on “SOAPRD_MDS”.”MDS_LABELS”
the weird thing that VPD is not enabled to show this error but once i grant the system the required privileges the error stop appearing in the logs.
grant EXEMPT ACCESS POLICY to System;
Thanks
Osama
The logs indicate to the below error :-
[2015-05-01T07:00:28+03:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: MOAPRDOID1] [pid: 5244] [tid: 0] Guardian: Connecting to database, connect string is oiddb
[2015-05-01T07:00:28+03:00] [OID] [NOTIFICATION:16] [] [OIDMON] [host: MOAPRDOID1] [pid: 5244] [tid: 0] Guardian: [gsdsiConnect] ORA-12514, ORA-12514: TNS:listener does not currently know of service requested in connect descriptor.
from the above error the OID is unable to connect to database server i checked database and listener everything is up without any issue and all the other application working without any issues.
after investigation I checked the sqlnet.ora and add the following :-
SQLNET.AUTHENTICATION_SERVICES= (NONE)
NAMES.DIRECTORY_PATH= (TNSNAMES)
Restart the services and everything is working.
maybe this solution will not lead or help in so many cases i am working to know why this will effect on OID since it’s was working without any issues for 1 year
Thanks
Osama