Merry Christmas everyon1

2012-12-23 Thread Foo JH



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


Re: 9.0 install and journaling

2011-12-11 Thread Foo JH

On 11/12/2011 6:21 AM, Robison, Dave wrote:

I prefer having separate partitions because it's more in line with traditional 
unix systems, and in particular, I don't like letting users have unlimited 
access to /tmp.

Pardon the noob question: will using Disk Quotas work to limit the damage

http://www.freebsd.org/doc/handbook/quotas.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


difference between cvsup and csup?

2011-12-11 Thread Foo JH

Hello guys,

I notice FreeBSD is now using (and probably has been for a while) csup 
instead of cvsup. The parameters looking identical - at least from the 
no-gui perspective.


Can anyone advise what the difference is, and perhaps educate me on how 
this came to be?


Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


forcing TLS auth in /usr/ports/qmail-tls install

2011-08-01 Thread Foo JH

Hi all,

Not sure if this is the right spot to ask, but it seems to be 
particularly pertaining to FreeBSD installations. So here I am.


I'm trying to install qmail-tls. The installation is successful - almost 
right out of the ports. Now I'm trying configure qmail such that only 
TLS auth is allowed through from the mail client.


Digging through the previous related forums, I hope to find the clean 
solution via this route:

http://qmail.jms1.net/tls-auth.shtml

It mentions that the config can be put in /service/smtp/run, which in 
the FreeBSD context it does not exist. I tried to set similar 
environment variables before calling tcpserver, but it does not work 
either. Can someone advise what is the equivalent in FBSD8.1?


Much appreciated.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: any friendly folk willing to teach an old foggie how to configure kde/ gnome on freebsd?

2011-03-17 Thread Foo JH

Hello all, including the guys who responded.

Thanks for the comments and tips/ links. I'd see what I can do to move 
fwd on the issue.


Appreciate your feedback!

On 3/10/2011 11:33 AM, Juan C. Valido wrote:

I'm an old foggie also and a lifetime Windows guy and I did a lot of
research and a lot of trial and error until I found Dan's blog. God
Bless the Man! Without his blog I would not have this server up. And yes
it's running gnome. https://www.dan.me.uk/blog/category/freebsd/

On Thu, 2011-03-10 at 09:42 +0800, Foo JH wrote:

Hi guys,

I know the steps are documented on the Handbook and all. I've tried to
read, follow, and re-read the steps, but I'm not still getting any
popular window manager up and running on my FreeBSD servers. Meanwhile
new hires are seduced by the comes-with-it windows manager via Ubuntu
Desktop (yes, they abstained from the server edition because they really
wanted the GUI).

If there is a kind soul who is willing to guide me through via IM (MSN/
Yahoo/ Skype), I'd much appreciate it. Please don't flame me for this
email!

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



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


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


any friendly folk willing to teach an old foggie how to configure kde/ gnome on freebsd?

2011-03-09 Thread Foo JH

Hi guys,

I know the steps are documented on the Handbook and all. I've tried to 
read, follow, and re-read the steps, but I'm not still getting any 
popular window manager up and running on my FreeBSD servers. Meanwhile 
new hires are seduced by the comes-with-it windows manager via Ubuntu 
Desktop (yes, they abstained from the server edition because they really 
wanted the GUI).


If there is a kind soul who is willing to guide me through via IM (MSN/ 
Yahoo/ Skype), I'd much appreciate it. Please don't flame me for this 
email!


Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: using dovecot, where is ICOMING mail stored?

2011-03-09 Thread Foo JH

On 3/10/2011 9:23 AM, Gary Kline wrote:

Does anybody know about this obscure stuff?
Disclaimer: I don't really know much about dovecot, except that it's a 
much better IMAP daemon than courier - I don't think dovecot handles 
SMTP: in other words it does not handle incoming mails.


What services did you enable on dovecot?


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


getting mono/ asp.net on fbsd to reload modified files

2010-11-22 Thread Foo JH

Hi all,

I'm posting this mail to the mono mailing list as well as the FreeBSD list:

I'm trying to learn mono's asp.net on mod_mono + Apache22 + FreeBSD 8.1. 
I've been working on IIS7 + Microsoft's asp.net, so I'm trying to 
recreate a similar development experience.


One of the things I'm stumbling over now, is that code files like .aspx 
and .cs files don't seem to get recognised by asp.net after the first 
time it's been auto-compiled. In other words, if I change the file and 
reload the page, it's still the old page.


I understand mono has this watcher class which monitors file change. Can 
anyone advise if it's enabled by default for FreeBSD, and how I can 
resolve this puzzle?

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


Re: simplest way to get gnome/ kde up and running

2010-10-04 Thread Foo JH



Have you actually installed KDE and/or Gnome?  I don't see that step
included in what you say you have done.
If you have not you will of course need to do that before you can
configure either of them.
For Gnome you will probably want the x11/gnome2 port/package while for
KDE you will probably want either x11/kde3 or x11/kde4 (depending on if
you want KDE 3.x or KDE 4.x)
I install Gnome via the DVD package. I believe it's gnome-desktop-... 
(sorry, need to be back home to get the actual package name). I tried to 
find gnome2 in the dvd package list (not the ports), but it's not listed 
there. Would it come under another name?









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


simplest way to get gnome/ kde up and running

2010-10-03 Thread Foo JH

 Hi guys,

I've been trying without luck to get KDE/ Gnome configured. I've been 
reading and re-reading (and trying and re-trying) to get the window 
manager running, but it's been driving me nuts.


- How far I've gotten:
1. Installing Xorg from the DVD package is easy.  I've added the 
hald_enable and dbus_enable to /etc/rc.conf
2. Xorg -configure looks like it's working too: i get the skeleton 
outlined window manager that I believe is fwm

3. Xorg -configure xorg.conf.new -retro works too

- Where I'm stuck:
1. So far ~/.xinitrc is missing. But I followed the Handbank anyway and 
did this:

echo /usr/local/bin/gnome-session  ~/.xinitrc

2. Running startx crashes now because it complains 
/usr/local/bin/gnome-session is missing  - that's true.


Am I missing something? Or is there an easier way that Linux distros 
have been very successful at? I'm a Freebie and I'd prefer to go with 
FreeBSD as much as possible.

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


what is your programming language on freebsd?

2008-11-06 Thread Foo JH
Hi there,

Earlier I was asking for some help getting XSP/ mod_mono on FreeBSD. I
may be asking in the wrong mailing list, but my impression is that mono
on FreeBSD is generally not a popular idea.

To pose my questions to the developers in the FreeBSD community:
1. What programming language(s) do you deploy on FreeBSD?
2. Is FreeBSD more optimised in performance for any particular language?
3. Is FreeBSD even a popular choice as a development platform, or is it
better suited as a special-purpose OS (eg. mail server, DNS server)?

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


[mod_mono] how to install from freebsd?

2008-11-05 Thread Foo JH
Hi guys,

I'm sorry if this isn't the best place to ask the question, but it's the
most active freebsd mailing list, so I hope to try my luck here.

I'm using 7.0, and I've installed mono and apache22 from the packages
(pkg_add -r xxx). Now I need to find mod_mono to complete the pieces.
Trouble is, I don't see it available from the ports tree.

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


Re: [mod_mono] how to install from freebsd?

2008-11-05 Thread Foo JH
Hello Javier,

Thanks for the tip. They have released new versions since then, but I'll
give it a try and see how it goes.

By the way, what is your assessment of mono on FreeBSD? I don't see a
lot of support for this platform. Even for Linux there's too much
emphasis on SuSe. What is going on?

Javier Martín Rueda wrote:
 Foo JH wrote:
 I'm using 7.0, and I've installed mono and apache22 from the packages
 (pkg_add -r xxx). Now I need to find mod_mono to complete the pieces.
 Trouble is, I don't see it available from the ports tree.

   
 I have these notes from some mod_mono installation I did some time ago.
 I hope they are still valid:
 
 I installed mono from the ports. It was just a standard install, so
 installing from packages should be the same.
 
 XSP
 ===
 
 * fetch http://go-mono.com/sources/xsp/xsp-1.2.3.tar.gz
 * configure  gmake  gmake install
 * Test: mono /usr/local/lib/mono/2.0/xsp2.exe. Open http://myserver:8080
 (it will say it cannot find /)
 * Test 2: copy a web application and open it. It should work.
 
 MOD_MONO
 
 
 * fetch http://go-mono.com/sources/mod_mono/mod_mono-1.2.1.tar.gz
 * configure  gmake  gmake install
 * mv /usr/local/etc/apache22/mod_mono.conf /usr/local/etc/apache22/Includes
 * Edit mod_mono.conf and add this:
 
   MonoServerPath /usr/local/bin/mod-mono-server2
   MonoPath /usr/local/lib/mono/2.0
 
 * Install test application in /somewhere/website and create
 /usr/local/etc/apache22/Includes/prueba.conf:
 
   Alias /prueba /somewhere/website
   MonoApplications /prueba:/somewhere/website
 
   Directory /somewhere/website
 Allow from all
   /Directory
 
 
 Open http://myserver/prueba and it should work.
 
 ___
 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: Need to build a new mail server

2008-05-30 Thread Foo JH

I like Qmail. It's not overly difficult to configure, and it's extensible.

Patrick Baldwin wrote:

Hi all, I've got an older Solaris system running Sendmail for my
mail server right now.  It's about time to replace it, and I'm
thinking FreeBSD might be the best choice of OS for the replacement.

However, it's been some time since I looked into options for mail
servers.  I'm interested in both suggestions for hardware and mail
servers that would make for the best FreeBSD based mail server.

I've only got about two dozen users, though they are all very heavy
users of email.  I'm using IMAP, and I'd like to continue to do so.

Finally, we have quite a few aliases I'd want to port over to a
new server.

Thanks,



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


Re: perl configuration question

2007-08-23 Thread Foo JH
Have you tried simply installed Perl from the packages in the FreeBSD 
install CD?


Andrew Falanga wrote:

Hi,

I'm trying to install WebGUI on a FreeBSD system for my church.
WebGUI uses PERL for its operation.  The program has a test
environment perl script that it tries to run to make sure the
environment can run WebGUI.  On a couple of the perl modules it tries
to install, it bails saying that make is no good.

I'm guessing this is because perl is expecting GNU make not BSD make,
and since it's looks for /usr/bin/make, I'm sure it's getting the
wrong version.  I'm pretty much a perl neophyte, having written only
one perl script in my life and that was so pitifully little that it
really wasn't worthy of being called a script; I do not know how to
fix this.  How does one fix the configuration of perl (if this is even
the problem, I'm going to try and see if this is something WebGUI is
trying to use).

Andy
___
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: Shorten delay in sending mail to SMTP

2007-06-12 Thread Foo JH

Hello Lowell and Chuck,

Thanks for the reply. What happens during the sending of any email, is 
that my Thunderbird will show 'Connected to mail.xyz.com...' for a 
couple of seconds. Bear in mind that my (test) mails are very short, so 
it can't be due to data transfer. After that the text says sending mail 
and stuff like that. All of which take rather insignificant time.


The other thing that may be responsible is that my mail server does smtp 
authentication. But I don't really think this will be a culprit, as I 
have other mail clients that do local mail delivery only and hence do 
not need authentication. And these clients hit the same few-second wait 
as well.


Any advice is appreciated. Thanks.

Chuck Swiger wrote:

Hi--

On Jun 10, 2007, at 7:26 PM, Foo JH wrote:
I'm using inetd + qmail to implement a mail server. The combo works, 
but usually sending a mail takes some 5-10 seconds.


I suspect it's largely because inetd or qmail is trying to do some 
dns lookup or something, before letting it through. Is there any way 
to shorten this process - if possible eliminate it altogether?


Some time back, there was an advice to avoid inetd. It's probably a 
good idea, but I hope to deal with this first before moving forward 
on the setup.


It's certainly possible to disable DNS lookups entirely, and that 
might help reduce the delay you see, but in that case you'll have to 
configure qmail to relay all mail to the equivalent of a sendmail 
SMART_HOST (ie, to your ISP's SMTP relay), which performs MX lookups 
and so forth instead of your local qmail doing so.


It is only recommended to use an MTA spawned from inetd if your 
traffic volume is very low-- probably well under 1000 messages/day.  
If your traffic level is higher, you should run your MTA as a daemon 
and not through inetd.




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


Re: Shorten delay in sending mail to SMTP

2007-06-12 Thread Foo JH

Olivier,

I have no visibility on the delay on which external smtp servers deliver 
mails to my mail server. Once a mail is sent out of my mail client, the 
mail can be received immediately through my imap client.


To give a more detailed picture on load, my Qmail does not really a 
heavy load. I'd say at 9 times out of 10 there are no mails in the 
queue. Everything is stored locally so I have no reason to suspect 
internal network delays and all.


My suspicion with the delay being related to dns lookups, is partially 
also because I wait a couple of seconds less when I am sending from 
within the same service provider. Yet when I (for example go home and) 
send from another service provider, the delay is longer (by a couple 
more seconds). Do note that I am on all tests on broadband, so we can 
assume network delay is negligible.


Can anyone confirm that Qmail/ inetd/ FreeBSD does some form of dns 
lookup on it's SMTP?





Do you receive email from outside world on this machine? Do you think
there is the same delay?

How do you notice the delay? After Thunderbird mentionned that the
email was successfully sent, you immdiately try to get new email from
your inbox and it takles time?

How big is your inbox? What mailbox format are you using? Are the disk
local or network mounted? How much loaded is your machine? How many
emails do you receive at time? Do you read with pop or imap? Are
pop/imap launched by inetd or they are daemonized? Do you have any
anti virus/spam facility? Do you implement some fancy MDA like
procmail?

Remember that email is not instant messaging, but store and forward:
it is a slow and batch processing, it is dessign to support delay and
certainly the design should generate some.

If the delay remains 5 seconds when your server process 1 or 1
messages per hour, then there is nothing to worry about.

Authentication should effect only to sending, it deals with the
communication between Thunderbird and qmail. It has nothing to do with
reading your mailbox and should have nothing to do with the in between
delay.

Bests,

olivier
  


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


Re: Shorten delay in sending mail to SMTP

2007-06-12 Thread Foo JH
Thanks Nicole. This may end up as a qmail question now: is there a way 
to disable dns lookup for qmail then?


Olivier Nicole wrote:
Can anyone confirm that Qmail/ inetd/ FreeBSD does some form of dns 
lookup on it's SMTP?



It most certainly does, that would be configurable, but you can
confirm that by yourself: look at the full headers of the email you
receive, you should see some headers saying something like:

Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53])
by mail.cs.ait.ac.th (8.13.1/8.12.11) with ESMTP id l5CFXURR030909
for [EMAIL PROTECTED]; Tue, 12 Jun 2007 22:33:34 +0700 (ICT)

Now consider the top most of the Received-by headers, this top most
one has been generated by your qmail server. Does it have an IP
address associated to the the name of the sending machine
(mx2.freebsd.org [69.147.83.53])? If yes, it means qmail did some DNS
resolving.

bests,

Olivier
  


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


Shorten delay in sending mail to SMTP

2007-06-10 Thread Foo JH

Hi all,

I'm using inetd + qmail to implement a mail server. The combo works, but 
usually sending a mail takes some 5-10 seconds.


I suspect it's largely because inetd or qmail is trying to do some dns 
lookup or something, before letting it through. Is there any way to 
shorten this process - if possible eliminate it altogether?


Some time back, there was an advice to avoid inetd. It's probably a good 
idea, but I hope to deal with this first before moving forward on the setup.


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


'NID not found' on SATA hdd (FBSD 6.1)

2006-12-21 Thread Foo JH

Hi all,

I'm using the 6.1 release of FreeBSD. Just installed the OS on a 160GB 
SATA harddisk. While installing a port halfway I get this series of 
error messages:


ad4: TIMEOUT - WRITE_DMA48 retrying (1 retry left) LBA=283609215
ad4: TIMEOUT - WRITE_DMA48 retrying (0 retries left) LBA=283609215
ad4: FAILURE - WRITE_DMA48 status=51READY,DSC,ERROR 
error=10NID_NOT_FOUND LBA=283609215


Running through the mailing list I notice that something similar happened:
http://lists.freebsd.org/pipermail/freebsd-stable/2004-December/010192.html

However that was on the 5.x series, and the source codes have changed 
since (so I can't do the patch as well).


Does anyone recognise this problem? Is it fixable?

Thanks.

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


Setting up RAID-1 on 2 unequal disks

2006-12-11 Thread Foo JH

Hi all,

I unfortunately have 2 uneuqally sized SATA disks to set up a mirrored 
shared folder: 80GB and 120GB. On the 120GB I plan to set up this way:


/temp2GB (double the system memory)
/shared80GB
/   38GB

I plan to mirror /shared onto the 80GB. It won't be bootable, but I can 
always mount it onto another FreeBSD machine.


I've read some articles on mirroring on non-equal disks, notably:
http://people.freebsd.org/~rse/mirror/

My question is: is there an easier way to do this? The example looks 
quiet daunting for a noobie FreeBSD admin like me.


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


Re: Setting up RAID-1 on 2 unequal disks

2006-12-11 Thread Foo JH

Hello John, Tony,

Thanks for your responses. I think I will try to go with John's approach 
(ie via gmirror), as I've used it previously for a raiding on 
equally-sized disks.


John, I will be trying out your suggestions in a while. Hope to get your 
help later down the road. :)


Tony, I'm quite sure your trick will work. I'm just too noob on FBSD to 
trick vinum. :P


John Nielsen wrote:

On Monday 11 December 2006 03:47, Foo JH wrote:
  

Hi all,

I unfortunately have 2 uneuqally sized SATA disks to set up a mirrored
shared folder: 80GB and 120GB. On the 120GB I plan to set up this way:

/temp2GB (double the system memory)
/shared80GB
/   38GB

I plan to mirror /shared onto the 80GB. It won't be bootable, but I can
always mount it onto another FreeBSD machine.

I've read some articles on mirroring on non-equal disks, notably:
http://people.freebsd.org/~rse/mirror/

My question is: is there an easier way to do this? The example looks
quiet daunting for a noobie FreeBSD admin like me.



I would use gmirror. The example page you cite is very thorough and covers 
multiple scenarios. I have found gmirror to be extremely easy to use and set 
up; much more so than gvinum or even ataraid.


Gmirrror allows you to use any geom provider as a member (consumer) of a 
mirrored set. That includes entire disks (e.g. ad4), slices (e.g. ad4s1), 
partitions (e.g. ad4s1a), or even other complex structures (such as a gstripe 
set).


The only hard part is going to be labeling the 120GB disk correctly. You will 
most likely want to do it manually using bsdlabel. One approach would be 
something like the following. Assume ad4 is the 120GB disk and ad6 is the 
80GB disk. Boot up using a FreeBSD install disk and go into Fixit mode.


# fdisk -BI /dev/ad6
(it's safe to ignore the warning here)

# bsdlabel -Bw /dev/ad6s1

# sysctl kern.module_path=/dist/boot/kernel

# gmirror load

# gmirror label -b load shared /dev/ad6s1a
(shared is the name of your volume.. you can use whatever you want)

# gmirror list
(will show you details about your new broken mirror. Make a note of 
the Mediasize number listed under the consumer.)


# fdisk -BI /dev/ad4
(it's safe to ignore the warning here)

# bsdlabel -Bw /dev/ad4s1

(these are only needed if you don't like/don't know how to use vi)
# EDITOR=ee
# export EDITOR

# bsdlabel -e /dev/ad4s1

Now comes the tricky part. The number shown on the c: line of the label is the 
number of 512-byte sectors on the disk. It's good practice to leave 16 
sectors unused at the beginning of the disk; you can see this in the default 
whole-disk a: line. Figure out how big you need to make the slice for the 
other side of the mirror by dividing the Mediasize number you noted 
previously by 512. Then figure out how big you want your swap (if any--you 
didn't mention any above) and /temp partitions by multiplying out to the 
number of bytes then dividing by 512. Add all of that up plus the 16-sector 
space at the beginning and subtract from the size (c: line) to determine how 
much is left for /. Calculate all the offsets and put in the fstype (either 
4.2BSD or swap), and put zeroes in the other columns.


As a reference, here is one of my disks:

# /dev/ad4s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  a:  6291456  10485024.2BSD0 0 0 
  b:  1048486   16  swap
  c: 1563125130unused0 0 # raw part, don't 
edit
  d: 117266625 390458884.2BSD0 0 0 
  e: 31705930  73399584.2BSD0 0 0 


Save the label and exit the editor.

Now to finish up:

# gmirror insert shared /dev/ad4s1e
(be sure to use the actual partition device you set up above)

# newfs -U /dev/mirror/shared
( /shared )
# newfs -U /dev/ad4s1a
( / )
# newfs -U /dev/ad4s1d
( /temp )

Then exit fixit mode and do a Standard installation. Don't let sysinstall 
re-label or newfs anything, just specify the mount points for your / 
and /shared filesystems. You'll have to mount the mirror after you're done 
with setup (just put it in /etc/fstab manually).


Obviously, you should understand what all of the above does before you do any 
of it, and may need to make changes.


Good luck, and feel free to ask additional questions.

JN
  


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


FreeBSD users in Singapore?

2006-11-06 Thread Foo JH
Out of curiosity, are there any FreeBSD fans from Singapore reading this 
mailing list?

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


Re: Unable to compile libapreq2

2006-10-04 Thread Foo JH

Hi all,

With Philip's encouragement and some extra work thrown in, I've made the 
following conclusion:
1. If I install Apache 2 + MP2 + libapreq2 using the existing port tree 
in FBSD6.1, it's fine.
2. If I install FBSD6.1 + cvsup-without-gui + updated port tree + 
Apache2 + MP2 + libapreq2, it reports 'cannot find -lexpat' error.
3. If I install FBSD6.1 + cvsup-without-gui + Apache2 + MP2 + libapreq2, 
it reports 'cannot find -lexpat' error.


Is there something in cvsup-without-gui that screws up expat?


Philip M. Gollucci wrote:

Foo JH wrote:
  

Hi guys,

I'm using FBSD6.0. I've done the latest cvsup on the ports, installed
apache 2.0.59 and mod_perl 2.0.2,3 and and trying to install
libapreq2-2.0.08.


Unfortunately its something in your local setup.  I do the FAMP stack ports 
compile almost daily.


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


Re: downloading Free BSD

2006-10-02 Thread Foo JH
ISO format represents an image of a CD. If you have a Windows OS, use 
the CD burning software that comes with it to recreate the CD from the 
ISO file. Do not burn the file into the CD as-is.


Ryan and Sabrina Tardi wrote:

What do I do with the ISO files once they are downloaded?  Do I burn
them directly to a CD then use the CD to install?  Forgive me for my
ignorance of ISO files!
 
Ryan and Sabrina Tardi

155 Calder Rd.
St. Andrews, MB R1A 4B6
H 204.785.9781
C 204.799.3968
[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: Apache2* and mod_perl2

2006-10-02 Thread Foo JH
I've been using FreeBSD + Apache 2.0 + mod_perl 2 for the longest time. 
It's been pretty stable to date. What exactly are the problems you 
encountered?


Paul Schmehl wrote:
Last night I spend several hours trying to get a website working with 
apache22 and then apache20 and mod_perl2.  I never succeeded.


This website works fine with apache1.3.* and mod_perl.  We run the UBB 
bulletin board, which is written in perl.  All the executable files 
are named *.cgi.


I googled and read document after document, waded through the apache 
mod_perl site until my eyes were crossed, all to no avail.  In 
apache20, after configuring httpd.conf in what I thought was the right 
way, I got a Forbidden error.  Obviously, I checked perms (even made 
the 777 briefly), but no go.  In apache22, all I ever got was the 
plain text of the program file.


Does anyone know of a website that can unlock the mystery of mod_perl2 
on apache2?  I figure sooner or later I'm going to have to move to 
apache2, but I sure can't do that until I figure out how to get it 
working.


Paul Schmehl ([EMAIL PROTECTED])
Adjunct Information Security Officer
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


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


Unable to compile libapreq2

2006-09-20 Thread Foo JH

Hi guys,

I'm using FBSD6.0. I've done the latest cvsup on the ports, installed 
apache 2.0.59 and mod_perl 2.0.2,3 and and trying to install 
libapreq2-2.0.08.


Halfway through the compilation, I get this error:
cc -shared  .libs/util.o .libs/version.o .libs/cookie.o .libs/param.o 
.libs/parser.o .libs/parser_urlencoded.o .libs/parser_header.o 
.libs/parser_multipart.o .libs/module.o .libs/module_custom.o 
.libs/module_cgi.o .libs/error.o  -Wl,--rpath -Wl,/usr/local/lib/apache2 
-Wl,--rpath -Wl,/usr/local/lib/apache2 
/usr/local/lib/apache2/libapr-0.so 
/usr/local/lib/apache2/libaprutil-0.so -lexpat -liconv -lm -lcrypt 
-L/usr/local  -Wl,-soname -Wl,libapreq2.so.8 -o .libs/libapreq2.so.8

/usr/bin/ld: cannot find -lexpat
gmake[2]: *** [libapreq2.la] Error 1
gmake[2]: Leaving directory 
`/usr/ports/www/libapreq2/work/libapreq2-2.08/library'

gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory 
`/usr/ports/www/libapreq2/work/libapreq2-2.08/library'

gmake: *** [all-recursive] Error 1

I've tried recompiling expat, but that did not change the problem.

Can any kind soul please drop some hints as to what may be the problem? 
Thanks.


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


why my daemon did not start

2005-10-18 Thread Foo JH
Hi all, I'm trying to write a simple RC script to run my little Perl script as 
a daemon. The script is as follows:

#!/bin/sh

portal_enable=${portal_enable-NO}
portal_flags=${portal_flags-}
portal_pidfile=/var/run/portald.pid

. /etc/rc.subr

name=portald
rcvar=`set_rcvar`
command=/home/admin/perfectportal/portald.pl 

load_rc_config $name
pidfile=${portal_pidfile}
start_cmd=echo \Starting ${name}.\; /usr/bin/nice -5 ${command} 
${portal_flags} ${command_args}
stop_cmd=kill `cat /var/run/portald.pid`
run_rc_command $1

If I were to run this manually via 
/usr/local/etc/rc.d/portald.sh start
it works. but in a reboot, it does not start.

Can anyone guide me where to find the error message, or (even better) what may 
be the problem? Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD Support (Commerical)

2005-10-06 Thread Foo JH
 FreeBSD offers non-commercial support through
 mailing-lists and doc-project (FAQs and Handbooks)
 which is probably the most comprehensive,
 active and effective support there is.
It's a blame game as much as it is a genuine need for commercial help. As
much as mailing lists and community support are strong and effective, that's
not the kind of comfort level that corporates are going for, especially if
they are betting their million-dollar product/ server on it.

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