FreePBX | Register | Issues | Wiki | Portal | Support

Error every 15 minutes: In Userman.class.php line 143: posix_getpgid() expects parameter 1 to be long, string given


#1

One of our system is sending us an error email every 15 minutes:

In Userman.class.php line 143:
posix_getpgid() expects parameter 1 to be long, string given
userman [–syncall] [–sync SYNC] [–force] [–list]

It started this weekend to I guess that a module update might be causing this.

I already checked Userman [RuntimeException] Too many arguments

I already removed the cron job in /var/spool/cron/asterisk and re-installed userman

I can reproduce the error by running /usr/sbin/fwconsole userman --syncall -q

Userman is at version 14.0.3.49 and FreePBX is at 14.0.11


(Lorne Gaetz) #2

Upgrade User Management to 14.0.5 with:

fwconsole ma upgrade userman --edge 

If the issue persists, open a bug report: http://issues.freepbx.org/


#3

I need FreePBX 14.0.12 or higher. I will install it later to avoid interrupting any service.
In the meantime, if I downgrade the module, will it work ?


#4

Ok downgrading didn’t work but I found something else.
yum check-updates fails to run with a “no space left on device” message

/run/systemd/sessions is 100% full, with thousands of asterisk sessions
Is there a way to safely delete them ? Do I reload asterisk, reboot, other ?


(Itzik) #5

What’s the output of

df -h