[gentoo-user] Can't compile webalizer...

2007-05-18 Thread Huib van Wees

Hi all,

I try to emerge webalizer, but this keeps failing...
I searched on the list, but didn't find the error..

This is the error where the compile breaks:

dns_resolv.o: In function `open_cache':
dns_resolv.c:(.text+0x100): undefined reference to `__db185_open_4002'
dns_resolv.o: In function `dns_resolver':
dns_resolv.c:(.text+0x64d): undefined reference to `__db185_open_4002'
collect2: ld returned 1 exit status
make: *** [webalizer] Error 1

!!! ERROR: app-admin/webalizer-2.01.10-r12 failed.
Call stack:
 ebuild.sh, line 1614:   Called dyn_compile
 ebuild.sh, line 971:   Called qa_call 'src_compile'
 environment, line 3192:   Called src_compile
 webalizer-2.01.10-r12.ebuild, line 97:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/var/tmp/portage/app-admin/webalizer-2.01.10-r12/temp/build.log'.

Anyone any ideas?

--
Met vriendelijke groet / With kind regards,

H. van Wees
---
If UNIX isn't the solution, you've got the wrong problem.


[gentoo-user] Bridge interface doesn't set default gateway.

2007-01-17 Thread Huib van Wees

Hi List,

I don't know when this happend, I don't reboot my system very often.
Here is the issue.

This Gentoo box has 5 ethernet interfaces. All together in bridge br0

But somehow the default gateway isn't set at boot time which is quiete
anoying, this worked before but I think the net startup script has been
updated and this is changed.

Anyone any clues?

This is how mijn /etc/conf.d/net looks like:
bridge_br0=eth0 eth1 eth2 eth3 eth4
config_br0=( 172.30.0.4 broadcast 172.30.255.255 netmask 255.255.0.0 )
gateway=br0/172.30.0.1

--
Met vriendelijke groet / With kind regards,

H. van Wees
---
If UNIX isn't the solution, you've got the wrong problem.


[gentoo-user] Unable to emerge sys-apps/texinfo-4.8-r5

2006-12-08 Thread Huib van Wees

Hi list,

I try to update my openssh... One of the dependency is sys-apps/texinfo-
4.8-r5]
But this won't install... A Digest verification fails..

How can I fix this?!
See some output below:


emerge -uv openssh
Calculating dependencies... done!


Emerging (1 of 7) sys-apps/texinfo-4.8-r5 to /
Downloading 'http://distfiles.gentoo.org/distfiles/texinfo-4.8.tar.bz2'

--13:35:18--  http://distfiles.gentoo.org/distfiles/texinfo-4.8.tar.bz2
  = `/usr/portage/distfiles/texinfo-4.8.tar.bz2'
Resolving distfiles.gentoo.org... 64.50.236.52, 64.50.238.52, 156.56.247.195,
...
Connecting to distfiles.gentoo.org|64.50.236.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,521,822 (1.5M) [application/x-tar]

100%[===]
1,521,822273.35K/sETA 00:00

13:35:25 (257.61 KB/s) - `/usr/portage/distfiles/texinfo-4.8.tar.bz2' saved
[1521822/1521822]

* checking ebuild checksums ;-)
...
[ !! ]
!!! Digest verification failed:
!!! /usr/portage/sys-apps/texinfo/texinfo-4.8-r5.ebuild
!!! Reason: Filesize does not match recorded size
!!! Got: 2278
!!! Expected: 2283



--
Met vriendelijke groet / With kind regards,

H. van Wees
---
If UNIX isn't the solution, you've got the wrong problem.


[gentoo-user] raid does not autostart

2006-11-15 Thread Huib van Wees
Hi List,A few weeks ago I created a Raid 5 set for my data partition using mdadm.This works fine, but last week a short power outage caused the server to reboot.When I came home the server was in need of maintainance because it couldn't check all his filesystems.
Strange fact was that the md device wasn't start...mdadm --assemble /dev/md1 works fine, the /etc/mdadm.conf is read the the raid device is started...But why doesn't start it at boot?A piece of output from dmesg:
md: Autodetecting RAID arrays.md: autorun ...md: considering hdb1 ...md:  adding hdb1 ...md: created md1md: bindhdb1md: running: hdb1raid5: device hdb1 operational as raid disk 0
raid5: not enough operational devices for md1 (2/3 failed)RAID5 conf printout: --- rd:3 wd:1 fd:2 disk 0, o:1, dev:hdb1raid5: failed to run raid set md1md: pers-run() failed ...md: do_md_run() returned -5
md: md1 stopped.md: unbindhdb1md: export_rdev(hdb1)md: ... autorun DONE.It tell's me that 2/3 devices failed, but after I assemble it.. the ouput of mdadm --detail /dev/md1 is:
/dev/md1: Version : 00.90.03 Creation Time : Fri Sep 22 22:28:43 2006 Raid Level : raid5 Array Size : 625137152 (596.18 GiB 640.14 GB) Device Size : 312568576 (298.09 GiB 320.07 GB)
 Raid Devices : 3 Total Devices : 3Preferred Minor : 1 Persistence : Superblock is persistent Intent Bitmap : Internal Update Time : Wed Nov 15 10:56:36 2006 State : active
Active Devices : 3Working Devices : 3Failed Devices : 0 Spare Devices : 0 Layout : left-symmetric Chunk Size : 64K UUID : 82544aad:a2e92ea2:72ca2d55:716dada0
 Events : 0.1486768 Number Major Minor RaidDevice State 0 3 65 0 active sync /dev/hdb1 1 22 1 1 active sync /dev/hdc1 2 22 65 2 active sync /dev/hdd1
No failed devices!How it this possible?I rebooted aferwards, but still the same issue! :-(Anybody any clue's?!Any help is appriciated-- Met vriendelijke groet / With kind regards,
H. van Wees---If UNIX isn't the solution, you've got the wrong problem.


Re: [gentoo-user] Re: raid does not autostart

2006-11-15 Thread Huib van Wees

On 11/15/06, Remy Blank [EMAIL PROTECTED] wrote:


 CUT 

You need to mark all the partitions of your RAID array as Linux raid
autodetect with fdisk. Here, it seems only hdb1 is marked as such, and
hdc1 and hdd1 are not. This prevents the kernel from autostarting your
RAID array.

Try the following:

# fdisk /dev/hdc
t
1
fd
w
# fdisk /dev/hdd
t
1
fd
w

If this doesn't help, are hdc and hdd on a different IDE controller than
hda and hdb?



Dôh! Stupid me!
I shoud know this!

This fixed it, thank you!

Up to the folowing weird issue... (will be in a new post)...

--
Met vriendelijke groet / With kind regards,

H. van Wees
---
If UNIX isn't the solution, you've got the wrong problem.


Re: [gentoo-user] Are multiple emerges safe?

2006-01-30 Thread Huib van Wees
On 1/30/06, Neil Bothwick [EMAIL PROTECTED] wrote:
On Sun, 29 Jan 2006 19:48:34 +0200, Uwe Thiem wrote: Now I have got a related question: Imagine you have got one portage tree on one box but several boxes that NFS mount it with different world files. Will several parallelemerge --fetchonly processes on
 those different boxes still be safe?Yes, because portage uses lockfiles in $DISTDIR. Once one emerge beginsdownloading a file, any others wanting that file will wait for it.
I can remember that export the portage dir for other host wasn't supported and can cause problems Or did I missread/misinterpert the documentation?-- Met vriendelijke groet / With kind regards,
H. van Wees---The official Gentoo motto is, If it moves, compile it.


Re: [gentoo-user] /usr is full

2006-01-30 Thread Huib van Wees
I use tmpwatch to clean /usr/portage/distfiles-- Met vriendelijke groet / With kind regards,H. van Wees---The official Gentoo motto is, If it moves, compile it.
On 1/30/06, Jason W Elliot [EMAIL PROTECTED] wrote:
Hi,While trying to run emerge today I got the message that there wasnot enough disk space.I ran df and noticed that /usr is 100% full.I amwonderring whether there is an easy way to clean it up.I'd rather not
resize my partitions, and it's likely that there's a lot of junk in therethat I don't need.Is it safe to remove the stuff in/usr/portage/distfiles?