Date: Tue, 6 Mar 2012 08:39:24 -0500 From: Vick Khera <vivek@khera.org> To: emulation@freebsd.org Subject: errors running powermta in linuxalator Message-ID: <CALd%2Bdce4QP4PGBp8jb9rU3pvXxX-FiH8jTVHVuE7mG7=iYe4jw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I'm evaluating the PowerMTA software, which comes as a linux i686 RPM. Under FreeBSD 9.0 with the linuxalator loaded, and the linux_base-f10 port installed. To get this to run, I had to also extract the contents of the following RPMs: pam-1.1.1 and audit-libs-2.1.3-3 which I grabbed from a CentOS 6.2 disk. When I start the daemon, it says this now: # pmtad --debug 2012-03-06 08:25:46 Startup error: Error enumerating local IP addresses: Error reading interface addresses (getifaddrs), status = EAFNOSUPPORT Luckily, they have a workaround for getifaddrs() missing in "older kernels", but then it fails because it seemingly cannot create the command socket: # env PMTA_USE_GETIFADDRS=0 pmtad --debug 2012-03-06 08:33:24 PowerMTA(TM) v4.0r5 (2012-01-04 04:04:59, 32-bit; tags/v4_0r5@13637) starting 2012-03-06 08:33:24 Copyright(c) 1999-2012, Port25 Solutions, Inc. All Rights Reserved. 2012-03-06 08:33:24 Current time: Tue, 6 Mar 2012 08:33:24 -0500 2012-03-06 08:33:24 Host names: [192.168.7.96] [127.0.0.1] vk-dev.int.kcilink.com localhost.int.kcilink.com localhost 2012-03-06 08:33:24 Domain suffix: int.kcilink.com 2012-03-06 08:33:24 Name servers: 192.168.7.3 192.168.100.100 2012-03-06 08:33:24 SMTP source IP addresses: 2012-03-06 08:33:24 virtual MTA "{default}": (any local) 2012-03-06 08:33:24 Domain Keys: 2012-03-06 08:33:24 OS: Linux 2.6.16 (Fedora release 10 (Cambridge)) 2012-03-06 08:33:24 glibc v2.9 (stable), NPTL 2.9 2012-03-06 08:33:24 OpenSSL 1.0.0d 8 Feb 2011 2012-03-06 08:33:24 1/1 CPU (i686) 2012-03-06 08:33:24 -1 MB memory detected (-1 MB usable) 2012-03-06 08:33:24 Priority nice range: min. 15, max. 0 2012-03-06 08:33:24 Use of realtime priorities disabled 2012-03-06 08:33:24 Max. opened files: 230400, max. threads: infinite 2012-03-06 08:33:24 Max. virtual memory: unlimited, max. data size: 536870912 2012-03-06 08:33:24 Using license key XXXXXXXXXXXXXXXXXXX 2012-03-06 08:33:24 Spool initialization starting 2012-03-06 08:33:24 Spool /var/spool/pmta 2012-03-06 08:33:24 0 files, 0 directories, nextDir=0 2012-03-06 08:33:24 Total of 0 files in use 2012-03-06 08:33:24 Maximum number of recipients (based on system resources): -750 2012-03-06 08:33:24 Running under user root (uid 0); group wheel (gid 0), other group(s): kmem, sys, tty, operator 2012-03-06 08:33:24 Resolver: multi, 4 dispatchers 2012-03-06 08:33:24 SMTP Listener at 0.0.0.0:25 starting 2012-03-06 08:33:24 SMTP Listener at 0.0.0.0:25 stopped 2012-03-06 08:33:25 Stopping remaining threads... 2012-03-06 08:33:25 Startup error: Error starting thread: Error binding to unix socket /var/run/pmta/command, status = ENOENT Note also that it detects "-1 MB memory" which is weird... must be another missing system call. At this point, it seems I will have to actually run a CentOS machine to use this software, which saddens me to no end.. but this is not the place to gripe about how painful that is. Anyhow, are these issues worth filing PR's? Also, is there some technical reason that the linuxalator base is x86 and not available in 64-bit variant? The PowerMTA software also comes as 64-bit which increases the memory it can use.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALd%2Bdce4QP4PGBp8jb9rU3pvXxX-FiH8jTVHVuE7mG7=iYe4jw>