Debian 7 or Jessie ?!
Please post your /etc/apt/sources.list
Posts by kess
-
-
I see No problem, I can wait
-
I've not tried to configure that graph. You should first read the official documentation. I'll give a try this evening
Hi @Nuxwin,
did you perhaps find some time in order to give that a try ?
Sorry but I can't figure out how to make that graph work -
What about the search function ???
i-MSCP 1.2.2 Released
[1.2.2] Apache access Log in /etc/apache2 after update
access.log files in / filesystem -
That's right, your choice is to use the local nameserver resolver.
So edit your /etc/bind9/named.conf.options fileUncomment your forwarders and put the DNS servers IP addresses that will resolve what you need.
On that purpose, I wrote a hook file that will take care of it. You can find it here: Hook file which configure Bind9 DNS Forwarders
This is NOT tested with 1.2.xHope it helps
-
Very true, but neither does your method.
Often malware files, PHPFilemanagers and such will be placed in theme folders, also the files folder is often used for this.
You're right, it could happen.
In my method I forgot to put the step where you should check/scan/control/etc your personal files and personal themes.
For every other file (standard setup), I personally prefer to start from the clean downloaded files from drupal site (just after deleting everything on the webspace), so you don't have to check/scan the whole setup directory. -
This method doesn't clean up any unwanted/hacked files
-
The actual Production Drupal version is 7.34
The version you use is for sure quite old, and as far I can imagine your modules also.
Updates of Drupal and Drupal modules are not just for bug corrections, but often also for security reasons.What you have to do:
1. download your drupal personal files (sites/default/settings.php, sites/all/themes, sites/default/files, etc)
2. type down the list in sites/all/modules
3. put your actual site under maintenance
4. delete all your files in your htdocs directory
5. download drupal 7.2 and upload it to your webserver (from drupal website)
6. download all your modules and upload them to your modules directory (from drupal website)
7. upload your personal files
8. run cron on your site
9. download the latest drupal version and upload it to your site
10. upgrade your site (http://www.xxxyyyzz.com/update.php)
10. upgrade all your modules to the latest version (using available updates checker in drupal and follow the procedure)
11. test your site and come out of maintenanceAt the end you'll be sure that you'll have a clean install of drupal without viruses or hacked files and you'll also have the latest versions installed.
Before beginning this procedure BACKUP YOUR SITE AND DB !!! -
Debian forever !
-
Hi guys,
after the last update of the plugin everything is perfect. With one of the previous versions (don't remember which one) I was able to activate the graphic of the "net" traffic.
If I try to enable that graph with the current version, no graph is generated.I've tried everything in order to configure this graph, but without success.
System: Debian Wheezy x64 (last updates installed)
i-MSCP: 1.1.22 (dovecot + apache2 + php5-fpm)
Monitorix: 3.6.0, with Plugin 1.1.2contents of /etc/monitorix/conf.d/30-local.conf
I can not find nothing in the logs helping me to figure out what's happening.
/var/log/monitorixCode- Mon Feb 16 14:34:50 2015 - Starting Monitorix version 3.6.0 (pid 19326).Mon Feb 16 14:34:50 2015 - Loaded main configuration file '/etc/monitorix/monitorix.conf'.Mon Feb 16 14:34:50 2015 - Loading extra configuration file '/etc/monitorix/conf.d/00-debian.conf'.Mon Feb 16 14:34:50 2015 - Loading extra configuration file '/etc/monitorix/conf.d/20-imscp.conf'.Mon Feb 16 14:34:50 2015 - Loading extra configuration file '/etc/monitorix/conf.d/30-local.conf'.Mon Feb 16 14:34:51 2015 - Initializing graphs.Mon Feb 16 14:34:51 2015 - Generating the 'index.html' file.Mon Feb 16 14:34:51 2015 - Ok, ready.
/var/log/imscp/Plugin_module_Monitorix.log
Code- [Mon Feb 16 14:34:50 2015] [debug] iMSCP::Execute::execute: Executing command: /usr/bin/perl /var/lib/monitorix/www/cgi/monitorix.cgi mode=localhost graph=_net1 when=1hour color=white silent=imagetag[Mon Feb 16 14:34:51 2015] [debug] iMSCP::Execute::getExitCode: External command exited with value 0[Mon Feb 16 14:34:51 2015] [debug] Plugin::Monitorix::buildGraphs: Content-Type: text/html <br>[Mon Feb 16 14:34:51 2015] [debug] iMSCP::Execute::execute: Executing command: /usr/bin/perl /var/lib/monitorix/www/cgi/monitorix.cgi mode=localhost graph=_net1 when=1day color=white silent=imagetag[Mon Feb 16 14:34:51 2015] [debug] iMSCP::Execute::getExitCode: External command exited with value 0[Mon Feb 16 14:34:51 2015] [debug] Plugin::Monitorix::buildGraphs: Content-Type: text/html <br>[Mon Feb 16 14:34:51 2015] [debug] iMSCP::Execute::execute: Executing command: /usr/bin/perl /var/lib/monitorix/www/cgi/monitorix.cgi mode=localhost graph=_net1 when=1week color=white silent=imagetag[Mon Feb 16 14:34:52 2015] [debug] iMSCP::Execute::getExitCode: External command exited with value 0[Mon Feb 16 14:34:52 2015] [debug] Plugin::Monitorix::buildGraphs: Content-Type: text/html <br>[Mon Feb 16 14:34:52 2015] [debug] iMSCP::Execute::execute: Executing command: /usr/bin/perl /var/lib/monitorix/www/cgi/monitorix.cgi mode=localhost graph=_net1 when=1month color=white silent=imagetag[Mon Feb 16 14:34:53 2015] [debug] iMSCP::Execute::getExitCode: External command exited with value 0[Mon Feb 16 14:34:53 2015] [debug] Plugin::Monitorix::buildGraphs: Content-Type: text/html <br>[Mon Feb 16 14:34:53 2015] [debug] iMSCP::Execute::execute: Executing command: /usr/bin/perl /var/lib/monitorix/www/cgi/monitorix.cgi mode=localhost graph=_net1 when=1year color=white silent=imagetag[Mon Feb 16 14:34:53 2015] [debug] iMSCP::Execute::getExitCode: External command exited with value 0[Mon Feb 16 14:34:53 2015] [debug] Plugin::Monitorix::buildGraphs: Content-Type: text/html <br>
The only difference I can see there if compared with other graphic logs is that there will be a js link generated. For example:
Code- [Mon Feb 16 14:34:53 2015] [debug] iMSCP::Execute::execute: Executing command: /usr/bin/perl /var/lib/monitorix/www/cgi/monitorix.cgi mode=localhost graph=_proc1 when=1hour color=white silent=imagetag
- [Mon Feb 16 14:34:54 2015] [debug] iMSCP::Execute::getExitCode: External command exited with value 0
- [Mon Feb 16 14:34:54 2015] [debug] Plugin::Monitorix::buildGraphs: Content-Type: text/html
- <a href="javascript:void(window.open('http:///monitorix/themes/default/assets/images/graphs/_proc1z.1hour.png','','width=915,height=400,scrollbars=0,resizable=0'))"><img src='http:///monitorix/themes/default/assets/images/graphs/_proc1.1hour.png' border='0'></a>
- <br>
- [Mon Feb 16 14:34:54 2015] [debug] iMSCP::Execute::execute: Executing command: /usr/bin/perl /var/lib/monitorix/www/cgi/monitorix.cgi mode=localhost graph=_proc1 when=1day color=white silent=imagetag
- [Mon Feb 16 14:34:55 2015] [debug] iMSCP::Execute::getExitCode: External command exited with value 0
- [Mon Feb 16 14:34:55 2015] [debug] Plugin::Monitorix::buildGraphs: Content-Type: text/html
- <a href="javascript:void(window.open('http:///monitorix/themes/default/assets/images/graphs/_proc1z.1day.png','','width=915,height=400,scrollbars=0,resizable=0'))"><img src='http:///monitorix/themes/default/assets/images/graphs/_proc1.1day.png' border='0'></a>
- <br>
- [Mon Feb 16 14:34:55 2015] [debug] iMSCP::Execute::execute: Executing command: /usr/bin/perl /var/lib/monitorix/www/cgi/monitorix.cgi mode=localhost graph=_proc1 when=1week color=white silent=imagetag
- [Mon Feb 16 14:34:55 2015] [debug] iMSCP::Execute::getExitCode: External command exited with value 0
- [Mon Feb 16 14:34:55 2015] [debug] Plugin::Monitorix::buildGraphs: Content-Type: text/html
- <a href="javascript:void(window.open('http:///monitorix/themes/default/assets/images/graphs/_proc1z.1week.png','','width=915,height=400,scrollbars=0,resizable=0'))"><img src='http:///monitorix/themes/default/assets/images/graphs/_proc1.1week.png' border='0'></a>
- <br>
- [Mon Feb 16 14:34:55 2015] [debug] iMSCP::Execute::execute: Executing command: /usr/bin/perl /var/lib/monitorix/www/cgi/monitorix.cgi mode=localhost graph=_proc1 when=1month color=white silent=imagetag
- [Mon Feb 16 14:34:56 2015] [debug] iMSCP::Execute::getExitCode: External command exited with value 0
- [Mon Feb 16 14:34:56 2015] [debug] Plugin::Monitorix::buildGraphs: Content-Type: text/html
- <a href="javascript:void(window.open('http:///monitorix/themes/default/assets/images/graphs/_proc1z.1month.png','','width=915,height=400,scrollbars=0,resizable=0'))"><img src='http:///monitorix/themes/default/assets/images/graphs/_proc1.1month.png' border='0'></a>
- <br>
- [Mon Feb 16 14:34:56 2015] [debug] iMSCP::Execute::execute: Executing command: /usr/bin/perl /var/lib/monitorix/www/cgi/monitorix.cgi mode=localhost graph=_proc1 when=1year color=white silent=imagetag
- [Mon Feb 16 14:34:56 2015] [debug] iMSCP::Execute::getExitCode: External command exited with value 0
- [Mon Feb 16 14:34:56 2015] [debug] Plugin::Monitorix::buildGraphs: Content-Type: text/html
- <a href="javascript:void(window.open('http:///monitorix/themes/default/assets/images/graphs/_proc1z.1year.png','','width=915,height=400,scrollbars=0,resizable=0'))"><img src='http:///monitorix/themes/default/assets/images/graphs/_proc1.1year.png' border='0'></a>
- <br>
Could this be the issue ? How can I do in order to correct this ?
Any help really appreciated.
Thank you, bye Kess