Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ejabberd_check_oc.php: define_syslog_variables in PHP >=5.4 #20

Closed
philtweir opened this issue Mar 27, 2014 · 6 comments
Closed

ejabberd_check_oc.php: define_syslog_variables in PHP >=5.4 #20

philtweir opened this issue Mar 27, 2014 · 6 comments

Comments

@philtweir
Copy link

define_syslog_variables has been removed from PHP, but it looks like it may not be needed anyhow. Causes silent exit on running ejabberd_check_oc.php, appearing in ejabberd logs as
extauth script has exitted abruptly with reason 'normal'

@philtweir
Copy link
Author

Sorry, to clarify, this is for https://github.com/sualko/ojsxc (issues there are directed here on the README.md)

@sualko
Copy link
Member

sualko commented Apr 3, 2014

Thanks for reporting. I think there are more issues with this script, because on my private server it is not very stable.

Maybe you could help?

@oplehtinen
Copy link

Did you manage to fix this somehow? I am having the same problem, but i'm not certain which parts are OK to remove, Attempts havent fixed this on CentOS 6.5 with PHP 5.4.

@philtweir
Copy link
Author

@Suako: Hi, yes, apologies for the slow response. That should be fine, although there may be a little delay as I'll need to set a system up outside work.

@DimiTs: I found that removing that single line was fine (see first note here: http://www.php.net/manual/en/function.define-syslog-variables.php) My target system was Ubuntu 13.10 - to debug running the script manually from the CLI can give more information. Note this line (and some others IIRC) have an @ prefix, so will suppress error messages, which may be good to remove when trying to narrow down the problem running from the CLI.

@oplehtinen
Copy link

@philtweir Thank you, but apparently on my setup it isn't working - I fear it has something to do with CentOS (or my upgrading to PHP 5.4 through custom repos), on CLI the script runs without errors.

No luck on ejabberd debug either, the only error visible is " extauth script has exitted abruptly with reason 'normal' " as stated.

@sualko
Copy link
Member

sualko commented Jun 12, 2014

@philtweir @DimiTs I updated the script and now it runs for 2 weeks without any problems.

https://github.com/sualko/jsxc/wiki/Install-ejabberd-(owncloud)

@sualko sualko closed this as completed Jun 12, 2014
zauberstuhl pushed a commit to zauberstuhl/jsxc that referenced this issue Nov 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants