Problems after upgrade / new install

Started by acm3, September 05, 2005, 08:07:21 PM

Previous topic - Next topic

acm3

I spend the last 14 hours or so fixing my box.

I had an older toaster, so I basically went through a new install.

I went through, qmail installed fine.  Seemed to be working good at that point.  But, my apachec/mysql/php was broken at this point.

I spent the few hours getting that worked out (mostly).

I ended up with:
FreeBSD 4.11 Stable
Apache 1.3.33_Mod_SSL
MySQL 4.1
PHP 4.4.0

Now that I have those main functions working, I have the following problem with qmail.  I can't get the pop3/smtp to run.

This is what I get:
-su-2.05b# qmail stat
pop3: up (pid 5891) 0 seconds
send: up (pid 355) 1096 seconds
smtp: up (pid 5892) 0 seconds
submit: up (pid 5890) 0 seconds
pop3/log: up (pid 356) 1096 seconds
send/log: up (pid 358) 1096 seconds
smtp/log: up (pid 357) 1096 seconds
submit/log: up (pid 365) 1096 seconds

This is an entry from one of the logs:
/usr/libexec/ld-elf.so.1: Shared object "libmysqlclien
t.so.10" not found, required by "tcpserver"

I've tried to fix this with no luck, and I haven't found any other info on it.

Any insite on getting this patched up would be great.  Everything was working before I had to reinstall apache/mysql/php.

Regards,

Michael

matt

The mysql library that tcpserver was built against is now missing as a result of your MySQL upgrade. Delete the tcpserver binary or deinstall the ucspi-tcp port and then run toaster_setup.pl -s ucspi.

acm3

Thanks for that help.

That worked for the smtp/submit.  pop3 still won't stay up.  I even restarted the box, just incase I had  some freak thing holding it up.

Now this is the output:
-su-2.05b# qmail stat
pop3: up (pid 25193) 0 seconds
send: up (pid 25117) 47 seconds
smtp: up (pid 25115) 47 seconds
submit: up (pid 25119) 47 seconds
pop3/log: up (pid 25114) 47 seconds
send/log: up (pid 25118) 47 seconds
smtp/log: up (pid 25116) 47 seconds
submit/log: up (pid 25120) 47 seconds

And a few minutes later:
-su-2.05b# qmail stat
pop3: up (pid 1188) 1 seconds
send: up (pid 354) 247 seconds
smtp: up (pid 993) 56 seconds
submit: up (pid 997) 56 seconds
pop3/log: up (pid 357) 247 seconds
send/log: up (pid 359) 247 seconds
smtp/log: up (pid 356) 247 seconds
submit/log: up (pid 360) 247 seconds


I checked the log for the pop3, and this is it:
tcpserver: fatal: unable to bind: address already used

I'm not sure if that's normal for the pop3, since I my previous toaster did not utilize it yet.  If it's normal, then I won't worry about it.



matt

It's telling you that something else is bound to your POP3 port. Most likely, it's an older version of courier-pop3d. Make sure there are no run files for courier-pop3 in /usr/local/etc/rc.d. Kill any courier-tcpd processes that are listing to port 110. Then your qmail-pop3d will be able to bind to the pop3 port.

acm3

ahh...  That was it.

Still have an old pop3d.sh startup script.  Removed that and it working now.

The only other thing I noticed is that smtp/submit restarts about every 3-4 minutes...   Any ideas on what would be causing that?

There is also an old spamd.sh script, which I will assume should be removed also.

-su-2.05b# qmail stat
pop3: up (pid 318) 437 seconds
send: up (pid 323) 437 seconds
smtp: up (pid 1346) 14 seconds
submit: up (pid 1349) 14 seconds
pop3/log: up (pid 325) 437 seconds
send/log: up (pid 332) 437 seconds
smtp/log: up (pid 327) 437 seconds
submit/log: up (pid 331) 437 seconds

Ahh...

Checked the logs on the smtp, and I'm still getting this error occasionally:
/usr/libexec/ld-elf.so.1: Shared object "libmysqlclien
t.so.10" not found, required by "qmail-smtpd"

I would also assume that is the cause of the submit restarting, since there isn't anything in that log.

Just run toaster_setup.pl -s qmail ?? or is there a file I should remove first

Thanks for the quick help.  It's a lot easier to fix up then I thought it would be.