[Rijeseno] Munin i CentOS 6.3

Linux, poslužitelj, mreže i sigurnost

Moderator/ica: Moderatori/ce

Avatar
drade
Postovi: 910
Pridružen/a: 12 svi 2010, 07:57
OS: linux

Re: Munin i CentOS 6.3

Post Postao/la drade »

Ovaj je problem nastao zbog micanja python-paramiko paketa.

Napravi sljedece:

Kod: Označi sve

rpm -ivh http://pkgs.repoforge.org/python-paramiko/python-paramiko-1.7.6-1.el6.rfx.noarch.rpm
When you're a kid and you wanna go "Weee !", but you ain't got drugs yet ... You hold out for your life, hold on to your little GONADS ... and STRIFE.
Avatar
redtux
Postovi: 84
Pridružen/a: 03 stu 2012, 23:02
Spol: M
OS: CentOS 6.3

Re: Munin i CentOS 6.3

Post Postao/la redtux »

rpm -ivh http://pkgs.repoforge.org/python-parami ... noarch.rpm
Retrieving http://pkgs.repoforge.org/python-parami ... noarch.rpm
/usr/bin/curl: error while loading shared libraries: libssh2.so.1: cannot open shared object file: No such file or directory
error: skipping http://pkgs.repoforge.org/python-parami ... noarch.rpm - transfer failed
Avatar
drade
Postovi: 910
Pridružen/a: 12 svi 2010, 07:57
OS: linux

Re: Munin i CentOS 6.3

Post Postao/la drade »

Ok, fali i libssh2, napravi sljedece:

Kod: Označi sve

rpm -ivh ftp://ftp.ntua.gr/pub/linux/scientificlinux/6.3/i386/os/Packages/libssh2-1.2.2-7.el6_2.3.i686.rpm
When you're a kid and you wanna go "Weee !", but you ain't got drugs yet ... You hold out for your life, hold on to your little GONADS ... and STRIFE.
Avatar
redtux
Postovi: 84
Pridružen/a: 03 stu 2012, 23:02
Spol: M
OS: CentOS 6.3

Re: Munin i CentOS 6.3

Post Postao/la redtux »

Kod: Označi sve

rpm -ivh ftp://ftp.ntua.gr/pub/linux/scientificlinux/6.3/i386/os/Packages/libssh2-1.2.2-7.el6_2.3.i686.rpm
Retrieving ftp://ftp.ntua.gr/pub/linux/scientificlinux/6.3/i386/os/Packages/libssh2-1.2.2-7.el6_2.3.i686.rpm
/usr/bin/curl: error while loading shared libraries: libssh2.so.1: cannot open shared object file: No such file or directory
error: skipping ftp://ftp.ntua.gr/pub/linux/scientificlinux/6.3/i386/os/Packages/libssh2-1.2.2-7.el6_2.3.i686.rpm - transfer failed
isto mi javlja kad hocu napraviti yum update i yum install nekipaket.
Avatar
drade
Postovi: 910
Pridružen/a: 12 svi 2010, 07:57
OS: linux

Re: Munin i CentOS 6.3

Post Postao/la drade »

Ajde pokusaj isto, samo malo izmijeni naredbu:

Kod: Označi sve

rpm -ivh --force --nodeps ftp://ftp.ntua.gr/pub/linux/scientificlinux/6.3/i386/os/Packages/libssh2-1.2.2-7.el6_2.3.i686.rpm
When you're a kid and you wanna go "Weee !", but you ain't got drugs yet ... You hold out for your life, hold on to your little GONADS ... and STRIFE.
Netko
Postovi: 290
Pridružen/a: 13 ožu 2012, 20:14

Re: Munin i CentOS 6.3

Post Postao/la Netko »

drade, cini mi se da nece to tako ic.. Izgleda da rpm tako poziva curl koji zavisi o libssh2...

@redtux
probaj
wget ftp://ftp.ntua.gr/pub/linux/scientificl ... 3.i686.rpm
pa onda
rpm -ivh libssh2-1.2.2-7.el6_2.3.i686.rpm
Avatar
redtux
Postovi: 84
Pridružen/a: 03 stu 2012, 23:02
Spol: M
OS: CentOS 6.3

Re: Munin i CentOS 6.3

Post Postao/la redtux »

Ok, napravio sam ovo na nacin da sam rucno skinuo prm paket pa ga prebacio ftpom na server i izvrsio -ivh.

Proradio je yum update.

Kod: Označi sve

yum update
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
 * Webmin: webmin.mirror.somersettechsolutions.co.uk
 * base: mirror.centos.com.ba
 * epel: mirror.nl.leaseweb.net
 * extras: mirror.centos.com.ba
 * remi: remirpm.mirror.gymkl.ch
 * rpmforge: mirror1.hs-esslingen.de
 * updates: mirror.centos.com.ba
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package libssh2.i686 0:1.2.2-7.el6_2.3 will be updated
---> Package libssh2.i386 0:1.2.9-1.el5.rf will be an update
---> Package python-paramiko.noarch 0:1.7.5-2.1.el6 will be updated
---> Package python-paramiko.noarch 0:1.7.6-1.el5.rf will be an update
--> Processing Dependency: python(abi) = 2.4 for package: python-paramiko-1.7.6-1.el5.rf.noarch
--> Finished Dependency Resolution
Error: Package: python-paramiko-1.7.6-1.el5.rf.noarch (rpmforge)
           Requires: python(abi) = 2.4
           Installed: python-2.6.6-29.el6_3.3.i686 (@updates)
               python(abi) = 2.6
           Available: python-2.6.6-29.el6_2.2.i686 (base)
               python(abi) = 2.6
 You could try using --skip-broken to work around the problem
** Found 8 pre-existing rpmdb problem(s), 'yum check' output follows:
1:cups-1.4.2-48.el6_3.3.i686 has missing requires of portreserve
ntp-4.2.4p8-2.el6.centos.i686 has missing requires of libedit.so.0
openssh-clients-5.3p1-81.el6_3.i686 has missing requires of libedit.so.0
perl-ExtUtils-MakeMaker-6.55-127.el6.i686 has missing requires of perl(Test::Harness)
php-cli-5.3.19-1.el6.remi.i686 has missing requires of libedit.so.0
python-2.6.6-29.el6_3.3.i686 has missing requires of libffi.so.5
redhat-lsb-4.0-3.el6.centos.i686 has missing requires of perl-Test-Simple
redhat-lsb-4.0-3.el6.centos.i686 has missing requires of perl-Test-Harness

Avatar
drade
Postovi: 910
Pridružen/a: 12 svi 2010, 07:57
OS: linux

Re: Munin i CentOS 6.3

Post Postao/la drade »

Netko je napisao/la:drade, cini mi se da nece to tako ic.. Izgleda da rpm tako poziva curl koji zavisi o libssh2...

@redtux
probaj
wget ftp://ftp.ntua.gr/pub/linux/scientificl ... 3.i686.rpm
pa onda
rpm -ivh libssh2-1.2.2-7.el6_2.3.i686.rpm
@ redtux

Ima rjesenje, napravi sljedece:

Kod: Označi sve

mkdir /usr/src/Software && cd /usr/src/Software
wget ftp://ftp.ntua.gr/pub/linux/scientificlinux/6.3/i386/os/Packages/libssh2-1.2.2-7.el6_2.3.i686.rpm
rpm2cpio libssh2-1.2.2-7.el6_2.3.i686.rpm | cpio -idmv
cp -av ./usr /
EDIt:
Ok, proradio update:
Sada odi na onaj zadnji snippet koda od prije par postova:

Kod: Označi sve

yum install htop libedit libffi libssh2 nagios-plugins-setuid perl-Test-Harness perl-Test-Simple phpmyadmin portreserve
Zadnja izmjena: drade, dana/u 24 stu 2012, 19:16, ukupno mijenjano 1 put.
When you're a kid and you wanna go "Weee !", but you ain't got drugs yet ... You hold out for your life, hold on to your little GONADS ... and STRIFE.
Avatar
redtux
Postovi: 84
Pridružen/a: 03 stu 2012, 23:02
Spol: M
OS: CentOS 6.3

Re: Munin i CentOS 6.3

Post Postao/la redtux »

Kada pokusam izvrsiti naredbu prije ovog problema, dobim:

Kod: Označi sve

[b]rpm -ivh http://pkgs.repoforge.org/python-paramiko/python-paramiko-1.7.6-1.el6.rfx.noarch.rpm[/b]
Retrieving http://pkgs.repoforge.org/python-paramiko/python-paramiko-1.7.6-1.el6.rfx.noarch.rpm
Preparing...                ########################################### [100%]
        file /usr/lib/python2.6/site-packages/paramiko/__init__.py from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/__init__.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/agent.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/auth_handler.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/ber.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/buffered_pipe.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/channel.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/client.py from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/client.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/common.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/compress.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/config.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/dsskey.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/file.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/hostkeys.py from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/hostkeys.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/kex_gex.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/kex_group1.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/logging22.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/message.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/packet.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/pipe.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/pkey.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/primes.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/resource.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/rng.py from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/rng.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/rng_posix.py from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/rng_posix.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/rng_win32.py from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/rng_win32.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/rsakey.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/server.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/sftp.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/sftp_attr.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/sftp_client.py from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/sftp_client.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/sftp_file.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/sftp_handle.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/sftp_server.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/sftp_si.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/ssh_exception.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/transport.py from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/transport.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/util.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
        file /usr/lib/python2.6/site-packages/paramiko/win_pageant.pyc from install of python-paramiko-1.7.6-1.el6.rfx.noarch conflicts with file from package python-paramiko-1.7.5-2.1.el6.noarch
Avatar
drade
Postovi: 910
Pridružen/a: 12 svi 2010, 07:57
OS: linux

Re: Munin i CentOS 6.3

Post Postao/la drade »

Mozes removati onaj python-paramiko paket:

Kod: Označi sve

rpm -e python-paramiko
yum install python-paramiko
When you're a kid and you wanna go "Weee !", but you ain't got drugs yet ... You hold out for your life, hold on to your little GONADS ... and STRIFE.
Odgovori