Can not run gps 1.004 on AIX 5.2

Hi,

I got the following messages in the mail log:

gps[1106064]: started (ver.: 1.004 built: Apr 16 2005 21:24:19)
postfix/spawn[884782]: warning: command /usr/local/bin/ps killed by signal 6
_______________________________________________________^^
Aaaarrrgh, make that gps (somehow cut & paste went wrong).
Sorry for the confusion.

postfix/smtpd[1118220]: warning: premature end-of-input on private/policy while reading input attribute name
postfix/smtpd[1118220]: warning: problem talking to serer private/policy: Error 0

Does anybody has a clue what went wrong here?

Thanx in advance.

Lothar

Post Edited (05-06-05 22:11)

Forums: 

Hallo Lothar

seems you have a typing mistake in your configuration:
/etc/postfix/master.cf:
policy unix - n n - - spawn
user=nobody argv=/usr/local/bin/gps /usr/local/etc/gps.conf

Your log output suggests that you have /usr/local/bin/ps there (ps->gps)

Hope this helps

Hi Lothar

what happens when you run gps from commandline:
/usr/local/bin/gps -v /usr/local/etc/gps.conf < tests/testinput4.txt

Please post relevant lines from your maillog and /usr/local/etc/gps.conf and any output you should get.

mimo wrote:

> Hi Lothar
>
> what happens when you run gps from commandline:
> /usr/local/bin/gps -v /usr/local/etc/gps.conf <
> tests/testinput4.txt
>
> Please post relevant lines from your maillog and
> /usr/local/etc/gps.conf and any output you should get.

I got the following:

terminate called after throwing an instance of 'std::bad_cast'
what(): St8bad_cast
IOT/Abort trap (core dumped)

This are the contents of my /usr/local/etc/gps.conf :

mode=init
dbtype=mysql
db_host=localhost
db_username=gps
db_password=xxxxxxx
db_dbname=greylist
timeout=3600

Greetings, Lothar

Post Edited (05-08-05 21:52)

Hi Lothar,

is there anything it puts in your sys/maillog? Also, did you compile the libdbi and libdbd-mysql driver on that machine? I am asking because we noticed today that the precompiled debian versions dont work well together for gps (segfault).