Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Wed Jul 17, 2019 9:37 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Import Template.... nothing happen~
PostPosted: Fri Mar 14, 2008 11:32 am 
Offline
Cacti User

Joined: Tue Mar 04, 2008 10:08 am
Posts: 58
I tried to import this template for APC PDU ..... tried both Browse and Text functions.... after clicked Save.... nothing happened. file_upload in php.ini is set as ON and i also did the patch for 0.8.7b. Not sure how to fix it.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 15, 2008 1:05 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22376
Location: Muenster, Germany
Any errors in httpd's error_log?
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 28, 2008 12:07 am 
Offline

Joined: Sun Jan 14, 2007 9:56 pm
Posts: 10
Hi Reinhard,

I have the same problem. I am unable to import a template either by file or by cutting and pasting the template into the form.

There are no errors in apaches's error log.

The access log has the following

192.168.xxx.xxx - - [28/Mar/2008:14:55:31 +1000] "GET /cacti/templates_import.php HTTP/1.1" 200 7244 "https://servername/cacti/index.php" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12"
192.168.xxx.xxx - - [28/Mar/2008:14:55:48 +1000] "POST /cacti/templates_import.php HTTP/1.1" 302 - "https://servername/cacti/templates_import.php" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12"
192.168.xxx.xxx - - [28/Mar/2008:14:55:48 +1000] "GET /cacti/templates_import.php HTTP/1.1" 200 7244 "https://servername/cacti/templates_import.php" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12"

Cheers, Barrie


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 28, 2008 3:43 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22376
Location: Muenster, Germany
Is uploading enable by /etc/php.ini?
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 28, 2008 4:02 pm 
Offline

Joined: Sun Jan 14, 2007 9:56 pm
Posts: 10
Hi Reinhard,

yes uploading in /etc/php.ini is enabled.

I am going to try a new install on another system to make sure I haven't made a mistake in my installation.

Cheers, Barrie


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 29, 2008 10:56 pm 
Offline

Joined: Sun Jan 14, 2007 9:56 pm
Posts: 10
Hi Reinhard,

I have tried another vanilla install and template imports worked so it appears that I have made a mistake during my install

System that template imports works.
Opensuse 10.3
mysql 5
php5

System that template import does not work.

SLES9
msql 4
php4
Behind firewall using ssl
Packages were copied using ssh and installed manually using rpm (not using rug or yast as I have no access to software repository). I suspect that something may not be installed although I installed all reported dependencies.

Is there a way to run the php scripts on the command line to see where I have made my mistake and what is missing.

Cheers, Barrie


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 30, 2008 7:19 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22376
Location: Muenster, Germany
There's no cli for template import, currently. You may re-run only from web interface
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject: Solution - Import Template.... nothing happen
PostPosted: Mon Apr 28, 2008 3:48 am 
Offline

Joined: Sun Jan 14, 2007 9:56 pm
Posts: 10
Hi Reinhard,

What can I say besides blush :oops:

I have discovered the problem with importing templates into cacti 0.8.7b on my system.

A full file system was my problem. I had debugging turned on for an earlier problem and didn't turn it off. Result a huge log file.

I should have done the basic checks instead of going as deep (and off track) as I did.

A simple df -k would have shown the problem long ago.

Hopefully, this simple solution will help someone else solve a similar problem and save a lot of time.

Cheers, Barrie


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group