Hi,
I tried to install nxgentd package 1.2.4 on a CentOS 6.0 and I got the following errors:
line 84: [: too many arguments
line 93: [: too many arguments
and failed. The system is currently running nxagentd 1.1.10 installed using the package as well. The agent is stopped while upgrade is attempted.
Any idea?
thanks
Jdamien
During which step did got this message?
When executing the package installation (....apkg)
Did only stop the old release of agent.
Br,
Jdamien
Check "/tmp/nxagentupdate.log" for more details
Hi Alex,
sorry for the late reply. I did upgrade to 1.2.7 from 1.1.10 and here is the error I get - related to nxencpasswd.
Any idea what I did wrong?
Many thanks in advance
Br,
Jdamien
I got one install running ok.
The only difference I see is that encyption is NOT enabled.
How do I do to disable encryption?
What are the possible arguments to the command line?
Thx
Jdamien
Hi!
It should not be related to encryption. I've found an error in Makefile for nxencpasswd - there are no reference to libtre library. Can you check on machine where upgrade was successful value of "Use internal libtre" in upgrade log?
Best regards,
Victor
I did parse the nxagentupdate.log and found:
Use internal libtre: YES
There are several messages of Making all in libtre and entering/leaving directory with libtre (gmake) but no error.
That's it
Jdamien
The way I solved this issue for me is as follows:
a. download server sources
b. run ./configure --with-agent
c. then clean up the mess if you had a previous release
Did not manage any NetXMS agent installation for v1.2.7 using provided packages on Linux.
Br,
Jdamien
While using the source, one could still face the issue already reported for release 1.2.3 at: https://www.netxms.org/forum/installation/error-compiling-v1-2-3/[\b]
So as advised by Victor, deleting old NetXMS agent lib files solve the issue - at least in our scope.
Br,
Jdamien