MySQL process status is stopped on WF-500 appliance with error "Startup script /sbin/pan_check_ld_mounts.sh failed"

MySQL process status is stopped on WF-500 appliance with error "Startup script /sbin/pan_check_ld_mounts.sh failed"

457
Created On 10/18/22 13:51 PM - Last Modified 11/17/25 20:44 PM


Symptom


  • Status of MySQL process is stopped with the following error:
    admin@WF-500> show system software status
    …
    Process  mysql                      stopped        (pid: -1) - Startup script /sbin/pan_check_ld_mounts.sh failed with ret 6078
  • Missing one or more of devices: /dev/md1, /dev/md2, /dev/md3, or /dev/md4.
    admin@WF-500> show system disk-space
    
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/root        17G  5.5G   11G  35% /
    none             63G  164K   63G   1% /dev
    /dev/sda5        27G   12G   14G  47% /opt/pancfg
    /dev/sda6        21G  7.7G   12G  40% /opt/panrepo
    tmpfs            63G     0   63G   0% /dev/shm
    /dev/sda8        56G  241M   53G   1% /opt/panlogs
    /dev/md1        275G   40G  222G  16% /opt/panlogs/ld1_1
    /dev/md3        275G   45G  217G  18% /opt/vmrepo
    /dev/md4        642G   23G  588G   4% /opt/panlogs/ld2_2
  • In raid.log, mounting of /dev/md[x] is failing:
    Jan 27 13:39:08 DEBUG: raid_util: argv: ['Startup']
    Jan 27 13:39:09 INFO: New Disk Pair A detected.
    Jan 27 13:39:09 INFO: New Disk Pair A detected.
    Jan 27 13:39:09 ERROR: mounting /dev/md2 failed with ret 32: mount: special device /dev/md2 does not exist
    
    Jan 27 13:39:09 DEBUG: Mounting Disk Pair A (/dev/md2)
    Jan 27 13:39:09 ERROR: mounting the Disk Pair A failed with ret mount: special device /dev/md2 does not exist


Environment


WF-500 appliances only.



Cause


During startup, one or two RAID disks are not recognized.



Resolution


  1. Run the following CLI command to recover the RAID controller:
    admin@WF-500> debug software raid fixup auto
  2. Then reboot the system:
    admin@WF-500> request restart system


Additional Information


The command "debug software raid fixup auto" was introduced via WF500-4785 and is available in PAN-OS versions: 8.0.18, 8.1.8, 9.0.2, 9.1.0, and later releases.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000sZboCAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail