I'm new to PHP, and I'm trying to make use of the interactive commandline,
but I'm finding 'php -a' isn't working. More specifically, no 'php'
prompt, no output, nada.
I've found comments on the intarwebs making mention of the need for
readline support, but past that, I'm at a loss.
Thanks!
Multiple Machines
This is sort of a best practices kind of question so all comments are
welcome. I'm wondering what folks are doing when setting up multiple
(more than 1, but less than 10) machines.
Consider, for example, some ordinary files such as the following:
/root/.cshrc
I've had the following setup at home for a number of years:
mailhub smarthost --- intarwebs
Everything works as intended, of course, but I'd like to change the setup
to accomodate the mailhub host being powered off at night. After it's
restarted in the morning (or whenever), the mailhub
I meant that you could block access to private servers which need to
listen on public network ports by just using firewall rules, as opposed
to making the whole jail hang off a private interface and just
forwarding selected traffic to it.
For the second case, you would need pf to do the
I recently upgraded a system from 8.0 to 8.1.
I'm now trying to install FreeBSD 8.1 to a second system by performing a
minimal install, and then NFS mounting /usr/src and /usr/obj from the
just-upgraded system.
Simple enough, right? Well, the installkernel target is bombing out with
an error
and Christer.
On 8/3/10, Pieter de Goeje pie...@degoeje.nl wrote:
On Tuesday 03 August 2010 12:33:04 David Allen wrote:
I recently upgraded a system from 8.0 to 8.1.
I'm now trying to install FreeBSD 8.1 to a second system by performing a
minimal install, and then NFS mounting /usr/src and /usr/obj
On 6/3/10, Andy Hiscock andyjhisc...@yahoo.com wrote:
After being advised to upgrade after a freebsd-update I have successfully
upgraded from 7.2 to 8.0-p3. OK but have come across a major problem for me.
OK time for a BIG rant this has been going on for 2 days (very sorry)
After the install
1. Why doesn't cal(1) hilight the current day? Hell, some days I'm
not even sure what day or week it is, so after typing 'cal', I have to
type in 'date', and then sit there for a few seconds to interpret what
I'm looking at. Of course, that isn't always successful, so I
typically end up
On 4/6/10, Matthew Seaman m.sea...@infracaninophile.co.uk wrote:
On 07/04/2010 06:28:40, Peter Steele wrote:
I found something else that's missing--/var/db/pkg is empty. It looks
like what the auto-var process does is a construct basic directory
structure but no data. Is there a solution to
On 4/1/10, Matthew Seaman wrote:
On 02/04/2010 01:51:27, Norbert Papke wrote:
When I connect to sendmail on a local interface, sendmail responds to the
connection with its 220 greeting immediately. If I connect to sendmail
from
another machine on my (home) LAN, sendmail delays five seconds
On 4/2/10, Jon Radel j...@radel.com wrote:
On 4/2/10 8:33 AM, David Allen wrote:
Secondly, it seems the cause of the OP's problem was a delay associated
with an IDENT query. Specificially
confTO_IDENT Timeout.ident [5s] The timeout waiting for a
response to an IDENT query
This is a wide open question, but if anyone has any experience or
comments with respect to using FreeBSD for sending/receiving faxes,
I'd be grateful to hear them.
Hylafax is available in ports, and the website makes mention of some
compatible hardware, but I thought I'd ask here first.
Thanks.
Say I have performed a standard installation of FreeBSD onto a single IDE
drive with the following entries in /etc/fstab:
/dev/ad0s1b none swap sw 0 0
/dev/ad0s1a / ufs rw 1 1
/dev/ad0s1d /var ufs rw 2 2
/dev/ad0s1e /tmp ufs rw 2 2
/dev/ad0s1f /usr
On 11/15/09, Polytropon wrote:
On Sun, 15 Nov 2009 19:23:15 -0700, David Allen wrote:
1. The Handbook suggests there is a convention that when partitioning
a a drive that's been added, to label the first new partition on that
drive as 'e' as opposed to 'a' (which is reserved for the /root
On 11/13/09, Chuck Swiger cswi...@mac.com wrote:
Hi--
On Nov 13, 2009, at 12:15 PM, James Phillips wrote:
I initially set the time-out to 60 seconds, then 300 seconds in a
vain attempt to see the actual power savings. With a 900 second time-
out, the drive only spun down once in the past 12
On 11/13/09, Chuck Swiger cswi...@mac.com wrote:
Hi, David--
On Nov 13, 2009, at 2:48 PM, David Allen wrote:
There are options available in /etc/defaults/rc.conf to do just that,
but how does one copy over the contents of /var at system boot?
I'd consider adding something to /etc/rc.d
On 11/13/09, Chuck Swiger cswi...@mac.com wrote:
Hi--
On Nov 13, 2009, at 3:54 PM, David Allen wrote:
I'd consider adding something to /etc/rc.d/mountcritlocal (which
normally mounts the local filesystems) to setup a RAMdisk on /var and
then do rsync -a /var_template /var (or use a dump
I keep bumping up against this, so I thought I'd throw this question out
to those who understand sed better than I do.
What I'm trying to do is to clean up the contents of some files
(/sys/i386/conf/GENERIC would be a good example) to get more readable
diffs. To that end, I'm trying to use sed
On 8/3/09, Polytropon free...@edvax.de wrote:
On Sat, 1 Aug 2009 14:21:02 -0700, David Allen
the.real.david.al...@gmail.com wrote:
I need to create a FreeBSD installation on an SSD drive (connected via
a USB adaptor), and would like to do so manually so as to avoid the
use
I need to create a FreeBSD installation on an SSD drive (connected via a
USB adaptor), and would like to do so manually so as to avoid the use of
an installation CD, PXE or sysinstall.
1. When creating an /etc/fstab file, does the order in which entries
appear have any significance?
Sorry to have to ask a dumb question ...
I need to connect my notebook to another system using a serial
connection. Simple enough, but my notebook, unsurprisingly, has a USB
port, but no serial.
Is there such a thing as a USB-DB9(M) null modem cable? If not, would a
USB-DB9 adapter stuck on
I have a test system where I've accumulated a large number of jails. To
update them (I'm not using the method outlined in the Handbook), I'd like
to avoid mounting /usr/src and /usr/obj within each and then jexec-ing a
shell but instead, perform everything on the host system directly. Would
the
I'd like to move to using csup(1) and there's an error in the manpage
that's raising some questions for me:
OPTIONS
base=base The default base directory is /usr/local/etc/csup.
FILES
/usr/local/etc/cvsupDefault base directory.
sup
My apologies for asking on this list, but I'm stuck without Perl and need
to use awk to generate a report.
I'm working with a large data set spread across multiple files, but to
keep things simple, say I have A Very Long String that containing records,
each delimited by a single space. I need to
On 11/1/08, Jeremy Chadwick [EMAIL PROTECTED] wrote:
On Sat, Nov 01, 2008 at 06:21:55PM -0700, David Allen wrote:
My apologies for asking on this list, but I'm stuck without Perl and need
to use awk to generate a report.
I'm working with a large data set spread across multiple files
On 11/1/08, Gary Newcombe [EMAIL PROTECTED] wrote:
On Sat, 1 Nov 2008 18:21:55 -0700, David Allen
[EMAIL PROTECTED] wrote:
My apologies for asking on this list, but I'm stuck without Perl and need
to use awk to generate a report.
I'm working with a large data set spread across multiple
On 11/1/08, Sahil Tandon [EMAIL PROTECTED] wrote:
David Allen [EMAIL PROTECTED] wrote:
My apologies for asking on this list, but I'm stuck without Perl and need
to use awk to generate a report.
I'm working with a large data set spread across multiple files, but to
keep things simple, say I
Over the last few weeks I've been getting numerous ports scans, each from
unique hosts. The situation is more of an annoyance than anything else,
but I would prefer not seeing or having to deal with an extra 20-30K
entries in my logs as was the case recently.
I use pf for firewalling, and while
On 9/22/08, Ghirai [EMAIL PROTECTED] wrote:
On Mon, 22 Sep 2008 08:17:02 -0700
David Allen [EMAIL PROTECTED] wrote:
Over the last few weeks I've been getting numerous ports scans, each
from unique hosts. The situation is more of an annoyance than
anything else, but I would prefer not seeing
On 9/22/08, Greg Larkin [EMAIL PROTECTED] wrote:
David Allen wrote:
Over the last few weeks I've been getting numerous ports scans, each from
unique hosts. The situation is more of an annoyance than anything else,
but I would prefer not seeing or having to deal with an extra 20-30K
entries
On 9/22/08, Matthew Seaman [EMAIL PROTECTED] wrote:
David Allen wrote:
On 9/22/08, Ghirai [EMAIL PROTECTED] wrote:
On Mon, 22 Sep 2008 08:17:02 -0700
David Allen [EMAIL PROTECTED] wrote:
However, receiving SYN packets to ports 1024-4 isn't going to
match anything than a default block
On Fri, Jul 25, 2008 at 10:12 AM, Matthew Seaman
[EMAIL PROTECTED] wrote:
Chris Pratt wrote:
I'm now setting up a bind server in which the third alias
is the address for incoming DNS queries. It appears
it's responding but even though the queries come in
on the third alias, they go out
On Fri, Jul 18, 2008 at 1:46 AM, Wojciech Puchar
[EMAIL PROTECTED] wrote:
Just wondering if a box has 2 Ethernet cards with each card going to a
different gateway/network, is it possible to stick a jail on the machine
listening on one network interface and routing data out one
On Wed, Jul 9, 2008 at 9:44 PM, Fraser Tweedale [EMAIL PROTECTED] wrote:
Having read the man page (also, ntp.conf(5)), it is not apparent that
there is a way to tell it to bind only to a particular interface (or
particular interfaces). It would be nice if there is actually such a
feature, so
On Mon, Jul 7, 2008 at 2:01 PM, George Hartzell [EMAIL PROTECTED] wrote:
Did you take the necessary steps to restrict the IP addresses on which
sendmail on the host and the jail listen? The jail man page only
says:
I don't think anyone would get too far with jails in general if the
jail host
On Tue, Jul 8, 2008 at 2:24 AM, Mel [EMAIL PROTECTED] wrote:
On Monday 07 July 2008 18:51:33 David Allen wrote:
Granted, everything is really happening over the loopback address, but a
connection originating from the jailhost to a jail should appear to be
using the jailhost's IP address
On Tue, Jul 8, 2008 at 9:35 AM, Matthew Seaman
[EMAIL PROTECTED] wrote:
David Allen wrote:
There was a post recently (Matthew Seaman's name comes to mind) that
suggested binding jails to addresses in the loopback range and then
using firewall rules to redirect the traffic accordingly
On Tue, Jul 8, 2008 at 11:04 AM, Mel
[EMAIL PROTECTED] wrote:
On Tuesday 08 July 2008 19:07:02 Matthew Seaman wrote:
You can configure named to always send packets using a
fixed port number (which can be helpful for firewalling)
Purely outof interest, which (useful) firewall/nat rules cannot
On Sun, Jul 6, 2008 at 8:12 AM, Mel [EMAIL PROTECTED] wrote:
On Sunday 06 July 2008 16:06:49 David Allen wrote:
I need to make several wholesale changes to a few different systems,
and I'd prefer to do it over SSH without losing connectivity where
possible. I know I can use ifconfig, or edit
Unless I'm losing my mind, I'm encountering what seems to yet another
gotcha with jails. The following has been dumbed down for clarity and
brevity.
-
# hostname
jailhost.example.org
# host jailhost
jailhost.example.org has
On Mon, Jul 7, 2008 at 10:54 AM, Jason Morgan
[EMAIL PROTECTED] wrote:
On 2008.07.07 09:51:33, David Allen wrote:
Unless I'm losing my mind, I'm encountering what seems to yet another
gotcha with jails. The following has been dumbed down for clarity and
brevity
I need to make several wholesale changes to a few different systems,
and I'd prefer to do it over SSH without losing connectivity where
possible. I know I can use ifconfig, or edit /etc/rc.conf directly
and reboot, but is there a canonical way to make the changes in
/etc/rc.conf and reload those
On Mon, Jun 30, 2008 at 7:38 AM, Bob Johnson [EMAIL PROTECTED] wrote:
On 6/30/08, David Allen [EMAIL PROTECTED] wrote:
I've been seeing errors like the following appearing:
Jun 30 03:13:57 ford kernel: calcru: runtime went backwards from 261
usec to 258 usec for pid 516 (devd)
[...]
Jun 30
On Fri, Jun 27, 2008 at 3:01 PM, Derek Ragona
[EMAIL PROTECTED] wrote:
At 04:11 PM 6/27/2008, David Allen wrote:
I need to an '-s' flag to the execution of openntpd's rc script:
The problems I'm having are multiple. First, the program doesn't offer
any logging, and running it with the do
On 6/27/08, Paul Schmehl [EMAIL PROTECTED] wrote:
--On Friday, June 27, 2008 14:11:55 -0700 David Allen
[EMAIL PROTECTED] wrote:
I need to an '-s' flag to the execution of openntpd's rc script:
# PROVIDE: openntpd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: nojail
I've been seeing errors like the following appearing:
Jun 30 03:13:57 ford kernel: calcru: runtime went backwards from 261
usec to 258 usec for pid 516 (devd)
Jun 30 03:13:57 ford kernel: calcru: runtime went backwards from 4976
usec to 4926 usec for pid 367 (pflogd)
Jun 30 03:13:57 ford kernel:
I need to an '-s' flag to the execution of openntpd's rc script:
# PROVIDE: openntpd
# REQUIRE: DAEMON
# BEFORE: LOGIN
# KEYWORD: nojail
. /etc/rc.subr
name=openntpd
rcvar=`set_rcvar`
command=/usr/local/sbin/ntpd
required_files=/usr/local/etc/ntpd.conf
This may be a dumb question, but I'm puzzled by the following (taken
from the Virtual Hosts section in the Handbook):
For example, consider the case where the fxp0 interface is connected
to two networks, the 10.1.1.0 network with a netmask of
255.255.255.0 and the
On Wed, Apr 9, 2008 at 10:44 AM, RW wrote:
On Tue, 8 Apr 2008 13:14:45 -0700 David Allen wrote:
The advice I've read in several posts on the subject involve
everything from setting one, setting both, to ignoring both,
sometimes with the =? notation and sometimes without. And then, I've
The advice I've read in several posts on the subject involve everything
from setting one, setting both, to ignoring both, sometimes with the =?
notation and sometimes without. And then, I've read comments that suggest
when compiling the kernel, for example, both are ignored, and default
values
I've recently been examining the use of jails in FreeBSD, and I have some
questions I hope someone can shed some light on with respect to running
virtual servers in jails.
1. Upgrading. This probably a It Depends question, but if a host system
is upgraded (within version numbers), will the new
51 matches
Mail list logo