cactid.service Won't Start

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
ednyfed
Posts: 1
Joined: Tue May 28, 2024 8:15 pm

cactid.service Won't Start

Post by ednyfed »

I am new to Cacti and am running through the install. I get no errors until I get to the last step. When I enter

Code: Select all

systemctl start cactid
I get an error that

Code: Select all

Job for cactid.service failed because of unavailable resources or another system error.
I'm stuck and not sure where to go from here. Here are the log results:

Code: Select all

$ systemctl status cactid.service
● cactid.service - Cacti Daemon Main Poller Service
     Loaded: loaded (/etc/systemd/system/cactid.service; enabled; preset: enabled)
     Active: activating (auto-restart) (Result: resources) since Tue 2024-05-28 21:19:36 EDT; 5s ago
        CPU: 0

May 28 21:19:41 BMaxB2MiniPC systemd[1]: cactid.service: Scheduled restart job, restart counter is at 1627.
May 28 21:19:41 BMaxB2MiniPC systemd[1]: cactid.service: Failed to load environment files: Is a directory
May 28 21:19:41 BMaxB2MiniPC systemd[1]: cactid.service: Failed to spawn 'start' task: Is a directory
May 28 21:19:41 BMaxB2MiniPC systemd[1]: cactid.service: Failed with result 'resources'.
May 28 21:19:41 BMaxB2MiniPC systemd[1]: Failed to start cactid.service - Cacti Daemon Main Poller Service.

Code: Select all

$ journalctl -xeu cactid.service
░░ 
░░ Automatic restarting of the unit cactid.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
May 28 21:19:36 BMaxB2MiniPC systemd[1]: cactid.service: Failed to load environment files: Is a directory
May 28 21:19:36 BMaxB2MiniPC systemd[1]: cactid.service: Failed to spawn 'start' task: Is a directory
May 28 21:19:36 BMaxB2MiniPC systemd[1]: cactid.service: Failed with result 'resources'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ The unit cactid.service has entered the 'failed' state with result 'resources'.
May 28 21:19:36 BMaxB2MiniPC systemd[1]: Failed to start cactid.service - Cacti Daemon Main Poller Service.
░░ Subject: A start job for unit cactid.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ A start job for unit cactid.service has finished with a failure.
░░ 
░░ The job identifier is 183878 and the job result is failed.
May 28 21:19:41 BMaxB2MiniPC systemd[1]: cactid.service: Scheduled restart job, restart counter is at 1627.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ Automatic restarting of the unit cactid.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
May 28 21:19:41 BMaxB2MiniPC systemd[1]: cactid.service: Failed to load environment files: Is a directory
May 28 21:19:41 BMaxB2MiniPC systemd[1]: cactid.service: Failed to spawn 'start' task: Is a directory
May 28 21:19:41 BMaxB2MiniPC systemd[1]: cactid.service: Failed with result 'resources'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ The unit cactid.service has entered the 'failed' state with result 'resources'.
May 28 21:19:41 BMaxB2MiniPC systemd[1]: Failed to start cactid.service - Cacti Daemon Main Poller Service.
░░ Subject: A start job for unit cactid.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░ 
░░ A start job for unit cactid.service has finished with a failure.
░░ 
░░ The job identifier is 183978 and the job result is failed.
bmfmancini
Cacti User
Posts: 250
Joined: Wed Mar 13, 2019 3:37 pm
Location: toronto
Contact:

Re: cactid.service Won't Start

Post by bmfmancini »

Hey there

First make sure you have created the environment file
Also what does your cactid.service file look like ?

Ensure you have the proper user set in that file
Telecom Lifer, Monitoring and performance enthusiast, Father, Husband

Cacti Bug Hunter and Member

www.seanmancini.com
sean(at)seanmancini.com
github.com/bmfmancini

My Cacti scripts and templates ( Non official)
Cacti install wizard https://github.com/bmfmancini/cacti-install-wizard
Cacti templates https://github.com/bmfmancini/Cacti-templates

Always willing to help!
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest