FYI Munin install fails in PIAF 2.0.6.5

diatonic

New Member
Joined
Aug 5, 2014
Messages
3
Reaction score
0
I'm trying to get Munin running in a fresh PIAF Green install with no luck. I am running the 64 bit install.

My install details:
PIAF Installed Version = 2.0.6.5 under *HARDWARE*
FreePBX Version = 2.11.0.38
Running Asterisk Version = 11.10.0
Asterisk Source Version = 11.10.0
Dahdi Source Version = 2.9.0
Libpri Source Version = 1.4.14
IP Address = 192.168.6.17 on eth0
Operating System = CentOS release 6.5 (Final)
Kernel Version = 2.6.32-431.1.2.0.1.el6.x86_64 - 64 Bit

I've run update-programs & update-fixes. install-munin still fails, despite declaring success.

You can view the install log at http://pastebin.com/kJRMtxZp

Any help is appreciated. Thanks!
 

rossiv

Guru
Joined
Oct 26, 2008
Messages
2,624
Reaction score
139
I could be wrong, but I think install-munin originates from the early days of PIAF 1.x or 2.0.6.2. Paging darmock for assistance.
If I had to take a guess (never used Munin or the script), the log looks like something changed in either the CentOS structure or FreePBX structure or something between now and when the script was last updated.
Edit: Also - thanks for using PasteBin. Sometimes we get huge blocks of code even in code tags and it can get overwhelming. Makes it a lot easier to read.
Code:
[LIST=1]
[*][COLOR=#000000]--> Finished Dependency Resolution[/COLOR]
[*][COLOR=#000000]Dependency Process ending[/COLOR]
[*][COLOR=#000000]Depsolve time: 4.299[/COLOR]
[*][COLOR=#000000] You could try using --skip-broken to work around the problem[/COLOR]
[*][COLOR=#000000] You could try running: rpm -Va --nofiles --nodigest[/COLOR]
[*][COLOR=#000000]Now moving munin to /var/www/html/maint[/COLOR]
[*][COLOR=#000000]mv: cannot stat `/var/www/html/munin/': No such file or directory[/COLOR]
[*][COLOR=#000000]Now setting path and permissions[/COLOR]
[*][COLOR=#000000]Move /etc/munin/munin.conf to /etc/munin/munin.conf.org[/COLOR]
[*][COLOR=#000000]mv: cannot stat `/etc/munin/munin.conf': No such file or directory[/COLOR]
[*][COLOR=#000000]Generating new munin.conf[/COLOR]
[*][COLOR=#000000]Now setting permissions[/COLOR]
[*][COLOR=#000000]chmod: cannot access `/var/www/html/maint/munin': No such file or directory[/COLOR]
[*][COLOR=#000000]failed to change mode of `/var/www/html/maint/munin' to 0000 (---------)[/COLOR]
[*][COLOR=#000000]chown: invalid user: `munin:munin'[/COLOR]
[*][COLOR=#000000]Now starting munin-node[/COLOR]
[*][COLOR=#000000]munin-node: unrecognized service[/COLOR]
[*][COLOR=#000000]Creating a set of default monitors[/COLOR]
[*][COLOR=#000000]install-munin: line 620: /usr/sbin/munin-node-configure: No such file or directory[/COLOR]
[*][COLOR=#000000]Setting munin-node to start automatically[/COLOR]
[*][COLOR=#000000]error reading information on service munin-node: No such file or directory[/COLOR]
[*][COLOR=#000000]
[/COLOR]
[/LIST]
 

darmock

PIAF Developer
Joined
Oct 18, 2007
Messages
2,892
Reaction score
98
I suspect that the rpm files have been updated. Unfortunately I have run into a number of problems between centos 6.x and centos 7.x and some things just don't work. The munin configuration was championed by a developer whose name escapes me at the moment. Frankly the piafdev team is deep in getting out the multiOS install program for CO/SL/FC/RH 6.5/7.0 type installs so I will add this to the bottom of a list and in fact I may take it offline for installs newer than purple running a 6.5 variant

Tom
 

diatonic

New Member
Joined
Aug 5, 2014
Messages
3
Reaction score
0
I've been working to move an old Elastix 1.6 (Asterisk 1.4) install to a more current codebase. One of the things I miss from Elastix is the graphs it does by default of concurrent calls, & memory & cpu usage. It's a small thing, but I really liked it.

One of the reasons I've liked PIAF is because of the source-based nature of the install, and it appears to be much easier to upgrade.

I'll take a run at installing it from source and trying to track down & configure the plugins. I like having graphs to see how busy our phone lines were over the past day or so.
 

Members online

No members online now.

Forum statistics

Threads
25,782
Messages
167,509
Members
19,202
Latest member
pbxnewguy
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top