* [Sysadmins] Logalyze @ 2015-02-09 16:40 Andrey Kuleshov 2015-02-10 7:56 ` Anton Farygin ` (2 more replies) 0 siblings, 3 replies; 20+ messages in thread From: Andrey Kuleshov @ 2015-02-09 16:40 UTC (permalink / raw) To: ALT Linux sysadmins' discussion Доброго времени! Понадобилось запустить Logalyze (logalyze.com), писана на java, вэбклиент-серверная организация, уперся в странную ситуацию Для начала решил потренироваться на рабочей станции x32 ALT p7. Все встало с полпинка, потребовалось установить лишь java, причем любую из имеющихся. Все то же самое копирую/проделываю на целевом сервере x64 ALT p7 получаю невозможность сетевого соединения вэбморды с ядром независимо от версий/производителей jvm. Настройки сетевых интерфейсов, открытые сетевые порты на обеих системах выглядят одинаково. В чем может быть затык и в какую сторону хоть копать ОС/сеть/JAVA? Спасибо! -- 万歳, Andrey Kuleshov ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Sysadmins] Logalyze 2015-02-09 16:40 [Sysadmins] Logalyze Andrey Kuleshov @ 2015-02-10 7:56 ` Anton Farygin 2015-02-10 17:57 ` Andrey Kuleshov 2015-03-18 17:04 ` Andrey Kuleshov 2015-03-27 9:08 ` Andrey Kuleshov 2 siblings, 1 reply; 20+ messages in thread From: Anton Farygin @ 2015-02-10 7:56 UTC (permalink / raw) To: sysadmins On 09.02.2015 19:40, Andrey Kuleshov wrote: > Доброго времени! > > Понадобилось запустить Logalyze (logalyze.com), писана на java, > вэбклиент-серверная организация, уперся в странную ситуацию > > Для начала решил потренироваться на рабочей станции x32 ALT p7. Все > встало с полпинка, потребовалось установить лишь java, причем любую из > имеющихся. > Все то же самое копирую/проделываю на целевом сервере x64 ALT p7 получаю > невозможность сетевого соединения вэбморды с ядром независимо от > версий/производителей jvm. > Настройки сетевых интерфейсов, открытые сетевые порты на обеих системах > выглядят одинаково. > > В чем может быть затык и в какую сторону хоть копать ОС/сеть/JAVA? > > Спасибо! > Всё равно эксперименты - а на сизифе как оно ? Вообще, очень мало информации, что за дистрибутив, какие настройки ? Какие веб-морды, какие ядра, через что соединяются? Какие-то куски Java из p7 используются, или нет ? ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Sysadmins] Logalyze 2015-02-10 7:56 ` Anton Farygin @ 2015-02-10 17:57 ` Andrey Kuleshov 2015-02-11 11:24 ` Anton Farygin 0 siblings, 1 reply; 20+ messages in thread From: Andrey Kuleshov @ 2015-02-10 17:57 UTC (permalink / raw) To: ALT Linux sysadmins' discussion Доброго времени! 10.02.2015 09:56, Anton Farygin пишет: > On 09.02.2015 19:40, Andrey Kuleshov wrote: >> Доброго времени! >> >> Понадобилось запустить Logalyze (logalyze.com), писана на java, >> вэбклиент-серверная организация, уперся в странную ситуацию >> >> Для начала решил потренироваться на рабочей станции x32 ALT p7. Все >> встало с полпинка, потребовалось установить лишь java, причем любую из >> имеющихся. >> Все то же самое копирую/проделываю на целевом сервере x64 ALT p7 получаю >> невозможность сетевого соединения вэбморды с ядром независимо от >> версий/производителей jvm. >> Настройки сетевых интерфейсов, открытые сетевые порты на обеих системах >> выглядят одинаково. >> >> В чем может быть затык и в какую сторону хоть копать ОС/сеть/JAVA? >> >> Спасибо! >> > > Всё равно эксперименты - а на сизифе как оно ? К сожалению, Сизифа под рукой нет, проверить не могу. А целевая система вполне себе продакшн > > Вообще, очень мало информации, что за дистрибутив, какие настройки ? Что еще из информативных настроек, кроме приведенных ниже, нужно/можно показать? > Какие веб-морды, какие ядра, через что соединяются? > > Какие-то куски Java из p7 используются, или нет ? Не могу сказать, не знаю. Вообще с Java столкнулся первый раз и не знаю с какой стороны к ней подходить тестовая система, работа приложения нормальна # cat /etc/altlinux-release ALT Linux 7.0.5 Centaurus (Pholus) с обновлениями по сегодня # uname -rm 3.16.6-un-def-alt1 i686 # rpm -qa | grep java |sort ca-certificates-java-0.01-alt1 fonts-ttf-java-1.6.0-sun-1.6.0.26-alt7 java-1.6.0-sun-1.6.0.26-alt7 java-1.7.0-openjdk-1.7.0.9-alt1_2.3.8.0jpp7 java-common-1.5.0-alt1 libjavascriptcoregtk2-2.0.0-alt1 libjavascriptcoregtk3-2.0.4-alt1 mozilla-plugin-java-1.6.0-sun-1.6.0.26-alt7 mozilla-plugin-java-1.7.0-openjdk-1.3-alt2.hg478_1jpp7 tzdata-java-2014i-alt1 # netstat -pan|grep java tcp 0 0 ::ffff:127.0.0.1:8005 :::* LISTEN 32674/java tcp 0 0 :::1670 :::* LISTEN 32662/java tcp 0 0 :::8009 :::* LISTEN 32674/java tcp 0 0 :::8080 :::* LISTEN 32674/java tcp 0 0 ::ffff:127.0.0.1:8088 :::* LISTEN 32662/java udp 0 0 :::1670 :::* 32662/java unix 2 [ ] STREAM CONNECTED 27547789 32674/java unix 2 [ ] STREAM CONNECTED 27544999 32662/java unix 2 [ ] STREAM CONNECTED 27546977 32662/java целевая система, приложение не работает # cat /etc/altlinux-release ALT Linux 7.0.5 Centaurus (Pholus) с обновлениями по сегодня # uname -rm 3.10.32-std-def-alt1 x86_64 # rpm -qa| grep java |sort ca-certificates-java-0.01-alt1 fonts-ttf-java-1.6.0-sun-1.6.0.26-alt7 java-1.6.0-sun-1.6.0.26-alt7 java-1.7.0-openjdk-1.7.0.9-alt1_2.3.8.0jpp7 java-common-1.5.0-alt1 tzdata-java-2014i-alt1 # netstat -pan|grep java tcp 0 0 ::ffff:127.0.0.1:8088 :::* LISTEN 10376/java tcp 0 0 ::ffff:127.0.0.1:8005 :::* LISTEN 10403/java tcp 0 0 :::1670 :::* LISTEN 10376/java tcp 0 0 :::8009 :::* LISTEN 10403/java tcp 0 0 :::8080 :::* LISTEN 10403/java udp 0 0 :::1670 :::* 10376/java unix 2 [ ] STREAM CONNECTED 1022398 10376/java unix 2 [ ] STREAM CONNECTED 1019155 10376/java unix 2 [ ] STREAM CONNECTED 1023261 10403/java -- 万歳, Andrey Kuleshov cell://+380502340113 cell://+380972649699 mailto://andrey@kuleshov.in.ua ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Sysadmins] Logalyze 2015-02-10 17:57 ` Andrey Kuleshov @ 2015-02-11 11:24 ` Anton Farygin 2015-02-12 13:48 ` Andrey Kuleshov 2015-03-13 17:14 ` Andrey Kuleshov 0 siblings, 2 replies; 20+ messages in thread From: Anton Farygin @ 2015-02-11 11:24 UTC (permalink / raw) To: sysadmins On 10.02.2015 20:57, Andrey Kuleshov wrote: > Доброго времени! > > 10.02.2015 09:56, Anton Farygin пишет: >> On 09.02.2015 19:40, Andrey Kuleshov wrote: >>> Доброго времени! >>> >>> Понадобилось запустить Logalyze (logalyze.com), писана на java, >>> вэбклиент-серверная организация, уперся в странную ситуацию >>> >>> Для начала решил потренироваться на рабочей станции x32 ALT p7. Все >>> встало с полпинка, потребовалось установить лишь java, причем любую из >>> имеющихся. >>> Все то же самое копирую/проделываю на целевом сервере x64 ALT p7 получаю >>> невозможность сетевого соединения вэбморды с ядром независимо от >>> версий/производителей jvm. >>> Настройки сетевых интерфейсов, открытые сетевые порты на обеих системах >>> выглядят одинаково. >>> >>> В чем может быть затык и в какую сторону хоть копать ОС/сеть/JAVA? >>> >>> Спасибо! >>> >> >> Всё равно эксперименты - а на сизифе как оно ? > К сожалению, Сизифа под рукой нет, проверить не могу. > А целевая система вполне себе продакшн >> >> Вообще, очень мало информации, что за дистрибутив, какие настройки ? > Что еще из информативных настроек, кроме приведенных ниже, нужно/можно > показать? >> Какие веб-морды, какие ядра, через что соединяются? >> >> Какие-то куски Java из p7 используются, или нет ? > Не могу сказать, не знаю. Вообще с Java столкнулся первый раз и не знаю > с какой стороны к ней подходить > > тестовая система, работа приложения нормальна > # cat /etc/altlinux-release > ALT Linux 7.0.5 Centaurus (Pholus) с обновлениями по сегодня > > # uname -rm > 3.16.6-un-def-alt1 i686 > <skip> > > # uname -rm > 3.10.32-std-def-alt1 x86_64 Что за древнее ядро? обновить не получается ? ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Sysadmins] Logalyze 2015-02-11 11:24 ` Anton Farygin @ 2015-02-12 13:48 ` Andrey Kuleshov 2015-02-12 13:49 ` Anton Farygin 2015-03-13 17:14 ` Andrey Kuleshov 1 sibling, 1 reply; 20+ messages in thread From: Andrey Kuleshov @ 2015-02-12 13:48 UTC (permalink / raw) To: ALT Linux sysadmins' discussion 11.02.2015 13:24, Anton Farygin пишет: > <skip> > >> >> # uname -rm >> 3.10.32-std-def-alt1 x86_64 > > Что за древнее ядро? обновить не получается ? Сразу после установки системы было установлено ядро 3.14.31 доступное на тот момент Система при попытке его загрузки нарисовала полэкрана пингвинов и повисла -- 万歳, Andrey Kuleshov ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Sysadmins] Logalyze 2015-02-12 13:48 ` Andrey Kuleshov @ 2015-02-12 13:49 ` Anton Farygin 2015-02-13 11:24 ` Andrey Kuleshov 0 siblings, 1 reply; 20+ messages in thread From: Anton Farygin @ 2015-02-12 13:49 UTC (permalink / raw) To: sysadmins On 12.02.2015 16:48, Andrey Kuleshov wrote: > > 11.02.2015 13:24, Anton Farygin пишет: >> <skip> >> >>> >>> # uname -rm >>> 3.10.32-std-def-alt1 x86_64 >> >> Что за древнее ядро? обновить не получается ? > Сразу после установки системы было установлено ядро 3.14.31 доступное на > тот момент > Система при попытке его загрузки нарисовала полэкрана пингвинов и повисла > А если поставить un-def ? ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Sysadmins] Logalyze 2015-02-12 13:49 ` Anton Farygin @ 2015-02-13 11:24 ` Andrey Kuleshov 2015-02-13 13:41 ` Anton Farygin 0 siblings, 1 reply; 20+ messages in thread From: Andrey Kuleshov @ 2015-02-13 11:24 UTC (permalink / raw) To: ALT Linux sysadmins' discussion 12.02.2015 15:49, Anton Farygin пишет: > On 12.02.2015 16:48, Andrey Kuleshov wrote: >> >> 11.02.2015 13:24, Anton Farygin пишет: >>> <skip> >>> >>>> >>>> # uname -rm >>>> 3.10.32-std-def-alt1 x86_64 >>> >>> Что за древнее ядро? обновить не получается ? >> Сразу после установки системы было установлено ядро 3.14.31 доступное на >> тот момент >> Система при попытке его загрузки нарисовала полэкрана пингвинов и >> повисла >> > > А если поставить un-def ? Сейчас установлены # rpm -qa | grep kernel | grep image kernel-image-un-def-3.18.6-alt1 kernel-image-std-def-3.10.32-alt1 kernel-image-std-def-3.14.31-alt1 но задействовать их нет возможности: физического доступа к системе пока нет (нет возможности выбрать нужное ядро при загрузке) Есть ли способ обеспечить загрузку нужного ядра с помощью grub2 (для lilo я такое когда-то встречал) с возможностью автоматического переключения на заведомо рабочее ядро в случае неуспеха желаемой загрузки? Еще пробовал поднять Logalyze на свежеустановленном ALT 7.0.4 Centaurus (VmWare), все взлетело моментально без малейших проблем на дефолтном ядре Подозреваю какие-то косяки установки на целевой компьютере Видимо необходима полная переустановка системы -- 万歳, Andrey Kuleshov ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Sysadmins] Logalyze 2015-02-13 11:24 ` Andrey Kuleshov @ 2015-02-13 13:41 ` Anton Farygin 0 siblings, 0 replies; 20+ messages in thread From: Anton Farygin @ 2015-02-13 13:41 UTC (permalink / raw) To: sysadmins On 13.02.2015 14:24, Andrey Kuleshov wrote: > > 12.02.2015 15:49, Anton Farygin пишет: >> On 12.02.2015 16:48, Andrey Kuleshov wrote: >>> >>> 11.02.2015 13:24, Anton Farygin пишет: >>>> <skip> >>>> >>>>> >>>>> # uname -rm >>>>> 3.10.32-std-def-alt1 x86_64 >>>> >>>> Что за древнее ядро? обновить не получается ? >>> Сразу после установки системы было установлено ядро 3.14.31 доступное на >>> тот момент >>> Система при попытке его загрузки нарисовала полэкрана пингвинов и >>> повисла >>> >> >> А если поставить un-def ? > Сейчас установлены > > # rpm -qa | grep kernel | grep image > kernel-image-un-def-3.18.6-alt1 > kernel-image-std-def-3.10.32-alt1 > kernel-image-std-def-3.14.31-alt1 > > но задействовать их нет возможности: физического доступа к системе пока > нет (нет возможности выбрать нужное ядро при загрузке) > > Есть ли способ обеспечить загрузку нужного ядра с помощью grub2 (для > lilo я такое когда-то встречал) с возможностью автоматического > переключения на заведомо рабочее ядро в случае неуспеха желаемой загрузки? # grub-reboot --help Usage: grub-reboot [OPTION] MENU_ENTRY Set the default boot menu entry for GRUB, for the next boot only. -h, --help print this message and exit -v, --version print the version information and exit --boot-directory=DIR expect GRUB images under the directory DIR/grub instead of the /boot/grub directory MENU_ENTRY is a number, a menu item title or a menu item identifier. Report bugs to <bug-grub@gnu.org>. > > Еще пробовал поднять Logalyze на свежеустановленном ALT 7.0.4 Centaurus > (VmWare), все взлетело моментально без малейших проблем на дефолтном ядре > Подозреваю какие-то косяки установки на целевой компьютере > Видимо необходима полная переустановка системы Может быть. ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Sysadmins] Logalyze 2015-02-11 11:24 ` Anton Farygin 2015-02-12 13:48 ` Andrey Kuleshov @ 2015-03-13 17:14 ` Andrey Kuleshov 2015-03-13 17:31 ` Michael Shigorin 2015-03-15 16:03 ` Andrey Kuleshov 1 sibling, 2 replies; 20+ messages in thread From: Andrey Kuleshov @ 2015-03-13 17:14 UTC (permalink / raw) To: ALT Linux sysadmins' discussion 11.02.2015 13:24, Anton Farygin пишет: <skip> > > <skip> > >> >> # uname -rm >> 3.10.32-std-def-alt1 x86_64 > > Что за древнее ядро? обновить не получается ? Ядро поставлено инсталлятором 7.0.4 Позавчера была выполнена полная переустановка системы, на всякий случай: в прошлый раз при установке выдернул установочный диск раньше времени, недоработали какой-то финальные скрипты. Установлены ядра # rpm -qa | grep kernel | grep image kernel-image-un-def-3.18.7-alt1 kernel-image-std-def-3.14.34-alt1 kernel-image-std-def-3.10.32-alt1 Про попытке в консоли загрузки un-def-3.18.7-alt1 8 пингвинов i8042: No controller found Про попытке в консоли загрузки std-def-3.14.34-alt1 8 пингвинов i8042: No controller found /init: 35: /init: cannot create /proc/sys/kernel/hotplug: Directory nonexistent с помощью grub-reboot удалось загрузить std-def-3.14.34-alt1, при попытке загрузить un-def-3.18.7-alt1 все равно грузится std-def-3.14.34-alt1 Удивляет скорость перезагрузки: система начинает отвечать в сеть через ~25" при том, что перезагрузка с консоли занимает ~1.5' Еще обнаружил </var/log/dmsg> ... [ 0.334670] ------------[ cut here ]------------ [ 0.334675] WARNING: CPU: 4 PID: 1 at drivers/pci/search.c:46 pci_find_upstream_pcie_bridge+0x53/0x70() [ 0.334676] Modules linked in: [ 0.334678] CPU: 4 PID: 1 Comm: swapper/0 Not tainted 3.14.34-std-def-alt1 #1 [ 0.334679] Hardware name: Dell Inc. PowerEdge R220/081N4V, BIOS 1.2.1 09/05/2014 [ 0.334680] 0000000000000009 ffff8802550c3cc8 ffffffff8154c27b 000000000000004a [ 0.334682] 0000000000000000 ffff8802550c3d08 ffffffff81067117 ffff8802550c3d28 [ 0.334683] ffff880254fd5098 ffff880254fd5000 ffff880254fd5098 1fffffffffffffff [ 0.334685] Call Trace: [ 0.334690] [<ffffffff8154c27b>] dump_stack+0x46/0x58 [ 0.334692] [<ffffffff81067117>] warn_slowpath_common+0x87/0xb0 [ 0.334694] [<ffffffff81067155>] warn_slowpath_null+0x15/0x20 [ 0.334695] [<ffffffff8130ae13>] pci_find_upstream_pcie_bridge+0x53/0x70 [ 0.334699] [<ffffffff81463bbc>] intel_iommu_add_device+0x4c/0x230 [ 0.334700] [<ffffffff8145ab50>] ? bus_set_iommu+0x60/0x60 [ 0.334702] [<ffffffff8145ab7e>] add_iommu_group+0x2e/0x60 [ 0.334704] [<ffffffff813decb5>] bus_for_each_dev+0x55/0x90 [ 0.334706] [<ffffffff8145ab3c>] bus_set_iommu+0x4c/0x60 [ 0.334709] [<ffffffff818dec96>] intel_iommu_init+0xc05/0xe11 [ 0.334710] [<ffffffff818976f1>] ? clean_rootfs+0x1c0/0x1c0 [ 0.334713] [<ffffffff8189f6af>] ? memblock_find_dma_reserve+0x139/0x139 [ 0.334715] [<ffffffff8189f6c2>] pci_iommu_init+0x13/0x3e [ 0.334717] [<ffffffff810021c2>] do_one_initcall+0x122/0x190 [ 0.334719] [<ffffffff81089700>] ? parse_args+0x1b0/0x370 [ 0.334721] [<ffffffff810acd1e>] ? __wake_up+0x4e/0x70 [ 0.334723] [<ffffffff81895136>] kernel_init_freeable+0x155/0x1eb [ 0.334725] [<ffffffff818948ff>] ? do_early_param+0x8c/0x8c [ 0.334728] [<ffffffff8153c710>] ? rest_init+0x80/0x80 [ 0.334730] [<ffffffff8153c719>] kernel_init+0x9/0xf0 [ 0.334732] [<ffffffff8155cb8c>] ret_from_fork+0x7c/0xb0 [ 0.334734] [<ffffffff8153c710>] ? rest_init+0x80/0x80 [ 0.334737] ---[ end trace 6839fb82362d2998 ]--- ... </var/log/dmsg /> здесь речь идет о процессоре №4, но в других сеансах были и №5, и №6 Для полноты картины система Dell PowerEdge R220 bios revision 1.2.1 -- 万歳, Andrey Kuleshov cell://+380502340113 cell://+380972649699 mailto://andrey@kuleshov.in.ua ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Sysadmins] Logalyze 2015-03-13 17:14 ` Andrey Kuleshov @ 2015-03-13 17:31 ` Michael Shigorin 2015-03-14 13:00 ` drew 2015-03-15 16:03 ` Andrey Kuleshov 1 sibling, 1 reply; 20+ messages in thread From: Michael Shigorin @ 2015-03-13 17:31 UTC (permalink / raw) To: ALT Linux sysadmins' discussion On Fri, Mar 13, 2015 at 07:14:42PM +0200, Andrey Kuleshov wrote: > Позавчера была выполнена полная переустановка системы, > на всякий случай: в прошлый раз при установке выдернул > установочный диск раньше времени, недоработали какой-то > финальные скрипты. Если есть возможность, я бы в таком виде не оставлял -- перечитывать их и делать руками/проверять уж больно муторно (хотя мне и идея такая в голову не приходила, дожидаюсь штатной перезагрузки после установки или any key). -- ---- WBR, Michael Shigorin / http://altlinux.org ------ http://opennet.ru / http://anna-news.info ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Sysadmins] Logalyze 2015-03-13 17:31 ` Michael Shigorin @ 2015-03-14 13:00 ` drew 0 siblings, 0 replies; 20+ messages in thread From: drew @ 2015-03-14 13:00 UTC (permalink / raw) To: ALT Linux sysadmins' discussion Доброго времени! Michael Shigorin писал 2015-03-13 19:31: > On Fri, Mar 13, 2015 at 07:14:42PM +0200, Andrey Kuleshov wrote: >> Позавчера была выполнена полная переустановка системы, >> на всякий случай: в прошлый раз при установке выдернул >> установочный диск раньше времени, недоработали какой-то >> финальные скрипты. > > Если есть возможность, я бы в таком виде не оставлял -- > перечитывать их и делать руками/проверять уж больно муторно > (хотя мне и идея такая в голову не приходила, дожидаюсь > штатной перезагрузки после установки или any key). Собственно, в начале переписки я, как раз, и не был уверен в коррекности работы системы из-за ошибки установки. Потому и переставил. Артефактное поведение системы продолжается, а я продолжаю недоумевать как зависит работа сетевой подсистемы от версии/типа ядра. Позже сегодня попробую поставить logalyze на домашний комп сравнимой архитектуры. Если все заработает в понедельник на целевую систему поставлю Debian. ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Sysadmins] Logalyze 2015-03-13 17:14 ` Andrey Kuleshov 2015-03-13 17:31 ` Michael Shigorin @ 2015-03-15 16:03 ` Andrey Kuleshov 2015-03-15 17:27 ` Michael Shigorin 1 sibling, 1 reply; 20+ messages in thread From: Andrey Kuleshov @ 2015-03-15 16:03 UTC (permalink / raw) To: ALT Linux sysadmins' discussion 13.03.2015 19:14, Andrey Kuleshov пишет: > > 11.02.2015 13:24, Anton Farygin пишет: > > <skip> >> >> <skip> >> >>> >>> # uname -rm >>> 3.10.32-std-def-alt1 x86_64 >> >> Что за древнее ядро? обновить не получается ? Удалось установить/загрузить kernel-image-un-def-3.19.1-alt1. Ошибки из /var/log/dmsg ушли Java приложение все так же не работает ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Sysadmins] Logalyze 2015-03-15 16:03 ` Andrey Kuleshov @ 2015-03-15 17:27 ` Michael Shigorin 2015-03-15 18:45 ` Andrey Kuleshov 0 siblings, 1 reply; 20+ messages in thread From: Michael Shigorin @ 2015-03-15 17:27 UTC (permalink / raw) To: ALT Linux sysadmins' discussion On Sun, Mar 15, 2015 at 06:03:40PM +0200, Andrey Kuleshov wrote: > Java приложение все так же не работает А его получается позапущать из консоли? java -version что-то внятное успевает сказать? -- ---- WBR, Michael Shigorin / http://altlinux.org ------ http://opennet.ru / http://anna-news.info ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Sysadmins] Logalyze 2015-03-15 17:27 ` Michael Shigorin @ 2015-03-15 18:45 ` Andrey Kuleshov 2015-03-15 19:30 ` Michael Shigorin 0 siblings, 1 reply; 20+ messages in thread From: Andrey Kuleshov @ 2015-03-15 18:45 UTC (permalink / raw) To: ALT Linux sysadmins' discussion 15.03.2015 19:27, Michael Shigorin пишет: > On Sun, Mar 15, 2015 at 06:03:40PM +0200, Andrey Kuleshov wrote: >> >Java приложение все так же не работает > А его получается позапущать из консоли? Получается вполне себе > java -version что-то внятное успевает сказать? # java -version java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode) Собственно, стартуют куски (engine && admin) вполне нормально # ps ax|grep java|grep -v grep 1030 pts/2 Sl 0:03 /usr/lib/jvm/java-1.6.0-sun-1.6.0.26/jre/bin/java -server -Dlog4j.configuration=file:/opt/logalyze/conf/log4j ... 1061 pts/2 Sl 0:01 /usr/lib/jvm/jre/bin/java -Djava.util.logging.config.file=/opt/logalyze/admin/conf/logging.properties -Djava. ... , нету взаимодействия между приложением и админом через сетевые заморочки. Вот этот сетевой бы затык бы и отловить. Обидно, что на x32 поднимал logalyze трижды, этой проблемы нет. Только что попытался поднять еще на одной системе x64 -- не работает. В ключах java обнаружил "-d32 use a 32-bit data model if available". Может это и есть решение проблемы? Но # java -d32 -version Running a 32-bit JVM is not supported on this platform. при установленном # rpm -qa|grep java ... i586-java-1.6.0-sun-1.6.0.26-alt7 ... или все не так и я неправильно понимаю отношения java и платформ x32/x64? ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Sysadmins] Logalyze 2015-03-15 18:45 ` Andrey Kuleshov @ 2015-03-15 19:30 ` Michael Shigorin 2015-03-15 20:53 ` Andrey Kuleshov 0 siblings, 1 reply; 20+ messages in thread From: Michael Shigorin @ 2015-03-15 19:30 UTC (permalink / raw) To: ALT Linux sysadmins' discussion On Sun, Mar 15, 2015 at 08:45:57PM +0200, Andrey Kuleshov wrote: > В ключах java обнаружил "-d32 use a 32-bit data model > if available". Может это и есть решение проблемы? Но > # java -d32 -version > Running a 32-bit JVM is not supported on this platform. > при установленном > # rpm -qa|grep java > i586-java-1.6.0-sun-1.6.0.26-alt7 Насколько понимаю, если б ты звал 32-битную, то не понадобилось бы никаких -d32; также стоит иметь в виду, что в сановской были дырки и при тех же i586-библиотеках стоит ставить или оракловую 32-битную, или i586-openjdk (если с ним софтина заведётся). > или все не так и я неправильно понимаю отношения java и > платформ x32/x64? rpm -qf $(realpath $(which java)) ? -- ---- WBR, Michael Shigorin / http://altlinux.org ------ http://opennet.ru / http://anna-news.info ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Sysadmins] Logalyze 2015-03-15 19:30 ` Michael Shigorin @ 2015-03-15 20:53 ` Andrey Kuleshov 2015-03-16 13:19 ` Michael Shigorin 0 siblings, 1 reply; 20+ messages in thread From: Andrey Kuleshov @ 2015-03-15 20:53 UTC (permalink / raw) To: ALT Linux sysadmins' discussion 15.03.2015 21:30, Michael Shigorin пишет: > On Sun, Mar 15, 2015 at 08:45:57PM +0200, Andrey Kuleshov wrote: >> В ключах java обнаружил "-d32 use a 32-bit data model >> if available". Может это и есть решение проблемы? Но >> # java -d32 -version >> Running a 32-bit JVM is not supported on this platform. >> при установленном >> # rpm -qa|grep java >> i586-java-1.6.0-sun-1.6.0.26-alt7 > Насколько понимаю, если б ты звал 32-битную, то не понадобилось > бы никаких -d32; также стоит иметь в виду, что в сановской были > дырки и при тех же i586-библиотеках стоит ставить или оракловую > 32-битную, или i586-openjdk (если с ним софтина заведётся). Собственно, мне совершенно все равно какую версию джавы ставить: приложение единственное >> или все не так и я неправильно понимаю отношения java и >> платформ x32/x64? > rpm -qf $(realpath $(which java)) > ? # rpm -qf $(realpath $(which java)) java-1.6.0-sun-1.6.0.26-alt7 ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Sysadmins] Logalyze 2015-03-15 20:53 ` Andrey Kuleshov @ 2015-03-16 13:19 ` Michael Shigorin 0 siblings, 0 replies; 20+ messages in thread From: Michael Shigorin @ 2015-03-16 13:19 UTC (permalink / raw) To: ALT Linux sysadmins' discussion On Sun, Mar 15, 2015 at 10:53:50PM +0200, Andrey Kuleshov wrote: > >>при установленном i586-java-1.6.0-sun-1.6.0.26-alt7 > >Насколько понимаю, если б ты звал 32-битную, [...] > >rpm -qf $(realpath $(which java)) ? > # rpm -qf $(realpath $(which java)) > java-1.6.0-sun-1.6.0.26-alt7 Бишь 64-битная (без i586-; да в biarch-пакетах только библиотеки и лежат, собственно). -- ---- WBR, Michael Shigorin / http://altlinux.org ------ http://opennet.ru / http://anna-news.info ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Sysadmins] Logalyze 2015-02-09 16:40 [Sysadmins] Logalyze Andrey Kuleshov 2015-02-10 7:56 ` Anton Farygin @ 2015-03-18 17:04 ` Andrey Kuleshov 2015-03-19 1:50 ` REAL 2015-03-27 9:08 ` Andrey Kuleshov 2 siblings, 1 reply; 20+ messages in thread From: Andrey Kuleshov @ 2015-03-18 17:04 UTC (permalink / raw) To: ALT Linux sysadmins' discussion Доброго времени! На целевой машине был установлен Debian 7.8 Приложение устойчиво не работает и там Коллеги, как "выяснять отношения" с сетевыми соединениями java? -- 万歳, Andrey Kuleshov ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Sysadmins] Logalyze 2015-03-18 17:04 ` Andrey Kuleshov @ 2015-03-19 1:50 ` REAL 0 siblings, 0 replies; 20+ messages in thread From: REAL @ 2015-03-19 1:50 UTC (permalink / raw) To: ALT Linux sysadmins' discussion 19.03.2015 00:04, Andrey Kuleshov пишет: > Коллеги, как "выяснять отношения" с сетевыми соединениями java? Брать исходники, добавлять дебужную информацию и проверять... -- REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ ^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Sysadmins] Logalyze 2015-02-09 16:40 [Sysadmins] Logalyze Andrey Kuleshov 2015-02-10 7:56 ` Anton Farygin 2015-03-18 17:04 ` Andrey Kuleshov @ 2015-03-27 9:08 ` Andrey Kuleshov 2 siblings, 0 replies; 20+ messages in thread From: Andrey Kuleshov @ 2015-03-27 9:08 UTC (permalink / raw) To: ALT Linux sysadmins' discussion Доброго времени! 09.02.2015 18:40, Andrey Kuleshov пишет: > Доброго времени! > > Понадобилось запустить Logalyze (logalyze.com), писана на java, > вэбклиент-серверная организация, уперся в странную ситуацию > > Для начала решил потренироваться на рабочей станции x32 ALT p7. Все > встало с полпинка, потребовалось установить лишь java, причем любую из > имеющихся. > Все то же самое копирую/проделываю на целевом сервере x64 ALT p7 > получаю невозможность сетевого соединения вэбморды с ядром независимо > от версий/производителей jvm. > Настройки сетевых интерфейсов, открытые сетевые порты на обеих > системах выглядят одинаково. > > В чем может быть затык и в какую сторону хоть копать ОС/сеть/JAVA? Как выяснилось, затык был в браузере Arora Благодарю за помощь! -- 万歳, Andrey Kuleshov ^ permalink raw reply [flat|nested] 20+ messages in thread
end of thread, other threads:[~2015-03-27 9:08 UTC | newest] Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2015-02-09 16:40 [Sysadmins] Logalyze Andrey Kuleshov 2015-02-10 7:56 ` Anton Farygin 2015-02-10 17:57 ` Andrey Kuleshov 2015-02-11 11:24 ` Anton Farygin 2015-02-12 13:48 ` Andrey Kuleshov 2015-02-12 13:49 ` Anton Farygin 2015-02-13 11:24 ` Andrey Kuleshov 2015-02-13 13:41 ` Anton Farygin 2015-03-13 17:14 ` Andrey Kuleshov 2015-03-13 17:31 ` Michael Shigorin 2015-03-14 13:00 ` drew 2015-03-15 16:03 ` Andrey Kuleshov 2015-03-15 17:27 ` Michael Shigorin 2015-03-15 18:45 ` Andrey Kuleshov 2015-03-15 19:30 ` Michael Shigorin 2015-03-15 20:53 ` Andrey Kuleshov 2015-03-16 13:19 ` Michael Shigorin 2015-03-18 17:04 ` Andrey Kuleshov 2015-03-19 1:50 ` REAL 2015-03-27 9:08 ` Andrey Kuleshov
ALT Linux sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git