Environment
Novell NetStorage
Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 2
Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 2
Situation
After applying the July 2010 patch, NetStorage is not working or
not working properly anymore.
NetStorage can only be accessed via IP-address.
Installed package is: novell-netstorage-3.1.7-0.11.4
NetStorage can only be accessed via IP-address.
Installed package is: novell-netstorage-3.1.7-0.11.4
Resolution
The July 2010 patch for OES2 has been released again, this time
without Novell-NetStorage updates.
To resolve the problem when the July 2010 patch have been installed, please follow the following steps:
1) If changes has been made to /etc/opt/novell/netstorage/netstorage.conf, there will be a /etc/opt/novell/netstorage/netstorage.conf.rpmsave. Rename the/etc/opt/novell/netstorage/netstorage.conf to/etc/opt/novell/netstorage/netstorage.bad and then rename the/etc/opt/novell/netstorage/netstorage.conf.rpmsave to/etc/opt/novell/netstorage/netstorage.conf. After a restart of apache2, NetStorage is working again.
2) If there is no/etc/opt/novell/netstorage/netstorage.conf.rpmsave, please modify /etc/opt/novell/netstorage/netstorage.conf. The line starting with SetEnvIf until the end of the file should be removed. The last line in the modified netstorage.conf file should be AddLanguage. Under the section "Additional Information" their is example /etc/opt/novell/netstorage/netstorage.conf. After a restart of apache2, NetStorage is working again.
To resolve the problem when the July 2010 patch have been installed, please follow the following steps:
1) If changes has been made to /etc/opt/novell/netstorage/netstorage.conf, there will be a /etc/opt/novell/netstorage/netstorage.conf.rpmsave. Rename the/etc/opt/novell/netstorage/netstorage.conf to/etc/opt/novell/netstorage/netstorage.bad and then rename the/etc/opt/novell/netstorage/netstorage.conf.rpmsave to/etc/opt/novell/netstorage/netstorage.conf. After a restart of apache2, NetStorage is working again.
2) If there is no/etc/opt/novell/netstorage/netstorage.conf.rpmsave, please modify /etc/opt/novell/netstorage/netstorage.conf. The line starting with SetEnvIf until the end of the file should be removed. The last line in the modified netstorage.conf file should be AddLanguage. Under the section "Additional Information" their is example /etc/opt/novell/netstorage/netstorage.conf. After a restart of apache2, NetStorage is working again.
Additional Information
An example of a /etc/opt/novell/netstorage/netstorage.conf:
# The following lines makes apache aware of the location of the /NetStorage context
Alias /NetStorage "/opt/novell/netstorage/webapp"
Alias /netstorage "/opt/novell/netstorage/webapp"
<Directory "/opt/novell/netstorage/webapp">
Options +MultiViews
AllowOverride None
Order deny,allow
Allow from all
</Directory>
# Determine how to hook to Apache
<IfModule mod_proxy.c>
ProxyPass /NetStorage/servlet ajp://localhost:9009/NetStorage/servlet
</IfModule>
<IfModule mod_jk.c>
<IfModule !mod_proxy.c>
JkMount /NetStorage/servlet/* ajp13
JkMount /NetStorage/*.jsp ajp13
</IfModule>
</IfModule>
# The following section makes /NetStorage/servlet a protected resource.
<Location /NetStorage/servlet>
AuthType Novell
AuthName"AuthXTier"
require valid-user
Order deny,allow
Allow from all
</Location>
# The following line prohibits users from directly accessing WEB-INF
<Location "/NetStorage/WEB-INF/">
deny from all
</Location>
# Use Directory too. On Windows, Location doesn't work unless case matches
<Directory "/opt/novell/netstorage/webapp/WEB-INF/">
AllowOverride None
deny from all
</Directory>
# The following line prohibits users from directly accessing META-INF
<Location "/NetStorage/META-INF/">
deny from all
</Location>
# Use Directory too. On Windows, Location doesn't work unless case matches
<Directory "/opt/novell/netstorage/webapp/META-INF/">
AllowOverride None
deny from all
</Directory>
AddLanguage zh-tw .zh-tw
AddLanguage zh-cn .zh-cn
AddLanguage sk .sk
AddLanguage hu .hu
# The following lines makes apache aware of the location of the /NetStorage context
Alias /NetStorage "/opt/novell/netstorage/webapp"
Alias /netstorage "/opt/novell/netstorage/webapp"
<Directory "/opt/novell/netstorage/webapp">
Options +MultiViews
AllowOverride None
Order deny,allow
Allow from all
</Directory>
# Determine how to hook to Apache
<IfModule mod_proxy.c>
ProxyPass /NetStorage/servlet ajp://localhost:9009/NetStorage/servlet
</IfModule>
<IfModule mod_jk.c>
<IfModule !mod_proxy.c>
JkMount /NetStorage/servlet/* ajp13
JkMount /NetStorage/*.jsp ajp13
</IfModule>
</IfModule>
# The following section makes /NetStorage/servlet a protected resource.
<Location /NetStorage/servlet>
AuthType Novell
AuthName"AuthXTier"
require valid-user
Order deny,allow
Allow from all
</Location>
# The following line prohibits users from directly accessing WEB-INF
<Location "/NetStorage/WEB-INF/">
deny from all
</Location>
# Use Directory too. On Windows, Location doesn't work unless case matches
<Directory "/opt/novell/netstorage/webapp/WEB-INF/">
AllowOverride None
deny from all
</Directory>
# The following line prohibits users from directly accessing META-INF
<Location "/NetStorage/META-INF/">
deny from all
</Location>
# Use Directory too. On Windows, Location doesn't work unless case matches
<Directory "/opt/novell/netstorage/webapp/META-INF/">
AllowOverride None
deny from all
</Directory>
AddLanguage zh-tw .zh-tw
AddLanguage zh-cn .zh-cn
AddLanguage sk .sk
AddLanguage hu .hu