Re: Use n instead of Fn for choosing the OS when booting?

2009-06-23 Thread hv


Am 23.06.2009 um 03:18 schrieb Rick C. Petty:


On Tue, Jun 23, 2009 at 07:38:00AM +0800, Wu, Yue wrote:


Another question, if these are more then 12 OSes exist on disk, how  
to select

the one that number larger than 12? :)


You can only have 4 primary partitions in an MBR.  The boot0 gives  
choice

#5 for the next disk.  Thus there are only 5 choices, maximum.



Recently added (since 7.2): There are 6 possible choices.
Probably the 6th only shows up, if the bios supports booting via PXE.

Regards

--
Henry Vogt  (Fon: ++49-7071-601-511, Fax: -826)
Campus Max-Planck-Institute, Spemannstr. 32-41, Tübingen, Germany






PGP.sig
Description: Signierter Teil der Nachricht


Re: Adding multiipul virtual domains?

2009-06-23 Thread Guido Falsi
On Mon, Jun 22, 2009 at 08:18:03PM -0500, eculp wrote:
> You really need to be more specific.  To use the domains you will need  
> at least:
>
>   o. a functional DNS for each, be it on your freebsd box or not.
>   o. Probably a mail server.  Lot of options here most are in ports.
>   o. A web server, probably apache or lighthttp that are both in ports.
>
> All of these can be handled by multiple programs, none of which are  
> parts of the basic freebsd OS install except named, I suppose but that  
> is if you are running your own dns, which I somehow doubt.

Well the base system does include a mail server.

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


Re: lock up in 6.2 (procs massively stuck in Giant)

2009-06-23 Thread pluknet
2009/5/13 John Baldwin :
> On Wednesday 13 May 2009 11:41:22 am pluknet wrote:
>> 2009/5/13 John Baldwin :
>> > On Wednesday 13 May 2009 2:40:33 am pluknet wrote:
>> >> 2009/5/13 pluknet :
>> >> > 2009/5/13 John Baldwin :
>> >> >> On Tuesday 12 May 2009 4:59:19 pm pluknet wrote:
>> >> >>> Hi.
>> >> >>>
>> >> >>> From just another box (not from the first two mentioned earlier)
>> >> >>> with a similar locking issue. If it would make sense, since there are
>> >> >>> possibly a bit different conditions.
>> >> >>> clock proc here is on swi4, I hope it's a non-important difference.
>> >> >>>
>> >> >>>    18     0     0     0  LL     *Giant    0xd0a6b140 [swi4: clock
> sio]
>> >> >>> db> bt 18
>> >> >>
>> >> >> Ok, this is a known issue in 6.x.  It is fixed in 6.4.
>> >> >>
>> >>
>> >> Looking at the face of kern_timeout.c I suspect that was fixed in
> r181012.
>> >
>> > No, this particular issue is fixed by a change to sched_4bsd.c in r179975.
>> >
>>
>> Gah.. We constrained to use ule scheduler on 6.x (yes, I know that
>> "it's known to be broken (c)"), since we have had a very bad interactivity
>> on 4bsd on our workload. Ok, that's just another reason to move to 7.x.
>
> Hmmm I would have thought ULE wouldn't have suffered from this bug.  The
> problem on 4BSD was if softclock ever blocked on Giant and the thread that
> held Giant was on a run queue and pinned to a specific CPU but that another
> userland thread was running on that CPU already, the userland thread would
> never yield the CPU so long as it kept busy since the round robin timeout
> would never run.
>
> --
> John Baldwin
>

That's another sort of lockup on 6.2 we experience often.
May that be connected to ULE on 6.x?
I regret if this info is not enough.

db> ps
  pid  ppid  pgrp   uid   state   wmesg wchancmd
74606 74602 68315 0  R   stat
74605 74601 68315 0  S   piperd   0xcd7b0198 head
74603 74601 68315 0  S   piperd   0xc8ca2198 sort
74602 74601 68315 0  S   wait 0xcaed6000 find
74601 68319 68315 0  S   wait 0xd0f5e860 sh
74588  7495  7495 13581  S   lockf0xd1919dc0 httpd
74587  7495  7495 13581  S   lockf0xce42b400 httpd
74586  8016  8016  7336  R   httpd
74585  8016  8016  7336  R   httpd
74584  9498  9498 26316  R   httpd
74341  3399  8150 13289  R   CPU 7   perl5.8.8
74020  7495  7495 13581  S   lockf0xccf31180 httpd
74019  8247  8247 26256  R   httpd
74018  8016  8016  7336  R   CPU 4   httpd
72732  9190  9190 26291  RL  CPU 1   httpd
72731  9190  9190 26291  S   accept   0xcd31572e httpd
72729  8693  8693 26404  R   httpd
72727  9190  9190 26291  S   accept   0xcd31572e httpd
72726  9396  9396 26262  R   httpd
72088  7495  7495 13581  S   kqread   0xcb2f9400 httpd
72087  9190  9190 26291  S   accept   0xcd31572e httpd
72085  9190  9190 26291  S   accept   0xcd31572e httpd
72084  8162  8162 18538  R   httpd
71402  7495  7495 13581  S   lockf0xccfab3c0 httpd
71401  8162  8162 18538  R   httpd
71400  9190  9190 26291  S   accept   0xcd31572e httpd
71399  8716  8716 26278  R   CPU 3   httpd
70063  7574  7574 11303  S   lockf0xccf312c0 httpd
69417  8371  8371 25968  R   httpd
69416  9030  9030 39658  R   httpd
68319 68318 68315 0  S   piperd   0xd1b9f198 sh
68318 68315 68315 0  S   wait 0xc82f7648 lockf
68315 68313 68315 0  Ss  wait 0xca914430 sh
68313 34501 34501 0  S   piperd   0xcfbef000 cron
68310  8016  8016  7336  R   httpd
68309 64318 64318 14620  R   httpd
68308  9111  9111 26280  S   lockf0xca51cc00 httpd
68302  8595  8595 26129  RL  httpd
68301  9190  9190 26291  S   accept   0xcd31572e httpd
68300  8483  8483 26049  R   httpd
68296  8747  8747 33525  R   httpd
68287  8952  8952 26340  R   httpd
68282  9110  9110 26102  R   httpd
68280  9110  9110 26102  R   httpd
68272  8339  8339 17137  S   accept   0xcc5159f6 httpd
68271  8595  8595 26129  R   httpd
68269  9470  9470 26006  R   httpd
68268  9030  9030 39658  S   sbwait   0xc89d0da4 httpd
68251 36391 36391 38054  R   httpd
68249  7527  7527 16760  R   httpd
68247  9030  9030 39658  R   httpd
68245  8901  8901 26031  S   accept   0xcd3159f6 httpd
68239  8928  8928 26128  R   httpd
68238  8928  8928 26128  S   lockf0xd1659c40 httpd
68214  7619  

Re: Adding multiipul virtual domains?

2009-06-23 Thread Jeffrey Goldberg

On Jun 22, 2009, at 4:46 PM, ALLnetgroup wrote:

I have 3 virtual domains I need to add to FreeBSD 7.2-RELEASE server  
using Terminal or Webmin preferably Terminal.


If you are talking about virtual web domains, then this will be  
configured in the Apache configuration files.  Assuming you have  
apache22 installed from ports, then look in


 /usr/local/etc/apache22/extra/http-vhosts.com

That will point you to some apache documentation

 http://httpd.apache.org/docs/2.2/vhosts/

which you should review.

As others have said, you need to clarify your question.  Virtual  
domains with respect to what?  I'm just guessing that you are talking  
about webserver vhosts and that you are running apache.


If you are talking about virtual domains for email, then you will need  
to let us know whether you are running the FreeBSD default sendmail  
installation or some other mail server system.


-j


--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

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


Re: Adding multiipul virtual domains?

2009-06-23 Thread ALLnetgroup
The server has 1 domain  name already setup along with:
 
sendmail
Webmin
Apache Web Server
MySQL
Apache Tomcat
Squid Proxy
SOCKS5
PERL
Mod PERL
PHP
OpenSSH
phpBB
RoundCube WebMail
 
When I add a new virtual host I would like the host to have it's own directory, 
website and the services above.
 
 
Thank You
 
--- On Tue, 6/23/09, Jeffrey Goldberg  wrote:


From: Jeffrey Goldberg 
Subject: Re: Adding multiple virtual domains?
To: allnetgr...@yahoo.com
Cc: sta...@freebsd.org
Date: Tuesday, June 23, 2009, 6:41 AM


On Jun 22, 2009, at 4:46 PM, ALLnetgroup wrote:

> I have 3 virtual domains I need to add to FreeBSD 7.2-RELEASE server using 
> Terminal or Webmin preferably Terminal.

If you are talking about virtual web domains, then this will be configured in 
the Apache configuration files.  Assuming you have apache22 installed from 
ports, then look in

/usr/local/etc/apache22/extra/http-vhosts.com

That will point you to some apache documentation

http://httpd.apache.org/docs/2.2/vhosts/

which you should review.

As others have said, you need to clarify your question.  Virtual domains with 
respect to what?  I'm just guessing that you are talking about webserver vhosts 
and that you are running apache.

If you are talking about virtual domains for email, then you will need to let 
us know whether you are running the FreeBSD default sendmail installation or 
some other mail server system.

-j


--Jeffrey Goldberg                        http://www.goldmark.org/jeff/





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


Re: Adding multiipul virtual domains?

2009-06-23 Thread eculp

Quoting ALLnetgroup :


The server has 1 domain  name already setup along with:
 
sendmail
Webmin
Apache Web Server
MySQL
Apache Tomcat
Squid Proxy
SOCKS5
PERL
Mod PERL
PHP
OpenSSH
phpBB
RoundCube WebMail
 
When I add a new virtual host I would like the host to have it's own  
directory, website and the services above.


Hmmm... the link Jeffery sent you solves the apache vhosts and you  
will need to read the manuals for the rest to get your configuration  
the way you want it and ask specific questions on the questions  
mailing list, possibly.


ed

 
 
Thank You
 
--- On Tue, 6/23/09, Jeffrey Goldberg  wrote:


From: Jeffrey Goldberg 
Subject: Re: Adding multiple virtual domains?
To: allnetgr...@yahoo.com
Cc: sta...@freebsd.org
Date: Tuesday, June 23, 2009, 6:41 AM


On Jun 22, 2009, at 4:46 PM, ALLnetgroup wrote:

I have 3 virtual domains I need to add to FreeBSD 7.2-RELEASE  
server using Terminal or Webmin preferably Terminal.


If you are talking about virtual web domains, then this will be  
configured in the Apache configuration files.  Assuming you have  
apache22 installed from ports, then look in


/usr/local/etc/apache22/extra/http-vhosts.com

That will point you to some apache documentation

http://httpd.apache.org/docs/2.2/vhosts/

which you should review.

As others have said, you need to clarify your question.  Virtual  
domains with respect to what?  I'm just guessing that you are  
talking about webserver vhosts and that you are running apache.


If you are talking about virtual domains for email, then you will  
need to let us know whether you are running the FreeBSD default  
sendmail installation or some other mail server system.


-j


--Jeffrey Goldberg                        http://www.goldmark.org/jeff/





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



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


Re: Use n instead of Fn for choosing the OS when booting?

2009-06-23 Thread Wu, Yue
On Tue, Jun 23, 2009 at 09:35:49AM +0200, hv wrote:
> 
> Am 23.06.2009 um 03:18 schrieb Rick C. Petty:
> 
> > On Tue, Jun 23, 2009 at 07:38:00AM +0800, Wu, Yue wrote:
> >>
> >> Another question, if these are more then 12 OSes exist on disk, how  
> >> to select
> >> the one that number larger than 12? :)
> >
> > You can only have 4 primary partitions in an MBR.  The boot0 gives  
> > choice
> > #5 for the next disk.  Thus there are only 5 choices, maximum.
> 
> 
> Recently added (since 7.2): There are 6 possible choices.
> Probably the 6th only shows up, if the bios supports booting via PXE.

Thanks for the infos :)

-- 
Hi,
Wu, Yue
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Adding multiipul virtual domains?

2009-06-23 Thread Michael Grant
On Tue, Jun 23, 2009 at 17:04, eculp wrote:
> Quoting ALLnetgroup :
>
>> The server has 1 domain  name already setup along with:
>>
>> sendmail
>> Webmin
>> Apache Web Server
>> MySQL
>> Apache Tomcat
>> Squid Proxy
>> SOCKS5
>> PERL
>> Mod PERL
>> PHP
>> OpenSSH
>> phpBB
>> RoundCube WebMail
>>
>> When I add a new virtual host I would like the host to have it's own
>> directory, website and the services above.

There is nothing that I know of that will automatically "add a new
virtual domain" to a machine in all of these systems.  I have my own
home brew perl scripts which do such things but they are not usable
outside my own environment.  Many other people I have talked to have
done the same thing or just configured each of these individually.

If you are not technically savvy enough to write your own
configuration management system or to modify the configuration files
individually, you might consider instead of having your own machine to
use a web hosting company which automatically installs and configures
this stuff for you via a control panel.

Incidentally this is not the first time I have seen a need for some
larger "meta" confutation system for unix/linux in general.  It's
absolutely true that adding a domain to a system is often a multi-step
process and it need not be.  Like adding a user in the old days when
you first edited the passwd file, the group file, made the home
directory and copied over some dot files there, now it's all automated
in the adduser command.

A user might have several domains, mail, one or more web sites, etc.
All of this gets configured into lots of different files.  Then think
what happens when you get rid of a user.  There really aught to be
some easier way which is why I ended up writing my own scripts.

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


RE: Adding multiipul virtual domains?

2009-06-23 Thread Daniel Anson
Try running plesk.

--D

-Original Message-
From: owner-freebsd-sta...@freebsd.org 
[mailto:owner-freebsd-sta...@freebsd.org] On Behalf Of Michael Grant
Sent: Tuesday, June 23, 2009 2:21 PM
To: allnetgr...@yahoo.com
Cc: sta...@freebsd.org
Subject: Re: Adding multiipul virtual domains?

On Tue, Jun 23, 2009 at 17:04, eculp wrote:
> Quoting ALLnetgroup :
>
>> The server has 1 domain  name already setup along with:
>>
>> sendmail
>> Webmin
>> Apache Web Server
>> MySQL
>> Apache Tomcat
>> Squid Proxy
>> SOCKS5
>> PERL
>> Mod PERL
>> PHP
>> OpenSSH
>> phpBB
>> RoundCube WebMail
>>
>> When I add a new virtual host I would like the host to have it's own
>> directory, website and the services above.

There is nothing that I know of that will automatically "add a new
virtual domain" to a machine in all of these systems.  I have my own
home brew perl scripts which do such things but they are not usable
outside my own environment.  Many other people I have talked to have
done the same thing or just configured each of these individually.

If you are not technically savvy enough to write your own
configuration management system or to modify the configuration files
individually, you might consider instead of having your own machine to
use a web hosting company which automatically installs and configures
this stuff for you via a control panel.

Incidentally this is not the first time I have seen a need for some
larger "meta" confutation system for unix/linux in general.  It's
absolutely true that adding a domain to a system is often a multi-step
process and it need not be.  Like adding a user in the old days when
you first edited the passwd file, the group file, made the home
directory and copied over some dot files there, now it's all automated
in the adduser command.

A user might have several domains, mail, one or more web sites, etc.
All of this gets configured into lots of different files.  Then think
what happens when you get rid of a user.  There really aught to be
some easier way which is why I ended up writing my own scripts.

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


Confidentiality Notice: This e-mail message (including any attached or
embedded documents) is intended for the exclusive and confidential use of the
individual or entity to which this message is addressed, and unless otherwise
expressly indicated, is confidential and privileged information of Rackspace.
Any dissemination, distribution or copying of the enclosed material is 
prohibited.
If you receive this transmission in error, please notify us immediately by 
e-mail
at ab...@rackspace.com, and delete the original message.
Your cooperation is appreciated.

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


RE: Adding multiipul virtual domains?

2009-06-23 Thread Larry Rosenman
I wouldn't wish plesk on my worst enemy.

Qmail, and non-standard stuff all the way around. 

I have clients that use it, and I cringe when I have to debug/change
something.


-- 
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 512-248-2683E-Mail: l...@lerctr.org
US Mail: 430 Valona Loop, Round Rock, TX 78681-3893

-Original Message-
From: owner-freebsd-sta...@freebsd.org
[mailto:owner-freebsd-sta...@freebsd.org] On Behalf Of Daniel Anson
Sent: Tuesday, June 23, 2009 2:47 PM
To: Michael Grant; allnetgr...@yahoo.com
Cc: sta...@freebsd.org
Subject: RE: Adding multiipul virtual domains?

Try running plesk.

--D

-Original Message-
From: owner-freebsd-sta...@freebsd.org
[mailto:owner-freebsd-sta...@freebsd.org] On Behalf Of Michael Grant
Sent: Tuesday, June 23, 2009 2:21 PM
To: allnetgr...@yahoo.com
Cc: sta...@freebsd.org
Subject: Re: Adding multiipul virtual domains?

On Tue, Jun 23, 2009 at 17:04, eculp wrote:
> Quoting ALLnetgroup :
>
>> The server has 1 domain  name already setup along with:
>>
>> sendmail
>> Webmin
>> Apache Web Server
>> MySQL
>> Apache Tomcat
>> Squid Proxy
>> SOCKS5
>> PERL
>> Mod PERL
>> PHP
>> OpenSSH
>> phpBB
>> RoundCube WebMail
>>
>> When I add a new virtual host I would like the host to have it's own
>> directory, website and the services above.

There is nothing that I know of that will automatically "add a new
virtual domain" to a machine in all of these systems.  I have my own
home brew perl scripts which do such things but they are not usable
outside my own environment.  Many other people I have talked to have
done the same thing or just configured each of these individually.

If you are not technically savvy enough to write your own
configuration management system or to modify the configuration files
individually, you might consider instead of having your own machine to
use a web hosting company which automatically installs and configures
this stuff for you via a control panel.

Incidentally this is not the first time I have seen a need for some
larger "meta" confutation system for unix/linux in general.  It's
absolutely true that adding a domain to a system is often a multi-step
process and it need not be.  Like adding a user in the old days when
you first edited the passwd file, the group file, made the home
directory and copied over some dot files there, now it's all automated
in the adduser command.

A user might have several domains, mail, one or more web sites, etc.
All of this gets configured into lots of different files.  Then think
what happens when you get rid of a user.  There really aught to be
some easier way which is why I ended up writing my own scripts.

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


Confidentiality Notice: This e-mail message (including any attached or
embedded documents) is intended for the exclusive and confidential use of
the
individual or entity to which this message is addressed, and unless
otherwise
expressly indicated, is confidential and privileged information of
Rackspace.
Any dissemination, distribution or copying of the enclosed material is
prohibited.
If you receive this transmission in error, please notify us immediately by
e-mail
at ab...@rackspace.com, and delete the original message.
Your cooperation is appreciated.

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

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