ispCP - Board - Support
Ispcp [stable] and zabbix on debian etch - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: Ispcp [stable] and zabbix on debian etch (/thread-6706.html)



Ispcp [stable] and zabbix on debian etch - ispcp - 05-12-2009 09:08 PM

Hi

I've just installed zabbix on my debian. whitout any Problems

Now when I go to http://hostname/zabbix or http://myip/zabbix i've got 500 Error

could somebody tell me what i've done wrong or what should I fix in the ispcp configuration files to make it work

I make some changes in the 00_master.conf (/etc/ispcp/apache) like this
Code:
Alias /pma      {ROOT_DIR}/gui/tools/pma/
    Alias /webmail  {ROOT_DIR}/gui/tools/webmail/
    Alias /ftp      {ROOT_DIR}/gui/tools/filemanager/
    Alias /zabbix   /usr/share/zabbix
and restarted apache but it doesn't work Sad

is there here on the forum someone there have on his server zabbix and ispcp, they work together ??

Thanks for any Help


RE: Ispcp [stable] and zabbix on debian etch - freinhard - 05-12-2009 09:18 PM

(05-12-2009 09:08 PM)ispcp Wrote:  I make some changes in the 00_master.conf (/etc/ispcp/apache) like this

That's just the template, unless you don't regenerate the actual config file (/etc/apache2/sites-available/00_master.conf) this won't work.

if it's just a single entry, just add it to /etc/apache2/sites-available/00_master.conf


RE: Ispcp [stable] and zabbix on debian etch - ispcp - 05-12-2009 10:13 PM

(05-12-2009 09:18 PM)freinhard Wrote:  
(05-12-2009 09:08 PM)ispcp Wrote:  I make some changes in the 00_master.conf (/etc/ispcp/apache) like this

That's just the template, unless you don't regenerate the actual config file (/etc/apache2/sites-available/00_master.conf) this won't work.

if it's just a single entry, just add it to /etc/apache2/sites-available/00_master.conf

Big Grin yes you're right I put this line
Code:
Alias /zabbix   /usr/share/zabbix
in the /etc/apache2/sites-available/00_master.conf and restarted apache but it's still doesn't work


RE: Ispcp [stable] and zabbix on debian etch - BeNe - 05-12-2009 10:24 PM

Check the Permissions and right! Set the owner to vu2000:vu2000
otherwise you get problems with suexec.

Greez BeNe


RE: Ispcp [stable] and zabbix on debian etch - ispcp - 05-12-2009 10:50 PM

(05-12-2009 10:24 PM)BeNe Wrote:  Check the Permissions and right! Set the owner to vu2000:vu2000
otherwise you get problems with suexec.

Greez BeNe

Hmm

I changed the Permission and I changed the owner to vu2000

also for server and agent files of zabbix
Code:
drwxrwxrwx   5 vu2000 vu2000 2048 May 12 11:20 zabbix
drwxr-xr-x   2 vu2000 vu2000 1024 May 12 11:20 zabbix-agent
drwxr-xr-x   2 vu2000 vu2000 1024 May 12 11:20 zabbix-server


and i have still 500.

Unfortunelly Google can't help me too, there is nothing about any solutions


RE: Ispcp [stable] and zabbix on debian etch - BeNe - 05-12-2009 11:24 PM

Post your apache logs, suexec.log, default.err

Greez BeNe


RE: Ispcp [stable] and zabbix on debian etch - ispcp - 05-13-2009 10:04 PM

(05-12-2009 11:24 PM)BeNe Wrote:  Post your apache logs, suexec.log, default.err

Greez BeNe


HI BeNe

My error.log of Apache is empty, and suexec.log show me it
Code:
[2009-05-12 11:44:28]: uid: (2007/vu2007) gid: (2007/2007) cmd: php5-fcgi-starter
[2009-05-12 11:45:06]: uid: (2000/vu2000) gid: (2000/2000) cmd: index.php
[2009-05-12 11:45:06]: command not in docroot (/usr/share/zabbix/index.php)
[2009-05-12 11:45:24]: uid: (2000/vu2000) gid: (2000/2000) cmd: index.php
[2009-05-12 11:45:24]: command not in docroot (/usr/share/zabbix/index.php)
[2009-05-12 11:46:17]: uid: (2000/vu2000) gid: (2000/2000) cmd: index.php
[2009-05-12 11:46:17]: command not in docroot (/usr/share/zabbix/index.php)
[2009-05-12 11:47:05]: uid: (2000/vu2000) gid: (2000/2000) cmd: index.php
[2009-05-12 11:47:05]: command not in docroot (/usr/share/zabbix/index.php)
[2009-05-12 11:51:17]: uid: (2006/vu2006) gid: (2006/2006) cmd: index.php
[2009-05-12 11:51:17]: command not in docroot (/usr/share/zabbix/index.php)
[2009-05-12 11:58:04]: uid: (2006/vu2006) gid: (2006/2006) cmd: index.php
[2009-05-12 11:58:04]: command not in docroot (/usr/share/zabbix/index.php)
[2009-05-12 11:58:11]: uid: (2000/vu2000) gid: (2000/2000) cmd: index.php
[2009-05-12 11:58:11]: command not in docroot (/usr/share/zabbix/index.php)
[2009-05-12 12:06:06]: uid: (2000/vu2000) gid: (2000/2000) cmd: index.php
[2009-05-12 12:06:06]: command not in docroot (/usr/share/zabbix/index.php)