Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - servercl

Pages: [1]
1
DNS / Re: Unable to start BIND DNS server
« on: December 25, 2018, 07:48:08 PM »
hi,

Can you share the modified zone file to review?

Rodrigo.


I am new to CWP and moved my all sites over. SSL applied and everything was working. for one domain I need to set MX record to google and i went to user account and added the MX record, it gave me error and after that my BIND DNS is not starting. I am getting error

Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details.


Here is the log

Code: [Select]
systemctl status named.service
● named.service - Berkeley Internet Name Domain (DNS)
   Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2018-12-25 17:41:04 UTC; 16s ago
  Process: 18311 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exited, status=1/FAILURE)

Dec 25 17:41:04 server.aalasolutions.com bash[18311]: zone aalasolutions.com/IN: NS 'ns1.aalasolutions.com' has no address records (A or AAAA)
Dec 25 17:41:04 server.aalasolutions.com bash[18311]: zone aalasolutions.com/IN: NS 'ns2.aalasolutions.com' has no address records (A or AAAA)
Dec 25 17:41:04 server.aalasolutions.com bash[18311]: zone aalasolutions.com/IN: not loaded due to errors.
Dec 25 17:41:04 server.aalasolutions.com bash[18311]: _default/aalasolutions.com/IN: bad zone
Dec 25 17:41:04 server.aalasolutions.com bash[18311]: zone urdulook.info/IN: loaded serial 2018071600
Dec 25 17:41:04 server.aalasolutions.com bash[18311]: zone aala.pk/IN: loaded serial 2018071600
Dec 25 17:41:04 server.aalasolutions.com systemd[1]: named.service: control process exited, code=exited status=1
Dec 25 17:41:04 server.aalasolutions.com systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
Dec 25 17:41:04 server.aalasolutions.com systemd[1]: Unit named.service entered failed state.
Dec 25 17:41:04 server.aalasolutions.com systemd[1]: named.service failed.

I tried to rebuild the DNS zone files from DNS section in Admin panel, no luck so far

2
CentOS 7 Problems / Amavis no Start
« on: December 25, 2018, 05:21:40 PM »
[root@joshua amavisd]# systemctl start amavisd
Job for amavisd.service failed because a configured resource limit was exceeded. See "systemctl status amavisd.service" and "journalctl -xe" for details.
[root@joshua amavisd]#

[root@joshua amavisd]# amavisd -u amavis -c /etc/amavisd/amavisd.conf debug
Dec 25 14:18:57.808 joshua.edmodo.cl /sbin/amavisd[16203]: logging initialized, log level 0, syslog: amavis.mail
Dec 25 14:18:57.808 joshua.edmodo.cl /sbin/amavisd[16203]: sd_notify (no socket): STATUS=Config files have been read, modules loaded.
Dec 25 14:18:57.809 joshua.edmodo.cl /sbin/amavisd[16203]: starting. /sbin/amavisd at joshua.edmodo.cl amavisd-new-2.11.1 (20181009), Unicode aware, LANG="en_US.UTF-8"
Dec 25 14:18:57.809 joshua.edmodo.cl /sbin/amavisd[16203]: perl=5.016003, user=amavis, EUID: 989 (989);  group=, EGID: 986 (986)
Dec 25 14:18:57.835 joshua.edmodo.cl /sbin/amavisd[16203]: INFO: no optional modules: unicore::lib::Nt::De.pl Unix::Getrusage
Dec 25 14:18:57.835 joshua.edmodo.cl /sbin/amavisd[16203]: SpamControl: attempting to load scanner SpamAssassin, module Amavis::SpamControl::SpamAssassin
Dec 25 14:18:57.835 joshua.edmodo.cl /sbin/amavisd[16203]: SpamControl: scanner SpamAssassin, module Amavis::SpamControl::SpamAssassin
Dec 25 14:18:58.014 joshua.edmodo.cl /sbin/amavisd[16203]: INFO: SA version: 3.4.0, 3.004000, no optional modules: Net::CIDR::Lite Image::Info Image::Info::GIF Image::Info::JPEG Image::Info::PNG Image::Info::BMP Image::Info::TIFF
Dec 25 14:18:58.015 joshua.edmodo.cl /sbin/amavisd[16203]: SpamControl: init_pre_chroot on SpamAssassin done
Dec 25 14:18:58.015 joshua.edmodo.cl /sbin/amavisd[16203]: socket module IO::Socket::IP, protocol families available: INET, INET6
Dec 25 14:18:58.015 joshua.edmodo.cl /sbin/amavisd[16203]: will bind to /var/run/amavisd/amavisd.sock|unix, *:10024/tcp
Dec 25 14:18:58.015 joshua.edmodo.cl /sbin/amavisd[16203]: sd_notify (no socket): STATUS=Transferring control to Net::Server.
Dec 25 14:18:58.016 joshua.edmodo.cl /sbin/amavisd[16203]: sd_notify (no socket): STATUS=Preparing to bind sockets.
Dec 25 14:18:58.016 joshua.edmodo.cl /sbin/amavisd[16203]: Net::Server: 2018/12/25-14:18:58 Amavis (type Net::Server::PreForkSimple) starting! pid(16203)
Dec 25 14:18:58.016 joshua.edmodo.cl /sbin/amavisd[16203]: Net::Server: Resolved
  • :10024 to [::]:10024, IPv6

Dec 25 14:18:58.016 joshua.edmodo.cl /sbin/amavisd[16203]: Net::Server: Not including resolved host [0.0.0.0] IPv4 because it will be handled by [::] IPv6
Dec 25 14:18:58.019 joshua.edmodo.cl /sbin/amavisd[16203]: Net::Server: Binding to UNIX socket file "/var/run/amavisd/amavisd.sock"
Dec 25 14:18:58.019 joshua.edmodo.cl /sbin/amavisd[16203]: Net::Server: Binding to TCP port 10024 on host :: with IPv6
Dec 25 14:18:58.019 joshua.edmodo.cl /sbin/amavisd[16203]: (!)Net::Server: 2018/12/25-14:18:58 Can't connect to TCP port 10024 on :: [Address already in use]\n  at line 68 in file /usr/share/perl5/vendor_perl/Net/Server/Proto/TCP.pm
Dec 25 14:18:58.019 joshua.edmodo.cl /sbin/amavisd[16203]: sd_notify (no socket): STOPPING=1\nSTATUS=Server rundown, notifying child processes.
Dec 25 14:18:58.019 joshua.edmodo.cl /sbin/amavisd[16203]: Net::Server: 2018/12/25-14:18:58 Server closing!
Dec 25 14:18:58.019 joshua.edmodo.cl /sbin/amavisd[16203]: sd_notify (no socket): STATUS=Child processes have been stopped.
[root@joshua amavisd]#

helpme please !!!

rodrigo

Pages: [1]