Пытаюсь перейти с Windows на Linux
Имеем:
Linux netxms 3.2.0-4-686-pae #1 SMP Debian 3.2.46-1+deb7u1 i686 GNU/Linux
Если я правильно понимаю алгоритм, то порядок установки такой:
1.netxms-base_1.2.8_i386.deb
2.netxms-agent_1.2.8_i386.deb
3.netxms-server_1.2.8_i386.deb
>dpkg -i /home/netxms/netxms-base_1.2.8_i386.deb
Получаю:
 ... ... ...
dpkg: зависимости пакетов не позволяют настроить пакет netxms-base:
 netxms-base зависит от libssl0.9.8, однако:
  Пакет libssl0.9.8 не установлен.
Но:
>apt-cache search libssl
... ... ...
libssl1.0.0 - Динамическая библиотека для SSL
Далее агент ругается на не настроенный netxms-base и так далее. Вопрос, что делать, куда копать?
			
			
			
				Какая версия дебиана? 7?
			
			
			
				Да, 7ая.
			
			
			
				Debian 7 -- это wheezy, а на https://www.netxms.org/apt есть только пакеты, собранные для squeeze.
Оттуда растёт зависимость от libssl0.9.8, которая есть в squeeze, но отсутствует в wheezy.
Добавьте в /etc/apt/sources.list репозиторий squeeze и поставьте libssl0.9.8
			
			
			
				А планируется поддержка Debian 7 и когда это возможно будет?
			
			
			
				У меня все на 7ке стоит... ставил из исходников. Все отлично.
			
			
			
				Я понимаю что можно поставить из исходников или подключить репозиторий. Но хотелось бы чтобы deb пакет нативно поддерживал debian 7. 
Добавлю на счёт исходников, у нас десятки виртуальных машин и собирать агент на каждой из исходников идея не очень хорошая.
			
			
			
				О десятках машин Вы изначально не говорили...
Попробуйте вот это: https://www.netxms.org/download/agent_packages/nxagent-1.2.9-linux-x86-static.tar.gz
это не пакет, а просто исполняемый файл... но тут нужно будет заморочиться со стартап скриптом...
			
			
			
				Всё же хотелось бы от разработчиков услышать когда, по оптимистичным оценкам, возможно будет версия deb пакетов для Debian 7 x64 :) И планируется ли интеграция NetXMS в репозиторий Debian.
			
			
			
				Я думаю что 1.2.10 соберем уже под Debian 7. Насчет интеграции в репозиторий Debian - сложно сказать. Пока что у нас самих ресурсов нет, чтобы этим заниматся. Или найдется кто-то, кто-возьмется, или мы вырастем и сможем выделить ресурсы. 
			
			
			
				Hi
When have you planed to release 1.2.10 version?
I can not compile 1.2.9 version for Debian 7 X64 box:
Quotemake[3]: se ingresa al directorio `/root/netxms-agent/netxms-1.2.9/src/libnetxms'
  CXX    libnetxms_la-agent.lo
stdin:1: error: character not allowed to start a syntax specifier
make[3]: *** [libnetxms_la-agent.lo] Error 1
Best regards
			
				Hi!
1.2.10 should be released today.
Best regards,
Victor
			
			
			
				Todayyyyy!!! Good news!!!  :o
Thank you very much Victor.
Best regards.
			
			
			
				Quote from: Weird on September 04, 2013, 08:52:35 PM
Debian 7 -- это wheezy, а на https://www.netxms.org/apt есть только пакеты, собранные для squeeze.
Оттуда растёт зависимость от libssl0.9.8, которая есть в squeeze, но отсутствует в wheezy.
Добавьте в /etc/apt/sources.list репозиторий squeeze и поставьте libssl0.9.8
po
Thanks, for this nudge in the right direction. I switched my repo to squeeze, installed the library and then switched back. Netxms and the agent are starting now.  ;)
R
			
 
			
			
				Just for information - 1.2.12 available as wheezy build (on web site download page and at https://www.netxms.org/apt/dists/wheezy/main/ (https://www.netxms.org/apt/dists/wheezy/main/)) and as squeeze build (at https://www.netxms.org/apt/dists/squeeze/main/ (https://www.netxms.org/apt/dists/squeeze/main/)).
			
			
			
				Sorry, offtop:
Need to try write a Russian in English forum :)
There can also speak Russian :)
			
			
			
				Quote from: Victor Kirhenshtein on February 19, 2014, 12:11:57 PM
Just for information - 1.2.12 available as wheezy build (on web site download page and at https://www.netxms.org/apt/dists/wheezy/main/ (https://www.netxms.org/apt/dists/wheezy/main/)) and as squeeze build (at https://www.netxms.org/apt/dists/squeeze/main/ (https://www.netxms.org/apt/dists/squeeze/main/)).
When I try install the new builds, I get this message on Debian 7.4 64bit.
root@netxms:~# apt-get install netxms-agent netxms-base netxms-server-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
 netxms-base : Depends: libssl0.9.8 but it is not installable
E: Unable to correct problems, you have held broken packages.
root@netxms:~#
I can't install libssl0.9.8 from the repo, its not there.
R
			
 
			
			
				Quote from: kozlov_ao on February 19, 2014, 09:38:49 PM
Sorry, offtop:
Need to try write a Russian in English forum :)
There can also speak Russian :)
google translate ;)
			
 
			
			
				Google+translate.ru :)
			
			
			
				2 AnRkey:
Google тебе в помощь. По сути: 1.2.12 уже зависит от libssl1.0.0. Сам недавно наткнулся, когда пытался релиз поставить на Debian 6 х64.
			
			
			
				Quote from: AnRkey on February 24, 2014, 10:14:22 AM
Quote from: Victor Kirhenshtein on February 19, 2014, 12:11:57 PM
Just for information - 1.2.12 available as wheezy build (on web site download page and at https://www.netxms.org/apt/dists/wheezy/main/ (https://www.netxms.org/apt/dists/wheezy/main/)) and as squeeze build (at https://www.netxms.org/apt/dists/squeeze/main/ (https://www.netxms.org/apt/dists/squeeze/main/)).
When I try install the new builds, I get this message on Debian 7.4 64bit.
root@netxms:~# apt-get install netxms-agent netxms-base netxms-server-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
 netxms-base : Depends: libssl0.9.8 but it is not installable
E: Unable to correct problems, you have held broken packages.
root@netxms:~#
I can't install libssl0.9.8 from the repo, its not there.
R
Install from package:
https://packages.debian.org/squeeze/libssl0.9.8
			
 
			
			
				Quote from: andrey--k on February 24, 2014, 10:41:42 AM
Quote from: AnRkey on February 24, 2014, 10:14:22 AM
Quote from: Victor Kirhenshtein on February 19, 2014, 12:11:57 PM
Just for information - 1.2.12 available as wheezy build (on web site download page and at https://www.netxms.org/apt/dists/wheezy/main/ (https://www.netxms.org/apt/dists/wheezy/main/)) and as squeeze build (at https://www.netxms.org/apt/dists/squeeze/main/ (https://www.netxms.org/apt/dists/squeeze/main/)).
When I try install the new builds, I get this message on Debian 7.4 64bit.
root@netxms:~# apt-get install netxms-agent netxms-base netxms-server-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
 netxms-base : Depends: libssl0.9.8 but it is not installable
E: Unable to correct problems, you have held broken packages.
root@netxms:~#
I can't install libssl0.9.8 from the repo, its not there.
R
Install from package:
https://packages.debian.org/squeeze/libssl0.9.8
Thanks, I came right by switching the repo to squeeze, installing the lib and then switching the repos back to wheezy before installing netxms. I'm reporting the issue as the netxms packages are not fixed yet.
			
 
			
			
				Спасибо, к следующему релизу приведу в порядок пакеты.
Thanks, I'll fix packages until next release.
			
			
			
				Quote from: Victor Kirhenshtein on February 24, 2014, 11:11:28 AM
Спасибо, к следующему релизу приведу в порядок пакеты.
Thanks, I'll fix packages until next release.
Hi Victor,
I have just tried to install on a new test server and the same issue came up. Your packages require libssl0.9.8 and Debian 7 has no installation candidate for this lib.
Please advise, as we would like to move to a new server that would allow upgrades to take place via apt. The current state of the mirror is not allowing us to do this.
Regards,
R
			
 
			
			
				Hi!
This is strange. This is how control file for netxms-base for Debian 7 looks like:
Package: netxms-base
Version: @version@
Section: net
Priority: optional
Architecture: @arch@
Essential: no
Depends: libssl1.0.0, libexpat1, zlib1g
Maintainer: Victor Kirhenshtein <[email protected]>
Description: NetXMS base libraries
Are you sure you took right deb files?
Best regards,
Victor
			
				Hi Victor,
I used the netxms repo for the installation. Is the repo still being maintained?
The line in my /etc/apt/sources.list is as follows,
# netxms repo
deb https://www.netxms.org/apt squeeze main
I'd like to use the apt repo because updates are then made much easier.
Regards,
R
			
			
			
				Victor, the .debs on the download page also don't fully work with debian 7. Below is the output from my test. (note that I do an apt-get install -f after the dpkg -i for fixing deps)
root@netxms-test:~# dpkg -i netxms-*.deb
Selecting previously unselected package netxms-agent.
(Reading database ... 24620 files and directories currently installed.)
Unpacking netxms-agent (from netxms-agent_1.2.14_amd64.deb) ...
Selecting previously unselected package netxms-base.
Unpacking netxms-base (from netxms-base_1.2.14_amd64.deb) ...
Selecting previously unselected package netxms-server-mysql.
Unpacking netxms-server-mysql (from netxms-server-mysql_1.2.14_amd64.deb) ...
dpkg: dependency problems prevent configuration of netxms-agent:
 netxms-agent depends on libsensors4; however:
  Package libsensors4 is not installed.
 netxms-agent depends on libcurl3; however:
  Package libcurl3 is not installed.
dpkg: error processing netxms-agent (--install):
 dependency problems - leaving unconfigured
Setting up netxms-base (1.2.14) ...
dpkg: dependency problems prevent configuration of netxms-server-mysql:
 netxms-server-mysql depends on netxms-server (= 1.2.14); however:
  Package netxms-server is not installed.
 netxms-server-mysql depends on mysql-client (>= 5.5); however:
  Package mysql-client is not installed.
dpkg: error processing netxms-server-mysql (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 netxms-agent
 netxms-server-mysql
root@netxms-test:~# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libcurl3 libdbd-mysql-perl libdbi-perl libjansson4 libmysqlclient18 libnet-daemon-perl libplrpc-perl
  librtmp0 libsensors4 libssh2-1 mysql-client mysql-client-5.5 mysql-common netxms-server
Suggested packages:
  lm-sensors libterm-readkey-perl
The following NEW packages will be installed:
  libcurl3 libdbd-mysql-perl libdbi-perl libjansson4 libmysqlclient18 libnet-daemon-perl libplrpc-perl
  librtmp0 libsensors4 libssh2-1 mysql-client mysql-client-5.5 mysql-common netxms-server
0 upgraded, 14 newly installed, 0 to remove and 2 not upgraded.
2 not fully installed or removed.
Need to get 11.1 MB of archives.
After this operation, 45.3 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  netxms-server
Install these packages without verification [y/N]? y
Get:1 https://www.netxms.org/apt/ squeeze/main netxms-server amd64 1.2.14 [6,799 kB]
Get:2 http://ftp.uk.debian.org/debian/ wheezy/main libsensors4 amd64 1:3.3.2-2+deb7u1 [55.0 kB]
Get:3 http://security.debian.org/ wheezy/updates/main mysql-common all 5.5.37-0+wheezy1 [83.1 kB]
Get:4 http://ftp.uk.debian.org/debian/ wheezy/main librtmp0 amd64 2.4+20111222.git4e06e21-1 [62.3 kB]
Get:5 http://ftp.uk.debian.org/debian/ wheezy/main libssh2-1 amd64 1.4.2-1.1 [133 kB]
Get:6 http://security.debian.org/ wheezy/updates/main libmysqlclient18 amd64 5.5.37-0+wheezy1 [684 kB]
Get:7 http://ftp.uk.debian.org/debian/ wheezy/main libcurl3 amd64 7.26.0-1+wheezy9 [331 kB]
Get:8 http://ftp.uk.debian.org/debian/ wheezy/main libjansson4 amd64 2.3.1-2 [31.6 kB]
Get:9 http://ftp.uk.debian.org/debian/ wheezy/main libnet-daemon-perl all 0.48-1 [46.2 kB]
Get:10 http://ftp.uk.debian.org/debian/ wheezy/main libplrpc-perl all 0.2020-2 [36.0 kB]
Get:11 http://ftp.uk.debian.org/debian/ wheezy/main libdbi-perl amd64 1.622-1 [898 kB]
Get:12 http://security.debian.org/ wheezy/updates/main mysql-client-5.5 amd64 5.5.37-0+wheezy1 [1,747 kB]
Get:13 http://ftp.uk.debian.org/debian/ wheezy/main libdbd-mysql-perl amd64 4.021-1+b1 [126 kB]
Get:14 http://security.debian.org/ wheezy/updates/main mysql-client all 5.5.37-0+wheezy1 [81.3 kB]
Fetched 11.1 MB in 25s (435 kB/s)
Selecting previously unselected package libsensors4:amd64.
(Reading database ... 24681 files and directories currently installed.)
Unpacking libsensors4:amd64 (from .../libsensors4_1%3a3.3.2-2+deb7u1_amd64.deb) ...
Selecting previously unselected package librtmp0:amd64.
Unpacking librtmp0:amd64 (from .../librtmp0_2.4+20111222.git4e06e21-1_amd64.deb) ...
Selecting previously unselected package libssh2-1:amd64.
Unpacking libssh2-1:amd64 (from .../libssh2-1_1.4.2-1.1_amd64.deb) ...
Selecting previously unselected package libcurl3:amd64.
Unpacking libcurl3:amd64 (from .../libcurl3_7.26.0-1+wheezy9_amd64.deb) ...
Selecting previously unselected package libjansson4:amd64.
Unpacking libjansson4:amd64 (from .../libjansson4_2.3.1-2_amd64.deb) ...
Selecting previously unselected package netxms-server.
Unpacking netxms-server (from .../netxms-server_1.2.14_amd64.deb) ...
Selecting previously unselected package libnet-daemon-perl.
Unpacking libnet-daemon-perl (from .../libnet-daemon-perl_0.48-1_all.deb) ...
Selecting previously unselected package libplrpc-perl.
Unpacking libplrpc-perl (from .../libplrpc-perl_0.2020-2_all.deb) ...
Selecting previously unselected package libdbi-perl.
Unpacking libdbi-perl (from .../libdbi-perl_1.622-1_amd64.deb) ...
Selecting previously unselected package mysql-common.
Unpacking mysql-common (from .../mysql-common_5.5.37-0+wheezy1_all.deb) ...
Selecting previously unselected package libmysqlclient18:amd64.
Unpacking libmysqlclient18:amd64 (from .../libmysqlclient18_5.5.37-0+wheezy1_amd64.deb) ...
Selecting previously unselected package libdbd-mysql-perl.
Unpacking libdbd-mysql-perl (from .../libdbd-mysql-perl_4.021-1+b1_amd64.deb) ...
Selecting previously unselected package mysql-client-5.5.
Unpacking mysql-client-5.5 (from .../mysql-client-5.5_5.5.37-0+wheezy1_amd64.deb) ...
Selecting previously unselected package mysql-client.
Unpacking mysql-client (from .../mysql-client_5.5.37-0+wheezy1_all.deb) ...
Processing triggers for man-db ...
Setting up libsensors4:amd64 (1:3.3.2-2+deb7u1) ...
Setting up librtmp0:amd64 (2.4+20111222.git4e06e21-1) ...
Setting up libssh2-1:amd64 (1.4.2-1.1) ...
Setting up libcurl3:amd64 (7.26.0-1+wheezy9) ...
Setting up netxms-agent (1.2.14) ...
****************************************************
WARNING
Configuration file /etc/nxagentd.conf not found
Please create it and then start agent by running
/etc/init.d/nxagentd start
****************************************************
Setting up libjansson4:amd64 (2.3.1-2) ...
Setting up netxms-server (1.2.14) ...
NetXMS: compiling MIB files
/usr/bin/nxmibc: error while loading shared libraries: libcrypto.so.0.9.8: cannot open shared object file: N                         o such file or directory
****************************************************
WARNING
Configuration file /etc/netxmsd.conf not found
Please create it and then start server by running
/etc/init.d/netxmsd start
****************************************************
Setting up libnet-daemon-perl (0.48-1) ...
Setting up libplrpc-perl (0.2020-2) ...
Setting up libdbi-perl (1.622-1) ...
Setting up mysql-common (5.5.37-0+wheezy1) ...
Setting up libmysqlclient18:amd64 (5.5.37-0+wheezy1) ...
Setting up libdbd-mysql-perl (4.021-1+b1) ...
Setting up mysql-client-5.5 (5.5.37-0+wheezy1) ...
Setting up mysql-client (5.5.37-0+wheezy1) ...
Setting up netxms-server-mysql (1.2.14) ...
			
			
			
				Quote from: AnRkey on May 23, 2014, 11:19:46 AM
I used the netxms repo for the installation. Is the repo still being maintained?
The line in my /etc/apt/sources.list is as follows,
# netxms repo
deb https://www.netxms.org/apt squeeze main
Yes, this repo is maintained, but it' for Debian 6. For Debian 7 please use
deb https://www.netxms.org/apt wheezy main
Best regards,
Victor