LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Refresh Exim4 uid list (https://www.linuxquestions.org/questions/linux-software-2/refresh-exim4-uid-list-875621/)

rbeserie 04-18-2011 07:41 AM

Refresh Exim4 uid list
 
Hi,

A have multiple servers installed by different admins, and each severs use their own user/uid list and that's giving me headache when I try to sync files between them. So I changed users uid to have the same list on all my servers using a script to modifiy the user's uid, gid and all the files concerned by this modification.

Each time I change a uid, Exim4 fills it's panic log with :
Code:

2011-04-18 12:16:01 Failed to get user name for uid 1004
2011-04-18 12:24:01 Failed to get user name for uid 1004
2011-04-18 12:30:01 Failed to get user name for uid 1003
2011-04-18 12:32:02 Failed to get user name for uid 1004
2011-04-18 12:40:01 Failed to get user name for uid 1004
2011-04-18 12:48:01 Failed to get user name for uid 1004
2011-04-18 12:56:02 Failed to get user name for uid 1004
2011-04-18 13:00:01 Failed to get user name for uid 1003
2011-04-18 13:00:01 Failed to get user name for uid 1004
2011-04-18 13:08:01 Failed to get user name for uid 1004
2011-04-18 13:16:01 Failed to get user name for uid 1004
2011-04-18 13:24:01 Failed to get user name for uid 1004
2011-04-18 13:30:02 Failed to get user name for uid 1003
2011-04-18 13:32:01 Failed to get user name for uid 1004
2011-04-18 13:40:02 Failed to get user name for uid 1004
2011-04-18 13:48:01 Failed to get user name for uid 1004
2011-04-18 13:56:02 Failed to get user name for uid 1004
2011-04-18 14:00:01 Failed to get user name for uid 1003
2011-04-18 14:00:01 Failed to get user name for uid 1004
2011-04-18 14:08:01 Failed to get user name for uid 1004
2011-04-18 14:16:01 Failed to get user name for uid 1004
2011-04-18 14:24:01 Failed to get user name for uid 1004

(Uid 1004 and 1003 are dosn' exist anymore. the user was moved from uid 1004 to 1001, and 1003 was changed to 1002.)
I have the chance to have a few servers that are not used all the time. After rebooting, those messages stopped appearing. But what can I do to get rid of them on servers I cannot reboot ?

I tried restarting the exim4 services, but it did not help.

rbeserie 04-19-2011 03:38 AM

Hi every one,

I have been reading a bit about this issue.
And I don't think any more that the problem comes from exim. It's something to do with 'refreshing' system uid/gid list. From what I have been reading, there is no solution to that. As for security reasons, there is no way to update the environment security without logging off and back on. Since system cannot be logged off, I guess my only way out of this messy situation is to reboot the server.


All times are GMT -5. The time now is 08:15 AM.