Search Results

Search: Posts Made By: avronius
Forum: Solaris 03-03-2011
13,983
Posted By avronius
Start by identifying the log files that are in...
Start by identifying the log files that are in use on your host.

Most people use /etc/logadm.conf to manage log rotation, although sometimes scripts are written for "quick & dirty" log truncation....
Forum: Solaris 03-03-2011
1,286
Posted By avronius
I'd begin by looking at the results of ifconfig...
I'd begin by looking at the results of ifconfig -a, and netstat -rn to ensure that you are using the right gateway, check your netmask, etc.
Forum: Solaris 03-03-2011
3,169
Posted By avronius
DHCP should make no difference.... If you...
DHCP should make no difference....

If you can share it from nfsserver
share -F nfs -o ro /shared_directory/path

You should be able to mount it from any UNIX/Linux host on your network:
mount...
2,783
Posted By avronius
I've had to create a differential list before for...
I've had to create a differential list before for a similar task.

Records 1 to 100 would be sent, followed by 90 - 300, followed by 250 - whatever.

Each time I would create a list of the last N...
2,023
Posted By avronius
Have you tried using sed? sed s/<pattern to...
Have you tried using sed?
sed s/<pattern to search for>/<what to replace with>/g <filename>
1,798
Posted By avronius
Are you asking about a line *IN* the contents of...
Are you asking about a line *IN* the contents of the file, or is this the *TIME STAMP* from when the files were created/modified/accessed?
2,537
Posted By avronius
Remember, if you are going to use mkdir -p...
Remember, if you are going to use
mkdir -p $dir
make sure that you have an absolute path for $dir
dir="/home/somedirectory"
NOT
dir="./somedirectory"

Or you could be building directory trees...
9,801
Posted By avronius
You are asking your script to execute as a bourne...
You are asking your script to execute as a bourne script by prefacing it with "sh".

For kicks and giggles, try the following:
Remove the "#!/blah/blah" from the first line of your script. Then...
Forum: Infrastructure Monitoring 05-07-2010
7,005
Posted By avronius
As the level of complexity increases, it begins...
As the level of complexity increases, it begins to make more sense to utilize a database to manage the changing state of the environment. Maybe look into something simple to start with - like Berkely...
2,963
Posted By avronius
Solaris 10 sets maximum file size to unlimited by...
Solaris 10 sets maximum file size to unlimited by default.
Solaris 9 sets the maximum file size to 2GB by default.

You may check to see what options were declared when the filesystem was mounted...
Forum: What is on Your Mind? 01-25-2010
27,544
Posted By avronius
Canadian Club Rye Whisky Straight up or mixed...
Canadian Club Rye Whisky
Straight up or mixed 1oz Whiskey to 3oz Ginger Ale with copious quantities of ice.
Forum: UNIX and Linux Applications 01-12-2010
6,005
Posted By avronius
NRPE check_disk error [nagios,solaris]
Good morning folks,

I'm having a problem with check_disk with mounted 3TB volumes. It appears that the value being returned by stavfs is too large to be processed by the check_disk plugin. Does...
2,174
Posted By avronius
Does the crontab user have write permission to...
Does the crontab user have write permission to /Feed/bin ?
Have you tried modifying the script to simply touch /Feed/bin/flag
2,174
Posted By avronius
Can you post the a.sh script?
Can you post the a.sh script?
2,174
Posted By avronius
Does your first line include the following? ...
Does your first line include the following?
#!/bin/sh
1,423
Posted By avronius
#!/bin/sh while read host do scp...
#!/bin/sh

while read host
do
scp bk2.sh $host:/ora/rman/scripts/bk2.sh
ssh $host /ora/rman/scripts/bk2.sh 2>/dev/null >> tmp/an.log
done < hostlist
3,781
Posted By avronius
Can you provide more information about your...
Can you provide more information about your environment?
What OS are you using?
What version of perl are you using?
What shell are you running the script from?
What is your PATH?
What user are...
3,781
Posted By avronius
identify a script that is working. head -1...
identify a script that is working.

head -1 scriptname


Ensure that this line matches the line that starts your script.
3,781
Posted By avronius
My first guess is that it appears to not be...
My first guess is that it appears to not be finding perl, but is instead trying to run as a shell program... See if perl exists in the location that your script is checking:
ls -ail /usr/bin/perl...
2,989
Posted By avronius
In the script example that I provided, the only...
In the script example that I provided, the only files that it will check are those listed in /var/spool/mail
If you have other log directories that you would like to check, you will need to manually...
8,003
Posted By avronius
you will need to include the path information ...
you will need to include the path information

#!/bin/sh
/path/to/dbc "delete from alert;" >>$TASKLOGFILE


---------- Post updated at 03:22 PM ---------- Previous update was at 03:18 PM...
2,989
Posted By avronius
I haven't been able to figure out how to insert a...
I haven't been able to figure out how to insert a variable into the search field, or I'd provide that example... Here's something that will return the line that matches your search string AND the...
2,339
Posted By avronius
Your problem is directly related to the "^L"...
Your problem is directly related to the "^L" character. This is the ascii character for "Form feed, page eject".
Char: FF
Oct: 14
Dec: 12
Hex: c
Control-Key: ^L
2,989
Posted By avronius
You could try awk '/error/{_=2}_&&_--'...
You could try

awk '/error/{_=2}_&&_--' /var/spool/mail/*
25,714
Posted By avronius
Sorry for not responding to this sooner... ...
Sorry for not responding to this sooner...



Sorry for the confusion, but this is not how the manageCron script works.

The command takes two arguments:
The first argument is the...
Showing results 1 to 25 of 301

 
All times are GMT -4. The time now is 04:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy