Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-06-2007, 09:47 PM   #1
LQ Newbie
Registered: Oct 2006
Posts: 2

Rep: Reputation: 0
Job submission on cluster

Hi there,

I am working on a Linux cluster, writing a CGI to automatically submit job.
But the user 'apache', who is running the CGI does not have the privileges to submit job.
Could anyone suggest me how I can go around that problem?

Old 03-09-2007, 09:01 AM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
I'm figuring that you are trying to use the "at" command to submit a job and that you want the job to run on the same node as the process that submits it.

at -f now
That command will submit the file named to a queue and will run it immediately.

First you have to configure your system to run the "atd" daemon. That is one of the scripts in the /etc/init.d directory. It is probably called atd or at.

Then you have to see if your system has a file called at.deny and possibly another file called at.allow. If those files don't exist then DON'T CREATE THEM. If these exist then they may be located in the /etc directory. If either or both of these files exist then see if there are any entries in either file. These would be user account names. Make sure that the user account that you want to allow use of the at command is not in the at.deny file and is in the at.allow file.

Make sure that the executable file that you want to submit to a queue is given the executable attribute.

Make sure that the file that you want to submit to a queue is not located on a partition that is mounted with the "noexec" attribute.

Report back here what happens and if you are successful.

Last edited by stress_junkie; 03-09-2007 at 09:07 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Hitting the Cluster Wall - A Study in Cluster Optimization LXer Syndicated Linux News 0 06-27-2006 12:33 PM
php script to automate links submission osio Linux - Software 0 04-14-2006 08:07 AM
Capture at job number upon submission AmyBVT Programming 4 03-10-2006 12:31 AM
multipart form submission encoding problem in Suse jodi SUSE / openSUSE 0 12-28-2004 07:16 AM
sendmail opend submission ciphe Slackware 0 11-20-2003 08:12 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration