Re: installing big qmail server ... where to start?

2005-05-06 Thread Matthias F. Brandstetter
thanks for all your info guys!

-- quoting Matthias F. Brandstetter --
 Hi all,

 I have to plan and setup a mail solution for about 50.000 users, here
 are some key features requested by our customer:

  - self coded webfrontend w/ webmail and administration (filter, alias
 etc) - 100MB quota per user
  - autoresponder
  - about 50.000 user
  - online backup of data
  - some more featuers for web frontend

 Since I happily use qmail for some other (but smaller) installations, I
 want to try it with qmail here for this project as well. My only problem
 is, I have no clue where to start ... beginning from should I use 2
 redundant and really strong or some more but cheaper servers? to which
 qmail distributions and patches should I use (ldap, mysql, ...)? and
 how to store data (mails) and do online backup w/o downtime?.

 I know you can't give me _the_ solution for this issue, but I am
 thankful for any hints and internet links on this topic.

 I am sure you guys can help me :)
 Greetings and TIA, Matthias

-- 
Marge:  Homer, you're his father.  You've got to reason with him.

Homer:  Oh, that never works.  He's a goner!

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


Re: installing big qmail server ... where to start?

2005-05-06 Thread Matthias F. Brandstetter
-- quoting Benson Wong --
 There are a couple of issues you will run into here.

 1. Mass storage. FreeBSD doesn't support file systems  2TB, at least
 not that I found decent documentation and support for.

How can you address data storage  2TB then?
Or do I have to split my storage/partition on a RAID with more than 2TB?

-- 
It was the most I ever threw up, and it changed my life forever.

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


installing big qmail server ... where to start?

2005-05-04 Thread Matthias F. Brandstetter
Hi all,

I have to plan and setup a mail solution for about 50.000 users, here are 
some key features requested by our customer:

 - self coded webfrontend w/ webmail and administration (filter, alias etc)
 - 100MB quota per user
 - autoresponder
 - about 50.000 user
 - online backup of data
 - some more featuers for web frontend

Since I happily use qmail for some other (but smaller) installations, I 
want to try it with qmail here for this project as well. My only problem 
is, I have no clue where to start ... beginning from should I use 2 
redundant and really strong or some more but cheaper servers? to which 
qmail distributions and patches should I use (ldap, mysql, ...)? and how 
to store data (mails) and do online backup w/o downtime?.

I know you can't give me _the_ solution for this issue, but I am thankful 
for any hints and internet links on this topic.

I am sure you guys can help me :)
Greetings and TIA, Matthias

-- 
And thank you most of all for nuclear power, which is yet to cause a
single proven fatality, at least in this country.

  -- Homer Simpson
 Oh Brother, Where Art Thou?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Site Stats

2005-04-18 Thread Matthias F. Brandstetter
-- quoting Graham Bentley --
 Apart from Webalizer, what other solutions can
 you recommend for basic but functional site stats ?

you could look @ awstats
greets, Matthias

-- 
Homer/Apu/Moe:
 You can do it, Otto!
 You can do it, Otto!

Apu: Make this spare, I'll give you free gelato!

Moe: Then go back to my place where I will get you blotto!

Homer: Domo arigato, Mister Roboto!

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


Re: how to enable PHP on Apache?

2005-04-12 Thread Matthias F. Brandstetter
-- quoting Kevin Kinsey --
 If you create a normal PHP page* under the Apache server's
 docroot (instead of in the phpmyadmin install, which is an
 alias), do you get the same behavior?

Yes, I got the same behavior then. But meanwhile I solved the problem by 
adding SetHandler application/x-httpd-php for this location...

Greetings, Matthias

-- 
Well, you'll be happy to know I don't work very hard.  Actually, I'm
bringing the plant down from the inside.

  -- Homer Simpson
 The Simpsons 138th Episode Spectacular
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to enable PHP on Apache?

2005-04-09 Thread Matthias F. Brandstetter
-- quoting Yoann Le Bihan --
 Hello ! :-)

 You just need to install mod_php port. It's located into
 /usr/ports/www (there are a mod_php4/ and a mod_php5/ directories).
 Just make install clean from one or two of these directories and it
 must be installed. Because I think it's not installed (even if it's
 mentionned in httpd.conf... it's strange by the way :-).

 Don't forget to make a /usr/local/sbin/apachectl restart after (if
 it's not already done from the port's installation).

I did all you said, httpd-error.conf says: Apache/1.3.33 (Unix) 
mod_perl/1.29 PHP/4.3.11 configured -- resuming normal operations

But when I try to access my phpmyadmin installation Firefox asks me which 
program I want to use to open this PHP file :(

Any other ideas?
I am somewhat lost here :(

Greetings and TIA, Matthias

-- 
See you in hell, candy boys!!

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


Re: how to enable PHP on Apache?

2005-04-09 Thread Matthias F. Brandstetter
-- quoting Matthias F. Brandstetter --
 I did all you said, httpd-error.conf says: Apache/1.3.33 (Unix)
 mod_perl/1.29 PHP/4.3.11 configured -- resuming normal operations

 But when I try to access my phpmyadmin installation Firefox asks me
 which program I want to use to open this PHP file :(

Sorry for answering to my own post, but I think I found the problem: I have 
RT installed on the same system, using mod_perl. When I disable startup of 
mod_perl, I can access phpmyadmin. So the problem only happens when I use 
mod_perl with my config.

I tried it with

Location /phpmyadmin
SetHandler default-handler
/Location
Alias /phpmyadmin /usr/local/www/phpMyAdmin

but still have this problem :(
Any ideas?

-- 
You know something, folks, as ridiculous as this sounds, I would rather
feel the sweet breath of my beautiful wife on the back of my neck as I
sleep than stuff dollar bills into some stranger's G-string.

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


how to enable PHP on Apache?

2005-04-07 Thread Matthias F. Brandstetter
Hi all,

I did a make install clean to compile and install phpmyadmin, which 
installed PHP4 as well. Then I added these lines into my httpd.conf:

-
...
LoadModule php4_modulelibexec/apache/libphp4.so
...
AddModule mod_php4.c
...
IfModule mod_dir.c
IfModule mod_php3.c
IfModule mod_php4.c
DirectoryIndex index.php index.php3 index.html
/IfModule
IfModule !mod_php4.c
DirectoryIndex index.php3 index.html
/IfModule
/IfModule
IfModule !mod_php3.c
IfModule mod_php4.c
DirectoryIndex index.php index.html
/IfModule
IfModule !mod_php4.c
DirectoryIndex index.html
/IfModule
/IfModule
/IfModule
...
IfModule mod_php3.c
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .php3s
/IfModule
IfModule mod_php4.c
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
/IfModule
...
Alias /phpmyadmin /usr/local/www/phpMyAdmin
...
-

But when I now point my browser to domain/phpmyadmin, Firefox tells me, 
it wants to download a PHTML file. And when I point it to 
domain/phpmyadmin/index.php, I get a .php file, which Firefox wants to 
download as well.

So, how can I setup Apache/PHP to interpret my php files, instead of 
sending them 1:1 to the client? Do I miss a configuration here (see 
above)?

Greetings and TIA, Matthias

-- 
And thank you most of all for nuclear power, which is yet to cause a
single proven fatality, at least in this country.

  -- Homer Simpson
 Oh Brother, Where Art Thou?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


OT: howto install RT32?

2005-03-21 Thread Matthias F. Brandstetter
Hi all,

I followed the FreeBSD installation instructions for RT32 on the RT wiki, 
and installed Request Tracker via ports. Then I modified my http.conf file 
as described on wiki, but after connecting to the new RT page, I get the 
save as or open with box from Firefox, because it's a PHTML file. Any 
ideas why?

But I am not sure if this is really the RT login page, because when I save 
this phtml file and open it, I get the index.php page (as source) under 
the old DocumentRoot from before I modified the http.conf file...

Any ideas on this? I did not found anything on Google :(
Greetings and TIA, Matthias

-- 
They said the same thing about Urkle; that little snot.  Boy I'd like
to smack that kid.

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


Re: READ_DMA timed out on Promise FastTrak100

2005-01-28 Thread Matthias F. Brandstetter
-- quoting [EMAIL PROTECTED] --
 However, when I boot FreeBSD, the system reports READ_DMA errors on the
 second drive, and the array reports a degraded state. I can still mount
 it, and both drive lights flash when accessing the volume.

I had similar problems with my SATA RAID controller, lots of DMA errors. 
Looks like a bug in 5.3 -- or is it fixed now?

I solved this issue in disabling DMA via sysctl...
HTH! Greetings, Matthias

-- 
Marge, tell Bart I just want to drink a nice glass of syrup like I do
every morning.

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


Re: Dell CERC SATA 2S question -- software RAID instead?

2004-12-25 Thread Matthias F. Brandstetter
-- quoting Jonathan Reeder --
 Since the SATA RAID controller in the Dell PE SC420 isn't supported yet,
 is there anything I can do with atacontrol to run my two drives as a
 software RAID instead of relying on the controller?

 I've never used SATA before, so any advice anyone can offer is greatly
 appreciated.

If you're using FreeBSD 5.3 than you should take a look at man gmirror. 
This could be what you want. I am using it w/o any problems so far...

HTH! Greetings, Matthias

-- 
And remember not to act afraid.  Animals can smell fear.  And they
don't like it.

  -- Homer Simpson
 The Call of the Simpsons
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Vinum bootable RAID-1 setup help

2004-12-25 Thread Matthias F. Brandstetter
-- quoting Faisal Ali --
 I really tried my best to follow the FreeBSD handbook documentation to
 setup bootable RAID-1 volume, I just can't seem to understand Section
 17.9.2, Iam working with 5.3 i386 Release.

Since I had problems with vinum under 5.3 as well I successfully tried 
gmirror (man gmirror) and had no problems with it so far. You can create 
a bootable RAID1 array with it ...

HTH! Greetings, Matthias

-- 
That's weird.  It's like something out of that twilighty show about
that zone.

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


Re: traffic volume monitoring - what program

2004-12-21 Thread Matthias F. Brandstetter
-- quoting Micheal Patterson --
 Can't MRTG get you close enough for that wouldn't it?

... with some more configuration than with ipac-ng, yes :)

-- 
Man: You must be stupider than you look.

Homer: Stupider like a fix!

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


Re: Dell CERC SATA 2S question

2004-12-21 Thread Matthias F. Brandstetter
-- quoting Jonathan Reeder --
 Hmm, well since I'm stuck with the hardware that I've been given, does
 that mean that I need to pursue a different OS?  I'd love to run FreeBSD
 on this server, but I can't change any of its hardware so do I need to
 look at Linux?

I am not a FreeBSD guru, but if your hardware isn't supported by FreeBSD 
and you are not interested in code hacking then I am afraid you have no 
other choice then chaning OS :(

-- 
Lisa: So gambling makes a good thing even better?

Homer: That's right.  My God, it's like there's some kind of bond
 between us.

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


Re: Redirect to /dev/null

2004-12-21 Thread Matthias F. Brandstetter
-- quoting Jon Essen-Moller --
 I saw this thread and wish to now what /21 /does and maybe you know a
 place where I can find out more about this?
 Best regards - Jon

21 means redirect STDERR (2) to STDOUT (1)
a good starting point for further research would be man bash

Greetings, Matthias

-- 
Homer: Your mother and I have been thinking about giving the puppies
 away.

Bart and Lisa:
 Noo!

Homer: Mainly your mother.

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


Re: RAID0 problem array broken

2004-12-20 Thread Matthias F. Brandstetter
-- quoting Karsten Fuhrmann --
 But now my ar0 stripe will not be recognised anymore.
 /var/log/messages showed this :
 Dec 17 03:24:44 darkstar kernel: ad6: FAILURE - ATA_IDENTIFY timed out
 Dec 17 03:24:49 darkstar kernel: ad6: FAILURE - ATA_IDENTIFY timed out
 Dec 17 03:24:49 darkstar kernel: ad6: deleted from ar0 disk1
 Dec 17 03:24:49 darkstar kernel: ar0: ERROR - array broken
 Dec 17 03:24:49 darkstar kernel: ad6: WARNING - removed from
 configuration Dec 17 03:24:49 darkstar kernel: ar0: ERROR - array broken

I had a very similar problem with a RAID1 on a raid hardware controller. I 
managed to re-build the broken array from within the controller's BIOS 
during bootup.

It seems this error comes from the broken DMA support on 5.3, so I disabled 
DMA for my disks on this server via sysctl.

Hey guys, what's the status of this DMA issue?

Greetings, Matthias

-- 
As I got up in front of them, I felt an intoxication that had nothing to
do with alcohol.  It was the intoxication of being a public spectacle.

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


Re: traffic volume monitoring - what program

2004-12-20 Thread Matthias F. Brandstetter
-- quoting David Banning --
 I am looking at a new ISP that charges for a certain number
 gigabites of traffic. I have -no- idea what my traffic volume
 is.

 Can anyone recommend a good traffic volume checker in the
 ports?

I only found ipac-ng for Linux based IPTABLES firewalls.
But none so far for *BSD firewalls :(

Any ideas?

-- 
As far as anyone knows we're a nice, normal family.

  -- Homer Simpson
 There's No Disgrace Like Home
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


how to (automatically) start MySQL server?

2004-11-30 Thread Matthias F. Brandstetter
Hi all,

after successfully compiling  installing MySQL server 4.0 I wanted to 
start it ... but there is no mysql.sh (or similar) in /usr/local/etc/rc.d/

So I have some questions:
 - what's the FreeBSD (4.10) way to start MySQL server?
 - how to setup initial mysql database under FreeBSD?
 - how to automatically start MySQL server during bootup?

TIA! Greetings, Matthias

-- 
Marge: I would love you if you weighed 1,000 pounds but ...

Homer: Beautiful.  G'night.

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


Re: how to (automatically) start MySQL server?

2004-11-30 Thread Matthias F. Brandstetter
-- quoting Matthias F. Brandstetter --
 Hi all,

 after successfully compiling  installing MySQL server 4.0 I wanted to
 start it ... but there is no mysql.sh (or similar) in
 /usr/local/etc/rc.d/

 So I have some questions:
  - what's the FreeBSD (4.10) way to start MySQL server?
  - how to setup initial mysql database under FreeBSD?
  - how to automatically start MySQL server during bootup?

ok sorry folks, just saw that I forgot to install server, I just installed 
client ... sorry!

-- 
Reverend Lovejoy:
 Homer, this is really low.

Homer: Not as low as my low, low prices!

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


Re: hdd error

2004-11-29 Thread Matthias F. Brandstetter
-- quoting LiQuiD --
 I've installed 5.3 on the same machine (an IBM Aptiva k6-2 450) but
 using two different hard drives, both times giving me the same error.
 In both cases, I was able to install 4.10-STABLE without any problems.
 I've seen several people complain about this problem on 5.3 machines,
 with the only solution thus far using a sysctl variable to disable udma
 for the hard drive.  For some reason it seems no one (that would know
 how to fix it) is acknowledging the problem, which makes finding a
 solution even more difficult.

I hava a similar problem with 5.3 and two SATA disks. I am getting:

ad4: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=145402687
ad4: FAILURE - ATA_IDENTIFY timed out
ad4: FAILURE - ATA_IDENTIFY timed out
ar0: WARNING - mirror lost
ad4: deleted from ar0 disk
ad4: WARNING - removed from configuration
ata2-master: FAILURE - WRITE_DMA timed out

How did you disable udma for your disks?
Greetings and TIA, Matthias

-- 
You know, some of these stories are pretty good.  I never knew mice
lived such interesting lives.

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


eject DAT tape via command?

2004-11-26 Thread Matthias F. Brandstetter
Hi all,

is it possible to eject a DAT tape via a command from CLI?
eject does not seem to work :(

Greets and TIA, Matthias

-- 
Oh, honey, I didn't get drunk, I just went to a strange fantasy world.

  -- Homer Simpson
 El Viaje Misterioso De Nuestro Jomer
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: eject DAT tape via command?

2004-11-26 Thread Matthias F. Brandstetter
-- quoting Matthias F. Brandstetter --
 is it possible to eject a DAT tape via a command from CLI?
 eject does not seem to work :(

thanks guys for all this *quick* answers!
greets, Matthias

-- 
Around the house, I never lift a finger
As a husband and father I'm sub-par
I'd rather drink a beer
than win Father of the Year
I'm happy with things the way they are

  -- Homer Simpson
 Simpsoncalifragilisticexpiala(annoyed grunt)ocious
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Transferring system to a new hard drive

2004-11-05 Thread Matthias F. Brandstetter
-- quoting CHris Rich --
 My original install of FreeBSD is on a 30 gig hard drive, I want to
 move it to an 80 gig I now have, but i don't want to have to reinstall
 everything since I've spent hours waiting for some ports to install.

 So after googling and searching I found a few ideas of how to migrate
 to a new hard drive but none which I really trust, (ghosting,
 acronis(sp?))

 If I do move it over will I have ot make new slices to take advantage
 of the bigger hard drive? If this is the case will I lose what data is
 already in the slice or can it adjust without any hitches or loss of
 data?

 Any suggestions will be greatly appreciated

I had exactly the same issue this week, until I found this link:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK

HTH! Greetings, Matthias

-- 
The weak and nerdy are admired for their computer-programming abilities.

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


Re: howto software raid under FreeBSD?

2004-11-03 Thread Matthias F. Brandstetter
-- quoting Christian Hiris --
 If you use the whole disk as provider and your disk has left free 512
 bytes after the end of the last slice, gmirror setup works very easy and
 fast (no need to use dump/restore or dd):

 - Boot into the live-filesystem.
 - Do a 'gmirror load' and label your old disk with 'gmirror label -v
 ...'. - Mount the (now mirrored) / partition on /mnt.
 - echo 'geom_mirror_load=YES'  /mnt/boot/loader.conf
 - echo 'swapoff=YES'  /mnt/etc/rc.conf
 - Edit /mnt/etc/fstab to reflect the newly created mirror devices.
 - Reboot.
 - Add a second disk to the mirror: 'gmirror insert -v ...'.
 - If you use gdm replace 'reboot' by 'shutdown -r now'.

thanks for this, it worked liked a charm!
greets, Matthias

-- 
I don't want to look like a weirdo.  I'll just go with a muumuu.

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


Re: howto software raid under FreeBSD?

2004-10-31 Thread Matthias F. Brandstetter
-- quoting Emanuel Strobl --
 Why going outside and searching the internet?
 You have a complete operating system, and it's one of the best
 documented out there. Just 'man ata', 'man atacontrol' and 'man
 gmirror'. Remember that FreeBSD isn't just a hacked kernel with lots of
 stuff arround without any sense, it's standardized an documented! ;)

Ok, I looked at man gmirror, but found nothing for my 5.2.1 system. As 
you mentioned, gmirror is for 5.3 only.

I missed man atacontrol, sorry for this. Now I've looked at its man page, 
looks good. Only one problem: man page says that I can only rebuild an 
RAID1 array on RAID capable ATA controllers. But I have no such real ATA 
controller. How can I replace a faulty disk with atacontrol on a normal 
ATA controller then?

Thanks for your help, Emanuel!
Greetings, Matthias

-- 
You don't know what it's like -- I'm the one out there every day
putting his ass on the line.  And I'm not out of order!  You're out of 
order!  The whole freaking system is out of order!

  -- Homer Simpson
 Secrets of a Successful Marriage
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


how to convert a non-RAID system to gmirror?

2004-10-31 Thread Matthias F. Brandstetter
Hi all,

I have two disk ad0 and ad2. FreeBSD 5.3 is installed on ad0, I can boot 
from it. Now I want to create a software RAID via gmirror with ad2.

My question is: how can I create the array with the spare disk so that I 
can reboot from it without loosing any data or reinstall the whole system?

Hope you can help me on this...
Greetings and TIA, Matthias

-- 
Who spread garbage all over Flanders's yard before I got a chance to?

  -- Homer Simpson
 Two Dozen and One Greyhounds
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: howto software raid under FreeBSD?

2004-10-31 Thread Matthias F. Brandstetter
-- quoting Emanuel Strobl --
 You can use 'atacontrol detach' then powerdown, replace the drive and
 after booting you can 'atacontrol addspar ar0 ad6' (or what ever drive
 and array failed) and 'atacontrol rebuild ar0'.

Problem is, that man page says atacontrol rebuild is only valid on RAID 
capable ATA controllers. But since I have no such controller, I can't use 
this command.

How can I rebuild the array on a normal ATA controller?
Greetings, Matthias

-- 
Marge, I ate those fancy soaps you bought for the bathroom.

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


Re: howto software raid under FreeBSD?

2004-10-31 Thread Matthias F. Brandstetter
-- quoting Matthias F. Brandstetter --
 Problem is, that man page says atacontrol rebuild is only valid on
 RAID capable ATA controllers. But since I have no such controller, I
 can't use this command.

Ahh, would it be possible to dd data to the new disk?

And if yes: Is this the correct way create the array for the first time? I 
mean I have an existing installation on one disk. Now can I just dd data 
to the second disk, create mirror via atacontrol, edit fstab accordingly, 
and reboot into RAID without any other changes?

Greetings, Matthias

-- 
It takes two to lie.  One to lie and one to listen.

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


Re: howto software raid under FreeBSD?

2004-10-31 Thread Matthias F. Brandstetter
-- quoting Emanuel Strobl --
 I don't know why this is in the man page, last time I read it (some
 years ago) it was not in there.
 You can use the rebuild command also on non-raid controllers, at least
 it was possible for me when I did some tests about 3 months ago.
 As I can see you're considering gmirror, perhaps that's the better
 solution for you. In all cases, simulate a drive failure, so you do know
 what to do when one drive really fails.

Any docs for gmirror except man page out there anywhere? Something like how 
to use it for root file system, how to convert a non-gmirror system, 
kernel configuration etc.

Greets, Matthias

-- 
Pfft.  Now you tell me.

  -- Homer Simpson, finding out that working at a nuclear
  plant can make one sterile
 I Married Marge
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: howto software raid under FreeBSD?

2004-10-31 Thread Matthias F. Brandstetter
-- quoting Emanuel Strobl --
  Problem is, that man page says atacontrol rebuild is only valid on
  RAID capable ATA controllers. But since I have no such controller, I
  can't use this command.

 I don't know why this is in the man page, last time I read it (some
 years ago) it was not in there.
 You can use the rebuild command also on non-raid controllers, at least
 it was possible for me when I did some tests about 3 months ago.

Ok thx for that. Only one last question: Is it enough to just dd onto 2nd 
disk, create the raid via atacontrol and edit fstab to ar0 to use it on 
root partition as well?

Thx again for your help!
Greetings, Matthias

-- 
Homer: Aw, Marge, kids, I miss my club.

Marge: Oh, Homey.  You know, you are a member of a very exclusive
 club.

Homer: The Black Panthers?

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


Re: howto software raid under FreeBSD?

2004-10-30 Thread Matthias F. Brandstetter
-- quoting Subhro --
 Buddy, software RAIDs had always been a pain in the neck. they simply
 are not worth it as the kernel is busy babysitting the RAID and other
 applications suffer. Also in case of software RAID failures, it is a
 nightmare.

I do not think so.

I never ever had any diffuiculties or hatches with software raids on Linux 
systems. I use them for several years in several machines now, w/o any 
errors. AND: it's damn easy on Linux to create the array, hotadd a new 
disk and so on...

greets, Matthias

-- 
Homer/Apu/Moe:
 You can do it, Otto!
 You can do it, Otto!

Apu: Make this spare, I'll give you free gelato!

Moe: Then go back to my place where I will get you blotto!

Homer: Domo arigato, Mister Roboto!

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


Re: howto software raid under FreeBSD?

2004-10-30 Thread Matthias F. Brandstetter
-- quoting Emanuel Strobl --
 Why not, but you also have gmirror and ataraid, the former only on 5.3.
 For ataraid you can use 'atacontrol create RAID1 ad4 ad6' for example
 For gmirror you can use 'gmirror label -v -b split -s 2048 mrr ad4 ad6'
 And you mentioned vinum and ccd already.

why: because ccd seems not very good when it comes to replace a disk...
and ad ataraid and gmirror: where do I find docs about them on internet?

greets, Matthias

-- 
Flanders:
 They're not perfect, but the Lord says love they neighbor --

Homer: Shut up, Flanders.

Flanders:
 Okely-dokely-do.

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


howto software raid under FreeBSD?

2004-10-29 Thread Matthias F. Brandstetter
Hi all,

I want to create a software RAID 1 of two same disks. Coming from Linux I 
am used to the very simple /etc/raidtab files. Now I looked into vinum 
docs in FreeBSD handbook, and it seems somewhat difficult to me.

So my question is: Is vinum the only way to create a software RAID 1 from 
two ATA disks? I've read about ccd, but after reading its man page I do 
not tend to it.

Hope you guys can help me!
Greetings, Matthias

-- 
Hey, if you want wild bears eatin' your children and scarin' your
salmon, that's your business.  But I'm not gonna take it!  Who's with
me?

  -- Homer Simpson
 Much Apu About Nothing
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


stack overflow after boot menu when booting from CD

2004-10-26 Thread Matthias F. Brandstetter
Hi all,

I have a little problem with FreeBSD 5.2.1 boot CD. After booting from it I 
can see the boot menu and below error: stack overflow.

The machine is a Pentium 233 MMX with 128mb RAM.
Any ideas on this?

TIA and Greetings, Matthias

PS: I have no problem with a FreeBSD 4.10 CD, but I need 5.x cause of 
ACLs...

PPS: There is allready a bug submitted, but without any fix:
http://www.freebsd.org/cgi/query-pr.cgi?pr=67260

-- 
Two-hundred-thirty-nine pounds?!  I'm a blimp!  Why are all the good
things so tasty?

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


Re: how to enable del key under bash?

2004-10-25 Thread Matthias F. Brandstetter
-- quoting Nathan Kinkade --
 This probably has more to do with your terminal program and less to do
 with bash itself.  Take a look at this helpful document:

 http://www.ibb.net/~anne/keyboard.html

Yeah thx alot, this helped me to get my del key to work!
Greetings, Matthias

-- 
I can understand how they wouldn't let in those wild jungle apes, but what
about those really smart ones who live among us who rollerskate and smoke
cigars?

  -- Homer Simpson, on Heaven
 The Telltale Head
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Samba+ACLs, CURRENT or STABLE?

2004-10-25 Thread Matthias F. Brandstetter
Hi all,

I plan to setup a Samba fileserver with ACLs as a Windows domain 
controller. First I tried with Linux, but I am afraid ACLs are not 
wonderfully supported by it (you have to patch some core tools etc.).

So I thougt I try it with FreeBSD. 5.x seems good for this task, since it 
supports ACLs out of the box. Now my problem is, that I want to use this 
server in a production environment, but on freebsd.org I see CURRENT 
should not be used for such machines.

So my question, what to do now? Are ACLs for Samba supported on STABLE as 
well, or is it safe to use CURRENT?

Greetings and TIA, Matthias

-- 
Burns: Oh, quit cogitating, Steinmetz, and use an open-faced club!  A
 sand wedge!

Homer: Mmm ... open-faced club sandwich.

 Scenes From the Class Struggle in Springfield
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


how to enable del key under bash?

2004-10-21 Thread Matthias F. Brandstetter
Hi all,

I am using FreeBSD 4.10, working under bash. I use keymap german.iso, and 
everything works fine, no problems with deadkeys or similar.

Only thing is, I can't use the del key. When I type a string in console, 
use home to get to first char and then hit del to delete this first 
char, I get a tilde (~) insted of earasing the character.

Any ideas on this?
Greetings and TIA, Matthias

-- 
Marge, there's just too much pressure, what with my job, the kids, traffic
snarls, political strife at home and abroad.  But I promise you, the second
all of those things go away, we'll have sex.

  -- Homer Simpson
 Grampa vs. Sexual Inadequacy
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


how to convert a non-RAID system to RAID1?

2004-10-19 Thread Matthias F. Brandstetter
Hi all,

I have a FreeBSD 4.10 server running on one IDE disk. Now I installed a 2nd 
disk which I want to use for RAID1 together with first disk.

My question is: How can I convert this setup to a software RAID1, without 
rebooting the machine or something like that. Is this even possible?

I know this isn't much work under Linux, but since I just started with 
FreeBSD, I wanted to ask you guys before I play with this production 
machine... ;)

Hope you can help me and point me to the right directions!
I've allready read vinum handbook on freebsd.org, but I am not sure how to 
convert an existing non-RAID system to RAID1.

Greetings and TIA, Matthias

-- 
TV Announcer:
 The following is a public service announcement: Excessive
 alcohol consumption can cause liver damage and cancer of the
 rectum.

Homer: Mmm ... beer.

 So It's Come To This: A Simpsons Clip Show
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


where to find security updates?

2004-10-14 Thread Matthias F. Brandstetter
Hi all,

I am somewhat new to FreeBSD, and so not 100% used to this ports and 
portaudit system.

My daily sec. output says, that my installed mod_php4-4.3.8_2 has two 
vulnerabilities. So I did an cvsup /root/ports-supfile and a make 
search=mod_php4 afterwards. But I can only see mod_php4-4.3.6 now, 
which does not look like an update to mod_php4-4.3.8_2.

Now my question is: How should/can I update mod_php4, if there is no update 
available?

Greetings and TIA, Matthias

-- 
Homer: No TV and No Beer Make Homer ... something something.

Marge: Go crazy?

Homer: Don't mind if I do!

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


Re: where to find security updates?

2004-10-14 Thread Matthias F. Brandstetter
-- quoting Alexandr --
  My daily sec. output says, that my installed mod_php4-4.3.8_2 has
  two vulnerabilities. So I did an cvsup /root/ports-supfile and a
  make search=mod_php4 afterwards. But I can only see mod_php4-4.3.6
  now, which does not look like an update to mod_php4-4.3.8_2.

 cd /usr/ports
 make fetchindex

that was is, thx a log!
Greetings, Matthias

-- 
Maybe I should just cut my losses, give up on Lisa, and make a fresh
start with Maggie.

  -- Homer Simpson
 Lisa's Pony
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to begin ???

2004-09-29 Thread Matthias F. Brandstetter
-- quoting Savchuk Taras --
 I undertand nothing in FreeBSD source code, but want to sort out this
 problem. The hard business is begining, so I want to begin.
 Who can show me the right way?

what problem do you have?

-- 
Sorry, Mr. Burns, but I don't go in for these backdoor shenanigans.
Sure I'm flattered, maybe even a little curious, but the answer is no!

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


how to change daily run output's subject line?

2004-09-22 Thread Matthias F. Brandstetter
Hi all,

as like every other FreeBSD machine, my FreeBSD based server sends me an 
daily (security) output every night. I know where to change some settings 
like where the email should go to etc. But is there any chance to change 
subject line of this auto generated email?

Greetings and TIA, Matthias

-- 
Come here, you little raven!

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


Re: how to change daily run output's subject line?

2004-09-22 Thread Matthias F. Brandstetter
-- quoting Giorgos Keramidas --
  as like every other FreeBSD machine, my FreeBSD based server sends me
  an daily (security) output every night. I know where to change some
  settings like where the email should go to etc. But is there any
  chance to change subject line of this auto generated email?

 It's hardwired in /usr/sbin/periodic (which is a shell script, so it's
 not really impossible to change it).

thx a lot! found it and changed it ;)
greets, Matthias

-- 
Six simple words: I'm not gay, but I'll learn.

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


how to update XFree libs?

2004-09-20 Thread Matthias F. Brandstetter
Hi all,

today I noticed a security issue with XFree86 libs in my daily sec. mailing 
from one of my servers, so I updated my ports collection via 
cvsup /root/ports-supfile (ports-all). But after that, I still can't 
update my X libs:

[ 11:59 [EMAIL PROTECTED] XFree86-4-libraries ] make install clean
===  XFree86-libraries-4.4.0_1 has known vulnerabilities:
 xpm --- image decoding vulnerabilities.
   Reference: 
http://people.freebsd.org/~eik/portaudit/ef253f8b-0727-11d9-b45d-000c41e2cdad.html
 Please update your ports tree and try again.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-libraries.

Any ideas how to solve this?
Greetings and TIA, Matthias

-- 
When will I learn?  The answers to life's problems aren't at the bottom of
a bottle.  They're on TV!

  -- Homer Simpson
 There's No Disgrace Like Home
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 4.10: slow ssh

2004-09-16 Thread Matthias F. Brandstetter
-- quoting Mari Cariapa --
 It takes about 15 seconds which normally should just take 2-3 seconds.
 Any idea on how I can fix this?

That's normal, if your ssh server can't resolve client's IP address to a 
valid host name (= reverse DNS lookup).

You have two options:
1.) Ask your provider to setup your reverse DNS correctly for your IP
2.) use UseDNS no option in /etc/ssh/sshd_config and restart sshd

HTH! Greetings, Matthias

-- 
Burns: I can't understand a word you're saying.

Homer: My name is Homer Simpson!

Burns: You're just babbling incoherently...

Homer: Oh, you're a dead man, Burns.  Oh, you're dead!  You're dead,
 Burns!

 Who Shot Mr. Burns (Part 1)
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


how to update system time?

2004-09-10 Thread Matthias F. Brandstetter
Hi all,

first: hello to all FreeBSD users out there ;)
After using Linux for several years, I want to try out FreeBSD for some of 
my servers now. I am coming from Gentoo Linux, so I am somewhat used to 
the ports system...

Ok, now to my first question: I am setting up my 2nd FreeBSD box now. On my 
first test machine I installed rdate (instead of ntpdate); I can 
update system time w/o problems there.

But when I try to update system time on the 2nd box now, I get no errors 
from rdate, but my time and date is not updated afterwards. When I try it 
with ntpdate (with same time server), I get the following error:

6 Sep 15:22:01 ntpdate[330]: no server suitable for synchronization found

I set my local time via /stand/sysinstall to my local timezone (Austria), 
CEST. With rdate, I get the right date and time, but as said my system 
date and time is not updated, it stays around two hours behind...

Sorry if this is maybe a dumb question, but I really have no idea left 
where the problem could be (because this works wonderful on the other 
FreeBSD test machine).

Greetings and TIA, Matthias

-- 
But let me tell you, the slim lazy Homer you knew is dead.  Now I'm a
big fat dynamo.

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


Re: how to update system time?

2004-09-10 Thread Matthias F. Brandstetter
-- quoting Shantanoo --
 Is the computer properly networked? can it ping yahoo.com?

Yeah it is properly networked. I am connected via SSH now.
And of course I can ping yahoo.com and other sites.

 the computer is not able to reach the ntp server. try pool.ntp.org

The computer _is_ able to reach the ntp server.
See this example:

[ 17:34 [EMAIL PROTECTED] ~ ] date
Fri Sep 10 17:35:00 CEST 2004
[ 17:35 [EMAIL PROTECTED] ~ ] rdate time.fu-berlin.de
Fri Sep 10 19:57:55 2004
[ 17:35 [EMAIL PROTECTED] ~ ] rdate -s time.fu-berlin.de
[ 17:35 [EMAIL PROTECTED] ~ ] date
Fri Sep 10 17:35:27 CEST 2004
[ 17:35 [EMAIL PROTECTED] ~ ] ntpdate time.fu-berlin.de
10 Sep 17:35:42 ntpdate[8708]: no server suitable for synchronization found
[ 17:35 [EMAIL PROTECTED] ~ ]

I really wonder why system time isn't set, because as said I use the rdate 
tool on another FreeBSD machine and the same time server w/o any 
problems...

Any other ideas?
Greetings, Matthias

-- 
Homer: There couldn't be heaven if there weren't a hell.

Bart: Who's in there?

Homer: Oh, uh ... Hitler's dog.  And that dog Nixon had, whassisname, um,
 Chester ...

Lisa: Checkers.

Homer: Yeah!  One of the Lassies is in there, too.  The mean one -- the
 one that mauled Jimmy.

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


Re: how to update system time?

2004-09-10 Thread Matthias F. Brandstetter
-- quoting Bill Moran --
 Is your securelevel set very high?  A high securelevel will prevent
 drastic changes to the system clock (although I don't remember what is
 specifically considered drastic)

ok, a look into man securelevel gave the answer: in kernel securelevel 2 
or higher time changes are restricted to = 1 sec.

Thanks for your tip! Since I am coming from Linux I had no idea of this 
kernel securelevels ... cool thing btw. ;)

Thanks to all of you for your quick help!
Greetings, Matthias

-- 
You can't depend on me all your lives.  You have to learn that there's a
little Homer Simpson in all of us.

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