On Wed, Jan 12, 2011 at 1:50 PM, Redd Vinylene wrote:
> 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 /var/log/*
exit
upon
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 o
> 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
> To: questions
> Cc:
> Subject: Simple command to reset / clear all logs?
>
> Hi,
>
> Is there a simple command to reset / clear everything in my /var/log? I've
> d
On Thu, Jan 13, 2011 at 12:28 AM, Polytropon wrote:
> I have strings of the form either "" or
> "". I catch them with
...
> where "nr" is the name of the string. What I need
> is a simple space between and ,
> so for example "12a" would get "12 a", "6d" would
> get "6 d", and "58" would stay unc
On Thu, 13 Jan 2011 01:00:17 -0500, Tom Limoncelli 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 lines
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 th
On Wed, Jan 12, 2011 at 08:21:45PM +0100, Polytropon wrote:
> On Thu, 13 Jan 2011 02:17:10 +0900, Ryuichiro Hara 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 {} \;
>
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 - http://c3619
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 variabl
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
> >r...@ethic
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
> >r...@ethic
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
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 e
On Wed, 12 Jan 2011 12:35:04 -0800, Gary Kline 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 the configura
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.
On Wed, Jan 12, 2011 at 8:58 PM, Polytropon 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 better t
/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 grea
On Wed, 12 Jan 2011 20:50:04 +0100, Redd Vinylene
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 non-existent. But
if the program
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 Un
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 wrote:
> 2011-01-12 17:04, Redd Vinylene:
>
> Hi,
>>
>> Is there a simple command to reset / clea
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 utmo
On Thu, 13 Jan 2011 02:17:10 +0900, Ryuichiro Hara 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 confused
t
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!
___
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
___
freebsd-questi
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
(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
(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
wrote:
On Wed, Jan 12, 2011 at 9:01 AM, Frank Bonnet
wrote:
I'm in trouble with a simple shell script that give
erroneous value when running ...
If I r
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 s
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 mai
On Wed, 12 Jan 2011, Samuel Mart?n Moro wrote:
On Wed, Jan 12, 2011 at 3:50 PM, Chad Kellerman wrote:
On Wed, Jan 12, 2011 at 9:01 AM, Frank Bonnet wrote:
I'm in trouble with a simple shell script that give
erroneous value when running ...
If I run commands interactively everything runs w
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
On Wed, Jan 12, 2011 at 4:34 PM, Samuel Martín Moro wrote:
>
>
> On Wed, Jan 12, 2011 at 3:50 PM, Chad Kellerman wrote:
>
>> On Wed, Jan 12, 2011 at 9:01 AM, Frank Bonnet wrote:
>>
>> > Hello
>> >
>> > I'm in trouble with a simple shell script that give
>> > erroneous value when running ...
>> >
On Wed, Jan 12, 2011 at 3:50 PM, Chad Kellerman wrote:
> On Wed, Jan 12, 2011 at 9:01 AM, 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
On Wed, Jan 12, 2011 at 9:01 AM, 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 s
Thanks a lot !
On 01/12/2011 04:03 PM, krad wrote:
On 12 January 2011 15:01, krad wrote:
On 12 January 2011 14:47, Frank Bonnet 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 ex
On 12 January 2011 15:01, krad wrote:
>
>
> On 12 January 2011 14:47, Frank Bonnet 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 14:47, Frank Bonnet 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
>
> ___
> freebsd-questions@freebsd
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
http://lists.freebsd.org/mailman/listinfo/free
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.
*For
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)
(DEBUG)
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 |
41 matches
Mail list logo