HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Multiserver: Slave won't work on VirtualServer [cron-> ip6tables problem] (http://www.howtoforge.com/forums/showthread.php?t=56363)

Melchior 28th February 2012 17:58

Does ISPConfig not work with Open-VCP (VM) [no iptable support]
 
Hi,

I tried to get ISP COnfig 3 running on a virtual machine. But it never sync master to slave. So I checked the cron manually. While running the cron on the slave by typing "/usr/local/ispconfig/server/server.sh" I get:

Quote:

sh: repquota: command not found
sh: repquota: command not found
sh: mailq: command not found
/sbin/iptables
FATAL: Could not load /lib/modules/3.0.22-vs2.3.2.3-nc/modules.dep: No such file or directory
iptables v1.4.8: can't initialize iptables table `filter': Permission denied (you must be root)
Perhaps iptables or your kernel needs to be upgraded.
/sbin/ip6tables
FATAL: Could not load /lib/modules/3.0.22-vs2.3.2.3-nc/modules.dep: No such file or directory
ip6tables v1.4.8: can't initialize ip6tables table `filter': Address family not supported by protocol
Perhaps ip6tables or your kernel needs to be upgraded.
finished.
The Hoster says that iptables is on open-vcp not available.

can I exclude ip6tables access while running the cron?

thx!
melchior

till 29th February 2012 11:05

Your problem is not related to ip6tables, so you can ignore the messages you posted and ispconfig works fine in virtual enviroments, I use that on all of my servers.

Regarding your original problem, the problem is most likely caused by mysql or the hostname settings, so that the mysql client can not connect to the mysql master server.

You can check that by using the mysql commandline tool to connect from the slave to the master with the master server details from the file /usr/local/ispconfig/server/lib/config.inc.php

the mysql command is used like this:

mysql -p -h master.server.tld -u ispcsrv1 dbispconfig

the command will then ask for the password. Replace the hostname and user withe the ones from the config.inc.php file.


All times are GMT +2. The time now is 08:14.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.