LinuxForum.Fans
Тема

OpenSuSE 11.4, PV mode, yast2 не работает

Автор: vinner 13 сообщений 2709 просмотров
#333358

Добрый день. С боями удалось перевести виртуальную машину с openSuSE 11.4 в PV-режим на citrix-xenserver, было устанолено ядро kernel-xen, но вот yast2 поломался. При запуске рушит консоль с ошибкой:
sbin/yast2: line 423: 2333 Illegal instruction $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS
в логе: /var/log/YaST2/y2log

Показать
2013-08-16 19:43:52 <1> linux-bopg(3879) [ncurses] YNCursesUI.cc(YNCursesUI):60 Start YNCursesUI
2013-08-16 19:43:52 <1> linux-bopg(3879) [ncurses] YNCursesUI.cc(YNCursesUI):76 setenv LC_CTYPE: ru_RU.utf8 encoding: UTF-8
2013-08-16 19:43:52 <1> linux-bopg(3879) [ncurses] NCurses.cc(init):192 Launch NCurses...(ui-ncurses-2.20.7)
2013-08-16 19:43:52 <1> linux-bopg(3879) [ncurses] NCurses.cc(init):197 TERM=xterm
2013-08-16 19:43:52 <1> linux-bopg(3879) [ncurses] NCurses.cc(init):210 isatty(stdin)yes
2013-08-16 19:43:52 <1> linux-bopg(3879) [ncurses] NCurses.cc(init):218 mytty: /dev/pts/1
2013-08-16 19:43:52 <1> linux-bopg(3879) [ncurses] NCurses.cc(RedirectToLog):574 isatty(stderr)yes
2013-08-16 19:43:52 <1> linux-bopg(3879) [ncurses] NCurses.cc(RedirectToLog):583 isatty(stdout)no
2013-08-16 19:43:52 <1> linux-bopg(3879) [ncurses] NCurses.cc(init):288 have color = 1
2013-08-16 19:43:52 <1> linux-bopg(3879) [ncurses] NCurses.cc(init):313 screen size 66 x 186
2013-08-16 19:43:52 <1> linux-bopg(3879) [ncurses] NCstyle.cc(NCstyle):308 Init xterm using color => 4 styles in xterm
2013-08-16 19:43:52 <1> linux-bopg(3879) [ncurses] NCurses.cc(SetTitle):479 Draw title called
2013-08-16 19:43:52 <1> linux-bopg(3879) [ncurses] NCurses.cc(init):324 NCurses ready
2013-08-16 19:43:52 <1> linux-bopg(3879) [ui-shortcuts] YShortcutManager.cc(checkShortcuts):100 Not enough widgets with valid shortcut characters - no check
2013-08-16 19:51:09 <1> linux-bopg(4435) [liby2] genericfrontend.cc(main):668 Launched YaST2 component 'y2base' 'menu' 'ncurses'
2013-08-16 19:51:09 <1> linux-bopg(4435) [ui-component] YUIComponentCreator.cc(createInternal):134 Creating UI component for ""
2013-08-16 19:51:09 <1> linux-bopg(4435) [ui-component] YUIComponentCreator.cc(createInternal):149 Returning existing UI component for "ncurses"
2013-08-16 19:51:09 <1> linux-bopg(4435) [wfm] Y2WFMComponent.cc(SetLanguage):503 GET encoding for ru_RU.utf8: UTF-8
2013-08-16 19:51:09 <1> linux-bopg(4435) [wfm] Y2WFMComponent.cc(import):751 Y2WFMComponent::import (Desktop)
2013-08-16 19:51:09 <1> linux-bopg(4435) [wfm] Y2WFMComponent.cc(import):751 Y2WFMComponent::import (Map)
2013-08-16 19:51:09 <1> linux-bopg(4435) [wfm] Y2WFMComponent.cc(import):751 Y2WFMComponent::import (String)
2013-08-16 19:51:09 <1> linux-bopg(4435) [wfm] Y2WFMComponent.cc(import):751 Y2WFMComponent::import (Directory)
2013-08-16 19:51:09 <1> linux-bopg(4435) [wfm] Y2WFMComponent.cc(import):751 Y2WFMComponent::import (FileUtils)
2013-08-16 19:51:09 <1> linux-bopg(4435) [wfm] Y2WFMComponent.cc(import):751 Y2WFMComponent::import (Popup)
2013-08-16 19:51:09 <1> linux-bopg(4435) [ui-component] YUIComponentCreator.cc(createInternal):149 Returning existing UI component for ""
2013-08-16 19:51:09 <1> linux-bopg(4435) [wfm] Y2WFMComponent.cc(import):751 Y2WFMComponent::import (Label)
2013-08-16 19:51:09 <1> linux-bopg(4435) [wfm] Y2WFMComponent.cc(import):751 Y2WFMComponent::import (Mode)
2013-08-16 19:51:09 <1> linux-bopg(4435) [wfm] Y2WFMComponent.cc(import):751 Y2WFMComponent::import (Icon)
2013-08-16 19:51:09 <1> linux-bopg(4435) [wfm] Y2CCWFM.cc(createInLevel):148 Parsing finished
2013-08-16 19:51:09 <1> linux-bopg(4435) [liby2] genericfrontend.cc(main):822 YAST_IS_RUNNING is yes
2013-08-16 19:51:09 <1> linux-bopg(4435) [ui] YUI.cc(YUI):83 Creating UI with threads
2013-08-16 19:51:09 <1> linux-bopg(4435) [ncurses] YNCursesUI.cc(YNCursesUI):60 Start YNCursesUI
2013-08-16 19:51:09 <1> linux-bopg(4435) [ncurses] YNCursesUI.cc(YNCursesUI):76 setenv LC_CTYPE: ru_RU.utf8 encoding: UTF-8
2013-08-16 19:51:09 <1> linux-bopg(4435) [ncurses] NCurses.cc(init):192 Launch NCurses...(ui-ncurses-2.20.7)
2013-08-16 19:51:09 <1> linux-bopg(4435) [ncurses] NCurses.cc(init):197 TERM=xterm
2013-08-16 19:51:09 <1> linux-bopg(4435) [ncurses] NCurses.cc(init):210 isatty(stdin)yes
2013-08-16 19:51:09 <1> linux-bopg(4435) [ncurses] NCurses.cc(init):218 mytty: /dev/pts/1
2013-08-16 19:51:09 <1> linux-bopg(4435) [ncurses] NCurses.cc(RedirectToLog):574 isatty(stderr)yes
2013-08-16 19:51:09 <1> linux-bopg(4435) [ncurses] NCurses.cc(RedirectToLog):583 isatty(stdout)no
2013-08-16 19:51:09 <1> linux-bopg(4435) [ncurses] NCurses.cc(init):288 have color = 1
2013-08-16 19:51:09 <1> linux-bopg(4435) [ncurses] NCurses.cc(init):313 screen size 66 x 186
2013-08-16 19:51:09 <1> linux-bopg(4435) [ncurses] NCstyle.cc(NCstyle):308 Init xterm using color => 4 styles in xterm
2013-08-16 19:51:09 <1> linux-bopg(4435) [ncurses] NCurses.cc(SetTitle):479 Draw title called
2013-08-16 19:51:09 <1> linux-bopg(4435) [ncurses] NCurses.cc(init):324 NCurses ready
2013-08-16 19:51:09 <1> linux-bopg(4435) [ui-shortcuts] YShortcutManager.cc(checkShortcuts):100 Not enough widgets with valid shortcut characters - no check
2013-08-19 16:23:32 <1> linux-bopg(2088) [liby2] genericfrontend.cc(main):668 Launched YaST2 component 'y2base' 'menu' 'ncurses'
2013-08-19 16:23:32 <1> linux-bopg(2088) [ui-component] YUIComponentCreator.cc(createInternal):134 Creating UI component for ""
2013-08-19 16:23:32 <1> linux-bopg(2088) [ui-component] YUIComponentCreator.cc(createInternal):149 Returning existing UI component for "ncurses"
2013-08-19 16:23:32 <1> linux-bopg(2088) [wfm] Y2WFMComponent.cc(SetLanguage):503 GET encoding for POSIX: ANSI_X3.4-1968
2013-08-19 16:23:32 <1> linux-bopg(2088) [wfm] Y2WFMComponent.cc(import):751 Y2WFMComponent::import (Desktop)
2013-08-19 16:23:32 <1> linux-bopg(2088) [wfm] Y2WFMComponent.cc(import):751 Y2WFMComponent::import (Map)
2013-08-19 16:23:32 <1> linux-bopg(2088) [wfm] Y2WFMComponent.cc(import):751 Y2WFMComponent::import (String)
2013-08-19 16:23:32 <1> linux-bopg(2088) [wfm] Y2WFMComponent.cc(import):751 Y2WFMComponent::import (Directory)
2013-08-19 16:23:32 <1> linux-bopg(2088) [wfm] Y2WFMComponent.cc(import):751 Y2WFMComponent::import (FileUtils)
2013-08-19 16:23:32 <1> linux-bopg(2088) [wfm] Y2WFMComponent.cc(import):751 Y2WFMComponent::import (Popup)
2013-08-19 16:23:32 <1> linux-bopg(2088) [ui-component] YUIComponentCreator.cc(createInternal):149 Returning existing UI component for ""
2013-08-19 16:23:32 <1> linux-bopg(2088) [wfm] Y2WFMComponent.cc(import):751 Y2WFMComponent::import (Label)
2013-08-19 16:23:32 <1> linux-bopg(2088) [wfm] Y2WFMComponent.cc(import):751 Y2WFMComponent::import (Mode)
2013-08-19 16:23:32 <1> linux-bopg(2088) [wfm] Y2WFMComponent.cc(import):751 Y2WFMComponent::import (Icon)
2013-08-19 16:23:32 <1> linux-bopg(2088) [wfm] Y2CCWFM.cc(createInLevel):148 Parsing finished
2013-08-19 16:23:32 <1> linux-bopg(2088) [liby2] genericfrontend.cc(main):822 YAST_IS_RUNNING is yes
2013-08-19 16:23:32 <1> linux-bopg(2088) [ui] YUI.cc(YUI):83 Creating UI with threads
2013-08-19 16:23:32 <1> linux-bopg(2088) [ncurses] YNCursesUI.cc(YNCursesUI):60 Start YNCursesUI
2013-08-19 16:23:32 <1> linux-bopg(2088) [ncurses] YNCursesUI.cc(YNCursesUI):76 setenv LC_CTYPE: en_US.UTF-8 encoding: UTF-8
2013-08-19 16:23:32 <1> linux-bopg(2088) [ncurses] NCurses.cc(init):192 Launch NCurses...(ui-ncurses-2.20.7)
2013-08-19 16:23:32 <1> linux-bopg(2088) [ncurses] NCurses.cc(init):197 TERM=xterm
2013-08-19 16:23:32 <1> linux-bopg(2088) [ncurses] NCurses.cc(init):210 isatty(stdin)yes
2013-08-19 16:23:32 <1> linux-bopg(2088) [ncurses] NCurses.cc(init):218 mytty: /dev/pts/0
2013-08-19 16:23:32 <1> linux-bopg(2088) [ncurses] NCurses.cc(RedirectToLog):574 isatty(stderr)yes
2013-08-19 16:23:32 <1> linux-bopg(2088) [ncurses] NCurses.cc(RedirectToLog):583 isatty(stdout)yes
2013-08-19 16:23:32 <1> linux-bopg(2088) [ncurses] NCurses.cc(init):288 have color = 1
2013-08-19 16:23:32 <1> linux-bopg(2088) [ncurses] NCurses.cc(init):313 screen size 57 x 259
2013-08-19 16:23:32 <1> linux-bopg(2088) [ncurses] NCstyle.cc(NCstyle):308 Init xterm using color => 4 styles in xterm
2013-08-19 16:23:32 <1> linux-bopg(2088) [ncurses] NCurses.cc(SetTitle):479 Draw title called
2013-08-19 16:23:32 <1> linux-bopg(2088) [ncurses] NCurses.cc(init):324 NCurses ready
2013-08-19 16:23:32 <1> linux-bopg(2088) [ui-shortcuts] YShortcutManager.cc(checkShortcuts):100 Not enough widgets with valid shortcut characters - no check
#333359

vinner,
Яст на GTK?

Покажите:

text
zypper lr -up
rpm -qa | grep yast
#333361

vinner,
Это так же попробуйте:

text
# SuSEconfig

И это:

text
# killall y2base && yast2
#333364

система ставилась без gui, minimal-server installation.

verg написал:
vinner,
Яст на GTK?

Покажите:
text
zypper lr -up
rpm -qa | grep yast

text
linux-bopg:~ # zypper lr -up
# | Alias                            | Name                             | Enabled | Refresh | Priority | URI                                                             
--+----------------------------------+----------------------------------+---------+---------+----------+-----------------------------------------------------------------
1 | Updates-for-openSUSE-11.4-11.4-0 | Updates for openSUSE 11.4 11.4-0 | Yes     | Yes     |   99     | http://download.opensuse.org/update/11.4/                       
2 | openSUSE-11.4-11.4-0             | openSUSE-11.4-11.4-0             | Yes     | No      |   99     | cd:///?devices=/dev/disk/by-id/ata-QEMU_DVD-ROM_QM00004,/dev/sr0
3 | repo-debug                       | openSUSE-11.4-Debug              | No      | Yes     |   99     | http://download.opensuse.org/debug/distribution/11.4/repo/oss/  
4 | repo-debug-update                | openSUSE-11.4-Update-Debug       | No      | Yes     |   99     | http://download.opensuse.org/debug/update/11.4/                 
5 | repo-non-oss                     | openSUSE-11.4-Non-Oss            | Yes     | Yes     |   99     | http://download.opensuse.org/distribution/11.4/repo/non-oss/    
6 | repo-oss                         | openSUSE-11.4-Oss                | Yes     | Yes     |   99     | http://download.opensuse.org/distribution/11.4/repo/oss/        
7 | repo-source                      | openSUSE-11.4-Source             | No      | Yes     |   99     | http://download.opensuse.org/source/distribution/11.4/repo/oss/ 
text
linux-bopg:~ # rpm -qa | grep yast
Показать
text
yast2-sysconfig-2.17.0-62.2.noarch
yast2-metapackage-handler-0.8.11-2.1.noarch
yast2-users-2.20.2-1.2.1.x86_64
yast2-add-on-2.18.3-8.1.noarch
patterns-openSUSE-yast2_basis-11.4-6.9.1.x86_64
yast2-bootloader-2.20.2-0.3.1.x86_64
yast2-ncurses-pkg-2.20.3-3.1.x86_64
yast2-trans-stats-2.19.0-4.1.noarch
yast2-xml-2.16.1-62.1.x86_64
yast2-dbus-client-2.18.0-8.1.x86_64
yast2-packager-2.20.15-3.1.x86_64
yast2-apparmor-2.20.1-1.2.1.noarch
yast2-security-2.20.2-3.1.noarch
yast2-online-update-frontend-2.20.2-3.1.noarch
yast2-installation-2.20.5-1.2.1.noarch
yast2-kerberos-client-2.20.4-0.3.1.noarch
yast2-country-data-2.20.6-1.2.1.x86_64
yast2-libyui-2.20.2-3.1.x86_64
yast2-ycp-ui-bindings-2.20.3-3.1.x86_64
yast2-branding-openSUSE-2.18.0-8.1.noarch
yast2-transfer-2.18.0-9.1.x86_64
yast2-runlevel-2.20.1-3.1.noarch
yast2-ntp-client-2.20.2-5.1.noarch
yast2-ldap-2.20.1-3.1.x86_64
yast2-vm-2.17.1-3.1.x86_64
yast2-online-update-2.20.2-3.1.noarch
yast2-tune-2.20.1-3.2.x86_64
yast2-sudo-2.18.2-8.1.noarch
yast2-inetd-2.17.3-9.1.noarch
yast2-core-2.20.1-0.3.1.x86_64
yast2-ldap-client-2.20.14.2-0.2.1.noarch
yast2-packager-webpin-2.20.15-3.1.x86_64
yast2-slp-2.16.0-89.1.x86_64
yast2-pkg-bindings-2.20.3-3.1.x86_64
yast2-printer-2.20.8-2.1.x86_64
yast2-nfs-client-2.19.3-4.1.noarch
yast2-irda-2.19.1-6.1.noarch
yast2-nis-client-2.18.2-8.1.x86_64
yast2-iscsi-client-2.20.0-3.1.noarch
yast2-samba-client-2.20.2-3.1.noarch
autoyast2-installation-2.20.9-1.2.1.noarch
yast2-samba-server-2.20.2-3.1.noarch
yast2-backup-2.20.2-5.1.noarch
yast2-hardware-detection-2.17.2-2.3.1.x86_64
yast2-ncurses-2.20.7-1.2.1.x86_64
yast2-theme-openSUSE-2.20.3-3.1.noarch
yast2-perl-bindings-2.19.1-6.1.x86_64
yast2-pam-2.20.1-3.1.noarch
yast2-firewall-2.19.1-4.1.noarch
yast2-country-2.20.6-1.2.1.x86_64
yast2-restore-2.19.0-6.1.noarch
yast2-mail-2.20.0-3.2.noarch
yast2-trans-en_US-2.19.0-31.38.1.noarch
yast2-network-2.20.12-0.3.1.x86_64
yast2-nfs-common-2.18.1-8.1.noarch
yast2-2.20.12-3.2.x86_64
yast2-storage-2.20.5-3.1.x86_64
yast2-mouse-2.18.2-8.1.x86_64
yast2-update-2.19.1-6.1.x86_64
patterns-openSUSE-yast2_install_wf-11.4-6.9.1.x86_64

text

linux-bopg:~ # killall y2base && yast2
y2base: no process found
#333365

vinner,
DE какое?

#333366
verg написал:
vinner,
DE какое?

при установки выбирал Minimal server selection(text-mode). т.е. там вообще не должно быть DE, текстовый режим. yast2 использует псевдографику.

#333367

vinner,
Прикольно, правда ошибка в первом посте гуишная.

#333368

vinner,
А если запускать так:

text
# yast2 --ncurses
#333369
verg написал:
vinner,
Прикольно, правда ошибка в первом посте гуишная.

но если чуть изменить скрипт /sbin/yast2(добавим echo)
echo $ybindir/y2base $module "$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS

text
linux-bopg:~ # yast2
/usr/lib/YaST2/bin/y2base menu ncurses

те. судя по всему текст, а не графика

#333370
verg написал:
vinner,
А если запускать так:
text
# yast2 --ncurses

тоже самое

#333431

А если запускать не yast2 ,а просто yast ? Я до сих пор считал, что yast2 для графического интерфейса, а yast для текстового.

#333451
vovanukycc написал:
А если запускать не yast2 ,а просто yast ? Я до сих пор считал, что yast2 для графического интерфейса, а yast для текстового.

нет, yast в 11.4 это лишь символьная ссылка на yast2

Войдите или зарегистрируйтесь, чтобы ответить.