Skip to content

Commit

Permalink
Formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Fekete authored and Robert Fekete committed Sep 30, 2024
1 parent dafda38 commit 6839176
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions content/quickstart/managing-and-checking-linux/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,35 +19,37 @@ If the service starts successfully, no output will be displayed.

The following message indicates that {{% param "product.abbrev" %}} can not start (see [Checking {{% param "product.abbrev" %}} status](#check-syslog-ng-status)):

Job for syslog-ng.service failed because the control process exited with error code. See `systemctl status syslog-ng.service` and `journalctl -xe` for details.
```shell
Job for syslog-ng.service failed because the control process exited with error code. See `systemctl status syslog-ng.service` and `journalctl -xe` for details.
```

## Stopping {{% param "product.abbrev" %}}
## Stop {{% param "product.abbrev" %}}

To stop {{% param "product.abbrev" %}}

1. Execute the following command as root.
1. Execute the following command as root.

`systemctl stop syslog-ng`

2. Check the status of {{% param "product.abbrev" %}} service (see [Checking {{% param "product.abbrev" %}} status](#check-syslog-ng-status)).
1. Check the status of {{% param "product.abbrev" %}} service (see [Checking {{% param "product.abbrev" %}} status](#check-syslog-ng-status)).

## Restarting {{% param "product.abbrev" %}}
## Restart {{% param "product.abbrev" %}}

To restart {{% param "product.abbrev" %}}, execute the following command as root.

`systemctl restart syslog-ng`

## Reloading configuration file without restarting {{% param "product.abbrev" %}}
## Reload configuration file without restarting {{% param "product.abbrev" %}}

To reload the configuration file without restarting {{% param "product.abbrev" %}}, execute the following command as root.

`systemctl reload syslog-ng`

## Checking {{% param "product.abbrev" %}} status
## Check {{% param "product.abbrev" %}} status

To check the following status-related components, observe the suggestions below.

### Checking the status of {{% param "product.abbrev" %}} service
### Check the status of {{% param "product.abbrev" %}} service

To check the status of {{% param "product.abbrev" %}} service

Expand Down Expand Up @@ -83,7 +85,7 @@ To check the status of {{% param "product.abbrev" %}} service
Jun 25 09:14:31 as-syslog-srv systemd: Stopped System Logger Daemon.
```

### Checking the process of {{% param "product.abbrev" %}}
### Check the process of {{% param "product.abbrev" %}}

To check the process of {{% param "product.abbrev" %}}, execute one of the following commands.

Expand All @@ -104,8 +106,8 @@ To check the process of {{% param "product.abbrev" %}}, execute one of the follo
syslogng 6709 0.0 0.6 308680 13432 ? Ss 09:17 0:00 /opt/syslog-ng/libexec/syslog-ng -F --no-caps --enable-core
```

### Checking the internal logs of {{% param "product.abbrev" %}}
### Check the internal logs of {{% param "product.abbrev" %}}

The internal logs of {{% param "product.abbrev" %}} contains informal, warning and error messages.

By default, {{% param "product.abbrev" %}} log messages (generated on the `internal()` source) are written to `/var/log/messages`.
Expand Down

0 comments on commit 6839176

Please sign in to comment.