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

Sep 17, 2020
312
19
23
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!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!