Hi everyone,
I need your help with this problem:
I installed for first time weathermap, but when I tried to add "simple.conf", cacti display the message:
This page does not work
Page 192.168.10.195 can not process this request now
HTTP ERROR 500
But, when I clicked the "View" button, works fine.
Thanks for your answers
Cacti Version: 0.8.8f
Weathermap 0.98
PHP: 5.6
Path of configs: /usr/share/cacti/site/plugins/weathermap/configs
Path of weathermap: /usr/share/cacti/site/plugins/weathermap
Linux's User:
root@nfsen:/usr/share/cacti/site/plugins/weathermap#
root@nfsen:/usr/share/cacti/site/plugins/weathermap# cat /etc/passwd
root0:0:root:/root:/bin/bash
daemon1:1:daemon:/usr/sbin:/usr/sbin/nologin
bin2:2:bin:/bin:/usr/sbin/nologin
sys3:3:sys:/dev:/usr/sbin/nologin
sync4:65534:sync:/bin:/bin/sync
games5:60:games:/usr/games:/usr/sbin/nologin
man6:12/var/cache/man:/usr/sbin/nologin
lp7:7:lp:/var/spool/lpd:/usr/sbin/nologin
mail8:8:mail:/var/mail:/usr/sbin/nologin
news9:9:news:/var/spool/news:/usr/sbin/nologin
uucp10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
proxy13:13:proxy:/bin:/usr/sbin/nologin
www-data33:33:www-data:/var/www:/usr/sbin/nologin
backup34:34:backup:/var/backups:/usr/sbin/nologin
list38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
irc39:39:ircd:/var/run/ircd:/usr/sbin/nologin
gnats41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/nologin
nobody65534:65534:nobody:/nonexistent:/usr/sbin/nologin
systemd-timesync100:102:systemd Time Synchronization,,,:/run/systemd:/bin/false
systemd-network101:103:systemd Network Management,,,:/run/systemd/netif:/bin/false
systemd-resolve102:104:systemd Resolver,,,:/run/systemd/resolve:/bin/false
systemd-bus-proxy103:105:systemd Bus Proxy,,,:/run/systemd:/bin/false
syslog104:108::/home/syslog:/bin/false
_apt105:65534::/nonexistent:/bin/false
lxd106:65534::/var/lib/lxd/:/bin/false
messagebus107:111::/var/run/dbus:/bin/false
uuidd108:112::/run/uuidd:/bin/false
dnsmasq109:65534:dnsmasq,,,:/var/lib/misc:/bin/false
sshd110:65534::/var/run/sshd:/usr/sbin/nologin
lmorales1000Luis Morales,,,:/home/lmorales:/bin/bash
mysql111:117:MySQL Server,,,:/nonexistent:/bin/false
snmp112:119::/var/lib/snmp:/usr/sbin/nologin
Permissions:
drwxrwxr-- 11 www-data root 4096 Jun 15 15:01 .
drwxr-xr-x 3 www-data root 4096 Jun 15 12:00 ..
-rwxrwxr-x 1 www-data root 13842 May 26 2016 cacti-pick.php
drwxrwxr-x 3 www-data root 4096 May 29 2016 cacti-resources
-rwxrwxr-x 1 www-data root 38416 May 29 2016 CHANGES
-rwxrwxr-x 1 www-data root 1631 May 24 2016 check-gdbug.php
-rwxrwxr-x 1 www-data root 13111 May 29 2016 check.php
drwxrwxr-x 2 www-data www-data 4096 May 29 2016 configs
-rwxrwxr-x 1 www-data root 18011 May 24 2016 COPYING
drwxrwxr-x 7 www-data root 4096 May 29 2016 docs
-rwxrwxr-x 1 www-data root 49796 Jun 15 15:01 editor.php
drwxrwxr-x 2 www-data root 4096 May 29 2016 editor-resources
drwxrwxr-x 2 www-data root 4096 May 29 2016 images
-rwxrwxr-x 1 www-data root 59 May 24 2016 index.php
drwxrwxr-x 5 www-data root 4096 May 29 2016 lib
-rwxrwxr-x 1 www-data root 62 May 24 2016 logout.php
-rwxrwxr-x 1 www-data root 38 May 24 2016 net-data.txt
drwxrwxr-x 2 www-data root 4096 May 29 2016 output
-rwxrwxr-x 1 www-data root 50734 May 24 2016 overlib.js
drwxrwxr-x 2 www-data root 4096 May 29 2016 random-bits
-rwxrwxr-x 1 www-data root 1379 May 24 2016 README.md
-rwxrwxr-x 1 www-data root 35785 May 29 2016 setup.php
drwxrwxr-x 2 www-data root 4096 May 29 2016 vendor
-rwxrwxr-x 1 www-data root 9122 May 29 2016 weathermap
-rwxrwxr-x 1 www-data root 149 May 24 2016 weathermap-cacti-plugin.css
-rwxrwxr-x 1 www-data root 648 May 29 2016 weathermap-cacti-plugin-editor.php
-rwxrwxr-x 1 www-data root 44377 May 29 2016 weathermap-cacti-plugin-mgmt.php
-rwxrwxr-x 1 www-data root 27882 May 29 2016 weathermap-cacti-plugin.php
-rwxrwxr-x 1 www-data root 1049 May 24 2016 weathermap-cacti-rebuild.php
-rwxrwxr-x 1 www-data root 370 May 24 2016 weathermap.conf
Error 500 when I try to add a first or any map
Moderators: Developers, Moderators
-
- Posts: 3
- Joined: Fri Jun 15, 2018 3:07 pm
Error 500 when I try to add a first or any map
- Attachments
-
- error 500.jpg (14.78 KiB) Viewed 3457 times
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Error 500 when I try to add a first or any map
What does it say in your httpd error.log?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
-
- Posts: 3
- Joined: Fri Jun 15, 2018 3:07 pm
Re: Error 500 when I try to add a first or any map
Howie wrote:What does it say in your httpd error.log?
Hi Howie, thanks for your response, the error.log was captured in the attachment.
Have a good day.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Error 500 when I try to add a first or any map
It looks like the php MySQL module is missing.
If you have php 7 (you said 5.6, but just checking), then there is no MySQL module anymore and you’ll need a different weathermap version.
If you have php 7 (you said 5.6, but just checking), then there is no MySQL module anymore and you’ll need a different weathermap version.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
-
- Posts: 3
- Joined: Fri Jun 15, 2018 3:07 pm
Re: Error 500 when I try to add a first or any map
Dear Howie,
You absolutely right (u r genius), but, despite applying "apt-get install php5.6", when run the command "php -v", the system show me php7.0, and I can't install version 5.6, and I can't find a version of weathermaps for php7
Thank you for your help
You absolutely right (u r genius), but, despite applying "apt-get install php5.6", when run the command "php -v", the system show me php7.0, and I can't install version 5.6, and I can't find a version of weathermaps for php7
Thank you for your help
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: Error 500 when I try to add a first or any map
In Ubuntu you can switch between php versions like this: https://tecadmin.net/switch-between-mul ... on-ubuntu/
Just installing the package doesn't automatically switch to it.
But for weathermap 0.98 with Cacti 0.8.8 and PHP 7.0, try this:
http://network-weathermap.com/files/php ... -test3.zip
I made it a little while ago, but haven't really had any feedback that it works.
Just installing the package doesn't automatically switch to it.
But for weathermap 0.98 with Cacti 0.8.8 and PHP 7.0, try this:
http://network-weathermap.com/files/php ... -test3.zip
I made it a little while ago, but haven't really had any feedback that it works.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Who is online
Users browsing this forum: No registered users and 1 guest