Sponsored Content
Operating Systems HP-UX rcp command is not working in crontab Post 302707065 by BPANDEY on Friday 28th of September 2012 02:08:08 AM
Old 09-28-2012
Hi,
Output of the /var/adm/cron/log is
>CMD: /oracle/PRD/scripts/logshipment.sh
>oraprd 2900 c Wed Sep 26 14:15:00 IST 2012
<oraprd 2900 c Wed Sep 26 14:18:00 IST 2012
Regards

---------- Post updated at 11:38 AM ---------- Previous update was at 11:31 AM ----------

Line from cron is as under
15 1,5,10,14,20,23 * * * /oracle/PRD/logshipment.sh
Operating system is hp_ux 11.31 ia64

Regards,
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

crontab command not working

Dear Friends, I have tried to fire a job on daily basis through crontab command but it willn't work. i have given in the following manner: 07 19 * * * exp /user_name/passwd/ file = /path/file-name full = N owner = user-name but it is giving error that permission denied. i have checked that... (8 Replies)
Discussion started by: digant
8 Replies

2. Solaris

rcp not working

I applied patch 108993-65 on two servers (5.8) and now I am unable to rcp to either machine. Getting "permission denied". (3 Replies)
Discussion started by: shorty
3 Replies

3. HP-UX

rcp command

Hi, Good day to you all. I am trying to use rcp command to transfer some files on the remote machine. I have already setup .rhosts on my server and on the remote machine. When I do rcp I get this error message rcmd_af: Lost connection Is anybody familiar with this one? Thanks in advance. ... (3 Replies)
Discussion started by: sodapop
3 Replies

4. Shell Programming and Scripting

using rcp command

Hi All, I am writing a shell script which will copy binaries from one remote server to local server. I am using "rcp command". But "rcp" command asks for the login password when copying to local server. Can anybody tell me how to pass the password through the shell script? Thanks ... (2 Replies)
Discussion started by: amitrajvarma
2 Replies

5. Shell Programming and Scripting

rcp command

Hi friends, Am trying to push a file on a remote server to my local host but getting "permission denied." error. Please let me know the basic steps that i need to have a look at in order to let the "rcp" command work successfully. Pl. Note: Both the servers belong to Sun Solaris 10... (5 Replies)
Discussion started by: Srinivas_Hari
5 Replies

6. Solaris

RCP command timed out

I HAVE A PERL SCRIPT WHICH RCP files from one server to another. The script is not having any issues for years and it is running for more than 3 years . Last week it had failed with error "Command timed out " error. Please help me out (3 Replies)
Discussion started by: praviper
3 Replies

7. UNIX for Dummies Questions & Answers

RCP command

hi, When i use RCP command to copy filr from a different servers, it is showing as connection refused??? ca anyone help me out??? thanks, Arun Manas:b: (2 Replies)
Discussion started by: arunmanas
2 Replies

8. Shell Programming and Scripting

rcp not working?

I'm trying to copy a file from a remote unix box, host1, to my unix box, host2. The first line of code gets the last word from a text document (this is the name of the file I need from host1) #!/usr/bin/ksh tail -1 Report.txt | perl -e '@arr = split /\//,<>; lastWord = $arr' rcp... (3 Replies)
Discussion started by: mrskittles99
3 Replies

9. Red Hat

Problems with rcp command

I have two servers A and B; A has redhat 5 and B has Suse10. Both of them has rhost file configuration. When i try to copy file from A to B that is OK but when try to copy from B to A i have an error: connection refused. I installed rsh and rsh-server on server A and stop iptables service. I need... (2 Replies)
Discussion started by: robinsonusp2014
2 Replies

10. Shell Programming and Scripting

Script working on command line and not on crontab

my problem is this: when I run a script from the command line it works but returns a failure if I run it from crontab. Basically I wanted to send a file to hdfs, I thought it was related to the fact that crontab do not know the path to hdfs so I put the full path but it still does not work: here... (16 Replies)
Discussion started by: beautymind
16 Replies
cdslinvchk(8)						      System Manager's Manual						     cdslinvchk(8)

NAME
cdslinvchk - Checks the CDSL inventory of the base operating system and layered applications. SYNOPSIS
/usr/sbin/cdslinvchk [log_file_path] OPTIONS
The path name to a location for the log file. By default this will be /var/adm/cdsl_check_list. DESCRIPTION
Use the cdslinvchk script to verify the current inventory of Context Dependent Symbolic Links (CDSLs) on a running system. CDSLs are spe- cial symbolic links that enable a system to work in a cluster. If CDSLs are accidentally removed, your system will not function correctly in a cluster. While this is not a problem for stand-alone systems, you may not be able to add the system as a member of a working cluster at some future time. You can run this script at any time or configure it to run at system start-up, or as a cron task. When you invoke the script, it checks the CDSLs on the running system against CDSLs of the installed inventory in /usr/.smdb and the addi- tional entries in /var/adm/cdsl_admin.inv, and ensures that each target file exists on the system as a properly-constituted CDSL. If the check is successful, the following message is displayed and the script terminates: Successful CDSL inventory check If the script finds inconsistencies in the inventory, warning messages are displayed on your terminal and logged to the default log file at /var/adm/cdsl_check_list. You can specify an alternate location for the log fill if required. The script locates any modified, missing, or replaced CDSLs. Note that the previous copy of the log file is renamed and retained for reference and is renamed by appending to the filename. Refer to the System Administration guide for information on recreating any missing or broken CDSLs. Refer to the hier(5) reference page for an inventory of CDSLs. MESSAGES One or more of the following messages may be displayed and logged to the log file: Unable to create <pathname> report file -- the script was not able to create a log file. Check the target directory and security. Expected CDSL: <cdsl_pathname> -> <pathname> CDSL Target has been modified to: <pathname> CDSL has been replaced with <pathname> CDSL is missing Failed CDSL inventory check. See details in <log file> FILES
Additional inventory file entries. This file will not exist on all systems. The current and previous log files for inventory errors and messages SEE ALSO
Commands: cron(8) Others: hier(5) See also the System Administration guide for details of CDSLs cdslinvchk(8)
All times are GMT -4. The time now is 05:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy