Problems running "at" command


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Problems running "at" command
# 1  
Old 03-02-2005
Problems running "at" command

I used to be able to run "at".
Then I started getting "can't open job file in the /var/spool/cron/atjobs directory".
Based on a newsgroup thread's advice, I logged in as root and entered "chmod 4755 /usr/bin/at" and then got "at: you are not authorized to use at. Sorry.".

In trying to put things back as they were, I entered "chmod 777 /usr/bin/at" but now I get
"at: 0481-166 The auditproc function failed with errno 1.
at: 0481-108 You are not authorized to use the at command."

I'm REALLY stuck, so any help gratefully received.

Chris
# 2  
Old 03-02-2005
Check the at.allow file. Make sure you have the appropriate ID entries in there.
# 3  
Old 03-02-2005
disk full

there was no var/adm/cron/at.allow so I tried to create one - but it says the disk is full (which i guess was th problem in the first place). So how do I clear some space and how do i put things back the way they were?

Chris
# 4  
Old 03-02-2005
Umm...thats a good question!! Since its your environment I think you are the best person to answer that question (not trying to be mean!) But as a start, you should be rotating/trimming your log files. Look for core files that can be removed (these tend to be large files). Run a find to find all files greater than a specific size. Determine if you can safely remove them. Make sure your users have not dumped large files in tmp.
# 5  
Old 03-07-2005
Fixed it!

I got some help from a guy in my office, who freed up some space (mail files or something) and explained about 4-digit chmod values (I'd never heard of them). Once I'd set that right and got rid of any allow and deny files, it was fixed.

Thanks for your help, google.

Chris
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

2. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

3. Shell Programming and Scripting

Execution problems with the jar -tvf command and "if" logic

Hi, I am reading a directory that has a list of jar files. I am searching these files for specific keywords. What i would like to do is write the address of the jar file to a new file if the search result is returned as false. For example; /home/user/JarDirectory/Examplefile.jar ... (2 Replies)
Discussion started by: crunchie
2 Replies

4. HP-UX

script running with "ksh" dumping core but not with "sh"

Hi, I have small script written in korn shell. When it is called from different script, its dumping core, but no core dump when we run it standalone. And its not dumping core if we run the script using "/bin/sh" instead of "ksh" Can some body please help me how to resolve this issue. ... (9 Replies)
Discussion started by: simhe02
9 Replies

5. Shell Programming and Scripting

Command to find out "count" of running process ?

Hello Experts, Can any one help me out to find the command to get "count" of number of processes running in system. Basically i want to write one crone job to kill some process which making my system hanged. so have to do following things. 1) Find out the number of processes is running.... (4 Replies)
Discussion started by: MITESH KOTHARI
4 Replies

6. UNIX for Advanced & Expert Users

Running command "md5" on remote host not working.

My question is very strange. I can run ls command on remote host using ssh successfully. but when i try to run /sbin/md5 command on remote host. it doesnt run and get back to me on command prompt. md5 command is exist on remote host. This is what i tried which ran successfully. Query -... (1 Reply)
Discussion started by: ynilesh
1 Replies

7. UNIX for Advanced & Expert Users

Problems with "set pka0_host_id 6" command

I need to change the pka0_host_id 7 to 6 but the command "set pka0_host_id 6" returns "pka0_host_id protected from attempted operation". How can i do that? please i need some answers soon!!!!! thanx (1 Reply)
Discussion started by: Lestat
1 Replies

8. HP-UX

Problems with "show device" command

I have a DS25 and when i run "show device" don't appear my 'dka.....' and 'dkb....' devices, but i know they must be there, where could be the error? what can i do to see them? (3 Replies)
Discussion started by: Lestat
3 Replies

9. UNIX for Advanced & Expert Users

Problems with "show device" command

I have a DS25 and when i run "show device" don't appear my 'dka.....' and 'dkb....' devices, but i know they must be there, where could be the error? what can i do to see them? I'm using Tru64 PD: Im so sorry if i repeat this Q but i really need an answer and i dunno where to ask... (6 Replies)
Discussion started by: Lestat
6 Replies

10. UNIX for Dummies Questions & Answers

Problems with "set pka0_host_id 6" command

I need to change the pka0_host_id 7 to 6 but the command "set pka0_host_id 6" returns "pka0_host_id protected from attempted operation". How can i do that? please i need some answers soon!!!!! thanx (1 Reply)
Discussion started by: Lestat
1 Replies
Login or Register to Ask a Question