Re: [vchkpw] Issue with 64 bit

2005-10-10 Thread Jeremy Kitchen
On Thursday 15 September 2005 03:10 pm, Tom Collins wrote:
 On Sep 15, 2005, at 1:02 PM, sparky wrote:
  You need to recompile vpopmail with the -fPIC option.
 
  Common error due to vpopmail's stubborn refusal to use libtool.
  ===
  ===
 
  I went back and complied vpopmail with the -fPIC option ./configure
  CFLAGS=-fPIC and the issue remained.
 
  any ideas?

 Try using the attached makefiles (apologies for sending a 10K file to
 the list, but it should help others until I get the next vpopmail
 release out).

at least it's not a full vpopmail source tree (with binaries)  =P

besides, the list server has a fat pipe now, so it shouldn't matter.

-Jeremy

-- 
Jeremy Kitchen ++ [EMAIL PROTECTED]

In the beginning was The Word and The Word was Content-type: text/plain
  -- The Word of Bob.


pgppREQS6rcAt.pgp
Description: PGP signature


[vchkpw] Issue with 64 bit

2005-09-15 Thread sparky

Hello,

This question started out on the qmail rocks list. The thought was that 
the issue might be with courier-imap. However, when posted to the 
courier-imap list it was suggested that it is an issue with vpopmail.


Although I have had many successful installs of qmail/vpopmail/sqwebmail 
or squirell mail this is my first
time putting it on a 64 bit system. At this point, I am not sure what 
piece of the puzzle is really causing the problem. Courier, vpopmail, I 
imagine that it is also possible that the c libraries on the server may 
not be properly installed.


So what I need to know, is this a known issue? has anyone else ever had 
this issue? If someone has, what is the solution?


The original sys admin had to take off to help some of his family in New 
Orlenes and I stepped into the project at the last minute in emergency 
mode.



Here is the original question:

===
I'm almost there with this install qmail, vpopmail, courier-imap etc. on 
SuSE 9.x Ent.


I think but I'm not sure that this issue has something to do with the 
fact that the machine is a 64 bit machine. I'm getting this in the 
mail.info log Symbol `read' causes overflow in R_X86_64_PC32 relocation.


When I run the test from qmr on the imap install the following happens

Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE 
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=U
NION STARTTLS] Courier-IMAP ready. Copyright 1998-2005 Double Precision, 
Inc.  See COPYING for distribution information.


a login [EMAIL PROTECTED]
a NO Error in IMAP command received by server.
a login [EMAIL PROTECTED] password here
* BYE Temporary problem, please try again later
Connection closed by foreign host.

which looks right but doesn't log me in. (Obviously)

The result is logged in mail.info (yes I know the date is wrong, I 
didn't set up the machine. I'll get to it)


Sep 11 14:05:01 mail authdaemond: stopping authdaemond children
Sep 11 14:05:01 mail imapd: LOGIN FAILED, [EMAIL PROTECTED], 
ip=[:::127.0.0.1]

Sep 11 14:05:01 mail authdaemond: restarting authdaemond children
Sep 11 14:05:01 mail imapd: authentication error: Input/output error
Sep 11 14:05:01 mail authdaemond: modules=authvchkpw, daemons=5
Sep 11 14:05:01 mail authdaemond: Uninstalling authvchkpw
Sep 11 14:05:01 mail authdaemond: Installing libauthvchkpw
Sep 11 14:05:01 mail authdaemond: 
/usr/local/libexec/courier-authlib/authdaemond: Symbol `read' causes 
overflow in R_X86

_64_PC32 relocation
Sep 11 14:05:01 mail authdaemond: 
/usr/local/libexec/courier-authlib/authdaemond: Symbol 
`__errno_location' causes overf

low in R_X86_64_PC32 relocation
Sep 11 14:05:01 mail authdaemond: 
/usr/local/libexec/courier-authlib/authdaemond: Symbol 
`__errno_location' causes overf

low in R_X86_64_PC32 relocation
Sep 11 14:05:01 mail authdaemond: Installation complete: authvchkpw

It seems like authdaemond is running

mail:/var/log # ps aux | grep authda
root 16250  0.0  0.0  2452  488 ?S14:24   0:00 
/usr/local/sbin/courierlogger -pid=/usr/local/var/spool/a

uthdaemon/pid -start /usr/local/libexec/courier-authlib/authdaemond
root 16251  0.0  0.0 10432  704 ?S14:24   0:00 
/usr/local/libexec/courier-authlib/authdaemond
root 16283  0.0  0.0 10432  704 ?S14:25   0:00 
/usr/local/libexec/courier-authlib/authdaemond
root 16284  0.0  0.0 10432  704 ?S14:25   0:00 
/usr/local/libexec/courier-authlib/authdaemond
root 16285  0.0  0.0 10432  704 ?S14:25   0:00 
/usr/local/libexec/courier-authlib/authdaemond
root 16286  0.0  0.0 10432  704 ?S14:25   0:00 
/usr/local/libexec/courier-authlib/authdaemond
root 16287  0.0  0.0 10432  704 ?S14:25   0:00 
/usr/local/libexec/courier-authlib/authdaemond

root 16391  0.0  0.0  3676  744 pts/0S+   14:31   0:00 grep authda
mail:/var/log #

= 




This is the reply from the courier-imap list:

= 


sparky writes:


Sep 11 14:05:01 mail authdaemond: Installing libauthvchkpw
Sep 11 14:05:01 mail authdaemond: 
/usr/local/libexec/courier-authlib/authdaemond: Symbol `read' causes 
overflow in R_X86

_64_PC32 relocation




You need to recompile vpopmail with the -fPIC option.

Common error due to vpopmail's stubborn refusal to use libtool.
== 



I went back and complied vpopmail with the -fPIC option ./configure 
CFLAGS=-fPIC and the issue remained.


any ideas?


sparky





Re: [vchkpw] Issue with 64 bit

2005-09-15 Thread Tom Collins

On Sep 15, 2005, at 1:02 PM, sparky wrote:

You need to recompile vpopmail with the -fPIC option.

Common error due to vpopmail's stubborn refusal to use libtool.
=== 
===


I went back and complied vpopmail with the -fPIC option ./configure  
CFLAGS=-fPIC and the issue remained.


any ideas?


Try using the attached makefiles (apologies for sending a 10K file to  
the list, but it should help others until I get the next vpopmail  
release out).


If using libtool would solve this problem (and hopefully others), I'm  
all for using it.  Please email a response to the poster on the  
courier-imap list that we're open to making the change if he/she can  
describe the benefits and point us in the right direction to make use  
of it.  Have him/her contact me directly, I'd love to have someone  
overhaul the vpopmail configure/build system.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet:  
sniffter.com




makefile-fpic.tgz
Description: GNU Zip compressed data


Re: [vchkpw] Issue with 64 bit

2005-09-15 Thread sparky
I will put together a page and try to munge together the conversation 
thread and host the make file you sent me at


http://www.nonstarvingartists.com/Members/sparky/qmail

I will try to get the page thrown together by sometime friday (tomarrow) 
afternoon.


Thanks

sparky


Tom Collins wrote:


On Sep 15, 2005, at 1:02 PM, sparky wrote:


You need to recompile vpopmail with the -fPIC option.

Common error due to vpopmail's stubborn refusal to use libtool.
=== 
===


I went back and complied vpopmail with the -fPIC option ./configure  
CFLAGS=-fPIC and the issue remained.


any ideas?



Try using the attached makefiles (apologies for sending a 10K file to  
the list, but it should help others until I get the next vpopmail  
release out).


If using libtool would solve this problem (and hopefully others), I'm  
all for using it.  Please email a response to the poster on the  
courier-imap list that we're open to making the change if he/she can  
describe the benefits and point us in the right direction to make use  
of it.  Have him/her contact me directly, I'd love to have someone  
overhaul the vpopmail configure/build system.


--
Tom Collins  -  [EMAIL PROTECTED]
QmailAdmin: http://qmailadmin.sf.net/  Vpopmail: http://vpopmail.sf.net/
You don't need a laptop to troubleshoot high-speed Internet:  
sniffter.com