Monthly Archives: June 2020

die [Internal Death while parsing ./webmail/paper_lantern/index.html 2429281] Template::Exception:

[INFO]=[mail_clients/ not found]
at line 1126.
cpanel::cpanel::cptt_exectag("/usr/local/cpanel/base/webmail/paper_lantern/", 1) called at line 4606
cpanel::cpanel::run_standard_mode() called at line 930
cpanel::cpanel::script("cpanel::cpanel", "-webmail", "./webmail/paper_lantern/index.html") called at line 32

info [webmaild] show_template.stor lacked output with exit code: 127 at /usr/local/cpanel/Cpanel/ line 1381.
Cpanel::Server::process_login_template(Cpanel::Server=HASH(0x29ce220), __CPANEL_HIDDEN__, __CPANEL_HIDDEN__, 1, __CPANEL_HIDDEN__, undef, __CPANEL_HIDDEN__, 1, ...) called at /usr/local/cpanel/Cpanel/ line 2085
Cpanel::Server::process_and_send_login_template(Cpanel::Server=HASH(0x29ce220), "login", "HTTP/1.1 200 OK\x{d}\x{a}Set-Cookie: webmailrelogin=no; HttpOnly; exp"..., HASH(0x2cb1658)) called at /usr/local/cpanel/Cpanel/ line 926
Cpanel::Server::badpass(Cpanel::Server=HASH(0x29ce220), __CPANEL_HIDDEN__, 1, __CPANEL_HIDDEN__, 1) called at line 5402
cpanel::cpsrvd::handle_auth() called at line 1332
cpanel::cpsrvd::handle_one_connection(11) called at line 1114
cpanel::cpsrvd::script() called at line 434

Failed to show template “login” in login theme “cpanel” (); falling back to legacy login. at /usr/local/cpanel/Cpanel/ line 2089.

Solution cloud be:
cd /usr/local/cpanel/base/frontend
mv -v paper_lantern paper_lantern_backup
/usr/local/cpanel/scripts/upcp --force

mounted filesystem discovery exclude zabbix

If you want to exclude all cagefs-skeleton or some other virtfs, bind mounts and etc

zabbix_get -s xx.xx.xx.xx -k vfs.fs.discovery




Administration -> General -> Regular expressions -> New regular expression

Name: File systems for discovery – exclude cagefs
Expression type: [Result is FALSE]
Expression: /cagefs-skeleton

Configuration -> Templates -> Template OS Linux -> Discovery rules -> Mounted filesystem discovery -> Filters -> Add
Type of calculation: A and B
A: {#FSNAME} matches @File systems for discovery – exclude cagefs
b: {#FSTYPE} matches @File systems for discovery

Also you need readd host to rediscover all mounted filesystems

systemd[1]: Can’t open PID file /var/run/ (yet?) after start: Too many levels of symbolic links

systemd[1]: Can’t open PID file /var/run/ (yet?) after start: Too many levels of symbolic links
systemd[1]: pure-ftpd.service start operation timed out. Terminating.
systemd[1]: Failed to start Pure-FTPd FTP server.
systemd[1]: Unit pure-ftpd.service entered failed state.
systemd[1]: pure-ftpd.service failed.

vi /usr/lib/systemd/system/pure-ftpd.service

ExecStart=/usr/sbin/ /etc/pure-ftpd/pure-ftpd.conf –daemonize

systemctl daemon-reload
systemctl start pure-ftpd