Minggu, 08 Desember 2013

Bristol Digest, Vol 528, Issue 10

Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk

To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk

You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."


Today's Topics:

1. Re: RAID options (xifer)
2. RT mailgate/apache problem (Martin Moore)


----------------------------------------------------------------------

Message: 1
Date: Sat, 07 Dec 2013 13:18:19 +0000
From: xifer <xifer@aktivix.org>
To: martinm@it-helps.co.uk, Bristol and Bath Linux User Group
<bristol@mailman.lug.org.uk>
Subject: Re: [bristol] RAID options
Message-ID: <1806372.Z9JfJ08nTZ@room121>
Content-Type: text/plain; charset="us-ascii"

On Wednesday 04 Dec 2013 10:27:35 Martin Moore wrote:
> Cheers, makes sense. Gone for hot swap discs so shouldn't need a reboot!
>
> Currently have 2G RAM and usage never goes above 3G. New boxes have 8G so
> should be fine. I'll put a small swap on but not RAID it.
>
> -----Original Message-----
> From: bristol-bounces@mailman.lug.org.uk
> [mailto:bristol-bounces@mailman.lug.org.uk] On Behalf Of Shane McEwan
> Sent: 04 December 2013 10:17
> To: bristol@mailman.lug.org.uk
> Subject: Re: [bristol] RAID options
>
> On 04/12/13 09:40, Martin Moore wrote:
> > So, Swap partition - (history shows it's probably not needed, but will
> > be there anyway). Raided or not? Presumably it will slow things down
> > if it is, but if the active disk dies then the system would have a big
>
> problem?
>
> If you've got tons of RAM then swap is usually unnecessary. I usually
> configure a little bit of swap (a gig or two, at most) to give me a little
> bit of headroom but basically if you're regularly swapping then your machine
> is going to be pretty unresponsive. You don't want to have too much swap
> because the Linux Out Of Memory killer won't run until swap is full. That
> means your machine could be unresponsive for hours while it's trashing away
> filling swap before OOM killer finally kills the offending process.
>
What about using suspend-to-disk? Doesn't that use the allocated swap space
so you should define as much swap as you have RAM?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20131207/dc9332bd/attachment-0001.pgp>

------------------------------

Message: 2
Date: Sun, 8 Dec 2013 11:34:14 -0000
From: "Martin Moore" <martinm@it-helps.co.uk>
To: "'Bristol and Bath Linux User Group'" <bristol@mailman.lug.org.uk>
Subject: [bristol] RT mailgate/apache problem
Message-ID:
<!&!AAAAAAAAAAAYAAAAAAAAAFLxZtQqo65Oo+1jhlUB9DvCgAAAEAAAAA5yfa4TdFJOogoCqe8JgXsBAAAAAA==@it-helps.co.uk>

Content-Type: text/plain; charset="us-ascii"

I've done a new install of RT4.0.18 but get a 403 error using the mailgate.


/opt/rt4/bin/rt-mailgate --queue support --action correspond --url
http://helpdesk.myurl.com/rt
gdafgf
An Error Occurred
=================

403 Forbidden


Apache config below:


<VirtualHost *:80>
ServerAdmin martin@myurl.com
DocumentRoot /opt/rt4/share/html
ServerName helpdesk.myurl.com

PerlModule Apache::DBI

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

ErrorLog ${APACHE_LOG_DIR}/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog ${APACHE_LOG_DIR}/access.log combined

<Location />
Order allow,deny
Allow from all

SetHandler modperl
PerlResponseHandler Plack::Handler::Apache2
PerlSetVar psgi_app /opt/rt4/sbin/rt-server
</Location>

<Perl>
use Plack::Handler::Apache2;
Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");
</Perl>


Include /etc/request-tracker4/apache2-modperl2.conf
RedirectMatch ^/$ /rt
<Directory /opt/rt4/share/html>
Order allow,deny
Allow from all
SetHandler perl-script
PerlResponseHandler RT::Mason
</Directory>


</VirtualHost>





Any ideas?

Ta.




------------------------------

_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol

End of Bristol Digest, Vol 528, Issue 10
****************************************

Tidak ada komentar:

Posting Komentar