Page 1 of 1

rma not starting on CentOS

Posted: Wed Mar 15, 2006 8:06 pm
by intramanga
RMA not starting on CentOS 3.4 (RHEL) :(
Getting this error:
Command line checking .. Ok
Segmentation fault
Any solutions ... anybody?

Thanks,
Ed,

Posted: Wed Mar 15, 2006 8:14 pm
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

Posted: Thu Mar 16, 2006 4:54 am
by intramanga
Thanks Alex , I will do that.

Ed,

Posted: Thu Mar 16, 2006 4:18 pm
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,

Posted: Thu Mar 16, 2006 7:35 pm
by KS-Soft
May we have telnet access to your system?

Regards
Alex

Posted: Thu Mar 16, 2006 7:55 pm
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,

Posted: Fri Mar 17, 2006 12:53 pm
by KS-Soft
Use the same address: support@ks-soft.net

Regards
Alex

Posted: Fri Mar 17, 2006 1:15 pm
by intramanga
DONE -- Thanks Alex

Posted: Mon Mar 20, 2006 12:51 pm
by KS-Soft
Recompiled code works fine (wrong module was used by mistake)

Regards
Alex