Hello
I'm in trouble with a simple shell script that give
erroneous value when running ...
If I run commands interactively everything runs well
ps ax | grep slapd | grep -v grep | wc -l
1
If I run in the following shell script :
#!/bin/sh
SD=0
SD=`ps -ax | grep slapd | grep -v grep |
Lots of warnings::
Deprecated: Directive 'register_long_arrays' is deprecated in PHP
5.3 and greater in Unknown on line 0
Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3
and greater in Unknown on line 0
PHP 5.3.5 with Suhosin-Patch (cli) (built: Jan 11 2011 12:31:01)
On 11/01/2011 16:46, Gary Kline wrote:
So:: are there other ways of installing this stuff? Should I
cp -rp this wordpress directory in [e.g.]
/usr/local/www/journey?
Thanks for any clues,
gary
It looks like you have a workign apache2 already.
Hello
is it possible to protect a single interface with IPFW
my server has only one interface and I want to
allow only SSH LDAP LDAPS
thanks for any examples
___
freebsd-questions@freebsd.org mailing list
On 12 January 2011 14:47, Frank Bonnet f.bon...@esiee.fr wrote:
Hello
is it possible to protect a single interface with IPFW
my server has only one interface and I want to
allow only SSH LDAP LDAPS
thanks for any examples
___
On 12 January 2011 15:01, krad kra...@gmail.com wrote:
On 12 January 2011 14:47, Frank Bonnet f.bon...@esiee.fr wrote:
Hello
is it possible to protect a single interface with IPFW
my server has only one interface and I want to
allow only SSH LDAP LDAPS
thanks for any examples
Thanks a lot !
On 01/12/2011 04:03 PM, krad wrote:
On 12 January 2011 15:01, kradkra...@gmail.com wrote:
On 12 January 2011 14:47, Frank Bonnetf.bon...@esiee.fr wrote:
Hello
is it possible to protect a single interface with IPFW
my server has only one interface and I want to
allow only
On Wed, Jan 12, 2011 at 9:01 AM, Frank Bonnet f.bon...@esiee.fr wrote:
Hello
I'm in trouble with a simple shell script that give
erroneous value when running ...
If I run commands interactively everything runs well
ps ax | grep slapd | grep -v grep | wc -l
1
If I run in the
On Wed, Jan 12, 2011 at 3:50 PM, Chad Kellerman sunck...@gmail.com wrote:
On Wed, Jan 12, 2011 at 9:01 AM, Frank Bonnet f.bon...@esiee.fr wrote:
Hello
I'm in trouble with a simple shell script that give
erroneous value when running ...
If I run commands interactively everything runs
On Wed, Jan 12, 2011 at 4:34 PM, Samuel Martín Moro faus...@gmail.comwrote:
On Wed, Jan 12, 2011 at 3:50 PM, Chad Kellerman sunck...@gmail.comwrote:
On Wed, Jan 12, 2011 at 9:01 AM, Frank Bonnet f.bon...@esiee.fr wrote:
Hello
I'm in trouble with a simple shell script that give
On Jan 12, 2011, at 10:43 AM, Samuel Martín Moro wrote:
On W
If I run in the following shell script :
#!/bin/sh
SD=0
SD=`ps -ax | grep slapd | grep -v grep | wc -l`
echo $SD
the result is 3 !!!
ps ax | grep [/]slapd | wc -l
ps ax | awk '/[/]slapd /{n++} END{print n}'
On Wed, 12 Jan 2011, Samuel Mart?n Moro wrote:
On Wed, Jan 12, 2011 at 3:50 PM, Chad Kellerman sunck...@gmail.com wrote:
On Wed, Jan 12, 2011 at 9:01 AM, Frank Bonnet f.bon...@esiee.fr wrote:
I'm in trouble with a simple shell script that give
erroneous value when running ...
If I run
Hi,
Is there a simple command to reset / clear everything in my /var/log? I've
done a lot of testing, configuring, trial and error and most of my logs are
just full of bullshit and I'd like a fresh start :-)
Thanks!
___
freebsd-questions@freebsd.org
Quoth Frank Bonnet on Wednesday, 12 January 2011:
Hello
I'm in trouble with a simple shell script that give
erroneous value when running ...
If I run commands interactively everything runs well
ps ax | grep slapd | grep -v grep | wc -l
1
If I run in the following shell script
(2011/01/13 01:00), Warren Block wrote:
On Wed, 12 Jan 2011, Samuel Mart?n Moro wrote:
On Wed, Jan 12, 2011 at 3:50 PM, Chad Kellerman sunck...@gmail.com
wrote:
On Wed, Jan 12, 2011 at 9:01 AM, Frank Bonnet f.bon...@esiee.fr
wrote:
I'm in trouble with a simple shell script that give
(2011/01/12 23:01), Frank Bonnet wrote:
Hello
I'm in trouble with a simple shell script that give
erroneous value when running ...
If I run commands interactively everything runs well
ps ax | grep slapd | grep -v grep | wc -l
1
If I run in the following shell script :
#!/bin/sh
SD=0
Hello,
It might be all right to remove all normal file logs,
though you may want to retain all subdirectories.
find /var/log -type f -exec rm {} \;
may do.
# sorry. I wouldn't do that rough and not tested.
# Basically, those are just incremental logs, whose
# lines are mostly not referred by
tia, folks.
--
Gary Kline kl...@thought.org http://www.thought.org Public Service Unix
Journey Toward the Dawn, E-Book: http://www.thought.org
The 7.97a release of Jottings: http://jottings.thought.org
___
newsyslog -F ?
On 1/12/2011 11:04 AM, Redd Vinylene wrote:
Hi,
Is there a simple command to reset / clear everything in my /var/log? I've
done a lot of testing, configuring, trial and error and most of my logs are
just full of bullshit and I'd like a fresh start :-)
Thanks!
On Thu, 13 Jan 2011 02:17:10 +0900, Ryuichiro Hara r...@kibug.org wrote:
Hello,
It might be all right to remove all normal file logs,
though you may want to retain all subdirectories.
find /var/log -type f -exec rm {} \;
may do.
Possible problem: Programs that log to files may be
2011-01-12 17:04, Redd Vinylene:
Hi,
Is there a simple command to reset / clear everything in my /var/log? I've
done a lot of testing, configuring, trial and error and most of my logs are
just full of bullshit and I'd like a fresh start :-)
Thanks!
Sometimes I use rm /var/log/*
Use with
Will the logs automatically create themselves? I mean, I picture I have to
manually touch a lotta them in order to avoid cannot find error messages?
On Wed, Jan 12, 2011 at 8:19 PM, Bernt Hansson be...@bah.homeip.net wrote:
2011-01-12 17:04, Redd Vinylene:
Hi,
Is there a simple command to
On Wed, Jan 12, 2011 at 10:02:38AM +, Paul Macdonald wrote:
Lots of warnings::
Deprecated: Directive 'register_long_arrays' is deprecated in PHP
5.3 and greater in Unknown on line 0
Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3
and greater in Unknown on line 0
On Wed, 12 Jan 2011 20:50:04 +0100, Redd Vinylene reddvinyl...@gmail.com
wrote:
Will the logs automatically create themselves?
Usually not, but it depends on the logging mechanism. If a
program continuously re-opens the file (after closing it)
in APPEND mode, it should be created if
/usr/local/etc/php.ini
That is the right file
On Wednesday, January 12, 2011 05:53:47 pm Gary Kline wrote:
On Wed, Jan 12, 2011 at 10:02:38AM +, Paul Macdonald wrote:
Lots of warnings::
Deprecated: Directive 'register_long_arrays' is deprecated in PHP
5.3 and greater in Unknown
On Wed, Jan 12, 2011 at 8:58 PM, Polytropon free...@edvax.de wrote:
# for FILE in /var/log/*; do cat /dev/null ${FILE}; done
That would be better than my first suggestion. You can exchange
the part /var/log/* for any `find ...` command that specifies
the intended target(s) of your operation
On Wed, Jan 12, 2011 at 05:58:12PM -0200, Rodrigo Gonzalez wrote:
/usr/local/etc/php.ini
That is the right file
Yep!
r...@ethic:/usr/local/etc# php -v
PHP 5.3.5 with Suhosin-Patch (cli) (built: Jan 12 2011 11:42:40) (DEBUG)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0,
On Wed, 12 Jan 2011 12:35:04 -0800, Gary Kline kl...@thought.org wrote:
What should I turn on or off
in the Makefile [or using `make config']?
Allow me a quite general comment: Do not modify a port's
Makefile directly. The interface to selectable options is
usually given by make config or
I have an older FreeBSD 6.x machine that I need to install some sort of IP
traffic logging daemon on. (This machine is being updated soon to latest
-STABLE). I had one once on another machine years ago but I forget the name.
It basically just gave me a text file log with aggregate data to
r...@ethic:/usr/local/etc# php -v
PHP 5.3.5 with Suhosin-Patch (cli) (built: Jan 12 2011 11:42:40) (DEBUG)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
r...@ethic:/usr/local/etc#
Now, as a last re-try to get my wordpress blog port
On Wed, Jan 12, 2011 at 11:01:03PM +, Paul Macdonald wrote:
r...@ethic:/usr/local/etc# php -v
PHP 5.3.5 with Suhosin-Patch (cli) (built: Jan 12 2011 11:42:40) (DEBUG)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
On Wed, Jan 12, 2011 at 11:01:03PM +, Paul Macdonald wrote:
r...@ethic:/usr/local/etc# php -v
PHP 5.3.5 with Suhosin-Patch (cli) (built: Jan 12 2011 11:42:40) (DEBUG)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
Gary Kline wrote:
[snip]
autoconf: required version 2.68 not found
*** Error code 1
Stop in /usr/ports/security/php5-hash.
*** Error code 1
Stop in /usr/ports/lang/php5-extensions.
*** Error code 1
Stop in /usr/ports/lang/php5-extensions.
Setting these environment variables prior
Hello,
I just came from visiting your website (
http://www.freebsd.org/fr/gallery/pgallery.html)
and found a few links that aren't working and thought you should know:
404 Not Found - http://www.peacesex.com
404 Not Found - http://www.whizkidtech.net/cgi-bin/tutorial/
404 Not Found -
On Wed, Jan 12, 2011 at 08:21:45PM +0100, Polytropon wrote:
On Thu, 13 Jan 2011 02:17:10 +0900, Ryuichiro Hara r...@kibug.org wrote:
Hello,
It might be all right to remove all normal file logs,
though you may want to retain all subdirectories.
find /var/log -type f -exec rm {} \;
I'm aware that this is not an awk question list, but I'm
confident there are many awk gurus here who can surely
help me with such a stupid problem. I also know that I
get more and more stupid myself for NOT being able to
solve this, even after... some nearly infinite time. :-)
I have strings of
On Thu, 13 Jan 2011 01:00:17 -0500, Tom Limoncelli t...@whatexit.org wrote:
$ awk data.txt experiment.txt '{ num = $1 ; sub(/[^0-9]+$/, ,
num) ; lets = $1 ; sub(/^[0-9]+/, , lets); print num lets }' ;
diff -cw control.txt experiment.txt
$ # The above puts a space at the end of the first 3
On Thu, Jan 13, 2011 at 12:28 AM, Polytropon free...@edvax.de wrote:
I have strings of the form either number(s) or
number(s)letter. I catch them with
...
where nr is the name of the string. What I need
is a simple space between number(s) and letter,
so for example 12a would get 12 a, 6d
From owner-freebsd-questi...@freebsd.org Wed Jan 12 10:09:51 2011
Date: Wed, 12 Jan 2011 17:04:26 +0100
From: Redd Vinylene reddvinyl...@gmail.com
To: questions questi...@freebsd.org
Cc:
Subject: Simple command to reset / clear all logs?
Hi,
Is there a simple command to reset / clear
On Wednesday 12 January 2011 17:58:33 David Scheidt wrote:
ps ax | grep [s]lapd | wc -l
The [] creates a one-character class that doesn't match the regex. Easier
to type and grep should be a bit faster.
And you can save another process by using
ps ax | grep -c '[s]lapd'
Although as
On Wed, Jan 12, 2011 at 1:50 PM, Redd Vinylene reddvinyl...@gmail.comwrote:
Will the logs automatically create themselves? I mean, I picture I have to
manually touch a lotta them in order to avoid cannot find error messages?
Please don't top post.
do something like this:
shutdown now
rm
41 matches
Mail list logo