" /> LFMT command line argument error - Genesys CTI User Forum

Author Topic: LFMT command line argument error  (Read 1930 times)

Offline Django

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
LFMT command line argument error
« on: June 19, 2020, 01:15:39 PM »
Advertisement
Hi Folks,

I am facing an issue when starting LFMT indexer.
Command line argument in Application object- "java -jar indexer.jar -app LFMT Indexer -host ip-xxx-xx-xx-xx -port 2020"
Initially it was "-host ip-xxx-xx-xx-xx -port 2020  -app LFMT Indexer" after installation.
For any command lines i am facing same issue. In below lines I have pasted indexer log. Please help.


2020-06-19 12:16:57.630/UTC INFO  [runner.Indexer] - -----------------------------------------
2020-06-19 12:16:57.630/UTC INFO  [runner.Indexer] - Initialization Log - Before Reading Config Server Log Properties
2020-06-19 12:16:57.630/UTC INFO  [runner.Indexer] - Using Indexer Version: 8.5.102.00
2020-06-19 12:16:57.630/UTC INFO  [runner.Indexer] - Developed: Feb 28, 2020
2020-06-19 12:16:57.630/UTC INFO  [runner.Indexer] - -----------------------------------------
2020-06-19 12:16:57.630/UTC INFO  [runner.Arguments] - Raw Command Line Args:
2020-06-19 12:16:57.630/UTC ERROR [runner.Arguments] - Error starting Indexer. Incorrect command line arguments.
Usage: java -jar indexer.jar -app [] -host [] -port [] ...
Options:
(req)-app The LFMT Indexer application name.
(req)-host The Configuration Server hostname or IP.
(req)-port The Configuration Server listening port.
-backuphost (Optional) The backup Configuration Server hostname or IP.
-backupport (Optional) The backup Configuration Server listening port.

Example 1: java -jar indexer.jar -app LFMT_IND -host cs.genesys.com -port 2020 
Example 2: java -jar indexer.jar -app LFMT_IND -host cs.genesys.com -port 2021 -backuphost cs.genesys.ca -backupport 2031

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: LFMT command line argument error
« Reply #1 on: June 19, 2020, 01:28:00 PM »
[quote]-host ip-xxx-xx-xx-xx[/quote]

It does not make sense as it needs to be set to a host or an IP address - ie. -host 1.2.3.4 or -host host.domain.com

Offline Django

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: LFMT command line argument error
« Reply #2 on: June 19, 2020, 01:35:22 PM »
Hi, Kubig,

Thanks for the quick response. It is an AWS server having host name ip-xxx-xx-xx-xx

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: LFMT command line argument error
« Reply #3 on: June 19, 2020, 02:09:30 PM »
Do not use AWS private domain for inter-server communication

Offline Django

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: LFMT command line argument error
« Reply #4 on: June 19, 2020, 04:55:37 PM »
I don't think it will be an issue an issue as it was already filled after installing indexer.
Also I tried with IP address in place of ip-xxx-xx-xx-xx, still same error.
I have CME in that server from that I am easily able to connect configserv installed in  ip-xxx-xx-xx-xx.

Offline BST

  • Newbie
  • *
  • Posts: 2
  • Karma: -1
Re: LFMT command line argument error
« Reply #5 on: July 16, 2020, 12:10:54 PM »
Command Line should be ./indexer_startup.sh (which will contain java -jar indexer.jar "$@")

Command Line Arguments should just be -app -host -port

Offline Django

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
Re: LFMT command line argument error
« Reply #6 on: July 21, 2020, 06:10:30 AM »
Thanks BST. I had already updated the startup file and it had worked for me some days back.