10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello ,
I have three files :
sampleoutput1.txt has columns (in the following order) : hostname ; available patches , available packages
sampleoutput2.txt has columns (in the following order) : hostname ; patchwave ; BSID ; Application
sampleoutput3.txt has columns (in the following... (10 Replies)
Discussion started by: rahul2662
10 Replies
2. Solaris
I am trying to configure central syslog server
On hostA, in /etc/syslog.conf file,I am adding below line*.err;kern.debug;daemon.notice;mail.crit @hostB
then I am restarting syslog servicesvcadm restart /system/system-log
In hostA, I have already added hostB entry in /etc/hosts... (5 Replies)
Discussion started by: amity
5 Replies
3. Solaris
Hi,
i am facing issue while installing weblogic on solaris..its giving me invalid argument error. solaris is intstalled on my VM.
uname -a
SunOS Vishal 5.10 Generic_137138-09 i86pc i386 i86pc
screenshot attached. (5 Replies)
Discussion started by: Vishal Baghla
5 Replies
4. Infrastructure Monitoring
Hi,
I have installed Nagios on Redhat Linux,
I have installed Nagios+Plugins+NRPE on Server A (Host Server) and Nagios Plugins + nrpe on remote linux server (red hat linux)
run the command on remote linux host, it returns nrpe version
usr/local/nagios/libexec/check_nrpe -H localhost
... (1 Reply)
Discussion started by: manoj.solaris
1 Replies
5. Shell Programming and Scripting
Hi,
I have a logrotate configuration which rotates a log every night 1 min before midnight, but somehow its not working and unfortunately not showing any error message as well. Sharing the code for the cron job as well as the conf file, I am using, if some one coule help me..whats wrong with... (2 Replies)
Discussion started by: Neeryan
2 Replies
6. Infrastructure Monitoring
HI,
I am facing these two errors while configuring snmp can any body guide me.
vi /var/log/snmpd.log
Error opening specified endpoint "udp:161"
Server Exiting with code 1
i also tried
bash-3.00# netstat -a | grep snm
*.snmpd Idle
bash-3.00# lsof -i :161
bash: lsof: command not... (2 Replies)
Discussion started by: nir1785
2 Replies
7. Shell Programming and Scripting
I have written a bash script which opens a folder, reads all the *.xml files in it, and pulls the required data that i need from XML tags.
I am using xsltproc (my xsl name) (my xml folder location/*.xml) and running this in a for each loop
The problem is that some XML files are having special... (3 Replies)
Discussion started by: shivashankar.g
3 Replies
8. Ubuntu
Hi Friends,
I have installed Ubuntu in win xp system with the help of Vmware workstation.Can anyone tell me how to configure network in Ubuntu.I mean how to connect it to Internet.
Thanks in advance,
Eajaz. (2 Replies)
Discussion started by: ajazshariff
2 Replies
9. Solaris
Hello,
I was trying to assign IP or Hostname to the system, but when I open any of the files:
/etc/hosts
/etc/inet/ipnodes
the files open in read-only mode. Thus, I can't edit it. I am doing this under root. What is the problem and how to get rid? Any suggestion? (8 Replies)
Discussion started by: naw_deepak
8 Replies
10. HP-UX
Dear All,
I am facing an issue related to cronjob and explained below is the case study:
1. I have a java class named "DmCheckRenditionQueue.java" and placed under "/cpc/documentum/product/5.2.5/tomcat/webapps/rendition"
2. When I am using the command
"/usr/openv/java/jre/bin/java -cp... (1 Reply)
Discussion started by: parindam
1 Replies
ifup(8) ifup(8)
NAME
ifup - bring a network interface up
ifdown - take a network interface down
SYNOPSIS
ifup [-nv] [--no-act] [--verbose] [-i FILE|--interfaces=FILE] [--allow CLASS] -a|IFACE...
ifup -h|--help
ifup -V|--version
ifdown [-nv] [--no-act] [--verbose] [-i FILE|--interfaces=FILE] [--allow CLASS] -a|IFACE...
DESCRIPTION
The ifup and ifdown commands may be used to configure (or, respectively, deconfigure) network interfaces based on interface definitions in
the file /etc/network/interfaces.
OPTIONS
A summary of options is included below.
-a, --all
If given to ifup, affect all interfaces marked auto. Interfaces are brought up in the order in which they are defined in /etc/net-
work/interfaces. If given to ifdown, affect all defined interfaces. Interfaces are brought down in the order in which they are
currently listed in the state file. Only interfaces defined in /etc/network/interfaces will be brought down.
--force
Force configuration or deconfiguration of the interface.
-h, --help
Show summary of options.
--allow=CLASS
Only allow interfaces listed in an allow-CLASS line in /etc/network/interfaces to be acted upon.
-i FILE, --interfaces=FILE
Read interface definitions from FILE instead of from /etc/network/interfaces.
-e PATTERN, --exclude=PATTERN
Exclude interfaces from the list of interfaces to operate on by the PATTERN. Notice that the PATTERN can be a full interface name
or substrings that match interfaces. Users could easily have unexpected behaviour if they use a small string to do the match.
-n, --no-act
Don't configure any interfaces or run any "up" or "down" commands.
--no-mappings
Don't run any mappings. See interfaces(5) for more information about the mapping feature.
-V, --version
Show copyright and version information.
-v, --verbose
Show commands as they are executed.
EXAMPLES
ifup -a
Bring up all the interfaces defined with auto in /etc/network/interfaces
ifup eth0
Bring up interface eth0
ifup eth0=home
Bring up interface eth0 as logical interface home
ifdown -a
Bring down all interfaces that are currently up.
NOTES
ifup and ifdown are actually the same program called by different names.
The program does not configure network interfaces directly; it runs low level utilities such as ip to do its dirty work.
FILES
/etc/network/interfaces
definitions of network interfaces See interfaces(5) for more information.
/var/run/network/ifstate
current state of network interfaces
KNOWN BUGS
/LIMITATIONS
The program keeps records of whether network interfaces are up or down. Under exceptional circumstances these records can become inconsis-
tent with the real states of the interfaces. For example, an interface that was brought up using ifup and later deconfigured using ifcon-
fig will still be recorded as up. To fix this you can use the --force option to force ifup or ifdown to run configuration or deconfigura-
tion commands despite what it considers the current state of the interface to be.
The file /var/run/network/ifstate must be writable for ifup or ifdown to work properly. On Ubuntu the /var/run location is a temporary
filesystem which is always writable and thrown away on shutdown. You can also use the --force option to run configuration or deconfigura-
tion commands without updating the file.
Note that the program does not run automatically: ifup alone does not bring up interfaces that appear as a result of hardware being
installed and ifdown alone does not bring down interfaces that disappear as a result of hardware being removed. To automate the configura-
tion of network interfaces you need to install other packages such as hotplug(8) or ifplugd(8).
AUTHOR
The ifupdown suite was written by Anthony Towns <aj@azure.humbug.org.au>.
SEE ALSO
interfaces(5), ip(8), ifconfig(8).
IFUPDOWN
22 May 2004 ifup(8)