Failed to start Pi-hole FTLDNS engine

Hey folks,
I wanted to use Pihole (as i already was using it in debian) but i went to official website and i found out they does not support arch linux (aka manjaro) but i found https://wiki.archlinux.org/index.php/Pi-hole#Pi-hole_server which is good and i tried to move with the wiki but whenever i try run the pihole-FTL.service i get error message (and i tried to disable systemd-resolved.service but no luck) so i was hoping someone here can help me

[esmailelbob@esmailelbob 🐸] ⮞/home/esmailelbob% systemctl status pihole-FTL                                      
● pihole-FTL.service - Pi-hole FTLDNS engine
     Loaded: loaded (/usr/lib/systemd/system/pihole-FTL.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Fri 2020-12-04 12:37:28 EET; 3s ago
    Process: 15691 ExecStartPre=/bin/chown -R pihole:pihole /etc/pihole (code=exited, status=0/SUCCESS)
    Process: 15692 ExecStartPre=/bin/chown root:root /etc/pihole/logrotate (code=exited, status=0/SUCCESS)
    Process: 15693 ExecStart=/usr/bin/pihole-FTL no-daemon (code=exited, status=2)
   Main PID: 15693 (code=exited, status=2)

Dec 04 12:37:28 esmailelbob systemd[1]: pihole-FTL.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
Dec 04 12:37:28 esmailelbob systemd[1]: pihole-FTL.service: Failed with result 'exit-code'.
Dec 04 12:37:28 esmailelbob systemd[1]: pihole-FTL.service: Scheduled restart job, restart counter is at 5.
Dec 04 12:37:28 esmailelbob systemd[1]: Stopped Pi-hole FTLDNS engine.
Dec 04 12:37:28 esmailelbob systemd[1]: pihole-FTL.service: Start request repeated too quickly.
Dec 04 12:37:28 esmailelbob systemd[1]: pihole-FTL.service: Failed with result 'exit-code'.
Dec 04 12:37:28 esmailelbob systemd[1]: Failed to start Pi-hole FTLDNS engine.

Check your configuration

1 Like

now i get only:

[esmailelbob@esmailelbob 🐸] ⮞/etc/pihole% systemctl status pihole-FTL.service 
● pihole-FTL.service - Pi-hole FTLDNS engine
     Loaded: loaded (/usr/lib/systemd/system/pihole-FTL.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Fri 2020-12-04 15:02:16 EET; 3s ago
    Process: 29281 ExecStartPre=/bin/chown -R pihole:pihole /etc/pihole (code=exited, status=0/SUCCESS)
    Process: 29282 ExecStartPre=/bin/chown root:root /etc/pihole/logrotate (code=exited, status=0/SUCCESS)
    Process: 29283 ExecStart=/usr/bin/pihole-FTL no-daemon (code=exited, status=2)
   Main PID: 29283 (code=exited, status=2)

Dec 04 15:02:16 esmailelbob systemd[1]: pihole-FTL.service: Scheduled restart job, restart counter is at 5.
Dec 04 15:02:16 esmailelbob systemd[1]: Stopped Pi-hole FTLDNS engine.
Dec 04 15:02:16 esmailelbob systemd[1]: pihole-FTL.service: Start request repeated too quickly.
Dec 04 15:02:16 esmailelbob systemd[1]: pihole-FTL.service: Failed with result 'exit-code'.
Dec 04 15:02:16 esmailelbob systemd[1]: Failed to start Pi-hole FTLDNS engine.

and here is my config file:

### This file contains parameters for FTL behavior.
### At install, all parameters are commented out. The user can select desired options.
### Options shown are the default configuration. No modification is needed for most
### installations.
### Visit https://docs.pi-hole.net/ftldns/configfile/ for more detailed parameter explanations

## Out of documentation
LOGFILE=/run/log/pihole-ftl/pihole-FTL.log
PIDFILE=/run/pihole-ftl/pihole-FTL.pid
PORTFILE=/run/pihole-ftl/pihole-FTL.port
SOCKETFILE=/run/pihole-ftl/FTL.sock

## Socket Listening
## Listen only for local socket connections or permit all connections
## Options: localonly, all
SOCKET_LISTENING=all

## Query Display
## Display all queries? Set to no to hide query display
## Options: yes, no
QUERY_DISPLAY=yes

## AAA Query Analysis
## Allow FTL to analyze AAAA queries from pihole.log?
## Options: yes, no
AAAA_QUERY_ANALYSIS=yes

## Resolve IPv6
## Should FTL try to resolve IPv6 addresses to host names?
## Options: yes, no
RESOLVE_IPV6=no

## Resolve IPv4
## Should FTL try to resolve IPv4 addresses to host names?
## Options: yes, no
RESOLVE_IPV4=yes

## Max Database Days
## How long should queries be stored in the database -days-?
## Setting this to 0 disables the database
## See: https://docs.pi-hole.net/ftldns/database/
## Options: number of days
MAXDBDAYS=0

## Database Interval
## How often do we store queries in FTL's database -minutes-?
## See: https://docs.pi-hole.net/ftldns/database/
## Options: number of minutes
DBINTERVAL=1.0

## Database File
## Specify path and filename of FTL's SQLite3 long-term database.
## Setting this to DBFILE= disables the database altogether
## See: https://docs.pi-hole.net/ftldns/database/
## Option: path to db file
DBFILE=/etc/pihole/pihole-FTL.db

## Max Log Age
## Up to how many hours of queries should be imported from the database and logs -hours-?
## Maximum is 744 -31 days-
## Options: number of days
MAXLOGAGE=24.0

## FTL Port
## On which port should FTL be listening?
## Options: tcp port
FTLPORT=420

## Privacy Level
## Which privacy level is used?
## See: https://docs.pi-hole.net/ftldns/privacylevels/
## Options: 0, 1, 2, 3
PRIVACYLEVEL=0

## Ignore Localhost
## Should FTL ignore queries coming from the local machine?
## Options: yes, no
IGNORE_LOCALHOST=no

## Blocking Mode
## How should FTL reply to blocked queries?
## See: https://docs.pi-hole.net/ftldns/blockingmode/
## Options: NULL, IP-NODATA-AAAA, IP, NXDOMAIN
BLOCKINGMODE=NULL

## Regex Debug Mode
## Controls if FTLDNS should print extended details about regex matching into pihole-FTL.log.
## See: https://docs.pi-hole.net/ftldns/regex/overview/
## Options: true, false
REGEX_DEBUGMODE=false

A post was split to a new topic: Raspberry Pi - PiHole - FTLDNS