Search Results

Search: Posts Made By: ronnie_uk
2,227
Posted By ronnie_uk
This should work (Changes marked in bold): ...
This should work (Changes marked in bold):

file=`date +%b_%d`
touch $file
for i in $(cat /home/gmanju/servers)
do
echo $i >> $file
remsh $i cat /var/opt/omni/server/log/opcmsg.log | grep -i...
11,286
Posted By ronnie_uk
Not sure if this will help you, I usually only...
Not sure if this will help you, I usually only test to see if an exception has occurred and I am not sure how to get the actual SQLCODE to return to the KSH script.

In the exception handler of...
9,601
Posted By ronnie_uk
Make sure your echo command in your script is in...
Make sure your echo command in your script is in lower case?

Like this:
echo "Some text"
9,601
Posted By ronnie_uk
Not sure why you are trying to use $ECHO variable...
Not sure why you are trying to use $ECHO variable to echo a message to the screen. If you are only trying to prompt the user to enter a value then use this:

echo "Enter the Country for which you...
9,601
Posted By ronnie_uk
To accept user input use the read command...
To accept user input use the read command immediately after your echo.

echo "Enter the Country for which you want the installation to be executed? (US/India). \c"
read COUNTRY_SPEC

if [...
7,748
Posted By ronnie_uk
Just thought I would post the resolution to this:...
Just thought I would post the resolution to this:

Looks like we had a corrupt sector on one of the Drives on the SFTP server, replaced the drive and issued resolved. :)
5,298
Posted By ronnie_uk
Yes that is what he is saying, you can only run...
Yes that is what he is saying, you can only run basic FTP commands while in the FTP session.

There are plenty of articles around on passing a script as input to ftp, here is one I found on this...
7,748
Posted By ronnie_uk
Thanks, the transfer is Binary mode but still saw...
Thanks, the transfer is Binary mode but still saw corruption on a single file.

The problem seems to have dissappeared, I am going to monitor it for now and fingers crossed I won't see the issue...
7,748
Posted By ronnie_uk
Ok, thanks. Not sure if anything has been...
Ok, thanks.

Not sure if anything has been changed but the problem seems to have gone away. Will monitor the situation and see what happens over the next few weeks.
7,748
Posted By ronnie_uk
Secure FTP corrupts file
Sun Microsystems Inc. SunOS 5.9

I am hoping someone has come across this before. I have a script that transfers several gz files via Secure FTP across to an SFTP server on an NT machine.

The...
3,990
Posted By ronnie_uk
Unfortunately I have written the process using...
Unfortunately I have written the process using SFTP and it is already in use on our Production system.

I assume the only option I have now is to read the log file that is generated and check for...
3,990
Posted By ronnie_uk
SFTP Invalid IP
Hi,

I have an SFTP script which is called from another run script:

When the SFTP process is run we passed through an invalid ip address to check the error logging and to ensure everything is...
2,852
Posted By ronnie_uk
Fantastic, thank you very much.
Fantastic, thank you very much.
2,852
Posted By ronnie_uk
Dynamic variable values
Bit of a newbie :D with regard to unix scripting and need some advice. Hopefully someone can help with the following:

I have a predefined set of variables as follows:

AAA_IP_ADD=1.1.1.1...
Showing results 1 to 14 of 14

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