problem running RMA for Linux after configuration

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
yariv
Posts: 15
Joined: Sun Apr 23, 2006 7:23 am

problem running RMA for Linux after configuration

Post by yariv »

Hi,

after editing all the configuration needed in the rma.ini, when i run
./rma -d ./usr/rma/rma.ini I recieve this message

Command line checking .. Ok
Settings checking .. Error
Cannot open configuration file './usr/rma/rma.ini'
Please check './usr/rma/rma.ini' file

any idea why? I checked the configuration in rma.ini over and over again and everything look ok.
Thanks
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Re: problem running RMA for Linux after configuration

Post by KS-Soft Europe »

You should remove dot before .ini file name. Your command line string should be like this:

Code: Select all

./rma -d /usr/rma/rma.ini
Regards,
Max
yariv
Posts: 15
Joined: Sun Apr 23, 2006 7:23 am

without the dot it can't find the path

Post by yariv »

Command line checking .. Ok
Settings checking .. Error
Invalid path to the agent!

Please check '/usr/rma/rma.ini' file
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Re: without the dot it can't find the path

Post by KS-Soft Europe »

yariv wrote:Invalid path to the agent!
This error means then you should specify fullpath to the agent in rma.ini.
In your case, it should be RmaPath = /usr/rma/rma
-----------------
[Basic]

; RmaPath
; Obligatory parameter. Full path to the agent. UNIX does not have common
; method that allows to retrieve module name and path.
; Without this parameter agent will not be able to upgrade and restart itself.

RmaPath = /usr/rma/rma

------------------------

Have you read the INSTALL file in the /usr/rma/ folder?
cd /usr/rma
less INSTALL

Regards,
Max
yariv
Posts: 15
Joined: Sun Apr 23, 2006 7:23 am

Post by yariv »

I followed the INSTALL file, and I added /usr/rma/rma, but I get the same error, maybe something else?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

What do you see if you type

Code: Select all

cd /usr/rma
ls -l rma*
?
Then please show what path you have specified in rma.ini

Regards
Alex
yariv
Posts: 15
Joined: Sun Apr 23, 2006 7:23 am

Post by yariv »

-rwxrwxrwx 1 root root 207453 Aug 14 12:02 rma
-rwxrwxrwx 1 root root 7334 Aug 14 16:28 rma.ini

also in rma.ini i have RmaPath = /usr/rma/rma, same as you said,
before it was RmaPath = /usr/rma
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

yariv wrote:also in rma.ini i have RmaPath = /usr/rma/rma, same as you said, before it was RmaPath = /usr/rma
So, you still have an error with new settings "RmaPath = /usr/rma/rma"? Or, maybe, now you have another error?

Regards,
Max
yariv
Posts: 15
Joined: Sun Apr 23, 2006 7:23 am

Post by yariv »

same error, I have before RmaPath = /usr/rma, and I changed it following your suggestion, but I still have the same error
as you can see I gave the file full rwx, but that's not the issue
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

yariv wrote:same error, I have before RmaPath = /usr/rma, and I changed it following your suggestion, but I still have the same error
as you can see I gave the file full rwx, but that's not the issue
Hm. What Linux do you use?

Could you provide telnet access to your system?

We could provide you soure codes and you will be able to compile the agent on your system. Please, send request to support@ks-soft.net


Regards,
Max
yariv
Posts: 15
Joined: Sun Apr 23, 2006 7:23 am

Post by yariv »

RedHat ES3
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

yariv wrote:RedHat ES3
There is a RMA 1.23 recompiled for RH ES3: http://www.hostmonitor.biz/download/rma ... 3.i386.rpm

Have you downloaded it?
Or, perhaps, you have downloaded RMA 1.22 for common Linux systems? Packages are available on our site: http://www.ks-soft.net/hostmon.eng/downpage.htm

What about sources? Please, send request to support@ks-soft.net and we will send you the source codes.

Regards,
Max
yariv
Posts: 15
Joined: Sun Apr 23, 2006 7:23 am

Post by yariv »

this is version 1.22
I downloaded 1.23 rpm file, how should I install it?
yariv
Posts: 15
Joined: Sun Apr 23, 2006 7:23 am

Post by yariv »

ok, it finally ran, now I have a TCP error:

Command line checking .. Ok
Settings checking .. Ok
CPU testing .. Ok
Basic encyption checking .. Ok
RMA encyption checking .. Ok
Sock testing .. TCP listen error:
socket() or bind() error
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

yariv wrote:this is version 1.22
I downloaded 1.23 rpm file, how should I install it?
rpm -i rma-1.23-RH3.i386.rpm

I suppose, you are newbies in Linux world, right?
To read help regarding rpm you just need type in connamd line:
man rpm

Regards,
Max
Post Reply