Beruflich Dokumente
Kultur Dokumente
//
[root@localhost server]# ./db2_install
ERROR:
The required library file libaio.so.1 is not found on the system.
Check the following web site for the up-to-date system requirements
of IBM DB2 9.7
http://www.ibm.com/software/data/db2/udb/sysreqs.html
http://www.software.ibm.com/data/db2/linux/validate
Aborting the current installation ...
Run installation with the option "-f sysreq" parameter to force the installati
on.
//
[root@localhost server]# cd ..
[root@localhost /]# cd /home/chenweidan/Desktop/ftp/upload
[root@localhost upload]# ls
db2client
server
libaio-0.3.106-3.2.x86_64.rpm v9.7fp2_linuxx64_server.tar.gz
[root@localhost upload]# rpm -ivh libaio-0.3.106-3.2.x86_64.rpm
warning: libaio-0.3.106-3.2.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID a
83bd72e
Preparing...
########################################### [100%]
1:libaio
########################################### [100%]
[root@localhost upload]# cd server
[root@localhost server]# ./db2_install
Default directory for installation of products - /opt/ibm/db2/V9.7
***********************************************************
Do you want to choose a different directory to install [yes/no] ?
no
Specify one of the following keywords to install DB2 products.
ESE
CONSV
WSE
EXP
PE
CLIENT
RTCL
Enter "help" to redisplay product names.
group list of the given user ID. One of the following situations has
occurred:
* NIS is running.
* One or more processes are currently being executed under the given
user ID.
User response:
You must add the group ID, dasadm1, to the secondary group list of
the user ID, db2inst1, so that the Adminstration Server can function
properly.
* If there happens to be any process run under the given user ID,
terminate all of these processes and follow the instructions above to
setup the secondary group list of this user ID.
* If you are running this command on an NIS client, try the above
instructions to setup the secondary group list of this user ID on
your NIS server.
DBI1070I Program db2icrt completed successfully.
[root@localhost ~]# su -l db2inst1
[db2inst1@localhost ~]$ db2start
10/20/2013 08:19:37 0 0 SQL1063N DB2START processing was successful.
SQL1063N DB2START processing was successful.
[db2inst1@localhost ~]$ db2set DB2_SKIPDELETED=ON
[db2inst1@localhost ~]$ db2set DB2_HASH_JOIN=YES
[db2inst1@localhost ~]$ db2set DB2_RR_TO_RS=YES
[db2inst1@localhost ~]$ db2set DB2CODEPAGE=1386
[db2inst1@localhost ~]$ DB2COMM=TCPIP
[db2inst1@localhost ~]$ db2set DB2CODEPAGE=1386DB2COMM=TCPIP
[db2inst1@localhost ~]$ db2set DB2COMM=TCPIP
[db2inst1@localhost ~]$ db2set DB2_PARALLEL_IO=*
[db2inst1@localhost ~]$ db2set update dbm cfg using svcename 50000
DBI1302E Invalid parameter detected.
[db2inst1@localhost ~]$ db2 update dbm cfg using svcename 50000
DB20000I The UPDATE DATABASE MANAGER CONFIGURATION command completed
successfully.
[db2inst1@localhost ~]$ db2start
10/20/2013 08:30:29 0 0 SQL1026N The database manager is already active.
SQL1026N The database manager is already active.
[db2inst1@localhost ~]$ db2sampl