bav.sock missing
Moderator: moderator
bav.sock missing
We are having an issue with OpenEMM 6.0 on CentOS 5.
When we start OpenEMM, we get an error that bav.sock is missing:
Starting sendmails: listener WARNING: Xbav: local socket name /home/openemm/var/run/bav.sock missing
client queue clientmqueue admin queue mail queue done.
We have checked the following:
1) We have all the domains and forwarding set-up properly:
Hostname: lists.xxx.com (A & PTR record exist)
Sender: list.xxx.com (A & MX record exist) *** Notice the missing "s"
2) Sendmail is configured with the following at the end of the sendmail.mc:
INPUT_MAIL_FILTER(`bav', `S=unix:/home/openemm/var/run/bav.sock, F=T')dnl
3) mailertable is set-up with the appropriate domain:
list.xxx.com procmail:/home/openemm/conf/bav/bav.rc
4) Relay domains contains:
list.xxx.com
5) bav.conf-local exists with the following:
news@list.xxx.com alias:ext_1@list.xxx.com
I've restarted everything, machine, OpenEMM, and sendmail.
Any help would be appreciated.
-Scott
When we start OpenEMM, we get an error that bav.sock is missing:
Starting sendmails: listener WARNING: Xbav: local socket name /home/openemm/var/run/bav.sock missing
client queue clientmqueue admin queue mail queue done.
We have checked the following:
1) We have all the domains and forwarding set-up properly:
Hostname: lists.xxx.com (A & PTR record exist)
Sender: list.xxx.com (A & MX record exist) *** Notice the missing "s"
2) Sendmail is configured with the following at the end of the sendmail.mc:
INPUT_MAIL_FILTER(`bav', `S=unix:/home/openemm/var/run/bav.sock, F=T')dnl
3) mailertable is set-up with the appropriate domain:
list.xxx.com procmail:/home/openemm/conf/bav/bav.rc
4) Relay domains contains:
list.xxx.com
5) bav.conf-local exists with the following:
news@list.xxx.com alias:ext_1@list.xxx.com
I've restarted everything, machine, OpenEMM, and sendmail.
Any help would be appreciated.
-Scott
bav
this is the error message i got.
Jan 6 01:36:41 mail sendmail[20648]: o060afgZ020648: Milter (bav): local socket name /home/openemm/var/run/bav.sock unsafe
Jan 6 01:36:41 mail sendmail[20648]: o060afgZ020648: Milter (bav): to error state
Jan 6 01:36:41 mail sendmail[20648]: o060afgZ020648: Milter: initialization failed, temp failing commands
someone any idea?
Jan 6 01:36:41 mail sendmail[20648]: o060afgZ020648: Milter (bav): local socket name /home/openemm/var/run/bav.sock unsafe
Jan 6 01:36:41 mail sendmail[20648]: o060afgZ020648: Milter (bav): to error state
Jan 6 01:36:41 mail sendmail[20648]: o060afgZ020648: Milter: initialization failed, temp failing commands
someone any idea?
Re: bav
I habe the same issue:neat wrote:this is the error message i got.
Jan 6 01:36:41 mail sendmail[20648]: o060afgZ020648: Milter (bav): local socket name /home/openemm/var/run/bav.sock unsafe
Jan 6 01:36:41 mail sendmail[20648]: o060afgZ020648: Milter (bav): to error state
Jan 6 01:36:41 mail sendmail[20648]: o060afgZ020648: Milter: initialization failed, temp failing commands
someone any idea?
# OpenEMM.sh start
Starting sendmails: listener WARNING: Xbav: local socket name /home/openemm/var/run/bav.sock missing
# bav
Instance seems already to run, aborting.
-> But there no lock file!!
# strace bav
execve("/home/openemm/bin/bav", ["bav"], [/* 12 vars */]) = 0
[ Process PID=1858 runs in 32 bit mode. ]
brk(0) = 0x8059000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfffffffff7f39000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=26403, ...}) = 0
mmap2(NULL, 26403, PROT_READ, MAP_PRIVATE, 3, 0) = 0xfffffffff7f32000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib32/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0G\0\0004\0\0\0\330"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=107227, ...}) = 0
mmap2(NULL, 90592, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfffffffff7f1b000
mmap2(0xf7f2e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12) = 0xfffffffff7f2e000
mmap2(0xf7f30000, 4576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xfffffffff7f30000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib32/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0^e\1\0004\0\0\0t"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1372396, ...}) = 0
mmap2(NULL, 1382000, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xfffffffff7dc9000
mmap2(0xf7f15000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14b) = 0xfffffffff7f15000
mmap2(0xf7f18000, 9840, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xfffffffff7f18000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xfffffffff7dc8000
set_thread_area(0xff915208) = 0
mprotect(0xf7f15000, 4096, PROT_READ) = 0
munmap(0xf7f32000, 26403) = 0
set_tid_address(0xf7dc8908) = 1858
set_robust_list(0xf7dc8910, 0xc) = 0
futex(0xff915660, FUTEX_WAKE_PRIVATE, 1) = -1 ENOSYS (Function not implemented)
rt_sigaction(SIGRTMIN, {0x4f7f1f240, [], 0}, NULL,

rt_sigaction(SIGRT_1, {0x10000004f7f1f620, [], 0}, NULL,

rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL,

getrlimit(RLIMIT_STACK, {rlim_cur=-4286578688, rlim_max=-163208757232}) = 0
uname({sys="Linux", node="openemm", ...}) = 0
brk(0) = 0x8059000
brk(0x807a000) = 0x807a000
umask(0133) = 022
open("var/lock/bav.lock", O_WRONLY|O_CREAT|O_EXCL, 0644) = -1 ENOENT (No such file or directory)
open("var/lock/bav.lock", O_RDONLY) = -1 ENOENT (No such file or directory)
open("var/lock/bav.lock", O_WRONLY|O_CREAT|O_EXCL, 0644) = -1 ENOENT (No such file or directory)
umask(022) = 0133
write(2, "Instance seems already to run, ab"..., 41Instance seems already to run, aborting.
) = 41
exit_group(1) = ?
Dear agnitas...
Please change the binary of bav.... so that it is possible to specify the path of the socket of bav.
IT SEEMS to BE hardcoded in binary what a shame...
If you start ./bin/bav it will tell you that the socket does not exist. According to the sendmail log entry it will take some time to find out.
Please change the binary of bav.... so that it is possible to specify the path of the socket of bav.
IT SEEMS to BE hardcoded in binary what a shame...
If you start ./bin/bav it will tell you that the socket does not exist. According to the sendmail log entry it will take some time to find out.
-
- Posts: 2
- Joined: Tue Apr 09, 2013 4:45 pm
Re: bav.sock missing
So.... did anyone ever get this fixed?????