[Netarchivesuite-users] Netarchive Suite on Solaris

Martin Bella 98989 at mail.muni.cz
Sat Apr 5 14:38:51 CEST 2008


Hi Søren,

thank you, that really helped. The '/usr/xpg4/bin/df -P <dir>' command seems
to work. Like on Mac, free space needs to be converted because it is returned
in 512-blocks format.

Best,
Martin Bella
University Library in Bratislava

> Hi Martin.
> The reason for this is, that the getBytesFree method uses an OS dependent
> method.
> On linux we use "df", and on windows, we use "dir" 
> 
> Recently, a patch for running on Mac Os has been submitted, which is used
> by the Scottish National Library:
> https://gforge.statsbiblioteket.dk/tracker/index.php?func=detail&aid=1235&group_id=7&atid=107
> 
> I know, that "df" is available on Solaris, so it should be fairly easy to
> port it to Solaris, just as it was to MacOS.
> However, we don't have any Solaris platforms to test it on.
> 
> The additions needed is isolated to one file (The dk.netarkivet.common.utils.FileUtils class) , which I have attached to this mail.
> 
> I hope this helps.
> 
> BTW, I think migrating to Java SE 6 will eliminate this issue, but we are
> not ready to that just yet.
> 
> Regards 
> Søren Vejrup Carlsen
> NetarchiveSuite developer (at Royal Library, Denmark)
> 
> 
> > -----Original Message-----
> > From: netarchivesuite-users-bounces at lists.gforge.statsbiblioteket.dk
> > [mailto:netarchivesuite-users-bounces at lists.gforge.statsbiblio
> > teket.dk]O
> > n Behalf Of Martin Bella
> > Sent: Friday, April 04, 2008 2:18 PM
> > To: netarchivesuite-users at lists.gforge.statsbiblioteket.dk
> > Subject: [Netarchivesuite-users] Netarchive Suite on Solaris
> > 
> > 
> > Hi,
> > 
> > in University Library in Bratislava we have good experience 
> > with running 
> > Netarchive Suite (version 3.4.1) on Linux. Recently we switched to 
> > different hardware with Solaris 10 and the BitarchiveServer and 
> > HarvestControllerServer application returns:
> > 
> > ...
> > dk.netarkivet.common.exceptions.NotImplementedException: 
> > getBytesFree not 
> > implemented  for operating system 'SunOS'.
> > ...
> > 
> > Is there any way how to get it up and running on Solaris or 
> > is there a 
> > plan for future support?
> > Thanks,
> > 
> > Martin Bella
> > University Library in Bratislava
> > _______________________________________________
> > NetarchiveSuite-users mailing list
> > NetarchiveSuite-users at lists.gforge.statsbiblioteket.dk
> > https://lists.gforge.statsbiblioteket.dk/mailman/listinfo/neta
> rchivesuite-users
>



More information about the NetarchiveSuite-users mailing list