Search Results

Search: Posts Made By: maverick72
Forum: What is on Your Mind? 10-07-2015
3,829
Posted By maverick72
Since Oracle bought Sun i've jumped with both...
Since Oracle bought Sun i've jumped with both feets in the Linux bandwagon... i still love the Sparc architecture and Solaris but it's market is dying ... so is HP-UX (in my humble opinion). I've...
Forum: What is on Your Mind? 09-28-2015
1,039
Posted By maverick72
Why not more DEVOPS threads?
Hello all,

searching for answers about our upcomming infrastructure in my compagny i was sadden by the fact that in my favorite programming forum there was basicly no threads about devops subjects...
2,007
Posted By maverick72
I get it.... i've modified the rndc to keep the...
I get it.... i've modified the rndc to keep the important stuff. Of course it makes sense.

Will let you guys know what i can find out. Thanks again.
2,007
Posted By maverick72
Problem is that its a parent script that launches...
Problem is that its a parent script that launches this one so we don't get to see standard output or standard error on the term. That way the temp file would really help. Each time i try to run it...
2,007
Posted By maverick72
Oh my .... need more coffee.... Thanks Don. ...
Oh my .... need more coffee.... Thanks Don.

Is it standard to redirect outputs into a file and then looking into that file to pull out the information you wanted? In my case it looks like alot of...
2,007
Posted By maverick72
You mean something like this? rndc -k...
You mean something like this?


rndc -k ${RNDC_KEY} -s ${DNS_SERVER} status > $some_temp_file 2>&1
tail -1 | grep up $some_temp_file
2,007
Posted By maverick72
Thanks for your answer. It gives me 1...
Thanks for your answer.

It gives me 1 meaning the rndc command didn't return 0 and the script exits.

But like i said the command always works manually so meaning (i think) that the problem lies...
2,007
Posted By maverick72
Random script error with rndc
Hello coders,

been running into an strange behavior into one of my script and i'm wondering if my code wouldn't be responsible.

Bash on rhel 5.7

This is a basic check to see if bind is up...
5,020
Posted By maverick72
I understand now. Yes this will be harder than i...
I understand now. Yes this will be harder than i tought.

The -E looked like a promising lane until....

ssh: illegal option -- E
man ssh
HP-UX Secure Shell is based on OpenSSH version 5.9p1
1,316
Posted By maverick72
Even with the "diff --speed-large-files"...
Even with the "diff --speed-large-files" option?
1,926
Posted By maverick72
HINT: replace the sed delimiter (/) with # and...
HINT: replace the sed delimiter (/) with # and you will catch your mistake :)
5,020
Posted By maverick72
Handling ssh permission denied or timeout
Hello all,

been writing a little inventory script (hpux 11.23, ksh Version 11/16/88) which takes our hostname from our inventory db and tests them with ssh connection.

I need to be able to...
3,899
Posted By maverick72
Thank you so much for that clear explanation.......
Thank you so much for that clear explanation.... It's when i see brillant code like that i want to be better at it :)
2,540
Posted By maverick72
You will probably need to put a little more...
You will probably need to put a little more details into your post.

-OS
-Shell script? Language?
-Multiple backup jobs of the same type or different type?

Did you try to make a script...
3,899
Posted By maverick72
Chubler: It works like a charm but i have to say...
Chubler: It works like a charm but i have to say i have a very hard time understanding the work flow.

Two functions and main loop.

First function is getfield which returns blank if it doesn't...
3,899
Posted By maverick72
Thanks for your answer! The status (the...
Thanks for your answer!

The status (the NOERROR in this case) actually serves the purpose of saying that the connection to the DNS server is ok. I wanted a way to correctly split this ressource...
3,899
Posted By maverick72
Parsing nsupdate's output
Anybody that's ever used nsupdate knows that it's error management is not very good.

I have a wrapper script that when it's got all the information it needs launches the nsupdate command.

This...
2,124
Posted By maverick72
Sure does! Thanks all!
Sure does! Thanks all!
2,124
Posted By maverick72
Works like a charm but can you describe the KEY _...
Works like a charm but can you describe the KEY _ _ VALUE _ ? The man page doesn't say much. Thanks!
2,124
Posted By maverick72
Bash 3d associative array with bash3 AND multiple files
Hello again guru’s (big apologies for wall of text)

Still working on that DNS updater for my production team and while there is a ton of hit in searches i can't seem to find the answer to this.
...
1,943
Posted By maverick72
That one percent would be something i would have...
That one percent would be something i would have missed and not the behavior of echo (i need more experience with my coding).

I forgot about that std out to fd and going on with std echo's.... See...
1,943
Posted By maverick72
Managing output... echo or printf?
Hello script guru's

as i write more and more code i always block at managing output... either writing to standard out, writing to files via std out (log, temp file, etc). Don't get me wrong 99%...
1,362
Posted By maverick72
That is why I always try with -print before going...
That is why I always try with -print before going on an rm rampage :D And try as much as possible to give the complete path and not just / (yeah I know sometimes it's not possible). I have a friend...
1,047
Posted By maverick72
Found a decent browser.... Which would you...
Found a decent browser....

Which would you think would be best? Wanted to make absolutly sure that they (the production) can't not second guess me on that issue (maybe you know how it is in big...
1,047
Posted By maverick72
The syntax of my code is ok on my screen but...
The syntax of my code is ok on my screen but trying to fix it on my phone is a teadious task. I will try to find a different workstation with a good browser. Thanks for the help through.
Showing results 1 to 25 of 93

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