Cool, thanks for the tip! I think I've gotten the problem a little
bit more narrowed down now, but I'm running into permissions-hell. I
found out that I had the SGID's setup properly on /proteomics/analysis/
Corra/users directory, but since all of the subdirectories were owned
by tomcat, the corra user couldn't write in them properly. Here's
what I have so far in my directories (I've tried setting up the
permissions manually on the cparedes directory, but I'm going to go
through and reproduce what I ran into by using a new user, cparedes2:)
/proteomics/analysis/Corra/users
[root@cluster users]# ls -la
total 20
drwsrwsr-x 5 corra tomcat 4096 Jul 24 15:49 .
drwxr-xr-x 5 root root 4096 Jul 23 17:23 ..
drwxrwxr-x 4 corra tomcat 4096 Jul 24 12:58 cparedes
drwxr-sr-x 2 tomcat tomcat 4096 Jul 24 13:04 cparedes2
drwxr-sr-x 2 tomcat tomcat 4096 Jul 24 15:49 cparedes3
/proteomics/analysis/Corra/users/cparedes2
[root@cluster cparedes2]# ls -la
total 12
drwxr-sr-x 3 tomcat tomcat 4096 Jul 24 16:07 .
drwsrwsr-x 5 corra tomcat 4096 Jul 24 15:49 ..
drwxr-sr-x 2 tomcat tomcat 4096 Jul 24 16:07 New_Project
/proteomics/analysis/Corra/users/cparedes2/New_Project
[root@cluster New_Project]# ls -la
total 48
drwxr-sr-x 3 tomcat tomcat 4096 Jul 24 16:08 .
drwxr-sr-x 3 tomcat tomcat 4096 Jul 24 16:07 ..
-rw-r--r-- 1 tomcat tomcat 279 Jul 24 16:07 alignment_setup.xml
-rw-r--r-- 1 tomcat tomcat 11 Jul 24 16:08 alignment.status
-rw-r--r-- 1 tomcat tomcat 4033 Jul 24 16:08 corra.log
-rw-r--r-- 1 tomcat tomcat 935 Jul 24 16:08 feature_picking_setup.xml
-rw-r--r-- 1 tomcat tomcat 7 Jul 24 16:08 feature_picking.status
-rw-r--r-- 1 tomcat tomcat 1649 Jul 24 16:08 param.def
drwxr-sr-x 3 tomcat tomcat 4096 Jul 24 16:08 PBS
-rw-r--r-- 1 tomcat tomcat 2030 Jul 24 16:07 project_setup.xml
-rw-r--r-- 1 tomcat tomcat 505 Jul 24 16:07 statistics_setup.xml
-rw-r--r-- 1 tomcat tomcat 11 Jul 24 16:08 statistics.status
/proteomics/analysis/Corra/users/cparedes2/New_Project/PBS
[root@cluster PBS]# ls -la
total 36
drwxr-sr-x 3 tomcat tomcat 4096 Jul 24 16:08 .
drwxr-sr-x 3 tomcat tomcat 4096 Jul 24 16:08 ..
-rwxrwxrwx 1 tomcat tomcat 602 Jul 24 16:08
cparedes2_New_Project_SHFE_0.sh
-rwxrwxrwx 1 tomcat tomcat 602 Jul 24 16:08
cparedes2_New_Project_SHFE_1.sh
-rwxrwxrwx 1 tomcat tomcat 602 Jul 24 16:08
cparedes2_New_Project_SHFE_2.sh
-rwxrwxrwx 1 tomcat tomcat 600 Jul 24 16:08
cparedes2_New_Project_SHFE_3.sh
-rwxrwxrwx 1 tomcat tomcat 600 Jul 24 16:08
cparedes2_New_Project_SHFE_4.sh
-rwxrwxrwx 1 tomcat tomcat 600 Jul 24 16:08
cparedes2_New_Project_SHFE_5.sh
drwxr-sr-x 2 tomcat tomcat 4096 Jul 24 16:08 output
And nothing is inside ./output/. So I set the permissions on output
to corra:tomcat, which allowed the scripts to write into the output
directory, then I found out that the script cannot write into /var/
spool/pbs/mom_priv/jobs. So I made that owned by corra:tomcat + chmod
775, but that didn't work either!
-- Christian
On Jul 24, 3:40 pm, Mark Christiansen
<
mchristian...@systemsbiology.org> wrote:
> Hi Christian,
>
> Have you configured corra_webapp.properties? Specifically, the fields below
> are necessary to run the shell scripts.
>
> corra.scheduler.ssh.host=
> corra.scheduler.ssh.user=
> corra.scheduler.ssh.idfile=
>
> If you have configured this file, I would suggest running the shell scripts
> that were generated from within their directory as the same user specified
> above. By manually running the shell scripts, or looking at the PBS log
> file, you should be able to further troubleshoot why these shell scripts are
> failing.
>
> Regards,
>
> Mark
>