04-16-2009
Solaris 10 / NetApp volumes - Forbidden: You don't have permission to access...
Hi all
We have a couple of solaris zones running a jboss app in a cluster. Each zone has a shared netapp volume mounted to /app/xxx with everything under that subdir apart from jboss which is local to each zone in /app/jboss-3.2.5
There is a symlink in /app/xxx/jboss-3.2.5 which points to /app/jboss-3.2.5
Both apps need to share some of the same content directories under the following jboss subdir using symlinks:
/app/jboss-3.2.5/server/instance1/deploy/cjoc.war/data -> /app/xxx/jboss325dirs/data
/app/jboss-3.2.5/server/instance1/deploy/cjoc.war/js -> /app/xxx/jboss325dirs/js
/app/jboss-3.2.5/server/instance1/deploy/cjoc.war/images -> /app/xxx/jboss325dirs/images
/app/jboss-3.2.5/server/instance1/deploy/cjoc.war/css -> /app/xxx/jboss325dirs/css
This is where the problem lies. If I try to view a .css or image file or anything under one of those shared symlinked directories I get:
"Forbidden
You don't have permission to access /css/print.css on this server."
This is strange as we have the exact same setup as this for the same type of app and there is no problem with the symlinks.
The apache error logs show:
Symbolic link not allowed or link target not accessible: /app/xxx/jboss-3.2.5/server/instance1/deploy/cjoc.war/css
I would appreciate any advice or input on this matter.
Thanks
Steve.
Sorry, forgot to say that we have added the appropriate FollowSymLinks directives in apache conf and tried all sorts of permissions variations on the dirs and files themselves right up to 777.
Last edited by skewbie; 04-16-2009 at 05:37 AM..
Reason: Update
9 More Discussions You Might Find Interesting
1. Solaris
I have this problem when i integrate a new san switch in DFM 3.01 R1 :
dfm fcswitch add switchname1
Error: Host switchname2 (11197) already exists.
switchname2 is a similar san switch but in another fabric, switchname2 is already integrated in DFM database.
Bests Regards
Olivier (2 Replies)
Discussion started by: omainfroy
2 Replies
2. Solaris
Hi,
I need to increase a veritas filesystem I have currently mounted on a Solaris 10 server. We can resize the LUN on the NetApp filer no problem. What I need to know is what do I do next on the Solaris 10 server I have so that it will see the increase in size. Do I run 'devfsadm' to... (3 Replies)
Discussion started by: gwhelan
3 Replies
3. Solaris
Hi,
I've just edited this post. I found the solution for this. Thanks. (0 Replies)
Discussion started by: gwhelan
0 Replies
4. AIX
How to allow Windows platform to access Unix(AIX) based disk volumes? (2 Replies)
Discussion started by: rainbow_bean
2 Replies
5. Web Development
Hello,
I've set all permissions for all on my Server folders:
chmod a+rwx ServerFolder
When I browse to localhost:8000 I receive the following error:
You don't have permission to access / on this server.
why ?
thanks (9 Replies)
Discussion started by: aneuryzma
9 Replies
6. Red Hat
i have httpd installed on RHEL5 webserver
but i have linked
#ln -s /rhelREPO /var/www/html/rhel5
/rhelREPO contains all 5cds of RHEL and it is a mount of /dev/sdb1
ip: 192.168.1.133 :works /var/www/html/index.html content is in browser
ip: 192.168.1.133/rhel5 :does not work... (1 Reply)
Discussion started by: dplinux
1 Replies
7. Solaris
I try to use setfacl command to change the permission of the group primary it does not accept the command , it really accept but don't change the permission on the group. the point here I read that if I use chmod command on group primary the mask changed, but if I use setfacl mask should not... (0 Replies)
Discussion started by: hard_revenge
0 Replies
8. UNIX for Dummies Questions & Answers
Hi,
A file is transferred from a Windows server(say username : user1) to Unix server via ftp.
In unix, the permission of the file for a user, say user2 will be "-rw-r-----". Since the user1 is the owner of the file, user2 is not able to change the file permission using chmod.
Is there... (5 Replies)
Discussion started by: merin
5 Replies
9. Solaris
Hi
I have NetApp lun, that was mounted on server as a file system that failed, and that server is no longer in use, but I would like to use that file system on another server. The NetApp Admin, told me he can present that lun to my other system, but my problem is how to mount it? Because that... (8 Replies)
Discussion started by: fretagi
8 Replies
LEARN ABOUT DEBIAN
plack::app::cascade
Plack::App::Cascade(3pm) User Contributed Perl Documentation Plack::App::Cascade(3pm)
NAME
Plack::App::Cascade - Cascadable compound application
SYNOPSIS
use Plack::App::Cascade;
use Plack::App::URLMap;
use Plack::App::File;
# Serve static files from multiple search paths
my $cascade = Plack::App::Cascade->new;
$cascade->add( Plack::App::File->new(root => "/www/example.com/foo")->to_app );
$cascade->add( Plack::App::File->new(root => "/www/example.com/bar")->to_app );
my $app = Plack::App::URLMap->new;
$app->map("/static", $cascade);
$app->to_app;
DESCRIPTION
Plack::App::Cascade is a Plack middleware component that compounds several apps and tries them to return the first response that is not
404.
METHODS
new
$app = Plack::App::Cascade->new(apps => [ $app1, $app2 ]);
Creates a new Cascade application.
add
$app->add($app1);
$app->add($app2, $app3);
Appends a new application to the list of apps to try. You can pass the multiple apps to the one "add" call.
catch
$app->catch([ 403, 404 ]);
Sets which error codes to catch and process onwards. Defaults to 404.
AUTHOR
Tatsuhiko Miyagawa
SEE ALSO
Plack::App::URLMap Rack::Cascade
perl v5.14.2 2011-12-04 Plack::App::Cascade(3pm)