Hi all,
Perhaps this is not the best place to ask this, but if so, I hope
someone can quickly point me in the right direction.
The situation:
On my FreeBSD live box I have set up a split Sendmail RX set of
daemons, such that incoming mail gets tunneled through Amavisd-new +
ClamAV +
Hi again,
Tnx for your further recommendations. I'll take the following actions:
1) I'll report the IP addresses to Spamcop and Spamhaus (note that
indeed it appears to be virus-driven, or operated through backdoors,
as the server is under constant attack, coming from a variety of IP
Hiya all,
Well, I promised you guys a follow-up on this, and here's what I have
found out (first the situation and solution, and then two small
questions)
The situation:
Firstly, I took some measures to figure out where the issues came
from, and using Apache's server-status handler
Hi Ivan and Dan (and the lists),
The size of apache processes is telling me you're using PHP or some
other heavy apache module.
Indeed I am (I forgot to mention this). It is PHP 4.4.6, and it is
set up as an Apache module.
If so, you can switch to using PHP as FastCGI responder via
Hi again,
Hmmm, the load is very high right now, and again mail is not comming
through. This time, it seems the queue runner is blocking matters.
When checking /var/log/maillog, there are entries for the RX daemon
having received messages, but also there is this entry:
May 4 12:29:38
Hi again,
This time a question from the Apache side of this issue:
You'll have to correlate this with HTTP requests apache receives -
maybe there's a PHP script that's unusually CPU
intensive.
Is there any (easy) way to do this in conjunction with specific PIDs
of stressed httpd
Hi,
It might as well be a search engine spider.
Perhaps it is... By just tailing the httpd-access.log file a few
times over the past 10 minutes or so, at least I already just came
across:
74.6.70.45 - - [04/May/2007:13:12:34 +0200] GET /olympus/tope/
tope_show_entry.php?event=13pic=1
Hi,
Investigate the Apache server-status handler (assuming its still
there in
2.2). If you also enable the ExtendedStatus output from server-
status,
I just enabled it like that, as well as the server-info handler. This
is indeed what I was looking for, and it directly identified the
Hi,
Recently I upgraded my Apache 1.3.33 webserver to Apache 2.2.4, and
ever since, I noticed that it is acting in such a way that it often
is VERY greedy with my server's resources.
Quite often, when running top, a list that is as the one that
appears at the bottom of this e-mail is
Hi Frank,
Tnx a lot for your answers!
Have a look at:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-
using.html
in particular:
4.5.2.1 Overriding the Default Ports Directories
You basically copy the port wholesale to somewhere in your directory
tree and build your new
Hiya,
I have run into a seemingly trivial, yet annoying issue. I used to
use Apache 1.3.33 on my live server, and recently I upgraded to
Apache 2.2.4, which apart from some hassles when upgrading the PHP4
extensions, went well.
However, there is one small thingy that is different: there
Hi again,
Well as mentioned yesterday, I couldn't let this one go by without at
least trying to figure out the real reason, so I experimented somewhat
further.
The issue of ssh1 vs. ssh2 appears to already be clarified, so I won't
go into it again.
Yes, indeed. I myself yesterday came to
Hi all,
I hope someone can give me some good advice regarding synchronisation
strategies between two (very) different FreeBSD installations.
My live server runs FreeBSD 5.4 release AMD-64, and my fallback server
runs FreeBSD 6.2 release i386.
The drive sizes do not match eiter, as the live
Hi all,
To cut to the chase, I 'solved' the issue, or rather, the mystery around
it at least, but the 'solution' was not quite as expected.
I tried both suggestions given.
Firstly:
It rather looks like putty is checking the server key with the older one
(you mentioned you reinstalled the
Hi Bill,
I'm not seeing this. I tried this with PuTTY 0.58 on a fresh FreeBSD 6.2p1
system and had no problems. So I grabbed the latest PuTTY 0.59, and that
worked fine as well.
[...]
I haven't been following this thread, so I don't have any ideas on what
your problem might be, but it's
Hi again,
I must ammend a technically incorrect thing that I wrote previously:
Is this what you tried too, or did you use SSH2 (i.e. key
authentication, instead of password authentication)?
Both SSH1 and SSH2 can use password authentication, so I incorrectly
wrote that PuTTY does not fall
Hi guys,
(Firstly: I posted this message well over an hour ago, and it does not
seem to have come through, in case you recieve this twice, then I'm
sorry for that :P )
Sorry to ask such a trivial question, and I'm positive it must have been
treated here before, but I just can't remember how
Hi Garrett,
Firstly: thanks for your reply!
Just looking at your config everything appears to be fine. If you don't
have PAM enabled or don't want it enabled though you should uncomment
this line in your config:
# Change to no to disable PAM authentication
ChallengeResponseAuthentication no
Hi guys,
Sorry to ask such a trivial question, and I'm positive it must have been
treated here before, but I just can't remember how to do it exactly, and
perhaps someone can give me a quick answer and spare me hours of further
RTFM-ing. :P
The issue:
I'm (re-) installing my fall-back server,
Hi guys,
Sorry to ask such a trivial question, and I'm positive it must have been
treated here before, but I just can't remember how to do it exactly, and
perhaps someone can give me a quick answer and spare me hours of further
RTFM-ing. :P
The issue:
I'm (re-) installing my fall-back
Hi Chad,
there is a freebsd program that can be used to report on and manage your
raid on a 2100s. Google frebsd and adaptec 2100s
Thanks a lot!
So indeed this is done by installing some programs for it, and they do
exist for FreeBSD as well. :)
Alrighty, tnx a lot, when rebuilding the
Hi all,
I hope someone can answer the following question for me (which may be
trivial).
In my fall-back server I use an Adaptec 2100S SCSI RAID controller, with
two (identical) drives attached to it. This morning I recieved the
dreaded phonecall (from the server farm) that that machine is
Hi,
I've got a question which is probably pretty easy to answer: how can I
assign more memory to a PHP script running in a shell and/or in a browser.
Some more background info:
I'm building a PHP script that has to retrieve pretty large sets of data
from a remote MySQL database, then process
Hi Daniel,
Generally, I think it's bad programming practice to retrieve such big
datasets if it is possible to do otherwise.
I definitely agree that it is bad practice, and in that respect I'm
inclined towards doing batch loading as you suggest too. However,
there's some data agregation
Hi all,
Yesterday I had trouble when configuring Apache 2.2 with PHP 4.4.2,
which caused Apache to crash (segmentation fault) when calling various
PHP functions.
The hint to the answer resided in the /var/log/httpd-error.log file:
And the /var/log/httpd-error.log file mentions the
):
[...]
[Wed Feb 15 15:12:38 2006] [notice] caught SIGTERM, shutting down
[Wed Feb 15 15:12:41 2006] [warn] RSA server certificate is a CA
certificate (BasicConstraints: CA == TRUE !?)
[Wed Feb 15 15:12:41 2006] [warn] RSA server certificate CommonName (CN)
`Olaf Greve' does NOT match server name
Hi all,
A colleague of mine has run into a weird issue, for which we hope
someone knows a solution (or otherwise: if someone knows there's no
(easy) solution, that's also good to know.
The issue: when running a script that will consume a large amount of
memory (under FreeBSD 5.2.1-release
Hi guys,
Well, my colleague has done some more RTFM-ing and Googling, and he
found the following solution:
Put kern.maxdsiz=1073741824 in /boot/loader.conf (see the example in
/boot/defaults/loader.conf), and then reboot.
That way a new kernel compilation was not required.
Tnx for thinking
Hi,
I'm trying to set-up an SSH tunnel between two FreeBSD machines, over a
direct cross-wire connection between the two, and I'm having issues in
doing so. The question(s) I have is/are probably not FreeBSD specific,
but still I hope someone can answer it/them...
The situation:
I have two
Hi all,
Thanks for the replies!
I also received several very helpful off-list replies, and they caused
me to opt for my plan B, which is simply a 'rendez vous' type
pull-mechanism. I already had a nightly cron job set up on the live
server that neatly dumps the MySQL DB instances to a
Hi,
When doing some maintenance on my fall-back server I ran into something
weird. When running df it turned out /var was for 90% full. I then
manually deleted some files (as root over SSH), amongst which the
'maillog' logfiles in /var/log, I also killed sendmail (as it was
generating the
Hi,
O.k., people please correct me if I'm wrong but...
I've been having a small amount of trouble with running Java on FreeBSD
(version 5.4 for amd64) and I was hoping that someone would be kind
enough to help me out.
I manually installed the linux version of Java. Which seemed to work
Hi again,
Erik Norgaard wrote:
I think you can use mtree to get permissions right if they for some
reason have been changed.
This might be a good one to check... I'm not familiar with it yet, but
does this check all permissions and ownerships and corrects
errors/mismatches where possible?
Hi Erik (and others),
# cd /etc
# pwd_mkdb master.passwd
# pwd_mkdb -p master.passwd
I made copies of /etc/passwd and /etc/master.passwd, then I ran the two
commands above and now it all seems to work fine!!!
The abcdef user is now properly identified again. :)
Tnx a lot
A great way to
Hi,
Yesterday it has been brought to my attention that SSH access is not
working well on my new server.
The background: I have set-up a new server (FreeBSD 5.4-Release AMD/64)
and I migrated the user accounts from my old server (FreeBSD
5.2.1-Release i386).
Now, I was under the assumption
Hi,
Some things to try, in sshd_config set:
PrintLastLog=no
LogLevel=DEBUG
Tnx a lot, this did the trick!!! I first tried it without the
PrintLastLog no command, and with a proper AllowUsers line and that
still didn't allow the login over SSH. Then, adding that PrintLastLog
no line (and
Hi,
Well, it all seems to be a question of granting users access to the
right file. Have you checked permissions on /etc/passwd and /etc/pwd.db ?
These are both 644, owned by root:wheel.
These should be world readable while /etc/master.passwd and /etc/spwd.db
should not.
These are both
Hi,
A while ago I ran across a site that offers very cool FreeBSD (and
other) case badges. Yesterday I decided to order a badge, but to no
avail. :(
when trying to do so, I got the following error:
ERROR
Invalid Vendor ID: error
Please use the Return link, and try again.
If this problem
Hi,
Finally: in case placing an order from the above site will not work out,
does anyone know of any other good place to order such beastie case badges?
I've had pretty good experiences with http://www.scotgold.com/
Tnx!
Fortunately, these ones were better priced and had a wider range of
Hi all,
I have some probably straightforward questions regarding SSH, and I
couldn't find the answers to all of them using Google, so I hope someone
can provide me with them. :)
The situation:
Last week I added a second (fall-back) server next to my life server,
and I want to automate
Hi,
Well, yesterday the inevitable finally happened: I lost my
'custom-kernel-compilation' virginity. :)
Indeed, when trying to burn a DVD using growisofs I quickly found out
(tnx Google!) that I had to add the atapicam device to the kernel.
This was done based on what I read here:
Hi,
I have a short and surely straightforward question: I want to set-up two
NICs on two of my FBSD 5.x servers. Each server will have a dedicated
NIC for all outside world traffic, and between the two machines I want
to set-up a 192.168.1.x local network via a cross-wire cable, dedicated
to
Hi,
We are having troubles with MySQL 4.1 on a amd64 (it's crashing randomly
with Seg fault, signal 11. gdb bt says: Cannot access memory at address
0x8000). We have got information saying this is a 64bit related
issue and should be fixed by using the i386 version instead of amd64
(this
Hi,
Tnx for the reply!
I don't think you've missed anything.
Good! That's what I also thought, but I just wanted to be sure. :)
In /etc/rc.conf you can add something like:
ifconfig_rl0=inet 192.168.17.1 netmask 0xff00
ifconfig_lo0_alias0=inet 172.17.0.1 netmask 0x
Hi,
This'll surely be a really novice question, but I'd like to get it right
in one go, and RTFM-ing using Google somehow didn't produce uniform
enough results for my likings. :)
The situation: I just installed FreeBSD 5.4-Release AMD64 on my new
machine (though the question is most likely
Hi all,
Thanks for the excellent replies regarding this!
Regarding the mounting: indeed I do have a proper /etc/fstab, so I'll
use mount /cdrom then.
Tnx for explaining about the need to mount it in ISO-9660 format, and
that the 'ro' flag is correct after all. :)
So, the remaining thing
Hi,
At present I'm in the last stages of configuring my new (primary) web
server. As soon as I'm done with it, I want to place the machine at the
server farm, connect it to the present live server, take the later one
off-line for an hour or so, hook it up via local network to the new
primary
Hi all,
Thanks a lot for your answers!
I see that MySQL v5 is not mature enough for my likings to risk the
gamble already, and presently I have no need for triggers and stored
procedures (though they can be very handy, of course).
Regarding version 4.0.x versus 4.1.x: the same applies as
, as this is the moment for me to make
this sort of decicion, and I'd like to do so based on real user's
experiences...:)
Thank you kindly in advance, and with kind regards,
Olaf Greve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org
Hi,
Tnx again for your answer!
Most of what you need is already in the GENERIC kernel. The rest is a
available as modules. IIRC, you have to load the cam.ko module.
Just use the ATAPI DVD burner via CAM. AFAICT it's very stable. I
haven't burnt a coaster yet. An SCSI DVD burner is bound to be
Hi Roland,
First off: tnx for your reply!
I haven't tried burning DVDs with the ATA driver. The manual page for
growisofs says that you should use SCSI devices on OpenBSD and NetBSD,
but it doesn't mention FreeBSD.
Hmmm, one would guess FreeBSD not to be very different in that respect.
Hi,
[...]
2200S. What I'm wondering about is the following: would it be possible
to use the 2200S as a regular controller for a SCSI DVD rewriter, in
combination with it running 4 drives in RAID 10 mode?
The controller has two U320 channels and allows up to 30 devices to be
connected to it.
Hi,
Thanks for your replies!
Ronald wrote:
Over the years Plextor CD and DVD rewriters have served me well. That's
why I chose a PX-712A for my amd64 system. It works flawlessly with
cdrecord and growisofs via the CAM SCSI subsystem.
Tnx!
I'll take a look at that one.
Actually you mention
Hi,
Within a few weeks I will be aquiring a new server, and it will most
likely feature a 64-bit AMD processor.
One of the (hardware-wise) things I need to solve before being able to
actually get it, is which DVD burner (for back-ups, etc.) I can best
install in it.
From the FreeBSD 5.4
Hi,
Firstly, thanks for your reply!
No, you have the right version of gettext but you didn't address the
problem.
I feared as much...:(
Soo, the question then winds down to how to resolve this. Can
anyone tell me how I can fix this problem?
Well, you have a mix bag set of references to
Hi all,
I have run into a weird issue, which for some reason doesn't want to get
resolved.
I am using FreeBSD 5.2.1 Release i386, and my ports tree is recent (via
/usr/local/bin/cvsup -g -L 2 /root/ports-supfile).
However, when trying to install the logrotate port (i.e. version
Dear Dan,
Thanks for your answer!
A follow-up:
Why would they require an OS-specific threads library, instead of
simply requiring Posix threads? I can tell you right now that Solaris
doesn't support NPTL, just the same way Linux doesn't support Solaris's
thread library :)
Interesting. The people
Hi all,
As is typical, I have once again been given very limited time to get
something running, and there are some interesting things to figure about
about it. :)
In brief, the application is a distributed one, loosely based on some
CORBA concepts, though differently (fortunately!). The
Hi all,
Today over here a rather fancy server was delivered on which in little
time I have to set-up several packages, such that the machine becomes a
web server for an intranet application.
Now... Though basically most Unixes are heavily similar, I unfortunately
find myself with very little
Hi all,
I find myself with little time to find a neat solution for the following
situation:
We have a Shuttle on which fbsd 5.2.1 is installed. Now, the machine
used to have just one network interface, of which I'd simply switch the
settings when the machine needs to be used for demo purposes,
Hi,
I ran into a rather funny issue (fbsd 5.3-release, i386).
I have an updated ports tree (that is: twice per week cron updates it
using cvsup).
Now, I tried installing /usr/ports/sysutils/logrotate (make install)
O.k., it failed, mentioning that it required gettext version 0.13 or higher.
No
Hi,
It's best to report them and it's not hard to do it. There
are automated tools that will do it.
I would be very interested in setting up such a tool on my server as
well. My passwords are not easy to guess, and root is not allowed to
login anyways, and changes are extremely slim that
Hi,
Alright, last Friday I promised to let you guys know what the outcome
was of the issue where PuTTY wouldn't connect to FreeBSD 5.3.
And the winner is...:
Look in /etc/ssh/sshd_conf for the setting PasswordAuthentication I
think the default changed from yes to no.
HExren
Indeed. By default
Hi,
Last Friday I ranted:
In this case, time IS money, so that's why I'm trying to convince my
client to better spend that money (and my time) on simply buying a
supported hardware RAID controller, which really is a win-win situation
for both my client and myself. However, somehow I've not yet
Hi all,
On two distinct machines (both running FreeBSD 5.3 release, one is the
AMD-64 version, the other is the i386 version) I am experiencing
problems when trying to SSH to the machine using PuTTY.
PuTTY shows the login prompt just fine, but when entering the proper
username/password (yes, I
Hi,
A client of mine asked me to install their AMD-64 machine as a MySQL
database server. Totally against my strong suggestion to use a proper
SCSI hardware RAID 10 solution (or at least a hardware SATA RAID
solution), they insist on using the internal Sil 3114 software RAID
controller in RAID
Hi Jon,
You did not state the version of Putty you are using.
Hmmm, good one. I just checked and it is version 0.50.
Try the latest version, (release 0.56) I beleive.
There was a problem in earlier versions of Putty with keyboard-interactive
method of authentication.
I'll give that a shot. It's
Hi Erik,
Thanks for your answer!
I don't think FreeBSD supports the SiI 3114 as a RAID controller, but
only as a normal controller. All the RAID stuff for that controller is
done in software anyway, but FreeBSD needs to know what format the BIOS
uses for a RAID setup, and it doesn't.
Indeed that
Hi,
A while ago the topic was raised about how to properly install PHP
4.3.8+ versions with their required extensions, under Apache 1.3.x.
I'm doing so just now, but I seem to be missing one step, as the
extensions do not seem to get picked up.
Here's what I did:
1) Update the ports tree using
Hi again,
Alright, I just found the missing step: I used to have an existing
php.ini file in which the extension_dir directive was not disabled.
Commenting that directive does the trick. :)
So the correct procedure should then be:
1) Update the ports tree using CVSup
2) Build the
Hi guys,
A few days ago I asked for experiences you all might have with
optimising MySQL for large DB applications under FreeBSD.
Well, the plot thickens, and hardware and OS-wise I think I now am well
on my way of finding a very promising solution.
The idea is to use FreeBSD 5.3 AMD-64, using
Hi,
I have been asked to assist in a most interesting challenge: getting rid
of a Win2K server (running MySQL) on which MySQL takes up around 100% of
the CPU. :)
I have near total freedom in suggesting a replacement architecture
(within some reasonable finacial limits, of course), and I am
Hi,
i want to install apache+php+mysql. If i install mod_php i cannot
install php4-extension (mysql, etc ...). If i try to install php4-cli
and extensions apache doesn't know how to handle .php files . What's
the
they to go to make apache work with mysql and php ? fBSD is 5.3.
Well, up
Hi,
Correct solution would be to install mod_php4 first and then
install all the necessary extensions via separate ports. For instance,
to
get MySQL support in PHP you would install
/usr/ports/databases/php4-mysql.
This way of installing extensions via ports was introduced when PHP
Hi,
So, anybody don't know what is this? :(
My guess... *everybody* doesn't know what this is (although some might
know what Qpopper is). Part of your message is missing?
:)))
Indeed the question could be slightly more specific. :)
Part of it can be answered though: Qpopper is a POP3
Hi all,
I was wondering about a thingy.
Whenever I use sysinstall to add a package, the list seems to be
constantly the same (i.e. often outdated), whereas more recent versions
should be available of several of the packages. Of course I can manually
d/l the packages and if necessary compile them
Hi Thomas (and others),
First off: thanks a lot for your answer, this is indeed what I was
looking for... Then some specifics:
Packages are pre-compiled so there is little ability to configure
them,
should you need to. Although I still know many people who prefer using
packages.
I find them
Hi guys,
I'm new to this list, so I hope I'm not flogging a dead horse here, but
after an upgrade from 5.1 Release to 5.2.1 Release (i386) I encountered
a weird thing: when being root, and creating users using the pw command
as follows:
pw useradd testusr -g testgrp -s /bin/sh
No home directory
Hi,
Give pw the -m option to instruct it to mkdir the home directory.
Tnx!
That works a charm! No idea how I could have missed that one, guess I'd
better RTFM somewhat better than I did...:P
Cheers!
Olafo
___
[EMAIL PROTECTED] mailing list
79 matches
Mail list logo