PHP Warning Module 'SourceGuardian' / Urgent /

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
User avatar
jhariti
Posts: 19
Joined: Fri Dec 04, 2009 1:10 pm
Location: Brussels; BELGIUM

PHP Warning Module 'SourceGuardian' / Urgent /

Post by jhariti »

[root@rptsrv ~]# php -q rebuild_poller_cache.php -d
PHP Warning: Module 'SourceGuardian' already loaded in Unknown on line 0
Could not open input file: rebuild_poller_cache.php

How can I fix this issue. Thanks in advance
Cacti Version - 0.8.7e
Plugin Architecture - 2.6
Poller Type - CMD.php
Server Info - Linux 2.6.18-164.9.1.el5
Web Server - Apache/2.2.3 (CentOS)
PHP - 5.1.6
PHP Extensions - libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, standard, SimpleXML, sockets, SPL, shmop, session, Reflection, pspell, posix, mime_magic, iconv, hash, gmp, gettext, ftp, exif, date, curl, ctype, calendar, bz2, zlib, pcre, openssl, apache2handler, SourceGuardian, dbase, gd, ldap, mbstring, mysql, mysqli, odbc, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, snmp
MySQL - 5.0.77
RRDTool - 1.4.2
SNMP - 5.3.2.2
Plugins
  • Global Plugin Settings (settings - v0.5)
    Cacti Log View (CLog - v1.3)
    Data Sources Statistics (DSStats - v1.1)
    FlowView (flowview - v0.6)
    RRD File Cleaner (RRD Cleaner - v0.38)
    Syslog Monitoring (syslog - v0.5.2)
    SuperLinks (superlinks - v0.8)
    Create Aggregate Graphs (aggregate - v0.71)
    Thresholds (thold - v0.4.1)
    Cacti-ReportIt (reportit - v0.7.1)
    Host Info (hostinfo - v0.2)
    NTop Viewer (ntop - v0.1)
    Cycle Graphs (Cycle Graphs - v0.7)
    SSL Redirector (ssl - v0.1)
    Send Graphs via EMail (nectar - v0.1)
    Realtime Graph Viewer (realtime - v0.4)
    Watermark (watermark - v0.1)
    Update Checker (update - v0.4)
    NMID CreatePDF Plugin (nmidCreatePDF - v0.7)
    NMID WebService Plugin (nmidWebService - v0.3.9a U2)
    QuickTree (quicktree - v0.1)
    Notices (Notices - v0.2c)
    Automate Cacti Tasks (autom8 - v0.31)
    WMI Query (wmi - v0.1)
    Network Tools (tools - v0.3)
    Data Sources Statistics (DSStats - v1.1)
    Nagios plugin for Cacti (npc - v2.0.4)
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

how do you load the ixed loaders ?

you probably have them already in the php.ini file and also in the nmidcreatePDF dir ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
User avatar
jhariti
Posts: 19
Joined: Fri Dec 04, 2009 1:10 pm
Location: Brussels; BELGIUM

Post by jhariti »

I have installed ixed correctely during the activation of nmidCreatePDF plugin for my CACTI.

But still have this issue what I need to adapt.
Thanks in advance

[root@rptsrv ~]# find / -name php.ini -print
/etc/php.ini
[root@rptsrv ~]# more /etc/php.ini
/ixed
...skipping

;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
;
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
; extension=modulename.extension
;
; For example:
;
; extension=msql.so
;
; Note that it should be the name of the module only; no directory information
; needs to go here. Specify the location of the extension with the
; extension_dir directive above.
extension=ixed.5.1.lin

[root@rptsrv ~]# php -versionPHP Warning: Module 'SourceGuardian' already loaded in Unknown on line 0
PHP 5.1.6 (cli) (built: Apr 7 2009 08:00:18)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
[root@rptsrv ~]#

[root@rptsrv ~]# cd /etc/php.d
[root@rptsrv php.d]# ls
dbase.ini ixed.ini mbstring.ini mysql.ini pdo.ini pdo_odbc.ini pdo_sqlite.ini snmp.ini
gd.ini ldap.ini mysqli.ini odbc.ini pdo_mysql.ini pdo_pgsql.ini pgsql.ini
[root@rptsrv php.d]#

[root@rptsrv ~]# yum list installed | grep php
php.x86_64 5.1.6-23.2.el5_3 installed
php-cli.x86_64 5.1.6-23.2.el5_3 installed
php-common.x86_64 5.1.6-23.2.el5_3 installed
php-devel.x86_64 5.1.6-23.2.el5_3 installed
php-gd.x86_64 5.1.6-23.2.el5_3 installed
php-ldap.x86_64 5.1.6-23.2.el5_3 installed
php-mbstring.x86_64 5.1.6-23.2.el5_3 installed
php-mysql.x86_64 5.1.6-23.2.el5_3 installed
php-odbc.x86_64 5.1.6-23.2.el5_3 installed
php-pdo.x86_64 5.1.6-23.2.el5_3 installed
php-pear.noarch 1:1.4.9-6.el5 installed
php-pgsql.x86_64 5.1.6-23.2.el5_3 installed
php-snmp.x86_64 5.1.6-23.2.el5_3 installed
[root@rptsrv ~]#
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

so you have the extension loaded in php.ini AND through the php.d/ixed.ini file ?

I assume that ixed.ini also contains some extension= line ...
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
User avatar
jhariti
Posts: 19
Joined: Fri Dec 04, 2009 1:10 pm
Location: Brussels; BELGIUM

Post by jhariti »

[jhariti@rptsrv ~]$ cd /etc/php.d

[jhariti@rptsrv php.d]$ more ixed.ini
; Enable ixed extension module
extension=ixed.5.1.lin
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

so,make sure you only load the extension once. Either in php.ini or in the ixed.ini file from the php.d directory.

Not both.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
User avatar
jhariti
Posts: 19
Joined: Fri Dec 04, 2009 1:10 pm
Location: Brussels; BELGIUM

Post by jhariti »

Phalek,

How to buy the nmidCreatePDF Professional Edition because of the proposed link at this addrerss (http://www.network-outsourcing.de/profe ... ition.html) pointe to the Corporate Edition:


"""You can buy the Professional Edition from share-it. Please use the following link to place your order: https://secure.shareit.com/shareit/chec ... _EUR&js=-1"""

One more question I have in both files the extension loaded.
How to unload the extension from one of them: ixed.ini or php.ini

[root@rptsrv ~]# find / -name ixed.ini -print
/etc/php.d/ixed.ini
[root@rptsrv ~]# more /etc/php.d/ixed.ini
; Enable ixed extension module
extension=ixed.5.1.lin
[root@rptsrv ~]#

[root@rptsrv ~]# more /etc/php.ini
;
extension=ixed.5.1.lin


Thanks in advance
Man is born for action, not being occupied and does not exist is the same for Man.
SourceGuardian
Posts: 1
Joined: Fri Feb 19, 2010 8:21 am

Post by SourceGuardian »

Hi,

I'm Emma from SourceGuardian. We have a full support service on www.sourceguardian.com. If you submit a support ticket, one of our technical support team can help you out.

Best wishes,

Emma
SourceGuardian
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

jhariti wrote:Phalek,

How to buy the nmidCreatePDF Professional Edition because of the proposed link at this addrerss (http://www.network-outsourcing.de/profe ... ition.html) pointe to the Corporate Edition:

One more question I have in both files the extension loaded.
How to unload the extension from one of them: ixed.ini or php.ini

[root@rptsrv ~]# find / -name ixed.ini -print
/etc/php.d/ixed.ini
[root@rptsrv ~]# more /etc/php.d/ixed.ini
; Enable ixed extension module
extension=ixed.5.1.lin
[root@rptsrv ~]#

[root@rptsrv ~]# more /etc/php.ini
;
extension=ixed.5.1.lin

Thanks in advance
The link is fine, it just asks you if you like to replace the Pro version you selected with the Corporate one, Just select the "Continue with my original order" link to go to the actual order page.

for the ini: Either remove or comment the line from /etc/php.ini :

Code: Select all

; the following line is commented out:
;extension=ixed.5.1.lin
or you can remove the file "/etc/php.d/ixed.ini", but i would leave that file and just comment out the line in php.ini, as it makes things a bit more manageable.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest