Re: ezjail ip conflicts

2007-03-23 Thread Joe Holden

Robin Becker wrote:

Joe Holden wrote:

 
  how do I fix this or perhaps I don't need to?
  syslogd_flags=-ss in rc.conf
  sshd is configured in /etc/ssh/sshd_config.
.

I looked in vain in /etc/rc.d/syslogd for references to syslogd_ and 
didn't find any, but now I see \$rc_flags which I guess must be what is 
used. Thanks Joe and Karol.


I now get a message saying

Warning: IP 209.67.217.27 not configured on a local interface.

but I think that just means I don't have an alias set up yet.

BTW, all the poential flags for rc.conf are in /etc/defaults/rc.conf ;)

Not sure about the ezjail error, only ever done them manually.

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


Re: CTM update from mail

2007-03-27 Thread Joe Kraft


I'm preparing to take a computer on the road with me where I won't 
have direct access to the internet, but will be able to receive e-mail 
on a different computer through a webmail interface.  I intend to keep 
up to date using CTM, and have looked through the handbook but there 
seems to be an important part missing.


I'm trying to figure out how to use updates received in the mail.  The 
updates are split into multiple parts and CTM doesn't seem to process 
them directly.  I can't figure out how to reconstruct the original 
cvs-cur.*.gz file from the parts.




I finally figured this out, so I'll answer my own question in case 
someone as stupid as I happens upon this thread while searching for 
their own answer.


RTFM, ctm_rmail.  It's also mentioned in the handbook, although I swear 
someone added it in the last couple of days because I didn't see it last 
week when I was looking for it.  ;-)


Joe.

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


error loading php5.so

2007-04-02 Thread Joe Auty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Anybody see this error before?

# apachectl start
Syntax error on line 273 of /usr/local/etc/apache2/httpd.conf:
Cannot load /usr/local/libexec/apache2/libphp5.so into server:
/usr/local/libexec/apache2/libphp5.so: Undefined symbol __res_ninit


This is occurring under FBSD 6.2 running the latest versions of Apache/PHP

- --
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGEUsiCgdfeCwsL5ERAoSOAJ4rMtiZ0HMUIZYvtLzLg4D/cj5hgQCfb8Us
gUokor6Xt50UcU8GgfGMojU=
=odrU
-END PGP SIGNATURE-

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


Re: error loading php5.so

2007-04-03 Thread Joe Auty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kevin Kinsey wrote:
 Joe Auty wrote:

 # apachectl start Syntax error on line 273 of
 /usr/local/etc/apache2/httpd.conf: Cannot load
 /usr/local/libexec/apache2/libphp5.so into server:
 /usr/local/libexec/apache2/libphp5.so: Undefined symbol
 __res_ninit

 This is occurring under FBSD 6.2 running the latest versions of
 Apache/PHP

 Possibly looks as if PHP is unaware of Apache's existence? (or at
 least it was at time of compile). How did you do the upgrade?


Just via a simple portupgrade... doing a:

portupgrade -f php5

Does not correct this problem (although it does create a new
libphp5.so). Any further ideas?

- --
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGEqOACgdfeCwsL5ERAjxfAJoDH2nnK1T3yH6PsHtEYlVwW2RPBACgjtJz
mv42QoL76+kHw4AJwZLUOJo=
=iz/w
-END PGP SIGNATURE-

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


best spam filter port(s) for postfix?

2007-09-30 Thread Joe in MPLS
I'm running 6.2-STABLE with postfix with cyrus-sasl, imap-uw  horde for 
mail. I'd like to stop depending on clients(Thunderbird  PDAs) for  
primary spam control (especially because our PDAs don't do any). AV 
scanning would be a plus too.


   ...jgm



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


Re: doing a minimal FreeBSD install

2007-10-02 Thread Joe in MPLS

Daniel Bye wrote:


On Tue, Oct 02, 2007 at 01:59:55PM -0700, Rogelio Bastardo wrote:
 


I'm looking to install only the bare essentials to FreeBSD and then
install each program piece-by-piece afterwards.

To do this, do I just need the first FreeBSD 6 ISO?  Or can I get away
with just the boot CD ISO and then install each port one-by-one?

(Basically, I just wanna build a Nagios server, and that requires
very, very little)
  



A bit more work perhaps than you're willing or able to commit, but you
might be interested in MiniBSD - a set of scripts that enable you to 
pare down a base FreeBSD system to something very small indeed.


http://www.minibsd.org

It needs some practice to get it right, but the results are quite
useful when you get it right!

Dan

 

I'm running a couple of mini-ITX sized mini-bsd machines now. They're 
dedicated to SSL proxy duties. They boot and run fom 32MB compact flash 
cards. / is mounted read only, /var  /tmp are ramdisks. Runs great on 
VMware too.


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


Kernel panic; fatal trap 12; on task 22, USB0: was Re: Moused issues?

2007-10-06 Thread Joe Altman
NB: I've copied -usb because it looks to me like it's definitely USB
that's implicated; but I still need a clue for getting a crash dump;
-questions seems the place to ask for that.

On Sun, Sep 23, 2007 at 07:57:41PM -0400, Joe Altman wrote:
 
 uname for the machine on which it fails:
 
 6.2-STABLE FreeBSD 6.2-STABLE #0: Sun Sep  2 17:30:39 EDT 2007 i386
 
 Is it possible to get more info on this for debugging short of putting
 debugging in the kernel, and configuring a dump device; rebuilding
 world, and hoping my machine does not become unusable?

I'm still seeing the USB associated crashes, with sources updated
several times and world remade between Sept. 23 and Oct. 6, 11 AM EDT.

The above uname shows the only kernel I can use.

I've attempted to obtain a dump using these instructions:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html#KERNELDEBUG-OBTAIN

And here, I think, are the relevent details.

In /etc/rc.conf, I have:

##Crash
dumpdev=AUTO
dumpdir=/var/tmp/crash

/var/tmp/crash exists with appropriate permissions; and swapinfo shows
2 Gig of space:

 ~ $: swapinfo
Device  1M-blocks UsedAvail Capacity
/dev/ad0s1b  20480 2048 0%

AIUI, dumpdev=AUTO dictates the use of /dev/ad0s1b.

/var/tmp has this much free space:

df -m
/dev/ad0s1f  3962   618  302717%/var/tmp

However, my kernel tosses this message to the console:

Fatal trap 12: page fault while in kernel mode

snip

and indicates a problem with task 22, USB[1] 0. Prior to problem with
task 22, USB 0; it was the same fatal trap, task 25, USB 1.

Then it indicates that there is no dump device. It seems to me that
all I should have to do is define the dumpdev in rc.conf to obtain a
dump; and in my case, since /var is smaller than RAM and swap, define
/var/tmp/crash.

So it looks to me as if I am experiencing what is described here:

...a kernel is crashing before dumpon(8) can be executed. taken from
the kerneldebug.html page.

Or am I missing something in the configuration of the dump device? If
not, is my only option to put a dump directive into my kernel config?
If so, what is the proper syntax?

device dump  

or something else?

Also, I decided it was easier for my to snap a picture than
transcribe the screen; it's here if anyone is interested:

chthonic.com/crash-crash-crash

I'm limping along, I think; and would appreciate some clues, please.

One more data point: I'm using an IBM PIII laptop; and I do not
experience any crash on that; and my AMD dual core does not crash
either; all three machines use, AFAICT, the same USB code.

Thanks.

[1] The USB controller is: Intel 82801EB (ICH5) USB controller and
Intel 82801EB/R (ICH5) USB 2.0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel panic; fatal trap 12; on task 22, USB0: was Re: Moused issues?

2007-10-07 Thread Joe Altman
On Sun, Oct 07, 2007 at 11:01:41AM +0200, Hans Petter Selasky wrote:
 On Saturday 06 October 2007, Joe Altman wrote:
  chthonic.com/crash-crash-crash
 
 Hi,
 
 Do you have options KDB in your kernel config file ?

Following your suggestion, I did try this; and there was no
change from kernel panic and reboot.

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-options.html
 
 You should get a prompt when it panics.

There was no prompt.

 Then you type in bt for backtrace. 
 Maybe you could take a picture of that. 

Personally, it's a bit embarassing to be so helpless that I am forced
to take a picture. I suppose if I could be certain about how to
compile bootblocks, I might be able to do something on the serial
console with a laptop.

But the one time I attempted that was a disaster. 

Is my speculation about the ...no dump device found... correct? Is
it that swapon and multiuser has not occurred, and so there can occur
no dump to the swap space?

 Probably someone is accessing a NULL pointer.

If any more damage occurs, ISTM that my entire installation will be
accessing a NULL pointer; the following message is from the most
recent dmesg, and is new:

warning: KLD '/boot/kernel.old.bootable/drm.ko' is newer than the
linker.hints file

Since my hardware appears to not work with the available source, who
knows how that will go?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Portsnap and freebsd-update don't work behind transparent proxy?

2007-11-07 Thread Joe S
I have a 2 fresh installs of FreeBSD 6.2 on i386 box and on a vmware host.

Both hosts are behind a transparent proxy.

Both tools, which use phttp, fail.

# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching metadata signature from update1.FreeBSD.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 26 patches. done.
Applying patches... done.
Fetching 25 files... failed.


# portsnap fetch
Looking up portsnap.FreeBSD.org mirrors... 4 mirrors found.
Fetching snapshot tag from portsnap3.FreeBSD.org... done.
Fetching snapshot metadata... done.
Updating from Tue Nov  6 16:55:02 PST 2007 to Wed Nov  7 13:35:57 PST 2007.
Fetching 0 metadata patches. done.
Applying metadata patches... done.
Fetching 0 metadata files... done.
Fetching 22 patches. done.
Applying patches... done.
Fetching 21 new ports or files... /usr/sbin/portsnap: cannot open
1f807d6e1674085144565408e4376cdb85611b9199c09ede8a1a9dc566b91957.gz:
No such file or directory
snapshot is corrupt.



I've tried multiple times all day. Same results each time.

How do I get around this?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd-update fetching files failed

2007-11-12 Thread Joe S
My apologies to the list.

Mail.app and Gmail IMAP don't play well together.

Apparently every time Mail.app auto saves a draft copy, gmail sends the email.

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


FreeBSD 7.0-Release

2007-07-02 Thread Joe Vender
Has a release date been set for FreeBSD 7.0-Release? If not, how about an 
(educated guess) approximate date, month?


Joe

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


Re: FreeBSD 7.0-Release

2007-07-03 Thread Joe Vender
On Monday 02 July 2007 18:16, matt donovan wrote:
 it's on the freebsd site but the code freeze has begun so some are guessing
 around October or so

 On 7/2/07, Joe Vender [EMAIL PROTECTED] wrote:
  Has a release date been set for FreeBSD 7.0-Release? If not, how about an
  (educated guess) approximate date, month?
 
  Joe


Thanks. About 4 months from initial code freeze. That's about what I expected.

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


Re: fsck on a read only partition?

2007-07-04 Thread Joe Holden
Alfred Perlstein wrote:
 Hello, how do I fsck my disk if it's mounted?
 
 I have downgraded the mount to read-only, but still geom seems
 to disallow fsck access to it. 
 
 Is there a way to tell the system to allow fsck to open it
 read/write?
 
 thanks,
If you unmount it first, you should be able to fsck it fine, /dev/blah
(ad0/1/2/whatever)

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


virtualized network interfaces within jails

2007-07-11 Thread Joe Barnes

Hello all

I'm attempting to run bind from multiple jails in 6.2, but I can't sem
 to configure my jail such that its unable to see any other physical
 interfaces.   I want to run several jails on the same physical interface
 with a vlan associated with each virtual interface. Each finished jail
 should appear to have only one interface running virtually on a physical
 NIC in the host OS.  Once inside the jail, I only want to see the
 virtual interface appear as a physical interface, without indicating it is
 associated with a vlan on the host OS.  Xen on fedora appears to be
 able to do this, but I'd prefer to get this working as a jail.

Hardware appears to be suported (Dell 1950, with Broadcom NetX2
 cards)... any help is appreciated.  

~Joe

   
-
Yahoo! oneSearch: Finally,  mobile search that gives answers, not web links. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Transferring a GEOM array between hosts

2007-08-25 Thread Joe Schaefer

I have an external JBOD array that is a mirror
of two stripes.  What I'd like to do is plug
that array into a new/different freebsd host
machine.  Is there anything I need to do to 
prepare the new machine for the array?

Naively, I'd hope that the new machine will pick
up the geom configuration from the drives themselves,
so I won't have to run any gmirror or gstripe commands 
on the new machine after the JBOD has been plugged
into it.

Can anyone who has done this before give me
a few tips on how to plan appropriately for
such a move?

-- 
Joe Schaefer

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


/usr/ports/Tools/make_readmes: Permission denied

2007-08-28 Thread Joe Demeny

After running make index  make readmes (as root) after cvsupping my
ports tree, I get this error message:

/usr/ports/Tools/make_readmes: Permission denied
*** Error code 126

Stop in /usr/ports.

This is a  FreeBSD 6.2-STABLE machine.

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


Moused issues?

2007-09-22 Thread Joe Altman
Or maybe USB; I can't tell.

Background:

Beginning around 5 PM EDT Sept. 21 I upgraded world and rebuilt my
kernel; after rebooting to install the new kernel at about 9 PM, the
system panicked and tossed something like this on the console (I'm
working from memory; it was late and I was tired):

Fatal trap 12: page fault while in kernel mode

followed by a bunch of other text, no dump device, and then a
reboot in fifteen seconds countdown.

The process seemed to hang somewhere around initializing or querying
the mouse, a Razer USB.

I rebooted and chose kernel.old; it works fine; and it looks like the
code (I'm working on an uninformed hunch here) for moused.c did change
just before the time I upgraded source.

http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/moused/moused.c.diff?r1=1.70.2.5;r2=1.70.2.6;f=h

Again: I'm guessing based on what I see failing in the boot process;
and on the things I can find that changed in the source tree: I can
see other things that changed at about the same time; for instance,
kld.3, kld.c,libutil.h in /usr/src/lib/libutil/; it looks like these
things are relevant to loading ums(4) bits.

Any clues?

If the only way to investigate further is to build a debugging kernel
and configure a dump device, I'm afraid I cannot build any sort of
debugging kernel; I am pretty sure it would render my machine unusable
and given that I've just reinstalled it on June 16, I'd rather not
risk it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Moused issues?

2007-09-23 Thread Joe Altman
On Sat, Sep 22, 2007 at 05:12:45PM -0400, Nick Evans wrote:
 
 Try using version 1.94 of ums.c in /sys/dev/usb/. This fixes my
 Razor. Newer versions don't crash on me, but the mouse attaches then
 does nothing.

Thank you for the suggestion, Nick; but no joy: the kernel compile
fails:

/usr/src/sys/dev/usb/ums.c: In function `ums_match':
/usr/src/sys/dev/usb/ums.c:202: error: `UIPROTO_MOUSE' undeclared (first use in 
this function)
/usr/src/sys/dev/usb/ums.c:202: error: (Each undeclared identifier is reported 
only once
/usr/src/sys/dev/usb/ums.c:202: error: for each function it appears in.)
/usr/src/sys/dev/usb/ums.c: In function `ums_attach':
/usr/src/sys/dev/usb/ums.c:341: error: `UQ_MS_BAD_CLASS' undeclared (first use 
in this function)
*** Error code 1


Oddly, my AMD64 laptop uses ums.c 1.77.2.5 2007/06/17 along with the
new moused, etcetera; and it does not fall over with or without the
Razer attached to it. I'd mark it down to an oddness in my source
tree on the i386 desktop; but since Nick seems to have had the same
problem with a Razer, I can't.

uname for the machine on which it fails:

6.2-STABLE FreeBSD 6.2-STABLE #0: Sun Sep  2 17:30:39 EDT 2007 i386

Is it possible to get more info on this for debugging short of putting
debugging in the kernel, and configuring a dump device; rebuilding
world, and hoping my machine does not become unusable?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can't boot new disk unless it's on the 2nd IDE channel

2007-09-26 Thread Joe in MPLS
Several months ago I bought a bigger (IDE) disk and set about the task 
of moving a FreeBSD 6.1 STABLE #0 system to teh new disk. I did the 
fdisk, boot0cfg and bsdlabel stuff and dumps piped to restores to get 
all the bytes moved. I thought all was well so I got lazy and never 
removed the old disk.


After doing an update this week via make buildworld etc, I realized that 
the box was still booting from the old small drive and loading an old 
kernel before mounting everything mentioned in /etc/fstab.


I used fdisk to make the 1st slice of teh new disk active, edited fstab 
to change all the ad2s1x entries to ad0s1x, disconnected the first drive 
and moved the new drive to the first IDE channel. No joy.


I used bsdlabel -e to change my / partition from ad2s1d to ad2s1a 
(sysinstall disklabel would not let me assign a to a partition on the 
second disk). Still no joy and worse, it wouldn't boot even with the 
first disk in place.


I managed to get it booting with both drives installed again, but now it 
wants my fstab entries to be ad2a, ad2e etc. It doesn't like the 
ad2s1x stuff in there any more. Then for the heck of it, I 
disconnected the first drive, left the new drive on the second channel 
and it booted just fine!


here's fdisk output:

[EMAIL PROTECTED] ~]# fdisk
*** Working on device /dev/ad2 ***
parameters extracted from in-core disklabel are:
cylinders=119705 heads=16 sectors/track=255 (4080 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=119705 heads=16 sectors/track=255 (4080 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
UNUSED
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
   start 0, size 5 (24 Meg), flag 80 (active)
   beg: cyl 0/ head 0/ sector 1;
   end: cyl 1023/ head 254/ sector 63

I don't know why part #4 is active when I marked #1 active earlier 
tonight... and the disk is way bigger than 24 MB as shown by df -h:

[EMAIL PROTECTED] ~]# df -h
FilesystemSizeUsed   Avail Capacity  Mounted on
/dev/ad2a 1.9G191M1.6G10%/
devfs 1.0K1.0K  0B   100%/dev
/dev/ad2e 1.9G2.4M1.8G 0%/tmp
/dev/ad2g 176G7.8G154G 5%/usr
/dev/ad2f  44G558M 40G 1%/var
devfs 1.0K1.0K  0B   100%/var/named/dev

and here's bsdlabel:

[EMAIL PROTECTED] ~]# bsdlabel ad2
# /dev/ad2:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
 a:  419430404.2BSD 2048 16384 28552
 b:  4194304  4194304  swap
 c: 4883971680unused0 0 # raw part, 
don't edit

 e:  4194304  83886084.2BSD 2048 16384 28552
 f: 94371840 125829124.2BSD 2048 16384 28552
 g: 381442416 1069547524.2BSD 2048 16384 28552

How do I make this ad0 instead of ad2?

TIA   ...jgm







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


Re: Can't boot new disk unless it's on the 2nd IDE channel

2007-09-26 Thread Joe in MPLS

Should have included this the first time:

When the disk is on the first channel, the BIOS reports and invalid 
partition table then the boot loader runs anyway until I end up at a 
mountroot prompt. Whatever I try to enter at the prompt I'm told the 
disk doesn't exist. It doesn't matter which disk my fstab mount points say.


If I have the disk on the second channel it boots just fine regardless 
of whether there's a disk on the first channel or not.


 ..jgm




Joe in MPLS wrote:
Several months ago I bought a bigger (IDE) disk and set about the task 
of moving a FreeBSD 6.1 STABLE #0 system to teh new disk. I did the 
fdisk, boot0cfg and bsdlabel stuff and dumps piped to restores to get 
all the bytes moved. I thought all was well so I got lazy and never 
removed the old disk.


After doing an update this week via make buildworld etc, I realized 
that the box was still booting from the old small drive and loading an 
old kernel before mounting everything mentioned in /etc/fstab.


I used fdisk to make the 1st slice of teh new disk active, edited 
fstab to change all the ad2s1x entries to ad0s1x, disconnected the 
first drive and moved the new drive to the first IDE channel. No joy.


I used bsdlabel -e to change my / partition from ad2s1d to ad2s1a 
(sysinstall disklabel would not let me assign a to a partition on 
the second disk). Still no joy and worse, it wouldn't boot even with 
the first disk in place.


I managed to get it booting with both drives installed again, but now 
it wants my fstab entries to be ad2a, ad2e etc. It doesn't like 
the ad2s1x stuff in there any more. Then for the heck of it, I 
disconnected the first drive, left the new drive on the second channel 
and it booted just fine!


here's fdisk output:

[EMAIL PROTECTED] ~]# fdisk
*** Working on device /dev/ad2 ***
parameters extracted from in-core disklabel are:
cylinders=119705 heads=16 sectors/track=255 (4080 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=119705 heads=16 sectors/track=255 (4080 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
UNUSED
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
   start 0, size 5 (24 Meg), flag 80 (active)
   beg: cyl 0/ head 0/ sector 1;
   end: cyl 1023/ head 254/ sector 63

I don't know why part #4 is active when I marked #1 active earlier 
tonight... and the disk is way bigger than 24 MB as shown by df -h:

[EMAIL PROTECTED] ~]# df -h
FilesystemSizeUsed   Avail Capacity  Mounted on
/dev/ad2a 1.9G191M1.6G10%/
devfs 1.0K1.0K  0B   100%/dev
/dev/ad2e 1.9G2.4M1.8G 0%/tmp
/dev/ad2g 176G7.8G154G 5%/usr
/dev/ad2f  44G558M 40G 1%/var
devfs 1.0K1.0K  0B   100%/var/named/dev

and here's bsdlabel:

[EMAIL PROTECTED] ~]# bsdlabel ad2
# /dev/ad2:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
 a:  419430404.2BSD 2048 16384 28552
 b:  4194304  4194304  swap
 c: 4883971680unused0 0 # raw part, 
don't edit

 e:  4194304  83886084.2BSD 2048 16384 28552
 f: 94371840 125829124.2BSD 2048 16384 28552
 g: 381442416 1069547524.2BSD 2048 16384 28552

How do I make this ad0 instead of ad2?

TIA   ...jgm







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



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


Re: error loading php5.so

2007-04-04 Thread Joe Auty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kevin Kinsey wrote:
 Joe Auty wrote:
 # apachectl start Syntax error on line 273 of
 /usr/local/etc/apache2/httpd.conf: Cannot load
 /usr/local/libexec/apache2/libphp5.so into server:
 /usr/local/libexec/apache2/libphp5.so: Undefined symbol
 __res_ninit

 This is occurring under FBSD 6.2 running the latest versions
 of Apache/PHP
 Possibly looks as if PHP is unaware of Apache's existence? (or
 at least it was at time of compile). How did you do the
 upgrade?


 Just via a simple portupgrade... doing a:

 portupgrade -f php5

 Does not correct this problem (although it does create a new
 libphp5.so). Any further ideas?

 Well, I'm not absolutely certain of anything.  I'd make sure that
 make config under /usr/ports/lang/php5 indicated Apache module
 was to be built, and do something more like -rR php5 instead of
 -f.  Did you add new extensions to php at the time of this
 build, also?

 ??,

 Kevin Kinsey

I did not manually add any extensions... In fact, this error persists
even with all of my extensions commented out in my extensions.ini
file. Could this be connected to the major gettext upgrade?


I'm doing a portupgrade -rRf php5 as we speak (this will take a good
while to complete on this slower computer).

Thanks again for your help!


- --
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGE81CCgdfeCwsL5ERAjRIAKCblUt5Wicoq0PqptRm50BlBnPVDgCffGQd
BjiwVOBtOvsrkrX1wMjeEZI=
=gFML
-END PGP SIGNATURE-

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


Re: error loading php5.so

2007-04-04 Thread Joe Auty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Joe Auty wrote:
 Kevin Kinsey wrote:
 Joe Auty wrote:
 # apachectl start Syntax error on line 273 of
 /usr/local/etc/apache2/httpd.conf: Cannot load
 /usr/local/libexec/apache2/libphp5.so into server:
 /usr/local/libexec/apache2/libphp5.so: Undefined symbol
 __res_ninit

 This is occurring under FBSD 6.2 running the latest
 versions of Apache/PHP
 Possibly looks as if PHP is unaware of Apache's existence?
 (or at least it was at time of compile). How did you do the
 upgrade?

 Just via a simple portupgrade... doing a:

 portupgrade -f php5

 Does not correct this problem (although it does create a new
 libphp5.so). Any further ideas?
 Well, I'm not absolutely certain of anything.  I'd make sure that
  make config under /usr/ports/lang/php5 indicated Apache module
  was to be built, and do something more like -rR php5 instead
 of -f.  Did you add new extensions to php at the time of this
  build, also?

 ??,

 Kevin Kinsey

 I did not manually add any extensions... In fact, this error
 persists even with all of my extensions commented out in my
 extensions.ini file. Could this be connected to the major gettext
 upgrade?


 I'm doing a portupgrade -rRf php5 as we speak (this will take a
 good while to complete on this slower computer).



Okay, doing the portupgrade -rRf php5 has resolved this issue. I'm not
sure as to what it was, but for now I suppose I can be content in just
having it working since this is not a production machine.

Thanks for all your help!


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGFA5xCgdfeCwsL5ERAgocAJ9jld7nxkgOp3Qz0146+dNwlZzr8wCeNiKp
QQIhqksZD9BNWpsvJJ9Rjxs=
=K0Ma
-END PGP SIGNATURE-

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


Re: Marvell 88SE61xx

2007-04-04 Thread Joe Kraft

Alexander Anderson wrote:

Thu, Mar 29, 2007 at 10:43:51 PM, Alexander Anderson wrote:

Hello.
I'm installing FreeBSD 6.2-RELEASE on a brand new system with Intel
D975XBX2 board. It seems that FreeBSD does not support the onboard Marvell
88SE6145 SATA controller. Could someone confirm this?

At first, when I tried to boot the installation CD, the loader hung very
early in the process with the message BTX halted. But when I went to the
BIOS and disabled Secondary SATA controller (in Advanced, Peripheral
Configuration), the CD booted and the install began alright.


[snip]


Now that I figured out what was causing the BTX halted error, I'm going
to complete the installation, and then try to enable the Marvell
controller back. Let's see if that works.


No one seems to have replied ...but I'll draw the summary, anyway.

The installation has completed successfully with Marvell 88SE6145 SATA
RAID controller disabled. When I go to BIOS and enable it back, the system
still boots, but dmesg shows no sign of Marvell's presence.

I'm still not sure if the controller is just not configured correctly or
if it is not supported under FreeBSD at all, however, I'm leaning towards
the latter.



I ran into the same problem with my installation on the same mobo.  I 
didn't have to disable the controller or anything, but there needs to be 
a SATA drive connected to port 0 of the controller or SYSINSTALL bombs 
with the BTX halted failure.  I vaguely remember something on this list 
a few months back about that in general, not specifically with this mobo.


I don't remember about the Marvell controller, if it showed up or not. 
It seems it did though, but I might have added something to GENERIC for 
it.  I'm on the road for a while, but if you're still interested I'll 
look when I get home.


Joe Kraft.

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


Re: Fetching sources from Windows?

2007-04-07 Thread Joe Kraft

Jerry McAllister wrote:

On Mon, Mar 05, 2007 at 12:45:55PM -0500, frzburn wrote:


Hi!
I have a slow Internet connection at home, and I would like to know if it is
possible to fetch the STABLE sources from somewhere else (ex.: at work).
What I want is to get the latest sources, like described in the handbook (
http://www.ca.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html),
even if it means downloading all of it, since there no way to diff with my
current source...


Basically, that is what I do.  I only have a regular old phone modem at home.
I take my home machine in to the office where I have a reliable 100 Mb/s
and do my installs there.   The only problem is fixing up IPs and host
names.

If I ever get rich and get a laptop with significant disk, I can just
carry that and pull everything down to it and take it home to work
on the desktop machine - or I could get one of those nice big USB drives
and download everything to that.

jerry

I have a computer that's not connected to the internet that I keep up to 
date using CTM.  I've subscribed to one of the ctm-XXX mail list with my 
work address and I just save the messages to a relatively small USB 
memory stick from the windows machine.  Once I have the updates on there 
I bring the stick home and run ctm-rmail and it updates my source tree.


It would have been even easier if I was able to get ftp access to get 
the CTM updates directly without resorting to using e-mail for the transfer.


Setting it up is discussed in the handbook, I've only been doing it for 
a couple of weeks, but it seems to work for me.


Joe.

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


GUI to ports collection on FBSD?

2007-04-16 Thread Joe Vender
Hi,
Is there a GUI interface to the FreeBSD
ports collection for use in kde similar to synaptic or adept?

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


Re: every two weeks

2007-04-18 Thread Joe Holden

John Haig wrote:
 
Hi 
 
Every two weeks my Freebsd 5.3 box goes down. 
 
I'm running a webserver, databaase. No mail. 
 
Unfortunately it's 1100 miles from where I am and is quite the pain for
my contact to go and start it up again. 
 
He says it's turned off and cold by the time he gets there.
 
It's an old box for sure, hardware seems the likely culprit, but why up

for two weeks and then down?
 
It's the 4th time in well, about 8 weeks. Before that it was off for a

long time because no one could get to it. It's in New Orleans.
 
Anyone run into anything similar? It seems so un freebsd.
 
What would be a good way to see what the last thing that happened was?
 
Thanks for any insight. Please respond to me personally (as well as to

the list if you like).
 

Hi John,

Sounds like a potential PSU issue, is there anyone at the facility to 
test/replace it?


Meanwhile, you may want to watch the temperatures while it is in 
operation, incase it is shutting down due to heat.


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


Re: network/IP notation question ##.##.##.##/??

2007-04-20 Thread Joe Holden

Jim Stapleton wrote:

I am looking at something that has the following line as a demo:
set iface route 192.168.0.0/24

what does the /24 mean?

Thanks,
-Jim Stapleton


http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing

HTH,
J

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


What to backup for named?

2007-04-22 Thread Joe Kraft
After a recent disk failure, I left myself a note to add the DNS/DHCP 
info to my backup.


I have a small, over-engineered for my education, network of 10 
computers in my house.  I run BIND with dynamic zones on my FreeBSD 
server, I also use the DNS service on my Win2k-AD server.  They both are 
designated as slaves for each other.


What do I need to backup?  Are just the configuration files from 
/var/namedb/etc/namedb enough to recreate everything if my FBSD server 
dies?  Or are there some database files I should be keeping also?


I tried googling, but either this is way to easy of a question or I'm 
not looking in the right places.


Thanks for any insight,
Joe.

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


Re: pop up message

2007-04-29 Thread Joe Ryan
These messages are normal and are only visible on the first virtual 
terminal (alt+f1).  Switch to another terminal using alt+f2 or alt+f3... 
and you won't see the messages.


ChueKeung Mock wrote:

Hi, I had problem of pop up message during using the
terminal of freebsd.  I installed Freebsd 6.1 on AMD
cup computer.  there is pop up message during using
the terminal.  the messages like

Apr 28 20:05:01 dhcppc1 login: ROOT LOGIN (root) ON
ttyv0

Apr 28 21:52:53 dhcppc1 last message repeated 5
times

I feel these message annoying because it disturbs me
when I edit a doc using editor.  please let me know
how to turn these message off.  thank you

tony

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___

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

  

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


acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00

2007-05-17 Thread Joe Altman
The subject line contains the dmesg that indicates...something; the
symptom is that CDs aren't seen by the drive:

acd0: CDRW PLEXTOR CD-R PX-W1610A/1.04 at ata1-master PIO4

uname -a

FreeBSD chthonic.chthonixia.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed
May 16 00:16:21 EDT 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CHTHONIC  i386

Old kernel and associated modules:

May 11, 21:35 EDT. 

Looking via Google for the error turns up this thread on -stable:



Andrei V. Lavreniyuk bamston at reactor-xg.kiev.ua
Mon Apr 23 09:08:54 UTC 2007

Hi!

 I believe the culprit is somewhere in a recent MFC to atapi-cam.c
 (rev 1.42.2.3) reverting to rev 1.42.2.2 fixes both the k3b system
 hangs and INQUIRY ILLEGAL REQUEST errors here.

I utillized the version of atapi-cam.c (rev. 1.42.2.1) and all works
normally.

===

I have this version of the file:

#include sys/cdefs.h
__FBSDID($FreeBSD: src/sys/dev/ata/atapi-cam.c,v 1.42.2.5 2007/05/15 16:19:42 
thomas Exp $);

So AFAICT, either this was not the relevant file; or a fix for the
bug was never committed; or perhaps a fix was committed, but doesn't
quite work; or perhaps the bug crept back in...but I don't know.

In any event, I need a clue: is this file, atapi-cam.c, the one to
assume contains the source of this error? If so, I suppose I need to
submit a bug report.

Thanks, and best regards,

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


Re: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00

2007-05-19 Thread Joe Altman

On Fri, May 18, 2007 at 11:14:50AM +0300, Simon Phoenix wrote:
 
 I have the same error message since version 1.42.2.3 of the atapi-cam.c.
 Hangs while writing media was fixed in 1.42.2.4, but this error message
 not disappear.
 
 acd0: DMA limited to UDMA33, controller found non-ATA66 cable
 acd0: DVDR ASUS DRW-1604P/1.09 at ata1-master UDMA33
 acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x48 0x00
 0x01

Yes; and from what little I know about this, it is a necessary thing
to have atapicam as a kernel device because USB flash drives require it:

camcontrol devlist
PLEXTOR CD-R   PX-W1610A 1.04at scbus1 target 0 lun 0 (cd0,pass0)
SanDisk Cruzer Mini 0.3  at scbus2 target 0 lun 0 (da0,pass1)

Without this:

device   atapicam

there is no use for this:

device  da  # Direct Access (disks)

What I cannot figure out is why only two people are reporting the
existence of this problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00

2007-05-19 Thread Joe Altman
[NB: I'm using the archive for -questions to reply to Norbert Papke]

Norbert, you do not have the same file that I have.

You have:

grep FBSDID /usr/src/sys/dev/ata/atapi-cam.c
__FBSDID($FreeBSD: src/sys/dev/ata/atapi-cam.c,v 1.42.2.4 2007/05/03
09:38:54 thomas Exp $);

I have:

grep -i FBSDID /usr/src/sys/dev/ata/atapi-cam.c
__FBSDID($FreeBSD: src/sys/dev/ata/atapi-cam.c,v 1.42.2.5 2007/05/15
16:19:42 thomas Exp $);

If you don't wish to have the issue I have, I think it might be wise
to refrain from updating your source tree.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00

2007-05-19 Thread Joe Altman
On Sat, May 19, 2007 at 05:03:31PM -0700, Norbert Papke wrote:
 
 Apologies.  I joined the thread late and didn't pick on the specific version 
 you were having problems with.

That's okay; I just wanted to point out that perhaps you should not
update source...

 Living on the edge :), I updated atapi-cam.c to 1.42.2.5 anyway.  Other than 
 the ILLEGAL REQUEST error on boot, I am not experiencing any problems.  I 
 have successfully copied a data CD using K3B.  But then, I may not be testing 
 the right thing.  Is there a specific operation that you are having problems 
 with?

Buh...then I just don't know. Can you play a music CD?  For me, Grip
and XMMS act as if no audio CD is in the tray.

I can mount a data CD, unmount it, and then the tray will not open. I
suspect a reboot will be required to open it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00

2007-05-19 Thread Joe Altman
On Sat, May 19, 2007 at 05:08:01PM -0700, Norbert Papke wrote:
 
 I didn't notice this while I was copying the CD, but checking the logs I see 
 additional errors:
 
 acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00
 acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00
 acd0: FAILURE - READ_BUFFER ILLEGAL REQUEST asc=0x24 ascq=0x00
 acd0: FAILURE - READ_TOC ILLEGAL REQUEST asc=0x24 ascq=0x00
 acd0: FAILURE - MODE_SELECT_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00
 
 Not sure if these are significant.

I wrote to the maintainer for atapi-cam.c; here is his reply:

* Joe Altman, 2007-05-19 :

 My apologies for disturbing you; I imagine that you are quite busy,
 but I wonder if you are the thomas listed here:

 __FBSDID($FreeBSD: src/sys/dev/ata/atapi-cam.c,v 1.42.2.5
 2007/05/15
 16:19:42 thomas Exp $);

I am, and I just wanted to acknowledge your message, unfortunately I
won't be able to further look into it immediately, as I'm about to
leave for vacation... I'm keeping it on my inbound list, feel free to
ping me if I don't get back to you within 2 weeks.

All the best,
Thomas.


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


Re: acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00

2007-05-19 Thread Joe Altman
On Sat, May 19, 2007 at 05:03:31PM -0700, Norbert Papke wrote:
 
 Living on the edge :), I updated atapi-cam.c to 1.42.2.5 anyway.  Other than 
 the ILLEGAL REQUEST error on boot, I am not experiencing any problems.  I 
 have successfully copied a data CD using K3B.  But then, I may not be testing 
 the right thing.  Is there a specific operation that you are having problems 
 with?

I've pulled atapicam from my kernel file, and the problem has
vanished.

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


Re: reinstalling a port with new compile option

2007-06-03 Thread Joe Holden

Juan Miscara wrote:
I have net/samba3 installed on my FreeBSD 6.2 box.  I now want to have 
ACL_SUPPORT compiled in.  Without updating my sources, what is the safest way 
to achieve this?


Thank you,

Juan
___

cd /usr/ports/net/samba3
make deinstall clean
make WITH_ACL_SUPPORT=yes install clean

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


Re: OK - I'm fairly clueless on this...

2007-06-15 Thread Joe Holden
Wojciech Puchar wrote:
 zsquid# traceroute www.freebsd.org
 traceroute to www.freebsd.org (69.147.83.33), 64 hops max, 40 byte
 packets
 1  www.freebsd.org (69.147.83.33)  1.050 ms  0.970 ms  2.110 ms
 
 very short times suggest that the router (possibly NAT machine as
 192.168 suggest) is doing strange things...
Do you have a bogus rdr/fwd in your config anywhere?
-- 
Joe Holden
T: (UK) 02071009593 (AU) 282442321
E: [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd on laptop

2007-06-20 Thread Joe Holden
Tsu-Fan Cheng wrote:
 no, i dont have floppy...
 
 TFC
 
 On 6/20/07, Eduardo Viruena Silva [EMAIL PROTECTED] wrote:

 On Wed, 20 Jun 2007, Tsu-Fan Cheng wrote:

  hi folks,
   I want to buy a laptop and install linux and freebsd, the problem is,
  some 14' laptop doesnt come with cdrom and floppy, but has win2000
  installed. How can I install linux and freebsd on it? My experience is
 about
  installing on a desktop by booting from floppies. THank you!!
 

 You can boot from floppies, configure your network card and install the
 system using FTP.

 I had used a diskless system to install FreeBSD in computers that
 do not even have floppies!

 There is a lot of possibilities.

 Eduardo.


If its fairly recently, it will probably support PXE, you could
boot+install via that?

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


Re: How do I get libphp5.so back

2007-06-23 Thread Joe Holden
Andrew Falanga wrote:
 On 6/23/07, Garrett Cooper [EMAIL PROTECTED] wrote:
 
 Reinstall php and all modules -- that should fix the problem (based
 on past experience).
 -Garrett
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

 
 Ok, I went to /usr/ports/lang/php5 and did make install clean.  The
 build went great but then the script bailed saying that a previous
 install was detected and to do a make deinstall and then make
 reinstall.  I did.  However, I still don't have the libphp5.so module
 in /usr/local/libexec/apache.  How do I reinstall this port and make
 this work?
 
 Andy
 ___
Run make config in /usr/ports/lang/php5, make sure the apache option
is selected.

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


vinum concat

2006-05-17 Thread Joe Auty

Hello,

Can anybody recommend using vinum to concatenate across two disks?  
What are the upsides? Downsides?


Are their any tutorials explaining how to do so? So far, based on the  
lack of info I've been able to find, it seems to me that this is a  
rarely used configuration... I'm wondering what the reasons for this  
might be?








---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


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


undo geom mirror

2006-05-17 Thread Joe Auty

Hello,

What is the best way to undo a geom-based mirror, just out of  
curiosity, and return the configuration to allowing independent  
control over the two disks?


something like this?

gmirror clear mirror/gm0
gmirror remove ad1
gmirror remove ad2

- unload geom, remove from boot/loader.conf
- revise /etc/fstab


Please help me fill in the gaps here, I've never successfully done  
this Or, is this procedure inadvisable?







---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


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


Re: moving /usr

2006-05-17 Thread Joe Auty
How would you mount your old drive once booted into your new RAIDed  
system? Would mount /dev/ad0s1a /mnt work even when you are booted  
off of your gm0 RAIDed drive?




On May 17, 2006, at 11:55 AM, Perttu Laine wrote:


On 5/17/06, Derek Ragona [EMAIL PROTECTED] wrote:


 That should work fine.  I would also still mount the old /usr on a
different mount point so if something doesn't get copied right you  
will

still have it available.



Gonna do that. Thank's.
Now I have one more think before I can start working on this. Are  
these SATA
RAID cards (or one of them) supported in FreeBSD 5.4 (or 5.5).  
Would be nice

if someone knows :)

XFX Revo 64 (SP-PCC3-H000)
Adaptec 1420SA

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




PGP.sig
Description: This is a digitally signed message part


Re: vinum concat

2006-05-17 Thread Joe Auty
There might be some helpful nuggets in there, but I'm looking to  
basically combine the storage of multiple disks, like RAID-0, except  
I want my second drive written to only when my first drive has been  
filled. I understand this can be done via vinum concatenation. I'm  
looking for general feedback on whether anybody has tried this setup,  
how it worked, and what was useful to know to get started.




On May 17, 2006, at 12:06 PM, Emil Thelin wrote:


On Wed, 17 May 2006, Joe Auty wrote:

Are their any tutorials explaining how to do so? So far, based on  
the lack of info I've been able to find, it seems to me that this  
is a rarely used configuration... I'm wondering what the reasons  
for this might be?


http://devel.reinikainen.net/docs/how-to/Vinum/ might be helpful.

/e

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


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


safe to write to drive while doing initial mirror?

2006-05-17 Thread Joe Auty

Hello,

Is it safe to write to my new geom mirrored FreeBSD drive while it is  
still doing the initial mirroring of data to the secondary drive? In  
other words, if the quality is in a badly degraded state (like it  
would be for a first-time mirror), is it best to leave the drive  
untouched while it syncs?




---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]




PGP.sig
Description: This is a digitally signed message part


kernel panic on kldload in 6.1

2006-05-17 Thread Joe Auty

Hello,

A problem I've had since 6.0 remains in 6.1 where my machine kernel  
panics at boot trying to kldload some module (it doesn't say which  
one). It also does not log this panic.


I suppose this isn't terribly helpful information, but if there is  
anything you can suggest I do (including pass this on to an  
interested party), please let me know how I can help =)








---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


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


Re: undo geom mirror

2006-05-17 Thread Joe Auty
Hi Craig (sending this to the list too, for the general interest of  
whomever):


I tried this out on a test machine:

1) rolled back fstab to original (non-mirror version)
2) commented out automatic load of mirror in /boot/loader.conf
3) rebooted

This worked fine, however, going back to the mirrored version of  
fstab would even allow me to boot the machine until I deactivated the  
mirrored drive, and reattached it (which forced it to rebuild).


Not too difficult to do though. Now, I just need to know whether it  
is wise to ensure that no writing or changes to the disk are  
occurring when the drives are syncing for the first time. Any ideas?




On May 17, 2006, at 4:11 PM, Craig Ryhorchuk wrote:


Good question, but I'd think there would be a chance of things getting
messed up if the kernel thought you had a mirror and you were  
trying to

use the two drives independently.  Stuff like whatever you write to /
ending up in the middle of your /usr partition on drive 2 as well.
Or it might just not boot or maybe it'd work.  I'm not willing to try
it just because I don't want to have to rebuild everything on the one
server I have it set up on.

-Original Message-
From: Joe Auty [mailto:[EMAIL PROTECTED]
Sent: May 17, 2006 3:58 PM
To: Craig Ryhorchuk
Subject: Re: undo geom mirror

Thanks for your response!

So, basically, all I have to do is just undo fstab and loader.conf,
and that will essentially get me back up and running? What would
happen if I didn't remove the mirror?

On May 17, 2006, at 3:40 PM, Craig Ryhorchuk wrote:


I'm sending this off-list because apparently even though spammers
have free posting access to the list, I don't.

Just to be safe, I'd recommend removing your primary bootdisk from  
the

mirror, changing your /etc/fstab back to the original values as
well as /boot/loader.conf.

At this point you should be safely able to simply boot from the
original
boot disk and remove the second drive from the GM and delete the  
whole

mirror.

Make sure you have the boot CD available just in case.  If you
forget/mess up one step like I did when setting one up it's easy to
fix.

 - Craig

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Joe Auty
Sent: May 17, 2006 7:47 AM
To: FreeBSD Questions
Subject: undo geom mirror

Hello,

What is the best way to undo a geom-based mirror, just out of
curiosity, and return the configuration to allowing independent
control over the two disks?

something like this?

gmirror clear mirror/gm0
gmirror remove ad1
gmirror remove ad2

- unload geom, remove from boot/loader.conf
- revise /etc/fstab


Please help me fill in the gaps here, I've never successfully done
this Or, is this procedure inadvisable?






---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


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




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


Re: kernel panic on kldload in 6.1

2006-05-18 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On May 18, 2006, at 12:36 AM, Kris Kennaway wrote:


On Wed, May 17, 2006 at 07:06:59PM -0400, Joe Auty wrote:

Hello,

A problem I've had since 6.0 remains in 6.1 where my machine kernel
panics at boot trying to kldload some module (it doesn't say which
one). It also does not log this panic.

I suppose this isn't terribly helpful information, but if there is
anything you can suggest I do (including pass this on to an
interested party), please let me know how I can help =)


It sounds like you have an old (6.0) module you're still trying to
load.  Things like the nvidia driver and other ports are prime
candidates.




Hi, I tried commenting out all of the kernel modules in /boot/ 
loader.conf, and I'm still panicing. I wrote down some of the panic  
message this time.


The code is superviser read, page not present

the panic output is:

panic: page fault


Unless you guys have any ideas of things I can try, I'll just file this.

Any ideas?







- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEbTNcCgdfeCwsL5ERAvchAJ4toYHlfKLLcZV6XoedQQi3DDKLqwCeLZsX
BHq3DxDtX+cg2gSPNqAaUVo=
=XNLD
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kernel panic on kldload in 6.1

2006-05-19 Thread Joe Auty


On May 19, 2006, at 2:38 PM, Kris Kennaway wrote:


On Thu, May 18, 2006 at 10:54:19PM -0400, Joe Auty wrote:


On May 18, 2006, at 12:36 AM, Kris Kennaway wrote:


On Wed, May 17, 2006 at 07:06:59PM -0400, Joe Auty wrote:

Hello,

A problem I've had since 6.0 remains in 6.1 where my machine kernel
panics at boot trying to kldload some module (it doesn't say which
one). It also does not log this panic.

I suppose this isn't terribly helpful information, but if there is
anything you can suggest I do (including pass this on to an
interested party), please let me know how I can help =)


It sounds like you have an old (6.0) module you're still trying to
load.  Things like the nvidia driver and other ports are prime
candidates.




Hi, I tried commenting out all of the kernel modules in /boot/
loader.conf, and I'm still panicing. I wrote down some of the panic
message this time.

The code is superviser read, page not present

the panic output is:

panic: page fault


Unless you guys have any ideas of things I can try, I'll just file  
this.


Any ideas?


So you claimed originally that it was due to kldloading some module,
but now you're still getting the same panic when you're not kldloading
anything?  Can you please clarify exactly what is the situation?

I suspect you're still actually kldloading something (modules are
loaded on demand for some things): did you boot into single-user mode
and confirm that all modules are up-to-date?




I'm getting this error message during boot time, not during manual  
loading of modules.  I'm getting this error message despite disabling  
all my third-party modules listed in /boot/loader.conf. I'm assuming  
that all modules stored in /boot/kernel are system modules, and it  
would be expected that they would all be able to run without kernel  
panicing during boot?


Sorry for my lack of clarity! Where I became unclear was probably in  
saying some module. During boot time, once this panic is spewed  
onto my screen, it doesn't indicate which (system) module it is  
choking on.


This panic occurred in single user mode under 6.0 too, I haven't  
tried single user mode in 6.1 yet





---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]




PGP.sig
Description: This is a digitally signed message part


clean reinstall all ports

2006-05-21 Thread Joe Auty

Hello,

I kind of messed up the permissions of my /usr/local directory. Is  
there a way to clean install all ports? I notice that manually  
reinstalling doesn't seem to correct all permission errors, which is  
why doing some sort of clean reinstall that would produce squeaky  
clean versions of all my ports would be great.


Any way to do this?








---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


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


Re: clean reinstall all ports

2006-05-21 Thread Joe Auty


On May 21, 2006, at 12:50 PM, David Kelly wrote:


On Sun, May 21, 2006 at 03:40:05AM -0400, Joe Auty wrote:

Hello,

I kind of messed up the permissions of my /usr/local directory. Is
there a way to clean install all ports? I notice that manually
reinstalling doesn't seem to correct all permission errors, which is
why doing some sort of clean reinstall that would produce squeaky
clean versions of all my ports would be great.

Any way to do this?


portupgrade -fa



Yeah, this is what I was using, but it doesn't seem to recreate  
permissions properly... it just seems to inherit permissions from the  
parent directory, although it sets permissions contained within the  
directory where the files are installed properly.


I could be mistaken here though...




---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


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


Python port problems

2006-05-21 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

Starting up Mailman on one machine I'm on produces the following  
error message (see below). For some reason, this is not a problem  
with the same version on another FreeBSD machine I'm on, both  
installed from ports. I have 'mail/mailman' = 'MAIL_GID=mailman'  in  
my pkgtools.conf on both machines, and a mailman user/group...


According to the Mailman list, this is actually a Python build  
problem, which is why I'm posting this there (can't explain the fact  
that I'm not reproducing it on the same machine, although I think I  
may have accidently messed up some of the permissions in /usr on the  
machine this is no longer working on)... The list suggests that the  
configure arguments reference the Python executables, not the lib  
directory. I'm not sure if this applies to my problem, but here is  
the thread:


http://www.mail-archive.com/mailman-users@python.org/msg28164.html


Any ideas?



Could not find platform independent libraries prefix
Could not find platform independent libraries prefix
Could not find platform dependent libraries exec_prefix
Consider setting $PYTHONHOME to prefix[:exec_prefix]
'import site' failed; use -v for traceback
Could not find platform independent libraries prefix
Could not find platform dependent libraries exec_prefix
Consider setting $PYTHONHOME to prefix[:exec_prefix]
'import site' failed; use -v for traceback
Could not find platform independent libraries prefix
Could not find platform dependent libraries exec_prefix
Consider setting $PYTHONHOME to prefix[:exec_prefix]
'import site' failed; use -v for traceback
Traceback (most recent call last):
Traceback (most recent call last):
  File /usr/local/mailman/bin/qrunner, line 76, in ?
import getopt
ImportError: No module named getopt

(snip... all sorts of similar errors)









- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEcTfyCgdfeCwsL5ERAiUSAJ9HVru6UkqytTBCBgt/BZESQ2cEwQCcDnIK
hqoZq3z42bhokFJ0r/5PvJA=
=s/2K
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


determining files installed by a port

2006-05-22 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Is there a way to get a listing of all files installed by a port?  
Perhaps there is a tool that will scan a package and output its  
contents to standard out?







- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEcaN1CgdfeCwsL5ERAobNAJ9YwKEy8VECNQloyiuTDqIb/Nx0JACdHPOD
9Y0qsjNAqpN7FMItTu8x/00=
=gpn2
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Python port problems

2006-05-22 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On May 22, 2006, at 8:27 PM, Michael P. Soulier wrote:


On 5/22/06, Joe Auty [EMAIL PROTECTED] wrote:

Starting up Mailman on one machine I'm on produces the following
error message (see below). For some reason, this is not a problem


Test your python installation. Try

python -c 'import sys; print sys.path'

See which python interpreter this is, /usr/local/bin/python most
likely, and make sure that mailman is using this python.



I'm not sure how to determine what Python Mailman is using, but the  
only Python I've installed on the system is from FreeBSD ports,  
unless some other software bundles its own...


Here is the output of the command printed above:

$ python -c 'import sys; print sys.path'
['', '/usr/local/lib/python24.zip', '/usr/local/lib/python2.4', '/usr/ 
local/lib/python2.4/plat-freebsd5', '/usr/local/lib/python2.4/lib- 
tk', '/usr/local/lib/python2.4/lib-dynload', '/usr/local/lib/ 
python2.4/site-packages']



I don't have a /usr/local/bin/python in there. Is that my problem?







- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEclhpCgdfeCwsL5ERAlu4AJ9cye7laavwZtplMtl1eAYXaAnypQCcDrP5
KhrwPI/K02VISTmkjsWV0wU=
=paE7
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


nss_ldap and OpenLDAP client version

2006-05-25 Thread Joe Shevland

Hi,

I'm about to setup my jails so they authenticate against the 'host' 
server using OpenLDAP and nss_ldap, pam_ldap and so on. I've done this 
before but wanted to repeat the process because last time it ended up 
being so much fiddling that when I finished I just left it alone - this 
time I'm documenting it :) I packaged up versions of the port for 
OpenLDAP 2.3 (well, actually 2.4 but that looks to just use 2.3 in any 
case) and then went to package up the nss_ldap port but its after 
OpenLDAP 2.2 stuff... I guess my question is whether this is intentional 
(i.e. security related), or just a port maintenance issue? I would've 
thought between 2.2-2.3 there's been a few security advisories... I 
only did a lazy lightning google and came across a few 
(http://www.frsirt.com/english/advisories/2005/0947) is perhaps one.


Anyway, just thought I'd check. As punishment, if this is a stupid 
question or has been answered before, happy to write up a tutorial as I 
go as penance.


Cheers
Joe


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


Re: nss_ldap and OpenLDAP client version

2006-06-13 Thread Joe Shevland

Ansar Mohammed wrote:

One of the more undocumented things here is to make sure that in your
/usr/local/etc/nss_ldap.conf to make sure that your bind_polcy is soft. 

If not, you will have no end of problems if you ldap server goes down. 


Basically if you have in your nsswitch.conf:

Passwd: files ldap
Group: files ldap

If your ldap server is down; nss_ldap keeps trying to reconnect and allot of
apps just hang; (like top, ls -la etc)


Luckily I haven't had the problem of OpenLDAP going down much so I 
haven't tweaked this option yet (all clients are currently on the same 
machine). The [fail=continue] switches (can't recall the exact terms) 
might alleviate that for NSS stuff? When I first read about the 
parameter my initial reaction was that 'soft' and 'hard' weren't all 
that intuitive, but maybe thats just me (fail_immediately/retry_on_fail 
or similar make more sense to me).


One area I wasn't too sure of at first is the permissions on 
/usr/local/etc/ldap.conf (and nss_ldap.conf)... because of the issues I 
was having, I figured I needed to configure the 'binddn' and 'bindpw' 
settings to get a proxy user account to bind to LDAP (I was thinking of 
Solaris' proxy account and Directory Server). But those params require 
an unhashed password in the file, so I tried to set it only to be 
readable by root, which doesn't work - it needs to be world-readable.


From what I've gleaned you can do away with these settings, if the 
directory is setup to allow anonymous binds and reading of the required 
information via an anonymous bind, or otherwise you need to setup an 
account with very limited read-only privileges on the required entries. 
One thing I'm still not clear on with the pam_ldap interaction (not so 
much the name service switch stuff) - a limited user to read 
username/group name/hostname information etc is fine for NSS, but what 
about authentication attempts? I'm guessing pam_ldap doesn't use the 
'binddn' proxy to compare the hashed passwords, or otherwise you'd be 
stuck in a situation where you have to have a world readable 
account/password, and that account can read all password information. 
I'll up the debugging on slapd and try it for myself, but I think when I 
last checked it wasn't using the 'rootbinddn' account I'd supplied for 
authentication attempts (might've been trying to bind anonymously and 
then as the user's DN directly with the supplied credentials, can't 
recall, though the latter would make sense to me).


Cheers
Joe


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


Re: Python port problems

2006-06-13 Thread Joe Auty


On May 23, 2006, at 12:42 PM, Alex Zbyslaw wrote:


Lowell Gilbert wrote:


Joe Auty [EMAIL PROTECTED] writes:



$ python -c 'import sys; print sys.path'
['', '/usr/local/lib/python24.zip', '/usr/local/lib/python2.4', '/ 
usr/ local/lib/python2.4/plat-freebsd5', '/usr/local/lib/ 
python2.4/lib- tk', '/usr/local/lib/python2.4/lib-dynload', '/usr/ 
local/lib/ python2.4/site-packages']



I don't have a /usr/local/bin/python in there. Is that my problem?



That's where the ports would install it, so that does sound like a
problem.   Look at which python and pkg_info|grep python.

The executable /usr/local/bin/python has no business being in the  
path for *modules*.  This is not your problem.


I have never used mailman so do not know how it picks up its  
modules.  It *might* install them into one of these directories on  
the module patch, but more likely it just pushes its own directory  
of modules onto this path when it runs, in which case the output  
you have won't help.


Have you tried simply re-installing mailman?  Maybe you upgraded  
python at some point after installing mailman and that is throwing  
something.





Sorry for the delay in response here. This is still a problem for me,  
and I would still like this problem resolved.


Yes, I've tried reinstalling both Python and Mailman, and upgraded to  
newer port revisions of Mailman which have been released since this  
message. I'm still getting the same error message when I go to start  
Mailman via its rc script:


... snip
Traceback (most recent call last):
:
: No module named getopt  File /usr/local/mailman/bin/qrunner, line  
76, in ?


ImportErrorimport getopt
No module named getopt:
No module named getopt
ImportErrorCould not find platform independent libraries prefix
Could not find platform dependent libraries exec_prefix
Consider setting $PYTHONHOME to prefix[:exec_prefix]
'import site' failed; use -v for traceback
: No module named getopt
Traceback (most recent call last):
  File /usr/local/mailman/bin/qrunner, line 76, in ?
import getopt
ImportError: No module named getopt



Any ideas here?


---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]




PGP.sig
Description: This is a digitally signed message part


Re: Python port problems

2006-06-13 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Jun 13, 2006, at 7:51 PM, Michael P. Soulier wrote:


On 13/06/06 Joe Auty said:


Sorry for the delay in response here. This is still a problem for me,
and I would still like this problem resolved.

Yes, I've tried reinstalling both Python and Mailman, and upgraded to
newer port revisions of Mailman which have been released since this
message. I'm still getting the same error message when I go to start
Mailman via its rc script:


What order did you install them in? Mailman has some compiled C  
code for
security and performance reasons. Your Python install needs to be  
stable when

Mailman builds against it.



I just tried a portupgrade -f python, and then a portupgrade -f  
mailman, and I have the same problem...


Unfortunately, I'm kind of flying blind here since I don't really  
know how to troubleshoot this particular problem =(


Hope you can help!







- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEj2dkCgdfeCwsL5ERAt0yAJ0SnNK9QjQCUG4DSEpwSY2b8oEL/gCfU3hu
Fzi4bT+oNh09Ud7n4gObvck=
=m4YC
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Python port problems

2006-06-14 Thread Joe Auty


On Jun 14, 2006, at 6:01 AM, Alex Zbyslaw wrote:


Joe Auty wrote:



Sorry for the delay in response here. This is still a problem for  
me,  and I would still like this problem resolved.


Yes, I've tried reinstalling both Python and Mailman, and upgraded  
to  newer port revisions of Mailman which have been released since  
this  message. I'm still getting the same error message when I go  
to start  Mailman via its rc script:


... snip
Traceback (most recent call last):
:
: No module named getopt  File /usr/local/mailman/bin/qrunner,  
line  76, in ?


ImportErrorimport getopt
No module named getopt:
No module named getopt
ImportErrorCould not find platform independent libraries prefix
Could not find platform dependent libraries exec_prefix
Consider setting $PYTHONHOME to prefix[:exec_prefix]
'import site' failed; use -v for traceback
: No module named getopt
Traceback (most recent call last):
  File /usr/local/mailman/bin/qrunner, line 76, in ?
import getopt
ImportError: No module named getopt


Honestly, this looks like a screwed python install or some screw up  
when mailman compiled.  Can you do a few basic info things?




Sure, happy to do so!


which python



/usr/local/bin/python


whereis python



python: /usr/local/bin/python /usr/local/man/man1/python.1.gz /usr/ 
ports/lang/python



python
# and to the command interpreter type
import getopt
# and exit with ^D (control D)



# python
Python 2.4.3 (#2, Jun 13 2006, 21:29:49)
[GCC 3.4.2 [FreeBSD] 20040728] on freebsd5
Type help, copyright, credits or license for more information.
 import getopt


(I'm assuming this means no issues here)



egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf /etc/make.conf



# egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf /etc/make.conf
/usr/local/etc/pkgtools.conf-  # 'perl',
/usr/local/etc/pkgtools.conf-  # 'ruby',
/usr/local/etc/pkgtools.conf:  #'python',
/usr/local/etc/pkgtools.conf-  #   ]
/usr/local/etc/pkgtools.conf-  #



egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf /etc/make.conf



# egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf /etc/make.conf
/usr/local/etc/pkgtools.conf-'security/clamav' = 'CLAMAVUSER? 
=vscan CLAMAVGROUP?=vscan',

/usr/local/etc/pkgtools.conf-'www/MT' = '-DWITH_MYSQL',
/usr/local/etc/pkgtools.conf:'mail/mailman' = 'MAIL_GID=mailman'
/usr/local/etc/pkgtools.conf-  }
/usr/local/etc/pkgtools.conf-




head -5 /usr/local/mailman/bin/qrunner



# head -5 /usr/local/mailman/bin/qrunner
#! /usr/local/bin/python

# Copyright (C) 2001-2006 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or





--Alex




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




PGP.sig
Description: This is a digitally signed message part


Re: Python port problems

2006-06-14 Thread Joe Auty


On Jun 14, 2006, at 1:10 PM, Alex Zbyslaw wrote:



I've truncated the tests since nothing there showed any problem  
whatsoever.  I'm running out of ideas, so this one may be off the  
wall:

($ to indicate command lines but don;t type the $ :-))



Just as a preface, Mailman is working fine on another FreeBSD machine  
of mine. I'm wondering if this could be something as simple as bad  
permissions set somewhere?




$ egrep prefix /usr/local/mailman/bin/qrunner



nothing


I've found a mailman installation I can compare this next one against.

$ egrep prefix /usr/local/mailman/bin/paths.py

If this doesn't look like below, then we have found the problem, if  
not the cause.  If anything contains the  you have the problem  
and can ignore the next item.  (Yours should have /usr/local for / 
var but it's a cruddy Linux machine which happens to have mailman).



# importing this module, sys.path gets `hacked' so that the $prefix/ 
Mailman

prefix = '/var/mailman'
exec_prefix = '${prefix}'
if exec_prefix == '${prefix}':
   exec_prefix = prefix
# Hack the path to include the parent directory of the $prefix/ 
Mailman package

sys.path.insert(0, prefix)
sys.path.insert(0, os.path.join(prefix, 'pythonlib'))
sitedir = os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3],



# grep prefix /usr/local/mailman/bin/paths.py
# importing this module, sys.path gets `hacked' so that the $prefix/ 
Mailman

prefix = '/usr/local/mailman'
exec_prefix = '${prefix}'
if exec_prefix == '${prefix}':
exec_prefix = prefix
# Hack the path to include the parent directory of the $prefix/ 
Mailman package

sys.path.insert(0, prefix)
sys.path.insert(0, os.path.join(prefix, 'pythonlib'))
sitedir = os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3],


Only difference here seems to be the prefix...




And one which may spew quite a lot.  Cut it off if it gets to  
printing help.


$ python -v /usr/local/mailman/bin/qrunner




# grep prefix /usr/local/mailman/bin/paths.py
# importing this module, sys.path gets `hacked' so that the $prefix/ 
Mailman

prefix = '/usr/local/mailman'
exec_prefix = '${prefix}'
if exec_prefix == '${prefix}':
exec_prefix = prefix
# Hack the path to include the parent directory of the $prefix/ 
Mailman package

sys.path.insert(0, prefix)
sys.path.insert(0, os.path.join(prefix, 'pythonlib'))
sitedir = os.path.join(sys.prefix, 'lib', 'python'+sys.version[:3],
jauty# python -v /usr/local/mailman/bin/qrunner
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# /usr/local/lib/python2.4/site.pyc matches /usr/local/lib/python2.4/ 
site.py

import site # precompiled from /usr/local/lib/python2.4/site.pyc
# /usr/local/lib/python2.4/os.pyc matches /usr/local/lib/python2.4/os.py
import os # precompiled from /usr/local/lib/python2.4/os.pyc
import posix # builtin
# /usr/local/lib/python2.4/posixpath.pyc matches /usr/local/lib/ 
python2.4/posixpath.py
import posixpath # precompiled from /usr/local/lib/python2.4/ 
posixpath.pyc
# /usr/local/lib/python2.4/stat.pyc matches /usr/local/lib/python2.4/ 
stat.py

import stat # precompiled from /usr/local/lib/python2.4/stat.pyc
# /usr/local/lib/python2.4/UserDict.pyc matches /usr/local/lib/ 
python2.4/UserDict.py

import UserDict # precompiled from /usr/local/lib/python2.4/UserDict.pyc
# /usr/local/lib/python2.4/copy_reg.pyc matches /usr/local/lib/ 
python2.4/copy_reg.py

import copy_reg # precompiled from /usr/local/lib/python2.4/copy_reg.pyc
# /usr/local/lib/python2.4/types.pyc matches /usr/local/lib/python2.4/ 
types.py

import types # precompiled from /usr/local/lib/python2.4/types.pyc
# /usr/local/lib/python2.4/warnings.pyc matches /usr/local/lib/ 
python2.4/warnings.py

import warnings # precompiled from /usr/local/lib/python2.4/warnings.pyc
# /usr/local/lib/python2.4/linecache.pyc matches /usr/local/lib/ 
python2.4/linecache.py
import linecache # precompiled from /usr/local/lib/python2.4/ 
linecache.pyc

import encodings # directory /usr/local/lib/python2.4/encodings
# /usr/local/lib/python2.4/encodings/__init__.pyc matches /usr/local/ 
lib/python2.4/encodings/__init__.py
import encodings # precompiled from /usr/local/lib/python2.4/ 
encodings/__init__.pyc
# /usr/local/lib/python2.4/codecs.pyc matches /usr/local/lib/ 
python2.4/codecs.py

import codecs # precompiled from /usr/local/lib/python2.4/codecs.pyc
import _codecs # builtin
# /usr/local/lib/python2.4/encodings/aliases.pyc matches /usr/local/ 
lib/python2.4/encodings/aliases.py
import encodings.aliases # precompiled from /usr/local/lib/python2.4/ 
encodings/aliases.pyc
# /usr/local/lib/python2.4/encodings/ascii.pyc matches /usr/local/lib/ 
python2.4/encodings/ascii.py
import encodings.ascii # precompiled from /usr/local/lib/python2.4/ 
encodings/ascii.pyc

Python 2.4.3 (#2, Jun 13 2006, 21:29:49)
[GCC 3.4.2 [FreeBSD] 20040728] on freebsd5
Type help, copyright, credits or license for more information.
# /usr/local/lib/python2.4/getopt.pyc matches /usr/local/lib/ 

Re: Python port problems

2006-06-14 Thread Joe Auty
I did do my usual portsnap update before my reinstallation, and have  
reinstalled both ports several times...


On Jun 14, 2006, at 3:36 PM, fbsd wrote:


Try reloading the cvs base for changes / updates before reinstalling
both Python and Mailman.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Joe Auty
Sent: Wednesday, June 14, 2006 12:11 PM
To: Alex Zbyslaw
Cc: FreeBSD Questions
Subject: Re: Python port problems



On Jun 14, 2006, at 6:01 AM, Alex Zbyslaw wrote:


Joe Auty wrote:



Sorry for the delay in response here. This is still a problem for
me,  and I would still like this problem resolved.

Yes, I've tried reinstalling both Python and Mailman, and

upgraded

to  newer port revisions of Mailman which have been released

since

this  message. I'm still getting the same error message when I go
to start  Mailman via its rc script:

... snip
Traceback (most recent call last):
:
: No module named getopt  File /usr/local/mailman/bin/qrunner,
line  76, in ?

ImportErrorimport getopt
No module named getopt:
No module named getopt
ImportErrorCould not find platform independent libraries prefix
Could not find platform dependent libraries exec_prefix
Consider setting $PYTHONHOME to prefix[:exec_prefix]
'import site' failed; use -v for traceback
: No module named getopt
Traceback (most recent call last):
  File /usr/local/mailman/bin/qrunner, line 76, in ?
import getopt
ImportError: No module named getopt


Honestly, this looks like a screwed python install or some screw

up

when mailman compiled.  Can you do a few basic info things?



Sure, happy to do so!


which python



/usr/local/bin/python


whereis python



python: /usr/local/bin/python /usr/local/man/man1/python.1.gz /usr/
ports/lang/python


python
# and to the command interpreter type
import getopt
# and exit with ^D (control D)



# python
Python 2.4.3 (#2, Jun 13 2006, 21:29:49)
[GCC 3.4.2 [FreeBSD] 20040728] on freebsd5
Type help, copyright, credits or license for more
information.

import getopt



(I'm assuming this means no issues here)



egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf

/etc/make.conf




# egrep -i -A 2 -B 2 python /usr/local/etc/pkgtools.conf
/etc/make.conf
/usr/local/etc/pkgtools.conf-  # 'perl',
/usr/local/etc/pkgtools.conf-  # 'ruby',
/usr/local/etc/pkgtools.conf:  #'python',
/usr/local/etc/pkgtools.conf-  #   ]
/usr/local/etc/pkgtools.conf-  #



egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf

/etc/make.conf




# egrep -i -A 2 -B 2 mailman /usr/local/etc/pkgtools.conf
/etc/make.conf
/usr/local/etc/pkgtools.conf-'security/clamav' = 'CLAMAVUSER?
=vscan CLAMAVGROUP?=vscan',
/usr/local/etc/pkgtools.conf-'www/MT' = '-DWITH_MYSQL',
/usr/local/etc/pkgtools.conf:'mail/mailman' =
'MAIL_GID=mailman'
/usr/local/etc/pkgtools.conf-  }
/usr/local/etc/pkgtools.conf-




head -5 /usr/local/mailman/bin/qrunner



# head -5 /usr/local/mailman/bin/qrunner
#! /usr/local/bin/python

# Copyright (C) 2001-2006 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or





--Alex




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







PGP.sig
Description: This is a digitally signed message part


Re: Python port problems

2006-06-17 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Jun 15, 2006, at 6:16 AM, Alex Zbyslaw wrote:


Joe Auty wrote:



On Jun 14, 2006, at 1:10 PM, Alex Zbyslaw wrote:



And one which may spew quite a lot.  Cut it off if it gets to   
printing help.


$ python -v /usr/local/mailman/bin/qrunner



jauty# python -v /usr/local/mailman/bin/qrunner
[...snip...]
# /usr/local/lib/python2.4/getopt.pyc matches /usr/local/lib/  
python2.4/getopt.py

import getopt # precompiled from /usr/local/lib/python2.4/getopt.pyc
# /usr/local/mailman/bin/paths.pyc matches /usr/local/mailman/bin/  
paths.py

import paths # precompiled from /usr/local/mailman/bin/paths.pyc
[...snip...]


OK, you just ran qrunner successfully without getting the error you  
were getting earlier about getopt.  Doesn't matter that all you got  
was help, it found *everything* that it tried to import.


I missed the start of this thread.  How did you run qrunner to get  
your earlier error and where did the error appear?  I think you  
said the rc script.  If it's not too big can you post it?  Or  
compare it against your working mailman?




My Mailman rc script (exactly identical to the one on my working  
machine):



. /etc/rc.subr

name=mailman
rcvar=${name}_enable

pidfile=/usr/local/mailman/data/master-qrunner.pid

load_rc_config $name

: ${mailman_enable=NO}

start_cmd=${name}_start
stop_cmd=${name}_stop
extra_commands=reload

mailman_start() {
/usr/local/mailman/bin/mailmanctl -s -q start
}

mailman_stop() {
/usr/local/mailman/bin/mailmanctl -q stop
}

run_rc_command $1



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFElLx/CgdfeCwsL5ERAkzKAJwICVvUmDpHBPCfcu11Zn+VBnhk/ACfSwLA
SSkS0cFRTCvxrk56WceoZ8A=
=WDJc
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Python port problems

2006-06-18 Thread Joe Auty


On Jun 18, 2006, at 1:28 PM, Alex Zbyslaw wrote:


Joe Auty wrote:



On Jun 15, 2006, at 6:16 AM, Alex Zbyslaw wrote:


Joe Auty wrote:


jauty# python -v /usr/local/mailman/bin/qrunner
[...snip...]
# /usr/local/lib/python2.4/getopt.pyc matches /usr/local/lib/   
python2.4/getopt.py
import getopt # precompiled from /usr/local/lib/python2.4/ 
getopt.pyc
# /usr/local/mailman/bin/paths.pyc matches /usr/local/mailman/ 
bin/  paths.py

import paths # precompiled from /usr/local/mailman/bin/paths.pyc
[...snip...]



OK, you just ran qrunner successfully without getting the error  
you  were getting earlier about getopt.  Doesn't matter that all  
you got  was help, it found *everything* that it tried to import.


I missed the start of this thread.  How did you run qrunner to  
get  your earlier error and where did the error appear?  I think  
you  said the rc script.  If it's not too big can you post it?   
Or  compare it against your working mailman?




My Mailman rc script (exactly identical to the one on my working   
machine):


You're getting your error when mailman starts at boot time; is that  
right?


If so, what happens if you try as root (csh):

# sh -x /usr/local/etc/rc.d/mailman.sh start

(sh/bash)

# sh -x /usr/local/etc/rc.d/mailman.sh start

(you might have to check the exact name of the rc.d script).

If this starts mailman then something bizarre is going on.

If you get the same error as usual, then judicious snippets with  
the error and prior context.




Running the RC script under sh, csh, and bash yields the same error  
spew


I've attached the errors spewed out in their entirety:


# /usr/local/etc/rc.d/mailman.sh start
Could not find platform independent libraries prefix
Could not find platform independent libraries prefix
Could not find platform dependent libraries exec_prefix
Consider setting $PYTHONHOME to prefix[:exec_prefix]
'import site' failed; use -v for traceback
Traceback (most recent call last):
Could not find platform independent libraries prefix
Could not find platform dependent libraries exec_prefix
Consider setting $PYTHONHOME to prefix[:exec_prefix]
'import site' failed; use -v for traceback
Could not find platform independent libraries prefix
Could not find platform dependent libraries exec_prefix
Consider setting $PYTHONHOME to prefix[:exec_prefix]
'import site' failed; use -v for traceback
Traceback (most recent call last):
Could not find platform independent libraries prefix
Could not find platform dependent libraries exec_prefix
Consider setting $PYTHONHOME to prefix[:exec_prefix]
'import site' failed; use -v for traceback
Could not find platform independent libraries prefix
Could not find platform dependent libraries exec_prefix
Consider setting $PYTHONHOME to prefix[:exec_prefix]
'import site' failed; use -v for traceback
Could not find platform dependent libraries exec_prefix
Consider setting $PYTHONHOME to prefix[:exec_prefix]
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File /usr/local/mailman/bin/qrunner, line 76, in ?
  File /usr/local/mailman/bin/qrunner, line 76, in ?
  File /usr/local/mailman/bin/qrunner, line 76, in ?
import getopt
ImportError: No module named getopt
Traceback (most recent call last):
  File /usr/local/mailman/bin/qrunner, line 76, in ?
import getopt
ImportError: No module named getopt
Traceback (most recent call last):
  File /usr/local/mailman/bin/qrunner, line 76, in ?
import getopt
ImportError: No module named getopt
Could not find platform independent libraries prefix
Could not find platform dependent libraries exec_prefix
Consider setting $PYTHONHOME to prefix[:exec_prefix]
'import site' failed; use -v for traceback
import getopt
ImportError: No module named getopt
Traceback (most recent call last):
Traceback (most recent call last):
  File /usr/local/mailman/bin/qrunner, line 76, in ?
import getopt
ImportError: No module named getopt
Could not find platform independent libraries prefix
Could not find platform dependent libraries exec_prefix
Consider setting $PYTHONHOME to prefix[:exec_prefix]
'import site' failed; use -v for traceback
import getopt
ImportError: No module named getopt
jauty#   File /usr/local/mailman/bin/qrunner, line 76, in ?
import getopt
ImportError: No module named getopt
Could not find platform independent libraries prefix
Could not find platform independent libraries prefix
Could not find platform dependent libraries exec_prefix
Consider setting $PYTHONHOME to prefix[:exec_prefix]
'import site' failed; use -v for traceback
Could not find platform independent libraries prefix
Could not find platform dependent libraries exec_prefix
Consider setting $PYTHONHOME to prefix[:exec_prefix]
'import site' failed; use -v for traceback
Traceback (most recent call last):
  File /usr/local/mailman/bin/qrunner, line 76, in ?
import getopt
ImportError: No module named getopt
Could not find platform independent libraries prefix
Could not find platform

Re: Fwd: Serious breach of copyright -- First post

2006-06-18 Thread Joe Holden
David Hoffman wrote:
 -- Forwarded message --
 From: David Hoffman [EMAIL PROTECTED]
 Date: Jun 18, 2006 8:38 PM
 Subject: Re: Serious breach of copyright -- First post
 To: Brett [EMAIL PROTECTED]

 I think a formal apology should be issued by the infringers.

 Hasn't this gone on long enough?


 On 6/18/06, Brett  [EMAIL PROTECTED] wrote:

 Hello,

 I have not received a response in regards to this article, and it
 still does not hold the proper references.  I have posted a DMCA
 takedown notice, which is available for viewing at
 http://arbornet.org/~soup/dmca.htmlhttp://arbornet.org/%7Esoup/dmca.html.
 I urge the webmaster of the
 infringing site to add the copyright references as soon as possible.

 Thank you.

 Bonjour à tous,
 Je n'ai pas encore reçu de réponse au sujet de cet article, qui ne
 porte pas ses réferences éxigées.  J'ai affiché un DMCA takedown
 notice (en anglais seulement) sur mon site, que l'on peut voir au
 http://arbornet.org/~soup/dmca.htmlhttp://arbornet.org/%7Esoup/dmca.html.
 Je demande cordialement au
 webmaître du site non-autorisé d'ajouter les références éxigées dans
 les plus brefs délais.

 Merci.


 On 6/18/06, David Hoffman [EMAIL PROTECTED] wrote:
   It appears the page at
  http://www.houfug.org/help/install_freebsd.htm constitutes
  a serious breach of copyright.  The article, which was originally
 written
  and posted to the Internet by the owner of the account
 [EMAIL PROTECTED],
 is
  falsely attributed to the Houston FUG, whose members maliciously
 removed
 all
  reference to its original creator.  On a related note, the FUG
 seems to
 be
  part of an organized group to convince all States to adopt English
 as an

  official language, a bigoted and misguided policy.
 
  Plagiarism should not be tolerated.
 
  Thanks.
 

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

Sorry if im being naive, but what does this have to do with the official
FreeBSD project? and even more so, these lists?

Ta,
Joe



signature.asc
Description: OpenPGP digital signature


Re: Python port problems

2006-06-18 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I sent on this problem to the Mailman list and got the following  
response is this useful?





Joe Auty wrote:



On Jun 18, 2006, at 12:41 PM, Mark Sapiro wrote:



Joe Auty wrote:



When I try to startup the Mailport FreeBSD port via its rc  
script, I

get the following:


... snipped all sorts of stuff 

Traceback (most recent call last):
Could not find platform independent libraries prefix
  File /usr/local/mailman/bin/qrunner, line 76, in ?





First it seems some configuration step may have been missed.  
prefix
should have been replaced with a path - probably /usr/local/ 
mailman/.




Hmmm...

How do I correct this?




I have no idea. What I said in my first response still applies.




This same port works on another FreeBSD machine of mine. I've posed
this question to the FreeBSD Questions list, but I seem to have
baffled some, which is why I thought I would post this question  
here.

I hope this appropriate to post here.




You might compare the 'rc' file on this machine to the one on the
working machine. That might provide a clue.


This is the paragraph I was referring to above by what I said ...




We probably can't be much help either. The output you posted seems
'interleaved' and is not too intelligible without knowing what is
being run. In general, we are not able to help much with 3rd party
packages when the problem is with the package rather than the
underlying Mailman.




Just in case you'd like to take a stab at this, I'm enclosing the
full error message. I'd *really* appreciate your help if you are able
to help me, since I'd really like to get Mailman running again on
this computer somehow, and have reached the end of my rope...




The full output really isn't any more help than the excerpt, since we
still have no idea what's in /usr/local/etc/rc.d/mailman.sh that's
producing all these errors. This script is part of your FreeBSD port.
It's not in our distribution. Also, we have no idea in what ways files
we do know about have been changed in your package.

One wild guess - look at bin/paths.py. It should contain real paths as
definitions for 'prefix' and 'exec_prefix'. If it's wrong, then so
probably are cron/paths.py and scripts/paths.py (and who knows what
else).

--
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan







- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFElhcJCgdfeCwsL5ERAt6PAJ0SXIrbu4000QYRmR7Wwo4kiOwfDwCeN0gK
f5QmeUciYUq9w+e5rcHyoxw=
=JWcR
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Python port problems

2006-06-19 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Jun 19, 2006, at 4:34 AM, Alex Zbyslaw wrote:


Joe Auty wrote:



On Jun 18, 2006, at 1:28 PM, Alex Zbyslaw wrote:


Joe Auty wrote:



On Jun 15, 2006, at 6:16 AM, Alex Zbyslaw wrote:


Joe Auty wrote:


jauty# python -v /usr/local/mailman/bin/qrunner
[...snip...]
# /usr/local/lib/python2.4/getopt.pyc matches /usr/local/ 
lib/   python2.4/getopt.py
import getopt # precompiled from /usr/local/lib/python2.4/  
getopt.pyc
# /usr/local/mailman/bin/paths.pyc matches /usr/local/mailman/  
bin/  paths.py

import paths # precompiled from /usr/local/mailman/bin/paths.pyc
[...snip...]




OK, you just ran qrunner successfully without getting the  
error  you  were getting earlier about getopt.  Doesn't matter  
that all  you got  was help, it found *everything* that it  
tried to import.


I missed the start of this thread.  How did you run qrunner to   
get  your earlier error and where did the error appear?  I  
think  you  said the rc script.  If it's not too big can you  
post it?   Or  compare it against your working mailman?




My Mailman rc script (exactly identical to the one on my  
working   machine):


You're getting your error when mailman starts at boot time; is  
that  right?


If so, what happens if you try as root (csh):

# sh -x /usr/local/etc/rc.d/mailman.sh start

(you might have to check the exact name of the rc.d script).

If this starts mailman then something bizarre is going on.

If you get the same error as usual, then judicious snippets with   
the error and prior context.




Running the RC script under sh, csh, and bash yields the same  
error  spew


I've attached the errors spewed out in their entirety:


Sorry, the csh/sh distinction should have been edited out by me - I  
was redirecting the output in my first edit then took it out.   
However, the point was to run with sh -x as that will trace  
execution and might find where prefix has been written.


Can you try:

$ ls /usr/local/etc/rc.d/mailman*



# ls /usr/local/etc/rc.d/mailman*
/usr/local/etc/rc.d/mailman.sh



$ ls /etc/rc.d/mailman*



# ls /etc/rc.d/mailman*
ls: No match.



(in case some old script has hung around)

$ find /usr/local/mailman -type f -exec egrep -H  'prefix' {} \;

(to try to find prefix somewhere in mailman install)



# find /usr/local/mailman -type f -exec egrep -H  'prefix' {} \;
/usr/local/mailman/messages/ja/README.ja:% cd prefix/pythonlib



and if that finds nothing

$ sh -x /usr/local/etc/rc.d/mailman.sh start



Same problem, would you like a copy of this output? I'm presuming the  
lines prefaced by a + are of interest to you?


+ named_symlink_enable=YES
+ kerberos5_server_enable=NO
+ kerberos5_server=/usr/libexec/kdc
+ kadmind5_server_enable=NO
+ kadmind5_server=/usr/libexec/kadmind
+ kpasswdd_server_enable=NO
+ kpasswdd_server=/usr/libexec/kpasswdd
+ rwhod_enable=NO

Anything in particular you'd like me to pull from this output?




[from mailman list]

One wild guess - look at bin/paths.py. It should contain real  
paths as

definitions for 'prefix' and 'exec_prefix'. If it's wrong, then so
probably are cron/paths.py and scripts/paths.py (and who knows what
else).




We tried looking in that first  file a couple iterations ago :- 
(  Above I've tried looking in others but I don't think that will  
be it.   don't think it's the mailman install per se as you ran  
qrunner from the command line and it worked.  Try again to be sure:


/usr/local/mailman/bin/qrunner

and you' should get the help message and not an import error.



Indeed, I do!


Thanks again for your help! I hope that isolating and resolving my  
problem will be useful for others too...







- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFElpc2CgdfeCwsL5ERAmTMAKCP+gq9x5grPHc/2PrSLlBnvPltGQCfZj1Z
sIzmqj95/1mEeuAlhOENNfo=
=faPl
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


MySQL RC script failing

2006-06-22 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm basically having the same problem described in this thread:

http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/ 
067213.html



A solution was never posted... Has anybody come up with something?  
This same RC script is working fine on my other FreeBSD machine.



My other FreeBSD machine also has a working Mailman install I can't  
get working on this machine, despite carefully and thoroughly  
reinstalling the software from scratch. I'm starting to wonder if my  
production machine I'm having these problems on isn't somehow cursed =)




- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEm2jjCgdfeCwsL5ERAomAAJ9tDWZ7FQ/J+soEgtImWum70SqdgACeNyOP
I89bRp/TzinQc376blvk7nM=
=eZHK
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problems with strace

2006-06-22 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

No matter what command I run with strace, I have the same problem:

# strace ls
strace: open(/proc/..., ...): No such file or directory
trouble opening proc file


Any ideas why this is?






- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEm2t6CgdfeCwsL5ERAnBEAKCBFCnGeJbxPBbCrhDQcdCoKX/BVQCbBASW
BWlfS8Q2ChQWqjpcn7k6epY=
=GCd0
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MySQL RC script failing

2006-06-22 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Jun 23, 2006, at 12:19 AM, Dennis Olvany wrote:

I recall having to tinker with the rc script. Let's have a look at  
the script and also the log residing in the db root, probably /var/ 
db/mysql.

___



Sure!

Here is the RC script:


#!/bin/sh
#
# $FreeBSD: ports/databases/mysql50-server/files/mysql- 
server.sh.in,v 1.3 2006/03/07 16:25:00 ale Exp $

#

# PROVIDE: mysql
# REQUIRE: LOGIN
# KEYWORD: shutdown

#
# Add the following line to /etc/rc.conf to enable mysql:
# mysql_enable (bool):  Set to NO by default.
#   Set it to YES to enable MySQL.
# mysql_limits (bool):  Set to NO by default.
#   Set it to yes to run `limits -e -U mysql`
#   just before mysql starts.
# mysql_dbdir (str):Default to /var/db/mysql
#   Base database directory.
# mysql_args (str): Custom additional arguments to be passed
#   to mysqld_safe (default empty).
#

. /etc/rc.subr

name=mysql
rcvar=`set_rcvar`

load_rc_config $name

: ${mysql_enable=NO}
: ${mysql_limits=NO}
: ${mysql_dbdir=/var/db/mysql}
: ${mysql_args=}

mysql_user=mysql
mysql_limits_args=-e -U ${mysql_user}
pidfile=${mysql_dbdir}/`/bin/hostname`.pid
command=/usr/local/bin/mysqld_safe
command_args=--defaults-extra-file=${mysql_dbdir}/my.cnf --user=$ 
{mysql_user} --datadir=${mysql_dbdir} --pid-file=${pidfile} $ 
{mysql_args}  /dev/null 

procname=/usr/local/libexec/mysqld
start_precmd=${name}_prestart
mysql_install_db=/usr/local/bin/mysql_install_db
mysql_install_db_args=--ldata=${mysql_dbdir}

mysql_create_auth_tables()
{
eval $mysql_install_db $mysql_install_db_args /dev/null
[ $? -eq 0 ]  chown -R ${mysql_user}:${mysql_user} $ 
{mysql_dbdir}

}

mysql_prestart()
{
if [ ! -d ${mysql_dbdir}/mysql/. ]; then
mysql_create_auth_tables || return 1
fi
if checkyesno mysql_limits; then
eval `/usr/bin/limits ${mysql_limits_args}` 2/dev/null
else
return 0
fi
}

run_rc_command $1



Here is the relevant snippet from my error log:

060622 23:54:39  mysqld started
060622 23:54:39 [ERROR] Can't find messagefile '/usr/local/share/ 
mysql/english/errmsg.sys'

060622 23:54:39 [ERROR] Aborting

060622 23:54:39  mysqld ended


This file does exist, and has the same permissions assigned to it  
that my working FreeBSD machine has, so I don't think this error  
message should be taken at face value.







- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEm26VCgdfeCwsL5ERAuXfAJwOPilCeI2b2CFDTzRjLyEF7ai8/gCfVgsz
ZKel2JXXdF0BcFJpnam+Q+w=
=Do5b
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problems with strace

2006-06-23 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On Jun 23, 2006, at 12:23 AM, Dan Nelson wrote:


In the last episode (Jun 23), Joe Auty said:

No matter what command I run with strace, I have the same problem:

# strace ls
strace: open(/proc/..., ...): No such file or directory
trouble opening proc file

Any ideas why this is?


Is /proc mounted?




That was easy, no is wasn't =)

I take it proc is optional in FreeBSD?







- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEm9KmCgdfeCwsL5ERAuwsAJ0dcANwxX0wP7qWruKS6zRUaVisTQCgldP1
dYrSP9u3iG+paGQKsfSIW9w=
=tllO
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Python port problems

2006-06-23 Thread Joe Auty

This problem has been resolved, thanks to my new friend Alex Zbyslaw!

The problem was that my /usr/local/lib/python2.4 was set with perms  
754 rather than 755. I didn't realize that doing a port uninstall and  
reinstall doesn't necessarily correct permission problems on parent  
directories.


I hope this is useful to somebody else =)


On May 22, 2006, at 12:02 AM, Joe Auty wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

Starting up Mailman on one machine I'm on produces the following  
error message (see below). For some reason, this is not a problem  
with the same version on another FreeBSD machine I'm on, both  
installed from ports. I have 'mail/mailman' = 'MAIL_GID=mailman'   
in my pkgtools.conf on both machines, and a mailman user/group...


According to the Mailman list, this is actually a Python build  
problem, which is why I'm posting this there (can't explain the  
fact that I'm not reproducing it on the same machine, although I  
think I may have accidently messed up some of the permissions in / 
usr on the machine this is no longer working on)... The list  
suggests that the configure arguments reference the Python  
executables, not the lib directory. I'm not sure if this applies to  
my problem, but here is the thread:


http://www.mail-archive.com/mailman-users@python.org/msg28164.html


Any ideas?



Could not find platform independent libraries prefix
Could not find platform independent libraries prefix
Could not find platform dependent libraries exec_prefix
Consider setting $PYTHONHOME to prefix[:exec_prefix]
'import site' failed; use -v for traceback
Could not find platform independent libraries prefix
Could not find platform dependent libraries exec_prefix
Consider setting $PYTHONHOME to prefix[:exec_prefix]
'import site' failed; use -v for traceback
Could not find platform independent libraries prefix
Could not find platform dependent libraries exec_prefix
Consider setting $PYTHONHOME to prefix[:exec_prefix]
'import site' failed; use -v for traceback
Traceback (most recent call last):
Traceback (most recent call last):
  File /usr/local/mailman/bin/qrunner, line 76, in ?
import getopt
ImportError: No module named getopt

(snip... all sorts of similar errors)









- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEcTfyCgdfeCwsL5ERAiUSAJ9HVru6UkqytTBCBgt/BZESQ2cEwQCcDnIK
hqoZq3z42bhokFJ0r/5PvJA=
=s/2K
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]




PGP.sig
Description: This is a digitally signed message part


Re: MySQL RC script failing

2006-06-25 Thread Joe Auty

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

This problem has been resolved...

As it turns out, both parent mysql directories in /usr/local/share  
and /usr/local/lib were set with incorrect permissions. I was  
expecting that reinstalling the port would have corrected that, but  
clearly portupgrade does not correct all permissions errors.




On Jun 23, 2006, at 12:06 AM, Joe Auty wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm basically having the same problem described in this thread:

http://lists.freebsd.org/pipermail/freebsd-questions/2004-December/ 
067213.html



A solution was never posted... Has anybody come up with something?  
This same RC script is working fine on my other FreeBSD machine.



My other FreeBSD machine also has a working Mailman install I can't  
get working on this machine, despite carefully and thoroughly  
reinstalling the software from scratch. I'm starting to wonder if  
my production machine I'm having these problems on isn't somehow  
cursed =)




- ---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEm2jjCgdfeCwsL5ERAomAAJ9tDWZ7FQ/J+soEgtImWum70SqdgACeNyOP
I89bRp/TzinQc376blvk7nM=
=eZHK
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions- 
[EMAIL PROTECTED]


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFEnwo8CgdfeCwsL5ERAt+dAJ41EHLpGiP7AsZNBZ0NIUFzo/ewVQCfccFR
QSf3ln71RVi0I+hZf7RIYw8=
=9TJX
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portupgrade incompatible version of BDB

2006-07-06 Thread Joe Auty
As of the latest portupgrade upgrade I'm getting the following error  
message when I try to invoke and of the portupgrade scripts:


# pkgdb -F
/usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so:   
(NotImplementedError)

BDB needs compatible versions of libdb  db.h
you have db.h version 4.1.25 and libdb version 4.3.29
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:152:in  
`set_db_driver'

from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:81:in `setup'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:76:in  
`initialize'

from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:5:in `new'
from /usr/local/lib/ruby/1.8/singleton.rb:95:in `instance'
from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:206:in  
`init_pkgtools_global'

from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:1155
from /usr/local/sbin/pkgdb:36


I've tried deleting db43, and while this changed the error message,  
I'm still having problems. Before I start randomly deinstalling and/ 
or reinstalling anything this, is there a smart way to fix this problem?









---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]




PGP.sig
Description: This is a digitally signed message part


Re: portupgrade incompatible version of BDB

2006-07-06 Thread Joe Auty


On Jul 6, 2006, at 8:52 AM, Andrey Slusar wrote:


Thu, 6 Jul 2006 08:43:05 -0400, Joe Auty wrote:


As of the latest portupgrade upgrade I'm getting the following error
message when I try to invoke and of the portupgrade scripts:



# pkgdb -F
/usr/local/lib/ruby/site_ruby/1.8/i386-freebsd5/bdb.so:
(NotImplementedError)
BDB needs compatible versions of libdb  db.h
you have db.h version 4.1.25 and libdb version 4.3.29
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:152:in
`set_db_driver'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:81:in `setup'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:76:in
`initialize'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:5:in `new'
from /usr/local/lib/ruby/1.8/singleton.rb:95:in `instance'
from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:206:in
`init_pkgtools_global'
from /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb:1155
from /usr/local/sbin/pkgdb:36




I've tried deleting db43, and while this changed the error message,
I'm still having problems. Before I start randomly deinstalling and/
or reinstalling anything this, is there a smart way to fix this
problem?


 Solution for fix this error described in ports/UPDATING file. Read  
this!



H... I should definitely be sure to read this file *after* doing  
a portsnap update.


I've gotten portupgrade working again with the BDB 1.x backend. What  
do I need to if I want to move to the 2.x backend without running  
into the error message listed above? I tried deleting the .db files  
prior to the upgrade as instructed in UPDATING, but this didn't seem  
to do the trick.



Thanks for your help! At least I have a working portupgrade now =)



---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]




PGP.sig
Description: This is a digitally signed message part


Drop in replacement for imap-UW?

2007-12-31 Thread Joe in MPLS
I've been running imap-UW on FreeBSD 6.x STABLE for a while. Clients are 
mostly Thunderbird, TREOs and Horde (running on the same box.


I'm having issues when multiple clients try to access the same user's 
mailbox. Typically the TREO will do a scheduled check for new mail while 
Thunderbird has it already open. Research indicates that this is a 
limitation of the UW imapd implementation.


Can anyone recommend a good and secure imapd implementation that won't 
require a ton of reconfiguration? Mostly I'd like the replacement to be 
able to use all the existing end-user imap folders and mail spools. All 
users have accounts and mail spools on the box. There's no virtual users 
or database authentication backends to deal with.


   TIA ...jgm

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


make installworld failed

2008-01-21 Thread Joe Demeny
After building world and kernel, installed kernel, but got an error when I 
tried make installworld:

# make installworld
mkdir -p /tmp/install.uV1yfKEs
for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find grep 
install-info  ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl  test 
true uname wc zic; do  cp `which $prog` /tmp/install.uV1yfKEs;  done
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386  
CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin  
GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font  
GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac  
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.uV1yfKEs
 /usr/obj/usr/src/make.i386/make -f 
Makefile.inc1 reinstall
awk: Permission denied
/usr/src/Makefile.inc1, line 101: 
warning: awk '/^#define[[:space:]]*__FreeBSD_version/ { print 
$3 }'  /usr/include/osreldate.h returned non-zero status
echo:Permission denied
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

This is FreeBSD 6.3-PRERELEASE (just installed new kernel...)

I'm wondering why do I get this error?

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


Re: make installworld failed

2008-01-22 Thread Joe Demeny
On Monday 21 January 2008 02:49:22 pm Paul Procacci wrote:
 Do you have any partitions mounted with noexec?

 I just got a very similar problem and it was due to me having /tmp mounted
 with noexec.

 On Mon, Jan 21, 2008 at 01:49:11PM -0500, Joe Demeny wrote:
  After building world and kernel, installed kernel, but got an error when
  I tried make installworld:
 
  # [...]

Indeed, that was the problem, thank you... should have thought of this!

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


Trying to recover data from FreeBSD 4.11 system

2008-02-13 Thread Joe Demeny
I have an old Cyrix computer which doesn't post any more.

It had 3 hard drives. The boot drive had the / partition as well as /usr 
and /var, and the other 2 drives were configured with Vinum RAID 1 for /home.

I hooked up what used to be the boot drive in a new system and it showed what 
looked like some hex numbers and then the error message BTX halted.

So, I installed this drive as the second hard drive in a FreeBSD 6.2 system 
and I tried to mount it, but I got incorrect super block.

Looks like I have /dev/ad1, /dev/ad1s1, /dev/ad1s1c, and /dev/ad1s1e.

Is there a way to mount these filesystems?

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


Re: Trying to recover data from FreeBSD 4.11 system

2008-02-13 Thread Joe Demeny
On Thursday 14 February 2008 01:43:19 am you wrote:
 This One Time, at Band Camp, Joe Demeny [EMAIL PROTECTED] said, On Thu, 
Feb 14, 2008 at 01:08:35AM -0500:
  I have an old Cyrix computer which doesn't post any more.
 
  It had 3 hard drives. The boot drive had the / partition as well as /usr
  and /var, and the other 2 drives were configured with Vinum RAID 1 for
  /home.
 
  I hooked up what used to be the boot drive in a new system and it showed
  what looked like some hex numbers and then the error message BTX
  halted.
 
  So, I installed this drive as the second hard drive in a FreeBSD 6.2
  system and I tried to mount it, but I got incorrect super block.
 
  Looks like I have /dev/ad1, /dev/ad1s1, /dev/ad1s1c, and /dev/ad1s1e.
 
  Is there a way to mount these filesystems?

 When you try to mount it, what'd you get in dmesg ??

This is the end of dmesg:

[...]
Timecounter TSC frequency 2411127194 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 152627MB Seagate ST3160023A 8.01 at ata0-master UDMA33
ad1: 6105MB SAMSUNG SV0644A JC201-12 at ata0-slave UDMA33
Trying to mount root from ufs:/dev/ad0s2a

I don't think that my attempts to mount /dev/ad1 shows up in dmesg...

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


Re: Trying to recover data from FreeBSD 4.11 system

2008-02-14 Thread Joe Demeny
On Thursday 14 February 2008 04:49:05 am you wrote:
  possibly try fsck - i don't know (my first FreeBSD was 5.*) but maybe UFS
  changed a bit?

 Nope, I have had machines that I upgraded from 4 to 5 and 6 without
 changing the hard disk, and without changing the file system.

  So, I installed this drive as the second hard drive in a FreeBSD 6.2
  system and I tried to mount it, but I got incorrect super block.

 With no old disk installed, what is your mounted disks/partitions?
 Result of mount -p.

Old disk is installed, but nothing is mounted from it:

# mount -p
/dev/ad0s2a /   ufs rw  1 1
devfs   /devdevfs rw0 0
/dev/ad0s2e /tmpufs rw  2 2
/dev/ad0s2f /usrufs rw  2 2
/dev/ad0s2d /varufs rw  2 2

 If you have it what was the result of mount -p on the old machine.

I don't have that, unfortunately.

 What is the result of fdisk /dev/ad0 ?

# fdisk /dev/ad0
*** Working on device /dev/ad0 ***
parameters extracted from in-core disklabel are:
cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
start 63, size 40965687 (20002 Meg), flag 0
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 40965750, size 271610955 (132622 Meg), flag 80 (active)
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED

 Install the old hard disk, what is the result of fdisk /dev/ad1 ?

# fdisk /dev/ad1
*** Working on device /dev/ad1 ***
parameters extracted from in-core disklabel are:
cylinders=13232 heads=15 sectors/track=63 (945 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=13232 heads=15 sectors/track=63 (945 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 12498507 (6102 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 777/ head 254/ sector 63
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED

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


Re: Trying to recover data from FreeBSD 4.11 system

2008-02-14 Thread Joe Demeny
On Thursday 14 February 2008 12:04:11 pm you wrote:
 On Thu, Feb 14, 2008 at 01:08:35AM -0500, Joe Demeny wrote:
 [...]

 Use fdisk to find out how it sees the drive.  Do fdisk ad1
 and check out what it says.   Especially look to see what slices
 that fdisk thinks it has.   Maybe there is only an  s1  active
 with anything in it.  That would be easiest and very common.

 Then use bsdlabel to look at what partitions are defined in any
 of the slices. do ad1s1  (for slice 1,  ad1d2  as well
 if there is a slice 2 being used, etc)
 From root, do  bsdlabel ad1d1 and see what partitions are defines.
 Remember that partition 'c' is not a real partition, but a label to
 define the whole slice to the system (it will have a type of 'unused')
 and that in most cases partition 'b' is used for swap (and will have
 a type of 'swap'), though it does not have to be swap.
 The other partitions; a, d, e, f, g, h, could be real partitions with
 something on them.   Almost certainly the 'a' partition will be root
 on a bootable slice.

It turns out that I mixed up my drives. I found the boot drive - it could not 
boot with my old custom kernel (unknown processor class...). I fell back on 
kernel.GENERIC, which booted - to a point. It seems to bog down when it tries 
to recognize the keyboard.

I guess at this point my choices are:

1) build a new 4.x kernel on the new hardware
2) find a working old computer and try my boot drive.

Thank you all for your help...

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


Re: Trying to recover data from FreeBSD 4.11 system

2008-02-14 Thread Joe Demeny
On Thursday 14 February 2008 03:46:14 pm Tim Daneliuk wrote:
 Joe Demeny wrote:
  On Thursday 14 February 2008 12:04:11 pm you wrote:
  On Thu, Feb 14, 2008 at 01:08:35AM -0500, Joe Demeny wrote:
  [...]
 
  Use fdisk to find out how it sees the drive.  Do fdisk ad1
  and check out what it says.   Especially look to see what slices
  that fdisk thinks it has.   Maybe there is only an  s1  active
  with anything in it.  That would be easiest and very common.
 
  Then use bsdlabel to look at what partitions are defined in any
  of the slices. do ad1s1  (for slice 1,  ad1d2  as well
  if there is a slice 2 being used, etc)
  From root, do  bsdlabel ad1d1 and see what partitions are defines.
  Remember that partition 'c' is not a real partition, but a label to
  define the whole slice to the system (it will have a type of 'unused')
  and that in most cases partition 'b' is used for swap (and will have
  a type of 'swap'), though it does not have to be swap.
  The other partitions; a, d, e, f, g, h, could be real partitions with
  something on them.   Almost certainly the 'a' partition will be root
  on a bootable slice.
 
  It turns out that I mixed up my drives. I found the boot drive - it could
  not boot with my old custom kernel (unknown processor class...). I fell
  back on kernel.GENERIC, which booted - to a point. It seems to bog down
  when it tries to recognize the keyboard.
 
  I guess at this point my choices are:
 
  1) build a new 4.x kernel on the new hardware
  2) find a working old computer and try my boot drive.
 
  Thank you all for your help...

 Another possible path:  Boot Freesbie or PC-BSD from CD-ROM and mount your
 old drives from there.  It might take running an fsck to clean up the old
 filesystems (depending on whether or not you clobbered them while trying to
 get this all to work).  'Just a thought - I take no responsibility if you
 hose your data though :)

Actually, I can now mount my old 4.x boot drive cleanly when I hook up this 
drive in a 6.2 machine.

However, I think I need to get the old boot drive to be able to boot, so I 
could then get to my other old drives, which are Vinum RAID-1.

I don't know if and how could I mount 4.x Vinum partitions under 6.2...

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


Re: Trying to recover data from FreeBSD 4.11 system *SOLVED*

2008-02-15 Thread Joe Demeny
On Thursday 14 February 2008 05:49:45 pm Roland Smith wrote:
 On Thu, Feb 14, 2008 at 03:55:42PM -0500, Joe Demeny wrote:
  Actually, I can now mount my old 4.x boot drive cleanly when I hook up
  this drive in a 6.2 machine.
 
  However, I think I need to get the old boot drive to be able to boot, so
  I could then get to my other old drives, which are Vinum RAID-1.
 
  I don't know if and how could I mount 4.x Vinum partitions under 6.2...

 Have you tried gvinum(8)? Try loading geom_vinum.ko and see if any
 devices appear in /dev/gvinum. IIRC, the on-disk metadata hasn't changed
 between vinum and gvinum.

 Roland

gvinum(8) worked perfectly, thank you!

After adding geom_vinum_load=YES to /boot/loader.conf and rebooting, I tried 
to see if I could find my old partitions:

# gvinum list
1 drive:
D samsung6_1State: up   /dev/ad1s1  A: 575/6102 MB (9%)

1 volume:
V home2 State: down Plexes:   1 Size:   5527 MB

2 plexes:
P home2.p0C State: down Subdisks: 1 Size:   5527 MB
P home2.p1C State: down Subdisks: 0 Size:  0  B

2 subdisks:
S home2.p0.s0   State: staleD: samsung6_1   Size:   5527 MB
S home2.p1.s0   State: staleD: samsung6_2   Size:   5527 MB

Then I tried:

# gvinum start home2
1 drive:
D samsung6_1State: up   /dev/ad1s1  A: 575/6102 MB (9%)

1 volume:
V home2 State: up   Plexes:   1 Size:   5527 MB

2 plexes:
P home2.p0C State: up   Subdisks: 1 Size:   5527 MB
P home2.p1C State: down Subdisks: 0 Size:  0  B

2 subdisks:
S home2.p0.s0   State: up   D: samsung6_1   Size:   5527 MB
S home2.p1.s0   State: staleD: samsung6_2   Size:   5527 MB

Everything came up, except the plex home2.p1 - no surprise, since that drive 
is dead and isn't even hooked up to this machine.

Finally, I tried to mount the home2 volume:

# mount /dev/gvinum/home2 /mnt

All my old files were there.

Thank you again for your help.

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


Re: Using ZFS on FreeBSD 7.0

2008-02-27 Thread Joe S
huh?

On Wed, Feb 27, 2008 at 1:00 PM, Rick Nekus [EMAIL PROTECTED] wrote:

  ZFS is but one of many things Sun has given the world over the years, need
 I mention NFS,?
  ZFS is fairly new all around, and Apple is now attempting to use it in
 OSX-Leopard.
  zfs will work best on Sun/Sparc/Solaris right now, but whose to say now
 that they(Sun Microsystems) have pretty well relesed 'da source, it will
 only get better depending on Developer input from the xBSDS, and Linux
 distro's...
  -but ya ZFS is the file system defacto(128-bit wide capable FS, and
 therefore infinite) that will replace all other FS's -ya all others!!!
  just like nfs,..., zfs will be the one all OS's should incorporate except
 of course M$, cause they're balless, godless Addholes, who hate being
 outdone and outgunned as usual.
   it is different, but just remeber, Sun/Solaris is historically based on
 BSD/Unix -the real UNIX of course so you're not far from the truth.
  make install RealBSD


  From: [EMAIL PROTECTED]
  To: freebsd-questions@freebsd.org
  Date: Wed, 27 Feb 2008 12:37:49 -0800
  Subject: Using ZFS on FreeBSD 7.0


 
  I'm currently running Solaris 10 Update 4 on x86 hardware at home.
 
  I'm excited that ZFS is coming in FreeBSD 7.0.
 
  I've found that I don't really like Solaris that much (no ports!). I
  find it so different from other OS's and I don't want to learn another
  OS just to have a decent fileserver.
 
  So I'm looking forward to migrating to FreeBSD 7.0 from Solaris 10
  Update 4.
 
  Since ZFS was ported from Solaris, at version of Solaris 10 or
  OpenSolaris Nevada is FreeBSD 7.0 support similar to?
 
  In other words, will a lose some features, fixes, and enhancements in
  ZFS on FreeBSD 7.0 or will I gain?
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]


 

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


Re: Using ZFS on FreeBSD 7.0

2008-02-27 Thread Joe S
Thanks Dan.

That answered my question.

I'm really happy to replace Solaris with FreeBSD.

All I have to do is import my zfs pool and then upgrade it...2 commands!



On Wed, Feb 27, 2008 at 1:19 PM, Dan Nelson [EMAIL PROTECTED] wrote:

 In the last episode (Feb 27), Joe said:
   I'm currently running Solaris 10 Update 4 on x86 hardware at home.
  
   I'm excited that ZFS is coming in FreeBSD 7.0.
  
   I've found that I don't really like Solaris that much (no ports!). I
   find it so different from other OS's and I don't want to learn
   another OS just to have a decent fileserver.
  
   So I'm looking forward to migrating to FreeBSD 7.0 from Solaris 10
   Update 4.
  
   Since ZFS was ported from Solaris, at version of Solaris 10 or
   OpenSolaris Nevada is FreeBSD 7.0 support similar to?
  
   In other words, will a lose some features, fixes, and enhancements in
   ZFS on FreeBSD 7.0 or will I gain?

  Going from S10U4 (zfs pool version 4) to FreeBSD 7 (v6) you will
  actually gain gzip compression support.  Opensolaris is up to v10.

  --
 Dan Nelson
 [EMAIL PROTECTED]

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


Installation sticks on probing

2008-03-12 Thread Joe Doll
Hi,

  I was trying to install BSD 6.3. During the probing process, the
  probe sticks (forever) when it sees the HD controller which is an
  Intergrated Technology Express ITE IT8212 ATA. This happened in both
  a 1998 and 2007 era computer. The hardware manual says that the card
  is supported. Is there some keystroke or command that will make BSD
  skip pass the probing?

  The Linux Slax Live 5.1.7b disk will boot and see the Maxtor 6L200P0
  disk drive that is connected to the controller. With Slax, I was
  previously able to format the Maxtor disk and write files to it, but
  I'm not able to get past the probing in BSD 6.3.

  Thanks for you help.

-- 
Best regards,
 Joe  mailto:[EMAIL PROTECTED]

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


Laptop advice

2008-03-21 Thread Joe Demeny
I need to get a budget-priced laptop, such as one of these:

http://www.newegg.com/Product/Product.aspx?Item=N82E16834101123
http://www.newegg.com/Product/Product.aspx?Item=N82E16834114430

Does anyone have experience with these?

Any suggestions for other comparable choices?

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


Mouse doesn't work in Gnome after install

2008-08-29 Thread Joe Tseng
I'm still a FreeBSD newbie so I'm still feeling my way around...  Got two mouse 
problems:

1. I just installed FreeBSD 7 on a laptop and got Gnome running.  The mouse 
works with the trackpad but not the USB mouse.
2. I just installed FreeBSD 7 as a VMWare Server guest and got Gnome running.  
The mouse doesn't work at all.

Are these issues related?  What do I do now?

tia,

 - Joe

_
Get thousands of games on your PC, your mobile phone, and the web with Windows®.
http://clk.atdmt.com/MRT/go/108588800/direct/01/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Can't start MySQL 5.0.67

2008-09-08 Thread Joe Tseng
I've got a server running FreeBSD7 and got MySQL 5.0.67 installed on it today.  
I ran mysql_install_db and then assigned the root password.  I tried to get it 
running on boot (mysql_enable=YES) and by hand 
(/usr/local/etc/rc.d/mysql-server start) but I can't get the daemon to start.  
What else do I need to do to get this working?

 - Joe

_
Stay up to date on your PC, the Web, and your mobile phone with Windows Live.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Can't start MySQL 5.0.67

2008-09-08 Thread Joe Tseng
So I checked in that directory you suggested and I found this:

080908 13:35:05  mysqld started
080908 13:35:05 [Warning] option 'max_join_size': unsigned value 
18446744073709551615 adjusted to 4294967295
080908 13:35:05 [Warning] option 'max_join_size': unsigned value 
18446744073709551615 adjusted to 4294967295
080908 13:35:05  InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
080908 13:35:05  mysqld ended

So my questions are:
1. What directory is it referring to?  Is it /var/db/mysql by default?  I just 
tried to give ownership using chown -R mysql /var/db/mysql but that made no 
difference.
2. I've read also for this kind of issue I have to reinstall the software...  
When I initially installed this from ports I didn't use any kind of extra 
parameters.  Are they needed?


 From: [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Date: Mon, 8 Sep 2008 10:56:48 -0800
 CC: [EMAIL PROTECTED]
 Subject: Re: Can't start MySQL 5.0.67
 
 On Monday 08 September 2008, Joe Tseng said:
  I've got a server running FreeBSD7 and got MySQL 5.0.67 installed
  on it today.  I ran mysql_install_db and then assigned the root
  password.  I tried to get it running on boot (mysql_enable=YES)
  and by hand (/usr/local/etc/rc.d/mysql-server start) but I can't
  get the daemon to start.  What else do I need to do to get this
  working?
 
   - Joe
 
 Check the logfiles in /var/db/mysql, they will usually tell you what 
 it's choking on. My first guess without more info would be you 
 probably don't have something configured correctly.
 
 Beech
 
 -- 
 ---
 Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
 /\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
 \ / - NO HTML/RTF in e-mail   | http://people.freebsd.org/~beech
  X  - NO Word docs in e-mail | Skype: akbeech
 / \  - http://www.FreeBSD.org/releases/7.0R/announce.html
 ---
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

_
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Can't start MySQL 5.0.67

2008-09-08 Thread Joe Tseng
Yeah that was it...  The chown -R mysql:mysql /var/db/mysql was what did it...  
Thx to all for the help.

 - Joe

 From: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Date: Mon, 8 Sep 2008 11:46:02 -0800
 CC: freebsd-questions@freebsd.org
 Subject: Re: Can't start MySQL 5.0.67
 
 On Monday 08 September 2008, Joe Tseng said:
  So I checked in that directory you suggested and I found this:
 
  080908 13:35:05  mysqld started
  080908 13:35:05 [Warning] option 'max_join_size': unsigned value
  18446744073709551615 adjusted to 4294967295 080908 13:35:05
  [Warning] option 'max_join_size': unsigned value
  18446744073709551615 adjusted to 4294967295 080908 13:35:05 
  InnoDB: Operating system error number 13 in a file operation.
  InnoDB: The error means mysqld does not have the access rights to
  InnoDB: the directory.
  InnoDB: File name ./ibdata1
  InnoDB: File operation call: 'create'.
  InnoDB: Cannot continue operation.
  080908 13:35:05  mysqld ended
 
  So my questions are:
  1. What directory is it referring to?  Is it /var/db/mysql by
  default?  I just tried to give ownership using chown -R mysql
  /var/db/mysql but that made no difference. 2. I've read also for
  this kind of issue I have to reinstall the software...  When I
  initially installed this from ports I didn't use any kind of extra
  parameters.  Are they needed?
 
 Yes, the /var/db/mysql dir needs to be readable and writeable by 
 mysql. Try the following: chown -R mysql:mysql /var/db/mysql.
 
 The error is telling you that innodb can't 
 create /var/db/mysql/ibdata1. After fixing permissions, you may need 
 to do another initdb.
 
 Beech
 
 
   From: [EMAIL PROTECTED]
   To: freebsd-questions@freebsd.org
   Date: Mon, 8 Sep 2008 10:56:48 -0800
   CC: [EMAIL PROTECTED]
   Subject: Re: Can't start MySQL 5.0.67
  
   On Monday 08 September 2008, Joe Tseng said:
I've got a server running FreeBSD7 and got MySQL 5.0.67
installed on it today.  I ran mysql_install_db and then
assigned the root password.  I tried to get it running on boot
(mysql_enable=YES) and by hand
(/usr/local/etc/rc.d/mysql-server start) but I can't get the
daemon to start.  What else do I need to do to get this
working?
   
 - Joe
  
   Check the logfiles in /var/db/mysql, they will usually tell you
   what it's choking on. My first guess without more info would be
   you probably don't have something configured correctly.
  
   Beech
 
 
 
 -- 
 ---
 Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
 /\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
 \ / - NO HTML/RTF in e-mail   | http://people.freebsd.org/~beech
  X  - NO Word docs in e-mail | Skype: akbeech
 / \  - http://www.FreeBSD.org/releases/7.0R/announce.html
 ---
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
_
See how Windows connects the people, information, and fun that are part of your 
life.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Firefox won't start

2008-09-18 Thread Joe Tseng
I recently did a ports update and after a bit of effort I got firefox3 to 
compile with no errors.  But now when I either select Firefox from the menu or 
start it from a terminal window nothing happens.  Firefox does not start and 
there's no indication of any problems.  When I use ps to see if it's hung I see 
nothing.  Ideas?

tia,

 - Joe

_
Get more out of the Web. Learn 10 hidden secrets of Windows Live.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Firefox won't start

2008-09-18 Thread Joe Tseng
You got it!!!  I type in firefox3 in the terminal and the prompt comes right 
back.

From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Subject: RE: Firefox won't start
Date: Thu, 18 Sep 2008 16:22:59 -0400







 From: [EMAIL PROTECTED]
 To: freebsd-questions@freebsd.org
 Date: Thu, 18 Sep 2008 15:21:11 -0400
 Subject: Firefox won't start
 
 I recently did a ports update and after a bit of effort I got firefox3 to 
 compile with no errors.  But now when I either select Firefox from the menu 
 or start it from a terminal window nothing happens.  Firefox does not start 
 and there's no indication of any problems.  When I use ps to see if it's hung 
 I see nothing.  Ideas?
 

what command are you using to start firefox 3? I just installed it for first 
time and found you have to use the command firefox3 to get it to run

-Sean


_
See how Windows Mobile brings your life together—at home, work, or on the go.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093182mrt/direct/01/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


kernel upgrades

2008-09-19 Thread Joe Tseng

I'm still new to FreeBSD (coming from CentOS/Ubuntu) so this might be
something totally obvious to others...  I know I can update ports by using
portsnap fetch/extract/update - does this update the kernel source as well?
How do I apply this new code?

- Joe 


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


Load trends over time

2008-10-01 Thread Joe Tseng

I currently maintaining some systems that run Nagios clients and the server 
spews out socket timeout after 10s msgs on occasion even when nothing is 
wrong.  Does anyone know of any kind of tool that saves system data over time 
and allows for people to trend for patterns?  If not, what options should I use 
with ps and what columns should I be capturing so I can save the resulting data 
via script?

tia,

 - Joe
_
See how Windows connects the people, information, and fun that are part of your 
life.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


gzipping multiple files w/o tarring

2008-10-10 Thread Joe Tseng

I'm sure this is easy but googling hasn't gotten me anywhere yet...  I want to 
compress all the files in my directory that don't already have a .gz extension. 
 I want them to be individual compressed files, not part of a single .tar.gz 
file.  Can anyone point me to where I can find how to do this?

tia,

 - Joe
_
Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


clean old portsnap snapshots?

2006-10-24 Thread Joe Auty

Hello,


What is the best mechanism for deleting old portsnap shots to free up  
some space? Or, is this supposed to be handled automatically?






---
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]


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


NJ FreeBSD Sysadmin job

2006-10-29 Thread Joe Chimento
Comtech Mobile Datacom is looking for sysadmin for Linux 
and FreeBSDfor more info, go to 
http://www.comtechmobile.com/ and click on careers.  Its 
the one second from the bottom.



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


Dedicated Server providers in .be

2006-10-30 Thread Joe Holden
All,

Apologies if this is the wrong list/completely off topic - was hoping to
reach a wider audience, as my Google fu is obviously not strong!

I'm looking for a fairly reasonable provider in Belgium, for an offsite
monitoring/secondary mx/ns, not sure on spec, nothing fancy, FreeBSD
(obviously).

If anyone provides (or knows of someone who provides) could they please
contact me offlist?

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


Re: Shutting down as user

2006-11-13 Thread Joe Holden

Rem P Roberti wrote:

I'm using the KDE window manager, but don't see how this would effect 
anything, as I am not able to shut down as user from the console.


This is the intended behaviour, you wouldn't want just anyone to 
shutdown your machines would you? ;)

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


Re: Shutting down as user

2006-11-13 Thread Joe Holden

Rem P Roberti wrote:

That is very true, and I understand why this is by design, but in this 
case the ONLY user of the machine is me.  It really is no big deal, but 
I am trying to understand just what is going on here.  As I said, on my 
desktop I am able to shut down as user, and can't remember how I set it 
up so that occurs.  Back to the handbook!


Do you have (as was mentioned) the shutdown script setuid or something?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


<    2   3   4   5   6   7   8   9   10   11   >