Any idea to do this more gorgeous?
#!/bin/sh
scriptname=$(basename $0)
theFile=$1
if [ -r $theFile ]; then
# lines = length of file
lines=$(cat $theFile | wc -l)
# chkline = line containing expected string chkconfig:
chkline=$(cat $theFile | sed 's:^:#:' | nl | grep chkconfig: |...
Hi there,
we decided to change the default runlevel to 4, in runlevel 4 starts an additional software
since some scripts in /etc/init.d do stop software in Runlevel 4 I need to change the configuration in the files using the chkconfig entry from
# chkconfig: 235 77 99
to
# chkconfig: 2345 77...
thanks Ken for the warm welcome back, pleased to meet you again!
thanks bazil2 for the star!
Best Regards, Franz
--
System Manager (Solaris, HP-UX, Linux, some networking, some SAN)
dear exsnafu,
>> howto's that makes it look pretty easy to do.. you end up with ifcfg-ethX.VLANID config
well, I used these howtos to configure VLANs.
I configured a bond0.305 (channelbonding over eth0 and eth1; I configured the "LAN" Network in this bond), and eth0.315 and eth1.316 for...
may I suggest this?
cp -p "/source/logfile_$(date '+%B %Y').txt" /target/current_logfile.txt
Best Regards, Franz
--
System Manager (Solaris, HP-UX, Linux, some networking, some SAN)
I'm not sure if this is possible, L3 VLANs is quite new to me, so this question might be stupid but please bare with me... ;-)
My company is designing our new Linux Clusters. The boundary conditions are:
RedHat RHEL 5.5
Veritas Cluster VCS5.1
some of the HW requirements are:
* 2 NICs for...
well, it might be confusing since English is not my mothertongue and Oracle ist not my topic... smile
sometimes an example makes things easier, I hope I speak "Oracle":
there is an Oracle installation
/oracle (owned and installed by user ora10 group dba)
there is the first package containing...
Hi there,
I am not the dba but the unix admin so please have mercy... :-)
The environment:
We are running hp-ux (hewlett-packard's version of unix) with "MC/Service Guard" Cluster software.
Oracle 10 Software is installed locally on every Cluster node in /oracle. Virtual Hosts (aka. "cluster...
ok, this is just cosmetics but... :-)
My Script acts similar to init (or rc depending on the UNIX), it executes a Script and prints out a message about the return code
The output should look like this:
2008-11-18 11:53:27 Starting Application Blahblah ............. FAILED
2008-11-18 11:54:03...
I remember there was a Bug (or a Request for enhancement), that lp drops any -o option -> check SunSolve if there is a workaround
Best Regards, Franz
--
System Manager (Solaris, HP-UX, Linux, some networking, some SAN)
Well, there was dongled (EMEA) and undongled (US) software (Auto CAD), sometimes the manufacturers have strange ideas...
Best Regards, Franz
--
System Manager (Solaris, HP-UX, Linux, some networking, some SAN)
My Background: Our Networker environment sometimes claims it is not properly licensed (this seems to be a known bug in NW 7.1.3 we are still using). We do have enough licenses, but one fine day Networker claims that we do not have enough licenses to backup and round robin we do not have a backup...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.