"safe_opserver: /bin/bash: bad interpreter:" (SOLV

Hello

[code:1]# amportal start[/code:1]Returns:

So I dig a bit deeper:

[code:1]# cd /var/www/freepbx/htdocs/panel/ && su asterisk
$ ./safe_opserver[/code:1]Returns:[quote]bash: ./safe_opserver: /bin/bash: bad interpreter: Permission denied[/quote]
I have changed the shell for user asterisk in /etc/passwd to /bin/bash. I’m stumped. Can you think of any possible reason for such recalcitrant behaviour from safe_opserver?

Regards

Fog_Watch

PS
Freepbx-2.1.3
Gentoo 2.6.16-hardened-r11

Oops, sorry.

I solved this by turning off (for the time being) Partially restrict non-root users in Grsecurity.

Regards

Fog_Watch