Re: Problem while chroot python and modules in apache

2008-01-02 Thread Michael Bibby

Hi, all.

Thanks Joerg, but it doesn't work yet.

I copied all openldap-client files to chrooted apache dir, but it
shown the same error.

Am i missing something?

Files i copied:

# pkg_info -L openldap-client | grep -v '/man/' | \
   grep -v '/share/' | \
   grep '^/usr/local/'

/usr/local/bin/ldapadd
/usr/local/bin/ldapcompare
/usr/local/bin/ldapdelete
/usr/local/bin/ldapmodify
/usr/local/bin/ldapmodrdn
/usr/local/bin/ldappasswd
/usr/local/bin/ldapsearch
/usr/local/bin/ldapwhoami
/usr/local/include/lber.h
/usr/local/include/lber_types.h
/usr/local/include/ldap.h
/usr/local/include/ldap_cdefs.h
/usr/local/include/ldap_features.h
/usr/local/include/ldap_schema.h
/usr/local/include/ldap_utf8.h
/usr/local/include/slapi-plugin.h
/usr/local/lib/liblber.a
/usr/local/lib/liblber.la
/usr/local/lib/libldap.a
/usr/local/lib/libldap.la
/usr/local/lib/libldap_r.a
/usr/local/lib/libldap_r.la
/usr/local/lib/liblber-2.3.so.9.1
/usr/local/lib/liblber.so.9.1
/usr/local/lib/libldap-2.3.so.9.1
/usr/local/lib/libldap.so.9.1
/usr/local/lib/libldap_r-2.3.so.9.1
/usr/local/lib/libldap_r.so.9.1

# ldd /usr/local/bin/ldapsearch | grep '/usr/' | \
   grep -v ':$' | \
   awk '{print $NF}'

/usr/local/bin/ldapsearch
/usr/local/lib/libsasl2.so.2.22
/usr/lib/libgssapi.so.5.0
/usr/lib/libkrb5.so.16.0
/usr/lib/libasn1.so.16.0
/usr/lib/libcom_err.so.16.0
/usr/lib/libssl.so.11.0
/usr/lib/libcrypto.so.13.0
/usr/lib/libc.so.41.0
/usr/libexec/ld.so

Joerg Zinke wrote:
 On Wed, 02 Jan 2008 10:59:27 +0800
 Michael Bibby [EMAIL PROTECTED] wrote:
 Hi, all.

 I use OpenBSD 4.2 -release and the default chrooted apache.

 I copied all files python needed, and it works. but the modules
 py-ldap doesn't work.

 
 # tail -f /var/www/logs/error_log
 Traceback (most recent call last):
   File /cgi-bin/msm/domain_list, line 5, in ?
 import ldapoperation
   File /cgi-bin/msm/ldapoperation.py, line 4, in ?
 import ldap
   File /usr/local/lib/python2.4/site-packages/ldap/__init__.py,
 line 23, in ?
 from _ldap import *
 ImportError: Cannot load specified object
 [Wed Jan  2 19:05:44 2008] [error] [client 172.16.252.1] Premature
 end of script headers: /cgi-bin/msm/domain_list
 

 did you copied openldap libs/files too?
 afaik, py-ldap module is linked against them.

 regards,

 joerg



[error on lenovo x60 ac4]apm: connect error

2006-12-11 Thread Michael Bibby

hi [EMAIL PROTECTED]

i installed openbsd -current on my lenovo x60 ac4, when it boot,
i got a message:

apm: connect error
---[snip]---
boot

i googled, and found this message:
http://www.sigmasoft.com/~openbsd/archives/html/openbsd-misc/2005-10/msg00846.html

hardware problem?
can it be resolved by kernel recompiled?

thanks all :)

Bibby



Re: openbsd cd resellers in asia?

2006-10-25 Thread Michael Bibby
TZ 2006Dj10TB25HU PGFZH} 16:20#,Jay Jesus Amorin [EMAIL PROTECTED]:
 hi,

 im from the Philippines and i would like to order a openbsd 4.0 cd, does
 anyone in here can help where in asia can i order the said openbsd stuff?

 the http://www.genesis.com.hk which openbsd.org said where i can
 purchase in asia seems not responding.  :(

 thanks


 --jay--

I want to own the cd sets to. I'm in China mainland. :(



About PF: Is the RED algorithm the same as WRED?

2006-05-28 Thread Michael Bibby
hi [EMAIL PROTECTED]:

I just want to know, whether the RED algorithm is the same as WRED.

thanks :)



HELP: PXE boot with automatic fdisk hard disk and install package sets.

2006-05-17 Thread Michael Bibby
hi [EMAIL PROTECTED]:

I have several computers, and i plan to install OpenBSD 3.9 on them. I
know how to setup a PXE boot install server, but i need one more future:
automatic fdisk hard disk and install package sets. Like kickstart and
autoyast.

What should i do? and how to do?

Any LINK? or article?

thanks.



Re: HELP: PXE boot with automatic fdisk hard disk and install package sets.

2006-05-17 Thread Michael Bibby
:)

thanks Stuart.

I will try it tomorrow.

2006/5/17, Stuart Henderson [EMAIL PROTECTED]:

 On 2006/05/17 23:33, Michael Bibby wrote:
  I have several computers, and i plan to install OpenBSD 3.9 on them. I
  know how to setup a PXE boot install server, but i need one more future:
  automatic fdisk hard disk and install package sets. Like kickstart and
  autoyast.
 
  What should i do? and how to do?

 build your own bsd.rd with custom install scripts,
 look at release(8), src/distrib/miniroot



Re: Is Marvell 88E8053 supported?

2006-05-17 Thread Michael Bibby
On Wed, May 17, 2006 at 06:52:29PM +0400, Dmitrij D. Czarkoff wrote:

 On Tuesday 16 May 2006 22:51, you wrote:

  I had that chipset working under 3.8.  My current board has the
  Marvell 88E8001 and it works just fine having been upgraded from 3.8.
   If you can't post the full dmesg you should at least transcribe the
  error otherwise you're unlikely to get any help.


 Thank You for reply. I'll install OpenBSD once more and post the full
 dmesg here.


The 88E8053 is not currently supported.

YES.

Two weeks ago, I install OpenBSD 3.8 on my laptop, the NIC is Marvell
88E8053.
Although it can found the NIC(skc2), but can't drive it correctly.

I sent mail to the vendor, but they said they have no plan to develop driver
for
OBSD.

You can visit 'www.marvell.com', they provide drivers for
FREEBSD(Binary package) and LINUX(Open Source). Maybe
someone can port it to OpenBSD.

Best regards.

BIBBY.



Re: Does OpenBSD-3.9(-current) support Marvell Yukon 88E8053 Gigabit Ethernet Controller?

2006-04-18 Thread Michael Bibby
Michael Bibby wrote:
 hi all:

 I use Marvell Yukon 88E8053 Gigabit Ethernet Controller on my laptop, but
i
 can't find a driver for OpenBSD 3.8,
 So i want to know is there any other people use it and have a driver for
it?

 thanks.

 Bibby
 2006/04/17

 I've had that chipset working with OpenBSD 3.8 and 3.9 from 2006-04-06
 (I believe that was the date) on an Asus A8N-SLI Deluxe nForce4.  I
 don't have the dmesg for it.  I had to return that mobo for other
 reasons and forgot to archive the dmesg before I reformatted.  I do have
 the newer version of that board, though, and it has the Marvel Yukon
 88E1011.

 Here's the relevant portion from the dmesg:

 skc0 at pci1 dev 12 function 0 Marvell SKv2 rev 0x13: irq 3
 skc0: Marvell Yukon Lite (0x9)
 sk0 at skc0 port A: address 00:15:f2:1d:21:6a
 eephy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
 Nvidia CK804 LAN rev 0xa3 at pci0 dev 10 function 0 not configured

 Based on my experience with the 88E8053 chipset on the other motherboard
it seems reasonable to expect
 it would work with your laptop.

Are you sure?

I install FreeBSD 6.0 on my laptop, the marvell.com provides driver for
FreeBSD(6.0-release, and some other versions).
But FreeBSD 6.0 can't found my sound card which shipped on the mainboard.
What a pity. :(

Yesterday, I installed NetBSD 3.0 on it, it can't found both LAN NIC and
wireless, but havn't drivers for  them. :( :(

I havn't try OpenBSD, i checked the hardware supported list, but it is out
of the list. :( :( :(
so i asked at [EMAIL PROTECTED]

  Have you tried booting with 3.8
 shipping or one of the 3.9 snapshots and looked through the dmesg?

I will try in this week. Thanks for you answer. :)

 I posted more about this mobo at
 http://marc.theaimsgroup.com/?l=openbsd-miscm=114531096016196w=2

 --Aaron



Does OpenBSD-3.9(-current) support Marvell Yukon 88E8053 Gigabit Ethernet Controller?

2006-04-17 Thread Michael Bibby
hi all:

I use Marvell Yukon 88E8053 Gigabit Ethernet Controller on my laptop, but i
can't find a driver for OpenBSD 3.8,
So i want to know is there any other people use it and have a driver for it?

thanks.

Bibby
2006/04/17



In Asia, where can i buy the cd sets/posters/t-shirts?

2006-03-28 Thread Michael Bibby
http://www.openbsd.org/orders.html#asia
I sent a mail to [EMAIL PROTECTED], ask if they still sell OpenBSD's cd
set/porters/t-shirts, but
they havn't answered me(for about 20 days so far).

Any other store in Asia?
By the way, how to become an 'offical' web store to sell OpenBSD's cd
sets/porters/t-shirts?



Error while install turck-mmcache

2006-02-27 Thread Michael Bibby
hi [EMAIL PROTECTED]

I want to install mediawiki-1.5.6 on OpenBSD 3.8 release, and want to
use turck-mmcache to speed up the php, but i got an error message :

turck-mmcache version : 2.4.6
OS : OpenBSD 3.8 release

=== MESSAGES =
# export PHP_PREFIX=/usr/local/
# export AUTOCONF_VERSION=2.59
# export AUTOMAKE_VERSION=1.9
# phpize
Configuring for:
PHP Api Version: 20031224
Zend Module Api No:  20041030
Zend Extension Api No:   220040412
/usr/local/share/aclocal/libgcrypt.m4:23: warning: underquoted
definition of AM_PATH_LIBGCRYPT
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
/usr/local/share/aclocal/gpg-error.m4:7: warning: underquoted
definition of AM_PATH_GPG_ERROR
#

=== PKG LIST ==
# ls /var/db/pkg
autoconf-2.59  libxslt-1.1.12p1   php5-mysql-5.0.4
automake-1.9.6p0   memcached-1.1.12   php5-pear-5.0.4
bzip2-1.0.3metaauto-0.5   php5-xsl-5.0.4
curl-7.14.0mysql-client-4.0.24png-1.2.8
freetype-1.3.1p1   mysql-server-4.0.24p1  recode-3.6p2
gettext-0.10.40p3  p5-DBD-mysql-3.0002   
squid-2.5.STABLE12-transparent
jpeg-6bp2  p5-DBI-1.45p1  t1lib-5.0.0
libgcrypt-1.2.0p5-Net-Daemon-0.38 unzip-5.52
libgpg-error-0.7   p5-PlRPC-0.2018   
vim-6.3.85p0-no_x11
libiconv-1.9.2p1   php5-bz2-5.0.4 wget-1.10.2
libltdl-1.5.18 php5-core-5.0.4p0  zip-2.3p0
libxml-2.6.16p5php5-extensions-5.0.4



Which platform version can run on IBM OpenPower 710/720 ?

2006-02-17 Thread Michael Bibby
hello [EMAIL PROTECTED]:

Can anyone tell me which platform can run on IBM OpenPower 710 / 720 ?
macppc ?

thanks



Fwd: How can i send syslogd message to a OPENBSD server ?

2006-01-19 Thread Michael Bibby
thanks ,it works .
^_^

You will need to start syslog on the openbsd server with the -u option
 (see /etc/rc.conf and syslogd man pages) and also make sure you have
 pf.conf
 allowing port 514 udp from your linux host.