rma not starting on CentOS

Remote Monitoring Agent for Linux, FreeBSD, and other UNIX-like platforms.
Post Reply
intramanga
Posts: 5
Joined: Wed Mar 15, 2006 7:58 pm

rma not starting on CentOS

Post by intramanga »

RMA not starting on CentOS 3.4 (RHEL) :(
Getting this error:
Command line checking .. Ok
Segmentation fault
Any solutions ... anybody?

Thanks,
Ed,
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

I think you should recompile agent on your system. We can provide source codes, please send request to support@ks-soft.net

Regards
Alex
intramanga
Posts: 5
Joined: Wed Mar 15, 2006 7:58 pm

Post by intramanga »

Thanks Alex , I will do that.

Ed,
intramanga
Posts: 5
Joined: Wed Mar 15, 2006 7:58 pm

Post by intramanga »

Hi Alex,

Tried your suggestion , but still getting the same segmentation fault error.
Any other suggestions?

Here is the output of the compile , maybe you see some sence in there , I dont :-?

--------------
g++ -c -o ksstring.o ksstring.cpp -I. -O0 -D_FILE_OFFSET_BITS=64
g++ -c -o ciplib.o ciplib.cpp -I. -O0 -D_FILE_OFFSET_BITS=64
g++ -c -o twofish.o twofish.cpp -I. -O0 -D_FILE_OFFSET_BITS=64
g++ -c -o md5.o md5.cpp -I. -O0 -D_FILE_OFFSET_BITS=64
g++ -c -o rma_const.o rma_const.cpp -I. -O0 -D_FILE_OFFSET_BITS=64
g++ -c -o globals.o globals.cpp -I. -O0 -D_FILE_OFFSET_BITS=64
g++ -c -o rpolish.o rpolish.cpp -I. -O0 -D_FILE_OFFSET_BITS=64
g++ -c -o cmd_processor.o cmd_processor.cpp -I. -O0 -D_FILE_OFFSET_BITS=64
g++ -c -o disktests.o disktests.cpp -I. -O0 -D_FILE_OFFSET_BITS=64
disktests.cpp: In function `int64 CheckFileForExpression(const char*, const
String&, int64&, int64&, int64&, int, int, int, int, String&, String&,
int64&)':
disktests.cpp:388: warning: passing `double' for argument passing 2 of `int
fseek(FILE*, long int, int)'
disktests.cpp:388: warning: argument to `long int' from `double'
g++ -c -o fileutils.o fileutils.cpp -I. -O0 -D_FILE_OFFSET_BITS=64
g++ -c -o rma.o rma.cpp -I. -O0 -D_FILE_OFFSET_BITS=64
rma.cpp: In function `boolean ProcessHMRequest(HMRequest&, RMAReply&,
TRMAFlags&, ThreadParams, UpgradeRec&)':
rma.cpp:654: warning: assignment to `file_size_t' from `int64'
rma.cpp:654: warning: argument to `long long int' from `int64'
g++ -c -o iplib.o iplib.cpp -I. -O0 -D_FILE_OFFSET_BITS=64
g++ -c -o syslog.o syslog.cpp -I. -O0 -D_FILE_OFFSET_BITS=64
g++ -o rma ksstring.o ciplib.o twofish.o md5.o rma_const.o globals.o rpolish.o cmd_processor.o disktests.o fileutils.o rma.o iplib.o syslog.o -L. -pthread


Ed,
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

May we have telnet access to your system?

Regards
Alex
intramanga
Posts: 5
Joined: Wed Mar 15, 2006 7:58 pm

Post by intramanga »

Hi Alex,

Yes, no problem , you can have SSH with root access, if you give me your email address where I can send my details.

Ed,
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Use the same address: support@ks-soft.net

Regards
Alex
intramanga
Posts: 5
Joined: Wed Mar 15, 2006 7:58 pm

Post by intramanga »

DONE -- Thanks Alex
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Recompiled code works fine (wrong module was used by mistake)

Regards
Alex
Post Reply