[Bug 251377] Re: Problems with amavisd-new: cannot start the service
As a result of trial in the cut -and-try! # cd /etc/amavis/conf.d #cat cat 05-domain_id ... #chomp($mydomain = `head -n 1 /etc/mailname`); chomp($mydomain = kkuma.mydns.jp); ... #cat 05-node_id ... #chomp($myhostname = `hostname --fqdn`); chomp($myhostname = ubuntu.kkuma.mydns.jp --fqdn); ... It works when you change as described above . # hostname ubuntu -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to amavisd-new in Ubuntu. https://bugs.launchpad.net/bugs/251377 Title: Problems with amavisd-new: cannot start the service To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/amavisd-new/+bug/251377/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 251377] Re: Problems with amavisd-new: cannot start the service
Norway2, I just build a new karmic server from scratch and amavis service doesn't start by default unless the hostname is a FQDN. But an error is displayed on the console when this is the case (e.g. hostname being karmic): Starting amavisd: head: cannot open `/etc/mailname' for reading: No such file or directory The value of variable $myhostname is karmic, but should have been a fully qualified domain name; perhaps uname(3) did not provide such. You must explicitly assign a FQDN of this host to variable $myhostname in /etc/amavis/conf.d/05-node_id, or fix what uname(3) provides as a host's network name! (failed). Either having /etc/mailname or defining a FQDN for the host is mandatory and service amavis states so quite clearly, IMHO. Could have happened that you missed this message above? In any case, if you still experience issues starting amavis i think a new, different bug should be open. -- Problems with amavisd-new: cannot start the service https://bugs.launchpad.net/bugs/251377 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to amavisd-new in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 251377] Re: Problems with amavisd-new: cannot start the service
I would like to add a note of confirmation that this bug is still alive. I updated my server to 9.10 (Karmic) this last Sunday and upon doing so noticed that amavis was not starting upon reboot. I could successfully issue a command 'sudo /etc/init.d/amavis start' and it would start without error. I scoured the logs and could not find any sort of indication as to the trouble. Normally, I have amavis listening on port 10024 for output from postfix. Neither the amavis processes appeared in a ps list nor was any process listening on this port. I was able to 'resolve' this issue by explicitly setting $mydomain=my.fqdn in the amavis configruation file 50-user. I confirmed that undoing this setting resulted in a return of the problem and restoring it corrects the situation. Further investigation in the mail.warn log shows that there was a potential problem at least a week prior to my updating to 9.10, but the situation suddenly corrected itself. I assume that this was due to a cron task restarting amavis. I also located this post on ubuntu forums.org that lead me to the 'fix'. Apparently this was an issue several years ago, became a non-issue as I successfully ran a server for almost a year without it, and then became an issue again. Re:http://ubuntuforums.org/showthread.php?t=277838 I also encountered threads suggesting a problem with Perl updates and missing libraries, but these did not provide resolution. -- Problems with amavisd-new: cannot start the service https://bugs.launchpad.net/bugs/251377 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to amavisd-new in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 251377] Re: Problems with amavisd-new: cannot start the service
Nope, I dont have it anymore in my current Kubuntu 9.10 server. Cheers. 2010/1/29 Alex Muntada al...@alexm.org @Gustavo, can you confirm that this bug can we closed then? AFAICS it's been solved, but I'd like your opinion. -- Problems with amavisd-new: cannot start the service https://bugs.launchpad.net/bugs/251377 You received this bug notification because you are a direct subscriber of the bug. -- Gustavo A. Díaz GDNet Projects www.gdnet.com.ar -- Problems with amavisd-new: cannot start the service https://bugs.launchpad.net/bugs/251377 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to amavisd-new in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 251377] Re: Problems with amavisd-new: cannot start the service
We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again! ** Changed in: amavisd-new (Ubuntu) Status: Incomplete = Invalid -- Problems with amavisd-new: cannot start the service https://bugs.launchpad.net/bugs/251377 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to amavisd-new in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 251377] Re: Problems with amavisd-new: cannot start the service
It's been a while since the last comment on this issue, can anyone confirm that the problem is still present? Thanks a lot. ** Changed in: amavisd-new (Ubuntu) Status: Triaged = Incomplete -- Problems with amavisd-new: cannot start the service https://bugs.launchpad.net/bugs/251377 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to amavisd-new in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 251377] Re: Problems with amavisd-new: cannot start the service
About the -T switch it refers to the perl -T option (Perl tainted mode), see man perlrun for details. -- Problems with amavisd-new: cannot start the service https://bugs.launchpad.net/bugs/251377 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to amavisd-new in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 251377] Re: Problems with amavisd-new: cannot start the service
I still have this blacklisted as it continue with the freezes if not. 2010/1/27 Alex Muntada al...@alexm.org About the -T switch it refers to the perl -T option (Perl tainted mode), see man perlrun for details. -- Problems with amavisd-new: cannot start the service https://bugs.launchpad.net/bugs/251377 You received this bug notification because you are a direct subscriber of the bug. -- Gustavo A. Díaz GDNet Projects www.gdnet.com.ar -- Problems with amavisd-new: cannot start the service https://bugs.launchpad.net/bugs/251377 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to amavisd-new in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 251377] Re: Problems with amavisd-new: cannot start the service
@Gustavo I just installed a fresh 8.04.04 (still being tested, to be released tomorrow IIRC) and amavisd-new doesn't argue about perl -T switch. Moreover, file /etc/amavis/conf.d/05-node_id has changed and now uses hostname command instead of tailing /etc/mailname. Can you try it out when 8.04.04 is released? -- Problems with amavisd-new: cannot start the service https://bugs.launchpad.net/bugs/251377 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to amavisd-new in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
Re: [Bug 251377] Re: Problems with amavisd-new: cannot start the service
Ups.. sorry... i've replied in the wrong bug report. 2010/1/27 Gustavo A. Díaz gustavo.d...@gmail.com I still have this blacklisted as it continue with the freezes if not. 2010/1/27 Alex Muntada al...@alexm.org About the -T switch it refers to the perl -T option (Perl tainted mode), see man perlrun for details. -- Problems with amavisd-new: cannot start the service https://bugs.launchpad.net/bugs/251377 You received this bug notification because you are a direct subscriber of the bug. -- Gustavo A. Díaz GDNet Projects www.gdnet.com.ar -- Gustavo A. Díaz GDNet Projects www.gdnet.com.ar -- Problems with amavisd-new: cannot start the service https://bugs.launchpad.net/bugs/251377 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to amavisd-new in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 251377] Re: Problems with amavisd-new: cannot start the service
** Changed in: amavisd-new (Ubuntu) Importance: Undecided = Low ** Changed in: amavisd-new (Ubuntu) Status: New = Triaged -- Problems with amavisd-new: cannot start the service https://bugs.launchpad.net/bugs/251377 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to amavisd-new in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 251377] Re: Problems with amavisd-new: cannot start the service
See if any of these directories are world writable: ls -ld / ls -ld /usr ls -ld /bin ls -ld /sbin ls -ld /usr/bin ls -ld /usr/sbin ls -ld /usr/local ls -ld /usr/local/bin ls -ld /usr/local/sbin http://www.mail-archive.com/amavis- u...@lists.sourceforge.net/msg02464.html My problem was /usr/local/bin permission 777 Have a nice day Marko -- Problems with amavisd-new: cannot start the service https://bugs.launchpad.net/bugs/251377 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to amavisd-new in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 251377] Re: Problems with amavisd-new: cannot start the service
Is this problem solved, since this morning out of the blue I have the same problem. I do not understand the mesage Error in config file /etc/amavis/conf.d/05-domain_id: Insecure directory in $ENV{PATH} while running with -T switch at /etc/amavis/conf.d/05-domain_id line 7. I am using intrepid amavis 2.6.1. in mailname is only the name of my server Like to hear -- Problems with amavisd-new: cannot start the service https://bugs.launchpad.net/bugs/251377 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to amavisd-new in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 251377] Re: Problems with amavisd-new: cannot start the service
Oh and before I forget I do not understand running with -T switch. What is trying to run with -T switch -- Problems with amavisd-new: cannot start the service https://bugs.launchpad.net/bugs/251377 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to amavisd-new in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 251377] Re: Problems with amavisd-new: cannot start the service
This what says in that line: chomp($mydomain = `head -n 1 /etc/mailname`); -- Problems with amavisd-new: cannot start the service https://bugs.launchpad.net/bugs/251377 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to amavisd-new in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs