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
IFSERVICES(5) Network configuration IFSERVICES(5)
NAME
ifservices-* - control network services with ifup/down
SYNOPSIS
/etc/sysconfig/network/ifservices-<configuration_name>/
DESCRIPTION
The directory /etc/sysconfig/network/ifservices-<configuration_name>/ is read by the script /etc/sysconfig/network/scripts/ifup-services
which starts and stops system services when an interface is set up/down. ifup-services is used by /sbin/ifup, which is the command line
user interface for setting up network interfaces.
This is useful if you don't have a permanent network connection. If you sometimes boot without network and plug in the network cable later
you can add links to system services in this directory. These services will then be started with ifup and stopped with ifdown.
The configuration name used for ifservices-* should match exactly the configuration name of the ifcfg-* file for the interface.
For the usage with NetworkManager (where you don't necessarily need a ifcfg-* file) you can also use /etc/sysconfig/network/ifser-
vices-<interface>-<essid>/ (for wlan interfaces) or if that does not exist /etc/sysconfig/network/ifservices-<interface>/. As a final
fallback /etc/sysconfig/network/ifservices/ is checked as well. If NetworkManager is active services will be stopped after the interface is
down.
The links in this directory are equal to the links in the runlevel directories /etc/init.d/rc*.d/ They have to point to service start
scripts which are usually in /etc/init.d/. Links starting with 'S' are start links, which are called in alphabetical order after ifup has
set up the interface. Links starting with 'K' are kill links which are called before ifdown takes down the interface. See also section
Sequencing Directories in boot (7).
EXAMPLE
In this example we use an interface with MAC address 00:de:ad:be:af:00. This interface is not always physically connected. As soon as you
plug in the cable ypbind and autofs should be started. When you pull the cable they should be stopped. This can be reached with:
in file /etc/sysconfig/network/ifcfg-eth-id-00:de:ad:be:af:00
...
STARTMODE=ifplugd
...
in dir /etc/sysconfig/network/ifservices-eth-id-00:de:ad:be:af:00/
S10portmap -> /etc/init.d/portmap
S20ypbind -> /etc/init.d/ypbind
S30autofs -> /etc/init.d/autofs
S20autofs -> /etc/init.d/autofs
K30ypbind -> /etc/init.d/ypbind
Now you have to disable the start of this services at boot time
chkconfig ypbind off
chkconfig autofs off
Notes:
You may call scripts/create-ifservices-directory [<interface_name>] to create a directory with the links from this example. This will cre-
ate the directory ifservices-<interface_name> or if no interface name was given ifservices-template.
Maybe you have to add also variable IFPLUGD_PRIORITY. For details about startmode ifplugd read ifup (8).
The service portmap had to be added because ypbind needs it. This service is still started at boot time because it does not need an active
network connection. But ypbind may now be started earlier as usual. Therefore we make sure that portmap is started before. Starting an
already running service again does not affect the service.
SEE ALSO
ifup(8), ifcfg(5).
AUTHOR
Christian Zoz <zoz@suse.de>
sysconfig February 2005 IFSERVICES(5)