Forum Replies Created
-
AuthorReplies
-
July 21, 2023 at 9:47 am in reply to: Cloverleaf 2022.09 SFTP from Red Hat Linux to put file #120680
Hi,
The error we get is:
Error while trying to write /Outbox/2023-02-15Benifit.csv.
Detailed error:Upload failed: No such file or directory (2/-31)
Curl errCode:78 Curl error: Remote file not foundBasically, it is a follow-up of this: https://usspvlclovertch2.infor.com/forums/topic/sftp-upload-options/
We do not want to pay for a full license to upgrade to the latest version if we do not know 100% that it will work, but Infor can only test on Windows servers and since we have a Linux server, we would like to know if this is working before spending $$$$$ on something that may not work.
Thanks,
Erik
- This reply was modified 1 year, 5 months ago by Erik Mueller. Reason: formatting
- This reply was modified 1 year, 5 months ago by Erik Mueller.
April 24, 2023 at 10:49 am in reply to: Parse siteInfo to extract SMAT and Log Retention Periods #120507Hi,
Thanks very much. I will have a play.
Erik
April 13, 2023 at 7:42 am in reply to: Cloverleaf Alerts – Passing variables into tcl script #120469Good afternoon,
I am not getting anywhere with this ticket with Infor and was wondering if somebody could do me a favour and test on one of their test systems please, ideally, one running CIS 19.1.1.0 on Windows or a 6.1.2.1 running on RHEL.
I have tested using the “exec” command on
Linux: tcl /cloverleaf/cis19.1/integrator/site_l2_erik/tclprocs/Cloverleaf_Alerts.tcl “%N” “%V” “%A”
Windows: hcitcl E:\Cloverleaf\cis6.1\integrator\site_master\tclprocs\Cloverleaf_Alerts.tcl “%N” “%V” “%A”
and have the following results:
CIS Version OS Success/Failure 19.1.1.0 RHEL 3.10.0-1160.81.1.el7.x86_64 Failure 6.1.2.1 Windows server 2012 Success 20.1.1.0 Windows Server 2019 Success I can see from the alerts.log, that %N and %V are not being translated in Linux, but are on Windows.
Linux: Action: tcl /cloverleaf/cis19.1/integrator/site_l2_erik/tclprocs/Cloverleaf_Alerts.tcl “%N” “%V” “Thread status of his_client has been down for 1460 minutes”
Windows: Action: hcitcl E:/Cloverleaf/cis6.1/integrator/site_master/tclprocs/Cloverleaf_Alerts.tcl “AuditArchitecture_BH_Status_WARN” “{AuditArchitecture down} ” “Thread status of AuditArchitecture has been down for 4920000 seconds”
Thanks,
Erik
March 23, 2023 at 8:42 am in reply to: GM view is “unknown” when connecting to RHEL Cluster VIP #120414Hi,
Thanks. I tried that and it saved successfully but then wouldn’t let me in with the IDE GUI or launch the hciserveradmin again.
It gave the following error:
An unexpected exception occurred during the login process.
The exception shown below was caught.Unable to establish a connection to an audit server: <local server>; nested exception is:
com.hie.cloverleaf.securityserver.NoAuditServerException: Unable to contact Audit Server on server: <local server>; nested exception is:
java.rmi.UnknownHostException: Unknown host: 10.24.64.5, 10.24.64.13, 10.24.64.14; nested exception is:
java.net.UnknownHostException: 10.24.64.5, 10.24.64.13, 10.24.64.14I manually modified the server.ini file to only have 10.24.64.5, restarted the host server and I was able to launch the IDE GUI and hiserveradmin
So then I tried the export address without commas and got a similar error, but this time without the commas.
I guess I will have to request eNovation to log a ticket with Infor.
Erik
March 22, 2023 at 6:34 am in reply to: GM view is “unknown” when connecting to RHEL Cluster VIP #120411Hi,
I can’t find the edit button. For the avoidance of doubt, the Global Monitor is not running on a cluster, but is a standalone RHEL server.
Erik
February 15, 2023 at 5:50 am in reply to: Cloverleaf Alerts – Passing variables into tcl script #120279Hi,
No, my script does not appear when clicking on the list command.
I tested the same script with the same alert configuration on a Cloverleaf 6.1 running on Windows and it works fine. %N and %V are translated using the exec command.
That leads me to conclude, the issue is either with Cloverleaf 19.1 or with RHEL.
Unfortunately, I don’t have a Cloverleaf 19.1 running on Windows or a Cloverleaf 6.1 running on RHEL to test my idea.
I will log a support ticket with Infor.
Erik
February 14, 2023 at 3:30 am in reply to: Cloverleaf Alerts – Passing variables into tcl script #120275Hi,
I tested with quotation marks but still not translating with the “exec” command.
Erik
February 13, 2023 at 10:59 am in reply to: Cloverleaf Alerts – Passing variables into tcl script #120271Hi,
Thanks. I know I need to have the variables between quotation marks to avoid tcl thinking they are lists, but even so, it should still work without quotation marks.
I have added quotation marks and am testing again
Erik
Hi,
When I executed hostname -f on the Linux prompt, it returned “localhost”.
It seems the issue was that the IP address and Hostname were not in the /etc/hosts file on the Linux server.
Once that was added it worked from the Linux prompt and when the thread executed the script.
Erik
Hi,
I have more unusual behaviour that has confused me.
Now on my standalone Linux server, I am getting this error
[pd :pdtd:ERR /0:AuditArchitecture:06/11/2022 00:00:00] Tcl error:
[pd :pdtd:ERR /0:AuditArchitecture:–/–/—- –:–:–] msgId = none
[pd :pdtd:ERR /0:AuditArchitecture:–/–/—- –:–:–] proc = ‘AuditArchitecture’
[pd :pdtd:ERR /0:AuditArchitecture:–/–/—- –:–:–] args = ”
[pd :pdtd:ERR /0:AuditArchitecture:–/–/—- –:–:–] result = ‘can’t read “env(HOSTNAME)”: no such variable’
[pd :pdtd:ERR /0:AuditArchitecture:–/–/—- –:–:–] errorInfo: ‘
[pd :pdtd:ERR /0:AuditArchitecture:–/–/—- –:–:–] no such variable
[pd :pdtd:ERR /0:AuditArchitecture:–/–/—- –:–:–] (read trace on “env(HOSTNAME)”)
[pd :pdtd:ERR /0:AuditArchitecture:–/–/—- –:–:–] invoked from within
[pd :pdtd:ERR /0:AuditArchitecture:–/–/—- –:–:–] “set servername $env(HOSTNAME)”
[pd :pdtd:ERR /0:AuditArchitecture:–/–/—- –:–:–] (procedure “getSiteListRouteData” line 15)
[pd :pdtd:ERR /0:AuditArchitecture:–/–/—- –:–:–] invoked from within
[pd :pdtd:ERR /0:AuditArchitecture:–/–/—- –:–:–] “getSiteListRouteData”
[pd :pdtd:ERR /0:AuditArchitecture:–/–/—- –:–:–] (procedure “AuditArchitecture” line 25)
[pd :pdtd:ERR /0:AuditArchitecture:–/–/—- –:–:–] invoked from within
[pd :pdtd:ERR /0:AuditArchitecture:–/–/—- –:–:–] “AuditArchitecture {CONTEXT pdupoc_read} {ARGS {}} {MODE time} {VERSION 3.0}”‘Strangely, when I run it from hcitcl, [info hostname] returns “localhost”
hcitcl>set servername “$::env(HOSTNAME)”
uksalqapcl01
hcitcl>set servername $env(HOSTNAME)
uksalqapcl01
hcitcl>set servername [info hostname]
localhost
hcitcl>Something must have changed as this was working for months and I’ve not made any changes to any of my scripts.
Any ideas?
Thanks,
Erik
Hi,
Thanks very much for your reply.
I have checked /etc/profile and it also has the line:
HOSTNAME=/usr/bin/hostname 2>/dev/null
Perhaps the issue is that the Cloverleaf Service is running at a Cluster Resource?
I will update my tcl scripts to use “[info hostname]”
Thanks again,
Erik
February 15, 2022 at 10:43 am in reply to: JAVA/WS-Server – SSL Handshake Logging – Where is it? #119543Hi,
Thanks very much! That worked and is logging the SSL Handshake 🙂
Out of curiosity how did you know to use those JVM options? Is it documented anywhere?
Is there a list of other JVM options available?
Thanks again,
Erik
Hi,
I had the same issue.
In Environment Variables we had a PERL5LIB variable pointing to a few different locations.
I renamed the variable and the issue went away.
Erik
October 8, 2015 at 9:05 am in reply to: Alert on ErrorDB – parse ErrorDB and extract MSH-10 value #83192James Cobane wrote:Hi Erik,
If the messages are hitting the Error database as a result of NAKs or other tcl code that is putting them there (i.e. state 201), you may want to actually incorporate the code to do this within those procs, rather than trying to use the ‘hcidbdump’ commands to extract this info.
Thanks.
1. I did bounce everything. We even bounced the server, but still have SMAT DB files greater than 30,000KB. The files were under 27000KB before the server was bounced and are now 31000KB. It seems to cycle them when the process and monitor daemon are cycled.
2. SMAT DB files under 2GB were cycled when we bounced the process and monitor daemon, but we have some 2.2GB, 3GB and a 4.1GB file that have not been cycled.
3. Thanks for confirming. That’s what I thought it would do.
I will log an incident.
-
AuthorReplies