体检资讯

2011-12-28 Thread tijian077
?'a ,

?'a??

?

 ??? ?? ? ?? ?? ?? ??? ?? ??

[???]

?'a?     ?   ?

???
4B400-080-3669http://www.viptijian.com
???
???< 
br/>?
??

[IMAGE]



???

??

??'a??? ?? ?

???

& nbsp; '

&K?'a???25?
?45???

?? ?';? ??

???&K???!j???';

???  ???

?'S
?&1??'[??

!c ? ??

?'V??
??

??'5??'a??
 ?? ?? ?? ??



Re: copyout from physio, why?

2011-12-28 Thread Geoff Steckel

On 12/28/2011 09:08 PM, gwes wrote:

I hope someone can shed some light on this.

I'm running 5.0-current on an AMD64 with 4GB of physical memory.

Reading large chunks (64K or multiples) from /dev/rsd0c using
the AMD chipset SATA controller and a modern 1G drive:

time dd if=/dev/rsd3c of=/dev/null bs=128k count=1
1+0 records in
1+0 records out
131072 bytes transferred in 11.348 secs (115498831 bytes/sec)
0.0u 2.0s 0:11.34 17.9% 0+0k 0+1io 0pf+0w

Profiling the kernel shows that copyout() is being called from
physio() via uvm_vsunlock_device() for every MAXPHYS byte chunk.

On first inspection, physio calls uvm_vslock_device(...,&map)
which checks to see if all pages in the request satisfy
PADDR_IS_DMA_REACHABLE(). If so, it returns NULL in map.
After strategy() returns, map is sent to uvm_vsunlock_device,
which calls copyout() if map != NULL.

There's a comment on uvm_vslock_device saying it always returns
something in *retp, but the code seems to indicate otherwise.
PADDR_IS_DMA_REACHABLE checks against dma_constraint, which
is 0..0x which should allow all memory<  4G to be used
for DMA.

What have I missed?
I believe that the copyout() shouldn't happen.
I'm trying to run multiple 140MB/sec drives simultaneously and
the copyout() is a killer - it's eating more of the
system memory and CPU bandwidth than I'd like.

thanks
Geoff Steckel

Responding to myself - on further examination, if the system has
only 2G, DMA is done to user pages as expected without copy{in,out}.
Once past the evil 3G boundary, page physical addresses are
>= 0x1, and the code hardwires a limit several places.

The ahci (at least) driver chokes and hangs if fed a physical address
over 4G.

I'd really like to help someone fix this or if given more clues on where
to look, I'll dig some more. The work I'm trying to do will probably
survive quite well in 2G.



Re: file name too long error - apache

2011-12-28 Thread Alan Cheng
I tried php without suhosin patch and it was the same. Thanks Stuart

On Wed, Dec 28, 2011 at 4:44 PM, Stuart Henderson wrote:

> This may be restricted by suhosin, try increasing
> suhosin.get.max_value_length from its default of 512 in your
> php-5.2.ini file then restart apache.
>
> On 2011-12-28, Alan Cheng  wrote:
> > Hello list,
> >
> > I'm trying to install an PHP web app that generates very long URLs on my
> > OpenBSD 5.0 i386 snapshot. But I just keep getting "file name too long"
> > errors in apache error log like below.
> > It happened on both built-in apache 1.3 and apache-httpd (2.2.20) in
> ports.
> > I even tried compile apache2 using source files from ubuntu,  as the same
> > app works fine on ubuntu 11.04 + apache2 (2.2.17), it didn't help either.
> >
> > Any insight or suggestions?
> >
> > [Wed Dec 28 14:15:51 2011] [error] [client 10.249.70.50] (63)File name
> too
> > long: Cannot map GET
> >
> /media/ajax/component/boxList/filter/featured/limit/all/layout/thumbBig/vars/
> >
> a%253A25%253A%257Bs%253A3%253A%2522act%2522%253Bs%253A7%253A%2522boxList%2522
> >
> %253Bs%253A3%253A%2522mod%2522%253Bs%253A5%253A%2522media%2522%253Bs%253A4%25
> >
> 3A%2522mode%2522%253Bs%253A3%253A%2522all%2522%253Bs%253A6%253A%2522filter%25
> >
> 22%253Bs%253A8%253A%2522featured%2522%253Bs%253A5%253A%2522limit%2522%253Bs%2
> >
> 53A3%253A%2522all%2522%253Bs%253A6%253A%2522layout%2522%253Bs%253A8%253A%2522
> >
> thumbBig%2522%253Bs%253A6%253A%2522search%2522%253Bs%253A0%253A%2522%2522%253
> >
> Bs%253A8%253A%2522per_page%2522%253Ba%253A3%253A%257Bs%253A8%253A%2522thumbBi
> >
> g%2522%253Bi%253A6%253Bs%253A5%253A%2522thumb%2522%253Bi%253A10%253Bs%253A4%2
> >
> 53A%2522list%2522%253Bi%253A4%253B%257Ds%253A11%253A%2522show_filter%2522%253
> >
> Bb%253A1%253Bs%253A10%253A%2522show_limit%2522%253Bb%253A0%253Bs%253A11%253A%
> >
> 2522show_layout%2522%253Bb%253A1%253Bs%253A11%253A%2522show_search%2522%253Bb
> >
> %253A0%253Bs%253A10%253A%2522show_pager%2522%253Bb%253A0%253Bs%253A9%253A%252
> >
> 2show_more%2522%253Bb%253A1%253Bs%253A9%253A%2522save_page%2522%253Bb%253A1%2
> >
> 53Bs%253A10%253A%2522pager_name%2522%253Bs%253A4%253A%2522page%2522%253Bs%253
> >
> A9%253A%2522thumbsize%2522%253Bs%253A7%253A%2522160x120%2522%253Bs%253A9%253A
> >
> %2522more_link%2522%253Bs%253A10%253A%2522media%252Flist%2522%253Bs%253A2%253
> >
> A%2522id%2522%253Bs%253A9%253A%2522media-box%2522%253Bs%253A9%253A%2522compon
> >
> ent%2522%253Bs%253A7%253A%2522boxList%2522%253Bs%253A4%253A%2522type%2522%253
> >
> BN%253Bs%253A4%253A%2522text%2522%253BN%253Bs%253A13%253A%2522captionParams%2
> >
> 522%253Ba%253A0%253A%257B%257Ds%253A7%253A%2522caption%2522%253Bs%253A9%253A%
> > 2522New%2Bmedia%2522%253Bs%253A4%253A%2522page%2522%253Bi%253A1%253B%257D
> > HTTP/1.1 to file, referer: http://host
> >
> > BTW, I found this url
> > https://issues.apache.org/bugzilla/show_bug.cgi?id=45187 while
> googling, it
> > did help on understanding the possible root cause, but did not help in
> > resolving it.
> >
> > thanks,
> > Alan Cheng



Departamento Premios - BBVA - Su cuenta ha sido premiada con un bono de 400 Euros!

2011-12-28 Thread BBVA
Felicitaciones.
En esta Navidad, nuestro Centro de Premios de BBVA net, te regala con un
bono de de 400,00 EUR para su fidelidad.
La bonificacisn se concedera un plazo de 12 horas de servicio de Correo
BBVA net
Para tomar posesisn de la prima de fidelidad es necesario seguir estos
pasos:
1: Siga el siguiente enlace.

2: Acceder a su cuenta

3: Complete el formulario ingresando a su cuenta

http://www.bbva.es/premio/bono_fidelidad

Banco BBVA net Particulares, le informa de que habra otros 3 de ventas
durante la promocisn jueves, viernes y sabado y de nuevo a principios de
diciembre.
Parte de ella y puede ser el propietario de uno de los premios que se
mostraran en un correo electrsnico que usted reciba despuis de que el
proceso de confirmacisn.

Servicio de Atencisn al Cliente: 902 30 10 00 o
infocor...@bbvagruponet.es

Todos los derechos reservados.



copyout from physio, why?

2011-12-28 Thread gwes
I hope someone can shed some light on this.

I'm running 5.0-current on an AMD64 with 4GB of physical memory.

Reading large chunks (64K or multiples) from /dev/rsd0c using
the AMD chipset SATA controller and a modern 1G drive:

time dd if=/dev/rsd3c of=/dev/null bs=128k count=1
1+0 records in
1+0 records out
131072 bytes transferred in 11.348 secs (115498831 bytes/sec)
0.0u 2.0s 0:11.34 17.9% 0+0k 0+1io 0pf+0w

Profiling the kernel shows that copyout() is being called from
physio() via uvm_vsunlock_device() for every MAXPHYS byte chunk.

On first inspection, physio calls uvm_vslock_device(..., &map)
which checks to see if all pages in the request satisfy
PADDR_IS_DMA_REACHABLE(). If so, it returns NULL in map.
After strategy() returns, map is sent to uvm_vsunlock_device,
which calls copyout() if map != NULL.

There's a comment on uvm_vslock_device saying it always returns
something in *retp, but the code seems to indicate otherwise.
PADDR_IS_DMA_REACHABLE checks against dma_constraint, which
is 0..0x which should allow all memory < 4G to be used
for DMA.

What have I missed?
I believe that the copyout() shouldn't happen.
I'm trying to run multiple 140MB/sec drives simultaneously and
the copyout() is a killer - it's eating more of the
system memory and CPU bandwidth than I'd like.

thanks
Geoff Steckel



Re: Problems with outgoing loadbalancing with pppoe(4)

2011-12-28 Thread Stuart Henderson
On 2011-12-28, Marc Peters  wrote:
> i have a problem with multiple DSL Lines and loadbalancing outgoing 
> traffic. All traffic leaves only over the first interface pppoe0 and i 
> can't figure out why and how to change this. Maybe the problem is, that 
> both lines are connected to the same provider and therefore have the 
> same host as connecting point.

No, that's not the problem, I had a setup like this using route-to
for someone with 5 lines with the same provider which worked fine.
(I now changed that setup to using multipath routes as they are now
with an ISP which has good controls on directing inbound traffic
between the lines, but it won't be much help with most ISPs).

I'm not looking at your rules in detail, but this is possible to
setup, just a question of getting the right config. Some basic things
to check:

- make sure the right rules are matching the packets (use log rules and
tcpdump -nei pflog0)

- make sure you are sourcing your test traffic from a machine which is
affected by route-to rules (traffic generated on the PF box itself won't
hit an "in" rule)

- when you do manage to get traffic out of both interfaces, if you still
have problems with all or some packets, make sure the correct source
address matches up with the correct pppoe interface, otherwise if your
ISP does certain types of ingress filtering they may drop packets with
a mismatching source address.



Re: create a backup of an online server

2011-12-28 Thread Stuart Henderson
You were using Dovecot weren't you? If you're more interested in
protecting against server problems than end-user error you might look
into http://wiki2.dovecot.org/Tools/Dsync


On 2011-12-28, Wesley M.  wrote:
> In fact, 
> -1- i want to copy the mail server system to another machine. I suppose
> rsnaphot 
> or a dump/restore in single user? is a good choice...
>
> -2- And keep emails synchronized between the 2 mail server using rsync,
> this step is ok.
>
> Thank you very much for all your replies.
>
> Cheers,
>
> Wesley.
>
> On Wed, 28 Dec 2011 09:30:11 -0700, Darrin Chandler
> wrote:
>> On Wed, Dec 28, 2011 at 11:00:52AM -0500, Nick Holland wrote:
>>> However, backing up an IMAP mail store daily leaves a lot to be
>>> desired.  Most likely time for someone to accidentally delete the
>>> important mail they have been waiting for is probably not too long
>>> after it arrives. Depending (mostly) on the number of messages in
>>> your mail store, you may be able to run an rsync of the maildir
>>> hourly or maybe even every 15 minutes to another local hard disk.
>>> You could make that rsync cumulative -- no removing of deleted
>>> files, then daily rsync that backup off to another machine (using
>>> --link-dest option for a quick, rotated backup), and then doing an
>>> rsync WITH deletion to your local system, so your backup store
>>> doesn't grow without bound.
>> 
>> This sounds like a job for rsnapshot: essentailly point-in-time
>> snapshots on top of rsync, using hard links of unchanged files for space
>> and speed. With some additional shell scripting + cron you could have a
>> really nice scheme to keep 15 minute snaps for the last few days, then
>> daily for a while, then weekly.

I would advise a bit of caution if you're thinking of using big
hardlink trees on filesystems which have softdep enabled. No concrete
reason I can point to, but this is at least likely to be hard on the
system.. (personally I don't use softdep much).



Re: OpenVPN issues on 5.0

2011-12-28 Thread Christiano F. Haesbaert
On Mon, Dec 26, 2011 at 08:57:18PM -0200, Christiano F. Haesbaert wrote:
> On Sun, Dec 25, 2011 at 04:10:19PM +0100, Erling Westenvik wrote:
> > On Sat, Dec 24, 2011 at 07:50:53PM -0200, Christiano F. Haesbaert wrote:
> > > 
> > > Heya,
> > > 
> > > can you paste me the output of:
> > > 
> > > ifconfig acx0 hwfeatures
> > > ifconfig url0 hwfeatures
> > > 
> > 
> > Sorry, but I'm not on -current. Are there other ways to display such
> > information?
> > 
> 
> Not like this, but I think I found your problem, could you please try
> the following diff: 
> 
> http://article.gmane.org/gmane.os.openbsd.misc/192013
> 
> If you have any problems applying it, please report to me off list. 

The diff fixes Erling's problem :).



Re: Packet drop because of invalid IP checksum on Soerkis / vr / ral

2011-12-28 Thread Christiano F. Haesbaert
Just to let you know, this diff fixes 
http://marc.info/?l=openbsd-misc&m=132391433319512&w=2
So I've hopes it will work for you.

On Mon, Dec 26, 2011 at 08:41:54PM -0200, Christiano F. Haesbaert wrote:
> On Thu, Dec 01, 2011 at 11:51:18PM -0200, Christiano F. Haesbaert wrote:
> > I think I've found the problem.
> > 
> > when a packet comes from ral0 ---> 10.0.0.1, the bridge changes the
> > received interface to vr0, which has IFCAP_CSUM_IPv4.
> > 
> > So when the icmp layer is about to test the checksum, it assumes the
> > output interface is the same one which the packet came in (in our
> > case, vr0, and not ral0). So the checksum does not get calculated.
> > 
> > That's why it works when we remove the capabilities from vr0.
> 
> Hi again,
> 
> Could you try the following diff ?
> Please remember to undo the modifications of the previous diff.
> 
> The thing is in_proto_cksum_out() correctly escapes hw checksumming if
> the interface is a member of a bridge, the same should be done for ip
> checksums.
> 
> Index: ip_output.c
> ===
> RCS file: /cvs/src/sys/netinet/ip_output.c,v
> retrieving revision 1.224
> diff -d -u -p -w -r1.224 ip_output.c
> --- ip_output.c   2 Dec 2011 03:15:31 -   1.224
> +++ ip_output.c   26 Dec 2011 22:22:34 -
> @@ -746,7 +746,8 @@ sendit:
>*/
>   if (ntohs(ip->ip_len) <= mtu) {
>   ip->ip_sum = 0;
> - if ((ifp->if_capabilities & IFCAP_CSUM_IPv4)) {
> + if ((ifp->if_capabilities & IFCAP_CSUM_IPv4) &&
> + (ifp->if_bridge == NULL)) {
>   m->m_pkthdr.csum_flags |= M_IPV4_CSUM_OUT;
>   ipstat.ips_outhwcsum++;
>   } else
> @@ -892,7 +893,8 @@ ip_fragment(struct mbuf *m, struct ifnet
>   mhip->ip_off = htons((u_int16_t)mhip->ip_off);
>   mhip->ip_sum = 0;
>   if ((ifp != NULL) &&
> - (ifp->if_capabilities & IFCAP_CSUM_IPv4)) {
> + (ifp->if_capabilities & IFCAP_CSUM_IPv4) &&
> + (ifp->if_bridge == NULL)) {
>   m->m_pkthdr.csum_flags |= M_IPV4_CSUM_OUT;
>   ipstat.ips_outhwcsum++;
>   } else
> @@ -911,7 +913,8 @@ ip_fragment(struct mbuf *m, struct ifnet
>   ip->ip_off |= htons(IP_MF);
>   ip->ip_sum = 0;
>   if ((ifp != NULL) &&
> - (ifp->if_capabilities & IFCAP_CSUM_IPv4)) {
> + (ifp->if_capabilities & IFCAP_CSUM_IPv4) &&
> + (ifp->if_bridge == NULL)) {
>   m->m_pkthdr.csum_flags |= M_IPV4_CSUM_OUT;
>   ipstat.ips_outhwcsum++;
>   } else



Re: OpenBSD as router for UK FTTC?

2011-12-28 Thread percy piper
Hi, we finally went live today so a small summary of how it went.

pppoe(4) did not work. We need to authenticate with chap first, then
pap. pppoe(4) forces the exclusive use of either one or the other.
This was an unexpected gotcha and I will look at the code to see what
can be done.

pppoe(8) worked fine so we are using it for the moment.

We did use the debug option when diagnosing the issue with pppoe(4) as
you suggested but tcpdump on the physical interface was much more
comprehensible.

Hope having this in the archives helps someone else as google is
rather poor at returning useful results...



Re: Problems with outgoing loadbalancing with pppoe(4)

2011-12-28 Thread Marc Peters

On 12/28/2011 07:35 PM, Michel Blais wrote:

You could bound those 2 but your ISP would have to bound them too with
the same protocol so I wouldn't count on that. I'm not even sure OpenBSD
support it since I can't really find anything fast on a google search.

You could do a pf rule to route paquets in round robin for each
connection but that would cause NAT persistance problem. Here a FAQ for
this : http://www.openbsd.org/faq/pf/pools.html


This is what i am trying to do (s. attached pf.conf). I found some 
threads on misc@ and tried to implement the mentioned parts into pf.conf 
(https should only going out on pppoe1, but it doesn't) but this didn't 
work out. I left out the outgoing parts, because we didn't provide any 
services to the internet on that net so outgoing routing to the right 
interface doesn't match here, i think. I had the corresponding NAT-rules 
in the pf.conf before, that didn't work out,too.




You could do a pf rule to do a policy router for a part of your lan is
routed via pppoe1 instead but that also not the best solutions since if
only those routed via pppoe0 use the net, that would still meen pppoe1
unuse.

The best solution is BGP but that not a equal share between those 2.
http://www.openbsd.org/cgi-bin/man.cgi?query=bgpd&sektion=8
http://www.openbsd.org/cgi-bin/man.cgi?query=bgpd.conf&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html


Sorry, but that is not an option for these lines.




Why not contact your ISP to talk with them about possible solution ?


The support from this ISP is shitty at best (yes, these are 'business' 
lines), but it's cheap and so it's a business decision from the 
management...


I wonder, why it's not working for me but some subscribers seem to have 
a working setup for this. But noone mentiones, if it's the same ISP or not.




Michel

Le 2011-12-28 12:41, Marc Peters a icrit :

Hi List,

i have a problem with multiple DSL Lines and loadbalancing outgoing
traffic. All traffic leaves only over the first interface pppoe0 and i
can't figure out why and how to change this. Maybe the problem is,
that both lines are connected to the same provider and therefore have
the same host as connecting point.


Routing Table:

~ # netstat -rn
Routing tables

Internet:
Destination Gateway Flags Refs Use Mtu Prio Iface
default XXX.YYY.133.6 UGS 0 12091 - 8 pppoe0
127/8 127.0.0.1 UGRS 0 0 33196 8 lo0
127.0.0.1 127.0.0.1 UH 1 258 33196 4 lo0
192.168.0/23 link#5 UC 18 0 - 4 sis0
192.168.0.82 00:19:99:8b:fb:be UHLc 0 4935 - 4 sis0
192.168.0.105 00:30:05:9e:24:1b UHLc 0 16 - 4 sis0
192.168.0.107 40:01:c6:77:b3:41 UHLc 0 0 - 4 sis0
192.168.0.232 00:19:99:a0:3e:65 UHLc 0 576 - 4 sis0
192.168.1.21 e4:1f:13:62:f2:88 UHLc 0 1387 - 4 sis0
192.168.1.22 00:15:17:1e:72:d8 UHLc 0 2816 - 4 sis0
192.168.1.23 78:e7:d1:e3:7f:9a UHLc 0 34 - 4 sis0
192.168.1.53 d8:d3:85:63:6e:86 UHLc 1 117 - 4 sis0
192.168.1.58 68:b5:99:c0:c0:d4 UHLc 0 98 - 4 sis0
192.168.1.59 d8:d3:85:96:15:d6 UHLc 1 614 - 4 sis0
192.168.1.98 00:19:99:8e:77:93 UHLc 0 550 - 4 sis0
192.168.1.111 00:19:99:0f:1b:d4 UHLc 0 10 - 4 sis0
192.168.1.127 00:30:05:a5:89:d2 UHLc 0 1598 - 4 sis0
192.168.1.172 00:23:df:fd:a3:ed UHLc 0 249 - 4 sis0
192.168.1.179 f0:de:f1:39:f6:8b UHLc 0 11 - 4 sis0
192.168.1.241 00:14:4f:d4:a1:84 UHLc 0 2 - 4 sis0
192.168.1.243 00:14:4f:d4:a1:8d UHLc 0 842 - 4 sis0
192.168.1.250 40:01:c6:40:ae:4f UHLc 0 0 - 4 sis0
192.168.2/24 link#8 UC 1 0 - 4 sis3
192.168.2.2 00:1f:12:46:80:80 UHLc 0 11608502 - 4 sis3
XXX.YYY.133.6 AAA.BBB.212.232 UH 0 0 - 4 pppoe1
224/4 127.0.0.1 URS 0 0 33196 8 lo0
[snip]

With tcpdump i see all traffic leaving over pppoe0 and nothing on
pppoe1. Is it even possible with the same provider to do outgoing
loadbalancing? Maybe someone more experienced than me can point into
the right direction.


ifconfig:
lo0: flags=8049 mtu 33196
priority: 0
groups: lo
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0xa
inet 127.0.0.1 netmask 0xff00
sis0: flags=8843 mtu 1500
lladdr 00:00:24:cc:02:00
priority: 0
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.1.2 netmask 0xfe00 broadcast 192.168.1.255
inet6 fe80::200:24ff:fecc:200%sis0 prefixlen 64 scopeid 0x5
sis1: flags=8843 mtu 1500
lladdr 00:00:24:cc:02:01
priority: 0
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::200:24ff:fecc:201%sis1 prefixlen 64 scopeid 0x6
sis2: flags=8843 mtu 1500
lladdr 00:00:24:cc:02:02
priority: 0
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::200:24ff:fecc:202%sis2 prefixlen 64 scopeid 0x7
sis3: flags=8843 mtu 1500
lladdr 00:00:24:cc:02:03
priority: 0
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.2.1 netmask 0xff00 broadcast 192.168.2.255
inet6 fe80::200:24ff:fecc:203%sis3 prefixlen 64 scopeid 0x8
enc0: flags=0<>
priority: 0
groups: enc
status: active
pppoe0: flags=8851 mtu 1492
priority: 0
dev: sis1 state: session
sid: 0x4f50 PADI retries: 0 PADR r

Re: create a backup of an online server

2011-12-28 Thread Nick Holland

On 12/28/2011 11:30 AM, Darrin Chandler wrote:


This sounds like a job for rsnapshot: essentailly point-in-time
snapshots on top of rsync, using hard links of unchanged files for space
and speed. With some additional shell scripting + cron you could have a
really nice scheme to keep 15 minute snaps for the last few days, then
daily for a while, then weekly.


this is what the --link-dest option of rsync does -- hard links of 
unchanged files to a new directory.  Very sweet feature.
There are probably a dozen "projects" which were obsoleted by the 
addition of the --link-dest option...


Nick.



Re: Problems with outgoing loadbalancing with pppoe(4)

2011-12-28 Thread Michel Blais
You could bound those 2 but your ISP would have to bound them too with 
the same protocol so I wouldn't count on that. I'm not even sure OpenBSD 
support it since I can't really find anything fast on a google search.


You could do a pf rule to route paquets in round robin for each 
connection but that would cause NAT persistance problem. Here a FAQ for 
this : http://www.openbsd.org/faq/pf/pools.html


You could do a pf rule to do a policy router for a part of your lan is 
routed via pppoe1 instead but that also not the best solutions since if 
only those routed via pppoe0 use the net, that would still meen pppoe1 
unuse.


The best solution is BGP but that not a equal share between those 2.
http://www.openbsd.org/cgi-bin/man.cgi?query=bgpd&sektion=8
http://www.openbsd.org/cgi-bin/man.cgi?query=bgpd.conf&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html

Why not contact your ISP to talk with them about possible solution ?

Michel

Le 2011-12-28 12:41, Marc Peters a icrit :

Hi List,

i have a problem with multiple DSL Lines and loadbalancing outgoing 
traffic. All traffic leaves only over the first interface pppoe0 and i 
can't figure out why and how to change this. Maybe the problem is, 
that both lines are connected to the same provider and therefore have 
the same host as connecting point.



Routing Table:

~ # netstat -rn
Routing tables

Internet:
DestinationGatewayFlags   Refs  Use   Mtu  
Prio Iface
defaultXXX.YYY.133.6  UGS012091 - 
8 pppoe0
127/8  127.0.0.1  UGRS   00 33196 
8 lo0
127.0.0.1  127.0.0.1  UH 1  258 33196 
4 lo0
192.168.0/23   link#5 UC180 - 
4 sis0
192.168.0.82   00:19:99:8b:fb:be  UHLc   0 4935 - 
4 sis0
192.168.0.105  00:30:05:9e:24:1b  UHLc   0   16 - 
4 sis0
192.168.0.107  40:01:c6:77:b3:41  UHLc   00 - 
4 sis0
192.168.0.232  00:19:99:a0:3e:65  UHLc   0  576 - 
4 sis0
192.168.1.21   e4:1f:13:62:f2:88  UHLc   0 1387 - 
4 sis0
192.168.1.22   00:15:17:1e:72:d8  UHLc   0 2816 - 
4 sis0
192.168.1.23   78:e7:d1:e3:7f:9a  UHLc   0   34 - 
4 sis0
192.168.1.53   d8:d3:85:63:6e:86  UHLc   1  117 - 
4 sis0
192.168.1.58   68:b5:99:c0:c0:d4  UHLc   0   98 - 
4 sis0
192.168.1.59   d8:d3:85:96:15:d6  UHLc   1  614 - 
4 sis0
192.168.1.98   00:19:99:8e:77:93  UHLc   0  550 - 
4 sis0
192.168.1.111  00:19:99:0f:1b:d4  UHLc   0   10 - 
4 sis0
192.168.1.127  00:30:05:a5:89:d2  UHLc   0 1598 - 
4 sis0
192.168.1.172  00:23:df:fd:a3:ed  UHLc   0  249 - 
4 sis0
192.168.1.179  f0:de:f1:39:f6:8b  UHLc   0   11 - 
4 sis0
192.168.1.241  00:14:4f:d4:a1:84  UHLc   02 - 
4 sis0
192.168.1.243  00:14:4f:d4:a1:8d  UHLc   0  842 - 
4 sis0
192.168.1.250  40:01:c6:40:ae:4f  UHLc   00 - 
4 sis0
192.168.2/24   link#8 UC 10 - 
4 sis3
192.168.2.200:1f:12:46:80:80  UHLc   0 11608502 - 
4 sis3
XXX.YYY.133.6  AAA.BBB.212.232 UH 00 - 
4 pppoe1
224/4  127.0.0.1  URS00 33196 
8 lo0

[snip]

With tcpdump i see all traffic leaving over pppoe0 and nothing on 
pppoe1. Is it even possible with the same provider to do outgoing 
loadbalancing? Maybe someone more experienced than me can point into 
the right direction.



ifconfig:
lo0: flags=8049 mtu 33196
priority: 0
groups: lo
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0xa
inet 127.0.0.1 netmask 0xff00
sis0: flags=8843 mtu 1500
lladdr 00:00:24:cc:02:00
priority: 0
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.1.2 netmask 0xfe00 broadcast 192.168.1.255
inet6 fe80::200:24ff:fecc:200%sis0 prefixlen 64 scopeid 0x5
sis1: flags=8843 mtu 1500
lladdr 00:00:24:cc:02:01
priority: 0
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::200:24ff:fecc:201%sis1 prefixlen 64 scopeid 0x6
sis2: flags=8843 mtu 1500
lladdr 00:00:24:cc:02:02
priority: 0
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::200:24ff:fecc:202%sis2 prefixlen 64 scopeid 0x7
sis3: flags=8843 mtu 1500
lladdr 00:00:24:cc:02:03
priority: 0
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.2.1 netmask 0xff00 broadcast 192.168.2.255
inet6 fe80::200:24ff:fecc:203%sis3 prefixlen 64 scopeid 0x8
enc0: fla

Problems with outgoing loadbalancing with pppoe(4)

2011-12-28 Thread Marc Peters

Hi List,

i have a problem with multiple DSL Lines and loadbalancing outgoing 
traffic. All traffic leaves only over the first interface pppoe0 and i 
can't figure out why and how to change this. Maybe the problem is, that 
both lines are connected to the same provider and therefore have the 
same host as connecting point.



Routing Table:

~ # netstat -rn
Routing tables

Internet:
DestinationGatewayFlags   Refs  Use   Mtu  Prio 
Iface
defaultXXX.YYY.133.6  UGS012091 - 8 
pppoe0
127/8  127.0.0.1  UGRS   00 33196 8 
lo0
127.0.0.1  127.0.0.1  UH 1  258 33196 4 
lo0
192.168.0/23   link#5 UC180 - 4 
sis0
192.168.0.82   00:19:99:8b:fb:be  UHLc   0 4935 - 4 
sis0
192.168.0.105  00:30:05:9e:24:1b  UHLc   0   16 - 4 
sis0
192.168.0.107  40:01:c6:77:b3:41  UHLc   00 - 4 
sis0
192.168.0.232  00:19:99:a0:3e:65  UHLc   0  576 - 4 
sis0
192.168.1.21   e4:1f:13:62:f2:88  UHLc   0 1387 - 4 
sis0
192.168.1.22   00:15:17:1e:72:d8  UHLc   0 2816 - 4 
sis0
192.168.1.23   78:e7:d1:e3:7f:9a  UHLc   0   34 - 4 
sis0
192.168.1.53   d8:d3:85:63:6e:86  UHLc   1  117 - 4 
sis0
192.168.1.58   68:b5:99:c0:c0:d4  UHLc   0   98 - 4 
sis0
192.168.1.59   d8:d3:85:96:15:d6  UHLc   1  614 - 4 
sis0
192.168.1.98   00:19:99:8e:77:93  UHLc   0  550 - 4 
sis0
192.168.1.111  00:19:99:0f:1b:d4  UHLc   0   10 - 4 
sis0
192.168.1.127  00:30:05:a5:89:d2  UHLc   0 1598 - 4 
sis0
192.168.1.172  00:23:df:fd:a3:ed  UHLc   0  249 - 4 
sis0
192.168.1.179  f0:de:f1:39:f6:8b  UHLc   0   11 - 4 
sis0
192.168.1.241  00:14:4f:d4:a1:84  UHLc   02 - 4 
sis0
192.168.1.243  00:14:4f:d4:a1:8d  UHLc   0  842 - 4 
sis0
192.168.1.250  40:01:c6:40:ae:4f  UHLc   00 - 4 
sis0
192.168.2/24   link#8 UC 10 - 4 
sis3
192.168.2.200:1f:12:46:80:80  UHLc   0 11608502 - 4 
sis3
XXX.YYY.133.6  AAA.BBB.212.232 UH 00 - 4 
pppoe1
224/4  127.0.0.1  URS00 33196 8 
lo0

[snip]

With tcpdump i see all traffic leaving over pppoe0 and nothing on 
pppoe1. Is it even possible with the same provider to do outgoing 
loadbalancing? Maybe someone more experienced than me can point into the 
right direction.



ifconfig:
lo0: flags=8049 mtu 33196
priority: 0
groups: lo
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0xa
inet 127.0.0.1 netmask 0xff00
sis0: flags=8843 mtu 1500
lladdr 00:00:24:cc:02:00
priority: 0
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.1.2 netmask 0xfe00 broadcast 192.168.1.255
inet6 fe80::200:24ff:fecc:200%sis0 prefixlen 64 scopeid 0x5
sis1: flags=8843 mtu 1500
lladdr 00:00:24:cc:02:01
priority: 0
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::200:24ff:fecc:201%sis1 prefixlen 64 scopeid 0x6
sis2: flags=8843 mtu 1500
lladdr 00:00:24:cc:02:02
priority: 0
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet6 fe80::200:24ff:fecc:202%sis2 prefixlen 64 scopeid 0x7
sis3: flags=8843 mtu 1500
lladdr 00:00:24:cc:02:03
priority: 0
media: Ethernet autoselect (100baseTX full-duplex)
status: active
inet 192.168.2.1 netmask 0xff00 broadcast 192.168.2.255
inet6 fe80::200:24ff:fecc:203%sis3 prefixlen 64 scopeid 0x8
enc0: flags=0<>
priority: 0
groups: enc
status: active
pppoe0: flags=8851 mtu 1492
priority: 0
dev: sis1 state: session
sid: 0x4f50 PADI retries: 0 PADR retries: 0 time: 5d 00:14:11
sppp: phase network authproto pap authname ""
groups: pppoe egress
status: active
inet6 fe80::200:24ff:fec9:2e84%pppoe0 ->  prefixlen 64 scopeid 0xb
inet AAA.BBB.216.27 --> XXX.YYY.133.6 netmask 0x
pppoe1: flags=8851 mtu 1492
priority: 0
dev: sis2 state: session
sid: 0x368b PADI retries: 0 PADR retries: 0 time: 5d 00:14:21
sppp: phase network authproto pap authname ""
groups: pppoe
status: active
inet6 fe80::200:24ff:fec9:2e84%pppoe1 ->  prefixlen 64 scopeid 0xc
inet AAA.BBB.212.232 --> XXX.YYY.133.6 netmask 0x
pflog0: flags=141 mtu 33196
priority: 0
groups: pflog


pf.conf:
~ # grep -v -e '^\n' -e '^#' /etc/pf.conf

ext_if1="pppoe0"
ext_if

buon pomeriggio)

2011-12-28 Thread jenny.wang
buon pomeriggio
s i te :  www. fodowe.com 
questa C( una buona occasione per acquistare regalo per la tua famiglia,
abbiamo principalmente vendere iPad, iPhone 4s, fotocamera digitale,
computer portatile, guarda .23:52:2723:52:27

il prezzo C( molto basso, e il costo di spedizione C( gratuita, hanno un
buon shopping sul nostro sito web

23:52:27 23:52:27 23:52:27

23:52:27



Re: create a backup of an online server

2011-12-28 Thread Wesley M.
In fact, 
-1- i want to copy the mail server system to another machine. I suppose
rsnaphot 
or a dump/restore in single user? is a good choice...

-2- And keep emails synchronized between the 2 mail server using rsync,
this step is ok.

Thank you very much for all your replies.

Cheers,

Wesley.

On Wed, 28 Dec 2011 09:30:11 -0700, Darrin Chandler
 wrote:
> On Wed, Dec 28, 2011 at 11:00:52AM -0500, Nick Holland wrote:
>> However, backing up an IMAP mail store daily leaves a lot to be
>> desired.  Most likely time for someone to accidentally delete the
>> important mail they have been waiting for is probably not too long
>> after it arrives. Depending (mostly) on the number of messages in
>> your mail store, you may be able to run an rsync of the maildir
>> hourly or maybe even every 15 minutes to another local hard disk.
>> You could make that rsync cumulative -- no removing of deleted
>> files, then daily rsync that backup off to another machine (using
>> --link-dest option for a quick, rotated backup), and then doing an
>> rsync WITH deletion to your local system, so your backup store
>> doesn't grow without bound.
> 
> This sounds like a job for rsnapshot: essentailly point-in-time
> snapshots on top of rsync, using hard links of unchanged files for space
> and speed. With some additional shell scripting + cron you could have a
> really nice scheme to keep 15 minute snaps for the last few days, then
> daily for a while, then weekly.



Re: ftpd change?

2011-12-28 Thread Stuart Henderson
On 2011-12-27, I wrote:
> There were some DoS protections added which limit the number of
> results that can be returned from a glob, it is to do with total
> filename lengths iirc. I see this a lot in package snapshot

If you're looking for this, the limits are in src/libc/gen/glob.c;
the first limit you're likely to hit with ftpd is GLOB_STAT; I'm not
sure what a good value would be but 128 is clearly too small.

> directories. If you want something good that will handle more
> files, try pureftpd (it's in ports).

note _pure_ftpd (not proftpd, which is not in ports for good reasons
regularly documented at your favourite vulnerability database).



Re: create a backup of an online server

2011-12-28 Thread Darrin Chandler
On Wed, Dec 28, 2011 at 11:00:52AM -0500, Nick Holland wrote:
> However, backing up an IMAP mail store daily leaves a lot to be
> desired.  Most likely time for someone to accidentally delete the
> important mail they have been waiting for is probably not too long
> after it arrives. Depending (mostly) on the number of messages in
> your mail store, you may be able to run an rsync of the maildir
> hourly or maybe even every 15 minutes to another local hard disk.
> You could make that rsync cumulative -- no removing of deleted
> files, then daily rsync that backup off to another machine (using
> --link-dest option for a quick, rotated backup), and then doing an
> rsync WITH deletion to your local system, so your backup store
> doesn't grow without bound.

This sounds like a job for rsnapshot: essentailly point-in-time
snapshots on top of rsync, using hard links of unchanged files for space
and speed. With some additional shell scripting + cron you could have a
really nice scheme to keep 15 minute snaps for the last few days, then
daily for a while, then weekly.

-- 
http://code.phxbsd.com/



Re: create a backup of an online server

2011-12-28 Thread Nick Holland

As always...you design your backup for your application.

Mail servers are particularly tricky, as the data the contain tends to 
change minute-by-minute, and they are prone to both hardware failure, 
administrator error AND user error.  A user who nukes their mail store 
will want their data restored, but the other ten thousand users will NOT 
want their mail store rolled back 24 hours (or whatever your backup 
interval is).  Dumps aren't so good at dealing with that.


For a POP mail server, daily backups of the mailstore are almost 
useless...you restore data that's already been retrieved, you don't 
restore data that wasn't retrieved.


For IMAP servers using a Maildir storage system, backup is relatively 
straight forward -- rsync does wonders.  But, understand how your system 
works.  Maildir is very slick for this -- generally, a file exists in a 
maildir, or it doesn't...once it exists, it generally isn't supposed to 
change (though it may be deleted).  This is screaming "rsync!".


However, backing up an IMAP mail store daily leaves a lot to be desired. 
 Most likely time for someone to accidentally delete the important mail 
they have been waiting for is probably not too long after it arrives. 
Depending (mostly) on the number of messages in your mail store, you may 
be able to run an rsync of the maildir hourly or maybe even every 15 
minutes to another local hard disk.  You could make that rsync 
cumulative -- no removing of deleted files, then daily rsync that backup 
off to another machine (using --link-dest option for a quick, rotated 
backup), and then doing an rsync WITH deletion to your local system, so 
your backup store doesn't grow without bound.


Note that with this strategy, you will end up restoring deleted e-mails 
and duplicating sorted e-mails.  Imperfect, but overall, more annoying 
than harmful.


If your IMAP server keeps a local index, you will need to "fix" that 
after a restore.  You may need to lay a beating on the local indexes of 
your IMAP clients, too.  Again, you really have to understand your task 
here and the tools you are using.  This isn't a "How To" kinda thing, 
this is an "Understand.  Then do" thing.  Having any form of backup 
without knowing how to USE it to deal with real-life disasters is 
useless.  If your e-mail server has an SQL database associated with it, 
you will have to know how to manage that in conjunction with the IMAP 
files.  This can get ugly fast.


Alsowith e-mail, look at the legal issues of backups.  You generally 
don't want years worth of backups in many countries, as they could be 
fodder for a lawyer's "discovery" expeditions.  Whatever you do for 
backup should be clearly documented, i.e., "We backup one week's worth 
of data", and it should be documented BEFORE the lawyers come knocking. 
 This is a good place for using a second computer as the backup device, 
so you always know where all your backups are...rather than tapes, where 
a five year old tape that fell behind a desk could come back to haunt 
you later.


And, it's all useless unless you know you can restore it, so practice... 
 odds are, you will learn something.


Nick.



On 12/28/2011 01:06 AM, Wesley M. wrote:

Hi,
I want to backup our mailserver(4.7) in production.
I read :
http://www.openbsd.org/faq/faq10.html#DupFS

Can i do this wd1(my backup
disk) :

mount /dev/wd1a /mnt
dump -0auf /mnt/etc_backup /dev/wd0a
...
same
for wd0d and wd0e ... Or do i need absolutely to do it in Single User?

Or
perhaps, there's a better way to do it.

Thank you very much.

Wesley.




Re: create a backup of an online server

2011-12-28 Thread Stuart Henderson
On 2011-12-28, L. V. Lammert  wrote:
> mysqldump will provide a 'known state' of the database, which will make a
> restore possible; backing up files will only work if you shut down mysql
> during the backup process - something not realistic for a production
> server.

see mysqlhotcopy(1). there are + and - points for each method though.



Re: create a backup of an online server

2011-12-28 Thread L. V. Lammert
On Wed, 28 Dec 2011, Wesley M. wrote:

> Hi,
> I want to backup our mailserver(4.7) in production.
> I read :
> http://www.openbsd.org/faq/faq10.html#DupFS
>
Much simpler to:

> Do a mysqldump and direct to a known backup location
> Use rsnapshot to backup all of your data (including the email system,
home, and the mysqlbackup)

mysqldump will provide a 'known state' of the database, which will make a
restore possible; backing up files will only work if you shut down mysql
during the backup process - something not realistic for a production
server.

Lee



Updates of ocean freight from China

2011-12-28 Thread Swing
Good day Muhammad IMRAN

Are you back from Christmas, Nice holiday.

Updated some ocean freight as below, hope it is helpful to you sometime.

Maybe there are no proper destination to you ,pls contact me any time.


POL

POD

Freight   (USD)

T/T (D)

VIA

VALIDITY


20'GP

40'GP

40HC


!!

CHITTAGONG

1555

2200

2450

21

SIN

25th,JAN


!!

COCHIN

1055

1900

1950

21

SIN


!!

DHAKA

1755

2900

2950

25

CGP


Nanjing/Yangzhou

KANDLA

1355

2900

2950

23

SIN


!!

LUDHIANA

1630

2950

3000

22

SIN


/Zhangjiagang

MALE

1955

3500

3550

!!

SIN


!!

MANGALRO

1405

2500

2550

!!

SIN


/Nantong/Zhenjiang

MUNDRA

1055

1800

1850

!!

SIN


!!

MULUND (CFS)

1630

2950

3000

!!

NSA


/Taizhou/jiangyin

NHAVA SHEVA

655

1150

1150

16

DIR


!!

TUTICORIN

1055

1900

1950

20

SIN


/changshu/changzhou

NEW DELHI(LONI)

1455

2350

2400

20

NSA


!!

ICD DADRI

1455

2350

2400

20

NSA


!!

ICD LONI

1455

2350

2400

20

NSA


!!

ICD NAGPUR

1455

2350

2400

20

NSA



Ben shi (MR)

Overseas dept

Shanghai Harvest International Logistics Co., Ltd

Tel: 0086-21-63249293*803 Fax: 0086-21-63244312

ATT: sw...@harvest-log.comSkype: harvestlog1

Logis Website: www.harvest-log.com

Trade Website: www.harvest-log.com/soupo

Headoffice Address: Room 2108 ,Fude building ,No.,1688,

North Sichuan Road,Hongkou District#,Shanghai, China

we have 12 offices in Chinese mainland.they can help to handle local
shipments.



Re: ufs journal ?

2011-12-28 Thread Otto Moerbeek
On Wed, Dec 28, 2011 at 10:31:40AM +0100, David Vasek wrote:

> On Tue, 27 Dec 2011, Otto Moerbeek wrote:
> 
> >There are several way to speedup fsck which are available now:
> >
> >- Use larger block and fragment sizes when doing a newfs, of course
> >this requires rebuilding the file system
> >- Recent versions of OpenBSd have some improvements with fsck that
> >kick in when the file systems was using softupdates when the system crashed.
> >- Use a smaller file system
> 
> Hello Otto,
> 
> is use of lower inode density while keeping the rest as default
> possible alternative or not? It seems to work. Does it have any
> adverse effect?

No.

> Provided one doesn't have several-TB file system full of hundreds
> millions tiny files, of course, but then it is not any better than
> larger blocks and fragments. And both solutions reduce memory needed
> for fsck.
> 
> Thanks for your answer.
> 
> Regards,
> David

The number of inodes is indeed the most important factor for fsck
memory usage and speed. 

Increasing block and fragment size als has the effect of reducing inode
density, while reducing metadata overhead at the same time (unless you
have very many small files). 

-Otto



Re: ufs journal ?

2011-12-28 Thread David Vasek

On Tue, 27 Dec 2011, Otto Moerbeek wrote:


There are several way to speedup fsck which are available now:

- Use larger block and fragment sizes when doing a newfs, of course
this requires rebuilding the file system
- Recent versions of OpenBSd have some improvements with fsck that
kick in when the file systems was using softupdates when the system crashed.
- Use a smaller file system


Hello Otto,

is use of lower inode density while keeping the rest as default possible 
alternative or not? It seems to work. Does it have any adverse effect?


Provided one doesn't have several-TB file system full of hundreds millions 
tiny files, of course, but then it is not any better than larger blocks 
and fragments. And both solutions reduce memory needed for fsck.


Thanks for your answer.

Regards,
David



Re: Where do I buy Lemote Loongson/Godson MIPS hardware? (was Re: Longs buy?)

2011-12-28 Thread Anonymous Remailer (austria)
Thanks and HAPPY NEW YEAR EVERYBODY



Re: Upgrading 4.9 to 5.0 problems: can't build kernel, errata patch not in CVS, no documentation for netstart changes

2011-12-28 Thread Stuart Henderson
On 2011-12-25, openbsd_mis...@zehmahyesh.e4ward.com 
 wrote:
> I then downloaded the 4 source tarballs from 
> http://ftp5.usa.openbsd.org/pub/OpenBSD/5.0/*.tar.gz, unpacked them 
> into the 
> proper places and ran "cvs update" on them (using the proper options 
> for the 
> -stable branch, of course, as per the FAQ). There were no updates 
> patched into the trees.
>
> The patch for the bind DoS
> (http://ftp.openbsd.org/pub/OpenBSD/patches/5.0/common/001_bind.patch)
>  
> specifically was not in the CVS stable branch, almost a month after 
> the patch 
> came out.  I had to add it manually to the tree.

This patch *is* in the stable branch, so there's either a problem
with your process or the mirror you used. Either way you didn't
include enough information for anyone to help track it down.



Re: file name too long error - apache

2011-12-28 Thread Stuart Henderson
This may be restricted by suhosin, try increasing
suhosin.get.max_value_length from its default of 512 in your
php-5.2.ini file then restart apache.

On 2011-12-28, Alan Cheng  wrote:
> Hello list,
>
> I'm trying to install an PHP web app that generates very long URLs on my
> OpenBSD 5.0 i386 snapshot. But I just keep getting "file name too long"
> errors in apache error log like below.
> It happened on both built-in apache 1.3 and apache-httpd (2.2.20) in ports.
> I even tried compile apache2 using source files from ubuntu,  as the same
> app works fine on ubuntu 11.04 + apache2 (2.2.17), it didn't help either.
>
> Any insight or suggestions?
>
> [Wed Dec 28 14:15:51 2011] [error] [client 10.249.70.50] (63)File name too
> long: Cannot map GET
> /media/ajax/component/boxList/filter/featured/limit/all/layout/thumbBig/vars/
> a%253A25%253A%257Bs%253A3%253A%2522act%2522%253Bs%253A7%253A%2522boxList%2522
> %253Bs%253A3%253A%2522mod%2522%253Bs%253A5%253A%2522media%2522%253Bs%253A4%25
> 3A%2522mode%2522%253Bs%253A3%253A%2522all%2522%253Bs%253A6%253A%2522filter%25
> 22%253Bs%253A8%253A%2522featured%2522%253Bs%253A5%253A%2522limit%2522%253Bs%2
> 53A3%253A%2522all%2522%253Bs%253A6%253A%2522layout%2522%253Bs%253A8%253A%2522
> thumbBig%2522%253Bs%253A6%253A%2522search%2522%253Bs%253A0%253A%2522%2522%253
> Bs%253A8%253A%2522per_page%2522%253Ba%253A3%253A%257Bs%253A8%253A%2522thumbBi
> g%2522%253Bi%253A6%253Bs%253A5%253A%2522thumb%2522%253Bi%253A10%253Bs%253A4%2
> 53A%2522list%2522%253Bi%253A4%253B%257Ds%253A11%253A%2522show_filter%2522%253
> Bb%253A1%253Bs%253A10%253A%2522show_limit%2522%253Bb%253A0%253Bs%253A11%253A%
> 2522show_layout%2522%253Bb%253A1%253Bs%253A11%253A%2522show_search%2522%253Bb
> %253A0%253Bs%253A10%253A%2522show_pager%2522%253Bb%253A0%253Bs%253A9%253A%252
> 2show_more%2522%253Bb%253A1%253Bs%253A9%253A%2522save_page%2522%253Bb%253A1%2
> 53Bs%253A10%253A%2522pager_name%2522%253Bs%253A4%253A%2522page%2522%253Bs%253
> A9%253A%2522thumbsize%2522%253Bs%253A7%253A%2522160x120%2522%253Bs%253A9%253A
> %2522more_link%2522%253Bs%253A10%253A%2522media%252Flist%2522%253Bs%253A2%253
> A%2522id%2522%253Bs%253A9%253A%2522media-box%2522%253Bs%253A9%253A%2522compon
> ent%2522%253Bs%253A7%253A%2522boxList%2522%253Bs%253A4%253A%2522type%2522%253
> BN%253Bs%253A4%253A%2522text%2522%253BN%253Bs%253A13%253A%2522captionParams%2
> 522%253Ba%253A0%253A%257B%257Ds%253A7%253A%2522caption%2522%253Bs%253A9%253A%
> 2522New%2Bmedia%2522%253Bs%253A4%253A%2522page%2522%253Bi%253A1%253B%257D
> HTTP/1.1 to file, referer: http://host
>
> BTW, I found this url
> https://issues.apache.org/bugzilla/show_bug.cgi?id=45187 while googling, it
> did help on understanding the possible root cause, but did not help in
> resolving it.
>
> thanks,
> Alan Cheng



Re: create a backup of an online server

2011-12-28 Thread Vitali
On Wed, Dec 28, 2011 at 8:51 AM, Gregory Edigarov
 wrote:
> On Wed, 28 Dec 2011 10:06:14 +0400
> "Wesley M."  wrote:
>
>> Hi,
>> I want to backup our mailserver(4.7) in production.
>> I read :
>> http://www.openbsd.org/faq/faq10.html#DupFS
>>
>> Can i do this wd1(my backup
>> disk) :
>>
>> mount /dev/wd1a /mnt
>> dump -0auf /mnt/etc_backup /dev/wd0a
>> ...
>> same
>> for wd0d and wd0e ... Or do i need absolutely to do it in Single
>> User?
>>
>> Or
>> perhaps, there's a better way to do it.
>
> Personaly I found a way for myself to produce a consistent backups:
> 1. have an additional filesystem /backup
> 2. mount /backup
> 3. sync your changed files to /backup (I usually do this with rsync,
> YMMV)
> 4. umount /backup
> 5. mount /your_backup_media
> 6. dump -0auf /your_backup_media /dev/
>
> However it need some preparation done beforehand, preferably on system
> install.
>
> this way you will be able to dump live filesystems without having to
> reboot your server.
>
> --
> With best regards,
> B  B  B  B Gregory Edigarov
>

Wouldn't you consider AMANDA http://www.amanda.org
I had been using it for long in my previous support engineering life. It's
nice.


--
### Coonardoo - PQP8P=P8QP:P0 Q QQP=Q / The Well In The Shadow / Le
Puits
Dans L'Ombre ###