Topic
  • 1 reply
  • Latest Post - ‏2013-09-11T11:22:08Z by MikeCrowley
MikeCrowley
MikeCrowley
3 Posts

Pinned topic DB2 non-root install db2rfe command does not set service name

‏2013-08-22T11:27:23Z |

Hi,

I am doing an install of DB2 v10.1fp2_linuxx64_wser.tar.gz WSE as non-root.

When I complete the install I wish to enable some root features as non-root. I want to enable server authentication and The ability to reserve service names in the /etc/services file.

The server authentication part works ok. 
The second part, The ability to reserve service names in the /etc/services file, doesnt work as I expect. 

Am I correct in saying this should 

i) populate the SVCENAME in the dbm cfg

ii) add the SVCENAME and port to the /etc/services file? eg db2c_db2inst1   50000/tcp

If that is the case, then why does this not work for me? I use the following CFG file 

*****************************

#** Configuration file for db2rfe of IBM DB2
#** -----------------------------------------------
 
INSTANCENAME=db2inst1
SET_ULIMIT=NO
 
#** ----------------------------------------------------------------------------
#** Enable DB2 High Availability (HA) feature
#** ----------------------------------------------------------------------------
 
ENABLE_HA=NO
 
#** ------------------------------------------------------------------------------
#** ENABLE DB2 Authentication on the server using local operating system security.
#** ------------------------------------------------------------------------------
 
ENABLE_OS_AUTHENTICATION=YES
 
#** --------------------------------------------
#** Reserve DB2 remote connection service entry
#** --------------------------------------------
RESERVE_REMOTE_CONNECTION=YES
SVCENAME=db2c_db2inst1
SVCEPORT=50000
#** --------------------------------------
#** Reserve DB2 text search service entry
#** --------------------------------------
#RESERVE_TEXT_SEARCH_CONNECTION=NO
#*SVCENAME_TEXT_SEARCH=db2j_db2inst1
#*SVCEPORT_TEXT_SEARCH=50000

***************************

 

and get teh following error :

   cat /tmp/db2rfe.log.20990
DBI1213I Root feature OS_AUTHENTICATION has been enabled successfully.


DBI1640W The specified instance is not a server instance.

Explanation:

Some of the DB2 components can only be configured for DB2 server
instances.

User response:


* If the specified instance is a client instance and DB2 server product
is installed, run db2iupdt to update the client instance to a server
instance.
* If the specified instance is a Data Link Administration Server, exit
the installer and set up the instance from the command line, if you
wish to do so.


DBI1079I Output is saved in the log file /tmp/db2rfe.log.20990.

Explanation:

All processed and failed operations have been saved into this log file.

User response:

Do not modify this file in any way. This file is for IBM Technical
Support reference.
 

  • MikeCrowley
    MikeCrowley
    3 Posts

    Re: DB2 non-root install db2rfe command does not set service name

    ‏2013-09-11T11:22:08Z  

    Hi,

    Does anyone have an answer as to why I cannot enable the ability to reserve service names in the /etc/services file using db2rfe command?