Linux Tutorial | Matt Cooper - Open Source Support
Linux Tutorial | Matt Cooper - Open Source Support
Debian Troubleshooting

doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf

After upgrading Debian 6 to 7 I wanted to upgrade openSSL:

apt-get install openssl

This gave me the following error:

doveconf: Fatal: Error in configuration file /etc/dovecot/dovecot.conf

Dovecot must have failed during the upgrade process.

To fix open the dovecot.conf file and update the following line:

mail_plugin_dir = /usr/lib/dovecot/modules/lda

to:

mail_plugin_dir = /usr/lib/dovecot/modules

Dovecot will now be installed properly when you try upgrading any new package.

April 24, 2014by Matt Cooper
FacebookTwitterPinterestGoogle +Stumbleupon
Debian Troubleshooting

OpenVPN – iptables service not started because of error (SVC_RUN_EXCEPT)

So you install OpenVPN-AS via the tutorial located here –

OpenVPN Acess Server Install Debian + Proxmox

Now when you login to the admin console and click “Start Server” you get the following error:

iptables service not started because of error (SVC_RUN_EXCEPT)

This indicates that the IP tables service isn’t running on your VM. To fix the error carry out the following:

Stop the VM from your proxmox host server:

vzctl stop 101

Make the iptables state and nat modules accessible to containers.

vim /etc/vz/vz.conf

Add “ipt_state iptable_nat” to the end of the list of IPTABLES modules

vim /etc/vz/vz.conf

vz.conf

vz.conf

Allow the container to open the TUN/TAP interface.  These steps specifically affect container ID 101:

vzctl set 101 --devices c:10:200:rw --save

vzctl set 101 --capability net_admin:on --save 

These kernel modules and commands should be ran/installed on the host node before the container is started:

modprobe ipt_mark

modprobe ipt_MARK

modprobe tun

Now start the container:

vzctl start 101

After starting the container run these commands on the host node:

vzctl exec 101 mkdir -p /dev/net

vzctl exec 101 mknod /dev/net/tun c 10 200

vzctl exec 101 chmod 600 /dev/net/tun

Now reboot the host machine, login to OpenVPN admin and start theOpenVPN server. Hopefully all should be working well.

 

 

November 10, 2013by Matt Cooper
FacebookTwitterPinterestGoogle +Stumbleupon

About me

Hi, I'm Matt Cooper. I started this blog to pretty much act as a brain dump area for things I learn from day to day. You can contact me at: matt@linuxtutorial.co.uk

Recent Comments

  • Andrew on Export list of Amazon EC2 Instances to CSV
  • Matt Cooper on Proxmox – add a second hard drive to node for Backups
  • karis on Proxmox – add a second hard drive to node for Backups
  • Matt Cooper on Remote MySQL Database – Slow Connection
  • Matt Cooper on Bash script to send public IP address to Email

Categories

  • AdvancedTomato
  • Amazon AWS
  • Amazon Linux
  • Amazon S3
  • Apache
  • Apache Kafka
  • Backup Tutorial
  • Bash Scripting
  • Centos Tutorial
  • CloudFlare
  • Command line Tutorial
  • CPanel Troubleshooting
  • CPanel Tutorial
  • Debian Troubleshooting
  • Debian Tutorial
  • DKIM
  • Docker
  • EC2
  • ESXi
  • Faildows
  • Google Adwords
  • Google Analytics
  • Google Chromebook
  • Google Mail
  • graylog
  • IAM
  • imapsync
  • iRedmail Tutorial
  • ISPConfig3 Tutorial
  • Java
  • ldap
  • letsencrypt
  • MyDNS
  • MySQL Troubleshooting
  • MySQL Tutorial
  • Nest Install
  • Netbeans
  • Nginx
  • Nginx Troubleshooting
  • openssl
  • PCI Compliance
  • Percona
  • PHP
  • Plex Media Server Tutorial
  • Postfix
  • Proxmox Tutorial
  • Pure FTPd
  • Resourcespace Tutorial
  • Route 53
  • Rsync Tutorial
  • Security
  • Smoothwall Troubleshooting
  • Smoothwall Tutorial
  • SSH
  • tcpdump
  • Thunderbird
  • Tomcat Troubleshooting
  • Ubuntu Tutorial
  • Uncategorized
  • Unison
  • vmware
  • vzdump
  • WHM
  • Wireshark
  • Wordpress Troubleshooting
  • WordPress Tutorial

“See, you not only have to be a good coder to create a system like Linux, you have to be a sneaky bastard too." Linus Torvalds

© 2017 copyright www.linuxtutorial.co.uk // All rights reserved