01-20-2003
okay, the issues seems to have been an incorrect ACL entry that debared access.
now /var/log/messages has being filled with information from the firewall.
however, one issue still remains, the logs are all being sent to /var/log/messages and not the other locations.
i did the following to allow the logs to be directed to other files. in my /etc/syslog.conf file i have this entry:
# external hosts (router and firewall)
!router
local7.* /var/log/router-logs
local7.alert /var/log/router-logs
local7.crit /var/log/router-logs
local7.debug /var/log/router-logs
local7.emerg /var/log/router-logs
local7.err /var/log/router-logs
local7.info /var/log/router-logs
local7.notice /var/log/router-logs
local7.warn /var/log/router-logs
i made the files ahead of time by doing a "touch router-logs"
i've scoured the man pages which are a really poor source for this information because they don't tell me how to do what i want to do here. your link about the solaris system was somewhat better, and i found something on cisco's site.
i really don't think what i've done is right because the file isn't being populated by anything.
Last edited by xyyz; 01-20-2003 at 05:23 AM..
10 More Discussions You Might Find Interesting
1. Linux
Hi,
I have a cisco router router and a linux box. I would like to know how to configure both the device so that everything that passes through my router gets logged in the linux box.
Also I am very much new in cisco router. Is it ok to post such question in this forum, or i need to post it... (4 Replies)
Discussion started by: RajaRC
4 Replies
2. Shell Programming and Scripting
Hi,
I have automated a build process that does the following activities.
1. check out code from cvs to a specific directory
2. build the revision checked out with 'ANT'
3. integrate the compiled code with the QA/UAT or new environment
(/apps/QA or /apps/UAT or /apps/new directory)
I... (1 Reply)
Discussion started by: yoi2hot4ya
1 Replies
3. Shell Programming and Scripting
Hi guys,
Been sifting through these forums for awhile, but never had an account or needed to post. Shoutouts to a great forum with heaps of useful info.
Now i consider myself a noob when it comes to linux and to bash scripting. I recently started to learn to use Vmware ESX server which uses... (4 Replies)
Discussion started by: ryath
4 Replies
4. Shell Programming and Scripting
Here is a snippet of code that work for me:
expect "abc" {send_log "abc found" } \
"def" {send_log "def found" } \
"123" {send_log "123 found}
however the following does not and according to the book "Exploring Expect" it should be equivalent:
expect { "abc"... (1 Reply)
Discussion started by: twk
1 Replies
5. Emergency UNIX and Linux Support
We are using the solaris server and if i am using rm -rf to delete the directories its asking the confirmation for each and every file inside the directory.Is there any way to disable ( should not ask the confirmation) only for a particular session? (12 Replies)
Discussion started by: sureshbabuc
12 Replies
6. Shell Programming and Scripting
#!/bin/bash
glist=`cat /etc/group | cut -d ":" -f1,4`
ulist=`cat /etc/passwd | cut -d ":" -f1,6`
for i in $glist
do
echo "$glist"
done
for i in $ulist
do
echo "$ulist"
done
chkgrp=`cat /etc/group | cut -d ":" -f1`
for a in chkgrp
do (4 Replies)
Discussion started by: mduduzi
4 Replies
7. UNIX for Advanced & Expert Users
Hello,
I am using Ubuntu Linux and having problems in setting up remote syslogging. Appreciate your help on this.
On the server unix host, I have made following changes.
uncommented following lines in /etc/rsyslog.conf
$ModLoad imudp
$UDPServerRun 514
Now i am trying to run rsyslog in... (0 Replies)
Discussion started by: ravi.videla
0 Replies
8. Shell Programming and Scripting
Hi,
I do have a very simple task to divide 2 variables and display the result.
I CANNOT use bc
when i try
var1=2
var2=4
var3=$(($var1 / $var2))
echo $var3
the output is always 0
What can I change to get a dotted decimal result such as 0.5 ?
Thanks! (5 Replies)
Discussion started by: svetoslav_sj
5 Replies
9. Shell Programming and Scripting
I am converting English letters/words/punctuation in leet speak. My current script works just fine, but when I call the functions it seem to be bypassing my second function altogether. I am new to shell scripting so excuse me if its an easy fix.
Also, when using SED for whole word phrases like... (4 Replies)
Discussion started by: bri09
4 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I'm having some problems with sendmail in Linux. The thing is when I type the following command to send an e-mail:
sendmail bartoszk@companydomain.pl< test.txt
it looks like it executed but I don't receive the mail. The file test.txt looks like that:
To:... (3 Replies)
Discussion started by: bartoszk
3 Replies
LEARN ABOUT REDHAT
ospf6d
OSPF6D(8) Version 0.88 OSPF6D(8)
NAME
ospf6d - an OSPF routing engine for use with Zebra and IPv6
SYNOPSIS
ospf6d [ -dhv ] [ -f config-file ] [ -i pid-file ] [ -P port-number ]
DESCRIPTION
ospf6d is a routing component that works with the zebra routing engine. ospf6d.
OPTIONS
-d, --daemon
Runs in daemon mode, forking and exiting from tty.
-f, --config-file config-file
Specifies the config file to use for startup. If not specified this option will likely default to /usr/local/etc/ospf6d.conf.
-h, --help
A brief message.
-i, --pid_file pid-file
When ospf6d starts its process idenifier is written to pid-file. The init system uses the recorded PID to stop or restart ospf6d.
The likely default is /var/run/ospf6d.pid.
-P, --vty_port port-number
Specify the port that the ospf6d VTY will listen on. This defaults to 2606, as specified in /etc/services.
-v, --version
Print the version and exit.
COMMANDS
router ospf6
router zebra -- (Move routes into kernel table)
network [NETWORK] area [OSPF6-AREA-ID]
no network [NETWORK]
show ip ospf6 interface
show ip ospf6 neighbor
show ip ospf6 database
show ip ospf6 route
debug ospf6 ism
debug ospf6 packet
debug ospf6 nsm
FILES
/usr/local/sbin/ospf6d
The default location of the ospf6d binary.
/usr/local/etc/ospf6d.conf
The default location of the ospf6d config file.
$(PWD)/ospf6d.log
If the ospf6d process is config'd to output logs to a file, then you will find this file in the directory where you started ospf6d.
WARNING
This man page is intended as a quick reference for command line options, and for config file commands. The definitive document is the Info
file zebra.
DIAGNOSTICS
The ospf6d process may log to standard output, to a VTY, to a log file, or through syslog to the system logs. ospf6d supports many debug-
ging options, see the Info file, or the source for details.
SEE ALSO
References to other related man pages:
ripd(8), ripngd(8), ospfd(8), bgpd(8), zebra(8), vtysh(1)
BUGS
ospf6d eats bugs for breakfast. If you have food for the maintainers try <bug-zebra@gnu.org>
AUTHOR
[S]
See <www.zebra.org>, or the Info file for an accurate list of authors.
Zebra Beast - OSPF6D July 2000 OSPF6D(8)