Is your network up and running?
Please dump squirrelmail.conf and post on list.
What log is it that you've put here? /var/log/maillog?
On 11/29/2016 9:58 AM, David Overman wrote:
sorry, forgot to post output last post; here goes
[root@mail conf]# systemctl status network
● network.service - LSB: Bring up/down networking
Loaded: loaded (/etc/rc.d/init.d/network)
Active: active (exited) since Tue 2016-11-29 16:35:44 UTC; 15min ago
Docs: man:systemd-sysv-generator(8)
also, tried restarting apache2 after modifying
squirrellmail.conf-again. Do not see the ns error, but PAM
authentication failures.
- Unit session-3.scope has begun starting up.
Nov 29 16:45:01 mail.davomail.com CROND[3019]: (root) CMD (env LANG=C
/usr/bin/mrtg
/usr/share/toaster/mrtg/qmailmrtg.cfg > /dev/
Nov 29 16:45:05 mail.davomail.com vpopmail[3170]: vchkpw-smtp:
vpopmail user not found customers@:119.235.53.75
Nov 29 16:45:14 mail.davomail.com vpopmail[3175]: vchkpw-smtp:
vpopmail user not found postmaster@:119.235.53.75
Nov 29 16:45:15 mail.davomail.com sshd[3173]: pam_unix(sshd:auth):
authentication failure; logname= uid=0 euid=0 tty=ssh ruser= r
Nov 29 16:45:15 mail.davomail.com sshd[3173]:
pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user
"root"
Nov 29 16:45:17 mail.davomail.com sshd[3173]: Failed password for root
from 116.31.116.4 port 44382 ssh2
Nov 29 16:45:18 mail.davomail.com sshd[3173]:
pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user
"root"
Nov 29 16:45:19 mail.davomail.com sshd[3173]: Failed password for root
from 116.31.116.4 port 44382 ssh2
Nov 29 16:45:20 mail.davomail.com sshd[3173]:
pam_succeed_if(sshd:auth): requirement "uid >= 1000" not met by user
"root"
Nov 29 16:45:21 mail.davomail.com sshd[3173]: Failed password for root
from 116.31.116.4 port 44382 ssh2
Nov 29 16:45:22 mail.davomail.com sshd[3173]: Received disconnect from
116.31.116.4: 11: [preauth]
Nov 29 16:45:22 mail.davomail.com sshd[3173]: PAM 2 more
authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=116.
Nov 29 16:45:22 mail.davomail.com vpopmail[3180]: vchkpw-smtp:
vpopmail user not found tomcat@:119.235.53.75
Nov 29 16:45:31 mail.davomail.com vpopmail[3184]: vchkpw-smtp:
vpopmail user not found alex@:119.235.53.75
Nov 29 16:45:39 mail.davomail.com vpopmail[3187]: vchkpw-smtp:
vpopmail user not found student@:119.235.53.75
Nov 29 16:45:47 mail.davomail.com vpopmail[3190]: vchkpw-smtp:
vpopmail user not found www@:119.235.53.75
Nov 29 16:45:55 mail.davomail.com clamd[490]: SelfCheck: Database
status OK.
Nov 29 16:45:55 mail.davomail.com clamd[490]: SelfCheck: Database
status OK.
Nov 29 16:45:56 mail.davomail.com vpopmail[3195]: vchkpw-smtp:
vpopmail user not found administrator@:119.235.53.75
Nov 29 16:45:
On Nov 29, 2016, at 10:45 AM, Jaime Lerner
<[email protected]> wrote:
I was just mentioning it because David kept pointing to that as an
error and thinking it was the issue as to why qmail wasn't working.
It's definitely not an issue on my server. Perhaps that's how it is
set up for Digital Ocean servers running CentOS 7...not sure.
He can run 'systemctl status network' to see that his network service
is running fine. (Mine shows it's using /etc/rc.d/init.d/network, and
his may say the same)
From: Eric Broch <[email protected]
<mailto:[email protected]>>
Reply-To: <[email protected]
<mailto:[email protected]>>
Date: Tuesday, November 29, 2016 at 10:59 AM
To: <[email protected]
<mailto:[email protected]>>
Subject: Re: [qmailtoaster] error after changing squirrelmail conf
new-install
I'm not sure what to tell you to get network management started. It
always seems to work on my boxes, vm's included. Maybe I'm taking
something for granted. When I configure my network settings on clean
install sometimes I leave network settings alone (dhcp), install
qmailtoaster, then run qmt_host.sh. Other times I set the hostname
and ipv4 ip, gateway, and dns (on fresh install) and run qmt_host.sh
to change everything. I've never had a problem with network manager
(something I need to investigate now).
So the way around this (for now) is to edit the ifcfg-'device' file
manually, something I hate to do.
On 11/29/2016 8:48 AM, Jaime Lerner wrote:
Just as an FYI, if I run the command 'nmtui' on my server I get the
same response "NetworkManager is not running". Just in case you're
thinking that's an issue...it's obviously not.
From: Eric Broch <[email protected]
<mailto:[email protected]>>
Reply-To: <[email protected]
<mailto:[email protected]>>
Date: Tuesday, November 29, 2016 at 10:45 AM
To: <[email protected]
<mailto:[email protected]>>
Subject: Re: [qmailtoaster] error after changing squirrelmail conf
new-install
And,
What are these settings:
IPADDR2=10.13.0.5
PREFIX2=16
If you don't need them remove.
On 11/29/2016 8:34 AM, Eric Broch wrote:
Do below and remove ifcfg-enp0s3
On 11/29/2016 8:32 AM, Eric Broch wrote:
Here's what I would do
# cp -p /etc/sysconfig/network-scripts/ifcfg-eth0 /root/'somewhere'
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
erase all settings, paste below into the file and save
# systemctl restart network
DEVICE='eth0'
TYPE=Ethernet
BOOTPROTO=none
ONBOOT='yes'
HWADDR=62:ed:ca:6d:25:73
IPADDR=162.243.70.109
NETMASK=255.255.255.0
GATEWAY=162.243.70.1
IPADDR2=10.13.0.5
PREFIX2=16
IPV6INIT=yes
IPV6_AUTOCONF=yes
IPV6_DEFROUTE="yes"
IPV6_FAILURE_FATAL="no"
IPV6_PEERDNS=yes
IPV6_PEERROUTES=yes
DNS1=8.8.8.8
DNS2=8.8.4.4
# vi /etc/resolv.conf
clear all ipv6 nameserver settings
add:
nameserver 8.8.8.8
nameserver 8.8.4.4
On 11/29/2016 7:48 AM, David Overman wrote:
Ok,
I tried the script with my ip for ip4 address and 8.8.8.8 and 8.8.4.4
and with my actual ip and hostname.
Still getting Error: NetworkManager is not running.
[root@mail ~]# sh qmt-host.sh
Call this script as follows (example below):
qmt-host.sh hostname ipv4.address ipv4.gateway
qmt-host.sh me.mydomain.com 192.168.0.2 192.168.0.1
Machine ID: f4d13c7c7b144261851b451e00bb999b
Boot ID: a73c2022069042cf8d8e58ca859c787e
Virtualization: kvm
Operating System: CentOS Linux 7 (Core)
CPE OS Name: cpe:/o:centos:centos:7
Kernel: Linux 3.10.0-327.36.3.el7.x86_64
Architecture: x86-64
Error: NetworkManager is not running.
On Nov 29, 2016, at 08:26 AM, Eric Broch
<[email protected]> wrote:
Try running this:
https://raw.githubusercontent.com/qmtoaster/scripts/master/qmt_host.sh
Or
Take a look here:
http://ask.xmodulo.com/configure-static-ip-address-centos7.html
You must get rid of the IPv6 name servers
On 11/29/2016 4:37 AM, David Overman wrote:
[root@mail ~]# systemctl start network
[root@mail ~]# nmtui
NetworkManager is not running.
Do you think this may have something to do with my Centos
Instance running on A digitalocean droplet?
On Nov 28, 2016, at 07:37 AM, Eric Broch
<[email protected]> wrote:
# systemctl start network
On 11/28/2016 12:16 AM, David Overman wrote:
Failed to start NetworkManager.service: Unit
NetworkManager.service is
masked
---------------------------------------------------------------------
To unsubscribe, e-mail:
[email protected]
<mailto:[email protected]>
For additional commands, e-mail:
[email protected]
<mailto:[email protected]>