About Qpopper

2005-04-01 Thread KP
Hi All,

I installed qpopper with pkg_add, uncomment the following line in
/etc/inetd.conf, then restart inetd
pop3 stream tcp nowait root /usr/local/libexec/qpopper popper

but I can't connect to the pop3 server with Outlook Express, got a error
message like Your server has unexpectedly terminated the connection. I did
exactly the same thing on another server before, it worked immediately, any
possible reasons? Thanks!

Here is the sockstat output:
# sockstat | grep 110
root inetd  32385 4  tcp4   *:110 *:*

Kevin Pang


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: About Qpopper

2005-04-01 Thread KP
Thanks for your help, Kris. I always forgot to check the logs :-(.

The log says:
inetd[32476]: cannot execute /usr/local/libexec/popper: No such file or
directory

But I checked the file, it does exist. I can execute it manually, got error
message, I think it's because inetd used the socket.

 cd /usr/local/libexec/
 ll
total 3612
drwxr-xr-x  2 root  wheel 1024 Mar 31 05:10 apache
-r-xr-xr-x  1 root  wheel  3114448 Oct 15 23:27 mysqld
-r-xr-xr-x  1 root  wheel   403132 Mar 31 10:37 proftpd
-r-xr-xr-x  1 root  wheel   124376 Oct 15 22:27 qpopper
 ./qpopper

Kevin

P.S. I can't quote you message, it came to me as an attachment.

- Original Message - 
From: Kris Kennaway [EMAIL PROTECTED]
To: KP [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Saturday, April 02, 2005 9:09 AM
Subject: Re: About Qpopper



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: About Qpopper

2005-04-01 Thread KP
A little more info, I killed inetd and tried to run qpopper manually again,
still the same error message:
qpopper[32535]: Unable to obtain socket and address of client: Socket
operation on non-socket (38)


- Original Message - 
From: KP [EMAIL PROTECTED]
To: Kris Kennaway [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Saturday, April 02, 2005 9:27 AM
Subject: Re: About Qpopper


 Thanks for your help, Kris. I always forgot to check the logs :-(.

 The log says:
 inetd[32476]: cannot execute /usr/local/libexec/popper: No such file or
 directory

 But I checked the file, it does exist. I can execute it manually, got
error
 message, I think it's because inetd used the socket.

  cd /usr/local/libexec/
  ll
 total 3612
 drwxr-xr-x  2 root  wheel 1024 Mar 31 05:10 apache
 -r-xr-xr-x  1 root  wheel  3114448 Oct 15 23:27 mysqld
 -r-xr-xr-x  1 root  wheel   403132 Mar 31 10:37 proftpd
 -r-xr-xr-x  1 root  wheel   124376 Oct 15 22:27 qpopper
  ./qpopper

 Kevin

 P.S. I can't quote you message, it came to me as an attachment.

 - Original Message - 
 From: Kris Kennaway [EMAIL PROTECTED]
 To: KP [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Sent: Saturday, April 02, 2005 9:09 AM
 Subject: Re: About Qpopper



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: About Qpopper

2005-04-01 Thread KP
Kris Kennaway wrote
 qpopper, not popper

Wow, I'm so silly, thanks a lot, Kris! It works now. I'm just wondering how
I noticed this last time and why they put such a default line in it, I would
rather add it myself :-).
- Kevin





___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Packages Corrupted

2005-03-30 Thread KP
I installed apache, php and mysql with pkg_add, unfortunately I messed up
the directory /var/db during moving and linking. Now when I pkg_delete or
pkg_add any php related packages, always got the error message: the package
info for package 'pkg' is corrupt, tried pkgdb -F and it didn't work.
This is a new server running 5.3 release, just installed serveral packages,
but with the error message, I feel the system totally corrupted. Is it
possible to fix this? Many thanks in advance!
Kevin


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Packages Corrupted

2005-03-30 Thread KP
My first message is inaccturate, it seems all packages has the same problem.
For example:

# pkg_delete wget-1.8.2_6
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt

# pkg_info | grep mysql
pkg_info: the package info for package 'pkg' is corrupt
mysql-client-4.0.21 Multithreaded SQL database (client)
php4-mysql-4.3.9The mysql shared extension for php

Is it possible to remove all installed packages and start over? Thanks!


- Original Message - 
From: KP [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Thursday, March 31, 2005 6:27 AM
Subject: Packages Corrupted


 I installed apache, php and mysql with pkg_add, unfortunately I messed up
 the directory /var/db during moving and linking. Now when I pkg_delete or
 pkg_add any php related packages, always got the error message: the
package
 info for package 'pkg' is corrupt, tried pkgdb -F and it didn't work.
 This is a new server running 5.3 release, just installed serveral
packages,
 but with the error message, I feel the system totally corrupted. Is it
 possible to fix this? Many thanks in advance!
 Kevin



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Packages Corrupted

2005-03-30 Thread KP
- Original Message - 
From: Michael C. Shultz [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Thursday, March 31, 2005 6:42 AM
Subject: Re: Packages Corrupted


 On Wednesday 30 March 2005 08:27 pm, KP wrote:
  I installed apache, php and mysql with pkg_add, unfortunately I
  messed up the directory /var/db during moving and linking. Now when I
  pkg_delete or pkg_add any php related packages, always got the error
  message: the package info for package 'pkg' is corrupt, tried
  pkgdb -F and it didn't work. This is a new server running 5.3
  release, just installed serveral packages, but with the error
  message, I feel the system totally corrupted. Is it possible to fix
  this? Many thanks in advance!
  Kevin

 If /var/db is messed up there is no way to know which installed
 package is associated with which port.  If you don't see any package
 names listed under /var/db/pkg they are as good as not being installed
 as far as the ports system is concerned. You should never fool with
 anything under /var/db/pkg, always leave that to the ports system to
 handle. What is the status of  /var/db/pkg now? Are there any package
 names listed in it?

 -Mike

Thanks for your reply, Mike.
/var/db/pkg looks good
# ls
apache-1.3.33   mysql-client-4.0.21 php4-pcre-4.3.9
pkgdb.db
bison-1.75_2perl-5.8.5  php4-posix-4.3.9
portupgrade-20041226_1
cvsup-without-gui-16.1h php4-bz2-4.3.9  php4-session-4.3.9
ruby-1.8.2_3
expat-1.95.8php4-ctype-4.3.9php4-tokenizer-4.3.9
ruby18-bdb1-0.2.2
gettext-0.13.1_1php4-extensions-1.0 php4-xml-4.3.9
unixbench-4.1.0
libiconv-1.9.2_1php4-mysql-4.3.9php4-zlib-4.3.9
m4-1.4.1php4-overload-4.3.9 pkg

But If I try to delete a package, it will go to the error message in the
end.

# pkg_delete php4-xml-4.3.9
pkg_delete: package 'php4-xml-4.3.9' is required by these other packages and
may not be deinstalled: php4-extensions-1.0

# pkg_delete php4-extensions-1.0
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt
pkg_delete: the package info for package 'pkg' is corrupt



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Packages Corrupted

2005-03-30 Thread KP

- Original Message - 
From: Abu Khaled [EMAIL PROTECTED]
To: KP [EMAIL PROTECTED]
Cc: Michael C. Shultz [EMAIL PROTECTED];
freebsd-questions@freebsd.org
Sent: Thursday, March 31, 2005 6:58 AM
Subject: Re: Packages Corrupted


 On Thu, 31 Mar 2005 06:55:22 +0200, KP [EMAIL PROTECTED] wrote:
  - Original Message -
  From: Michael C. Shultz [EMAIL PROTECTED]
  To: freebsd-questions@freebsd.org
  Sent: Thursday, March 31, 2005 6:42 AM
  Subject: Re: Packages Corrupted
 
   On Wednesday 30 March 2005 08:27 pm, KP wrote:
I installed apache, php and mysql with pkg_add, unfortunately I
messed up the directory /var/db during moving and linking. Now when
I
pkg_delete or pkg_add any php related packages, always got the error
message: the package info for package 'pkg' is corrupt, tried
pkgdb -F and it didn't work. This is a new server running 5.3
release, just installed serveral packages, but with the error
message, I feel the system totally corrupted. Is it possible to fix
this? Many thanks in advance!
Kevin
  
   If /var/db is messed up there is no way to know which installed
   package is associated with which port.  If you don't see any package
   names listed under /var/db/pkg they are as good as not being installed
   as far as the ports system is concerned. You should never fool with
   anything under /var/db/pkg, always leave that to the ports system to
   handle. What is the status of  /var/db/pkg now? Are there any package
   names listed in it?
  
   -Mike
 
  Thanks for your reply, Mike.
  /var/db/pkg looks good
  # ls
  apache-1.3.33   mysql-client-4.0.21 php4-pcre-4.3.9
  pkgdb.db
  bison-1.75_2perl-5.8.5  php4-posix-4.3.9
  portupgrade-20041226_1
  cvsup-without-gui-16.1h php4-bz2-4.3.9  php4-session-4.3.9
  ruby-1.8.2_3
  expat-1.95.8php4-ctype-4.3.9php4-tokenizer-4.3.9
  ruby18-bdb1-0.2.2
  gettext-0.13.1_1php4-extensions-1.0 php4-xml-4.3.9
  unixbench-4.1.0
  libiconv-1.9.2_1php4-mysql-4.3.9php4-zlib-4.3.9
  m4-1.4.1php4-overload-4.3.9 pkg
 
  But If I try to delete a package, it will go to the error message in the
  end.
 
  # pkg_delete php4-xml-4.3.9
  pkg_delete: package 'php4-xml-4.3.9' is required by these other packages
and
  may not be deinstalled: php4-extensions-1.0
 
  # pkg_delete php4-extensions-1.0
  pkg_delete: the package info for package 'pkg' is corrupt
  pkg_delete: the package info for package 'pkg' is corrupt
  pkg_delete: the package info for package 'pkg' is corrupt
  pkg_delete: the package info for package 'pkg' is corrupt
  pkg_delete: the package info for package 'pkg' is corrupt
  pkg_delete: the package info for package 'pkg' is corrupt
  pkg_delete: the package info for package 'pkg' is corrupt
  pkg_delete: the package info for package 'pkg' is corrupt
  pkg_delete: the package info for package 'pkg' is corrupt
  pkg_delete: the package info for package 'pkg' is corrupt
  pkg_delete: the package info for package 'pkg' is corrupt
  pkg_delete: the package info for package 'pkg' is corrupt
  pkg_delete: the package info for package 'pkg' is corrupt
  pkg_delete: the package info for package 'pkg' is corrupt
 
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
[EMAIL PROTECTED]
 

 Is pkg in /var/db/pkg/ a file or directory how did it end up there.

 -- 
 Kind regards
 Abu Khaled

 On Thu, 31 Mar 2005 06:55:22 +0200, KP [EMAIL PROTECTED] wrote:
  - Original Message -
  From: Michael C. Shultz [EMAIL PROTECTED]
  To: freebsd-questions@freebsd.org
  Sent: Thursday, March 31, 2005 6:42 AM
  Subject: Re: Packages Corrupted
 
   On Wednesday 30 March 2005 08:27 pm, KP wrote:
I installed apache, php and mysql with pkg_add, unfortunately I
messed up the directory /var/db during moving and linking. Now when
I
pkg_delete or pkg_add any php related packages, always got the error
message: the package info for package 'pkg' is corrupt, tried
pkgdb -F and it didn't work. This is a new server running 5.3
release, just installed serveral packages, but with the error
message, I feel the system totally corrupted. Is it possible to fix
this? Many thanks in advance!
Kevin
  
   If /var/db is messed up there is no way to know which installed
   package is associated with which port.  If you don't see any package
   names listed under /var/db/pkg they are as good as not being installed
   as far as the ports system is concerned. You should never fool with
   anything under /var/db/pkg, always leave that to the ports system to
   handle. What is the status of  /var/db/pkg now? Are there any package
   names listed in it?
  
   -Mike
 
  Thanks for your reply, Mike.
  /var/db/pkg looks good
  # ls
  apache-1.3.33   mysql-client-4.0.21

Default mysql config file

2005-03-18 Thread KP
Hello,

My /var will run out of space soon, I was told that changing mysql store
place was a good solution. But I can't find the default configuration file,
is it ok to create a new file with the only line indicating the store
position? I'm a newbie and more details would be appreciated.

Regards, Kevin


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]