run_log not generated

Post Reply
connerms
Posts: 5
Joined: Thu Jun 11, 2020 4:16 pm
Full Name: Mike C
Organization: Grinnell College

run_log not generated

Post by connerms »

I don't know for sure that this problem is related to External Authentication, but that is the change that was introduced so I'm posting the question here. After enabling external authentication and setting jobs to be submitted to the external batch scheduler under the WebMO user's system UID, my externally authentication user is unable to run jobs. The error that appears after attempting to submit the job is:

Software error:
Cannot open file /home/webmo/webmo/connerms/13808/run_log: No such file or directory at text_dump.cgi line 77.

I have used system ACLs to allow the webmo system user (under which WebMO runs) to write to the connerms users' home directory and to allow the connerms user to write to the /home/webmo/webmo/connerms directory. I've tried symlinking the directories, first one direction, then the other, but haven't been able to get past this error.

Any help is appreciated. Thanks!

schmidt
Posts: 82
Joined: Sat May 30, 2020 3:00 pm
Full Name: JR Schmidt
Organization: WebMO, LLC

Re: run_log not generated

Post by schmidt »

Approach this in steps. Initially, do NOT select the option to store jobs in user home directories (and certainly do not make symlinks manually!). Let's focus on just getting jobs running under the users UID. Here are some detailed instructions:

https://www.webmo.net/link/help/Externa ... ation.html

Note that, in particular, you need to configure 'sudo' to allow this to work properly. You may need to check your system logs and batch queue logs, in addition to the webmo error log, to see if additional error messages are being generated. The fact that no run log is created strong suggests that the job has not even been properly submitted to the batch queue. This should be easy to verify via the appropriate logs.

Post Reply