# Ghost Doctor \> Config & SystemErrors

**URL:** <https://forum.ghost.org/t/ghost-doctor-config-systemerrors/33426>\
**Category:** Self-hosting\
**Created:** [October 12, 2022, 10:27pm UTC](https://forum.ghost.org/t/ghost-doctor-config-systemerrors/33426 "2022-10-12T22:27:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![simonmc](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/simonmc/32/3579_2.png) [@simonmc](https://forum.ghost.org/u/simonmc)\
**Post date:** [October 12, 2022, 10:27pm UTC](https://forum.ghost.org/t/ghost-doctor-config-systemerrors/33426/1 "2022-10-12T22:27:45Z")

</div>

Running latest major release of Ghost on Digital Ocean.

I’ve been having some issues recently and noticed that when I run `ghost doctor` I now get some pretty serious issues.

 ![Screen Shot 2022-10-13 at 8.51.45 AM](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/8/e/8e0638d639d14100cd6d47953904faf4a709a221.png)

I have no idea why these have started now. Site has been running smoothly for a long time.

I’m struggling to figure out how to solve the first issue:  
`1) Validating config. Error detected in the production configuration.`

The help message suggest I `Run `ghost config <key> <new value>` for each key to fix the issue.`

Any chance someone could elaborate on this for me?

---

<div class="post-metadata">

**Author:** ![mjw](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/mjw/32/30781_2.png) [@mjw](https://forum.ghost.org/u/mjw)\
**Post date:** [October 13, 2022, 1:35pm UTC](https://forum.ghost.org/t/ghost-doctor-config-systemerrors/33426/2 "2022-10-13T13:35:20Z")

</div>

The first error is telling you that another instance of Ghost is running on port 2368. This is set in `production.config.json` and may be set using the `ghost config --port 2368` option. **Are you running more than one instance of Ghost?** If not, then something else may have gone awry.

The other messages relate to `systemd`. This can be set using `ghost config --process systemd`.

After making any changes, you should run `ghost restart`.

> **[Ghost-CLI - A fully loaded tool for installation and configuration](https://ghost.org/docs/ghost-cli/)**
>
> The best way to install, manage, and update your site locally or when self-hosting Ghost. A full guide for our advanced CLI tool.

---

<div class="post-metadata">

**Author:** ![simonmc](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/simonmc/32/3579_2.png) [@simonmc](https://forum.ghost.org/u/simonmc)\
**Post date:** [October 14, 2022, 12:08am UTC](https://forum.ghost.org/t/ghost-doctor-config-systemerrors/33426/3 "2022-10-14T00:08:33Z")

</div>

Thanks for the help @mjw

Something definitely strange going on. The site has been running with no issues for years (with regular updates when required), and now these errors are appearing.

What’s strange is that when I ssh into the server and run:

```auto
cd /var/www/ghost
ghost ls

```

It tells me that no instances of Ghost are running… even though the site is live and working.

I’m going to attempt the `config --process systemd` command shortly, just running a backup.
