I GOT IT!
I think these two files are the key.
 cat /etc/inittab
ca:12345:ctrlaltdel:/sbin/shutdown -h now
fmc:2345:respawn:/opt/ibm/db2/V11.1/bin/*db2fmcd* #DB2 Fault Monitor
Coordinator

 cat /etc/systemd/system/db2fmcd.service
# DB2 fault monitor
# Starts fmcd
# Note: any customizations to this file will be lost the next time this is
updated

[Unit]
Description=DB2 v11.1.2.2

[Service]
ExecStart=/opt/ibm/db2/V11.1/bin/*db2fmcd*
Restart=always

[Install]
WantedBy=default.target

Thanks EVERYONE



On Tue, Apr 16, 2024 at 4:06 PM Tom Huegel <[email protected]> wrote:

> It just keeps getting weirder.
> [  OK  ] STOPPED DB2 V11.1.2.2."[  OK  ] STARTED DB2 V11.1.2.2."
> [  OK  ] STOPPED DB2 V11.1.2.2."[  OK  ] STARTED DB2 V11.1.2.2."
> [  OK  ] STOPPED DB2 V11.1.2.2."[  OK  ] STARTED DB2 V11.1.2.2."
> [  OK  ] STOPPED DB2 V11.1.2.2."[  OK  ] STARTED DB2 V11.1.2.2."
> [  OK  ] STOPPED DB2 V11.1.2.2."[FAILED] FAILED TO START DB2
> V11.1.2.2."SEE 'SYSTEMCTL STATUS
>  DB2FMCD.SERVICE' FOR DETAILS."2024-04-16T15:59:57.737519-05:00 LINUX
> SYSTEMD[1]: FAILED TO
>  START DB2 V11.1.2.2."
>
>
>
>
> On Tue, Apr 16, 2024 at 2:49 PM Paul Rogers <[email protected]> wrote:
>
>> Hi Tom,
>>
>> Absolutely no experience, but perhaps it should be something like:
>>    ExecStart=/opt/ibm/db2/V11.1/bin/db2fmcd
>> based on
>>
>>
>> https://www.ibm.com/support/pages/db2-autostart-not-supported-red-hat-enterprise-linux-version-7
>> and przytula's post of June 6th, 2017 (#3)
>>    https://ubuntuforums.org/showthread.php?t=2363029
>>
>> Good luck!
>>
>> Paul
>>
>> On Tue, Apr 16, 2024 at 12:55 PM Tom Huegel <[email protected]> wrote:
>>
>> >  OK I am getting closer I think.
>> > EXECUTABLE PATH SPECIFIES A DIRECTORY, IGNORING:
>> > /OPT/IBM/DB2/V11.1/BIN/        <=== I think it is telling me something
>> is
>> > missing here.
>> > This is what's the   /etc/systemd/system/db2fmcd.service file .. I
>> think I
>> > need a program name to run. Any idea what is missing?
>> >  ExecStart=/opt/ibm/db2/V11.1/bin/
>> >
>> > On Fri, Apr 12, 2024 at 3:45 PM Cortes, Marcy D. <
>> > [email protected]> wrote:
>> >
>> > > If you can’t undo what you did with the db2fm command (history command
>> > > might be your friend), then you can probably edit the file
>> > > /etc/systemd/system/db2fmcd.service and change it to 11.1
>> > >
>> > > I can’t check a real server anymore to tell you for sure because we no
>> > > longer have db2 connect running so doing this from memory :)
>> > >
>> > > Reboot is easiest, but these may work
>> > > systemctl stop db2fmcd
>> > > edit it
>> > > systemctl daemon-reload
>> > > systemctl start db2fmcd
>> > >
>> > >
>> > >
>> > > From: Linux on 390 Port <[email protected]> On Behalf Of Tom
>> > Huegel
>> > > Sent: Friday, April 12, 2024 12:04 PM
>> > > To: [email protected]
>> > > Subject: Re: Start DB2 Connect at linux boot
>> > >
>> > > 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
>> > >
>> > >
>> > >  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
>> > >
>> > >
>> > >
>> > > ----------------------------------------------------------------------
>> > > For LINUX-390 subscribe / signoff / archive access instructions,
>> > > send email to [email protected] with the message: INFO
>> LINUX-390 or
>> > > visit
>> > > http://www2.marist.edu/htbin/wlvindex?LINUX-390
>> > >
>> >
>> > ----------------------------------------------------------------------
>> > For LINUX-390 subscribe / signoff / archive access instructions,
>> > send email to [email protected] with the message: INFO LINUX-390
>> or
>> > visit
>> > http://www2.marist.edu/htbin/wlvindex?LINUX-390
>> >
>>
>> ----------------------------------------------------------------------
>> For LINUX-390 subscribe / signoff / archive access instructions,
>> send email to [email protected] with the message: INFO LINUX-390 or
>> visit
>> http://www2.marist.edu/htbin/wlvindex?LINUX-390
>>
>

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

Reply via email to