LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 05-10-2007, 01:41 PM   #1
talat
Member
 
Registered: Jan 2006
Distribution: Centos
Posts: 145

Rep: Reputation: 16
Question RANCID on Solaris


Hi Guys

Can some body tell me RANCID installation/configuration guide on solaris

Regard
Talat
 
Old 05-10-2007, 02:44 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,781

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
Did you try following the instructions bundled with rancid distribution ?
 
Old 05-10-2007, 03:21 PM   #3
talat
Member
 
Registered: Jan 2006
Distribution: Centos
Posts: 145

Original Poster
Rep: Reputation: 16
Hi jlliagre

No. Although i have installed it before on my Centos box.Just wanted to read the guide first for solaris before trying it.

Regard
Talat
 
Old 05-10-2007, 05:00 PM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,781

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
There doesn't seems a specific guide for Solaris exists, although there are some outdated notes about it on the rancid site.
 
Old 05-10-2007, 05:33 PM   #5
talat
Member
 
Registered: Jan 2006
Distribution: Centos
Posts: 145

Original Poster
Rep: Reputation: 16
Thanks for your replies jlliagre
I will try to install it wish me luck

Regard
Talat
 
Old 05-29-2007, 11:12 PM   #6
talat
Member
 
Registered: Jan 2006
Distribution: Centos
Posts: 145

Original Poster
Rep: Reputation: 16
Unhappy

Hi Guys

I have recently install Solaris 10 for X86 processor.Now i download expect ,CVD,diffutils from sunfreeware website.My first problem is
when is add any package it gave following lines and finally says installation successfull.I am not sure about these lines

NOTE: Waiting for exclusive access to the package database.
NOTE: Waiting for exclusive access to the package database.
NOTE: Waiting for exclusive access to the package database.
NOTE: Waiting for exclusive access to the package database.
NOTE: Waiting for exclusive access to the package database.

My second problem is when i compile rancid it gives me following error

# ./configure --prefix=/usr/local/rancid/
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... no
checking for gmake... no
checking for make... no
configure: error: can't locate a make.


Regard
Talat
 
Old 05-30-2007, 02:03 AM   #7
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,781

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
You need to add /usr/ccs/bin and /usr/sfw/bin to your PATH.
 
Old 05-31-2007, 02:18 PM   #8
talat
Member
 
Registered: Jan 2006
Distribution: Centos
Posts: 145

Original Poster
Rep: Reputation: 16
Hi jlliagre

Many thanks for the reply.Now i am getting another error which is related to expect.Although i have already installed expect packge
expect-5.43.0-sol10-x86-local with pkgadd cmd.Please guide me

checking for perl5... no
checking for perl... /usr/bin/perl
checking for expect... no
configure: error: can't locate expect.



Regard
Talat
 
Old 05-31-2007, 03:06 PM   #9
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,781

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
I guess the expect binary you installed is sitting in /usr/local/bin so you need to add it to your PATH.
 
Old 05-31-2007, 04:00 PM   #10
talat
Member
 
Registered: Jan 2006
Distribution: Centos
Posts: 145

Original Poster
Rep: Reputation: 16
Again Many Thanks jlliagre

Rancid is now successfully installed.Soon i am going to test it with my routers

Again Many Many Thanks for all your support

Regard
Talat
 
Old 06-08-2007, 05:48 PM   #11
talat
Member
 
Registered: Jan 2006
Distribution: Centos
Posts: 145

Original Poster
Rep: Reputation: 16
Question

Hi Guys

I am facing one problem.I have my router in which tacacs is enabled so the config i add in .clonginrc is as follows

add password 192.168.1.1 router_en_password
add user 192.168.1.1 talat
add userpassword 192.168.1.1 talat_password

Now when i run

bash-3.00$ bin/clogin 192.168.1.1
192.168.1.1
spawn telnet 192.168.1.1
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.


User Access Verification

Username: talat
Password:

Router>enable
Password:
% Access denied

Router>
Error: Check your Enable passwd

Router>

What could be the issue.The router en password is correct .Do i need to change my config of .cloginrc

Regard
Talat
 
Old 04-30-2013, 03:23 AM   #12
charliecko
LQ Newbie
 
Registered: Feb 2012
Posts: 2

Rep: Reputation: Disabled
Did you tried to log on to the router without clogin? Is it working well?

Also I will try this to the .clonginrc:

add userpassword 192.168.1.1 talat_password enable_password


Quote:
Originally Posted by talat View Post
Hi Guys

I am facing one problem.I have my router in which tacacs is enabled so the config i add in .clonginrc is as follows

add password 192.168.1.1 router_en_password
add user 192.168.1.1 talat
add userpassword 192.168.1.1 talat_password

Now when i run

bash-3.00$ bin/clogin 192.168.1.1
192.168.1.1
spawn telnet 192.168.1.1
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.


User Access Verification

Username: talat
Password:

Router>enable
Password:
% Access denied

Router>
Error: Check your Enable passwd

Router>

What could be the issue.The router en password is correct .Do i need to change my config of .cloginrc

Regard
Talat
 
Old 04-30-2013, 07:12 AM   #13
charliecko
LQ Newbie
 
Registered: Feb 2012
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by jlliagre View Post
You need to add /usr/ccs/bin and /usr/sfw/bin to your PATH.

I have a similar problem. After start configure application I get following error:
# ./configure --prefix=/home/rancid
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... no
checking for gmake... no
checking for make... no
configure: error: can't locate a make.
#

I also tried add path for make, but this doesn't work for me.

I recently install make package:

# pkgadd -d /export/home/

The following packages are available:
1 make GNU make 3.81 SPARC 64bit Solaris 11
(sparc) 3.81

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: 1

Processing package instance <make> from </export/home/>

GNU make 3.81 SPARC 64bit Solaris 11(sparc) 3.81
GNU

This appears to be an attempt to install the same architecture and
version of a package which is already installed. This installation
will attempt to overwrite this package.

## Executing checkinstall script.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
9 package pathnames are already properly installed.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

Installing GNU make 3.81 SPARC 64bit Solaris 11 as <make>

## Installing part 1 of 1.
[ verifying class <none> ]

Installation of <make> was successful.


But when I would check if is working:

# which make
no make in /usr/sbin /usr/bin /usr/ccs/bin /usr/sfw/bin /usr/ccs/bin /usr/sfw/bin /usr/ccs/bin /usr/local/bin/gmake /usr/ccs/bin /usr/sfw/bin /usr/ccs/bin



Do you have any ideas? I running on:
# uname -a
SunOS danny 5.11 11.1 sun4v sparc sun4v


Thank you for help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Marvell Yukon Driver (SK-9E22) for Solaris (x64) 8.19.1.3 installation procedure in Solaris Express LXer Syndicated Linux News 0 04-22-2007 03:16 AM
LXer: Hp Puts Solaris on More X64 Servers, Partners for Solaris Emulation LXer Syndicated Linux News 0 02-07-2007 07:21 AM
great solaris website for newbies http://solaris-x86.org/ feetyouwell Solaris / OpenSolaris 2 12-06-2006 12:14 AM
LXer: Backing up your network with RANCID LXer Syndicated Linux News 0 07-27-2006 11:33 PM
Windows and FC3 and Solaris---and only Solaris boot error message zillah Linux - Laptop and Netbook 1 07-07-2005 10:17 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 03:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration