System-Admin Module

Distro - 4.211.64-6
Asterisk - 10.12.2

When I try to update the system admin module I get the message below. I have not uninstalled it and can not reinstall it at all.

System Admin 2.11.0.8 will be upgraded to online version 2.11.0.21

Please wait while module actions are performed
Downloading sysadmin 166137 of 166137 (100%)
Untarring…Done.
2.6.1 130_centos6 ERROR: Unable to install sysadmin. The sysadmin RPM you have installed is too old. Please update the sysadmin rpm via the command line, using yum install sysadmin
Error(s) installing sysadmin:

Failed to run installation scripts

System Admin 2.11.0.8 Schmoozecom.com Disabled; Pending upgrade to 2.11.0.21

I’m having the same difficulty. I’m running FreePBX-3.211.63-8-x86_64-Full-1366673197.iso and when I use the shell to install sysadmin, the install stops after printing
Installing : sysadmin-2.6.1-155_centos6.noarch 1/1
I have a second console connected running top and I can see the following
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
55601 asterisk 20 0 281m 36m 6972 S 22.6 3.7 0:20.37 module_admin

If I kill 55601 I see the following:
sh: lsof: command not found (a few hundred lines of this repeating)
sh: lsof: command not found
warning: %post(sysadmin-2.6.1-155_centos6.noarch) scriptlet failed, exit status 143
Verifying : sysadmin-2.6.1-155_centos6.noarch 1/1
Installed:
sysadmin.noarch 0:2.6.1-155_centos6
Complete!

Heading over module admin reveals that it’s "not installed"
System Admin Schmoozecom.com Not Installed (Locally available)

Just to clarify, I did uninstall the sysadmin module both using the module admin and using yum during my attempts to get this installed.

Attempting to install using module admin causes the normal window that shows the install progress to hang, and looking at my console I see the httpd process using 30% CPU. If issue the command “service httpd restart”, the web interface become responsive again, but the install never completes.

it clearly doesn’t work.

[[email protected] ~]# yum install sysadmin
Loaded plugins: fastestmirror, kmod
Loading mirror speeds from cached hostfile
Setting up Install Process
Package sysadmin-2.2.2-1.noarch already installed and latest version
Nothing to do

modules menu shows

System Admin Schmoozecom.comNot Installed (Locally available)

When I try to install it after about 45-60 seconds I get

Please wait while module actions are performed

2.6.1 130_centos6 2.6.1 155_centos6 Successfully copied LoadLicenseIfExists.php.
Listen 80

Then it goes back to:
System Admin Schmoozecom.comNot Installed (Locally available)

This is a 100% stock distro system. nothing altered or changed.

Thanks for your help

Look at the error message. It clearly states what you need to do.

I tried to run the command lsof in my console and it said the command was unavailable so I installed it with “yum install lsof”. I then did “yum remove sysadmin” and then “yum install sysadmin” and now everything is working perfectly. Looks like sysadmin should have a dependencey on lsof.

Yes we caught that some systems did not have lsof and just rolled a new RPM already to depend on this and install it.

Thank you, emanteuf. I was having the same issue (tried to update sysadmin on Friday and it all fell apart. lol). Your solution worked for me, also.

I get “
2.6.1 130_centos6 ERROR: Unable to install sysadmin. The sysadmin RPM you have installed is too old. Please update the sysadmin rpm via the command line, using yum install sysadmin”

Then I did that. yum remove sysadmin, yum install sysadmin,
Result: "Installed:
sysadmin.noarch 0:2.6.1-158_centos6

Complete!
"

Appears to be really broken.

Seems like you got it installed but then provided no more details for any of us.

Ohhh… Sheepish grin.

Working on two pbx machines at the same time. Wrong one updated!
All works now.