HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   How to install zabbix in web folder (http://www.howtoforge.com/forums/showthread.php?t=14020)

steve1084 13th July 2007 06:04

How to install zabbix in web folder
 
Hi Falko

I just tried doing the install of Zabbix on my debian etch with ispconfig and suphp only to find that it wont work because php is globaly turned off.

I did find one thread that suggested installing into a web folder created by ispconfig.

Thats where I fall down because in the install script It doesn't ask where you want to install it.

apt-get install zabbix-server-mysql zabbix-frontend-php zabbix-agent

What do I do. Do I run this command from within the chosen www folder. and also do I need to remove the none working current install.

Is there an alternative install method just for inside webhost folder.

Can the howto be updated to include relevent info for people running ispconfig or at least add a link to a forum thread for people using ispconfig

Thanks
Steve:)

falko 14th July 2007 12:40

What's in /etc/zabbix/apache.conf?

I think you must copy the contents into the Apache Directives field of a web site in ISPConfig. Afterwards, you should be able to access Zabbix in that web site.

steve1084 14th July 2007 14:09

Quote:

Originally Posted by falko
What's in /etc/zabbix/apache.conf?

I think you must copy the contents into the Apache Directives field of a web site in ISPConfig. Afterwards, you should be able to access Zabbix in that web site.


Hi Falko

Contents are

Quote:

# Define /zabbix alias, this is the default
<IfModule mod_alias.c>
Alias /zabbix /usr/share/zabbix
</IfModule>
When I go to the zabbix folder 192.168.1.23/zabbix/
Instead of getting a working zabbix I get the script contents as follows

Quote:

<?php
/*
** ZABBIX
** Copyright (C) 2000-2005 SIA Zabbix
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software
** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
?>
<?php
$page["title"]="S_ZABBIX_BIG";
$page["file"]="index.php";

include "include/config.inc.php";
include "include/forms.inc.php";
?>
<?php
// VAR TYPE OPTIONAL FLAGS VALIDATION EXCEPTION
$fields=array(
"name"=> array(T_ZBX_STR, O_NO, NULL, NOT_EMPTY, 'isset({enter})'),
"password"=> array(T_ZBX_STR, O_OPT, NULL, NULL, 'isset({enter})'),
"sessionid"=> array(T_ZBX_STR, O_OPT, NULL, NULL, NULL),
"reconnect"=> array(T_ZBX_INT, O_OPT, P_ACT, BETWEEN(0,65535),NULL),
"enter"=> array(T_ZBX_STR, O_OPT, P_SYS|P_ACT, NULL, NULL),
"form"=> array(T_ZBX_STR, O_OPT, P_SYS, NULL, NULL),
"form_refresh"=> array(T_ZBX_INT, O_OPT, NULL, NULL, NULL)
);
check_fields($fields);
?>
<?php
if(isset($_REQUEST["reconnect"]) && isset($_COOKIE["sessionid"]))
{
DBexecute("delete from sessions where sessionid=".zbx_dbstr($_COOKIE["sessionid"]));
setcookie("sessionid",$_COOKIE["sessionid"],time()-3600);
unset($_COOKIE["sessionid"]);
}

if(isset($_REQUEST["enter"])&&($_REQUEST["enter"]=="Enter"))
{
$name = get_request("name","");
$password = md5(get_request("password",""));

$result=DBselect("select u.userid,u.alias,u.name,u.surname,u.url,u.refresh from users u where".
" u.alias=".zbx_dbstr($name)." and u.passwd=".zbx_dbstr($password));

$row=DBfetch($result);
if($row)
{
$USER_DETAILS["userid"] = $row["userid"];
$USER_DETAILS["alias"] = $row["alias"];
$USER_DETAILS["name"] = $row["name"];
$USER_DETAILS["surname"]= $row["surname"];
$USER_DETAILS["url"] = $row["url"];
$USER_DETAILS["refresh"]= $row["refresh"];
$sessionid=md5(time().$password.$name.rand(0,10000 000));
setcookie("sessionid",$sessionid,time()+3600);
// Required !
$_COOKIE["sessionid"] = $sessionid;
DBexecute("insert into sessions (sessionid,userid,lastaccess)".
" values (".zbx_dbstr($sessionid).",".$USER_DETAILS["userid"].",".time().")");

if($USER_DETAILS["url"] != '')
{
echo "<HTML><HEAD>";
echo "<META HTTP-EQUIV=\"Refresh\" CONTENT=\"0; URL=".$USER_DETAILS["url"]."\">";
echo "</HEAD></HTML>";
return;
}
}
}

show_header($page["title"],0,0);
?>

<?php
if(!isset($_COOKIE["sessionid"]))
{
insert_login_form();
}
else
{
echo "<div align=center>";
echo "Press <a href=\"index.php?reconnect=1\">here</a> to disconnect/reconnect";
echo "</div>";
}
?>


<?php
show_page_footer();
?>
Thanks
Steve:)

falko 15th July 2007 13:10

Did you enable PHP for that web site? Can you post the vhost configuration here (from Vhosts_ispconfig.conf)?

steve1084 16th July 2007 03:56

Quote:

Originally Posted by falko
Did you enable PHP for that web site? Can you post the vhost configuration here (from Vhosts_ispconfig.conf)?

Yes I did

Here is all I can give

/etc/zabbix/apache.conf

Quote:

# Define /zabbix alias, this is the default
<IfModule mod_alias.c>
Alias /zabbix /usr/share/zabbix
</IfModule>
/etc/zabbix/dbconfig.php

Quote:

<?
$DB_TYPE='MYSQL';
$DB_SERVER='localhost';
$DB_DATABASE='zabbix';
$DB_USER='zabbix';
$DB_PASSWORD='mypassword';
?>

/etc/zabbix/zabbix_agentd.conf

Quote:

# This is config file for zabbix_agent
# To get more information about ZABBIX,
# go http://www.zabbix.com

# IP address of ZABBIX server
# Connections from other hosts will be denied

Server=localhost

# Spend no more than Timeout seconds on processing
# Must be between 1 and 30

Timeout=3

####### USER-DEFINED MONITORED PARAMETERS #######
# Format: UserParameter=<key>,<shell command>
# Note that shell command must not return empty string or EOL only
#UserParameter=system.test,who|wc -l
### Set of parameter for monitoring MySQL server (v3.23.42 and later)
### Change -u<username> and add -p<password> if required
#UserParameter=mysql.ping,mysqladmin -uroot ping|grep alive|wc -l
#UserParameter=mysql.uptime,mysqladmin -uroot status|cut -f2 -d":"|cut -f1 -d"T"
#UserParameter=mysql.threads,mysqladmin -uroot status|cut -f3 -d":"|cut -f1 -d"Q"
#UserParameter=mysql.questions,mysqladmin -uroot status|cut -f4 -d":"|cut -f1 -d"S"
#UserParameter=mysql.slowqueries,mysqladmin -uroot status|cut -f5 -d":"|cut -f1 -d"O"
#UserParameter=mysql.qps,mysqladmin -uroot status|cut -f9 -d":"
#UserParameter=mysql.version,mysql -V

/etc/zabbix/zabbix_server.conf

Quote:

# This is config file for ZABBIX server process
# To get more information about ZABBIX,
# go http://www.zabbix.com

############ GENERAL PARAMETERS #################

# This defines which server this is.
# Default value 1
# This parameter must be between 1 and 255
Server=1

# Number of pre-forked instances of pollers
# Default value is 6
# This parameter must be between 5 and 255
StartPollers=6

# Number of pre-forked instances of trappers
# Default value is 5
# This parameter must be between 2 and 255
StartTrappers=5

# Listen interface for trapper. Trapper will listen all network interfaces
# if this parameter is missing.
#ListenIP=127.0.0.1

# Listen port for trapping. Default port number is 10051. This parameter
# must be between 1024 and 32767

ListenPort=10051

# How often ZABBIX will perform housekeeping procedure
# (in hours)
# Default value is 1 hour
# Housekeeping is removing unnecessary information from
# tables history, laert, and alarms
# This parameter must be between 1 and 24

HousekeepingFrequency=1

# How often ZABBIX will try to send unsent alerts
# (in seconds)
# Default value is 30 seconds
SenderFrequency=30

# Uncomment this line to disable housekeeping procedure

#DisableHousekeeping=1

# Specifies debug level
# 0 - debug is not created
# 1 - critical information
# 2 - error information
# 3 - warnings (default)
# 4 - for debugging (produces lots of information)

DebugLevel=3

# Specifies how long we wait for agent (in sec)
# Must be between 1 and 30
Timeout=5

# After how many seconds of unavailability treat a host as unavailable
UnavailablePeriod=20

# Name of PID file

PidFile=/var/run/zabbix-server/zabbix_server.pid

# Name of log file
# If not set, syslog is used

LogFile=/var/log/zabbix-server/zabbix_server.log

#Location for custom alert scripts
AlertScriptsPath=/usr/local/sbin/

#Location of 'fping. Default is /usr/sbin/fping
FpingLocation=/usr/bin/fping

# Frequency of ICMP pings. Defauls is 30 second.
#PingerFrequency=30

# Database host name
# Default is localhost

DBHost=

# Database name

DBName=zabbix

# Database user

DBUser=zabbix

# Database password
# Comment this line if no password used

DBPassword=Mypassword

# Connect to MySQL using Unix socket?

#DBSocket=/tmp/mysql.sock




/etc/apache2/vhosts/Vhosts_ispconfig.conf


I have edited to remove none relevant sites info



Quote:

###################################
#
# ISPConfig vHost Configuration File
# Version 1.0
#
###################################
#
NameVirtualHost 192.168.1.100:80
<VirtualHost 192.168.1.100:80>
ServerName localhost
ServerAdmin root@localhost
DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: www.my1084.com:80
######################################
#
#
<VirtualHost 192.168.1.100:80>
# Define /zabbix alias, this is the default
<IfModule mod_alias.c>
Alias /zabbix /usr/share/zabbix
</IfModule>
ServerName www.my1084.com:80
ServerAdmin webmaster@my1084.com
DocumentRoot /var/www/web1/web
ServerAlias my1084.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias /cgi-bin/ /var/www/web1/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web1/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
suPHP_Engine on
suPHP_UserGroup web1_my1084.com web1
AddHandler x-httpd-php .php .php3 .php4 .php5
suPHP_AddHandler x-httpd-php
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Alias /error/ "/var/www/web1/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3
</VirtualHost>
#
<IfModule mod_ssl.c>
<VirtualHost 192.168.1.100:443>
# Define /zabbix alias, this is the default
<IfModule mod_alias.c>
Alias /zabbix /usr/share/zabbix
</IfModule>
ServerName www.my1084.com:443
ServerAdmin webmaster@my1084.com
DocumentRoot /var/www/web1/web
ServerAlias my1084.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias /cgi-bin/ /var/www/web1/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web1/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
suPHP_Engine on
suPHP_UserGroup web1_my1084.com web1
AddHandler x-httpd-php .php .php3 .php4 .php5
suPHP_AddHandler x-httpd-php
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
SSLEngine on
SSLCertificateFile /var/www/web1/ssl/www.my1084.com.crt
SSLCertificateKeyFile /var/www/web1/ssl/www.my1084.com.key
Alias /error/ "/var/www/web1/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
</VirtualHost>
</IfModule>
#
#
#
######################################
# Vhost: www.zabbix.my1084.com:80
######################################
#
#
<VirtualHost 192.168.1.100:80>
# Define /zabbix alias, this is the default
<IfModule mod_alias.c>
Alias /zabbix /usr/share/zabbix
</IfModule>
ServerName www.zabbix.my1084.com:80
ServerAdmin webmaster@zabbix.my1084.com
DocumentRoot /var/www/web16/web
ServerAlias zabbix.my1084.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias /cgi-bin/ /var/www/web16/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web16/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
suPHP_Engine on
suPHP_UserGroup nobody web16
AddHandler x-httpd-php .php .php3 .php4 .php5
suPHP_AddHandler x-httpd-php
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Alias /error/ "/var/www/web16/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web16/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web16/user/$1/web/$3
</VirtualHost>
#
#
#
Checked the xabbix log files and no errors reported

If I try via the ip I get the php code as previously reported ie 192.168.1.100/zabbix
If I try via the we address http://www.zabbix.my1084.com/zabbix/ I get 500 error - Internal Server Error!


Thanks
Steve:)

falko 17th July 2007 17:05

Can you try to switch off suPHP? Maybe that's the problem...

Quote:

Originally Posted by steve1084
If I try via the ip I get the php code as previously reported ie 192.168.1.100/zabbix
If I try via the we address http://www.zabbix.my1084.com/zabbix/ I get 500 error - Internal Server Error!

Any errors in Apache's error log?

steve1084 30th July 2007 06:05

Quote:

Originally Posted by falko
Can you try to switch off suPHP? Maybe that's the problem...

Any errors in Apache's error log?

Hi Falko

Sorry about the delay

Yes tried turning off suphp

here are some of the log files

Quote:

apache error log

[Sun Jul 29 06:26:21 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Sun Jul 29 06:26:21 2007] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-8+etch4 mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal operations
[Sun Jul 29 11:26:26 2007] [error] [client 201.155.195.248] File does not exist: /var/www/sharedip/sumthin
[Sun Jul 29 22:14:58 2007] [error] [client 66.249.73.210] File does not exist: /var/www/sharedip/robots.txt
[Mon Jul 30 03:01:30 2007] [notice] Graceful restart requested, doing restart
[Mon Jul 30 03:01:30 2007] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Mon Jul 30 03:01:31 2007] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-8+etch4 mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal operations
[Mon Jul 30 03:01:31 2007] [warn] long lost child came home! (pid 19907)
[Mon Jul 30 03:36:18 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Jul 30 03:36:24 2007] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-8+etch4 mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal operations
[Mon Jul 30 03:36:33 2007] [notice] caught SIGTERM, shutting down
[Mon Jul 30 03:36:43 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Jul 30 03:36:45 2007] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-8+etch4 mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal operations
[Mon Jul 30 03:44:16 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Jul 30 03:44:21 2007] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-8+etch4 mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal operations
[Mon Jul 30 03:44:33 2007] [notice] caught SIGTERM, shutting down
[Mon Jul 30 03:44:44 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Jul 30 03:44:46 2007] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-8+etch4 mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal operations
[Mon Jul 30 07:10:35 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Jul 30 07:10:39 2007] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-8+etch4 mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal operations
[Mon Jul 30 07:10:46 2007] [notice] caught SIGTERM, shutting down
[Mon Jul 30 07:10:57 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Jul 30 07:10:57 2007] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-8+etch4 mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal operations
[Mon Jul 30 08:48:01 2007] [error] [client 64.246.165.170] File does not exist: /var/www/sharedip/robots.txt, referer: http://www.whois.sc/
[Mon Jul 30 09:01:26 2007] [notice] caught SIGTERM, shutting down
[Mon Jul 30 09:01:37 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Jul 30 09:01:37 2007] [notice] Apache/2.2.3 (Debian) PHP/5.2.0-8+etch4 mod_ssl/2.2.3 OpenSSL/0.9.8c configured -- resuming normal operations
[Mon Jul 30 09:47:50 2007] [error] [client 74.6.65.224] File does not exist: /var/www/sharedip/it-news
[Mon Jul 30 09:48:15 2007] [error] [client 74.6.28.159] File does not exist: /var/www/sharedip/index.php
[Mon Jul 30 09:48:17 2007] [error] [client 74.6.23.36] File does not exist: /var/www/sharedip/content
[Mon Jul 30 09:48:22 2007] [error] [client 74.6.71.62] File does not exist: /var/www/sharedip/index.php
[Mon Jul 30 09:48:22 2007] [error] [client 74.6.65.224] File does not exist: /var/www/sharedip/it-news
[Mon Jul 30 09:48:30 2007] [error] [client 74.6.26.124] File does not exist: /var/www/sharedip/index.php
[Mon Jul 30 09:48:43 2007] [error] [client 125.106.111.114] File does not exist: /var/www/sharedip/index.php
[Mon Jul 30 09:48:44 2007] [error] [client 125.106.111.114] File does not exist: /var/www/sharedip/index.php
[Mon Jul 30 09:48:54 2007] [error] [client 72.30.177.158] File does not exist: /var/www/sharedip/content




suphp log

[Mon Jul 30 13:14:12 2007] [info] Executing "/var/www/web4/web/index.php" as UID 10004, GID 10004
[Mon Jul 30 13:14:22 2007] [warn] File "/usr/share/zabbix/index.php" is not in document root of Vhost "/var/www/web1/web"
[Mon Jul 30 13:14:32 2007] [warn] File "/usr/share/zabbix/index.php" is not in document root of Vhost "/var/www/web1/web"
[Mon Jul 30 13:14:44 2007] [info] Executing "/var/www/web4/web/index.php" as UID 10004, GID 10004
[Mon Jul 30 13:15:37 2007] [info] Executing "/var/www/web1/web/index.php" as UID 10001, GID 10001
[Mon Jul 30 13:15:45 2007] [info] Executing "/var/www/web1/web/index.php" as UID 10001, GID 10001
[Mon Jul 30 13:16:00 2007] [warn] File "/usr/share/zabbix/index.php" is not in document root of Vhost "/var/www/web1/web"
[Mon Jul 30 13:16:02 2007] [warn] File "/usr/share/zabbix/index.php" is not in document root of Vhost "/var/www/web1/web"
[Mon Jul 30 13:16:02 2007] [info] Executing "/var/www/web1/web/index.php" as UID 10001, GID 10001
[Mon Jul 30 13:16:04 2007] [warn] File "/usr/share/zabbix/index.php" is not in document root of Vhost "/var/www/web1/web"
[Mon Jul 30 13:16:06 2007] [warn] File "/usr/share/zabbix/index.php" is not in document root of Vhost "/var/www/web1/web"
[Mon Jul 30 13:16:20 2007] [info] Executing "/var/www/web1/web/index.php" as UID 10001, GID 10001
[Mon Jul 30 13:16:47 2007] [warn] File "/usr/share/zabbix/index.php" is not in document root of Vhost "/var/www/web1/web"
[Mon Jul 30 13:16:49 2007] [info] Executing "/var/www/web3/web/index.php" as UID 10003, GID 10003
[Mon Jul 30 13:16:49 2007] [warn] File "/usr/share/zabbix/index.php" is not in document root of Vhost "/var/www/web1/web"
[Mon Jul 30 13:16:49 2007] [info] Executing "/var/www/web3/web/index2.php" as UID 10003, GID 10003
[Mon Jul 30 13:16:51 2007] [info] Executing "/var/www/web3/web/index.php" as UID 10003, GID 10003
[Mon Jul 30 13:16:59 2007] [warn] File "/usr/share/zabbix/index.php" is not in document root of Vhost "/var/www/web1/web"
[Mon Jul 30 13:17:15 2007] [info] Executing "/var/www/web1/web/index.php" as UID 10001, GID 10001


Daemon log

Jul 30 03:48:26 server1 /etc/mysql/debian-start[3272]: warning : 2 clients are using or haven't closed the table properly
Jul 30 03:48:26 server1 /etc/mysql/debian-start[3272]:
Jul 30 03:48:26 server1 /etc/mysql/debian-start[3272]: Improperly closed tables are also reported if clients are accessing
Jul 30 03:48:26 server1 /etc/mysql/debian-start[3272]: the tables *now*. A list of current connections is below.
Jul 30 03:48:26 server1 /etc/mysql/debian-start[3272]:
Jul 30 03:48:26 server1 /etc/mysql/debian-start[3272]: +----+------------------+-----------+--------+---------+------+-------+------------------+
Jul 30 03:48:26 server1 /etc/mysql/debian-start[3272]: | Id | User | Host | db | Command | Time | State | Info |
Jul 30 03:48:26 server1 /etc/mysql/debian-start[3272]: +----+------------------+-----------+--------+---------+------+-------+------------------+
Jul 30 03:48:26 server1 /etc/mysql/debian-start[3272]: | 10 | zabbix | localhost | zabbix | Sleep | 201 | | |
Jul 30 03:48:26 server1 /etc/mysql/debian-start[3272]: | 11 | zabbix | localhost | zabbix | Sleep | 81 | | |
Jul 30 03:48:26 server1 /etc/mysql/debian-start[3272]: | 12 | zabbix | localhost | zabbix | Sleep | 258 | | |
Jul 30 03:48:26 server1 /etc/mysql/debian-start[3272]: | 13 | zabbix | localhost | zabbix | Sleep | 258 | | |
Jul 30 03:48:26 server1 /etc/mysql/debian-start[3272]: | 14 | zabbix | localhost | zabbix | Sleep | 258 | | |
Jul 30 03:48:26 server1 /etc/mysql/debian-start[3272]: | 16 | zabbix | localhost | zabbix | Sleep | 4 | | |
Jul 30 03:48:26 server1 /etc/mysql/debian-start[3272]: | 17 | zabbix | localhost | zabbix | Sleep | 4 | | |
Jul 30 03:48:26 server1 /etc/mysql/debian-start[3272]: | 55 | debian-sys-maint | localhost | | Query | 0 | | show processlist |
Jul 30 03:48:26 server1 /etc/mysql/debian-start[3272]: +----+------------------+-----------+--------+---------+------+-------+------------------+
Jul 30 03:48:26 server1 /etc/mysql/debian-start[3272]: Uptime: 271 Threads: 8 Questions: 8429 Slow queries: 2 Opens: 3146 Flush tables: 1 Open tables: 64 Queries per second avg: 31.103

falko 31st July 2007 13:30

Quote:

[Mon Jul 30 13:16:49 2007] [warn] File "/usr/share/zabbix/index.php" is not in document root of Vhost "/var/www/web1/web"
Are you absolutely sure you've switched off suPHP?


All times are GMT +2. The time now is 22:27.

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