X-posted on z/VM list
---------- Forwarded message ---------
From: Tom Huegel <tehue...@gmail.com>
Date: Fri, Apr 12, 2024 at 11:54 AM
Subject: Re: OT DB2 Autostart
To: The IBM z/VM Operating System <ib...@listserv.uark.edu>


Well I think this is progress. It looks like DB2 is attempting to startup
but I have something wrong.
Can anyone interpret these messages?
I see one problem at least, but don't know how to fix it. DB2/V10.5 sb
DB2/V11.1 .... I was doing some copy/paste from the instructions I think
that is where the V10.5 came from but now I can't get rid of it.

 STARTING RMC-RESOURCE MONITIORING: 2024-04-12T10:31:53.657749-05:00 LINUX
SYSTEMD[1]: [/ETC/SYSTEMD/SYSTEM/DB2FMCD.SERVICE:9]
   EXECUTABLE PATH SPECIFIES A DIRECTORY, IGNORING:
/OPT/IBM/*DB2/V10.5*/BIN/"2024-04-12T10:31:53.57841-05:00
LINUX SYSTEMD[1]: DB2

On Thu, Apr 11, 2024 at 7:31 AM Tom Huegel <tehue...@gmail.com> wrote:

> Oh my gosh.. I checked my spam folder and there were the responses from
> 390-LINUX.
> Thanks to everyone that responded.
> I'll give an update with the method that worked for me.
> Tom
>
>
> On Wed, Apr 10, 2024 at 8:50 PM Gregg Levine <gregg.drw...@gmail.com>
> wrote:
>
>> Hello!
>> Actually Tom H, I just checked my email and saw a series of good
>> responses, including yours Marcy, (I set a filter so that your work
>> email messages are not sent to the mail reader's bitbucket.)
>> -----
>> Gregg C Levine gregg.drw...@gmail.com
>> "This signature fought the Time Wars, time and again."
>>
>> On Wed, Apr 10, 2024 at 5:13 PM Tom Huegel <tehue...@gmail.com> wrote:
>> >
>> > I am very much a LINUX novice.
>> > Yea I asked on 390-linux yesterday but never got a response.
>> > Thanks Rick and Berry I can start with that info.
>> > MARCY that looks like the best solution for me. _ THANKS
>> >
>> > On Wed, Apr 10, 2024 at 3:59 PM marcy cortes <marcy.d.cor...@gmail.com>
>> wrote:
>> >>
>> >> Turning on db2 fault monitor should do what you want
>> >>
>> >> https://www.ibm.com/docs/en/db2/11.5?topic=server-db2-fault-monitor
>> >>
>> >>
>> >> Marcy
>> >>
>> >>
>> >> On Wed, Apr 10, 2024 at 1:42 PM Berry van Sleeuwen <
>> berry.vansleeu...@xs4all.nl> wrote:
>> >>>
>> >>> Just add DB2 startup in your startup process. A SYSV init script can
>> be included in SystemD. I guess DB2 has those scripts available, I don't
>> know if current versions also have SystemD style configurations.
>> >>>
>> >>> Indeed I'm not a fan of SystemD, if anything it scattered all startup
>> scripts around in the filesystem, so you cannot see what's started during
>> boot by just looking at one directory (previously /etc/init.d/rc3.d would
>> show what's started in level 3, nowadays I'm still guessing what will be
>> started.)
>> >>>
>> >>> Regards, Berry.
>> >>>
>> >>> Op 10-04-2024 om 22:02 schreef Rick Troth:
>> >>>
>> >>> Not really off-topic since so many of us are using VM to host Linux.
>> But there *is* the LINUX-390 list hosted at Marist.
>> >>>
>> >>> I recommend that you cobble-up a SysV style INIT script.
>> >>> These days, SystemD is the master of all things Linux, but #1 many
>> dislike it and #2 the older method is objectively easier to code.
>> >>>
>> >>> You already know how to bring it up manually, right? (And does it
>> persist? Can you then close your command windows and virtual terminals?)
>> >>> So throw that command (or those commands if there must be more than
>> one) into the "start)" stanza of an INIT script as follows:
>> >>>
>> >>>
>> >>> case $1 in
>> >>>     start)
>> >>>         ... whatever you need to bring it up ...
>> >>>         ;;
>> >>>     stop)
>> >>>         ... whatever you need to bring it down ...
>> >>>         ;;
>> >>>     restart) # maybe
>> >>>         $0 stop
>> >>>         $0 start
>> >>>         ;;
>> >>>     # other stanzas as needed
>> >>> esac
>> >>>
>> >>>
>> >>> Call this script "db2" and place it into the directory /etc/init.d.
>> (Create that directory if it is missing.)
>> >>>
>> >>> At this point you have two options.
>> >>> If you have an INIT compatibility package installed, you can probably
>> get SystemD to use the script as-is. (Try the 'chkconfig' command.)
>> >>> If you do not have some sort of compatibility package available, you
>> can cobble up a SystemD "service" file which uses your script.
>> >>> I'll defer sending that sample unless you really need/want it.
>> >>>
>> >>> If you ask this on the LINUX-390 list, you'll get better/deeper
>> answers. You'll also hear from SystemD adherents who will tell you to go
>> that way as a matter of course. (KISS is lost on some people.)
>> >>>
>> >>>
>> >>> -- R; <><
>> >>>
>> >>>
>> >>>
>> >>> On 4/10/24 14:55, Tom Huegel wrote:
>> >>>
>> >>> I know this is off topic but can anyone show me how to autostart DB2
>> connect at zLINUX boot?l
>> >>>
>> >>> ________________________________
>> >>>
>> >>> To unsubscribe from the IBMVM list, click the following link:
>> >>> http://listserv.uark.edu/scripts/wa-UARKEDU.exe?SUBED1=IBMVM&A=1
>> >>>
>> >>>
>> >>> ________________________________
>> >>>
>> >>> To unsubscribe from the IBMVM list, click the following link:
>> >>> http://listserv.uark.edu/scripts/wa-UARKEDU.exe?SUBED1=IBMVM&A=1
>> >>>
>> >>>
>> >>> ________________________________
>> >>>
>> >>> To unsubscribe from the IBMVM list, click the following link:
>> >>> http://listserv.uark.edu/scripts/wa-UARKEDU.exe?SUBED1=IBMVM&A=1
>> >>
>> >>
>> >> ________________________________
>> >>
>> >> To unsubscribe from the IBMVM list, click the following link:
>> >> http://listserv.uark.edu/scripts/wa-UARKEDU.exe?SUBED1=IBMVM&A=1
>> >
>> >
>> > ________________________________
>> >
>> > To unsubscribe from the IBMVM list, click the following link:
>> > http://listserv.uark.edu/scripts/wa-UARKEDU.exe?SUBED1=IBMVM&A=1
>>
>> ############################
>>
>> To unsubscribe from the IBMVM list:
>> write to: mailto:ibmvm-signoff-requ...@listserv.uark.edu
>> or click the following link:
>> http://listserv.uark.edu/scripts/wa-UARKEDU.exe?SUBED1=IBMVM&A=1
>>
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to