SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=header): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_topmenu.inc' line 5

ClearOS Bug Tracker


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002851ClearOSapp-mail-filter - Mail Filter Enginepublic2015-05-25 08:422015-05-25 09:12
Reporterbchambers 
Assigned Touser2 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version7.1.0 Beta 1 
Target Version7.1.0 Beta 2Fixed in Version7.1.0 Beta 2 
Summary0002851: Amavis doesn't start
DescriptionEven though mail gets delivered (using Postfix, cyrus etc.) Amavis is not happy:

May 25 10:41:02 cos7b1.lan amavis[25050]: SpamControl: scanner SpamAssassin, module Amavis::SpamControl::SpamAssassin
May 25 10:41:02 cos7b1.lan amavis[25050]: INFO: SA version: 3.4.0, 3.004000, no optional modules: Net::CIDR::Lite Sys::Hostname::Long Razor2::Client::Agent IP::Coun...
May 25 10:41:02 cos7b1.lan amavis[25050]: SpamControl: init_pre_chroot on SpamAssassin done
May 25 10:41:02 cos7b1.lan amavis[25079]: Net::Server: Process Backgrounded
May 25 10:41:02 cos7b1.lan amavis[25079]: (!)Net::Server: 2015/05/25-10:41:02 Couldn't open pid file "/var/run/amavisd/amavisd.pid" [Permission denied].\n.../Server.pm
May 25 10:41:02 cos7b1.lan amavis[25079]: Net::Server: 2015/05/25-10:41:02 Server closing!
May 25 10:41:02 cos7b1.lan amavisd[25045]: Starting amavisd: [ OK ]
May 25 10:41:02 cos7b1.lan systemd[1]: PID file /var/run/amavisd/amavisd.pid not readable (yet?) after start.
May 25 10:41:02 cos7b1.lan systemd[1]: Failed to start SYSV: AMaViS virus scanner..
May 25 10:41:02 cos7b1.lan systemd[1]: Unit amavisd.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.

In my devel environment, there is no /var/run/amavisd folder. A pid file gets created, but it is a broken sym link:

lrwxrwxrwx 1 root root 28 May 25 10:41 amavisd.pid -> /var/run/amavisd/amavisd.pid
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001571)
user2
2015-05-25 09:06

Unable to duplicate. What version of amavisd-new is installed (should be 2.10.1-1.v7)? Does the /usr/lib/tmpfiles.d/amavisd-new.conf exist? That's what creates the /var/run/amavisd directory via systemd.
(0001581)
bchambers (administrator)
2015-05-25 09:10

Sorry! Close issue.

[root@cos7b1 libraries]# rpm -qv amavisd-new
amavisd-new-2.6.6-4.v7.noarch

I did try and upgrade but missed the 'd' in the package name.

Upgraded to 2.10.1....all good.

- Issue History
Date Modified Username Field Change
2015-05-25 08:42 bchambers New Issue
2015-05-25 09:06 user2 Note Added: 0001571
2015-05-25 09:07 user2 Status new => acknowledged
2015-05-25 09:10 bchambers Note Added: 0001581
2015-05-25 09:12 user2 Status acknowledged => resolved
2015-05-25 09:12 user2 Resolution open => no change required
2015-05-25 09:12 user2 Assigned To => user2
2015-05-25 09:12 user2 Status resolved => closed
2015-05-25 09:12 user2 Fixed in Version => 7.1.0 Beta 2

SYSTEM WARNING: 'file_get_contents(https://www.clearos.com/?rendertype=json&get=footer): failed to open stream: Connection refused' in '/var/www/virtual/newwrapper/cf_footer.inc' line 7