Re: [gentoo-user] OT - Port named runs on
darren kirby wrote: quoth the Michael Sullivan: How would I find out what port named runs on (so I could open that port on my firewall)? Port 53, see /etc/services -d Alternately, as root execute netstat -pant -- mike kenny Linux Registered User #381724 LPI ID# 80080 Hell, there are no rules here, we're just trying to accomplish something Thomas Edison -- gentoo-user@gentoo.org mailing list
[gentoo-user] Berkeley DB patch required (I think)
Trying to get openexchange working (using Mike Fetherston's excellent howto) I receive the following in /var/log/messages when I try to login through login.pl Dec 13 15:56:00 getafix slapd[6732]: conn=0 fd=11 ACCEPT from IP=192.168.0.4:32773 (IP=0.0.0.0:389) Dec 13 15:56:00 getafix slapd[7155]: conn=0 op=0 BIND dn= method=128 Dec 13 15:56:00 getafix slapd[6732]: connection_input: conn=0 deferring operation: binding Dec 13 15:56:00 getafix slapd[7155]: conn=0 op=0 RESULT tag=97 err=0 text= Dec 13 15:56:00 getafix slapd[7156]: conn=0 op=1 BIND dn=uid=mkenny,ou=Users,ou=OxObjects,dc=inzanix,dc=com method=128 Dec 13 15:56:00 getafix slapd[7156]: bdb(dc=inzanix,dc=com): illegal flag specified to txn_begin Dec 13 15:56:00 getafix slapd[7156]: bdb_txn_get: BerkeleyDB 4.2.52 library needs TXN patch! Dec 13 15:56:00 getafix slapd[7156]: conn=0 op=1 RESULT tag=97 err=49 text= I know this is not specifically a gentoo issue, more LDAP or OX, but I then followed the reference to a required patch on the second last line of messages. I wanted to check what versions of bdb were available, but emerge --searchdesc on berkeley shows: * sys-libs/db Latest version available: 4.2.52_p2 Latest version installed: 4.2.52_p2 Size of downloaded files: 3,980 kB Homepage:http://www.sleepycat.com/ Description: Berkeley DB License: DB which indicates that I have the latest version. Is there somewhere else I should be looking? Thanks, -- mike kenny Linux Registered User #381724 LPI ID# 80080 Hell, there are no rules here, we're just trying to accomplish something Thomas Edison -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Berkeley DB patch required (I think)
Hans-Werner Hilse wrote: Hi, On Tue, 13 Dec 2005 18:04:56 +0200 Mike Kenny [EMAIL PROTECTED] wrote: Dec 13 15:56:00 getafix slapd[7156]: bdb(dc=inzanix,dc=com): illegal flag specified to txn_begin Dec 13 15:56:00 getafix slapd[7156]: bdb_txn_get: BerkeleyDB 4.2.52 library needs TXN patch! Dec 13 15:56:00 getafix slapd[7156]: conn=0 op=1 RESULT tag=97 err=49 text= I know this is not specifically a gentoo issue, more LDAP or OX, but I then followed the reference to a required patch on the second last line of messages. I wanted to check what versions of bdb were available, but [... only found one...] As it's clearly LDAP which is complaining here, it would be interesting - if that's actually the OpenLDAP compiled on your Gentoo, and if yes, - what a re-emerge of OpenLDAP causes and - what USE flags you're using for OpenLDAP -hwh I'll run an emerge on it and see what the results are. My USE flags are default. Which in /etc/make.conf are: USE=-X -alsa -oss -gif -mad -gpm -gnome -motif -mikmod -encode -kde -apm -nls -arts -avi -bitmap-fonts -cups -foomaticdb -gtk -gtk2 -ipv6 -jpeg -mpeg -oggvorbis -opengl -pdflib -png -qt -quicktime -readline -sdl -truetype -xmms -xv apache2 nptl ssl pam ssh Is there somewhere else I should check for these flags? -- mike kenny Linux Registered User #381724 LPI ID# 80080 Hell, there are no rules here, we're just trying to accomplish something Thomas Edison -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Berkeley DB patch required (I think)
Markus Ullmann wrote: Mike Kenny wrote: * sys-libs/db Latest version available: 4.2.52_p2 Latest version installed: 4.2.52_p2 which indicates that I have the latest version. Is there somewhere else I should be looking? The 4.2.52_p2-r1 contains that patch and is stable on most arches, what arch are you on? http://gentoo-portage.com/sys-libs/db Greets, Markus I am on x86 -- mike kenny Linux Registered User #381724 LPI ID# 80080 Hell, there are no rules here, we're just trying to accomplish something Thomas Edison -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Berkeley DB patch required (I think)
Markus Ullmann wrote: Mike Kenny wrote: * sys-libs/db Latest version available: 4.2.52_p2 Latest version installed: 4.2.52_p2 which indicates that I have the latest version. Is there somewhere else I should be looking? The 4.2.52_p2-r1 contains that patch and is stable on most arches, what arch are you on? http://gentoo-portage.com/sys-libs/db Greets, Markus Markus, I have downloaded the ebuild referenced. However, I have only ever used emerge to install packages over the internet. Ho do I apply this patch to my installation? Thanks for your assistance with this -- mike kenny Linux Registered User #381724 LPI ID# 80080 Hell, there are no rules here, we're just trying to accomplish something Thomas Edison -- gentoo-user@gentoo.org mailing list
[gentoo-user] Errors building x11-base/xorg-x11-6.8.2-r6
Now trying to emerge freenx (emerge nxserver-freenx) which attempts to emerge x11-base/xorg-x11-6.8.2-r6 as one of it's dependencies. This fails with the error output include below. It looks like I am either missing a library or have the wrong version of one. Any ideas where I should start looking? i686-pc-linux-gnu-gcc -o appres -O2 -march=pentium3 -fno-strict-aliasing -ansi -pedantic -Wno-return-type -w -L../../exports/lib appres.o -lXt -lSM -lICE -lX11 -Wl,-rpath-link,../../exports/lib ../../exports/lib/libX11.so: undefined reference to `__dlsym' ../../exports/lib/libX11.so: undefined reference to `__dlclose' ../../exports/lib/libX11.so: undefined reference to `__dlopen' collect2: ld returned 1 exit status make[4]: *** [appres] Error 1 make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc/programs/appres' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc/programs' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc' make: *** [World] Error 2 !!! ERROR: x11-base/xorg-x11-6.8.2-r6 failed. -- mike kenny Linux Registered User #381724 LPI ID# 80080 Hell, there are no rules here, we're just trying to accomplish something Thomas Edison -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] How do I make an installable copy
Zac Medico wrote: Use tar or some other archive utility (possibly mksquashfs) to make a complete backup of the root filesystem (use mount with no arguments to see mount points that should be excluded). The easiest way to make a customized bootable cd/dvd is to remaster an existing one. The mkisofs manpage documents the creation of a bootable iso image. You will also want to consult the eltorito documentation for isolinux or grub depending on which boot loader you choose. Zac Thanks Zac. I will look into all this next free time I have -- mike kenny Linux Registered User #381724 LPI ID# 80080 Hell, there are no rules here, we're just trying to accomplish something Thomas Edison -- gentoo-user@gentoo.org mailing list
[gentoo-user] How do I make an installable copy
I now have my stage 3 installed an working. Am in the process of downloading all the requirements for openXchange (Man! I love emerge) But, many (most) users will not want to go to the trouble that I have. In fact, in South Africa most won't have access to the bandwidth to do this. I am looking for a link to a tutorial or howto that will inform me how to: 1. After I have a basic bootable system created, create a backup CD from which I can boot and re-install in the event of a catastrophe 2. After I have configured servers (Apache or JBoss or openXchange, etc.) create a DVD or set of CDs which can be booted and installed from without all the re-configuration Anybody know where/whether I can this type of information? -- mike kenny Linux Registered User #381724 LPI ID# 80080 Hell, there are no rules here, we're just trying to accomplish something Thomas Edison -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] C++ missing
Steven Susbauer wrote: stage 3 is the suggested way of doing it nowadays anyway. If you're a sp33d d3m0n you can always run the bootstrap and emerge -e system, emerge -e world after you've installed everything. It will take a long while, but since it's still up and running while it does this, that's generally okay. On 12/4/05, *Mike Kenny* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Dale wrote: You should have plenty of space then. You are not half way there yet. If you put a full KDE on there, it will be close. You may want to do a env-update then exit the chroot. Just type in env-update the exit to exit. Then go back and chroot in again following this: mount -t proc none /mnt/gentoo/proc cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf chroot /mnt/gentoo /bin/bash env-update source /etc/profile It may tell you proc is already mounted. If it does, that's OK. Next step. Whatever you do, don't start over. Most anything can be fixed and it will save you from downloading all the stuff again. If you do start over, try to save /usr portage. That is where it puts the downloaded stuff. If chroot'ing in don't help, me clueless. Maybe a serious guru will come along and help. Dale :-) Thanks for the effort, but I have tried all this. So now, rather than start from scratch I am going to install from a stage3 and move on from there. This should work and as I am pushed now to get an openXchange configuration setup, this will do for now. Once I have it stable it should be possible to go back and re-install from source, I guess. -- mike kenny Linux Registered User #381724 LPI ID# 80080 Hell, there are no rules here, we're just trying to accomplish something Thomas Edison -- gentoo-user@gentoo.org mailto:gentoo-user@gentoo.org mailing list -- Steven Susbauer Thanks, this is what I intend doing, at some stage. Right now I am up and running, next is to try and install openXchange -- mike kenny Linux Registered User #381724 LPI ID# 80080 Hell, there are no rules here, we're just trying to accomplish something Thomas Edison -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] C++ missing
Dale wrote: Mike Kenny wrote: I am trying to install gentoo from the web by following the steps in the Gentoo Linux x86 Handbook for a stage 1 install. This works well up to a point. When I execute # emerge --emptytree system after some time the process terminates with a message similar to cd ../obj_s; -I../c++ -I../include -I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/c++ -DHAVE_CONFIG_H -I/var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/c++/../include -I. -I../include -D_GNU_SOURCE -DNDEBUG -O2 -mcpu=i686 -fomit-frame-pointer -fPIC -c /var/tmp/portage/ncurses-5.4-r6/work/ncurses-5.4/c++/cursesf.cc /bin/sh: line 1: -I../c++: No such file or directory make: *** [../obj_s/cursesf.o] Error 127 (I say similar because the output above is from executing make within the relevant directory -var/tmp/portage/ncurses-5.4-r6/work/narrowc/c++) Inspecting the Makefile shows that there is no value defind for CXX. As g++ does not appear to exist within my chrooted environment I did attempt to set this to gcc, but this failed with a notice the c++ was not installed. I believe I must have messed up something in creating my chroot environment as g++ exists elsewhere. But I can't figure what that might have been. I have also tried executing the instructions for installing gcc 3.4 in the hope that this would give me a c++ compiler, but this failed with the same error as above. Any ideas on how I should proceed? I am loathe to restart as a) I don't yet see what I can do differently and b) I have a 2GB cap on my bandwidth for December and have already used over 25% of this. Thanks, Well, I may have ran into this before. Type in df and see if your disk is full. It is worth a try at least. Dale :-) Thanks for the reply Dale. The output of df in my chroot environment is: df: cannot read table of mounted filesystems: No such file or directory I am not clear on what the cause of significance of this is. On the actual system (i.e. not in chroot) the output is: FilesystemSize Used Avail Use% Mounted on tmpfs 252M 5.2M 247M 3% / /newroot/dev/cdroms/cdrom0 59M 59M 0 100% /mnt/cdrom /dev/loop/052M 52M 0 100% /mnt/livecd tmpfs 252M 1.2M 251M 1% /lib/firmware /dev/hda3 1.4G 596M 785M 44% /mnt/gentoo /dev/hda1 130M 13K 123M 1% /mnt/gentoo/boot I expect this would provide me with sufficient space? I was incorrect in my previous email, executing g++ outside of the chroot results in: sh: line 1: /usr/bin/gcc-config: No such file or directory gcc-config error: Could not get compiler binary path: No such file or directory But this may be a result of my attempt to emerge gcc 3.4.4? -- mike kenny Linux Registered User #381724 LPI ID# 80080 Hell, there are no rules here, we're just trying to accomplish something Thomas Edison -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] C++ missing
Dale wrote: You should have plenty of space then. You are not half way there yet. If you put a full KDE on there, it will be close. You may want to do a env-update then exit the chroot. Just type in env-update the exit to exit. Then go back and chroot in again following this: mount -t proc none /mnt/gentoo/proc cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf chroot /mnt/gentoo /bin/bash env-update source /etc/profile It may tell you proc is already mounted. If it does, that's OK. Next step. Whatever you do, don't start over. Most anything can be fixed and it will save you from downloading all the stuff again. If you do start over, try to save /usr portage. That is where it puts the downloaded stuff. If chroot'ing in don't help, me clueless. Maybe a serious guru will come along and help. Dale :-) Thanks for the effort, but I have tried all this. So now, rather than start from scratch I am going to install from a stage3 and move on from there. This should work and as I am pushed now to get an openXchange configuration setup, this will do for now. Once I have it stable it should be possible to go back and re-install from source, I guess. -- mike kenny Linux Registered User #381724 LPI ID# 80080 Hell, there are no rules here, we're just trying to accomplish something Thomas Edison -- gentoo-user@gentoo.org mailing list