KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

error RMA1.20 for Linux Folder/File Size test

 
Post new topic   Reply to topic    KS-Soft Forum Index -> RMA for UNIX
View previous topic :: View next topic  
Author Message
nomura



Joined: 14 Oct 2005
Posts: 4

PostPosted: Fri Oct 14, 2005 4:05 am    Post subject: error RMA1.20 for Linux Folder/File Size test Reply with quote

Hi.

I test Folder/File Size on RMA for Linux.

The file is not displayed on the HostMonitor.

This case is generated when the file size is 2G byte or more.
Files that are smaller than 2G byte are displayed.
Moreover, it not only displayed but also it decreases up to the size
of the folder.

Is it a bug?

However, the file is displayed normally on Linux.

Latest version HostMonitor and RMA for Linux use.

Windows2000server - HostMonitor
Redhat Enterprise Linux ES release3 Kernel 2.4.21-4 - RMA for Linux
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12793
Location: USA

PostPosted: Fri Oct 14, 2005 8:35 am    Post subject: Reply with quote

Quote:
The file is not displayed on the HostMonitor.
This case is generated when the file size is 2G byte or more.
Moreover, it not only displayed but also it decreases up to the size
of the folder.


Sorry, I am not sure I understand the problem. What means "file is not displayed"? Folder/File Size test method should not display a file, it should show size of the file in Reply field of the test.
Do you see wrong size value? I thought we have fixed this problem long time ago...

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
nomura



Joined: 14 Oct 2005
Posts: 4

PostPosted: Mon Oct 17, 2005 9:08 pm    Post subject: Reply with quote

Hi,Alex

I'm sorry how to tell it ..bad...

It is an example of the case.


*test*
Folder/File size

*target*
/usr/loca/log.txt

*Size on Linux - reply on HostMonitor*
1957846Kb - 1911Mb
2154880Kb - 0Kb

Change in size at this time of folder

*target*
/usr/loca/
[select include sub-folders]

*Size on Linux - reply on HostMonitor*
5957846Kb - 5Gb
6154880Kb - 4Gb


When other files exceed 2Gb, it is the same.

And the file of 2Gb or more doesn't exist when select it push the browse button on test setting window.
file masks is[*]
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12793
Location: USA

PostPosted: Tue Oct 18, 2005 7:56 pm    Post subject: Reply with quote

Sounds like our mistake but I cannot find error in the code. Need couple of days for investigation...

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12793
Location: USA

PostPosted: Sun Oct 23, 2005 8:24 pm    Post subject: Reply with quote

Looks like one module was compiled without -D_FILE_OFFSET_BITS=64 option.
There is update at www.ks-soft.net/download/rma121_lin.tgz

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
nomura



Joined: 14 Oct 2005
Posts: 4

PostPosted: Mon Oct 24, 2005 12:46 am    Post subject: Reply with quote

I tried rma121_lin.tar

But HostMonitor reply is "RMA:301 - Folder/File doesn't exist or Access denied"

This happens to not only the file that exceeds 2Gb but also the folder.


It doesn't happen in a file and a folder that is smaller than 2Gb.


examples

*test*
Folder/File size

*target*
/usr/loca/log.txt

*Size on Linux - reply on HostMonitor*
1843246Kb - 1800Mb
2154880Kb - RMA:301 - Folder/File doesn't exist or Access denied

Change in size at this time of folder

*target*
/usr/loca/
[select include sub-folders]

*Size on Linux - reply on HostMonitor*
1957846Kb - 1911Mb
2269480Kb - RMA:301 - Folder/File doesn't exist or Access denied

However, the file and folder of 2Gb or more exist when select it push the browse button on test setting window.
Of course, it exists also on Linux.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12793
Location: USA

PostPosted: Mon Oct 24, 2005 5:24 pm    Post subject: Reply with quote

Could you please try this version: www.ks-soft.net/download/rma121b.tgz
If it doesn't work, please start agent with -vd option (e.g. ./rma -i -vd rma.ini) and tell us what info agent displays right after startup. You should see something like
Code:

-------------------------------------------------------------
 Application:  RMA (Remote Monitoring Agent for HostMonitor)
 Version:      1.21 for Linux (Red Hat, Mandrake, SuSE)
 Copyright:    2004, 2005 Alexander Kozlov
 web:          http://www.ks-soft.net
 e-mail:       support@ks-soft.net
-------------------------------------------------------------
Command line checking .. Ok
Settings checking .. Ok
CPU testing .. Ok
stat.size: 8
srec.size: 8
Basic encyption checking .. Ok
RMA encyption checking .. Ok
Sock testing .. Ok


Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
nomura



Joined: 14 Oct 2005
Posts: 4

PostPosted: Mon Oct 24, 2005 8:23 pm    Post subject: Reply with quote

I try rma121b.tar

All the problems were solved!!

The reply on HostMonitor is normally!

Thank you for your correspondence
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> RMA for UNIX All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index