Re: gdb in realloc(): error: junk pointer, too high to make sense on FreeBSD 5.2+

2006-07-02 Thread Paul Querna
Philip M. Gollucci wrote: > Hi, > > 2 years ago, PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/68727 > was filed about gdb itself segfaulting when trying to debug httpd. > This PR hasn't seen any action AFAIK. This appears to be a duplicate of this one: http://www.freebsd.org/cgi/query-pr.cg

Re: Root crontab for backup

2006-07-02 Thread Greg 'groggy' Lehey
On Monday, 3 July 2006 at 6:57:27 +0100, Xian wrote: > On Monday 03 July 2006 00:29, Greg 'groggy' Lehey wrote: >> It's a good idea to leave /etc/periodic as it is; it makes updating >> easier. I personally put this sort of thing in /etc/crontab, though >> arguably (also because of upgrades) roo

Portupgrade ruby problem

2006-07-02 Thread bsd
Hello, I have a new problem that has just occured on my main mail server. I am upgrading the ports on this server every two or three days using portsnap and portupgrade. After portsnap has updated it's index I do a "portupgrade -arR" to upgrade all ports on the system. Mutt needed an upd

Re: Root crontab for backup

2006-07-02 Thread Xian
On Monday 03 July 2006 00:29, Greg 'groggy' Lehey wrote: > It's a good idea to leave /etc/periodic as it is; it makes updating > easier. I personally put this sort of thing in /etc/crontab, though > arguably (also because of upgrades) root's crontab is a better place. You can use /usr/ocal/etc/pe

Re: sudo and LDAP

2006-07-02 Thread Dan Nelson
In the last episode (Jul 02), ACM Staff said: > Ok, so I am running a box with 6.0-STABLE > > Problem is I can't get sudo working for my LDAP based users. I > compiled sudo from the ports tree with LDAP support. Here is some > output > > as a user: > > [EMAIL PROTECTED]:~$ id notroot > uid=2018

sudo and LDAP

2006-07-02 Thread ACM Staff
Ok, so I am running a box with 6.0-STABLE Problem is I can't get sudo working for my LDAP based users. I compiled sudo from the ports tree with LDAP support. Here is some output as a user: [EMAIL PROTECTED]:~$ id notroot uid=2018(notroot) gid=200(acm) groups=200(acm), 203(officers), 201(staff)

Re: speed of PPPoE

2006-07-02 Thread Greg 'groggy' Lehey
On Monday, 3 July 2006 at 11:11:58 +0800, Benny Au wrote: > Hello, > > The speed of PPPoE in FreeBSD is slower than in Windows XP. and > sometimes I have to wait for a moment to visit the same web site > again. It won't disconnect but it works not stably. Could you tell me > how to configure the p

speed of PPPoE

2006-07-02 Thread Benny Au
Hello, The speed of PPPoE in FreeBSD is slower than in Windows XP. and sometimes I have to wait for a moment to visit the same web site again. It won't disconnect but it works not stably. Could you tell me how to configure the ppp and let it run fast? Thanks! _

Re: DNS discovery / FreeBSD Firewall

2006-07-02 Thread Olivier Nicole
> The questions is; How do I have the internal network machines > get the DNS server settings from the Firewall? The two scenarios I > can think of are: that the Firewall also acts as a DHCP server and > somehow set the DNS of the internal net machines to the Firewalls > resolv.conf entries;

gdb in realloc(): error: junk pointer, too high to make sense on FreeBSD 5.2+

2006-07-02 Thread Philip M. Gollucci
Hi, 2 years ago, PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/68727 was filed about gdb itself segfaulting when trying to debug httpd. This PR hasn't seen any action AFAIK. This has been slowly driving me mad as you can not debug any httpd startup code. Which coincidentally also prevents y

Re: another newbie

2006-07-02 Thread Nikolas Britton
On 7/2/06, jdow <[EMAIL PROTECTED]> wrote: From: "Andrew Pantyukhin" <[EMAIL PROTECTED]> > On 7/2/06, Isaac Friedman <[EMAIL PROTECTED]> wrote: >> I am new to UNIX but know the basics of getting >> around, writing simple shell scripts, etc. Is there >> any way to use a short perl program as a sh

Re: FreeBSD 6.0 compat with DL320 G4

2006-07-02 Thread Antony Mawer
On 29/06/2006 9:27 PM, Erik Trulsson wrote: On Fri, Jun 30, 2006 at 07:56:00AM +0100, William wrote: Antony, I've got an Intel card in production already on a homebrew box, the code is INTEL-PWLA8492MT and description is "Intel Dual Port Server Adapter 10/100/1000". Any idea if that will do?

make which ports for maximal printer drivers?

2006-07-02 Thread Travis H.
Hiya, I'm trying to follow the instructions here: http://www.mit.edu/~jik/3000cn/ And I don't have some of the drivers that Linux cups does. What cups or ghostscript ports should I build to get the maximum number of driver options? There are many of each. Thanks! -- Resolve is what distinguis

Re: Kill an stopped process

2006-07-02 Thread Corey Brune
On 7/2/06, O. Hartmann <[EMAIL PROTECTED]> wrote: Sometimes it happens on my FreeBSD 6.1-STABLE/AMD box, that a process, in most cases xine, firefox oder thunderbird, show status 'STOP' in top and are unkillable! Trying to kill them as root (sending signal 9 throught 'kill' or 'killall') doesn't

Re: cannot upgrade

2006-07-02 Thread Michael P. Soulier
On 02/07/06 Michael P. Soulier said: > [Updating the portsdb in /usr/ports ... - 15088 port > entries found /usr/ports/INDEX-6.db: unexpected file type or format -- Invalid > argument: Cannot update the portsdb! (/usr/ports/INDEX-6.db)] > database file error > ^C > Interrupted. > > I ran > > c

Re: Root crontab for backup

2006-07-02 Thread Greg 'groggy' Lehey
On Saturday, 1 July 2006 at 15:55:32 +0300, Kostas Blekos wrote: > > Is it a bad idea to use root's crontab for backup scripts? I can't see why. > Is it better to put those scripts in periodic/... ? It's a good idea to leave /etc/periodic as it is; it makes updating easier. I personally put t

Re: cannot upgrade

2006-07-02 Thread Michael P. Soulier
On 02/07/06 Michael P. Soulier said: > Ok, I moved the existing one to .corrupt, and ran pkgdb -fu. Seems to have > worked. [Updating the portsdb in /usr/ports ... - 15088 port entries found /usr/ports/INDEX-6.db: unexpected file type or format -- Invalid argument: Cannot update the portsdb! (/

Re: cannot upgrade

2006-07-02 Thread Michael P. Soulier
On 02/07/06 Michael P. Soulier said: > [EMAIL PROTECTED] ~]# pkgdb -fu > ---> Updating the pkgdb > [Rebuilding the pkgdb in /var/db/pkg ... > /var/db/pkg/pkgdb.db: unexpected file type or format -- Invalid argument: > Cannot update the pkgdb!] > > I guess I'll have to delete the existing one.

Re: cannot upgrade

2006-07-02 Thread Michael P. Soulier
On 02/07/06 Kent Stewart said: > You "pkgdb -fu" and it recreates the database. You will also probably > find that you need to recreate your INDEX[-*].db. After that, > everything works just fine. All I did is run pkg-version and it rebuilt > the INDEX.db. [EMAIL PROTECTED] ~]# pkgdb -fu --->

pfsync broadcasts without explicitly enabling it

2006-07-02 Thread Peter Schuller
Alright, I have seen this on two machines now. At first I ignored it, but now I am wondering. Suddently I will spot an extraordinary amount of network traffic and on tcpdump:ing discover my machine is spewing out pfsync broadcasts. On both machines pfsync was NOT enabled, nor had it ever been.

Re: another newbie

2006-07-02 Thread jdow
From: "Andrew Pantyukhin" <[EMAIL PROTECTED]> On 7/2/06, Isaac Friedman <[EMAIL PROTECTED]> wrote: I am new to UNIX but know the basics of getting around, writing simple shell scripts, etc. Is there any way to use a short perl program as a shell script? sat64% cat << __END__ > ./script.pl #!/

Re: Portupgrade

2006-07-02 Thread Bill Moran
"E. J. Cerejo" <[EMAIL PROTECTED]> wrote: > I'm running FreeBSD 6.1 release and after upgrading portupgrade using > portupgrade itself I'm getting this message (message bellow) or similar one > everytime I run one of the portupgrade commands like pkgdb -u or -F, > portversion -L = or portupgrad

can't link against net/Sockets

2006-07-02 Thread Xian
I've just installed /usr/ports/net/Sockets and cant link against libSockets that it produced. Having fetched a some of the demo files from http://www.alhem.net/Sockets/tutorial/ I then try to compile: c++ -O2 -fno-strict-aliasing -pipe -march=athlon-xp -g -I/usr/local/include/Sockets -c Displ

Re: Getting NTP (ntpd, ntpdate) to work

2006-07-02 Thread Charles Bacon
Thanks for the return! I've discovered my ISP has apparently shut off port 123 (NTP), and if I dontpdate -u ntp.cape.comI get my time set! But ntpq lacks ntpdate's option to use an unprivileged port. I guess time is come to ask my ISP. (Shouldn't I have done tha before :-] Again thanks

Re: How to disconnect ADSL

2006-07-02 Thread Malcolm Fitzgerald
On 03/07/2006, at 1:18 AM, Benny Au wrote: Hello, I'm a novice of FreeBSD. I just can use "ppp -ddial adsl" to connect to my ISP, but can't disconnect it. Your modem probably has an admin control panel which will include a connect/disconnect switch. Check your manual for the modem url, 192.

Re: cannot upgrade

2006-07-02 Thread Kent Stewart
On Sunday 02 July 2006 14:23, Jim Stapleton wrote: > I would guess that means the file was corrupted somehow, though I > don't know how. > > At any rate, I don't know how to fix that, and not loose the stored > information. You "pkgdb -fu" and it recreates the database. You will also probably fin

Re: cups 1.2 - no output

2006-07-02 Thread Nicolas Blais
On Sunday 02 July 2006 16:50, Jan-Espen Pettersen wrote: > Rainer Heesen wrote: > > USB port busy; will retry in 30 seconds... > > fstat | grep ulpt0 > > .. will reveal which process is eventually having ulpt0 open, and > causing 'device busy'. > The usb backend seems to get this error whil

Portupgrade

2006-07-02 Thread E. J. Cerejo
I'm running FreeBSD 6.1 release and after upgrading portupgrade using portupgrade itself I'm getting this message (message bellow) or similar one everytime I run one of the portupgrade commands like pkgdb -u or -F, portversion -L = or portupgrade itself. Tells me that the database needs to be

Re: setting ntp-servers for ntpdate via dhcp

2006-07-02 Thread Jonathan Horne
On Sunday 02 July 2006 15:49, Erik Nørgaard wrote: > Hi: > > There is a dhcp-option, ntp-servers, to set which ntp-server to use. It > would be quite useful with ntpdate. Does anyone have a patch to ntpdate > startup script or other hack that use this option? - just before I start > hacking myself.

Re: cannot upgrade

2006-07-02 Thread Jim Stapleton
I would guess that means the file was corrupted somehow, though I don't know how. At any rate, I don't know how to fix that, and not loose the stored information. On 7/2/06, Michael P. Soulier <[EMAIL PROTECTED]> wrote: On 02/07/06 Michael P. Soulier said: > Cannot update the pkgdb!]: Cannot u

Re: cups 1.2 - no output

2006-07-02 Thread Jan-Espen Pettersen
Rainer Heesen wrote: > USB port busy; will retry in 30 seconds... > fstat | grep ulpt0 .. will reveal which process is eventually having ulpt0 open, and causing 'device busy'. The usb backend seems to get this error while trying to open /dev/ulpt0. Please also make sure that either the

setting ntp-servers for ntpdate via dhcp

2006-07-02 Thread Erik Nørgaard
Hi: There is a dhcp-option, ntp-servers, to set which ntp-server to use. It would be quite useful with ntpdate. Does anyone have a patch to ntpdate startup script or other hack that use this option? - just before I start hacking myself... Thanks, Erik -- Ph: +34.666334818 we

Re: FreeBSD add user script syntax

2006-07-02 Thread Steve A
[EMAIL PROTECTED] wrote: > How did you setup samba? There are several ways to do this. There are very > useful guides on the samba site. There are also variuos scripts for adding > users etc on the IDEALX site: > http://www.idealx.com/content/view/141/146/lang,fr/index.en.html Many thanks Rob. I'

Re: FreeBSD add user script syntax

2006-07-02 Thread bsd
> I've got Samba set up as a domain controller successfully, and am now > wanting to user usrmgr.exe and svrmgr.exe to make basic user admin changes > from a Windows workstation. > > Some stuff works, and some stuff doesn't, and I was looking for some help > with the script sections listed here...

Etk compilation problem

2006-07-02 Thread Luchezar Petkov
Hi list, I'm trying to compile Etk (Enlightenment ToolKit, e17 library) from source (cvs). Everything is fine, just that: ../../src/lib/.libs/libetk.so: undefined reference to `libintl_bindtextdomain' ../../src/lib/.libs/libetk.so: undefined reference to `libintl_gettext' ../../src/lib/.libs/libe

Re: Help fixing sendmail crassh

2006-07-02 Thread Giorgos Keramidas
On 2006-07-02 11:32, Andreas Wider?e Andersen <[EMAIL PROTECTED]> wrote: > Hi, > Sendmail exits about every 30 minutes. I suspect it has to do with some > mailqueues running, but I don't know how to stop or fix it. > > Running FreeBSD 4.11 p19 > Sendmail 8.13.1 > > from /var/log/messages > > Jul 1

FreeBSD add user script syntax

2006-07-02 Thread Steve A
I've got Samba set up as a domain controller successfully, and am now wanting to user usrmgr.exe and svrmgr.exe to make basic user admin changes from a Windows workstation. Some stuff works, and some stuff doesn't, and I was looking for some help with the script sections listed here... What wo

Re: cannot upgrade

2006-07-02 Thread Michael P. Soulier
On 02/07/06 Michael P. Soulier said: > Cannot update the pkgdb!]: Cannot update the pkgdb!] > /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:444:in `__system': Command > failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ (CommandFailedError) > from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.r

cannot upgrade

2006-07-02 Thread Michael P. Soulier
Um, what does this mean? ** Detected a package name change: apr-db42 (devel/apr-svn) -> 'apr-gdbm-db42' (devel/apr-svn) ** No need to upgrade 'apr-db42-1.2.7_1' (>= apr-gdbm-db42-1.2.7_1). (specify -f to force) [Updating the pkgdb in /var/db/pkg ... /var/db/pkg/pkgdb.db: unexpected file type or f

Re: My DNS servers! They won't reload!

2006-07-02 Thread Atom Powers
On 7/2/06, João Michigan <[EMAIL PROTECTED]> wrote: Hay! Greetings from tropical Singapore! (though my surroundings are pretty much concrete) I'm experiencing difficulties reloading named on both my servers. named.conf and zone files on both servers have been tested elsewhere and works fine. If

Re: another newbie

2006-07-02 Thread Andrew Pantyukhin
On 7/2/06, Isaac Friedman <[EMAIL PROTECTED]> wrote: I am new to UNIX but know the basics of getting around, writing simple shell scripts, etc. Is there any way to use a short perl program as a shell script? sat64% cat << __END__ > ./script.pl #!/usr/local/bin/perl -w print "Hello world!\n"; __

RE: How to disconnect ADSL

2006-07-02 Thread fbsd
kill -1 $(cat /var/run/tun0.pid) Or You stop user PPP by killing the task; there is no hang up command. killall ppp -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Benny Au Sent: Sunday, July 02, 2006 11:18 AM To: [EMAIL PROTECTED] Subject: How to disconn

Re: Problem after update to 6.1

2006-07-02 Thread Martin Schweizer
Hello Lowell I find out the problem. In /etc/rc.d was one file which was not a rc.d script. Am Mon, Jun 26, 2006 at 08:25:34AM -0400 Lowell Gilbert schrieb: > Martin Schweizer <[EMAIL PROTECTED]> writes: > > > Since I updated 5.4R to 6.1R I get the following messages after reboot: > > > > [sni

My DNS servers! They won't reload!

2006-07-02 Thread João Michigan
Hay! Greetings from tropical Singapore! (though my surroundings are pretty much concrete) I'm experiencing difficulties reloading named on both my servers. named.conf and zone files on both servers have been tested elsewhere and works fine. If the problem should appear to be in one or more of t

Re: How to disconnect ADSL

2006-07-02 Thread Shantanoo Mahajan
+++ Benny Au [freebsd] [02-07-06 23:18 +0800]: | Hello, | I'm a novice of FreeBSD. I just can use "ppp -ddial adsl" to connect | to my ISP, but can't disconnect it. Could u tell me the command? | Additionally, where can I get a GUI tool for PPPoE? | Thanks! try # killall ppp Shantanoo -- Ignore

SIS 965L ATA support

2006-07-02 Thread Scott Lipcon
Hi all, I just got an Asus A8S-X motherboard, and probably should have done more research. I've managed to get it all working except for the ATA support (PATA - I haven't tried SATA yet)I'm running FreeBSD 5-STABLE (Was 5.4-STABLE, I just upgraded to 5.5-STABLE in hopes it would help) I

another newbie

2006-07-02 Thread Isaac Friedman
I am new to UNIX but know the basics of getting around, writing simple shell scripts, etc. Is there any way to use a short perl program as a shell script? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mai

portversion and sudo

2006-07-02 Thread Tankko
I have two machines running the same version of 5.3, and all ports are current on both, but, on one of the machines, if I run "portversion" I get this: undefined method `each' for nil:NilClass /usr/local/sbin/portversion:239: [BUG] Bus Error ruby 1.8.4 (2005-12-24) [i386-freebsd5] Abort trap If

How to disconnect ADSL

2006-07-02 Thread Benny Au
Hello, I'm a novice of FreeBSD. I just can use "ppp -ddial adsl" to connect to my ISP, but can't disconnect it. Could u tell me the command? Additionally, where can I get a GUI tool for PPPoE? Thanks! Best regards, Benny Au ___ freebsd-questions@freebs

cups 1.2 - no output

2006-07-02 Thread Rainer Heesen
Dear all after upgrading to cups 1.2, my printer doesn't print anymore. There is no output. I read the thread concerning cups & permission denied and added the file /etc.devfs.rules. My printer is a Konica Minolta Pagepro 1300 W, that has an usb as well as a parallel interface. First, I trie

Can't print to CUPS from Macintosh

2006-07-02 Thread Charles Howse
Hi, I need some help getting a FreeBSD print server to print jobs from my Mac. Previous versions of CUPS worked perfect on the same computer(s), same version of FreeBSD. FreeBSD 6.1-RELEASE-p2, cups-1.2.0, Mac OS X 10.4.7 Printing a test page from the web interface works fine, and the pri

Kill an stopped process

2006-07-02 Thread O. Hartmann
Sometimes it happens on my FreeBSD 6.1-STABLE/AMD box, that a process, in most cases xine, firefox oder thunderbird, show status 'STOP' in top and are unkillable! Trying to kill them as root (sending signal 9 throught 'kill' or 'killall') doesn't have any effect. Can anyone help and tell how t

Re: permission denied on /dev/ttyd0

2006-07-02 Thread Yousef Raffah
On Sat, 2006-07-01 at 20:55 +0300, Yousef Raffah wrote: > Hello.. > > It's kinda strange though but I am getting a permission denied when I > try to read from the /dev/ttyd0 device although I have: > > crw--- 1 root wheel0, 75 Jul 1 20:49 /dev/ttyd0 > crw--- 1 root wheel0,

Snapshot problems

2006-07-02 Thread Andrea Venturoli
Hello. I run an amd64 6.1 IMAP server. I do nightly backups by stopping cyrus imapd, taking a snapshot, restarting the server and then backup from the snapshot. However, I get two kind of problems: a) when I mount the snapshot I get: Jun 30 01:04:56 golia kernel: WARNING: /var was not properly

Re: batching port builds

2006-07-02 Thread Nikolas Britton
On 6/30/06, Kevin Kinsey <[EMAIL PROTECTED]> wrote: Michael P. Soulier wrote: > On 30/06/06 David J Brooks said: > >> If you do 'make -DBATCH' instead of 'make' - you will use the preset >> defaults for each port with options. Or you can do >> 'make config-recursive' - which will offer you all

Help fixing sendmail crassh

2006-07-02 Thread Andreas Widerøe Andersen
Hi, Sendmail exits about every 30 minutes. I suspect it has to do with some mailqueues running, but I don't know how to stop or fix it. Running FreeBSD 4.11 p19 Sendmail 8.13.1 from /var/log/messages Jul 1 20:41:02 malibu /kernel: pid 50923 (sendmail), uid 0: exited on signal 11 Jul 1 21:08:5

The FreeBSD Diary: 2006-06-11 - 2006-07-01

2006-07-02 Thread Dan Langille
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the maili