What's in your PATH variable?

On my system, /home/<db2instance_name>/sqllib/adm/db2start is the location
of that command.
You'll need to know the name of the db2instance, mine is (most
unimaginatively) "db2inst1".
Your mileage may vary. Look for it and make the proper substitution.

I think you'll need to make PATH point there and to a couple other places
DB2 likes to find things.
I'd do this:
   export db2inst=/home/db2inst1/sqllib
   export PATH=$PATH:$db2inst/adm:$db2inst/bin:$db2inst/misc

Creating the variable "db2inst" just makes for less typing, you don't have
to do that; you could just do all the typing.
But why, when shells are so convenient? :-)

Good luck,
--Jim--

"We can do no great things; only little things with great love" --Mother
Teresa


|------------>
| From:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Cameron Seay <[email protected]>                                              
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |[email protected]                                                      
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |07/05/2014 15:08                                                             
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |DB2 db2start command for Linux on System z                                   
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|





I am installing DB2 10.5 fixpack 3 on SuSE 11 for s390.  I run the
./db2setup command from the home director of the install and all appears
well. But when I try to start DB2 via db2start I get a "no command of that
name" response.


I have installed and run DB2 9.x many times on the same distro with no
problems.  Any ideas?

--
Cameron Seay, Ph.D.
Department of Computer Systems Technology
School of Technology
NC A & T State University
Greensboro, NC
336 334 7717 x2251

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to