Re: if anyone needs OOo 3.0.1 i386 package

2009-03-29 Thread Ghirai
On Sat, 28 Mar 2009 18:45:43 -0600
Tim Judd taj...@gmail.com wrote:

 On Sat, Mar 28, 2009 at 5:24 PM, Ghirai ghi...@ghirai.com wrote:
 
  Seeing as good-day.net only has packages for amd64,
  i figured i'd make one; it only took about 9 hours or so :P
 
  http://ghirai.com/openoffice.org-3.0.1.tbz (~130MiB)
 
  Created with pkg_create -b on 7.1.
  Tried to install on another box and it worked fine, provided you
  have the required deps installed.
 
  --
  Regards,
  Ghirai.
 
 
 
 
 What options (config), if any, did you build with?

-DWITHOUT_MOZILLA

-- 
Regards,
Ghirai.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


[OT] - Best Practices(TM) for Configuration File Changes

2009-03-29 Thread Glen Barber
Hello, list.

Before I pose my question, I am not intending to start a flame-war of
any sort -- I'm just searching for different ways of doing things.

With so many different version control systems available (aside from
the traditional keep current backups solution), I am curious:

Q:  What is *your* favorite/suggestion solution to keep (working)
versions of configuration files, in case something goes awry?

I am specifically targeting configuration files because they are what
I change the most, in avoidance of It worked 10 minutes ago...
situations.

Cheers,

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [OT] - Best Practices(TM) for Configuration File Changes

2009-03-29 Thread Giorgos Keramidas
On Sun, 29 Mar 2009 07:37:27 -0400, Glen Barber glen.j.bar...@gmail.com wrote:
 Hello, list.

 Before I pose my question, I am not intending to start a flame-war of
 any sort -- I'm just searching for different ways of doing things.

 With so many different version control systems available (aside from
 the traditional keep current backups solution), I am curious:

 Q: What is *your* favorite/suggestion solution to keep (working)
 versions of configuration files, in case something goes awry?

 I am specifically targeting configuration files because they are what
 I change the most, in avoidance of It worked 10 minutes ago...
 situations.

The base system of FreeBSD includes RCS[1].  I regularly use it to
track changes to individual files.  The advantage of RCS is that it is
easy to use from a system that is barely `up', i.e. a system that has
just been brought up to single user mode.  No special daemons or other
sort of service is required, no ports to be installed, and so on.  I
can usually just run something like:

[1] http://www.gnu.org/software/rcs/

# cd /boot
# rlog loader.conf

RCS file: RCS/loader.conf,v
Working file: loader.conf
head: 1.5
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 5; selected revisions: 5
description:

revision 1.5
date: 2009/03/27 17:58:59;  author: root;  state: Exp;  lines: +2 -1
Autoload acpi_ibm.ko for the extra Thinkpad X61s tunables.

[more output snipped]
#

Whenever I want to look at a change, I can use `rcsdiff':

# cd /boot
# rcsdiff -u -r1.4 loader.conf
===
RCS file: RCS/loader.conf,v
retrieving revision 1.4
diff -u -r1.4 -r1.5
--- loader.conf 2009/02/17 20:26:14 1.4
+++ loader.conf 2009/03/27 17:58:59 1.5
@@ -9,6 +9,7 @@
 legal.intel_iwn.license_ack=1

 # Autoloaded modules.
+acpi_ibm_load=YES
 snd_hda_load=YES
 #zfs_load=YES
 if_iwn_load=YES
#

The co(1) and ci(1) utilities are relatively easy to learn.  Whenever
a permanent change has to be made, I can use:

# cd /path/to/file
# rcsdiff -u filename

If this shows changes they are probably uncommitted changes I have
made without recording when or why.  This is usually an indication of
some sort of 'temporary hack'.  I review the diff, and either commit
it or throw it away.  Then I check out a clean copy of the file, make
the new permanent changes, review the changes one last time with the
`rcsdiff' command, and commit them again.

# co -l filename
# vi filename
# rcsdiff -u filename
# ci -l filename

As an extra bonus, when a system is fully up and running, there is
very good integration of RCS with GNU Emacs, so I can edit the files
directly from my Emacs session, view diffs with older revisions, roll
a bunch of files back or forward through history, and do whatever else
is supported by the VC mode[2] of Emacs:

[2] http://www.emacswiki.org/cgi-bin/wiki/VersionControl

RCS is not really 'modern', i.e. it does not support changesets with
multiple files (each file has its own separate, per-file history), and
it does not support elaborate file merging techniques (like some of
the modern distributed VC systems).  But it is always there, it does
the Right Thing with file permissions and file ownership, and is well
integrated with my favorite editor.  That's more than enough for now :)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [OT] - Best Practices(TM) for Configuration File Changes

2009-03-29 Thread Glen Barber
Hi, Roger

On Sun, Mar 29, 2009 at 8:20 AM, Roger Olofsson 240olofs...@telia.com wrote:
 For local configuration files there's a tool called rcs that can be used for
 tracking changes and rollback.

 It's a part of the FreeBSD base system. Check the man pages for rcs(1) ci(1)
 co(1) rcsdiff(1) and rcsintro(1) - rcsintro(1) is probably where you want to
 start.

 It's also available on other *nix systems like AIX, Red Hat, Solaris etc.


I received a reply (off-list) mentioning the same tool.  My response was:

I was fairly certain that I would get rcs in a reply.  I haven't used
it too extensively, but it seems similar to cvs / svn -- which I
personally like.  I was more curious if people actually do use rcs for
this purpose.

It appears rcs is the right tool for the job.

Thanks for the reply!

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [OT] - Best Practices(TM) for Configuration File Changes

2009-03-29 Thread Roland Smith
On Sun, Mar 29, 2009 at 07:37:27AM -0400, Glen Barber wrote:
 Hello, list.
 
 Before I pose my question, I am not intending to start a flame-war of
 any sort -- I'm just searching for different ways of doing things.
 
 With so many different version control systems available (aside from
 the traditional keep current backups solution), I am curious:
 
 Q:  What is *your* favorite/suggestion solution to keep (working)
 versions of configuration files, in case something goes awry?
 
 I am specifically targeting configuration files because they are what
 I change the most, in avoidance of It worked 10 minutes ago...
 situations.

My configuration files are kept in git managed directories under
~/setup/hostname.  Every hostname directory is its own
repository. The reason that I'm using git is because it does what I
need, is small and fast and doesn't require an external reporitory. For
configuration files which are usually plain text all revision control
systems would probably work OK.

Every directory contains two perl scripts, check.pl and install.pl that
respectively check the differences between files in the repository and
in the filesystem and install files. Both these programs read a file
called 'filelist.username'. This is a text file that has on every line
a file in the reposirory, a permission, and its location in the
filesystem (e.g. under /etc or /usr/local/etc for user root, or in $HOME
for other users) and any post-install commands. Both scripts only
process the filelists for the user that is running the script.

Excerpt from filelist.root:

# List of files that should be installed as root,
# with their install locations.
# Time-stamp: 2009-03-04 20:52:39 rsmith
# setup filepermsystem file commands
etc/login.conf  644 /etc/login.conf cap_mkdb /etc/login.conf
etc/make.conf   644 /etc/make.conf
etc/manpath.config  644 /etc/manpath.config
etc/master.passwd   600 /etc/master.passwd  pwd_mkdb -p 
/etc/master.passwd
etc/mergemaster.rc  644 /etc/mergemaster.rc
etc/named.conf  644 /var/named/etc/namedb/named.conf
etc/ntp.conf644 /etc/ntp.conf   /etc/rc.d/ntpd restart

The file from the first column is installed in the location in the third
column with the permissions listed in the second column. The rest of the
line (if any) is interpreted as a list of commands and executed by a subshell.

This system makes it easy to see if there are any differences between
the configuration files in the repository and the real configuration
files (e.g. after a mergemaster run). And it can install every file in
its correct place. It also makes sure that users can only install their
own files, by reading only that user's filelist.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpFyDwfajseu.pgp
Description: PGP signature


Re: [OT] - Best Practices(TM) for Configuration File Changes

2009-03-29 Thread Glen Barber
Hi, Roland.

On Sun, Mar 29, 2009 at 8:45 AM, Roland Smith rsm...@xs4all.nl wrote:

 My configuration files are kept in git managed directories under
 ~/setup/hostname.  Every hostname directory is its own
 repository. The reason that I'm using git is because it does what I
 need, is small and fast and doesn't require an external reporitory. For
 configuration files which are usually plain text all revision control
 systems would probably work OK.

 Every directory contains two perl scripts, check.pl and install.pl that
 respectively check the differences between files in the repository and
 in the filesystem and install files. Both these programs read a file
 called 'filelist.username'. This is a text file that has on every line
 a file in the reposirory, a permission, and its location in the
 filesystem (e.g. under /etc or /usr/local/etc for user root, or in $HOME
 for other users) and any post-install commands. Both scripts only
 process the filelists for the user that is running the script.


[snip]

I currently use subversion for my University work (primarily because
of how well it handles binary files).  SVN seems to be a bit overkill
for what I am looking for.


 The file from the first column is installed in the location in the third
 column with the permissions listed in the second column. The rest of the
 line (if any) is interpreted as a list of commands and executed by a subshell.

 This system makes it easy to see if there are any differences between
 the configuration files in the repository and the real configuration
 files (e.g. after a mergemaster run). And it can install every file in
 its correct place. It also makes sure that users can only install their
 own files, by reading only that user's filelist.


I'll have to play around with this -- interesting.

Thanks!


-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can't upgrade to 7.1-RELEASE

2009-03-29 Thread Jerry McAllister
On Sun, Mar 29, 2009 at 02:41:23AM +0200, Reinis Ivanovs wrote:

 Hello,
 
 I'm trying to upgrade a 7.0 system to 7.1-RELEASE, and it isn't
 working. I switch to the superuser, do freebsd-update upgrade -r
 7.1-RELEASE, and then when I try running freebsd-update install, I
 get this:
 
  .chflags: ///.profile: Operation not supported
 
 Any hints as to what could be the problem?

Well, it looks like someone set the   'schg'   flag on the  .profile  file.

You need to do  'chgflags noscgg FILENAME'  on the file - probably from root.

jerry


 
 Best,
 R. http://dabas.untu.ms/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: [OT] - Best Practices(TM) for Configuration File Changes

2009-03-29 Thread Roger Olofsson



Glen Barber skrev:

Hello, list.

Before I pose my question, I am not intending to start a flame-war of
any sort -- I'm just searching for different ways of doing things.

With so many different version control systems available (aside from
the traditional keep current backups solution), I am curious:

Q:  What is *your* favorite/suggestion solution to keep (working)
versions of configuration files, in case something goes awry?

I am specifically targeting configuration files because they are what
I change the most, in avoidance of It worked 10 minutes ago...
situations.

Cheers,



Hi Glen,

For local configuration files there's a tool called rcs that can be used 
for tracking changes and rollback.


It's a part of the FreeBSD base system. Check the man pages for rcs(1) 
ci(1) co(1) rcsdiff(1) and rcsintro(1) - rcsintro(1) is probably where 
you want to start.


It's also available on other *nix systems like AIX, Red Hat, Solaris etc.

/R
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Software installasion (Was: Re: Wine without X)

2009-03-29 Thread Barnaby Scott

Mel Flynn wrote:

On Saturday 28 March 2009 13:06:44 Robert Huff wrote:

Mel Flynn writes:

  Can I ask one more possibly really dumb question, to which I
   can find no answer: Is there a 'conventional', or sensible
   for one reason oranother, place to download application source to?

 Most systems I use or inherited use a variation of ~/src ~/cvs or
 ~/svn, where src are the tarballs + their extracted source and
 cvs/svn checkouts and/or exports.

I have never done this, but if I were running a private ports
tree I would be tempted to root it (if not on a separate partition)
at /usr/priv_ports or something similar and have the structure
minic /usr/ports whereever possible.  The name would then be
semi-intuitive, and a simple change of a few environment variables
(perhaps in the login file of an account dedicated to working on
those ports) would be all it took to change the framework.


A private portstree (as in: uses the ports framework for compiling and 
installing software, including registering the port in /var/db/pkg) is best 
kept in /usr/ports/local. One needs to set VALID_CATEGORIES=local in 
/etc/make.conf and optionally add SUBDIR+=local in /usr/ports/Makefile.local 
if one cares about the ports ending up in the INDEX and make search.


Ideally software not registering itself inside /var/db/pkg (as in software 
compiled by hand) should NOT be installed in $LOCALBASE (/usr/local by 
default) as there is no guarantee through the ports CONFLICTS mechanism, that 
a port overwrites files installed by your hand-compiled software.





Many thanks to all who have helped on this one.

I managed to get wine installed without X and it works :) However my
application doesn't :(

Most of the errors are concerned with MS Visual C++ libraries, which I
have unconfirmed indications might be solved with 'winetricks'
http://wiki.winehq.org/winetricks. However, I think using winetricks
means I need X anyway. So, I will leave it for now and try again after a
bit more research.

Thanks for all the ideas about where to download/install custom apps -
the one that appeals most at this stage is a jail, partly because I have
never played with them, and I think I should progress my learning in
that direction. However I find the other answers very useful insights
too. Given that winetricks calls itself a 'quick and dirty script',
along with the fact that the current wine port doesn't work, I think I
see another manual installation coming on.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can't upgrade to 7.1-RELEASE

2009-03-29 Thread Reinis Ivanovs
Thanks, that did the trick. I commented out the chflags and the script
finished successfuly. That makes sense, since the kernel security
level was -1, so chflags shouldn't matter.

R. http://dabas.untu.ms/



On Sun, Mar 29, 2009 at 16:04, Jerry McAllister jerr...@msu.edu wrote:
 On Sun, Mar 29, 2009 at 02:41:23AM +0200, Reinis Ivanovs wrote:

 Hello,

 I'm trying to upgrade a 7.0 system to 7.1-RELEASE, and it isn't
 working. I switch to the superuser, do freebsd-update upgrade -r
 7.1-RELEASE, and then when I try running freebsd-update install, I
 get this:

  .chflags: ///.profile: Operation not supported

 Any hints as to what could be the problem?

 Well, it looks like someone set the   'schg'   flag on the  .profile  file.

 You need to do  'chgflags noscgg FILENAME'  on the file - probably from 
 root.

 jerry



 Best,
 R. http://dabas.untu.ms/
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Software installasion (Was: Re: Wine without X)

2009-03-29 Thread Paul Schmehl
--On March 29, 2009 11:03:03 AM -0500 Barnaby Scott b...@waywood.co.uk 
wrote:


Many thanks to all who have helped on this one.

I managed to get wine installed without X and it works :) However my
application doesn't :(

Most of the errors are concerned with MS Visual C++ libraries, which I
have unconfirmed indications might be solved with 'winetricks'
http://wiki.winehq.org/winetricks. However, I think using winetricks
means I need X anyway. So, I will leave it for now and try again after a
bit more research.



Sounds like missing dlls.  You *may* be able to just copy the missing dlls 
into the wine lib directory and get the application to work.  I would 
examine the error messages closely to see what dlls it trying to find and 
can't.


Paul Schmehl, If it isn't already
obvious, my opinions are my own
and not those of my employer.
**
WARNING: Check the headers before replying

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: analyzing httpd-error.log

2009-03-29 Thread Charles Howse


On Mar 28, 2009, at 11:51 PM, Olivier Nicole wrote:


Hi,


Webalizer is doing what it's supposed to with httpd-access.log, but
when I give it the error log to process is coughs, spits and spills
out errors with no data processed.  My research hasn't turned up a
good solution for webalizer and -error.log.


The format of error log is pretty much different from the format of
transfer log. No wonder webalizer is not liking it. You may have to
write your own format for th error log.


Well, can anyone suggest a port that will parse the error.log and  
output it to a web page that's easy to read?


Also, in httpd.conf what level of detail should I set in the error.log  
to get the most information.  It's currently set to 'warn', which I  
understand to be 'warn' and everything more critical than that.  I  
don't care about the size of the log, or the amount of garbage per line.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


init panic in freebsd 7.1

2009-03-29 Thread Tsu-Fan Cheng
Hi,
I was having a little trouble with my computer, first thought was
that the mboard was fried, but later found out it was the power supply
and replaced it. The computer started but failed to boot, here is what
it's been complaining,

exec /sbin/init error 8
exec /sbin/init.bak error 8
exec /rescue/init error8

init: not found in path /sbin/ (a lot of paths)

panic: no init


what is that??

TFC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Software installasion (Was: Re: Wine without X)

2009-03-29 Thread User Wblock

On Sun, 29 Mar 2009, Barnaby Scott wrote:

Thanks for all the ideas about where to download/install custom apps -
the one that appeals most at this stage is a jail, partly because I have
never played with them, and I think I should progress my learning in
that direction. However I find the other answers very useful insights
too. Given that winetricks calls itself a 'quick and dirty script',
along with the fact that the current wine port doesn't work,


Today's updated wine-1.1.18,1 port works now.

-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: init panic in freebsd 7.1

2009-03-29 Thread Polytropon
On Sun, 29 Mar 2009 14:23:13 -0400, Tsu-Fan Cheng tfch...@gmail.com wrote:
 init: not found in path /sbin/ (a lot of paths)
 panic: no init
 
 what is that??

The init process is the root of the FreeBSD startup, and the last
part of the OS loader cannot find it, so the OS cannot start.

http://www.freebsd.org/cgi/man.cgi?query=initapropos=0sektion=8manpath=FreeBSD+7.1-RELEASEformat=ascii

You can use a live system CD of FreeBSD (6, 7) or FreeSBIE to boot
the system with this CD, it should work. Then you can mount your
/ partition and check the existance of init which usually is
/sbin/init. Don't forget to fsck the hard disk, maybe due to the
failing power supply you had some damages on the hard disk (file-wise),
or even worse...




-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: analyzing httpd-error.log

2009-03-29 Thread Glen Barber
On Sun, Mar 29, 2009 at 1:33 PM, Charles Howse cho...@charter.net wrote:

 On Mar 28, 2009, at 11:51 PM, Olivier Nicole wrote:

 Hi,

 Webalizer is doing what it's supposed to with httpd-access.log, but
 when I give it the error log to process is coughs, spits and spills
 out errors with no data processed.  My research hasn't turned up a
 good solution for webalizer and -error.log.


What are the errors?

 The format of error log is pretty much different from the format of
 transfer log. No wonder webalizer is not liking it. You may have to
 write your own format for th error log.

 Well, can anyone suggest a port that will parse the error.log and output it
 to a web page that's easy to read?


Webalizer is probably your best bet.

 Also, in httpd.conf what level of detail should I set in the error.log to
 get the most information.  It's currently set to 'warn', which I understand
 to be 'warn' and everything more critical than that.  I don't care about the
 size of the log, or the amount of garbage per line.

The 'debug' log level will provide the most verbosity.

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Webcam support in FreeBSD?

2009-03-29 Thread Yuri

There are three Linux drivers supported under emulation code:
devel/linux-kmod-compat 
http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/linux-kmod-compat/, 
multimedia/linux-gspca-kmod 
http://www.freebsd.org/cgi/cvsweb.cgi/ports/multimedia/linux-gspca-kmod/, 
multimedia/linux-ov511-kmod 
http://www.freebsd.org/cgi/cvsweb.cgi/ports/multimedia/linux-ov511-kmod/.


I couldn't find hardware compatibility list for FreeBSD.
There is one for Linux ov511 driver here: 
http://ovcam.org/ov511/cameras.html.


Are any cameras really working under FreeBSD?
Can they be used from Linux Skype on FreeBSD?

Thanks,
Yuri
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Binary upgrade 7.1 i386 - amd64 ?

2009-03-29 Thread Frederique Rijsdijk

On Fri, 13 Mar 2009 09:05:12 +0100, Frederique Rijsdijk
frederi...@isafeelin.org wrote:
 I'm planning to binary upgrade a machine that's now running i386
 7.1-RELEASE-p3 to AMD64. 

Just to follow up on my quest here..

The upgrade went fine. Most ports were broken as expected. I gave up trying
to recompile everything after a while, tripping over errors all over the
place. Weird ones. The mountain of errors in front of me just never got any
smaller. 

Ended up deleting all ports (pkg_delete -f \* is not something you do alot)
and /usr/local/lib. This left me with configuration files of all the apps I
had installed, as well as /var/db/ports/*. I simply recompiled the complete
of apps that was installed, and after a day or so of compiling all is
working again. No further work required. Amazing stuff! 

I find it amazing that even when things go really wrong in BSD (of course I
did that :), it's quite easy to recover from such a aituation. Just all the
port compiler options (/var/db/ports/*) and all the conf files of the apps
is enough to recover - even from source. At the end of the day, it put a
big smile on my face.

Just had to say it!


-- Frederique


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: analyzing httpd-error.log

2009-03-29 Thread Charles Howse


On Mar 29, 2009, at 1:54 PM, Glen Barber wrote:

On Sun, Mar 29, 2009 at 1:33 PM, Charles Howse cho...@charter.net  
wrote:


On Mar 28, 2009, at 11:51 PM, Olivier Nicole wrote:


Hi,


Webalizer is doing what it's supposed to with httpd-access.log, but
when I give it the error log to process is coughs, spits and spills
out errors with no data processed.  My research hasn't turned up a
good solution for webalizer and -error.log.




What are the errors?


Intrusion attempts, (a few) bad links in my website, also I use the  
error.log to troubleshoot cgi scripts.




The format of error log is pretty much different from the format of
transfer log. No wonder webalizer is not liking it. You may have to
write your own format for th error log.


Well, can anyone suggest a port that will parse the error.log and  
output it

to a web page that's easy to read?



Webalizer is probably your best bet.

Also, in httpd.conf what level of detail should I set in the  
error.log to
get the most information.  It's currently set to 'warn', which I  
understand
to be 'warn' and everything more critical than that.  I don't care  
about the

size of the log, or the amount of garbage per line.


The 'debug' log level will provide the most verbosity.


Thanks, Glen.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Newsyslog mode on /var/log/security?

2009-03-29 Thread Roger Olofsson

Dear mailing list,

I seem to have forgotten something about /var/log/security and 
newsyslog.conf. I get wrong mode after the trim.


Excerpt from /etc/newsyslog.conf:
/var/log/security   644  7 5000 * JC

Output from newsyslog -vn:
chmod 600 /var/log/security.0.bz2

Why is the mode not 644?

/etc/rc.d/syslogd restart and newsyslog restart have been performed.

/R

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


6.x - 7.1

2009-03-29 Thread Grant Peel

Hi all,

We have (finally) made the decision to move our server (10 -Dell) from 
Toronto to a newer data center closer to our office in London.


Before I ask this question, I would like to ensure everyone I will be 
reading all the docs I can find, but since the upgrade will be much work, I 
thought I would ask the question here anyways :-)


Question: given the items below, should I expext the make and build of 
FreeBSD and the software below, to go pretty much as it did in 6.x? (Does 
anyone know of any showstoppers)?


All software below has/will be built from ports.

Synopsis:

10 Dell 1U Rack servers (Intel Based, SCSI) more or less standard entry 
level servers)

All running
-FreeBSD 6.x,
-Apache 2.2.x
-Mysql Server 4.x
-PHP 4.x
-Perl 5.x
-Exim 4.6x
-Spamassassin etc etc

TIA,

-Grant 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: 6.x - 7.1

2009-03-29 Thread fquest

Grant Peel wrote:

Hi all,

We have (finally) made the decision to move our server (10 -Dell) from
Toronto to a newer data center closer to our office in London.

Before I ask this question, I would like to ensure everyone I will be
reading all the docs I can find, but since the upgrade will be much
work, I thought I would ask the question here anyways :-)

Question: given the items below, should I expext the make and build of
FreeBSD and the software below, to go pretty much as it did in 6.x?
(Does anyone know of any showstoppers)?

All software below has/will be built from ports.

Synopsis:

10 Dell 1U Rack servers (Intel Based, SCSI) more or less standard entry
level servers)
All running
-FreeBSD 6.x,
-Apache 2.2.x
-Mysql Server 4.x
-PHP 4.x
-Perl 5.x
-Exim 4.6x
-Spamassassin etc etc

TIA,

-Grant


I did much similar with NO issues.
HOWEVER. I 'upgraded' to MySQL 5.x
BIG MISTAKE.
5 is considerably slower than 4. Do not move to 5 unless/until you need
the journaling features (and other features) of 5.

Otherwise, your transition should be seamless.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org






--
Jim Pazarena  fqu...@ccstores.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Where is the Perl XML::Parser port

2009-03-29 Thread af300wsm

Hi,

I'm installing the latest gimp and get to a point in the install where it  
says:


checking for perl... /usr/bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module is  
required for intltool



So, I've done some searches at freshports.org and I cannot find the  
XML::Parser perl module anywhere in the ports tree. What is it under?


Thanks,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: Webcam support in FreeBSD?

2009-03-29 Thread Ramiro Caso

 Date: Sun, 29 Mar 2009 12:09:42 -0700
 From: y...@rawbw.com
 To: freebsd-questions@freebsd.org
 Subject: Webcam support in FreeBSD?
 
 There are three Linux drivers supported under emulation code:
 devel/linux-kmod-compat 
 http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/linux-kmod-compat/, 
 multimedia/linux-gspca-kmod 
 http://www.freebsd.org/cgi/cvsweb.cgi/ports/multimedia/linux-gspca-kmod/, 
 multimedia/linux-ov511-kmod 
 http://www.freebsd.org/cgi/cvsweb.cgi/ports/multimedia/linux-ov511-kmod/.
 
 I couldn't find hardware compatibility list for FreeBSD.
 There is one for Linux ov511 driver here: 
 http://ovcam.org/ov511/cameras.html.
 
 Are any cameras really working under FreeBSD?
 Can they be used from Linux Skype on FreeBSD?

Maybe you could check out:

http://info.iet.unipi.it/~luigi/FreeBSD/usb-cameras.html

That seems to me a place to start... (if you find out something, please share!! 
I have the same concern)

 
 Thanks,
 Yuri
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

_
¿Querés saber cómo va a estar el clima mañana? Ingresá ahora a MSN
http://tiempo.ar.msn.com/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Where is the Perl XML::Parser port

2009-03-29 Thread Paul B. Mahol
On 3/29/09, af300...@gmail.com af300...@gmail.com wrote:
 Hi,

 I'm installing the latest gimp and get to a point in the install where it
 says:

 checking for perl... /usr/bin/perl
 checking for XML::Parser... configure: error: XML::Parser perl module is
 required for intltool


 So, I've done some searches at freshports.org and I cannot find the
 XML::Parser perl module anywhere in the ports tree. What is it under?

 whereis p5-XML-Parser
p5-XML-Parser: /usr/ports/textproc/p5-XML-Parser

-- 
Paul
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Where is the Perl XML::Parser port

2009-03-29 Thread Anton Yuzhaninov
On Sun, 29 Mar 2009 22:07:42 +, af300...@gmail.com wrote:
awgc So, I've done some searches at freshports.org and I cannot find the  
awgc XML::Parser perl module anywhere in the ports tree. What is it under?

/usr/ports/textproc/p5-XML-Parser/

-- 
 Anton Yuzhaninov

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Newsyslog mode on /var/log/security?

2009-03-29 Thread Garance A Drosehn

At 10:48 PM +0200 3/29/09, Roger Olofsson wrote:

Dear mailing list,

I seem to have forgotten something about /var/log/security and 
newsyslog.conf. I get wrong mode after the trim.


Excerpt from /etc/newsyslog.conf:
/var/log/security   644  7 5000 * JC



Are you sure that's the only line you have for /var/log/security in
your /etc/newsyslog.conf file?  The distributed config file has:

/var/log/security   600  10100  * JC

Obviously you have a different entry from that, but did you remove
the original entry?


Output from newsyslog -vn:
chmod 600 /var/log/security.0.bz2

Why is the mode not 644?

/etc/rc.d/syslogd restart and newsyslog restart have been performed.


I tried changing the permissions-field in my newsyslog.conf from 600
to 644, and newsyslog worked correctly for me.

--
Garance Alistair Drosehn =   dros...@rpi.edu
Senior Systems Programmer   or   g...@freebsd.org
Rensselaer Polytechnic Institute; Troy, NY;  USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Cleaning up multiplicates in elf ldconfig path

2009-03-29 Thread Parv
I am on FreeBSD/i386 6.4-STABLE (around Mar 1, 2009).  I failed to
find a solution to the (cosmetic) problem of ldconfig path having
duplicate directories (dmesg output wrapped for this email) ...

  ELF ldconfig path: /lib /usr/lib /usr/lib/compat \
  /usr/X11R6/lib /usr/local/lib \
  /misc/local/lib/compat \
  /misc/local/lib/gcc-4.2.4 \
  /misc/local/lib/gcc-4.3.3 \
  /misc/local/lib/gegl-0.0 \
  /misc/local/lib/gnash \
  /misc/local/lib/graphviz \
  /misc/local/lib/nss \
  /misc/local/lib/qt4 \
  /misc/local/lib/zsh \
  /misc/local/lib/compat
  /misc/local/lib/gcc-4.2.4 \
  /misc/local/lib/gcc-4.3.3 \
  /misc/local/lib/gegl-0.0 \
  /misc/local/lib/gnash \
  /misc/local/lib/graphviz \
  /misc/local/lib/nss \
  /misc/local/lib/qt4 \
  /misc/local/lib/zsh


Note that /usr/X11R6  /usr/local are symbolic links to /misc/local.
Is that what is causing the problem (since /etc/rc.d/ldconfig
reads the default paths of both /usr/X11R6/lib  /usr/local/lib)?

If so, is it ok to eliminate the /usr/X11R6 symbolic link?  And/Or,
is there any other way to remove the multiplicates?  I suppose I
could stick in /etc/rc.conf this ...

  ldconfig_paths=/usr/lib/compat /usr/local/lib /usr/local/lib/compat/package


... but then I would have make sure above does not miss any new
paths added to /etc/defaults/rc.conf.  Opinions or suggestions?


  - Parv

-- 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


configuring the freebsd boot manager

2009-03-29 Thread Brett Wigins

Hi everyone,

I am having some problems understanding how the freebsd boot manager 
works. I have installed FreeBSD and Linux on the same laptop HD and want 
to be able to select which one to boot when the computer starts. I 
installed the bootmanager to to the MBR during installation and when I 
boot the laptop I am presented with four choices;


F1 - FreeBSD
F2 - Linux
F3 - ???
F4 - Linux

but I am only able to select F1, F2-F3 only make the laptop beep and 
doesnt load anything. The way I have set up the HD is for Partition 1 to 
be a FreeBSD Slice, Partition 2 the Linux / Partition 3 is Linux swap 
and Partition 4 is Linux /home. Any help would be great


thanks,

Brett

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: configuring the freebsd boot manager

2009-03-29 Thread Ramiro Caso

 Hi everyone,
 
 I am having some problems understanding how the freebsd boot manager 
 works. I have installed FreeBSD and Linux on the same laptop HD and want 
 to be able to select which one to boot when the computer starts. I 
 installed the bootmanager to to the MBR during installation and when I 
 boot the laptop I am presented with four choices;
 
 F1 - FreeBSD
 F2 - Linux
 F3 - ???
 F4 - Linux
 
 but I am only able to select F1, F2-F3 only make the laptop beep and 
 doesnt load anything. The way I have set up the HD is for Partition 1 to 
 be a FreeBSD Slice, Partition 2 the Linux / Partition 3 is Linux swap 
 and Partition 4 is Linux /home. Any help would be great

This is a silly question, actually: do you have LILO installed on your Linux 
boot partition?
I have BootEasy on the MBR, and LILO on Linux boot, and it works just fine. 
Also:

http://www.freebsd.org/doc/en/books/faq/disks.html#BOOTEASY-LOADER

 
 thanks,
 
 Brett
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

_
Encontrá el auto de tus sueños en MSN 
http://xml.mercadolibre.com.ar/org-img/msn/autos.html___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


WireLess USB modem not detected .

2009-03-29 Thread dhaneshk k

List;
 
when I attach a USB modem , I am seeing this message  in dmesg output  on 
FreeBSD6.2 
 
ugen0: Qualcomm, Incorporated Qualcomm CDMA Technologies MSM, rev 1.10/0.00, 
addr 2

But it not showing  /dev/ in dmesg   why ?


If it detected what will be the entry in /dev/?


 
Question1)  Can  this USB wireless modem will work with FreeBSD6.2 ? if not  
with a any other  FreeBSD  version by default?

in FreeBSD-6.2 to enable this USB data card, is it needed to recompile the 
Generic kernel? if so  which patch to add  for recompilation ?


 
Question 2) To use this modem to get  wireless connection   which steps I have 
to follow further more..


 Please help me with some tips to make it work in my FreeBSD Laptop.
 
Thanks in Advance
Dhanesh




_
So many new options, so little time. Windows Live Messenger.
http://www.microsoft.com/india/windows/windowslive/messenger.aspx___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org