Use of uninitialized value $domain in concatenation (.) or string at /usr/share/perl5/PMG/Utils.pm line 678.

Sep 17, 2020
315
21
38
While editing my main.cf.in file, i then run pmgconfig sync --restart 1 which results in an error:
Use of uninitialized value $domain in concatenation (.) or string at /usr/share/perl5/PMG/Utils.pm line 678.

At first I thought it was related to my custom template, but i erased the template and still got the same error.
Any suggestions on how to fix this?

Thanks!
 
Hi @MiamiJack ,

Ensure you have a line
Code:
search your_hostname_server
at the top of file
Code:
/etc/resolv.conf

Example:
Code:
root@a:~# cat /etc/resolv.conf
search a.node1.example.com
nameserver 1.1.1.1
nameserver 8.8.8.8

Hope this help!