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]> Reply-To: <[email protected]> Date: Tuesday, November 29, 2016 at 10:59 AM To: <[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]> > Reply-To: <[email protected]> > Date: Tuesday, November 29, 2016 at 10:45 AM > To: <[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]> >>>> <mailto:[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]> >>>>>> <mailto:[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] >>>>>>> For additional commands, e-mail: >>>>>>> [email protected] >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> >>>> >>> >>> >> >> > > > >
