cancel
Showing results for 
Search instead for 
Did you mean: 

Redwood Cronacle: rwmail error (gethostbyname)

Former Member
0 Kudos

Can anyone tell my why I might be getting the following error when submitting to one UNIX server (SAP server, HP-UX IA64) but successful when submitted to another (HP-UX U 9000/800)? Paths are set correctly, environment variables are set, and rwmail exists in $JCS_HOME/bin as an executable with correct permissions.

error:

path removed.../bin/rwmail: could not obtain host information (gethostbyname): No such process

script:

create or replace script "NOTIFICATION"."DEST_EMAIL_NOTIFICATION_SUBJ"
( "P_TO"            in varchar2(3000)   null
                    description         'Email account'
, "P_PARENT"        in number           not null
                    parent_job_id
                    description         'Parent JobId'
, "P_SERVER"        in varchar2(255)    not null
                    description         'SMTP Server'
                    nodisplay
                    noedit
                    runtime
                    default             jcs_registry.get_value('/PUBLIC/RWS/Repository/Parameters/SMTPServer')
, "P_SERVER_ACCOUNT" in varchar2(255)    not null
                    description         'SMTP sender'
                    nodisplay
                    noedit
                    runtime
                    default             jcs_registry.get_value('/PUBLIC/RWS/Repository/Parameters/SMTPSender')
, "P_SUBJECT"       in varchar2(200)    null
                    no last value
, "P_INSTANCE"      in varchar2(50)     not null
                    nodisplay
                    noedit
                    runtime
                    default             jcs_registry.get_value('/PUBLIC/INSTANCES/Cronacle')
, "P_STATUS"        in varchar2(50)     not null
                    nodisplay
                    noedit
                    runtime
                    default             jcs.job_status(P_PARENT)
, "P_EMAIL_BODY"    in varchar2(4000)   null
)
description         'Send email that report has finished'
application         "NOTIFICATION"
queue               "NOTIFICATION"
as 'echo ' || P_EMAIL_BODY || '|'  ||   JCSBINHOMEPATH( 'rwmail'
                 , ' -server "'  || P_SERVER         || '" ' ||
                   '-f "'                 || P_SERVER_ACCOUNT || '" ' ||
                   '-t "'                 || P_TO             || '" ' ||
                   '-s "'             	  || P_SUBJECT        || ' '
                   	 || P_STATUS || ' ('
                   	 || P_INSTANCE
                   	 || ') " ' ||
                   '-a - '
                 )
/

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Check for 2 things.

1) Redwood comes with different server installations based on server config. IA64 has different setup as compared to other servers. Please check if you have installed correct version on IA64 box.

2) Not sure which version of Cronacle you are using. If its 8 onwards, you can get setup file from support for IA64. Not sure if IA64 is supported for earlier versions. Check the help file or write to support to check if your version of cronacle supports IA64.

- Bhushan

Former Member
0 Kudos

correct version is installed on the IA64 box: 6.0.2.6 using installation package SCJ602SP5_0-10003733.sar

unsuccessful (SAP server, HP-UX IA64)

Redwood shell V6.0.2 Production build 20061002

successful (HP-UX U 9000/800 RISC)

Redwood shell V6.0.2 Production build 20051215

Does this help?