roundwork for a major php app.
kashani
--
gentoo-user@gentoo.org mailing list
tions/imap_messages.php on
line 480
What version of php did you upgrade from?
kashani
--
gentoo-user@gentoo.org mailing list
IN A 192.168.1.39
eth0.server IN A 192.168.0.39
eth1.server IN A 192.168.1.39
And map reverse DNS to the eth0 and eth1 names as well. It'll make
troubleshooting easier if you have issues later on.
kashani
--
gentoo-user@gentoo.org mailing list
.html
And then you can use little scripts in Cacti to make graphs.
http://forums.cacti.net/viewtopic.php?t=9861
kashani
--
gentoo-user@gentoo.org mailing list
Darren Grant wrote:
In my /etc/conf.d/apache2 file I have "APACHE2_OPTS="-D DEFAULT_VHOST -D
PHP -D SSL"".
Is there some tweaking I need to do to my
/etc/apache2/modules.d/70_mod_php.conf?
You need a PHP4 not PHP.
APACHE2_OPTS="-D DEFAULT_VHOST -D PHP4 -D SSL
f you currently have no central loghost, logwatch,
monitoring, etc infrastructure. IIRC you can download the demo, runs
only on Linux at the moment, for free and get a feel for it. Pricing for
the full package wasn't bad either though I don't remember the exact
details.
kashani
this correct?
It seems to be, but I just checked one of my larger Mysql boxes and I've
got 713 threads and one process. I didn't do anything other than enable
nptl.
thanks in advantage
I think you mean thanks in advance. :)
kashani
--
gentoo-user@gentoo.org mailing list
ng much better performace out of their 64bit
AMD's than the equivalent Intels. Specifically the Cnet/Gamestop guys
have been retiring three dual Xeon DL380s for each dual dual core DL385
they install.
kashani
--
gentoo-user@gentoo.org mailing list
parisons and reviews I read are leaning me in that
direction. However, it doesn't look like HP offers a 4-way Opteron
box. I'll have to ask the vendor.
from hp.com the DL585's appear to be configurable for 4-way once you get
into their config tool.
kashani
--
gentoo-user@gentoo.org mailing list
nc, then emerge, so the second
CPU never gets used. However I did see the second CPU doing some
kjournald while data was being written to the filessytem so it's not a
total loss on a dual CPU system. :)
kashani
--
gentoo-user@gentoo.org mailing list
;s not like you need all that space to begin with. Maybe you end up
needing more in /var? Add another 10GB. Maybe /home? Add another 10GB.
kashani
--
gentoo-user@gentoo.org mailing list
e logic for your nonsense."
Now you've made the other guy sound like a complete knucklehead while
showing that you do understand his so called logic while summing it up
for the rest of us and follow it up with a your own argument which reads
and flows nicely without having to parse t
ns may act funny when they can't
cope with the situation of full disks (e.g., PHP can't create session
files anymore). You can't expect logging to work, too.
Assuming it's a database server a full /tmp will cause some issues.
kashani
--
gentoo-user@gentoo.org mailing list
Alexander Skwar wrote:
kashani wrote:
Assuming it's a database server a full /tmp will cause some issues.
In how far? Neither Oracle nor MySQL write to /tmp. MySQL may create
a socket file, which by default resides in /tmp. But /tmp is a rather
bad place for such a file anyway...
4ccee93ab6d3355
-rw--- 1 apache apache 1783 Nov 6 22:29
sess_cea4c86ed58f11824519ee8d09205fbb
drwx-- 2 kashani users 4096 Feb 19 12:50 ssh-DGEYh15924
kashani
--
gentoo-user@gentoo.org mailing list
can try a locate
assuming you have slocate installed. IIRC /var/lib/mysql is the Mysql
default as well, but I can seem to find any reference to that or any
other location.
kashani
--
gentoo-user@gentoo.org mailing list
sword database...
Why not use tls/ssl with imaps?
http://wiki.dovecot.org/MainConfig#head-cd53a8f9b61ccdaf56665ce9819bd5dfea7a554c
kashani
--
gentoo-user@gentoo.org mailing list
hp/php.
Catalin
ill give it a shot, i hope your right.
You'll also need the unstable versions of horde and horde-imp, 3.x and
4.x respectively. Horde has no plans to support PHP5 in older versions.
kashani
--
gentoo-user@gentoo.org mailing list
ogs into
one mail.log file for easy grepping.
thanks for the input.
It's qmail that does that. Unless you mess with it, it does it's own
logging in binary no less. Look for the qmail-analog package which makes
parsing it easier.
kashani
--
gentoo-user@gentoo.org mailing list
isabled it on most machines. I'm not sure if that's
the case today, but as always you're better off disabling something if
you're not using it.
kashani
--
gentoo-user@gentoo.org mailing list
een a hard requirement.
kashani
--
gentoo-user@gentoo.org mailing list
Jim wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 163381024 kashani <[EMAIL PROTECTED]> wrote:
Jim wrote:
Has anyone gotten burned by turning off Native Language Support?
The only thing I've ever run into on the server side that wanted it was
the Horde framework requi
7;ll want apache
(or apache2), cli for the php commandline binary, and session at minimum
plus anything else you might need.
kashani
--
gentoo-user@gentoo.org mailing list
James wrote:
kashani badapple.net> writes:
James wrote:
Calculating dependencies ...done!
[blocks B ] dev-php/mod_php (is blocking dev-lang/php-4.4.2)
[blocks B ] dev-php/php (is blocking dev-lang/php-4.4.2)
[ebuild N] dev-lang/php-4.4.2
dev-php is on it's way out and
and had no kernel or driver issues running
them as servers without X.
kashani
--
gentoo-user@gentoo.org mailing list
v-lang/php-4.4.2
On a side note, didn't jffnms want java serverlets or some nonsense in
the past? I seem to recall looking at it and then dropping it due to the
requirements.
kashani
--
gentoo-user@gentoo.org mailing list
uning them, Java based
apps have used more than their fair share of the system in my past
experience, and mod_jk or whatever at the time was a pain in the ass to
install/get to work. Didn't seem to be worth the trouble when Nagios was
in portage and pretty much did what I wanted.
kashani
the queue. You should not
need to recreate it if you use qmhandle.
I believe the syntax is qmhandle -D or something similar, but it's been
about three years since I played with it.
kashani
--
gentoo-user@gentoo.org mailing list
I'm starting to wonder if I've got a goofy stage3-x86-2006.0.tar.bz2.
By default I get the no-nptl profile instead of the 2006.0 profile I was
expecting. Am I just grabbing the wrong stage3 and would i686 or
whatever be the correct one for a dual P4 Xeon setup?
kashani
--
g
, and distfiles), you have dual
CPU, lots of RAM, and are installing a stripped down build to be a
server it takes just under two hours or so depending on the amount of
software I need for that type of server.
kashani
--
gentoo-user@gentoo.org mailing list
du.tw/docs/httpscripting.html
kashani
--
gentoo-user@gentoo.org mailing list
loader is installed and in
the right place. Edit your grub.conf or lilo.conf as needed to make sure
your kernel will get booted from the right partition.
That should be pretty much it.
kashani
--
gentoo-user@gentoo.org mailing list
u have the two heavily used drives on the same IDE
channel you'll see some slow downs on your I/O.
kashani
--
gentoo-user@gentoo.org mailing list
you let it. Use the same USE variables on everything and document
the reason why you use those. And don't forget to update the docs and
machines if that ever changes or you'll be fighting for three hours on a
Sunday when something isn't quite kosher.
kashani
--
gentoo-user@gentoo.org mailing list
forced the vim with color syntax standardization.
Once you get used to syntax highlighting you can never go back. Plus
there is nothing like half your named.conf shifting to red to let you
know you typo'ed a } somewhere.
kashani
--
gentoo-user@gentoo.org mailing list
on. Or any other font.
And so on.
kashani, running 1900x1200
--
gentoo-user@gentoo.org mailing list
ird and setting gentoo.org as a domain that prefers text emails?
Or setting up a list only account, like say $username-list, with its own
settings in your MUA and turning off html emails for that account.
That'll keep you from having this same conversation on any of the other
tech lists.
ka
mail, news); };
The current Gentoo syslog-ng.conf is extremely bare bones. I've got a
few post on the forums showing the older and IMO better syslog-ng.conf.
kashani
--
gentoo-user@gentoo.org mailing list
you don't need, but
you'll definitely want to keep these big-todo and big-concurrency for
performance. qmail-link-sync support async filesystems, aka anything
journaled. The rest should be pretty self explanatory.
That's off the top of my head... hopefully it highlighted some issues
that you might have missed.
kashani
--
gentoo-user@gentoo.org mailing list
then there is no need for a second or third MX record.
kashani
--
gentoo-user@gentoo.org mailing list
here is no need for a second or third MX record.
kashani
Really? So if I would only use an MX record that points mydomain.com
to mydomain.com with a priority of 1, it isn't even necessary?
Yep that's the way it works. On the otherhand I was mentioning it more
for completeness than an actua
oo?
And I noticed many commercial programs such like Cadence PSD, which
have this problem no matter how 'new' their products are. Why don't those
companies solve this problem in newly released products?
You might want to emerge sys-libs/lib-compat That'll usually solve the
pro
ances are not.
I once had massive load balancer failures across three geographic sites
because of an unauthorized port scan by out new security director. Yes
they shouldn't have locked up when send a weird packet, but we'd have
avoided quite a bit of downtime if we had known what to look
y to decrease
overall questions as it is to increase them IMO.
kashani
--
gentoo-user@gentoo.org mailing list
servers that all do
smtp/smtp-relay/pop3/spam filtering/etc. That way you have better
overall availibility though again that depends on what sort of backend
you have or are planning to build.
kashani
--
gentoo-user@gentoo.org mailing list
in the queue till they expire. I
find it more efficient to bounce the emails up front rather than have
them travel through the system twice. YMMV.
I'd recommend against any sort of blacklisting. This hits it spot on.
http://www.acme.com/mail_filtering/shame_frameset.html
kashani
--
gentoo
t's Sendmail based, but again just about any
of it can done on any other MTA once you know the concept. The author is
also using very conservative hardware specs so you get an idea of
exactly what sort of resources it might use on your system.
http://www.acme.com/mail_filtering/introduc
remote call.
I had to have just such a talk with a site recently after they ended up
on Howard Stern. It nearly took down the web servers before we figured
out what was causing the performance issues.
kashani
--
gentoo-user@gentoo.org mailing list
arted its life as Gentoo v1.2 three years ago.
kashani
--
gentoo-user@gentoo.org mailing list
le huge change. This is why the ntpd setup allows for
an immediate sync via ntpdate before starting the daemon. To fix this
I'd shut down ntpd, run ntpdate 192.168.7.1, and then start ntpd again.
kashani
--
gentoo-user@gentoo.org mailing list
how
up to the same place some night.
kashani
--
gentoo-user@gentoo.org mailing list
orth the trouble if you're trying to
provide transparent failover for incoming connections.
I can break this down into better examples if anything doesn't make
sense. I don't know how much you know about routing and this could have
easily grown into four or five pages giving all the background info.
kashani
--
gentoo-user@gentoo.org mailing list
ost
useful book I found back in my Wan Engineer days was Internet Routing
Architectures by Sam Halabi and Danny McPherson. It's a bit Cisco
centric, but very readable and has a number of good real world examples.
kashani
--
gentoo-user@gentoo.org mailing list
;s part of the new split between php4 and php5. mod-php-5 is in
/usr/portage/dev-php5/ now though how you would use or active it I'm not
sure.
kashani
--
gentoo-user@gentoo.org mailing list
e hard way, but don't expect people to help.
However feel free to get your hands dirty in iptables you may enjoy it
and find it useful especially if you're a full time security guy. I've
been there and have neither the interest nor time to do something by
hand with decent tools ava
at'll
lickly be your ISP mail server.
sendmail [EMAIL PROTECTED] is a bad test because ssmtp is not able to
deliver locally. ssmtp is realyy just a sendmail work a like binary that
can be used from the commandline.
kashani
--
gentoo-user@gentoo.org mailing list
hin
Postfix may allow a few admins to shoot themselves in the foot
performance-wise.
In any case you might want to check out this how-to which use Anomy
Sanitizer to do basically the same thing.
http://www.advosys.ca/papers/postfix-filtering.html
kashani
--
gentoo-user@gentoo.org mailing list
se, less complicated than OSPF everywhere, but I'm not sure
it'll work. I suspect that eth0 and eth1 will stay up as far as the
local machine is concerned and won't move the virtual IP around.
None of these ideas are great, but might get you thinking about
something that might work.
kashani
--
gentoo-user@gentoo.org mailing list
;s need to be plugged into the same
switch or have things changed in the technology recently? I think the
failure that the original author is trying to plan for is a switch
failure not a NIC failure.
kashani
--
gentoo-user@gentoo.org mailing list
I'll recommend Postfix and
also recommend aliasing root mail to an unprivileged account and reading
the mail there. Or you'll have to use mbox format.
kashani
--
gentoo-user@gentoo.org mailing list
From:
line which breaks anyone's attempt at sending using their personal
domain. We didn't do retarded things like that either.
kashani
--
gentoo-user@gentoo.org mailing list
hat unless you own most of the gear involved
which isn't always the case.
kashani
--
gentoo-user@gentoo.org mailing list
kage I've been attempting to subjugate
for the past couple of hours?
kashani
--
gentoo-user@gentoo.org mailing list
.html
http://forums.gentoo.org/viewtopic-t-378684.html
And for the hell of it how does one get filtering to work in
horde2/imp3? Strangely I can pull up the filter interface if I type the
URL in manually, but can't make IMP put a link to it anywhere.
kashani
--
gentoo-user@gentoo.org mailing list
.
Daniel what subnet are you using for those IP's or better yet, what
subnet did you ISP tell you to use when they assigned those to you.
kashani
--
gentoo-user@gentoo.org mailing list
Mark Shields wrote:
qmail! I use it on my home server and I love it.
Didn't he say something about a simple MTA? :-)
kashani
--
gentoo-user@gentoo.org mailing list
tiesman wrote:
On Mon, Oct 03, 2005 at 10:03:39AM -0500, kashani wrote:
Mark Shields wrote:
qmail! I use it on my home server and I love it.
Didn't he say something about a simple MTA? :-)
Exactly kashani. I do thank you Mark, for a quick answer. But can you also give
me an ex
well.
kashani
--
gentoo-user@gentoo.org mailing list
/etc/sasl2/smtpd.conf
pwcheck_method: saslauthd
mech_list: plain login
/etc/conf.d/saslauthd
SASLAUTHD_OPTS=""
SASLAUTHD_OPTS="${SASLAUTH_MECH} -a pam"
/etc/init.d/saslauthd restart
/etc/init.d/postfix restart
kashani
--
gentoo-user@gentoo.org mailing list
Joe Strusz wrote:
No, thats not it... what about master.cf? Could someone send me a
sample master.cf with SASL running?
sasl requires no changes to master.cf
what's an emerge -pv cyrus-sasl look like?
kashani
--
gentoo-user@gentoo.org mailing list
of wild ass guesses have you changed or added a firewall
recently? Firewalls that inspect and protect protocols usually break
smtp-auth. On a Cisco Pix you'll need to set smtp fixup or something
like that.
kashani
--
gentoo-user@gentoo.org mailing list
local mirror. Once the proxy is set add this to the
other machines' /etc/make.conf
http_proxy="proxyhost.yourdomain.com:3128"
kashani
--
gentoo-user@gentoo.org mailing list
ation on why that's happening. I suppose the fix would be two
separate copies of portage. One for the machine and one to serve out of
rsync that doesn't have the cdb stuff.
kashani
--
gentoo-user@gentoo.org mailing list
ver and how you couldn't load
both in 2.4... but I think there is only one driver now in 2.6... or
least that's all I could find.
kashani
--
gentoo-user@gentoo.org mailing list
user vacation on the system
with the proper regex stuff and tracking of addresses it's has already
responded to.
kashani
--
gentoo-user@gentoo.org mailing list
Have you tried just bringing up the interface without an IP like the
article mentioned? That's always worked for me in BSD and Solaris, can't
imagine Gentoo is going to be too different.
This seems like far too much speculation and wackiness for something
that's pretty str
eed webmail or it'll just be too handy not to
do. Make sure you look into some of the tuning stuff to keep it fast
like imap-proxy.
kashani
--
gentoo-user@gentoo.org mailing list
Thomas T. Veldhouse wrote:
kashani wrote:
1. Block mail up front.
Use greylisting as it stops spam before it enters the MTA's queue.
This keeps 90% of my spam from even entering the more resounce
intensive filtering processes.
This is a very effective filter. However, it does gr
ng to find a good use for. I'd be
interested as well. All that I've found involved the RaQ3 and those are
all MIPS IIRC.
The Raq3 was an x86 box using an AMD K6.
http://www.cobaltfaqs.com/index.php?title=RaQ_3
kashani
--
gentoo-user@gentoo.org mailing list
htool3 rather than 2. 3 is a
year or two newer than 2.
kashani
--
gentoo-user@gentoo.org mailing list
to full duplex.
Don't know if that's a switch thing or a Linux thing. Setting auto
negotiate works best these days though there is quite a bit of
documentation that says the opposite from 4-6 years ago when that wasn't
always the case.
kashani
--
gentoo-user@gentoo.org mailing list
'd install lib-compat and see how much of your list that gets you. Most
binary packages require lib-compat on just about any Linux distro.
Assuming you can get all the libs you need I'd force the install rather
than try to inject everything you need into your rpm db.
kashani
--
ge
ql full package on this server
(it should run email stuff only). So what to do?
Gentoo doesn't have a libs build for Postgres or Mysql so you get the
whole package. There has been talk of doing a client install, but I
don't know if any progress has been made on that.
kashani
pported.
In summary, doing away with auto-neg does tend to solve the problem,
but there are significant barriers to doing this in many enviroments.
kashani
--
gentoo-user@gentoo.org mailing list
every six weeks (well the math is new) like
clockwork, perhaps it is time to create a FAQ detailing the arguments
and generally agreed on conclusions we'll all seen countless times.
kashani, anxiously awaiting the drawn out discussion this may provoke,
but willing to live with that if
Jorge Almeida wrote:
On Mon, 31 Oct 2005, kashani wrote:
usefulness for the inarticulate), and top posting (I blame Pine).
Why?
The semi-factual answer is because bottom posting was the norm until
Pine appeared on the scene or at least that's the story according to
apocryphal Int
far, explaining when a client build would need to
be updated would be keen. Again not the end of the world, but I'd rather
not be building a bunch of custom packages if I can help it.
kashani
--
gentoo-user@gentoo.org mailing list
root password 'temppass'
mysql -u root -p
drop database test;
drop database mysql;
exit
mysql -u root -p < mysql-20051102.txt
mysql -u root -p
flush privileges;
exit
kashani
--
gentoo-user@gentoo.org mailing list
r cash for flaming Tiki drinks.
kashani
--
gentoo-user@gentoo.org mailing list
Jeff Smelser wrote:
On Wednesday 02 November 2005 02:23 pm, kashani wrote:
Because once you start caring about your db that much it's usually
easier to setup a crap box that replicates off your master. Then you can
lock the whole db on your slave and do a mysqldump without ca
Jeff Smelser wrote:
On Wednesday 02 November 2005 05:47 pm, kashani wrote:
So yes, if your db is 20 GB or less, what I mentioned will probably
work without too much trouble. If your db is 100 GB or larger, you're
likely spending enough on hardware and software to solve your issues
's as light as you're going to find for the features
you want. And I suspect TLS and SSL to use far more of the CPU than the
MTA itself.
kashani
--
gentoo-user@gentoo.org mailing list
start thing as needed and
Postfix has its master process which basically does the same thing. I'd
probably test both anyway just to be sure, but if there is no drastic
difference I'd choose the one you're more familiar with.
kashani
--
gentoo-user@gentoo.org mailing list
*.
kashani
--
gentoo-user@gentoo.org mailing list
er example some combination of updates from
Postfix 2.0.x to 2.1.x would cause queue corruption. The recommended way
to update was to shut Postfix down while emerging.
kashani
--
gentoo-user@gentoo.org mailing list
thout downtime. It's not always the case, but
the odds are much more in your favor in this scenerio.
kashani
--
gentoo-user@gentoo.org mailing list
Nick Smith wrote:
i just built a new box that will be a mail/web server, but after
emerging apache the entire /etc/apache/conf does not exsist, i tried
re-emerging but nothing changed. is this something im doing wrong?
perhaps /etc/apache2/ ?
kashani
--
gentoo-user@gentoo.org mailing list
etter
than fdisk. However they may some quirks of their own with that much space.
kashani
--
gentoo-user@gentoo.org mailing list
anyone give me a suggestions for a good(cost-effective)
server(good with gentoo).
I ebay'ed a nice HP DL360 recently as my new personal server with some
break even paid web hosting. Dual 3.0Ghz Xeons, 4GB RAM, RAID card, and
two 73GB 10k SCSI drives. $1500.
kashani
--
gentoo-user@gentoo.org mailing list
yrus: moast difficult part (shared storage/CFS,???) ->
NAS|SAN+CFS+LVS+?dono?
The storage has to reside somewhere. If that site goes down, both
servers go down. You either need both servers in the same site with
shared storage or figure out how to do a shared nothing backend.
kashani
--
gentoo-user@gentoo.org mailing list
301 - 400 of 508 matches
Mail list logo