Hello,
I'm trying to run ZCS 7.2.0 on Centos 6 64bit but the mailbox service keeps stopping.
stop/start/status:
[zimbra@mail2 ~]$ zmcontrol stop
Host mail2.proplatform.net
Stopping zmconfigd...Done.
Stopping stats...Done.
Stopping mta...Done.
Stopping spell...Done.
Stopping snmp...Done.
Stopping cbpolicyd...Done.
Stopping archiving...Done.
Stopping antivirus...Done.
Stopping antispam...Done.
Stopping imapproxy...Done.
Stopping memcached...Done.
Stopping mailbox...Done.
Stopping logger...Done.
Stopping ldap...Done.
[zimbra@mail2 ~]$ zmcontrol start
Host mail2.proplatform.net
Starting ldap...Done.
Starting zmconfigd...Done.
Starting logger...Done.
Starting mailbox...Done.
Starting memcached...Done.
Starting imapproxy...Done.
Starting antispam...Done.
Starting antivirus...Done.
Starting snmp...Done.
Starting spell...Done.
Starting mta...Done.
Starting stats...Done.
[zimbra@mail2 ~]$ zmcontrol status
Host mail2.proplatform.net
antispam Running
antivirus Running
imapproxy Running
ldap Running
logger Running
mailbox Stopped
zmmailboxdctl is not running.
memcached Running
mta Running
snmp Running
spell Running
stats Running
zmconfigd Running
Log file at time of stop/start:
Jul 23 13:38:53 mail2 postfix/postfix-script[62381]: stopping the Postfix mail system
Jul 23 13:38:53 mail2 postfix/master[21394]: terminating on signal 15
Jul 23 13:39:05 mail2 zmmailboxdmgr[62649]: status requested
Jul 23 13:39:05 mail2 zmmailboxdmgr[62649]: stale pid 25741 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
Jul 23 13:39:05 mail2 zmmailboxdmgr[62649]: assuming no other instance is running
Jul 23 13:39:05 mail2 zmmailboxdmgr[62649]: file /opt/zimbra/log/zmmailboxd.pid does not exist
Jul 23 13:39:05 mail2 zmmailboxdmgr[62649]: assuming no other instance is running
Jul 23 13:39:05 mail2 zmmailboxdmgr[62649]: no manager process is running
Jul 23 13:40:01 mail2 postfix/postqueue[63080]: fatal: Queue report unavailable - mail system is down
Jul 23 13:40:01 mail2 postfix/sendmail[63083]: warning: the Postfix sendmail command has set-uid root file permissions
Jul 23 13:40:01 mail2 postfix/sendmail[63083]: warning: or the command is run from a set-uid root process
Jul 23 13:40:01 mail2 postfix/sendmail[63083]: warning: the Postfix sendmail command must be installed without set-uid root file permissions
Jul 23 13:40:22 mail2 zmmailboxdmgr[63617]: status requested
Jul 23 13:40:22 mail2 zmmailboxdmgr[63617]: stale pid 25741 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
Jul 23 13:40:22 mail2 zmmailboxdmgr[63617]: assuming no other instance is running
Jul 23 13:40:22 mail2 zmmailboxdmgr[63617]: file /opt/zimbra/log/zmmailboxd.pid does not exist
Jul 23 13:40:22 mail2 zmmailboxdmgr[63617]: assuming no other instance is running
Jul 23 13:40:22 mail2 zmmailboxdmgr[63617]: no manager process is running
Jul 23 13:40:45 mail2 zmmailboxdmgr[64505]: status requested
Jul 23 13:40:45 mail2 zmmailboxdmgr[64505]: stale pid 25741 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
Jul 23 13:40:45 mail2 zmmailboxdmgr[64505]: assuming no other instance is running
Jul 23 13:40:45 mail2 zmmailboxdmgr[64505]: file /opt/zimbra/log/zmmailboxd.pid does not exist
Jul 23 13:40:45 mail2 zmmailboxdmgr[64505]: assuming no other instance is running
Jul 23 13:40:45 mail2 zmmailboxdmgr[64505]: no manager process is running
Jul 23 13:40:45 mail2 zmmailboxdmgr[304]: start requested
Jul 23 13:40:45 mail2 zmmailboxdmgr[304]: checking if another instance of manager is already running
Jul 23 13:40:45 mail2 zmmailboxdmgr[304]: stale pid 25741 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
Jul 23 13:40:45 mail2 zmmailboxdmgr[304]: assuming no other instance is running
Jul 23 13:40:45 mail2 zmmailboxdmgr[304]: file /opt/zimbra/log/zmmailboxd.pid does not exist
Jul 23 13:40:45 mail2 zmmailboxdmgr[304]: assuming no other instance is running
Jul 23 13:40:45 mail2 zmmailboxdmgr[305]: wrote manager pid 305 to /opt/zimbra/log/zmmailboxd_manager.pid
Jul 23 13:40:45 mail2 zmmailboxdmgr[305]: manager started mailboxd/JVM with pid 307
Jul 23 13:40:45 mail2 zmmailboxdmgr[307]: wrote java pid 307 to /opt/zimbra/log/zmmailboxd_java.pid
Jul 23 13:40:46 mail2 zmmailboxdmgr[305]: manager woke up from wait on mailboxd/JVM with pid 307
Jul 23 13:40:46 mail2 zmmailboxdmgr[305]: manager started mailboxd/JVM with pid 347
Jul 23 13:40:46 mail2 zmmailboxdmgr[347]: wrote java pid 347 to /opt/zimbra/log/zmmailboxd_java.pid
Jul 23 13:40:48 mail2 zmmailboxdmgr[305]: manager woke up from wait on mailboxd/JVM with pid 347
Jul 23 13:40:48 mail2 zmmailboxdmgr[305]: mailboxd/JVM exited twice in 2 seconds (tolerance=60)
Jul 23 13:41:13 mail2 postfix/postfix-script[752]: warning: not owned by root: /opt/zimbra/postfix-2.7.8.3z/conf/main.cf
Jul 23 13:41:13 mail2 postfix/postfix-script[753]: warning: not owned by root: /opt/zimbra/postfix-2.7.8.3z/conf/master.cf
Jul 23 13:41:13 mail2 postfix/postfix-script[754]: warning: not owned by root: /opt/zimbra/postfix-2.7.8.3z/conf/master.cf.in
Jul 23 13:41:13 mail2 postfix/postfix-script[771]: starting the Postfix mail system
Jul 23 13:41:13 mail2 postfix/master[772]: daemon started -- version 2.7.8, configuration /opt/zimbra/postfix-2.7.8.3z/conf
hosts file, dig, etc:
[root@mail2 ~]# dig proplatform.net mx
; <<>> DiG 9.7.3-P3-RedHat-9.7.3-8.P3.el6_2.2 <<>> proplatform.net mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 4
;; QUESTION SECTION:
;proplatform.net. IN MX
;; ANSWER SECTION:
proplatform.net. 3600 IN MX 20 mail2.proplatform.net.
proplatform.net. 3600 IN MX 10 mail.proplatform.net.
;; AUTHORITY SECTION:
proplatform.net. 975 IN NS dns1.hitrost.net.
proplatform.net. 975 IN NS dns2.hitrost.net.
;; ADDITIONAL SECTION:
mail.proplatform.net. 2901 IN A 193.95.220.65
mail2.proplatform.net. 975 IN A 91.220.156.134
dns1.hitrost.net. 2901 IN A 91.185.211.2
dns2.hitrost.net. 2901 IN A 90.157.219.15
;; Query time: 23 msec
;; SERVER: 91.220.156.11#53(91.220.156.11)
;; WHEN: Mon Jul 23 13:48:12 2012
;; MSG SIZE rcvd: 186
[root@mail2 ~]# dig proplatform.net any
; <<>> DiG 9.7.3-P3-RedHat-9.7.3-8.P3.el6_2.2 <<>> proplatform.net any
;; global options: +cmd
;; Got answer:
;; ->>HEADER<
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 2, ADDITIONAL: 4
;; QUESTION SECTION:
;proplatform.net. IN ANY
;; ANSWER SECTION:
proplatform.net. 3600 IN SOA dns1.hitrost.net. hostmaster.hitrost.com. 2011031607 14400 3600 1209600 86400
proplatform.net. 3600 IN A 91.220.156.133
proplatform.net. 3600 IN MX 20 mail2.proplatform.net.
proplatform.net. 3600 IN MX 10 mail.proplatform.net.
proplatform.net. 965 IN NS dns1.hitrost.net.
proplatform.net. 965 IN NS dns2.hitrost.net.
;; AUTHORITY SECTION:
proplatform.net. 965 IN NS dns1.hitrost.net.
proplatform.net. 965 IN NS dns2.hitrost.net.
;; ADDITIONAL SECTION:
mail2.proplatform.net. 965 IN A 91.220.156.134
mail.proplatform.net. 2891 IN A 193.95.220.65
dns1.hitrost.net. 2891 IN A 91.185.211.2
dns2.hitrost.net. 2891 IN A 90.157.219.15
;; Query time: 33 msec
;; SERVER: 91.220.156.11#53(91.220.156.11)
;; WHEN: Mon Jul 23 13:48:22 2012
;; MSG SIZE rcvd: 288
[root@mail2 ~]# cat /etc/hosts
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain localhost6
91.220.156.134 mail2.proplatform.net mail2
[root@mail2 ~]# host `hostname`
mail2.proplatform.net has address 91.220.156.134
I'm not trying to configure this server as a secondary MX, I just set MX 20 to this server because I'm migrating from one server to another, but I can't get the mailbox running, and also, I can't connect to 7071(zimbraAdmin) because it's not running as well.
The server is not behind a NAT, it has a direct public IP on eth0 interface.
Any help?
Regards
zmmailboxdctl is not running
-
- Posts: 12
- Joined: Sat Mar 28, 2015 7:25 am
zmmailboxdctl is not running
did you find any solution to this issue? i am stuck on the same kind of issue but yet to resolve.
any help?
any help?
Re: zmmailboxdctl is not running
just as a note.
even after commented line ipv6 in /etc/hosts and reboot, it is still would not work
delete mention pid and restart mailboxdctl
even after commented line ipv6 in /etc/hosts and reboot, it is still would not work
Code: Select all
::1 localhost6.localdomain6 localhost6
Code: Select all
[zimbra@mail ~]$ rm /opt/zimbra/log/zmmailboxd_manager.pid
rm: remove regular file `/opt/zimbra/log/zmmailboxd_manager.pid'? y
[zimbra@mail ~]$ ls /opt/zimbra/log/zmmailboxd_manager.pid
ls: /opt/zimbra/log/zmmailboxd_manager.pid: No such file or directory
[zimbra@mail ~]$ zmmailboxdctl restart
Stopping mailboxd...mailboxd is not running.
Starting mailboxd...done.
[zimbra@mail ~]$ zmmailboxdctl status
mailboxd is running.
Re: zmmailboxdctl is not running
So I have deleted the PID file and the issue still persists, mailbox will not come up.
Here is the part of the log that show the error.
Any ideas of what might be causing this to fail? I am working on a Zimbra server for the first time so any information you can give about this issue would be great.
Here is the part of the log that show the error.
Code: Select all
Jan 12 19:04:43 webmail zmmailboxdmgr[8302]: status requested
Jan 12 19:04:43 webmail zmmailboxdmgr[8302]: stale pid 7238 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
Jan 12 19:04:43 webmail zmmailboxdmgr[8302]: assuming no other instance is running
Jan 12 19:04:43 webmail zmmailboxdmgr[8302]: file /opt/zimbra/log/zmmailboxd.pid does not exist
Jan 12 19:04:43 webmail zmmailboxdmgr[8302]: assuming no other instance is running
Jan 12 19:04:43 webmail zmmailboxdmgr[8302]: no manager process is running
Jan 12 19:04:43 webmail zmmailboxdmgr[8310]: status requested
Jan 12 19:04:43 webmail zmmailboxdmgr[8310]: stale pid 7238 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
Jan 12 19:04:43 webmail zmmailboxdmgr[8310]: assuming no other instance is running
Jan 12 19:04:43 webmail zmmailboxdmgr[8310]: file /opt/zimbra/log/zmmailboxd.pid does not exist
Jan 12 19:04:43 webmail zmmailboxdmgr[8310]: assuming no other instance is running
Jan 12 19:04:43 webmail zmmailboxdmgr[8310]: no manager process is running
-
- Posts: 8
- Joined: Wed Aug 12, 2015 10:38 pm
Re: zmmailboxdctl is not running
I have similar problem too. here is the output of /opt/zimbra/log/zmmailboxd.out when i issued command zmmailboxdctl start:
and here is the output when i issued command sudo netstat -tpln | grep LISTEN
and here is the outuput of zimbra.log filtered to get only mailboxd section
Any suggestion to resolve this?
Code: Select all
Caused by: java.net.BindException: Address already in use
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:436)
at sun.nio.ch.Net.bind(Net.java:428)
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)
at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:279)
... 21 more
Code: Select all
tcp6 0 0 :::1213 :::* LISTEN 1127/sshd
tcp6 0 0 :::7780 :::* LISTEN 18743/httpd
tcp6 0 0 127.0.0.1:8005 :::* LISTEN 3663/java
tcp6 0 0 ::1:10024 :::* LISTEN 2118/amavisd (ch13-
tcp6 0 0 ::1:10026 :::* LISTEN 2118/amavisd (ch13-
tcp6 0 0 :::11211 :::* LISTEN 5707/memcached
tcp6 0 0 ::1:3310 :::* LISTEN 16726/clamd
tcp6 0 0 ::1:10032 :::* LISTEN 2118/amavisd (ch13-
tcp6 0 0 :::8080 :::* LISTEN 3663/java
tcp6 0 0 :::80 :::* LISTEN 2045/nginx
Code: Select all
Nov 11 06:07:29 mail zmmailboxdmgr[4685]: stale pid 25902 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
Nov 11 06:07:29 mail zmmailboxdmgr[4685]: assuming no other instance is running
Nov 11 06:07:29 mail zmmailboxdmgr[4685]: file /opt/zimbra/log/zmmailboxd.pid does not exist
Nov 11 06:07:29 mail zmmailboxdmgr[4685]: assuming no other instance is running
Nov 11 06:07:29 mail zmmailboxdmgr[4685]: no manager process is running
Nov 11 06:07:29 mail zmconfigd[10539]: Executed: /opt/zimbra/bin/zmmailboxdctl status norewrite returned 1 (25 - 13) (0.05 sec)
Re: zmmailboxdctl is not running
I am having the same problem. Is there any solution of this problem?
Re: zmmailboxdctl is not running
I made an IP change, and the same error occurred.
Code: Select all
[root@mailsrv-zbr ~]# sudo -u zimbra /opt/zimbra/bin/zmcontrol restart
Host mailsrv-zbr.saigon-inttech.local
Stopping zmconfigd...Done.
Stopping zimlet webapp...Done.
Stopping zimbraAdmin webapp...Done.
Stopping zimbra webapp...Done.
Stopping service webapp...Done.
Stopping stats...Done.
Stopping mta...Done.
Stopping spell...Done.
Stopping snmp...Done.
Stopping cbpolicyd...Done.
Stopping archiving...Done.
Stopping opendkim...Done.
Stopping amavis...Done.
Stopping antivirus...Done.
Stopping antispam...Done.
Stopping proxy...Done.
Stopping memcached...Done.
Stopping mailbox...Done.
Stopping logger...Done.
Stopping dnscache...Done.
Stopping ldap...Done.
Host mailsrv-zbr.saigon-inttech.local
Starting ldap...Done.
Starting zmconfigd...Done.
Starting logger...Failed.
Starting logswatch...failed.
Starting mailbox...Failed.
Starting memcached...Done.
Starting proxy...Done.
Starting amavis...Done.
Starting antispam...Done.
Starting antivirus...Done.
Starting opendkim...Done.
Starting snmp...Done.
Starting mta...Done.
Starting stats...Done.
Starting service webapp...Failed.
Starting zimbra webapp...Failed.
Starting zimbraAdmin webapp...Failed.
Starting zimlet webapp...Failed.
[root@mailsrv-zbr ~]#
[zimbra@mailsrv-zbr ~]$ zmcontrol -v
Release 8.8.11_GA_3737.RHEL7_64_20181207111719 RHEL7_64 FOSS edition, Patch 8.8.11_P2.
[zimbra@mailsrv-zbr ~]$
[root@mailsrv-zbr ~]# dig mailsrv-zbr.saigon-inttech.local
; <<>> DiG 9.9.4-RedHat-9.9.4-73.el7_6 <<>> mailsrv-zbr.saigon-inttech.local
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 16305
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;mailsrv-zbr.saigon-inttech.local. IN A
;; ANSWER SECTION:
mailsrv-zbr.saigon-inttech.local. 86400 IN A 192.168.3.201
;; AUTHORITY SECTION:
saigon-inttech.local. 86400 IN NS mailsrv-zbr.saigon-inttech.local.
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Jun 20 17:04:49 +07 2019
;; MSG SIZE rcvd: 91
[root@mailsrv-zbr ~]# dig saigon-inttech.local mx
; <<>> DiG 9.9.4-RedHat-9.9.4-73.el7_6 <<>> saigon-inttech.local mx
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 37283
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 2
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;saigon-inttech.local. IN MX
;; ANSWER SECTION:
saigon-inttech.local. 86400 IN MX 10 mailsrv-zbr.saigon-inttech.local.
;; AUTHORITY SECTION:
saigon-inttech.local. 86400 IN NS mailsrv-zbr.saigon-inttech.local.
;; ADDITIONAL SECTION:
mailsrv-zbr.saigon-inttech.local. 86400 IN A 192.168.3.201
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Thu Jun 20 17:08:04 +07 2019
;; MSG SIZE rcvd: 107
[root@mailsrv-zbr ~]#
[root@mailsrv-zbr ~]# cat /etc/hosts
#127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
#::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.3.201 mailsrv-zbr.saigon-inttech.local mailsrv-zbr
[root@mailsrv-zbr ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: ens160: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:50:56:a0:0a:d5 brd ff:ff:ff:ff:ff:ff
inet 192.168.3.201/24 brd 192.168.3.255 scope global ens160
valid_lft forever preferred_lft forever
[root@mailsrv-zbr ~]# netstat -nat | grep -i LISTEN
tcp 0 0 127.0.0.1:10663 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:10026 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:7306 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:10027 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:587 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:11211 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:10028 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:10029 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:10030 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:3310 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:10032 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:465 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:8465 0.0.0.0:* LISTEN
tcp 0 0 192.168.3.201:53 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:23232 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:23233 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:10050 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:7171 0.0.0.0:* LISTEN
tcp 0 0 192.168.3.201:389 0.0.0.0:* LISTEN
tcp6 0 0 :::11211 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 :::10050 :::* LISTEN
[root@mailsrv-zbr ~]# tail -n 10 /var/log/zimbra.log
Jun 20 17:05:16 mailsrv-zbr zmconfigd[5887]: Tracking service zimbraAdmin
Jun 20 17:05:16 mailsrv-zbr zmmailboxdmgr[20355]: stale pid 17210 found in /opt/zimbra/log/zmmailboxd_manager.pid: No such process
Jun 20 17:05:16 mailsrv-zbr zmmailboxdmgr[20355]: assuming no other instance is running
Jun 20 17:05:16 mailsrv-zbr zmmailboxdmgr[20355]: file /opt/zimbra/log/zmmailboxd.pid does not exist
Jun 20 17:05:16 mailsrv-zbr zmmailboxdmgr[20355]: assuming no other instance is running
Jun 20 17:05:16 mailsrv-zbr zmmailboxdmgr[20355]: no manager process is running
Jun 20 17:05:16 mailsrv-zbr zmconfigd[5887]: Tracking service zimlet
Jun 20 17:05:16 mailsrv-zbr zmconfigd[5887]: Watchdog: service antivirus status is OK.
Jun 20 17:05:16 mailsrv-zbr zmconfigd[5887]: All rewrite threads completed in 0.00 sec
Jun 20 17:05:16 mailsrv-zbr zmconfigd[5887]: All restarts completed in 0.00 sec
[root@mailsrv-zbr ~]# cat /etc/hostname
mailsrv-zbr
[root@mailsrv-zbr ~]#