![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Loop problem with one more problem | aliahsan81 | Shell Programming and Scripting | 2 | 09-23-2008 02:52 AM |
| problem in finding a hardware problem | girish.batra | SUN Solaris | 8 | 09-09-2008 07:10 AM |
| ssh script problem problem | pcjandyala | Shell Programming and Scripting | 2 | 07-31-2008 12:27 PM |
| problem with dd command or maybe AFS problem | Anta | Shell Programming and Scripting | 0 | 08-25-2006 07:10 AM |
| SSH Problem auth problem | budrito | UNIX for Advanced & Expert Users | 1 | 03-17-2004 07:12 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
makemap problem
I have been running "/usr/sbin/makemap hash /etc/mail/access < /etc/mail/access' for years now with no problem. Suddenly I am getting a hang on it. I have the following permissions of the files:
20 -rw-r--r-- 1 root other 9667 Sep 26 19:19 access 0 -rw-r--r-- 1 root other 0 Sep 26 16:10 access.db I am at a loss. Is there a way to debug makemap that I am unaware of? Perhaps a parser for the access file? Mike |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
OK, here's what I did. I had an old access.db file available - I moved it into the empty access.db's place and ran makemap with the -v flag. Voila, it made the database as it should. I dunno why, but it worked.
Mike "It never fails to amaze me how little I actually know and how much less I understand" - Me |
|
#3
|
|||
|
|||
|
makemap includes sysexits.h
IF you read sysexits.h you will see various values and what there meaning is - example:EX_USAGE (64) is returned when parameters are bad for example. Check the return value and see what the problem is. IF you get a value, then run makemap under strace and locate what system call it is choking on. Most of the time it has been EX_CANTCREATE for me. strace illuminates the problem file that cant be opened. |
|||
| Google The UNIX and Linux Forums |