Posts by kess

    Hello everybody,
    I hope not to be the only one with this issue. I wrote a Hook file, absolutely without warranty because unfortunately I'm not a programmer. It works for me, at present at least.


    Every time I update my i-MSCP installation, the forwarders section of my named.conf.options becomes standard, so no forwarders. This file corrects this behaviour and substitutes the section with the forwarders you configure in the provided variable.


    Please let me know.


    Install:
    1. Download the attachment
    2. change extension from .txt to .pl
    3. upload to /etc/imscp/hooks.d directory
    4. run the imscp-setup script

    Hello guys,
    I get an unknown error when installing Monitorix version 0.0.6

    Code
    1. An unexpected error occurred:
    2. Plugin::Monitorix::_createMonitorixGraphics: readline() on closed filehandle IN at /var/lib/monitorix/www/cgi/monitorix.cgi line 192.
    3. Use of uninitialized value $config_path in scalar chomp at /var/lib/monitorix/www/cgi/monitorix.cgi line 193.
    4. Use of uninitialized value $config_path in -f at /var/lib/monitorix/www/cgi/monitorix.cgi line 196.
    5. FATAL: File 'monitorix.conf.path' was not found! at /var/lib/monitorix/www/cgi/monitorix.cgi line 210.


    Debian Wheezy amd64, i-MSCP 1.1.5


    How can i correct it ?


    Thank you very much.
    Bye Kess.

    Hello guys,
    i must setup i-MSCP on an internal server with FQHN name webserver.internaldomain.lan


    As you can see, the name internaldomain.lan can not be validated by the setup check, in fact the installer returns an error:


    Code
    1. Please enter a fully-qualified hostname (FQHN):
    2. 'webserver.internaldomain.lan' is not a valid fully-qualified host name
    3. Please, try again:
    4. ...


    I'd like to know if there's a method to override that check.


    Thank you for your help.
    Bye Kess.

    Edit your /etc/bind/named.conf.options file


    You'll find:

    Code
    1. // forwarders {// 0.0.0.0;// };


    Replace with:

    Code
    1. forwarders {
    2. 10.10.10.10; // your DNS servers IPs here
    3. };


    Then execute: /etc/init.d/bind9 restart


    Hope it helps, bye Kess.

    I managed to resolve the problem, now it works perfectly.
    My installation was before Debian Squeeze with ispcp, it's now Wheezy with imscp. Before there was the need to have installed couriergraph. This package was interfering with the Whole process.
    Regarding Postscreen, there is a patch included in the package, if you respect the procedure everything is perfect.
    1. remove couriergraph (this was the problem)
    2. disable mailgraph and postscreen plugins
    3. enable mailgraph plugin
    4. enable postscreen (there is a variable in the config for the mailgraph patch :-)


    Now everything is just perfect. Thank you a lot.

    OK, I did so. In effect the cronjob is created as you can see in the log, but the graphics pictures do not report any mails, any viruses, any spam.
    I forgot to mention that I also use the postscreen plugin, so perhaps you could find a way to disable postgrey graphics display when postscreen is installed... Just cosmetics...


    mailgraph-plugin-cronjob.log

    Code
    1. [Fri Mar 21 16:30:01 2014] [debug] iMSCP::Debug::silent: Entering in silent mode[Fri Mar 21 16:30:01 2014] [debug] iMSCP::Bootstrapper::boot: Booting backend...[Fri Mar 21 16:30:01 2014] [debug] iMSCP::Config::_init: Tying /etc/imscp/imscp.conf[Fri Mar 21 16:30:01 2014] [debug] iMSCP::Config::_loadConfig: Loading /etc/imscp/imscp.conf[Fri Mar 21 16:30:01 2014] [debug] iMSCP::Config::_parseConfig: Parsing /etc/imscp/imscp.conf[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::owner: Changing owner and group for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_day.png to 2004:2004[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::mode: Changing mode for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_day.png to 644[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::owner: Changing owner and group for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_week.png to 2004:2004[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::mode: Changing mode for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_week.png to 644[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::owner: Changing owner and group for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph//mailgraph_month.png to 2004:2004[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::mode: Changing mode for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph//mailgraph_month.png to 644[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::owner: Changing owner and group for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_year.png to 2004:2004[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::mode: Changing mode for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_year.png to 644[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::owner: Changing owner and group for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_virus_day.png to 2004:2004[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::mode: Changing mode for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_virus_day.png to 644[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::owner: Changing owner and group for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_virus_week.png to 2004:2004[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::mode: Changing mode for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_virus_week.png to 644[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::owner: Changing owner and group for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_virus_month.png to 2004:2004[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::mode: Changing mode for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_virus_month.png to 644[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::owner: Changing owner and group for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_virus_year.png to 2004:2004[Fri Mar 21 16:30:02 2014] [debug] iMSCP::File::mode: Changing mode for /var/www/imscp/gui/plugins/Mailgraph/tmp_graph/mailgraph_virus_year.png to 644[Fri Mar 21 16:30:02 2014] [debug] iMSCP::Debug::END: Exit code: 0


    Plugin_mngr_Mailgraph.log