HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sendmail issue - alias database automatically ...
Operating System - HP-UX
1834142
Members
2295
Online
110064
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2006 04:18 AM
05-03-2006 04:18 AM
sendmail issue - alias database automatically rebuilt
Does anyone know what would cause my alias database to be re-built automatically by root?
We had a strange mail delivery problem and then found the alias file at zero bytes. No one with root access cleared this out, and then I saw this in the mailllog:
alias database /etc/aliases autorebuilt by root
What process would check that the alias file was changed and then run the "newalias" command automatically?
We had a strange mail delivery problem and then found the alias file at zero bytes. No one with root access cleared this out, and then I saw this in the mailllog:
alias database /etc/aliases autorebuilt by root
What process would check that the alias file was changed and then run the "newalias" command automatically?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2006 04:32 AM
05-03-2006 04:32 AM
Re: sendmail issue - alias database automatically rebuilt
Could be a 'newalias' command or the 'sendmail -bi' command. Either way, the commands do not run automatically by default - would need to invoke them manually or put in cron (or something similar).
Was the sendmail daemon stopped/started? This could do it.
But it was working on a 0 byte alias file. Was there any info in the alias file?
Was the sendmail daemon stopped/started? This could do it.
But it was working on a 0 byte alias file. Was there any info in the alias file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2006 04:40 AM
05-03-2006 04:40 AM
Re: sendmail issue - alias database automatically rebuilt
Shalom Debbie,
It could a newalias command.
But it does not happen by itself. There is a script or cron job doing it.
find / -exec grep -l newalias {} \;
That will give you a list of suspects. Check it against cron and other scripts and you may be on the road to finding it.
Problem here is the alias file is set to zero bytes. The newalias command rebuilds sendmail databases based on /etc/aliases.
Something else hammered the /etc/aliases file.
Possible causes:
1) cron script, find command above could be modified to find the culprit.
2) root filesystem got full. On some HP-Ux releases important files can get zeroed out when this happens.
SEP
It could a newalias command.
But it does not happen by itself. There is a script or cron job doing it.
find / -exec grep -l newalias {} \;
That will give you a list of suspects. Check it against cron and other scripts and you may be on the road to finding it.
Problem here is the alias file is set to zero bytes. The newalias command rebuilds sendmail databases based on /etc/aliases.
Something else hammered the /etc/aliases file.
Possible causes:
1) cron script, find command above could be modified to find the culprit.
2) root filesystem got full. On some HP-Ux releases important files can get zeroed out when this happens.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP