TT安装临时记录0501

oracle@localhost linux8664]$ ./setup.sh

ERROR: The /etc/TimesTen directory needs to be created for the instance registry
       and its ownership and permissions set appropriately.
       Please refer to the installation guide for assistance.

[oracle@localhost linux8664]$  mkdir /etc/TimesTen
mkdir: cannot create directory `/etc/TimesTen': Permission denied
[oracle@localhost linux8664]$ exit
logout

[root@localhost linux8664]# mkdir /etc/TimesTen
[root@localhost linux8664]# chown -R oracle.oinstall /etc/TimesTen
[root@localhost linux8664]# su - oracle
[oracle@localhost ~]$ ls
[oracle@localhost ~]$ cd /soft
[oracle@localhost soft]$ ls
linux8664  timesten112241.linux8664.tar
[oracle@localhost soft]$ cd linux8664/
[oracle@localhost linux8664]$ ls
3rdparty  doc  install.pl  LINUX8664  README.html  setup.sh  uninst.sh
[oracle@localhost linux8664]$ ./setup.sh

NOTE: Each TimesTen installation is identified by a unique instance name.
      The instance name must be a non-null alphanumeric string, not longer
      than 255 characters.

Please choose an instance name for this installation? [ tt1122 ]
Instance name will be 'tt1122'.
Is this correct? [ yes ]

Of the three components:

  [1] Client/Server and Data Manager
  [2] Data Manager Only
  [3] Client Only

Which would you like to install? [ 1 ] 1

Of the following options :

  [1] /home/oracle
  [2] /soft
  [3] Specify a location
  [q] Quit the installation

Where would you like to install the tt1122 instance of TimesTen? [ 1 ]
Where would you like to create the daemon home directory? [ /home/oracle/TimesTen/tt1122/info ]

The daemon logs will be located in /home/oracle/TimesTen/tt1122/info
Would you like to specify a different location for the daemon logs? [ no ]
Installing into /home/oracle/TimesTen/tt1122 ...
Uncompressing ...
 
NOTE: If you are configuring TimesTen for use with Oracle Clusterware, the
      daemon port number must be the same across all TimesTen installations
      managed within the same Oracle Clusterware cluster.

NOTE: All installations that replicate to each other must use the same daemon
      port number that is set at installation time. The daemon port number can
      be verified by running 'ttVersion'.

The default port number is 53396.

Do you want to use the default port number for the TimesTen daemon? [ yes ]
The daemon will run on the default port number (53396).

NOTE: For security, we recommend that you restrict access to the
      TimesTen installation to members of a single OS group. Only members of
      that OS group will be allowed to perform direct mode connections to
      TimesTen, and only members of that OS group will be allowed to perform
      operations that access TimesTen data stores, TimesTen files and shared
      memory. The OS group defaults to the primary group of the instance
      administrator. You can default to this group, choose another OS group
      or you can make this instance world-accessible. If you choose to make
      this instance world-accessible, all database files and shared memory
      are readable and writable by all users.

Restrict access to the the TimesTen installation to the group 'oinstall'? [ yes ]

NOTE: Enabling PL/SQL will increase the size of some TimesTen libraries.

Would you like to enable PL/SQL for this instance? [ yes ]

In order to use the 'In-Memory Database Cache' feature in any databases
created within this installation, you must set a value for the TNS_ADMIN
environment variable. It can be left blank, and a value can be supplied later
using <install_dir>/bin/ttModInstall.

Please enter a value for TNS_ADMIN (s=skip)? [  ] tttns  
tttns is not a readable directory, use it anyway ? [ no ]
Please enter a value for TNS_ADMIN (s=skip)? [  ]  ttns
ttns is not a readable directory, use it anyway ? [ no ]
Please enter a value for TNS_ADMIN (s=skip)? [  ] s


NOTE: It appears that you are running version 4 or higher of the g++
      compiler. TimesTen ships with multiple sets of client libraries and server
      binaries : one built for compatibility with g++ 3.4.6 and one with
      g++ 4.1.0. The installer has created links to the 4.1.0 library in the
      <install_dir>/lib directory and to the 4.1.0 server binary in the
      <install_dir>/bin directory. If you want to use a different compiler,
      please modify the links to point to the desired library and server binary.

Installing server components ...
What is the TCP/IP port number that you want the TimesTen Server to listen on? [ 53397 ]
Do you want to install QuickStart and the TimesTen Documentation? [ no ]
Would you like to install the documentation (without QuickStart)? [ yes ]
Where would you like to create the doc directory (s=skip)? [ /home/oracle/TimesTen/tt1122/doc ]
The TimesTen documentation has been installed in /home/oracle/TimesTen/tt1122/doc.
Installing client components ...

Would you like to use TimesTen Replication with Oracle Clusterware? [ no ]

NOTE: The TimesTen daemon startup/shutdown scripts have not been installed.

Run the 'setuproot' script :
        cd /home/oracle/TimesTen/tt1122/bin
        ./setuproot -install
This will move the TimesTen startup script into its appropriate location.

The startup script is currently located here :
  '/home/oracle/TimesTen/tt1122/startup/tt_tt1122'.

The 11.2.2.4 Release Notes are located here :
  '/home/oracle/TimesTen/tt1122/README.html'

Starting the daemon ...
/home/oracle/TimesTen/tt1122/bin/ttDaemonAdminCmd: error while loading shared libraries: /home/oracle/TimesTen/tt1122/lib/libtten.so: cannot restore segment prot after reloc: Permission denied

Unable to start the daemon.
Do you want to abort this installation? [ yes ]   no
End of TimesTen installation.
[oracle@localhost linux8664]$
[oracle@localhost linux8664]$   cd /home/oracle/TimesTen/tt1122/bin
[oracle@localhost bin]$ ./setuproot -install
Sorry, you must be root to install the TimesTen daemon start script ...
[oracle@localhost bin]$ ./setuproot -install
Sorry, you must be root to install the TimesTen daemon start script ...
[oracle@localhost bin]$  /home/oracle/TimesTen/tt1122/bin/ttDaemonAdminCmd
/home/oracle/TimesTen/tt1122/bin/ttDaemonAdminCmd: error while loading shared libraries: libtten.so: cannot open shared object file: No such file or directory
[oracle@localhost bin]$ which ttDaemonAdminCmd
/usr/bin/which: no ttDaemonAdminCmd in (/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin)
[oracle@localhost bin]$ ttDaemonAdminCmd
-bash: ttDaemonAdminCmd: command not found
[oracle@localhost bin]$ pwd
/home/oracle/TimesTen/tt1122/bin
[oracle@localhost bin]$ ./ttDaemonAdminCmd
./ttDaemonAdminCmd: error while loading shared libraries: libtten.so: cannot open shared object file: No such file or directory
[oracle@localhost bin]$ pwd
/home/oracle/TimesTen/tt1122/bin
[oracle@localhost bin]$  cp /home/oracle/TimesTen/tt1122/lib/libtten.so /usr/lib
cp: cannot create regular file `/usr/lib/libtten.so': Permission denied
[oracle@localhost bin]$ ./ttDaemonAdminCmd
./ttDaemonAdminCmd: error while loading shared libraries: libtten.so: cannot open shared object file: No such file or directory
[oracle@localhost bin]$         ./ttDaemonAdminCmd
./ttDaemonAdminCmd: error while loading shared libraries: /home/oracle/TimesTen/tt1122/lib/libtten.so: cannot restore segment prot after reloc: Permission denied
[oracle@localhost bin]$
[oracle@localhost bin]$
[oracle@localhost bin]$ cd /usr/local
[oracle@localhost local]$ cd lib
[oracle@localhost lib]$ cp /home/oracle/TimesTen/tt1122/lib/libtten.so /usr/local/lib
cp: cannot create regular file `/usr/local/lib/libtten.so': Permission denied
[oracle@localhost lib]$ cd -
/usr/local
[oracle@localhost local]$ pwd
/usr/local
[oracle@localhost local]$ cd /home/oracle/TimesTen/tt1122/bin
[oracle@localhost bin]$ ./ttDaemonAdminCmd
./ttDaemonAdminCmd: error while loading shared libraries: /home/oracle/TimesTen/tt1122/lib/libtten.so: cannot restore segment prot after reloc: Permission denied
[oracle@localhost bin]$
[oracle@localhost bin]$
[oracle@localhost bin]$ ./ttDaemonAdminCmd
Usage:
  ttDaemonAdmin [-h | -help | -?]
  ttDaemonAdmin [-V | -version]
  ttDaemonAdmin [-force] {-start | -stop | -restart}
  ttDaemonAdmin -startserver
  ttDaemonAdmin [-force] -stopserver
  ttDaemonAdmin -verbose

options:
  -h | -help | -?    Prints this message and exits.
  -V | -version      Prints the release number and exits.
  -start             Starts the TimesTen daemon.
  -stop              Stops the TimesTen daemon.
  -restart           Restarts the TimesTen daemon.
  -startserver       Starts the TimesTen Server.
  -stopserver        Stops the TimesTen Server.
  -restartserver     Restarts the TimesTen Server.
  -force             With -start, starts the daemon even
                     if a PID file exists.  With -stop,
                     kills the process indicated by the
                     PID file even if ttDaemonAdmin cannot
                     communicate with the daemon.
                     When used with -stopserver, client/server
                     connections to TimesTen databases are
                     forcefully and immediately terminated,
                     then the TimesTen Server exits.
[oracle@localhost bin]$  ./ttDaemonAdminCmd -start
TimesTen Daemon startup OK.
[oracle@localhost bin]$
[oracle@localhost bin]$
[oracle@localhost bin]$      ttsql -version
-bash: ttsql: command not found
[oracle@localhost bin]$ ttisql -version
-bash: ttisql: command not found
[oracle@localhost bin]$ which ttisql
/usr/bin/which: no ttisql in (/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin)
[oracle@localhost bin]$ ls ttis*
ttisql  ttisqlcs
[oracle@localhost bin]$ pwd
/home/oracle/TimesTen/tt1122/bin
[oracle@localhost bin]$ pwd
/home/oracle/TimesTen/tt1122/bin
[oracle@localhost bin]$ su - oracle
Password:
[oracle@localhost ~]$
[oracle@localhost ~]$
[oracle@localhost ~]$ which ttisql
~/TimesTen/tt1122/bin/ttisql
[oracle@localhost ~]$ ttisql -version
TimesTen Release 11.2.2.4.1
[oracle@localhost ~]$ ttisql tt1122

Copyright (c) 1996-2011, Oracle.  All rights reserved.
Type ? or "help" for help, type "exit" to quit ttIsql.



connect "DSN=tt1122";
IM002: Data source name not found and no default driver specified
The command failed.
Done.
[oracle@localhost ~]$ pwd
/home/oracle
[oracle@localhost ~]$   
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值