LaCie Raid manager unable to access localhost:8845 in OS X server Yosemite

I am running OS X server Yosemite. I have an external LaCie RAID Storage box. The RAID manager software that comes with the LaCie communicates settings by accessing the hardware via a web browser (ie. localhost:8845). I am able to access this port on my macbook pro just running OS X Yosemite but when I plug the hardware into my OS X server, that access is blocked.


Can anyone provide me with instructions to allow browser connection to the localhost. I assume it is an apache2 problem. But maybe that is just my guess.


Thank you in advance.

Mac mini, OS X Server, Yosemite SERVER

Posted on Jan 6, 2015 9:51 AM

Reply
7 replies

Jan 7, 2015 11:47 AM in response to Loren Henry1

Hi,


I am facing the same problem. I prepared a macmini with yosemite client for an upgrade to a new server. With the 10.10 client everything works great, but after the installation of the 10.10 Server.app software the localhost:8845 becomes unreachable.

As far as I can see the launchplist for LaCie Webservices is running when I do a: launchctl list | grep "lacie" and both RAID and Web are active and loaded. However a netstat on that specific port 8845 shows no answer at all. When I do a netstat on 443 to verify I get a couple of listeners on that port.

So it seems that Yosemite Server does accept the launchdaemon plist but does not allow a proces to answer on port 8845. I have a ticket opened with for this issue, let's see what their response is.

On another server which is a Mavericks Server the LaCie web software does run without any issues. I can access the webinterface, so it is definitely related to Yosemite Server only.

Jan 10, 2015 7:39 AM in response to Loren Henry1

Hi,


Got a reply from LaCie, they are aware of this problem and are working on a permanent fix. In the meanwhile I got a zip file, which contained a terminal.command file from which I have posted the code here, you need to save that file as an executable so you can run it.
As always create a backup first, goodluck!


#!/bin/sh


if sw_vers -productVersion|grep 10.10 >/dev/null

then

`cat << EOF > ~/lrm.conf

LoadModule php5_module /usr/share/lrm/apacheForOs10/modules/libphp5.so

Listen 8845

<VirtualHost *:8845>

ServerName localhost:8845

DocumentRoot "/usr/share/lrm/root"

ServerAdmin sylvain.sevamy@seagate.com

ErrorLog "/usr/share/lrm/apacheForOs10/logs/error_log"

CustomLog "/usr/share/lrm/apacheForOs10/logs/error_log" common

LogLevel warn

TraceEnable off

UserDir disabled

</VirtualHost>

<Directory "/usr/share/lrm/root">

Options FollowSymLinks Multiviews

MultiviewsMatch Any

AllowOverride None

Require all granted

</Directory>

AliasMatch /MSU/(.*) "/usr/share/lrm/root/$1"

AliasMatch /MSu/(.*) "/usr/share/lrm/root/$1"

AliasMatch /Msu/(.*) "/usr/share/lrm/root/$1"

AliasMatch /msu/(.*) "/usr/share/lrm/root/$1"

EOF`

else

if sw_vers -productVersion|grep 10.9 >/dev/null

then

`cat << EOF > ~/lrm.conf

LoadModule php5_module /usr/share/lrm/apacheForOs9/modules/libphp5.so

Listen 8845

<VirtualHost *:8845>

ServerName localhost:8845

DocumentRoot "/usr/share/lrm/root"

ServerAdmin sylvain.sevamy@seagate.com

ErrorLog "/usr/share/lrm/apacheForOs10/logs/error_log"

CustomLog "/usr/share/lrm/apacheForOs10/logs/error_log" common

LogLevel warn

TraceEnable off

UserDir disabled

</VirtualHost>

<Directory "/usr/share/lrm/root">

Options Indexes FollowSymLinks Multiviews

AllowOverride None

Order allow,deny

Allow from all

</Directory>

AliasMatch /MSU/(.*) "/usr/share/lrm/root/$1"

AliasMatch /MSu/(.*) "/usr/share/lrm/root/$1"

AliasMatch /Msu/(.*) "/usr/share/lrm/root/$1"

AliasMatch /msu/(.*) "/usr/share/lrm/root/$1"

EOF`

else

echo "Unsupported Mac OS system version";

exit 5;

fi

fi



if [ -d /usr/share/lrm ]

then

echo "Will update Mac OS apache Server configuration";

else

echo "failed to locate LaCie Raid Manager directory";

exit 6;

fi





if [ -f ~/lrm.conf ]

then

sudo cp ~/lrm.conf /etc/apache2/other

else

echo “Error: Missing LRM config file”;

exit 1;

fi



if [ $? -ne 0 ]

then

echo “failed to copy lm config file”;

exit 2;

else

rm $(pwd)/lrm.conf;

fi



if [ -f /etc/apache2/other/lrm.conf ]

then

sudo mv /Library/LaunchDaemons/com.lacie.WebService.plist /Library/LaunchDaemons/com.lacie.WebService.backup;

else

echo “Error: Missing LRM config file for apache”;

exit 3;

fi



if [ $? -ne 0 ]

then

echo “failed to backup WebService file”;

exit 4;

fi



sudo httpd -k stop;

sudo apachectl start;



echo "Successfully reconfigure Apache server"

Jan 15, 2015 9:34 AM in response to Loren Henry1

I reported back to LaCie with the same result. It seems pretty straight forward as a script, but it hangs on various errors when you run it several times.

Even when there is no webservice active the script fails.

One of the remarks from LaCie was that these drives are not directly intended as serverstorage.

I will keep you updated, might do some work on the script as well. Tweak it a bit.


Jeffrey

Jan 18, 2015 3:32 AM in response to jepping

I am having the opposite problem. OS X Server 4.0.3 on Yosemite won't start its Apache web server because the LaCie web server is already running. I had to disable /Library/LaunchDaemons/com.lacie.WebService.plist so that it wouldn't start. I figure I never have to reconfigure my LaCie 5Big but I need my website up and running much more. I will be interested to see if LaCie comes up with a fix for this, since I would imagine there are plenty of people using LaCie RAID devices with OS X Server.

Feb 20, 2015 3:31 AM in response to jrmeyer

The latest update from LaCie fixes this issue, released late january:

https://www.lacie.com/nl/support/drivers/driver.htm?id=10292


Before updating unmount your LaCie storage, otherwise the update forces the storage offline and might cause data loss.

After a reboot everything works as expected, in the release notes OSX Server is now mentioned as supported as well.

- [MAC] MacOS X Server support

Goodluck!


Jeffrey

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

LaCie Raid manager unable to access localhost:8845 in OS X server Yosemite

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.