Operating System - HP-UX
1832512 Members
4756 Online
110043 Solutions
New Discussion

Clean UUCP -Failed..... huh?

 
Jenifer Martins
Advisor

Clean UUCP -Failed..... huh?

During bootup, the Clean UUCP (failed). I did find out where it was located, but I haven't a clue what to do about it.

rc.log says: /var/spool/uucp dir unreadable
Error Code1
/sbin/rc2.d/S202clean_uucp start - FAILED

Any suggestions. Thanks in advance
6 REPLIES 6
James R. Ferguson
Acclaimed Contributor

Re: Clean UUCP -Failed..... huh?

Hi Jenifer:

The directory /var/spool/uucp should have permissions (755) and ownerships like this:

drwxr-xr-x uucp daemon

...JRF...
A. Clay Stephenson
Acclaimed Contributor

Re: Clean UUCP -Failed..... huh?

Hi Jennifer:

It appears that your /var/spool/uucp directory is corrupt. I would remove and recreate it like this:
marvin:/var/spool/uucp:>ls -la
total 4
drwxr-xr-x 6 uucp daemon 1024 Apr 7 1998 .
dr-xr-xr-x 14 bin bin 1024 Apr 30 1998 ..
lrwxr-xr-t 1 root sys 16 Apr 7 1998 .Admin -> /var/uucp/.A
dmin
drwxr-x--- 2 uucp daemon 96 Mar 5 1997 .Corrupt
lrwxr-xr-t 1 root sys 14 Apr 7 1998 .Log -> /var/uucp/.Log
lrwxr-xr-t 1 root sys 14 Apr 7 1998 .Old -> /var/uucp/.Old
drwxr-x--- 2 uucp daemon 96 Mar 5 1997 .Sequence
lrwxr-xr-t 1 root sys 17 Apr 7 1998 .Status -> /var/uucp/.
Status
drwxr-x--- 2 uucp daemon 96 Mar 5 1997 .Workspace
drwxr-x--- 2 uucp daemon 96 Mar 5 1997 .Xqtdir

Make sure you create the symbolic links using ln -s.

Clay
If it ain't broke, I can fix that.
Jenifer Martins
Advisor

Re: Clean UUCP -Failed..... huh?

Hi Clay... Hi Jim,
Thanks for the help. The permissions for the UUCP file were fine. Clay mentioned it might be corrupt, so I tried what he said. When I did the command: marvin:/var/spool/uucp:>ls -la... it said "not found". Each day, I learn more about this HP-UX system, but I am unfamilar with this command. Do I remove the /var/spool/uucp first, then run the command. Or do I just run the command. I didn't remove it yet. Also, what is the UUCP anyway. I've tried to look it up in reference books, but I can't find it. Please advise.
thanks,
Jenifer
James R. Ferguson
Acclaimed Contributor

Re: Clean UUCP -Failed..... huh?

Hi Jenifer:

'uucp' stands for Unix-to-Unix-Copy. For more information (and some external references) do a 'man uucp'.

As root, do this:

# cd /var/spool/uucp
# ls -al

You should see the directories and links as Clay posted above. If you do not, then create them appropriately (with the correct permissions and ownership). Don't worry about the links with a "t" --- these are transition links. Making symbolic links with 'ln -s' should work just fine.

In fact, post the contents of /var/spool/uucp that you have, please.

...JRF...
Jenifer Martins
Advisor

Re: Clean UUCP -Failed..... huh?

Hi Jim,
The /var/spool/uucp file currently shows:
lrwxrwxrwt 1 root sys 16 Aug 27 09:41 .Admin -> /var/uucp/.Admin
drwxr-x--- 2 uucp daemon 96 Aug 27 09:42 .Corrupt
lrwxrwxrwt 1 root sys 14 Aug 27 09:41 .Log -> /var/uucp/.Log
lrwxrwxrwt 1 root sys 14 Aug 27 09:41 .Old -> /var/uucp/.Old
drwxr-x--- 2 uucp daemon 96 Aug 27 09:42 .Sequence
lrwxrwxrwt 1 root sys 17 Aug 27 09:41 .Status -> /var/uucp/.Status
drwxr-x--- 2 uucp daemon96 Aug 27 09:42 .Workspace
drwxr-x--- 2 uucp daemon 96 Aug 27 09:42 .Xqtdir

I am not sure what all this means :)
Thanks
Jenifer Martins
Advisor

Re: Clean UUCP -Failed..... huh?

Jim,
The listing of my /var/spool/uucp is posted above. The only difference between mine and what Clay posted was that .Log, .Old, and .Status are lrwxr-xr-t and mine say lrwxrwxrwt. Because they are linked, chmod isn't working. Like I said before I am a new admin, I have been learning lots of stuff, but I haven't encountered this before.
Thanks again,
Jenifer