Templates not importing
Moderators: Developers, Moderators
-
- Posts: 4
- Joined: Fri Mar 03, 2006 10:42 am
Templates not importing
I am having problems importing templates into Cacti via the web interface, in that the templates don't seem to import at all. Whether I "Browse" to the xml, or I paste it directly, I never see the template show up in my list. Am I supposed to get a confirmation when the template is successfully imported?
Cacti version 0.8.6h
MySQL version 3.23.54
I apologize if the information given is a bit vague. Any suggestions are very welcome.
Cacti version 0.8.6h
MySQL version 3.23.54
I apologize if the information given is a bit vague. Any suggestions are very welcome.
Last edited by CourtLukens on Wed Jul 04, 2018 11:44 pm, edited 1 time in total.
-
- Posts: 4
- Joined: Fri Mar 03, 2006 10:42 am
-
- Posts: 4
- Joined: Fri Mar 03, 2006 10:42 am
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
I'm not aware of perms or settings for that. But wait, this is XML, isn't it? Please check to have sth like php XML support activated. From phpinfo()and
hth
Reinhard
Code: Select all
xml
XML Support active
XML Namespace Support active
EXPAT Version expat_1.95.7
Code: Select all
Configure Command './configure' '--build=i386-redhat-linux' ... '--with-xml' '--with-expat-dir=/usr' '--with-dom=shared,/usr' '--with-dom-xslt=/usr' '--with-dom-exslt=/usr' '--with-xmlrpc=shared' ...
Reinhard
-
- Posts: 4
- Joined: Fri Mar 03, 2006 10:42 am
I'll check on that, but I think one of the problems is that we're running an older version of PHP (version 4.1.2). I'm going to try and update PHP (might as well update our MySQL as well) and see if that helps.
Last edited by CourtLukens on Wed Jul 04, 2018 11:45 pm, edited 1 time in total.
I have the same problem on cacti-0.8.6h_p20060108-r2
php-4.4.0-r9
mysql-4.1.14-r1
apache-2.0.55-r1
from phpinfo();
php-4.4.0-r9
mysql-4.1.14-r1
apache-2.0.55-r1
from phpinfo();
'./configure' '--prefix=/usr' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--with-apxs2=/usr/sbin/apxs2' '--disable-cli' '--without-pear' '--without-tsrm-pthreads' '--with-ndbm=/usr' '--with-db4=/usr' '--with-mcrypt=/usr' '--with-mhash=/usr' '--without-ming' '--without-sybase' '--with-gdbm=/usr' '--without-java' '--without-mcal' '--without-unixODBC' '--without-pgsql' '--with-snmp=/usr' '--enable-ucd-snmp-hack' '--with-gmp' '--without-mssql' '--without-crack' '--without-pdflib' '--with-gd' '--enable-gd-native-ttf' '--with-png=/usr' '--with-png-dir=/usr' '--with-jpeg=/usr' '--with-jpeg-dir=/usr' '--enable-exif' '--with-tiff=/usr' '--with-tiff-dir=/usr' '--with-mysql=/usr' '--with-mysql-sock=/var/run/mysqld/mysqld.sock' '--with-freetype-dir=/usr' '--with-ttf=/usr' '--with-t1lib=/usr' '--with-gettext' '--with-pspell=/usr' '--with-openssl=/usr' '--without-imap' '--without-ldap' '--with-dom=/usr' '--with-dom-xslt=/usr' '--with-dom-exslt=/usr' '--without-kerberos' '--with-pam' '--enable-memory-limit' '--disable-ipv6' '--without-yaz' '--disable-debug' '--without-curl' '--enable-dbx' '--with-zlib=/usr' '--with-zlib-dir=/usr' '--with-sablot=/usr' '--enable-xslt' '--with-xslt-sablot' '--with-xmlrpc' '--enable-wddx' '--with-xml' '--enable-mbstring=all' '--enable-mbregex' '--with-bz2=/usr' '--with-cdb' '--enable-pcntl' '--enable-bcmath' '--enable-calendar' '--enable-dbase' '--enable-filepro' '--enable-ftp' '--with-mime-magic=/usr/share/misc/file/magic.mime' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-iconv' '--enable-shmop' '--enable-dio' '--enable-yp' '--without-ncurses' '--without-readline' '--enable-inline-optimization' '--enable-track-vars' '--enable-trans-sid' '--enable-versioning' '--with-config-file-path=/etc/php/apache2-php4' '--libdir=/usr/lib64/php' '--without-pear' '--build=x86_64-pc-linux-gnu'
I've looked in apache error.log andXML Support active
XML Namespace Support active
EXPAT Version 1.95.6
I've changed memory_limit in php.ini to 32M, apache restart and import works fine nowAllowed memory size of 8388608 bytes exhausted (tried to allocate 128 bytes)
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Thanks for your help. Memory limit should be set to 64 MB. I didn't recognize this problem to be related to some memory shortagevoron wrote:I've looked in apache error.log andI've changed memory_limit in php.ini to 32M, apache restart and import works fine nowAllowed memory size of 8388608 bytes exhausted (tried to allocate 128 bytes)
Reinhard
Who is online
Users browsing this forum: No registered users and 1 guest