Sponsored Content
Operating Systems Solaris Solaris 10 / NetApp volumes - Forbidden: You don't have permission to access... Post 302307676 by skewbie on Thursday 16th of April 2009 04:24:18 AM
Old 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

Use DFM Netapp 3.01 R1 on Solaris 8

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

Netapp filer LUN Resize. Commands to run on Solaris afterwards.

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

Can't see Netapp LUN on Solaris using LPFC after reboot.

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 based disk volumes

How to allow Windows platform to access Unix(AIX) based disk volumes? (2 Replies)
Discussion started by: rainbow_bean
2 Replies

5. Web Development

You don't have permission to access / on this server.

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

httpd : You don't have permission

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

setfacl don't change permission on group owner

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

Change unix permission when I don't own the file

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

How to mount a NetApp snapshoot to a Solaris server?

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
OCF_HEARTBEAT_JBOSS(7)						OCF resource agents					    OCF_HEARTBEAT_JBOSS(7)

NAME
ocf_heartbeat_jboss - Manages a JBoss application server instance SYNOPSIS
jboss [start | stop | status | monitor | meta-data | validate-all] DESCRIPTION
Resource script for Jboss. It manages a Jboss instance as an HA resource. SUPPORTED PARAMETERS
resource_name The name of the resource. Defaults to the name of the resource instance. (unique, optional, string, default default) console A destination of the log of jboss run and shutdown script. (unique, optional, string, no default) shutdown_timeout Timeout for jboss bin/shutdown.sh. We wait for this timeout to expire, then send the TERM and QUIT signals. Finally, the KILL signal is used to terminate the jboss process. You should set the timeout for the stop operation to a value bigger than the sum of the timeout parameters. See also kill_timeout. (optional, integer, default 5) kill_timeout If bin/shutdown.sh doesn't stop the jboss process, then we send it TERM and QUIT signals, intermittently and once a second. After this timeout expires, if the process is still live, we use the KILL signal. See also shutdown_timeout. (optional, integer, default 10) user A user name to start a JBoss. (optional, string, default root) statusurl URL to test in the monitor operation. (optional, string, default http://127.0.0.1:8080) java_home Home directory of Java. Defaults to the environment variable JAVA_HOME. If it is not set, then define this parameter. (optional, string, no default) jboss_home Home directory of Jboss. (unique, required, string, no default) pstring With this string heartbeat matches for the right process to kill. (optional, string, default java -Dprogram.name=run.sh) run_opts Start options to start Jboss with, defaults are from the Jboss-Doku. (optional, string, default -c default -l lpg4j) shutdown_opts Stop options to stop Jboss with. (optional, string, default -s 127.0.0.1:1099) SUPPORTED ACTIONS
This resource agent supports the following actions (operations): start Starts the resource. Suggested minimum timeout: 60s. stop Stops the resource. Suggested minimum timeout: 120s. status Performs a status check. Suggested minimum timeout: 30s. monitor Performs a detailed status check. Suggested minimum timeout: 30s. Suggested interval: 10s. meta-data Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5s. validate-all Performs a validation of the resource configuration. Suggested minimum timeout: 5. EXAMPLE
The following is an example configuration for a jboss resource using the crm(8) shell: primitive p_jboss ocf:heartbeat:jboss params jboss_home=string op monitor depth="0" timeout="30s" interval="10s" SEE ALSO
http://www.linux-ha.org/wiki/jboss_(resource_agent) AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors) resource-agents UNKNOWN 03/09/2014 OCF_HEARTBEAT_JBOSS(7)
All times are GMT -4. The time now is 06:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy