Movatterモバイル変換


[0]ホーム

URL:


CFEngine documentation homepage

Debugging Mission Portal

Suggest changes
Table of contents
  1. Set the API log level to DEBUG in Mission Portal settings.

  2. Edit/var/cfengine/share/GUI/index.php and setENVIRONMENT todevelopment

    /var/cfengine/share/GUI/index.php
    define('ENVIRONMENT', 'development');
  3. Run the hubs policy.

    command
    cf-agent -KI
  4. Restartcf-apache.

    For systemd manged systems (RedHat/Centos7, Debian 7+, Ubuntu 15.04+):

    command
    systemctl restart cf-apache

    For sysv init managed systems:

    command
    pkill httpd && cf-agent -KI

    or

    command
    LD_LIBRARY_PATH=/var/cfengine/lib:$LD_LIBRARY_PATH /var/cfengine/httpd/bin/apachectl restart
  5. Watch the logs:

  6. /var/cfengine/httpd/logs/error_log

  7. /var/cfengine/httpd/htdocs/application/logs/log-$(date +%Y-%m-%d).php

Still need help?

Chat Ask a question on Github Mailing list
Version 
master3.24 (LTS)3.21 (LTS)view all versions

[8]ページ先頭

©2009-2025 Movatter.jp