Lotus Domino at startup and on different console

Lotus Domino at startup and on different console

Post by Martin Adle » Thu, 07 Jun 2001 04:24:10



Hi there,

How do I setup a Lotus Domino server to start at bootup and have it's
console on a different Linux Console (example Alt+F6)?

Please help.... thanx in advance,

Martin

 
 
 

Lotus Domino at startup and on different console

Post by Grant Edwar » Thu, 07 Jun 2001 04:33:21



>How do I setup a Lotus Domino server to start at bootup and have it's
>console on a different Linux Console (example Alt+F6)?

One idea: You could put a line in one of your startup scripts
(e.g. /etc/rc.d/rc.local) that uses the "openvt" command from
the consol-tools package to start a program on a particular
console.  Or you could setup an init script and associated
symlinks (in accordance with whatever init system you use) that
does much the same thing.

=================================================================

OPENVT(1)              Linux User's Manual              OPENVT(1)

NAME
       openvt - start a program on a new virtual terminal (VT).

SYNOPSIS
       openvt [-c vtnumber] [-s] [-u] [-l] [-v] [--] command com-
       mand_options

DESCRIPTION
       openvt will find the first available VT, and run on it the
       given  command  with  the  given command options, standard
       input, output and error are directed to that terminal. The
       current  search path ($PATH) is used to find the requested
       command. If no command is specified then  the  environment
       variable $SHELL is used.

   OPTIONS
       -c vtnumber
              Use  the  given  VT number and not the first avail-
              able. Note you must have write access to  the  sup-
              plied VT for this to work.

       -s     Switch to the new VT when starting the command. The
              VT of the new command will be made the new  current
              VT.
[...]

--
Grant Edwards                   grante             Yow!  I just had a NOSE
                                  at               JOB!!
                               visi.com            

Console tools              19 Jul 1996                          2

Quote:

>Please help.... thanx in advance,

>Martin

--
Grant Edwards                   grante             Yow!  I just heard the
                                  at               SEVENTIES were over!! And
                               visi.com            I was just getting in touch
                                                   with my LEISURE SUIT!!

 
 
 

Lotus Domino at startup and on different console

Post by Dean Thompso » Thu, 07 Jun 2001 11:54:57


Hi Martin,

Quote:> How do I setup a Lotus Domino server to start at bootup and have it's
> console on a different Linux Console (example Alt+F6)?

> Please help.... thanx in advance,

You could just redirect the output of the Lotus Domino server to > /dev/tty6.
You just need to make sure that the device /dev/tty6 is capable of being
written to based on the effective ID of the user which is starting the Lotus
Domino server.

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+