Jump to content

Recommended Posts

Posted

Добрый день! Пытаюсь установить комплекс Rancid на Centos 6.6

 

использую мануалы

http://ekskb.blogspot.ru/2015/02/rancidviewvc.html

http://eddnet.org/?p=204

 

но по ним вообще ничего не понятно как поднять все.

Может кто уже устанавливал данное программное обеспечениепод Centos, Дайте ссылку

Posted

посмотрел я инсталляцию на centos6:

# rpm -qa | grep rancid

rancid-3.1-2.el6.x86_64

 

# yum info rancid-3.1-2.el6.x86_64

...

Installed Packages

Name : rancid

Arch : x86_64

Version : 3.1

Release : 2.el6

Size : 1.4 M

Repo : installed

From repo : epel

Summary : Really Awesome New Cisco confIg Differ

URL : http://www.shrubbery.net/rancid/

License : BSD with advertising

Description : RANCID monitors a router's (or more generally a device's) configuration,

: including software and hardware (cards, serial numbers, etc) and uses CVS

: (Concurrent Version System) or Subversion to maintain history of changes.

 

# cat /etc/yum.repos.d/epel.repo

[epel]

name=Extra Packages for Enterprise Linux 6 - $basearch

#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch

mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch

failovermethod=priority

enabled=1

gpgcheck=1

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

 

[epel-debuginfo]

name=Extra Packages for Enterprise Linux 6 - $basearch - Debug

#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug

mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch

failovermethod=priority

enabled=0

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

gpgcheck=1

 

[epel-source]

name=Extra Packages for Enterprise Linux 6 - $basearch - Source

#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS

mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch

failovermethod=priority

enabled=0

gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

gpgcheck=1

 

инициализация cvs:

# history | grep cvs

750 find / | grep rancid-cvs

751 /usr/libexec/rancid/rancid-cvs -h

752 /usr/libexec/rancid/rancid-cvs --help

753 man rancid-cvs

755 su -c /usr/libexec/rancid/rancid-cvs -s /bin/bash -l rancid

 

собственно, "su -c /usr/libexec/rancid/rancid-cvs -s /bin/bash -l rancid"

Posted

добрый день!

rancid я поставил но он у меня зараза не сливает кончики + я к нему хочу web морду прикрутить RANCID+VIEWVC

возникла проблема с автоматическим заполнением баз данных

./cvsdbadmin rebuild /home/rancid/var/CVS/CVSROOT/

Using repository root `/home/rancid/var/CVS'

Traceback (most recent call last):

File "./cvsdbadmin", line 175, in <module>

db = cvsdb.ConnectDatabase(cfg)

File "/usr/local/viewvc-1.1.23/lib/cvsdb.py", line 904, in ConnectDatabase

db.Connect()

File "/usr/local/viewvc-1.1.23/lib/cvsdb.py", line 56, in Connect

self._host, self._port, self._user, self._passwd, self._database)

File "/usr/local/viewvc-1.1.23/lib/dbi.py", line 63, in connect

return MySQLdb.connect(host=host, port=port, user=user, passwd=passwd, db=db)

File "/usr/lib64/python2.6/site-packages/MySQLdb/__init__.py", line 81, in Connect

return Connection(*args, **kwargs)

File "/usr/lib64/python2.6/site-packages/MySQLdb/connections.py", line 187, in __init__

super(Connection, self).__init__(*args, **kwargs2)

_mysql_exceptions.OperationalError: (1045, "Access denied for user 'viewevc_user'@'localhost' (using password: YES)")

 

Иск же хотел спросить можно ли сливать конфиги не по ssh а по telnet?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...