Skip to main content
mscirri
Explorer II
June 29, 2023
Solved

Unable to stop processes with phTools

  • June 29, 2023
  • 4 replies
  • 4674 views

I was trying to stop and start all processes in an attempt to get the latest content update to install. Every time we try to install it the status just sits  at "Installing" with no progress bar updates into perpetuity.   So I thought I would try restarting the processes.   When I log in as root and run phtools --stop ALL it fails. Below is a snippet of the output that contains errors.

 

Version 6.7.0.1716

Content Version Running:  407

 

[PH_MODULE_LOG_LEVEL_CHANGE]:[eventSeverity]=PHL_INFO,[procName]=phtools,[fileName]=phBaseProcess.cpp,[lineNumber]=682,[oldLogLevel]=424,[newLogLevel]=424,[phLogDetail]=Module received log level change
[PH_UTIL_PHOENIX_CONFIG_ITEM_MISSING]:[eventSeverity]=PHL_ERROR,[procName]=phtools,[fileName]=phConfigurations.cpp,[lineNumber]=157,[propName]=phtools,[phLogDetail]=Could not find item in phoenix_config.txt
[PH_MODULE_INIT_COMPLETE]:[eventSeverity]=PHL_INFO,[procName]=phtools,[fileName]=phBaseProcess.cpp,[lineNumber]=563,[phLogDetail]=Module successfully started
[PH_NOTIFICATION_CONN_FAILED]:[eventSeverity]=PHL_ERROR,[procName]=phtools,[fileName]=phBaseNotificationClient.cpp,[lineNumber]=103,[serverName]=localhost,[ipPort]=17900,[module]=phMonitor,[phLogDetail]=Failed to connect to notification server - localhost:17900
Monitor is not available
[PH_MODULE_EXIT_OK]:[eventSeverity]=PHL_INFO,[procName]=phtools,[fileName]=phBaseProcess.cpp,[lineNumber]=367,[phLogDetail]=Module exited gracefully

 

FortiSIEM 

    Best answer by premchanderr

    Hi @mscirri ,

     

    These log messages are generic , the restart of processed would take time if anything is highly utilized. In that case you can find the pid and kill it. 

    Also to restart all the processes, not just phProcess . You can use below command:
    # phxctl stop

    # phxctl start
    # phxctl reboot

    4 replies

    mscirri
    mscirriAuthor
    Explorer II
    June 29, 2023

    I restarted the whole VM and everything works fine now. Go figure.

    premchanderr
    Staff & Editor
    Staff & Editor
    June 30, 2023

    Hi @mscirri ,

     

    These log messages are generic , the restart of processed would take time if anything is highly utilized. In that case you can find the pid and kill it. 

    Also to restart all the processes, not just phProcess . You can use below command:
    # phxctl stop

    # phxctl start
    # phxctl reboot

    mscirri
    mscirriAuthor
    Explorer II
    June 30, 2023

    So I would do all 3?   Or does reboot = stop + start?

    premchanderr
    Staff & Editor
    Staff & Editor
    July 1, 2023

    Hi @mscirri , 

    Phxctl Reboot will systematically stop and start processes. Or you can use just stop and then start too. 

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!