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

memcached fails to start when locale is set to French #6021

Closed
carbonin opened this issue Jan 4, 2016 · 3 comments
Closed

memcached fails to start when locale is set to French #6021

carbonin opened this issue Jan 4, 2016 · 3 comments

Comments

@carbonin
Copy link
Member

carbonin commented Jan 4, 2016

Because we attempt to match the error reported by killall only in English we raise when killall fails to kill a process and prints an error in a different language.

This stops the app from starting up.

Setting the locale using localectl set-locale LANG=fr_FR.UTF-8 then attempting to start the application will reproduce this issue.

Excerpt from evm.log:

[----] I, [2015-12-28T10:31:19.764450 #2807:37d994]  INFO -- : MIQ(MiqMemcached::Control.stop) stopped memcached, result: Redirecting to /bin/systemctl stop  memcached.service
/var/www/miq/vmdb/gems/pending/util/runcmd.rb:8:in `runcmd': memcached: aucun processus trouvé (RuntimeError)
    from /var/www/miq/vmdb/lib/miq_memcached.rb:121:in `killall'
    from /var/www/miq/vmdb/lib/miq_memcached.rb:107:in `stop!'
    from /var/www/miq/vmdb/lib/miq_memcached.rb:116:in `restart!'
    from /var/www/miq/vmdb/app/models/miq_server/environment_management.rb:85:in `start_memcached'
    from /var/www/miq/vmdb/app/models/miq_server.rb:270:in `start'
    from /var/www/miq/vmdb/lib/workers/evm_server.rb:60:in `start'
    from /var/www/miq/vmdb/lib/workers/evm_server.rb:79:in `start'
    from /var/www/miq/vmdb/lib/workers/bin/evm_server.rb:3:in `<top (required)>'
    from /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.5/lib/rails/commands/runner.rb:60:in `load'
    from /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.5/lib/rails/commands/runner.rb:60:in `<top (required)>'
    from /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:123:in `require'
    from /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:123:in `require_command!'
    from /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:90:in `runner'
    from /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.5/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
    from /opt/rubies/ruby-2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.2.5/lib/rails/commands.rb:17:in `<top (required)>'
    from /var/www/miq/vmdb/bin/rails:4:in `require'
    from /var/www/miq/vmdb/bin/rails:4:in `<main>'
@miq-bot
Copy link
Member

miq-bot commented Aug 19, 2017

This issue has been automatically marked as stale because it has not been updated for at least 6 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

Thank you for all your contributions!

@miq-bot miq-bot added the stale label Aug 19, 2017
@JPrause
Copy link
Member

JPrause commented Nov 30, 2018

@carbonin if this issue is no longer relevant can you close.

@carbonin
Copy link
Member Author

Couldn't reproduce this one on hammer RC2, closing

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

5 participants