Czerwiec « 2014 « Różności …

Różności …

18 czerwca 2014 cannot open shared object file error during Oracle Installation

Zaszufladkowany do: Linux — Tagi: — Jacek @ 17:17

sudo apt-get install libxtst-dev:i386

12 czerwca 2014

ubuntu – pakiety

Zaszufladkowany do: Linux — Tagi: — Jacek @ 09:19

dpkg -i pakiet.deb
dpkg -r pakiet.deb
dpkg -reconfigure pakiet.deb

3 czerwca 2014

Solaris – Weblogic

Zaszufladkowany do: Bez kategorii — Jacek @ 21:50



java    -d64    -Xmx1024m   -jar    wls1033_generic.jar
MW_HOME = /export/home/oracle/Oracle

jdeveloper – weblogic – not found jrockit
I fixed it by add to top of c:\users{user}\AppData\Roaming\JDeveloper\system{version}\DefaultDomain\bin\setDomainEnv.cmd:
set SUN_JAVA_HOME=E:\Oracle\Java\jdk1.6.0_37

Solaris – JAVA

Zaszufladkowany do: Java,Programowanie,Solaris — Tagi: , — Jacek @ 21:15
  1. Set JAVA_HOME to /usr/j2se.
    • In a C shell environment:
      # setenv JAVA_HOME /usr/j2se
    • In a Bourne or Korn shell environment:
      # JAVA_HOME=/usr/j2se
      # export JAVA_HOME

    Tip – Add the appropriate statement to your .login or .cshrc file.

  2. Add /usr/j2se/bin to your system path.
  3. Place /usr/j2se/bin in your PATH before /usr/bin.
  4. Place /usr/bin in your PATH before /usr/ucb


JDK Installation

java -version

java -d64 -version

zcat jdk-6 <update> -solaris-i586.tar.Z | tar -xf -

pkgadd -d . SUNWj6rt SUNWj6dev SUNWj6cfg SUNWj6man SUNWj6dmo

pkgrm SUNWj6rt SUNWj6dev SUNWj6cfg SUNWj6man SUNWj6dmo

64Bit – /usr/jdk/jdk1.6.0

32Bit – /usr/jdk/jdk1.6.0


2 czerwca 2014

Solaris init script

Zaszufladkowany do: Solaris — Tagi: — Jacek @ 22:41

Oracle on Solaris 10 : Fixing the ‘ORA-27102: out of memory’ Error

Zaszufladkowany do: Bazy danych,Oracle,Oracle,Solaris — Tagi: , — Jacek @ 21:12

vbox snapshot

Zaszufladkowany do: Oracle — Tagi: — Jacek @ 21:10

Adding Swap Space on a Solaris System

Zaszufladkowany do: Solaris — Tagi: — Jacek @ 18:23
  1. Become a superuser (root) by typing:
    % su
    Password: root-password
  2. Create a file in a selected directory to add swap space by typing:
    mkfile number[m|k|b] /directory/swap-file-name

    where number is an amount of swap space, followed by either m for megabyte, k for kilobyte, or b for block. The directory is a directory in which you have permission to add swap space. The swap-file-nameis the name of the swap file you are creating.

    For example, to create a 16-megabyte swap file named 16mswapin the foodirectory, type the following:

    mkfile 16m /foo/16mswap

    See the mkfile(1M) man page for more information.

  3. Verify that the file was created by typing:
    ls -l /directory/swap-file-name

    The new file appears in the directory. For example:

    ls -l /foo/16mswap
    -rw------T   1 root     other    16777216 Dec 12 14:24 /foo/16mswap
  4. Run the swap command to specify the additional swap space by typing:
    swap -a /directory/swap-file-name
  5. Verify that the extra swap space was added by typing:
    swap -s

    The output shows the allocated swap space. For example:

    swap -s
    total: 289336k bytes allocated + 27008k reserved = 316344k used, 298336k available



Zaszufladkowany do: Bazy danych,Oracle,Oracle — Tagi: — Jacek @ 17:48

1 czerwca 2014

Solaris – managing projects.

Zaszufladkowany do: Solaris — Tagi: — Jacek @ 18:31

projadd -c “Oracle Default Project” group.dba

In order to make Oracle to use this project by default you need to modiy the file /etc/user_attr file. Add the following line to /etc/user_attr


Oracle will now use this project group by default.

To modify the value of max-shm-memory to 6 GB:
# prctl -n project.max-shm-memory -v 6gb -r -i project group.dba

projmod -sK “project.max-shm-memory=(privileged,10G,deny)” group.dba

Strona startowa: