I get the following error, but I've run check_perms -f and I have no errors---
I recall this happening once before, but I cannot recall what the problem was. Any suggestions???
-john
Jul 13 03:05:25 niflheim postfix/smtpd[20268]: fatal: open database /etc/aliases.db: Bad file descriptor Jul 13 03:05:26 niflheim postfix/master[12748]: warning: process /usr/libexec/postfix/smtpd pid 20268 exit status 1 Jul 13 03:05:26 niflheim postfix/master[12748]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
-- View this message in context: http://www.nabble.com/Error---can%27t-open-aliases.db-tf4071765.html#a115716... Sent from the Mailman - Users mailing list archive at Nabble.com.
Check to see if the soft links are there. I just went through the rmlist command yesterday and gave up and did it manually. I should have paid more attention to the obvious errors. I found that my legacy soft links were not in /etc/mailmain. I've migrated my data so many times through different OS's, that I messed that up. I think it would work now if I had to.
On Thu, July 12, 2007 10:34 pm, Hydro John wrote:
I get the following error, but I've run check_perms -f and I have no
errors---
I recall this happening once before, but I cannot recall what the
problem
was. Any suggestions???
-john
Jul 13 03:05:25 niflheim postfix/smtpd[20268]: fatal: open database /etc/aliases.db: Bad file descriptor Jul 13 03:05:26 niflheim postfix/master[12748]: warning: process /usr/libexec/postfix/smtpd pid 20268 exit status 1 Jul 13 03:05:26 niflheim postfix/master[12748]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
-- View this message in context: http://www.nabble.com/Error---can%27t-open-aliases.db-tf4071765.html#a115716... Sent from the Mailman - Users mailing list archive at Nabble.com.
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/unix%40bikesn4x4s.com
Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
Sorry, I set this up so long ago, I don't remember the basic config info... but I don't see any links? And the aliases file in /etc/aliases is definitely different from /etc/mailman/aliases... not to mention the /etc/aliases.db file being empty:
[root@myserver etc]# ls -la ali* -rw-rw-r-- 1 mailman mailman 1512 Mar 23 09:54 aliases -rw-r--r-- 1 root root 2914 Mar 23 09:53 aliases.bak -rw-rw-r-- 1 mailman mailman 0 Jul 1 18:19 aliases.db [root@myserver etc]# ls -la /etc/mailman/ali* -rw-rw---- 1 root mailman 4218 May 15 14:50 /etc/mailman/aliases -rw-rw---- 1 mailman mailman 12288 May 15 14:50 /etc/mailman/aliases.db
Would you mind providing just a bit more info?? Thanks, j
Paul-239 wrote:
Check to see if the soft links are there. I just went through the rmlist command yesterday and gave up and did it manually. I should have paid more attention to the obvious errors. I found that my legacy soft links were not in /etc/mailmain. I've migrated my data so many times through different OS's, that I messed that up. I think it would work now if I had to.
On Thu, July 12, 2007 10:34 pm, Hydro John wrote:
I get the following error, but I've run check_perms -f and I have no
errors---
I recall this happening once before, but I cannot recall what the
problem
was. Any suggestions???
-john
Jul 13 03:05:25 niflheim postfix/smtpd[20268]: fatal: open database /etc/aliases.db: Bad file descriptor Jul 13 03:05:26 niflheim postfix/master[12748]: warning: process /usr/libexec/postfix/smtpd pid 20268 exit status 1 Jul 13 03:05:26 niflheim postfix/master[12748]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
-- View this message in context: http://www.nabble.com/Error---can%27t-open-aliases.db-tf4071765.html#a115716... Sent from the Mailman - Users mailing list archive at Nabble.com.
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/unix%40bikesn4x4s.com
Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/lists%40nabble.com
Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
-- View this message in context: http://www.nabble.com/Error---can%27t-open-aliases.db-tf4071765.html#a115770... Sent from the Mailman - Users mailing list archive at Nabble.com.
That is strange that your /etc/aliases is owned by mailman. Dunno what is going on there. Something looks awry there.
The soft link I made to the target:
lrwxrwxrwx 1 root mailman 29 Jul 12 00:15 /etc/mailman/aliases -> /var/lib/mailman/data/aliases
On Fri, July 13, 2007 6:48 am, Hydro John wrote:
Sorry, I set this up so long ago, I don't remember the basic config info... but I don't see any links? And the aliases file in /etc/aliases is
definitely different from /etc/mailman/aliases... not to mention the /etc/aliases.db file being empty:
[root@myserver etc]# ls -la ali* -rw-rw-r-- 1 mailman mailman 1512 Mar 23 09:54 aliases -rw-r--r-- 1 root root 2914 Mar 23 09:53 aliases.bak -rw-rw-r-- 1 mailman mailman 0 Jul 1 18:19 aliases.db [root@myserver etc]# ls -la /etc/mailman/ali* -rw-rw---- 1 root mailman 4218 May 15 14:50 /etc/mailman/aliases
-rw-rw---- 1 mailman mailman 12288 May 15 14:50 /etc/mailman/aliases.db
Would you mind providing just a bit more info?? Thanks, j
Paul-239 wrote:
Check to see if the soft links are there. I just went through the rmlist command yesterday and gave up and did it manually. I should have paid
more attention to the obvious errors. I found that my legacy soft links
I get the following error, but I've run check_perms -f and I have no errors--- I recall this happening once before, but I cannot recall what the
were not in /etc/mailmain. I've migrated my data so many times through different OS's, that I messed that up. I think it would work now if I had to. On Thu, July 12, 2007 10:34 pm, Hydro John wrote: problem
was. Any suggestions??? -john Jul 13 03:05:25 niflheim postfix/smtpd[20268]: fatal: open database /etc/aliases.db: Bad file descriptor Jul 13 03:05:26 niflheim postfix/master[12748]: warning: process /usr/libexec/postfix/smtpd pid 20268 exit status 1 Jul 13 03:05:26 niflheim postfix/master[12748]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
View this message in context: http://www.nabble.com/Error---can%27t-open-aliases.db-tf4071765.html#a115716... Sent from the Mailman - Users mailing list archive at Nabble.com.
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/unix%40bikesn4x4s.com Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/lists%40nabble.com Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
-- View this message in context: http://www.nabble.com/Error---can%27t-open-aliases.db-tf4071765.html#a115770... Sent from the Mailman - Users mailing list archive at Nabble.com.
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/unix%40bikesn4x4s.com
Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
To find your alias files and ownerships:
ls -lhd find / -name aliases
On Fri, July 13, 2007 9:08 am, Paul wrote:
That is strange that your /etc/aliases is owned by mailman. Dunno what is going on there. Something looks awry there.
The soft link I made to the target:
lrwxrwxrwx 1 root mailman 29 Jul 12 00:15 /etc/mailman/aliases -> /var/lib/mailman/data/aliases
On Fri, July 13, 2007 6:48 am, Hydro John wrote:
Sorry, I set this up so long ago, I don't remember the basic config info... but I don't see any links? And the aliases file in /etc/aliases is
definitely different from /etc/mailman/aliases... not to mention the /etc/aliases.db file being empty:
[root@myserver etc]# ls -la ali* -rw-rw-r-- 1 mailman mailman 1512 Mar 23 09:54 aliases -rw-r--r-- 1 root root 2914 Mar 23 09:53 aliases.bak -rw-rw-r-- 1 mailman mailman 0 Jul 1 18:19 aliases.db [root@myserver etc]# ls -la /etc/mailman/ali* -rw-rw---- 1 root mailman 4218 May 15 14:50 /etc/mailman/aliases
-rw-rw---- 1 mailman mailman 12288 May 15 14:50 /etc/mailman/aliases.db
Would you mind providing just a bit more info?? Thanks, j
Paul-239 wrote:
Check to see if the soft links are there. I just went through the rmlist command yesterday and gave up and did it manually. I should have paid
more attention to the obvious errors. I found that my legacy soft links
I get the following error, but I've run check_perms -f and I have no errors--- I recall this happening once before, but I cannot recall what the
were not in /etc/mailmain. I've migrated my data so many times through different OS's, that I messed that up. I think it would work now if I had to. On Thu, July 12, 2007 10:34 pm, Hydro John wrote: problem
was. Any suggestions??? -john Jul 13 03:05:25 niflheim postfix/smtpd[20268]: fatal: open database /etc/aliases.db: Bad file descriptor Jul 13 03:05:26 niflheim postfix/master[12748]: warning: process /usr/libexec/postfix/smtpd pid 20268 exit status 1 Jul 13 03:05:26 niflheim postfix/master[12748]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
View this message in context: http://www.nabble.com/Error---can%27t-open-aliases.db-tf4071765.html#a115716... Sent from the Mailman - Users mailing list archive at Nabble.com.
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/unix%40bikesn4x4s.com Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/lists%40nabble.com Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
-- View this message in context: http://www.nabble.com/Error---can%27t-open-aliases.db-tf4071765.html#a115770... Sent from the Mailman - Users mailing list archive at Nabble.com.
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/unix%40bikesn4x4s.com
Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/unix%40bikesn4x4s.com
Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
Frustraiting! No aliases file in /var/lib/mailman/data/... it must be that the file in /etc/mailmain/ is the one (or at least it looks like the one) that the service should be using...
Just a side note. I started python from the command line, and tried to 'from Mailman import *' and there is no module named Mailman (or) mailman... that seems to me like it could be a problem?! Recently I did a yum install of python-mysql, I wonder if that's related??? I feel like perhaps I should start over with the mailman installation.... :s
-j
Paul-239 wrote:
To find your alias files and ownerships:
ls -lhd
find / -name aliases
-- View this message in context: http://www.nabble.com/Error---can%27t-open-aliases.db-tf4071765.html#a115802... Sent from the Mailman - Users mailing list archive at Nabble.com.
Hydro John wrote:
Frustraiting! No aliases file in /var/lib/mailman/data/... it must be that the file in /etc/mailmain/ is the one (or at least it looks like the one) that the service should be using...
In a normal installation with Mailman/Postfix integration enabled via
MTA = 'Postfix'
in mm_cfg.py, the Mailman aliases are in Mailman's data/ directory. It seems that you are manually putting Mailman aliases in /etc/aliases and making the group of /etc/aliases* 'mailman' to get around group mismatch errors. This should be OK, but why Postfix doesn't like/find /etc/aliases.db is a Postfix question, not a Mailman question.
Just a side note. I started python from the command line, and tried to 'from Mailman import *' and there is no module named Mailman (or) mailman... that seems to me like it could be a problem?!
This is normal. Try Mailman's
bin/withlist -i
command or try
import sys sys.path.append('/path/to/~mailman/')
or cd to ~mailman before starting Python before trying to import from Mailman.
I.e., Mailman has to be in Python's search path and it isn't if you just start Python in an arbitrary directory.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Hydro John wrote:
Frustraiting! No aliases file in /var/lib/mailman/data/... it must be that the file in /etc/mailmain/ is the one (or at least it looks like the one) that the service should be using...
It sounds like you're using a Red Hat or Fedora packaged mailman. In those distros, mailman is patched to try and put the files in locations more in line with the FHS (for distro consistency and SELinux integration). This can be confusing if you're following the standard mailman docs or asking for help here.
You can see a mapping of the standard locations to the changed locations in the INSTALL.REDHAT file. That way you can translate the advice you'll get here into what you need for your system.
For the benefit of others, that file is available in the Fedora cvs tree here:
http://cvs.fedora.redhat.com/viewcvs/*checkout*/rpms/mailman/F-7/mailman.INS...
-- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
Many questions are unanswerable.
Many answers are questionable.
participants (4)
-
Hydro John
-
Mark Sapiro
-
Paul
-
Todd Zullinger