Webyast 的问题

请问有谁配置成功过 WEBYAST?我希望通过浏览器来管理和监控远程服务器的状况,可是在 12.3 下面安装 WEBYAST 一直不成功,说是少了一个 /SBIN 的目录什么的。请有经验的大虾分享一下?

你的问题不够详细啊,在图形界面下,你最好把出错的情况上图。如果是在字符界面下,你就上出错的代码。

:nauseated_face:

This is embarrassing…

抱歉,出了一些问题。
问题:

No such file or directory - /sbin/unix2_chkpwd

请报告 bug,以便我们解决此问题! Report a bug in bugzilla.

请不要忘记写上 bug 细节。

The main WebYaST log is located at /var/log/webyast/production.log file, there are also other log files in /var/log/webyast directory.

Show details…

/usr/lib64/ruby/1.9.1/open3.rb:202:in `spawn'
/usr/lib64/ruby/1.9.1/open3.rb:202:in `popen_run'
/usr/lib64/ruby/1.9.1/open3.rb:90:in `popen3'
/usr/lib64/ruby/gems/1.9.1/gems/devise_unix2_chkpwd_authenticatable-0.4.1/lib/devise_unix2_chkpwd_authenticatable/model.rb:38:in `unix2_chkpwd'
/usr/lib64/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/core_ext/object/try.rb:36:in `try'
/usr/lib64/ruby/gems/1.9.1/gems/devise_unix2_chkpwd_authenticatable-0.4.1/lib/devise_unix2_chkpwd_authenticatable/model.rb:72:in `authenticate_with_unix2_chkpwd'
/usr/lib64/ruby/gems/1.9.1/gems/devise_unix2_chkpwd_authenticatable-0.4.1/lib/devise_unix2_chkpwd_authenticatable/strategy.rb:24:in `authenticate!'
/usr/lib64/ruby/gems/1.9.1/gems/warden-1.2.1/lib/warden/strategies/base.rb:53:in `_run!'
/usr/lib64/ruby/gems/1.9.1/gems/warden-1.2.1/lib/warden/proxy.rb:354:in `block in _run_strategies_for'
/usr/lib64/ruby/gems/1.9.1/gems/warden-1.2.1/lib/warden/proxy.rb:349:in `each'
/usr/lib64/ruby/gems/1.9.1/gems/warden-1.2.1/lib/warden/proxy.rb:349:in `_run_strategies_for'
/usr/lib64/ruby/gems/1.9.1/gems/warden-1.2.1/lib/warden/proxy.rb:319:in `_perform_authentication'
/usr/lib64/ruby/gems/1.9.1/gems/warden-1.2.1/lib/warden/proxy.rb:104:in `authenticate'
/usr/lib64/ruby/gems/1.9.1/gems/devise-2.2.3/lib/devise/controllers/helpers.rb:56:in `current_account'
/srv/www/webyast/app/controllers/sessions_controller.rb:27:in `create'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/abstract_controller/base.rb:167:in `process_action'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_controller/metal/rendering.rb:10:in `process_action'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/usr/lib64/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:502:in `_run__2358934533597019478__process_action__3776658539342012860__callbacks'
/usr/lib64/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405:in `__run_callback'
/usr/lib64/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
/usr/lib64/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:81:in `run_callbacks'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/abstract_controller/callbacks.rb:17:in `process_action'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_controller/metal/rescue.rb:29:in `process_action'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
/usr/lib64/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/notifications.rb:123:in `block in instrument'
/usr/lib64/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/usr/lib64/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/notifications.rb:123:in `instrument'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
/usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.12/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/abstract_controller/base.rb:121:in `process'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/abstract_controller/rendering.rb:45:in `process'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_controller/metal.rb:203:in `dispatch'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_controller/metal.rb:246:in `block in action'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/routing/route_set.rb:73:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/routing/route_set.rb:36:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/routing/mapper.rb:42:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
/usr/lib64/ruby/gems/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
/usr/lib64/ruby/gems/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/routing/route_set.rb:601:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/static.rb:62:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/static.rb:62:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/static.rb:62:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/static.rb:62:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/static.rb:62:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/static.rb:62:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/static.rb:62:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/static.rb:62:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/static.rb:62:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/static.rb:62:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/static.rb:62:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/static.rb:62:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/static.rb:62:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/static.rb:62:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/static.rb:62:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/warden-1.2.1/lib/warden/manager.rb:35:in `block in call'
/usr/lib64/ruby/gems/1.9.1/gems/warden-1.2.1/lib/warden/manager.rb:34:in `catch'
/usr/lib64/ruby/gems/1.9.1/gems/warden-1.2.1/lib/warden/manager.rb:34:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/conditionalget.rb:35:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/head.rb:14:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/flash.rb:242:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
/usr/lib64/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/cookies.rb:341:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.12/lib/active_record/query_cache.rb:64:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
/usr/lib64/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405:in `_run__368854471965961995__call__1263702725057975511__callbacks'
/usr/lib64/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405:in `__run_callback'
/usr/lib64/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
/usr/lib64/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:81:in `run_callbacks'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/railties-3.2.12/lib/rails/rack/logger.rb:32:in `call_app'
/usr/lib64/ruby/gems/1.9.1/gems/railties-3.2.12/lib/rails/rack/logger.rb:16:in `block in call'
/usr/lib64/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/tagged_logging.rb:22:in `tagged'
/usr/lib64/ruby/gems/1.9.1/gems/railties-3.2.12/lib/rails/rack/logger.rb:16:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/request_id.rb:22:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/activesupport-3.2.12/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/static.rb:62:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/rack-ssl-1.3.2/lib/rack/ssl.rb:27:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
/usr/lib64/ruby/gems/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:143:in `pass'
/usr/lib64/ruby/gems/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:155:in `invalidate'
/usr/lib64/ruby/gems/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:71:in `call!'
/usr/lib64/ruby/gems/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/railties-3.2.12/lib/rails/engine.rb:479:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/railties-3.2.12/lib/rails/application.rb:223:in `call'
/usr/lib64/ruby/gems/1.9.1/gems/railties-3.2.12/lib/rails/railtie/configurable.rb:30:in `method_missing'
/usr/lib64/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
/usr/lib64/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/abstract_request_handler.rb:516:in `accept_and_process_next_request'
/usr/lib64/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
/usr/lib64/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/rack/application_spawner.rb:206:in `start_request_handler'
/usr/lib64/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/rack/application_spawner.rb:79:in `block in spawn_application'
/usr/lib64/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/utils.rb:470:in `safe_fork'
/usr/lib64/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/rack/application_spawner.rb:64:in `spawn_application'
/usr/lib64/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/spawn_manager.rb:264:in `spawn_rack_application'
/usr/lib64/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/spawn_manager.rb:137:in `spawn_application'
/usr/lib64/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
/usr/lib64/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
/usr/lib64/ruby/gems/1.9.1/gems/passenger-3.0.18/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
/usr/lib64/ruby/gems/1.9.1/gems/passenger-3.0.18/helper-scripts/passenger-spawn-server:99:in `<main>'


如果配置好了 应该是如下图附件的样子。不知道有没有人配成功过的?


你需要安装 pam。

另外感觉你把 webyast 理解成「远程服务器监控」的东西啦。它实际上更多是「在本机的图形界面为远程的 openSUSE 服务器安装更新」这样子。