Jump to content

Recommended Posts

Поставил ViPNet Coordinator Linux на Ubuntu 8.04. Исталляция прошла без ошибок, указал файл ключей, вбил пароль, все конфиги создались. Но iplircfg в процессах не появился. mftpd и failoverd в процессах висят.

Попробовал запустить вручную - iplir start, выдает ошибку:

Loading IpLir
Can't access driver

В чем может быть проблема?

Share this post


Link to post
Share on other sites

не 3.7 ли координатор? Лог инсталла в студию, какое ядро. Давай побольше информации.

Share this post


Link to post
Share on other sites

не 3.7 ли координатор? Лог инсталла в студию, какое ядро. Давай побольше информации.

Координатор 3.6.4. Ядро:

/home/ubuntu# uname -r
2.6.24-29-xen

Лог инсталла:

[07:56:41] Started installation process at Fri Jun 29 07:56:41 UTC 2012
[07:56:41] STEP 1: Select ViPNet install distribution
[07:56:44] Selected distribution file: '/var/tmp/distribute/distribute.tar.gz'
[07:56:46] STEP 2: Unpack ViPNet distribution archive
[07:56:47] Unpack '/var/tmp/distribute/distribute.tar.gz' successfull
[07:57:00] STEP 3: Find current ViPNet configuration
[07:57:00] No current ViPNet configuration found
[07:57:00] Selected install type: INSTALL
[07:57:00] STEP 4: Prepare for installation
[07:57:00] Remove services sessions:
[07:57:00] /var/run/iplircfg.session
[07:57:00] /var/run/mftpd.session
[07:57:00] /var/run/watch_app_list
[07:57:00] Check packet filtering method...
[07:57:00] Packet filtering method: NETFILTER
[07:57:00] This script will install
[07:57:00] ViPNet Virtual Private Network (i386/Linux) Product version: 3.6.4 build 1980
[07:57:02] Check Linux distribution support...
[07:57:02] Linux distribution supported
[07:57:02] Check ethtool...
[07:57:02] Found ethtool /usr/sbin/ethtool
[07:57:02] Check GCC version...
[07:57:03] Found GCC 4.2
[07:57:03] STEP 5: Install drivers
[07:57:03] Compiling drivers...
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-29-xen'
CC [M] /tmp/dist1340956606/src/tmp/drvkrniface.o
/tmp/dist1340956606/src/tmp/drvkrniface.c: In function ‘myatomic64_add’:
/tmp/dist1340956606/src/tmp/drvkrniface.c:2595: warning: unused variable ‘prev’
LD [M] /tmp/dist1340956606/src/tmp/drviplir.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/dist1340956606/src/tmp/drviplir.mod.o
LD [M] /tmp/dist1340956606/src/tmp/drviplir.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-29-xen'
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-29-xen'
CC [M] /tmp/dist1340956606/src/tmp/drvkrniface.o
/tmp/dist1340956606/src/tmp/drvkrniface.c: In function ‘myatomic64_add’:
/tmp/dist1340956606/src/tmp/drvkrniface.c:2595: warning: unused variable ‘prev’
LD [M] /tmp/dist1340956606/src/tmp/itcswd.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/dist1340956606/src/tmp/itcswd.mod.o
LD [M] /tmp/dist1340956606/src/tmp/itcswd.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-29-xen'
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-29-xen'
CC [M] /tmp/dist1340956606/src/tmp/drvkrniface.o
/tmp/dist1340956606/src/tmp/drvkrniface.c: In function ‘myatomic64_add’:
/tmp/dist1340956606/src/tmp/drvkrniface.c:2595: warning: unused variable ‘prev’
LD [M] /tmp/dist1340956606/src/tmp/itcscrpt.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/dist1340956606/src/tmp/itcscrpt.mod.o
LD [M] /tmp/dist1340956606/src/tmp/itcscrpt.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-29-xen'
[07:57:08] Drivers compiled
[07:57:08] Install drviplir.ko to /lib/modules/2.6.24-29-xen/misc
[07:57:08] Install itcswd.ko to /lib/modules/2.6.24-29-xen/misc
[07:57:08] Install itcscrpt.ko to /lib/modules/2.6.24-29-xen/misc
[07:57:11] STEP 6: Install applications
[07:57:11] Installing libraries...
[07:57:11] Create directory /usr/lib/vipnet
[07:57:11] Install libaddrbook.so to /usr/lib/vipnet
[07:57:11] Install libaddrbook.so.crg to /usr/lib/vipnet
[07:57:11] Install libaddressbook.so to /usr/lib/vipnet
[07:57:11] Install libaddressbook.so.crg to /usr/lib/vipnet
[07:57:11] Install libaladdin2.so to /usr/lib/vipnet
[07:57:11] Install libaladdin2.so.crg to /usr/lib/vipnet
[07:57:11] Install libasntools.so to /usr/lib/vipnet
[07:57:11] Install libasntools.so.crg to /usr/lib/vipnet
[07:57:11] Install libboost_filesystem-gcc-1_32.so.1.32.0 to /usr/lib/vipnet
[07:57:11] Install libboost_filesystem-gcc-1_32.so.1.32.0.crg to /usr/lib/vipnet
[07:57:11] Install libboost_regex-gcc-1_32.so.1.32.0 to /usr/lib/vipnet
[07:57:11] Install libboost_regex-gcc-1_32.so.1.32.0.crg to /usr/lib/vipnet
[07:57:11] Install libboost_thread-gcc-mt-1_32.so.1.32.0 to /usr/lib/vipnet
[07:57:11] Install libboost_thread-gcc-mt-1_32.so.1.32.0.crg to /usr/lib/vipnet
[07:57:11] Install libcertificate.so to /usr/lib/vipnet
[07:57:11] Install libcertificate.so.crg to /usr/lib/vipnet
[07:57:11] Install libcfgmonitoring.so to /usr/lib/vipnet
[07:57:11] Install libcfgmonitoring.so.crg to /usr/lib/vipnet
[07:57:11] Install libconfig.so to /usr/lib/vipnet
[07:57:11] Install libconfig.so.crg to /usr/lib/vipnet
[07:57:11] Install libconfsave.so to /usr/lib/vipnet
[07:57:11] Install libconfsave.so.crg to /usr/lib/vipnet
[07:57:11] Install libcrptapi.so to /usr/lib/vipnet
[07:57:11] Install libcrptapi.so.crg to /usr/lib/vipnet
[07:57:11] Install libcryptapi.so to /usr/lib/vipnet
[07:57:11] Install libcryptapi.so.crg to /usr/lib/vipnet
[07:57:11] Install libc.so.6 to /usr/lib/vipnet
[07:57:11] Install libc.so.6.crg to /usr/lib/vipnet
[07:57:11] Install libdbfile.so to /usr/lib/vipnet
[07:57:11] Install libdbfile.so.crg to /usr/lib/vipnet
[07:57:11] Install libdebug.so to /usr/lib/vipnet
[07:57:11] Install libdebug.so.crg to /usr/lib/vipnet
[07:57:11] Install libdl.so.2 to /usr/lib/vipnet
[07:57:11] Install libdl.so.2.crg to /usr/lib/vipnet
[07:57:11] Install libdrvapi.so to /usr/lib/vipnet
[07:57:11] Install libdrvapi.so.crg to /usr/lib/vipnet
[07:57:11] Install libfwrule_base.so to /usr/lib/vipnet
[07:57:11] Install libfwrule_base.so.crg to /usr/lib/vipnet
[07:57:11] Install libfwrules.so to /usr/lib/vipnet
[07:57:11] Install libfwrules.so.crg to /usr/lib/vipnet
[07:57:11] Install libfwxml.so to /usr/lib/vipnet
[07:57:11] Install libfwxml.so.crg to /usr/lib/vipnet
[07:57:11] Install libgcc_s.so.1 to /usr/lib/vipnet
[07:57:11] Install libgcc_s.so.1.crg to /usr/lib/vipnet
[07:57:11] Install libgpm.so.1 to /usr/lib/vipnet
[07:57:11] Install libgpm.so.1.crg to /usr/lib/vipnet
[07:57:11] Install libicmp.so to /usr/lib/vipnet
[07:57:11] Install libicmp.so.crg to /usr/lib/vipnet
[07:57:11] Install libidents.so to /usr/lib/vipnet
[07:57:11] Install libidents.so.crg to /usr/lib/vipnet
[07:57:11] Install libipc.so to /usr/lib/vipnet
[07:57:11] Install libipc.so.crg to /usr/lib/vipnet
[07:57:11] Install libitccspex.so to /usr/lib/vipnet
[07:57:11] Install libitccspex.so.crg to /usr/lib/vipnet
[07:57:11] Install libitcscapi.so to /usr/lib/vipnet
[07:57:11] Install libitcscapi.so.crg to /usr/lib/vipnet
[07:57:11] Install libitcupd.so to /usr/lib/vipnet
[07:57:11] Install libitcupd.so.crg to /usr/lib/vipnet
[07:57:11] Install liblicsys.so to /usr/lib/vipnet
[07:57:11] Install liblicsys.so.crg to /usr/lib/vipnet
[07:57:11] Install liblogdisp.so to /usr/lib/vipnet
[07:57:11] Install liblogdisp.so.crg to /usr/lib/vipnet
[07:57:11] Install libmailtrans.so to /usr/lib/vipnet
[07:57:11] Install libmailtrans.so.crg to /usr/lib/vipnet
[07:57:11] Install libmd5.so to /usr/lib/vipnet
[07:57:11] Install libmd5.so.crg to /usr/lib/vipnet
[07:57:11] Install libmonitoring.so to /usr/lib/vipnet
[07:57:11] Install libmonitoring.so.crg to /usr/lib/vipnet
[07:57:11] Install libm.so.6 to /usr/lib/vipnet
[07:57:11] Install libm.so.6.crg to /usr/lib/vipnet
[07:57:11] Install libncurses.so.5 to /usr/lib/vipnet
[07:57:11] Install libncurses.so.5.crg to /usr/lib/vipnet
[07:57:11] Install libnettools.so to /usr/lib/vipnet
[07:57:11] Install libnettools.so.crg to /usr/lib/vipnet
[07:57:11] Install libnss_dns.so.2 to /usr/lib/vipnet
[07:57:11] Install libnss_dns.so.2.crg to /usr/lib/vipnet
[07:57:11] Install libnss_files.so.2 to /usr/lib/vipnet
[07:57:11] Install libnss_files.so.2.crg to /usr/lib/vipnet
[07:57:11] Install libpacketdb.so to /usr/lib/vipnet
[07:57:11] Install libpacketdb.so.crg to /usr/lib/vipnet
[07:57:11] Install libpasswd.so to /usr/lib/vipnet
[07:57:11] Install libpasswd.so.crg to /usr/lib/vipnet
[07:57:11] Install libpthread.so.0 to /usr/lib/vipnet
[07:57:11] Install libpthread.so.0.crg to /usr/lib/vipnet
[07:57:11] Install libpwdgen.so to /usr/lib/vipnet
[07:57:11] Install libpwdgen.so.crg to /usr/lib/vipnet
[07:57:11] Install librefupd.so to /usr/lib/vipnet
[07:57:11] Install librefupd.so.crg to /usr/lib/vipnet
[07:57:11] Install libresolv.so.2 to /usr/lib/vipnet
[07:57:11] Install libresolv.so.2.crg to /usr/lib/vipnet
[07:57:11] Install libroulett2.so to /usr/lib/vipnet
[07:57:11] Install libroulett2.so.crg to /usr/lib/vipnet
[07:57:11] Install librt.so.1 to /usr/lib/vipnet
[07:57:11] Install librt.so.1.crg to /usr/lib/vipnet
[07:57:11] Install libsqlite3.so.0 to /usr/lib/vipnet
[07:57:11] Install libsqlite3.so.0.crg to /usr/lib/vipnet
[07:57:11] Install libstdc++.so.5 to /usr/lib/vipnet
[07:57:11] Install libstdc++.so.5.crg to /usr/lib/vipnet
[07:57:11] Install libstoredev.so to /usr/lib/vipnet
[07:57:11] Install libstoredev.so.crg to /usr/lib/vipnet
[07:57:11] Install libstructfiles.so to /usr/lib/vipnet
[07:57:11] Install libstructfiles.so.crg to /usr/lib/vipnet
[07:57:11] Install libtools.so to /usr/lib/vipnet
[07:57:11] Install libtools.so.crg to /usr/lib/vipnet
[07:57:11] Install libtoolsunix.so to /usr/lib/vipnet
[07:57:11] Install libtoolsunix.so.crg to /usr/lib/vipnet
[07:57:11] Install libudbtools.so to /usr/lib/vipnet
[07:57:11] Install libudbtools.so.crg to /usr/lib/vipnet
[07:57:11] Install libunixmail.so to /usr/lib/vipnet
[07:57:11] Install libunixmail.so.crg to /usr/lib/vipnet
[07:57:11] Install libupgrade.so to /usr/lib/vipnet
[07:57:11] Install libupgrade.so.crg to /usr/lib/vipnet
[07:57:11] Install libUserdrvlib.so to /usr/lib/vipnet
[07:57:11] Install libUserdrvlib.so.crg to /usr/lib/vipnet
[07:57:11] Install libvipnetcsp.so to /usr/lib/vipnet
[07:57:11] Install libvipnetcsp.so.crg to /usr/lib/vipnet
[07:57:11] Install libwatcher.so to /usr/lib/vipnet
[07:57:11] Install libwatcher.so.crg to /usr/lib/vipnet
[07:57:11] Install libxerces-c.so.26 to /usr/lib/vipnet
[07:57:11] Install libxerces-c.so.26.crg to /usr/lib/vipnet
[07:57:11] Install loader to /usr/lib/vipnet
[07:57:11] Install loader.crg to /usr/lib/vipnet
[07:57:11] Installing applications ...
[07:57:11] Install iplircfg to /sbin
[07:57:11] Install dbviewer to /sbin
[07:57:11] Install iplir_remote_info to /sbin
[07:57:11] Install failoverd to /sbin
[07:57:11] Install unmerge to /sbin
[07:57:11] Install fetchmail to /sbin
[07:57:11] Install iplirpasswd to /sbin
[07:57:11] Install mftpd to /sbin
[07:57:11] Install mailtrans to /sbin
[07:57:11] Install mftp_remote_info to /sbin
[07:57:11] Install iplir-config-manager to /sbin
[07:57:11] Install failover_info to /sbin
[07:57:11] Install iplir_monitoring_export to /sbin
[07:57:11] Install monitoringcfg to /sbin
[07:57:11] Install iplircfg.crg to /sbin
[07:57:11] Install dbviewer.crg to /sbin
[07:57:11] Install iplir_remote_info.crg to /sbin
[07:57:11] Install failoverd.crg to /sbin
[07:57:11] Install unmerge.crg to /sbin
[07:57:11] Install fetchmail.crg to /sbin
[07:57:11] Install iplirpasswd.crg to /sbin
[07:57:11] Install mftpd.crg to /sbin
[07:57:11] Install mailtrans.crg to /sbin
[07:57:11] Install mftp_remote_info.crg to /sbin
[07:57:11] Install iplir-config-manager.crg to /sbin
[07:57:11] Install failover_info.crg to /sbin
[07:57:11] Install iplir_monitoring_export.crg to /sbin
[07:57:11] Install monitoringcfg.crg to /sbin
[07:57:11] Install lha to /usr/bin
[07:57:11] Install lha.crg to /usr/bin
[07:57:11] Install iplir to /sbin
[07:57:11] Install vipmod to /sbin
[07:57:11] Install failover to /sbin
[07:57:11] Install mftp to /sbin
[07:57:11] Install rmiplir to /sbin
[07:57:11] Install change_route.sh to /sbin
[07:57:11] Create symlink /etc/init.d/vipmod -> /sbin/vipmod
[07:57:11] Create symlink /etc/init.d/failover -> /sbin/failover
[07:57:11] Create symlink /etc/init.d/iplir -> /sbin/iplir
[07:57:11] Create symlink /etc/init.d/mftp -> /sbin/mftp
[07:57:11] Install iplirprg to /etc
[07:57:11] Install vipnet to /etc/logrotate.d
[07:57:11] Install iplirprg.crg to /etc
[07:57:11] Install iplirpsw to /etc
[07:57:11] Install iplirnetpsw to /etc
[07:57:11] Install failover.ini to /etc
[07:57:11] Install iplir.serv to /etc
[07:57:11] Configuring startup scripts ...
[07:57:11] System V boot concept is used by default
[07:57:12] Create symlink /etc/rc0.d/K89vipmod -> /etc/init.d/vipmod
[07:57:12] Create symlink /etc/rc0.d/K87failover -> /etc/init.d/failover
[07:57:12] Create symlink /etc/rc1.d/K89vipmod -> /etc/init.d/vipmod
[07:57:12] Create symlink /etc/rc1.d/K87failover -> /etc/init.d/failover
[07:57:12] Create symlink /etc/rc6.d/K89vipmod -> /etc/init.d/vipmod
[07:57:12] Create symlink /etc/rc6.d/K87failover -> /etc/init.d/failover
[07:57:12] Create symlink /etc/rc2.d/S11vipmod -> /etc/init.d/vipmod
[07:57:12] Create symlink /etc/rc2.d/S14failover -> /etc/init.d/failover
[07:57:12] Create symlink /etc/rc3.d/S11vipmod -> /etc/init.d/vipmod
[07:57:12] Create symlink /etc/rc3.d/S14failover -> /etc/init.d/failover
[07:57:12] Create symlink /etc/rc4.d/S11vipmod -> /etc/init.d/vipmod
[07:57:12] Create symlink /etc/rc4.d/S14failover -> /etc/init.d/failover
[07:57:12] Create symlink /etc/rc5.d/S11vipmod -> /etc/init.d/vipmod
[07:57:12] Create symlink /etc/rc5.d/S14failover -> /etc/init.d/failover
[07:57:12] Create directory /var/spool/vipnet
[07:57:12] STEP 7: Save startup configuration
[07:57:12] Create /etc/iplirSKnums
[07:57:12] STEP 8: Select ViPNet configuration file (*.DST)
[07:57:51] Selected configuration file: '/var/tmp/distribute/abn_000b.dst'
[07:57:51] STEP 9: Select directory to install ViPNet configuration
[07:57:53] Selected configuration directory: '/etc/vipnet'
[07:57:53] Create configuration directory '/etc/vipnet'
[07:57:53] Install configuration to '/etc/vipnet'
[07:57:53] STEP 10: Abonent authentication
[07:58:03] Password correct
[07:58:03] Save password to '/etc/iplirpsw'
[07:58:05] Need 0 bytes of free space for additional size of packets databases
[07:58:05] Have 6953872 bytes of free space available
[07:58:05] Got enough free space for additional size of packets databases: 0 bytes
[07:58:15] Start ViPNet services
[07:58:15] Installation completed.

Share this post


Link to post
Share on other sites

Инсталл впорядке...

есть ли iplicfg.debug.log? он в /var/log

Share this post


Link to post
Share on other sites

Что выводят dmesg и syslog насчет драйвера iplir после перезагрузки?

Share this post


Link to post
Share on other sites

Если кому-то интересно или будет полезно, то через 2 месяца я все-таки разобрался с проблемой.

Оказывается VipNet не ставится на оси с некоторыми виртуальными ядрами. В частности на ec2 (используется в облаке amazon) и на xen в неполной виртуализации. На hiper-v и xen в полной виртуализации ставится ннормально, проверено лично.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using this site, you agree to our Terms of Use.