Cannot find /boot/photon.cfg file in Loginsight 8.x
search cancel

Cannot find /boot/photon.cfg file in Loginsight 8.x

book

Article ID: 415514

calendar_today

Updated On:

Products

VMware vRealize Log Insight 8.x

Issue/Introduction

When a user is applying the steps in KB312258, he needs to run a command against file /boot/photon.cfg :

   sed -i '/^photon_cmdline/ s/$/'" ipv6.disable=1"'/' /boot/photon.cfg

    

But in this user's Loginsight appliance, the file /boot/photon.cfg doesn't exist.

Therefore he cannot run the command above.

 

Environment

Loginisght 8.x

Cause

/boot/photon.cfg is a symbol link, it points to a linux-n.nn.nnn.cfg file under /boot folder.

For some unknown reasons, the  symbol link   /boot/photon.cfg  is missing.

 

The user can re-create the symbol link:   /boot/photon.cfg 

 

 

Resolution

For this user environment, the linux-n.nn.nnn.cfg file  is   /boot/linux-5.10.230-1.ph4.cfg 

 

The user need to run a command to re-create the symbol link manually:

     cd  /boot

     ln -s  linux-5.10.230-1.ph4.cfg     photon.cfg

 

Then he can run the commands againswt /boot/photon.cfg .

Additional Information

There should be exactly one file in /boot with pattern linux-*.cfg

KB398755