LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   qmail can not receive message (https://www.linuxquestions.org/questions/linux-software-2/qmail-can-not-receive-message-575771/)

lianbinjie 08-08-2007 10:28 PM

qmail can not receive message
 
Recently, I install qmail mail system. but when I test it ,the qmail can send message to other mail system, but can not receive message from other mail system. and in the log have some error :

@4000000046ba873803e28f6c new msg 504841
@4000000046ba873803e3a4c4 info msg 504841: bytes 1584 from <lianbinjie@163.com> qp 32438 uid 50018
@4000000046ba873807304754 starting delivery 1: msg 504841 to local jktoo.com-lian@jktoo.com
@4000000046ba873807307a1c status: local 1/10 remote 0/120
@4000000046ba873807776e2c delivery 1: deferral: /home/vpopmail/bin/vdelivermail:_error_while_loading_shared_libraries:_libmysqlclient.so.14:_cannot_open_shared_object_ file:_No_such_file_or_directory/
@4000000046ba87380777b47c status: local 0/10 remote 0/120

The process information is correct:
[root@jktoo lib]# ps -ef|grep qmail
root 1976 14391 0 Aug07 ? 00:00:00 supervise qmail-send
root 1991 14391 0 Aug07 ? 00:00:00 supervise qmail-smtpd
root 2001 14391 0 Aug07 ? 00:00:00 supervise qmail-pop3d
qmaill 32401 14405 0 11:16 ? 00:00:00 multilog t s100000 n20 /var/log/qmail/qmail-send
qmails 32403 1976 0 11:16 ? 00:00:00 qmail-send
qmaill 32404 32354 0 11:16 ? 00:00:00 multilog t s100000 n20 /var/log/qmail/qmail-pop3d
root 32406 2001 0 11:16 ? 00:00:00 tcpserver -H -R -v -c100 0 110 qmail-popup mail.jktoo.com /home/vpopmail/bin/vchkpw qmail-pop3d Maildir
vpopmail 32407 1991 0 11:16 ? 00:00:00 /usr/local/bin/tcpserver -v -R -l mail.jktoo.com -x /etc/tcp.smtp.cdb -c 20 -u 50018 -g 50006 0 smtp /var/qmail/bin/qmail-smtpd mail.jktoo.com /home/vpopmail/bin/vchkpw /usr/bin/true
qmaill 32408 14407 0 11:16 ? 00:00:00 multilog t s100000 n20 /var/log/qmail/qmail-smtpd
root 32413 32403 0 11:16 ? 00:00:00 qmail-lspawn ./Maildir
qmailr 32414 32403 0 11:16 ? 00:00:00 qmail-rspawn
qmailq 32415 32403 0 11:16 ? 00:00:00 qmail-clean
root 566 29667 0 11:26 pts/1 00:00:00 grep qmail

I do not know how to resolve this problem.
please help me
thanks advance.

my system Platform is Redhat linux as4

jay73 08-08-2007 10:43 PM

Is this one installed: libmysqlclient?

lianbinjie 08-08-2007 11:26 PM

Quote:

Originally Posted by jay73
Is this one installed: libmysqlclient?

this is my mysql directory, I install mysql by mysql-4.1.12.tar.gz
Onboard client,

[root@jktoo src]# find / -name mysql
find: /proc/4181/task: No such file or directory
/var/lib/mysql
/var/lib/mysql/mysql
/var/lock/subsys/mysql
/home/mail/php-4.4.2/ext/mysql
/usr/bin/mysql
/usr/lib/mysql
/usr/local/mysql
/usr/local/mysql/bin/mysql
/usr/local/mysql/share/mysql
/usr/local/mysql/lib/mysql
/usr/local/mysql/include/mysql
/usr/src/php-4.4.2/ext/mysql
/usr/src/mysql-4.1.12/client/.libs/mysql
/usr/src/mysql-4.1.12/client/mysql

[root@jktoo src]# find / -name libmysqlclient.so.14
find: /proc/4364/task: No such file or directory
/home/wangdiankun/libmysqlclient.so.14
/usr/lib/mysql/libmysqlclient.so.14
/usr/local/mysql/lib/mysql/libmysqlclient.so.14
/usr/src/mysql-4.1.12/libmysql/.libs/libmysqlclient.so.14



if i do not install libmysqlclient ,please tell me how to install.
sorry, my English is poor please help me
thanks

jay73 08-08-2007 11:57 PM

It's clear that you installed the mysql server - but did you install the mysql-client package too?

lianbinjie 08-09-2007 01:43 AM

Quote:

Originally Posted by jay73
It's clear that you installed the mysql server - but did you install the mysql-client package too?


I have not install mysql-client package, I'm trying to install.
thanks

lianbinjie 08-09-2007 01:54 AM

Quote:

Originally Posted by jay73
It's clear that you installed the mysql server - but did you install the mysql-client package too?


HI jay73
you mean i did not install mysql-client
but i can connect mysql sever :


[root@jktoo src]# mysql -u root
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 78 to server version: 4.1.12-log

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql>


that is why ?
I can't see . help me Master

jay73 08-09-2007 02:22 AM

Yes, but mysql server is not the same as mysql package. The server is the database, the client is a front-end that allows people to have access to it. If you don't install the client, then you cannot do very much with it. I think that is really what is happening: you can get mail (this involved the server) but you cannot read it (this involves the client too no client = no access).

Have you looked under Applications > Add/Remove Software for the msyql-client package?

lianbinjie 08-09-2007 04:35 AM

Quote:

Originally Posted by jay73
Yes, but mysql server is not the same as mysql package. The server is the database, the client is a front-end that allows people to have access to it. If you don't install the client, then you cannot do very much with it. I think that is really what is happening: you can get mail (this involved the server) but you cannot read it (this involves the client too no client = no access).

Have you looked under Applications > Add/Remove Software for the msyql-client package?


HI, jay73
perhaps you are correct,
First , In my server, I have not install the Graphical interface。

and I find mysql-client in my one server that can send and receive messege.:
[root@hp ~]# rpm -qa|grep mysql-client
[root@hp ~]#

in my this server which could not receive message
[root@chinay2 mysql-4.1.12]# rpm -qa|grep mysql-client
mysql-client-4.0.18-1

so I think this problem have nothing with the mysql-client.

I'm trying to resolve this problem, if you find correct method, please tell me

thanks , jay73.

jay73 08-09-2007 05:03 AM

Could you be using different versions of mysql-server and mysql-client? For example, 4.0 server and 4.1 client? It is always better if they use the same version.

lianbinjie 08-09-2007 07:04 AM

Quote:

Originally Posted by jay73
Could you be using different versions of mysql-server and mysql-client? For example, 4.0 server and 4.1 client? It is always better if they use the same version.


this time, I think you are right.


All times are GMT -5. The time now is 05:08 PM.