RE: temporary su login

2007-09-06 Thread [EMAIL PROTECTED]
Tamouh wrote:
>> Robin Becker wrote:
>> > My collocation supplier is about to move our FreeBSD box and wants 
>> > some way to shut it down cleanly. Is there a simple way to allow a 
>> > non-root user to have shutdown rights without just giving them the 
>> > world. At present I don't even allow login via ssh on that 
>> box ie it's 
>> > purely key based.
>>  What I would do is develop a script (owned by  root ) 
>> and callable by everybody which then checks the  user-id  of 
>> its caller, and if it is an acceptable one, the script will 
>> issue a warning (to wall) and then shutdown the system.
>> 
>
> why not ask them to do CTRL+ALT+DEL which will reboot the server cleanly and 
> once it hit 
> does the intial reset, turn it off.

Yes, CTRL+ALT+DEL will reboot the server cleanly,
but it does not shutdown the previous session nicely, it shuts it
down catastrophically, and it can be done by anyone with access
to the system keyboard.  Robin asked for a way to allow one specific
 non-root user  to be able to shutdown the system.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: mail server setup questions

2007-09-06 Thread Ted Mittelstaedt


> -Original Message-
> From: Jim Stapleton [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 05, 2007 2:04 PM
> To: Ted Mittelstaedt
> Cc: Nikola Lecic; Russell E. Meek; freebsd-questions@freebsd.org
> Subject: Re: mail server setup questions
> 
> 
> > I would submit you think you do.  For example, are you planning on
> > putting a webmail interface on the server?  A lot of people do.  Well
> > if you do and you put a scrap of CGI on there that has a hole in it
> > a spammer can come along and cause that to relay mail from incoming
> > http right into your mail queue.  He doesen't need root access to
> > do this.
> 
> I have never stated interest in putting web mail up in my to-do list,
> and in fact, have explicitly stated at least once, I've no intention
> of doing that. To be blunt, I don't trust it. I only use it for things
> on which I don't care about the security (ex. reading mailing lists).
> I care about the security of my server.
> 

The usual procedure if you want to make webmail secure is to field the
webmail server on a separate box.  (that is what we do)  Just about all
webmail interfaces I've tried use IMAP or POP3 to communicate with the
mailserver, in fact, very few can read the mailboxes directly.

There are other reasons you might want to run a webinterface on the
mailserver, however.

Ted
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: mail server setup questions

2007-09-06 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Eric Crist
> Sent: Wednesday, September 05, 2007 1:21 PM
> To: Andrey Shuvikov
> Cc: freebsd-questions@freebsd.org
> Subject: Re: mail server setup questions
> 
> 
> On Sep 5, 2007, at 2:05 PMSep 5, 2007, Andrey Shuvikov wrote:
> 
> > Hi,
> >
> > I'm trying to set up a home mailserver with imap/web access. But I was
> > going to use exim. Several people mentioned postfix here, but nobody
> > named exim. Is it a matter of personal preference or is exim not
> > suitable for this task?
> 
> Andrey,
> 
> I can't speak of exim or qmail, but I had used sendmail for nearly 10  
> years before switching to postfix.  I switched was for support of  
> virtual mail boxes, and better support for IMAP.

Just a quick nit to pick here - delivering to virtual mailboxes is
the job of the local delivery agent, not Sendmail.  Many people have
written scripts that deliver mail to mySQL databases, etc. to support
virtual mailboxes, that work with Sendmail just fine.

The IMAP server also has nothing whatsoever to do with sendmail, or
any mail transfer agent for that matter.  By definition, it's a 
completely separate server.

Ted
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Newbie questions about updating

2007-09-06 Thread Erich Dollansky

Hi,

let me give some very basic answers.

cothrige wrote:

ports system is completely separate from the OS itself, and that these


Applications have nothing to do with the operating system. In theory at 
least.


Practically it is more limited.


can be upgraded or updated separately.  From what I can see this seems


Yes, as long as the port tree still supports the OS. A strange example: 
FreeBSD 1.0 is not supported anymore with the current port tree.



to most often involve CVSup, and I have been operating under the


Yes.


assumption that one must run two cvsup operations with two separate
supfiles to update both the core OS and the ports.  Am I understanding
this correctly?


It seems for me to be the best choice.


Assuming I am, my main confusion concerns just how these two systems
actually interact and relate to each other, and whether there are any


They do not interact. The operating system provides the base for the 
applications. As long as base and application fit together, it all 
simply works.



requirements connecting updating each of them together?  For instance,


There is no requirement. Upgrading the operating system should be done 
if there are bug fixes provides or if you want to switch to a newer version.



I have downloaded the FreeBSD 6.2 install discs and have finished the


Just stick with 6.2 for the moment.


basic installation and setup.  Now at some point if I wish to update
the ports does that mean I have to update the OS to a particular


No problem.


level?  If I don't want to run stable and use "tag=RELENG_6_2" will I
be required to keep the ports as they have installed from the disc?
Is there any connection between how current the ports are and how
current the OS is?

Wait, you do not install ports from the disc, you install packages from 
the disc. This is a small difference. Ports are source based, packages 
are binaries.



One of the things which caused me to wonder about this was that some
time back I tried FreeBSD out for a while and ran into some oddities
concerning the ports system.  When I first finished setting things up
I could install packages using "pkg_add -r", but noticed that after
updating the ports I could no longer do that.  That struck me as odd,


Updating the ports tree means actually switching to ports but you still 
can use packages via "portupgrade".



and because of it I always had a suspicion that I had broken the
system with my out of whack updates (I did not move up to stable at
that time) but I just never could really find out if that were so.

Never forget, the ports tree is a live object. It can happen that you 
upgrade now and find a ruined system, then upgrade a minute later and 
the system is fine again.



One last newb question is concerning cvsup itself.  In reference to
ports is there a difference, in the end, between this and portsnap?


There should be no difference at the final end.

Erich
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Newbie questions about updating

2007-09-06 Thread cothrige
I know this is going to be a very dumb question, but I just can't seem
to get my mind around exactly what is involved and what I should do
regarding this issue.  I understand from reading the handbook that the
ports system is completely separate from the OS itself, and that these
can be upgraded or updated separately.  From what I can see this seems
to most often involve CVSup, and I have been operating under the
assumption that one must run two cvsup operations with two separate
supfiles to update both the core OS and the ports.  Am I understanding
this correctly?

Assuming I am, my main confusion concerns just how these two systems
actually interact and relate to each other, and whether there are any
requirements connecting updating each of them together?  For instance,
I have downloaded the FreeBSD 6.2 install discs and have finished the
basic installation and setup.  Now at some point if I wish to update
the ports does that mean I have to update the OS to a particular
level?  If I don't want to run stable and use "tag=RELENG_6_2" will I
be required to keep the ports as they have installed from the disc?
Is there any connection between how current the ports are and how
current the OS is?

One of the things which caused me to wonder about this was that some
time back I tried FreeBSD out for a while and ran into some oddities
concerning the ports system.  When I first finished setting things up
I could install packages using "pkg_add -r", but noticed that after
updating the ports I could no longer do that.  That struck me as odd,
and because of it I always had a suspicion that I had broken the
system with my out of whack updates (I did not move up to stable at
that time) but I just never could really find out if that were so.

One last newb question is concerning cvsup itself.  In reference to
ports is there a difference, in the end, between this and portsnap?
Do they result in the same ports?  I am sure this is answered
somewhere, but the handbook and other sites seem to take a somewhat
ground-eye view of how to use them but don't dwell much on the
mysteries behind what they do and how they may differ.

Many thanks for any clarification that can be offered to me on these things.

Patrick
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: no SMP without ACPI? (amd64)

2007-09-06 Thread Chad Leigh -- Shire.Net LLC


On Sep 5, 2007, at 3:07 AM, Ted Mittelstaedt wrote:





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kris  
Kennaway

Sent: Wednesday, September 05, 2007 1:57 AM
To: Chad Leigh -- Shire.Net LLC
Cc: User Questions
Subject: Re: no SMP without ACPI? (amd64)



Note that this may well be hardware related: without acpi you are  
only

using one CPU, etc, so if one of the others is bad it will only fail
when you have ACPI enabled -- even if ACPI itself is not to blame.



Easily testable by running that Other Operating system on the thing
which I would have expected Chad to have done.


Sorry to be MIA for the last day.

No, I did not test it with that OS which shall not be named.   
However, I did attempt to install Sol10 on it.  Sol10 also relies on  
ACPI btw.  Anyway, the same error happened a good way through the  
installation -- it rebooted itself during the high IO of installing  
the system onto the system array.  Sol10 uses a 32bit kernel for the  
installation and I think, but am not sure, that it only activates 1  
CPU core.


I do not think, however, that it is a bad CPU.  I can boot the system  
with ACPI and activate all 4 CPU cores and I can run CPU intensive  
things, so far, as long as they do not generate lots of IO, and  
processes run fine on all 4 CPUs and will run for hours.  However, if  
I do something that generates IOs, like a build world on the FreeBSD  
source, about 75% of the time it does not make it all the way through  
with the build.  It takes me about 45min on this system to do a "make  
buildworld" and it usually will happen 10-30 minutes into the build.   
25% of the time it will make it through 1 build world, and once or  
twice has made it through 2, but always fails in the same way on a  
subsequent retry of the build. (Ie, I just keep doing builds over and  
over until it fails, which is 75% of the time in the first build, 24%  
of the time in the second, and 1% of the time in the third, roughly  
speaking).


I also do not think it is the memory.  For one, that would show up  
even with ACPI disabled, and 2, I ran multiple complete passes of the  
standalone memtest86 program without error.


I do not think it is thermally related as the temperature never got  
very high and I had additional fans temporarily blowing or I also  
stuck it directly over my A/C floor register with the A/C on blowing  
cold air directly at the intake of the system.


I monitored the Areca system while it was building and its  
temperatures never got anywhere near the limits Areca sets for their  
boards.  (The Areca has its own ethernet port and I was directly  
attached to that from my powerbook during several tests when it failed).


This machine is now in production with only the 1 CPU core.  I cannot  
do extensive testing but I can get pieces of info or do a reboot with  
ACPI if there are data items for me to grab if people want to take a  
look at what it is doing etc.


Thanks!
Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: wrong permission / files get 640

2007-09-06 Thread Manolis Kiagias
Zbigniew Szalbot wrote:
> Dear all,
>
> A web directory is chmod 755 but all files which I upload into it by
> default get 640 permission which means web users cannot read it, which
> means I have to manually change the permissions to 644. Is there any
> mask I can set on that directory so that files get 644 when uploaded?
>
> Directory permissions:
> drwxr-xr-x  2 slowo  slowo  2048 Sep  7 06:31 pdz
>
> Thank you in advance!
>
> Zbigniew Szalbot
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
>
>   
This looks like a umask problem.
What are you using to upload the files? For example proftpd FTP server
has a setting to control umask which by default will create world and
group readable files (umask 022). If you are using something else, you
may want to check the configuration file for a similar setting. If this
is a user's home directory, you may also wish to check umask settings in
the shell startup files.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: CGI with html

2007-09-06 Thread David Christensen
Olivier Regnier wrote:
> I try to write CGI scripts but i have a problem on my screen.

You might want to try looking/asking for help on the following newsgroup:

comp.infosystems.www.authoring.cgi


HTH,

David

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


wrong permission / files get 640

2007-09-06 Thread Zbigniew Szalbot
Dear all,

A web directory is chmod 755 but all files which I upload into it by
default get 640 permission which means web users cannot read it, which
means I have to manually change the permissions to 644. Is there any
mask I can set on that directory so that files get 644 when uploaded?

Directory permissions:
drwxr-xr-x  2 slowo  slowo  2048 Sep  7 06:31 pdz

Thank you in advance!

Zbigniew Szalbot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: CGI with html

2007-09-06 Thread cpghost
On Fri, 07 Sep 2007 01:33:15 +0200
Olivier Regnier <[EMAIL PROTECTED]> wrote:

> # MODULES
> use CGI qw(:standard);
> 
> # HTML PAGE
> print header,
>   start_html (
>  -title   => '403, Interdit',
>  -style   => {-code => $style },
>   ),
>   end_html;

[snip]

> # 
> and here is the result in html:
> # 
> 
>PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
>"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> http://www.w3.org/1999/xhtml"; lang="en-US"
> xml:lang="en-US"> 

[snip]

> I would like to have this dtd:
>  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
> and this meta code,  content="text/html; charset=iso-8859-1" /> is not at the good place.
> Logically he is before CSS style.
> 
> Can you help me please ? Sorry for my english.

Uhhh... it's a long time since I've used CGI.pm. But if I remember
correctly, the DTD was hard-coded in CGI.pm itself, and output by
start_html(); but you could override it with a value of your own.

From /usr/local/lib/perl5/5.8.8/CGI.pm:
---

use constant XHTML_DTD => ['-//W3C//DTD XHTML 1.0 Transitional//EN',
  'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'];

...

(And further down)

...

# > Here are some globals that you might want to adjust <<
sub initialize_globals {
# Set this to 1 to enable copious autoloader debugging messages
$AUTOLOAD_DEBUG = 0;

# Set this to 1 to generate XTML-compatible output
$XHTML = 1;

# Change this to the preferred DTD to print in start_html()
# or use default_dtd('text of DTD to use');
$DEFAULT_DTD = [ '-//W3C//DTD HTML 4.01 Transitional//EN',
 'http://www.w3.org/TR/html4/loose.dtd' ] ;

...

(scroll down again)

...

 Method: start_html
# Canned HTML header
#
# Parameters:
# $title -> (optional) The title for this HTML document (-title)
# $author -> (optional) e-mail address of the author (-author)
# $base -> (optional) if set to true, will enter the BASE address of
this document #  for resolving relative references (-base) 
# $xbase -> (optional) alternative base at some remote location (-xbase)
# $target -> (optional) target window to load all links into (-target)
# $script -> (option) Javascript code (-script)
# $no_script -> (option) Javascript  tag (-noscript)
# $meta -> (optional) Meta information tags
# $head -> (optional) any other elements you'd like to incorporate into
the  tag #   (a scalar or array ref)
# $style -> (optional) reference to an external style sheet
# @other -> (optional) any other named parameters you'd like to
incorporate into #   the  tag.

'start_html' => <<'END_OF_FUNC',
sub start_html {
my($self,@p) = &self_or_default(@_);
my($title,$author,$base,$xbase,$script,$noscript,
$target,$meta,$head,$style,$dtd,$lang,$encoding,$declare_xml,@other)
= rearrange([TITLE,AUTHOR,BASE,XBASE,SCRIPT,NOSCRIPT,TARGET,
   META,HEAD,STYLE,DTD,LANG,ENCODING,DECLARE_XML],@p);

$self->element_id(0);
$self->element_tab(0);

$encoding = 'iso-8859-1' unless defined $encoding;

# Need to sort out the DTD before it's okay to call escapeHTML().
my(@result,$xml_dtd);
if ($dtd) {
if (defined(ref($dtd)) and (ref($dtd) eq 'ARRAY')) {
$dtd = $DEFAULT_DTD unless $dtd->[0] =~ m|^-//|;
} else {
$dtd = $DEFAULT_DTD unless $dtd =~ m|^-//|;
}
} else {
$dtd = $XHTML ? XHTML_DTD : $DEFAULT_DTD;
}

(etc. etc. etc...)

So you may want to change stuff in initialize_globals or use
default_dtd("your own DTD") or change the constant XHTML_DTD
itself, if nothing else works.

But are you sure that CGI.pm will generate *strict* XHTML
for you? They're setting the DTD to transitional for some
reason, I think.

Regarding the relative order in the header, try playing
with the parameters of start_html.

Good luck!

> Thank you in advance.
> 
> Olivier

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Dumb question about DES/MD5 in /etc/master.passwd

2007-09-06 Thread João Carlos Mendes Luís

   This question must be really dumb, but I cannot find its answer.

   In a somewhat recently updated RELENG_6 FreeBSD, whenever I run the 
program /usr/bin/passwd to change an users password, it encrypts the 
password using DES.  I have already configured /etc/login.conf for MD5, 
but it still goes with DES:


*$ grep passwd /etc/login.conf
   :passwd_format=md5:\
#   :passwd_format=des:\
$*

   What could I be doing wrong?

   If that matters, this system has been receiving system and /etc 
upgrades since Sep/2003.  Maybe some old configuration has been left 
around...


   Thanks in advance,

   Jonny

--
João Carlos Mendes Luís - Networking Engineer - [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: nvidia-driver rebooting machine on X startup

2007-09-06 Thread Darren Spruell
On 9/6/07, Jona Joachim <[EMAIL PROTECTED]> wrote:
> On Thu, 6 Sep 2007 13:10:42 -0700
> "Darren Spruell" <[EMAIL PROTECTED]> wrote:
>
> > Wondering if this is a known issue, or if anyone has suggestions to
> > get it working...?
> >
> > Running FreeBSD 6.2-RELEASE-p4 SMP i386.
> >
> > I installed nvidia-driver-100.14.11 from ports (Sep. 5 snapshot),
> > Linux compatibility enabled. After loading modules 'linux' and
> > 'nvidia', I do:
> >
> > # X -configure
> > # X -config /root/xorg.conf.new
> >
> > At this point the system spontaneously reboots. 'X -configure' runs
> > fine and produces a configuration without issue, but the reboot
> > occcurs when launching X. Nothing is output to screen (it flickers as
> > if starting X), and nothing is written to /var/log/Xorg.0.log. I do
> > get the same behavior if running 'xorgcfg'.
>
> Did you reinstall/upgrade X after having installed nvidia-driver?
> X actually overwrites libraries that nvidia-driver installs so you have
> to reinstall nvidia-driver every time you upgrade X.
> I remember having had some bad crashes some time ago because X overwrote
> nvidia GLX libraries.
>
> Best regards,
> Jona
>

Nope - driver was the most recent thing installed.

I'm looking into AGP options as suggested earlier... didn't realize
that this _needed_ AGP support to function.

-- 
Darren Spruell
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: astronomy

2007-09-06 Thread Predrag Punosevac
I am a "former astronomer" turn hardcore mathematician but just by 
looking at the graphs it seems to me that you are trying to port 
something for which you could use existing software.
Even generic programs like SciLab of FreeMat can do it let alone 
graphics software.


My guess is that you would have to do the port by yourself. I am not 
saying I would not like to be in the ports, all I am saying is that if I 
do port my first priority would be powerdot class (replacing obsolete  
class prosper and far superior to bemmer in performance and in 
particularly in simplicity of use) of presentations for Latex which is 
unfortunately not in the port tree.

Sincerely,
Predrag Punoseavac

Damon Blom wrote:

Hi
 s2plot from astronomy.swin.edu.au/s2plot seems like quite an 
interesting program and has
linux, darwin and cygwin downloads. Would anyone from freebsd be 
interested in adding it to

ports?
   Thank's
Damon


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


CGI with html

2007-09-06 Thread Olivier Regnier

Hi everyone,

I try to write CGI scripts but i have a problem on my screen.

Here is my CGI code
# 
#!/usr/bin/perl

use strict;
use warnings;

# MODULES
use CGI qw(:standard);

# VARIABLES
my $style = get_style();

# HTML PAGE
print header,
 start_html (
-title   => '403, Interdit',
-style   => {-code => $style },
 ),
 end_html;

# CSS style
sub get_style {
   my $content = "body {\n"
 . "margin:150px;\n"
 . "padding:0px;\n"
 . "padding:0px;\n"
 . 'font-family: "tahoma", "verdana", "arial", "helvetica";'. "\n"
 . "font-size:80%;\n"
 . "color:#66;\n"
 . "}\n"
 . "#error {\n"
 . "margin:0 auto 0 auto;\n"
 . "padding:10px;\n"
 . "width:370px;\n"
 . "text-align:left;\n"
 . "font-size:8pt;\n"
 . "background-color:#EE;\n"
 . "}\n"
 . "#error h1 {\n"
 . "margin-top:5px;\n"
 . "margin-bottom:10px;\n"
 . "font-size:10pt;\n"
 . "color:#33;\n"
 . "}\n"
 . "#error a {\n"
 . "color:#DC298D;\n"
 . "}\n"
 . "#error a:hover {\n"
 . "color:#FF;\n"
 . "background-color:#DC298D;\n"
 . "text-decoration:none;\n"
 . "}\n";
 return $content;
 }
# 
and here is the result in html:
# 

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml"; lang="en-US" xml:lang="en-US">

403, Interdit








# 

I would like to have this dtd:
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
and this meta code,  is not at the good place. Logically he is before 
CSS style.


Can you help me please ? Sorry for my english.

Thank you in advance.

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Nginx + FastCGI + PHP5 on FreeBSD 6.2

2007-09-06 Thread Peter Pluta



Volodymyr Kostyrko-2 wrote:
> 
> Peter Pluta wrote:
> 
> nginx.conf snippet:
> 
> server {
>listen *:80;
>server_name ...;
>root ...;
>access_log /var/log/nginx/access.log;
>index index.php;
> 
>location ~ .*\.php$ {
>  include /usr/local/etc/nginx/fastcgi_params;
>  fastcgi_pass unix:/tmp/.fastcgi.www/socket;
>  fastcgi_index index.php;
>  fastcgi_param SCRIPT_FILENAME ...$fastcgi_script_name;
>}
> }
> 
> /usr/local/etc/rc.d/phpFcgid script:
> 
> #!/bin/sh
> 
> # PROVIDE: phpFcgid
> # REQUIRE: LOGIN
> # KEYWORD: shutdown
> 
> . /etc/rc.subr
> 
> name="phpFcgid"
> rcvar=`set_rcvar`
> 
> load_rc_config $name
> : ${phpFcgid_enable="NO"}
> : ${phpFcgid_users="www"}
> : ${phpFcgid_children="2"}
> 
> start_cmd=phpFcgid_start
> stop_cmd=phpFcgid_stop
> 
> phpFcgid_start() {
>echo "Starting $name."
>export PHP_FCGI_CHILDREN=${phpFcgid_chidlren}
>for user in ${phpFcgid_users}; do
>  socketdir="/tmp/.fastcgi.${user}"
>  mkdir -p ${socketdir}
>  chown ${user}:www ${socketdir}
>  chmod 0750 ${socketdir}
>  su -m ${user} -c "/usr/local/bin/php-cgi -b ${socketdir}/socket&"
>done
> }
> 
> phpFcgid_stop() {
>echo "Stopping $name."
>pids=`pgrep php-cgi`
>pkill php-cgi
>wait_for_pids $pids
> }
> 
> run_rc_command "$1"
> 
> Also put this to your /etc/rc.conf file:
> 
> phpFcgid_enable='yes'
> 
> -- 
> Sphinx of black quartz judge my vow.
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 
> 

Thanks Volodymyr, I appreciate it. Where would all of the FastCGI parameters
go, such as # of children, timeout values, etc. 
-- 
View this message in context: 
http://www.nabble.com/Nginx-%2B-FastCGI-%2B-PHP5-on-FreeBSD-6.2-tf4389129.html#a12533660
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


astronomy

2007-09-06 Thread Damon Blom

Hi
 s2plot from astronomy.swin.edu.au/s2plot seems like quite an 
interesting program and has
linux, darwin and cygwin downloads. Would anyone from freebsd be 
interested in adding it to

ports?
   Thank's
Damon


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Available; canadian subsidies grants and loans

2007-09-06 Thread Csd 2007

PRESS RELEASE

 
Subsidy directory 2007 (Legal Deposit-National-Library)

The 2007 edition is now available.
A guide containing more than 3200 programs from:
Federal & provincial governments, associations & foundations.

Including;
Organisation names
Program names
Program descriptions
Addresses
Telephones
Organization Url's (web sites) and program Url's (web sites) 

CD-Rom (.pdf) or printed (430 pages)

Cd-Rom..$69.95
Printed$149.95

To obtain a copy please call toll free: 1-866-322-3376




Remove freebsd-questions@freebsd.org at [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: nvidia-driver rebooting machine on X startup

2007-09-06 Thread Jona Joachim
On Thu, 6 Sep 2007 13:10:42 -0700
"Darren Spruell" <[EMAIL PROTECTED]> wrote:

> Wondering if this is a known issue, or if anyone has suggestions to
> get it working...?
> 
> Running FreeBSD 6.2-RELEASE-p4 SMP i386.
> 
> I installed nvidia-driver-100.14.11 from ports (Sep. 5 snapshot),
> Linux compatibility enabled. After loading modules 'linux' and
> 'nvidia', I do:
> 
> # X -configure
> # X -config /root/xorg.conf.new
> 
> At this point the system spontaneously reboots. 'X -configure' runs
> fine and produces a configuration without issue, but the reboot
> occcurs when launching X. Nothing is output to screen (it flickers as
> if starting X), and nothing is written to /var/log/Xorg.0.log. I do
> get the same behavior if running 'xorgcfg'.

Did you reinstall/upgrade X after having installed nvidia-driver?
X actually overwrites libraries that nvidia-driver installs so you have
to reinstall nvidia-driver every time you upgrade X.
I remember having had some bad crashes some time ago because X overwrote
nvidia GLX libraries.

Best regards,
Jona
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeMAT compiled :-)

2007-09-06 Thread Predrag Punosevac

It is my great pleasure to report that I have FreeMat on my system
Mel Thanks a lot body!

Mel wrote:

On Thursday 06 September 2007 23:04:48 Predrag Punosevac wrote:
  

Thanks I am doing portsnap fetch && portsnap extract && portsnap update
I hope to get newer port three (I got this one 20 days ago I thought I
would be OK)
I will change the make as you outlined



I just noticed why the error occurred. It's using QT4, not QT3. So be ready to 
pull in some extra deps...


  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: nvidia-driver rebooting machine on X startup

2007-09-06 Thread Mel
On Friday 07 September 2007 00:16:44 Darren Spruell wrote:
> On 9/6/07, Mel <[EMAIL PROTECTED]> wrote:
> > On Thursday 06 September 2007 22:10:42 Darren Spruell wrote:
> > > Wondering if this is a known issue, or if anyone has suggestions to
> > > get it working...?
> > >
> > > Running FreeBSD 6.2-RELEASE-p4 SMP i386.
> > >
> > > I installed nvidia-driver-100.14.11 from ports (Sep. 5 snapshot),
> > > Linux compatibility enabled. After loading modules 'linux' and
> > > 'nvidia', I do:
> > >
> > > # X -configure
> > > # X -config /root/xorg.conf.new
> > >
> > > At this point the system spontaneously reboots. 'X -configure' runs
> > > fine and produces a configuration without issue, but the reboot
> > > occcurs when launching X. Nothing is output to screen (it flickers as
> > > if starting X), and nothing is written to /var/log/Xorg.0.log. I do
> > > get the same behavior if running 'xorgcfg'.
> > >
> > > Card info:
> > >
> > > "NV41 [Quadro FX 3450/4000 SDI] rev 162"
> > >
> > > [EMAIL PROTECTED]:0:0: class=0x03 card=0x029b10de chip=0x00cd10de
> > > rev=0xa2 hdr=0x00
> > > vendor   = 'NVIDIA Corporation'
> > > class= display
> > > subclass = VGA
> > >
> > > Section "Device"
> > > Identifier  "Card0"
> > > Driver  "nvidia"
> > > VendorName  "nVidia Corporation"
> > > BoardName   "NV41 [Quadro FX 3450/4000 SDI]"
> > > BusID   "PCI:7:0:0"
> > > EndSection
> >
> > Removing BusID do anything? All those Displays sounds a bit much too. I
> > *strongly* recommend using nvidia-xconfig (x11/nvidia-config).
>
> Commenting BusID has the same effect - prompt reboot.
>
> The Display subsections are pretty standard for every X configuration
> I've ever used; why would they cause a problem in this case?

Cause I checked 3 working nvidia xorg configs for 3 different cards and none 
of them has Section Display in them, let alone 20 of them :p

> > And anything /var/log/Xorg.0.log? Using nvAgp or FreeBSD Agp?
>
> No, nothing gets to the log before reboot occurs.
>
> Not using either of nvAgp or FreeBSD Agp, that I'm aware of. I did not
> enable FREEBSD_AGP at build time.

Run nvidia-xconfig, it'll generate a much cleaner xorg.conf file, enable nvAgp 
and load a few less extensions. If that one works, you can start diffing and 
adding things again to figure out the cause (if you're interested :p).

Also check /boot/device.hints and disable Agp there. A GeForce 6200 for 
instance, insists on it, while other cards don't, but I never had one reboot 
the machine. I just get:

agp0:  mem 0xf800-0xfbff at device 0.0 
on pci0
NVRM: detected agp.ko, aborting NVIDIA AGP setup!

echo 'hint.agp.0.disabled="1"' >>/boot/device.hints should do it.

-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: nvidia-driver rebooting machine on X startup

2007-09-06 Thread Darren Spruell
On 9/6/07, Mel <[EMAIL PROTECTED]> wrote:
> On Thursday 06 September 2007 22:10:42 Darren Spruell wrote:
> > Wondering if this is a known issue, or if anyone has suggestions to
> > get it working...?
> >
> > Running FreeBSD 6.2-RELEASE-p4 SMP i386.
> >
> > I installed nvidia-driver-100.14.11 from ports (Sep. 5 snapshot),
> > Linux compatibility enabled. After loading modules 'linux' and
> > 'nvidia', I do:
> >
> > # X -configure
> > # X -config /root/xorg.conf.new
> >
> > At this point the system spontaneously reboots. 'X -configure' runs
> > fine and produces a configuration without issue, but the reboot
> > occcurs when launching X. Nothing is output to screen (it flickers as
> > if starting X), and nothing is written to /var/log/Xorg.0.log. I do
> > get the same behavior if running 'xorgcfg'.
> >
> > Card info:
> >
> > "NV41 [Quadro FX 3450/4000 SDI] rev 162"
> >
> > [EMAIL PROTECTED]:0:0: class=0x03 card=0x029b10de chip=0x00cd10de
> > rev=0xa2 hdr=0x00
> > vendor   = 'NVIDIA Corporation'
> > class= display
> > subclass = VGA
>
> > Section "Device"
> > Identifier  "Card0"
> > Driver  "nvidia"
> > VendorName  "nVidia Corporation"
> > BoardName   "NV41 [Quadro FX 3450/4000 SDI]"
> > BusID   "PCI:7:0:0"
> > EndSection
>
> Removing BusID do anything? All those Displays sounds a bit much too. I
> *strongly* recommend using nvidia-xconfig (x11/nvidia-config).

Commenting BusID has the same effect - prompt reboot.

The Display subsections are pretty standard for every X configuration
I've ever used; why would they cause a problem in this case?

> And anything /var/log/Xorg.0.log? Using nvAgp or FreeBSD Agp?

No, nothing gets to the log before reboot occurs.

Not using either of nvAgp or FreeBSD Agp, that I'm aware of. I did not
enable FREEBSD_AGP at build time.

DS
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: nvidia-driver rebooting machine on X startup

2007-09-06 Thread Derek Ragona

At 03:10 PM 9/6/2007, Darren Spruell wrote:

Wondering if this is a known issue, or if anyone has suggestions to
get it working...?

Running FreeBSD 6.2-RELEASE-p4 SMP i386.

I installed nvidia-driver-100.14.11 from ports (Sep. 5 snapshot),
Linux compatibility enabled. After loading modules 'linux' and
'nvidia', I do:

# X -configure
# X -config /root/xorg.conf.new

At this point the system spontaneously reboots. 'X -configure' runs
fine and produces a configuration without issue, but the reboot
occcurs when launching X. Nothing is output to screen (it flickers as
if starting X), and nothing is written to /var/log/Xorg.0.log. I do
get the same behavior if running 'xorgcfg'.

Card info:

"NV41 [Quadro FX 3450/4000 SDI] rev 162"

[EMAIL PROTECTED]:0:0: class=0x03 card=0x029b10de chip=0x00cd10de
rev=0xa2 hdr=0x00
vendor   = 'NVIDIA Corporation'
class= display
subclass = VGA

I've tried an alternate version of the binary driver
(nvidia-driver-96xx) to see if there was any change, and it also
reboots on X startup.

sysctl.conf, dmesg, and Xorg configuration included below.

sysctl.conf:

# Recommended settings from xine package:
kern.ipc.shmmax=67108864
kern.ipc.shmall=32768
# Local settings
vfs.usermount=1

/var/run/dmesg.boot

Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:55:55 UTC 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP
acpi_alloc_wakeup_handler: can't alloc wake memory
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(R) CPU   E5345  @ 2.33GHz (2327.51-MHz 
686-class CPU)

  Origin = "GenuineIntel"  Id = 0x6f7  Stepping = 7

Features=0xbfebfbff

Features2=0x4e3bd,CX16,,,>
  AMD Features=0x2010
  AMD Features2=0x1
  Cores per package: 4
real memory  = 3219169280 (3070 MB)
avail memory = 3140694016 (2995 MB)
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
 cpu4 (AP): APIC ID:  4
 cpu5 (AP): APIC ID:  5
 cpu6 (AP): APIC ID:  6
 cpu7 (AP): APIC ID:  7
ioapic0: Changing APIC ID to 8
ioapic1: Changing APIC ID to 9
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 24-47 on motherboard
kbd1 at kbdmux0
netsmb_dev: loaded
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0:  on acpi0
cpu1:  on acpi0
cpu2:  on acpi0
cpu3:  on acpi0
cpu4:  on acpi0
cpu5:  on acpi0
cpu6:  on acpi0
cpu7:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  at device 2.0 on pci0
pci1:  on pcib1
pcib2:  irq 16 at device 0.0 on pci1
pci2:  on pcib2
pcib3:  irq 16 at device 0.0 on pci2
pci3:  on pcib3
pcib4:  irq 16 at device 1.0 on pci2
pci4:  on pcib4
pcib5:  at device 0.3 on pci1
pci5:  on pcib5
fwohci0:  mem 0xdceff000-0xdcef irq 26 at device
5.0 on pci5
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 8.
fwohci0: EUI64 00:00:d1:00:80:35:7a:57
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0:  on fwohci0
fwe0:  on firewire0
if_fwe0: Fake Ethernet address: 02:00:d1:35:7a:57
fwe0: Ethernet address: 02:00:d1:35:7a:57
fwe0: if_start running deferred for Giant
sbp0:  on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
pcib6:  at device 3.0 on pci0
pci6:  on pcib6
pcib7:  at device 4.0 on pci0
pci7:  on pcib7
nvidia0:  mem
0xdd00-0xddff,0xc000-0xcfff,0xde00-0xdeff irq
16 at device 0.0 on pci7
nvidia0: [GIANT-LOCKED]
pcib8:  at device 5.0 on pci0
pci8:  on pcib8
pcib9:  at device 6.0 on pci0
pci9:  on pcib9
pcib10:  at device 7.0 on pci0
pci10:  on pcib10
pci0:  at device 27.0 (no driver attached)
pcib11:  irq 16 at device 28.0 on pci0
pci11:  on pcib11
bge0:  mem
0xdccf-0xdccf irq 16 at device 0.0 on pci11
bge0: firmware handshake timed out
miibus0:  on bge0
brgphy0:  on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
1000baseTX-FDX, auto
bge0: Ethernet address: 00:1a:a0:ac:eb:69
uhci0:  port 0xff80-0xff9f irq 21 at
device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xff60-0xff7f irq 22 at
device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2

Re: FreeMAT fails to compile

2007-09-06 Thread Predrag Punosevac
I was about to write you a mail about success when I came to same 
realization I am doing portupgrade of some packages at the moment

Thanks

Mel wrote:

On Thursday 06 September 2007 23:04:48 Predrag Punosevac wrote:
  

Thanks I am doing portsnap fetch && portsnap extract && portsnap update
I hope to get newer port three (I got this one 20 days ago I thought I
would be OK)
I will change the make as you outlined



I just noticed why the error occurred. It's using QT4, not QT3. So be ready to 
pull in some extra deps...


  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: temporary su login

2007-09-06 Thread Tamouh H.
> 
> Robin Becker wrote:
> > My collocation supplier is about to move our FreeBSD box and wants 
> > some way to shut it down cleanly. Is there a simple way to allow a 
> > non-root user to have shutdown rights without just giving them the 
> > world. At present I don't even allow login via ssh on that 
> box ie it's 
> > purely key based.
>   What I would do is develop a script (owned by  root ) 
> and callable by everybody which then checks the  user-id  of 
> its caller, and if it is an acceptable one, the script will 
> issue a warning (to wall) and then shutdown the system.
> 

why not ask them to do CTRL+ALT+DEL which will reboot the server cleanly and 
once it hit does the intial reset, turn it off.

Tamouh


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Nginx + FastCGI + PHP5 on FreeBSD 6.2

2007-09-06 Thread Volodymyr Kostyrko

Peter Pluta wrote:

nginx.conf snippet:

server {
  listen *:80;
  server_name ...;
  root ...;
  access_log /var/log/nginx/access.log;
  index index.php;

  location ~ .*\.php$ {
include /usr/local/etc/nginx/fastcgi_params;
fastcgi_pass unix:/tmp/.fastcgi.www/socket;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME ...$fastcgi_script_name;
  }
}

/usr/local/etc/rc.d/phpFcgid script:

#!/bin/sh

# PROVIDE: phpFcgid
# REQUIRE: LOGIN
# KEYWORD: shutdown

. /etc/rc.subr

name="phpFcgid"
rcvar=`set_rcvar`

load_rc_config $name
: ${phpFcgid_enable="NO"}
: ${phpFcgid_users="www"}
: ${phpFcgid_children="2"}

start_cmd=phpFcgid_start
stop_cmd=phpFcgid_stop

phpFcgid_start() {
  echo "Starting $name."
  export PHP_FCGI_CHILDREN=${phpFcgid_chidlren}
  for user in ${phpFcgid_users}; do
socketdir="/tmp/.fastcgi.${user}"
mkdir -p ${socketdir}
chown ${user}:www ${socketdir}
chmod 0750 ${socketdir}
su -m ${user} -c "/usr/local/bin/php-cgi -b ${socketdir}/socket&"
  done
}

phpFcgid_stop() {
  echo "Stopping $name."
  pids=`pgrep php-cgi`
  pkill php-cgi
  wait_for_pids $pids
}

run_rc_command "$1"

Also put this to your /etc/rc.conf file:

phpFcgid_enable='yes'

--
Sphinx of black quartz judge my vow.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: temporary su login

2007-09-06 Thread [EMAIL PROTECTED]
Robin Becker wrote:
> My collocation supplier is about to move our FreeBSD box and wants some 
> way to shut it down cleanly. Is there a simple way to allow a non-root 
> user to have shutdown rights without just giving them the world. At 
> present I don't even allow login via ssh on that box ie it's purely key 
> based.
What I would do is develop a script (owned by  root ) and
callable by everybody which then checks the  user-id  of its caller,
and if it is an acceptable one, the script will issue a warning
(to wall) and then shutdown the system.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeMAT fails to compile

2007-09-06 Thread Mel
On Thursday 06 September 2007 23:04:48 Predrag Punosevac wrote:
> Thanks I am doing portsnap fetch && portsnap extract && portsnap update
> I hope to get newer port three (I got this one 20 days ago I thought I
> would be OK)
> I will change the make as you outlined

I just noticed why the error occurred. It's using QT4, not QT3. So be ready to 
pull in some extra deps...

-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Nginx + FastCGI + PHP5 on FreeBSD 6.2

2007-09-06 Thread Volodymyr Kostyrko

Peter Pluta wrote:


If anyone has a better method of getting it to work please do share it. I'd
like to get it to work and possibly write a small guide aim'd at FreeBSD
users. 


nginx.conf snippet:

server {
  listen *:80;
  server_name ...;
  root ...;
  access_log /var/log/nginx/access.log;
  index index.php;

  location ~ .*\.php$ {
include /usr/local/etc/nginx/fastcgi_params;
fastcgi_pass unix:/tmp/.fastcgi.www/socket;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME ...$fastcgi_script_name;
  }
}

/usr/local/etc/rc.d/phpFcgid script:

#!/bin/sh

# PROVIDE: phpFcgid
# REQUIRE: LOGIN
# KEYWORD: shutdown

. /etc/rc.subr

name="phpFcgid"
rcvar=`set_rcvar`

load_rc_config $name
: ${phpFcgid_enable="NO"}
: ${phpFcgid_users="www"}
: ${phpFcgid_children="2"}

start_cmd=phpFcgid_start
stop_cmd=phpFcgid_stop

phpFcgid_start() {
  echo "Starting $name."
  export PHP_FCGI_CHILDREN=${phpFcgid_chidlren}
  for user in ${phpFcgid_users}; do
socketdir="/tmp/.fastcgi.${user}"
mkdir -p ${socketdir}
chown ${user}:www ${socketdir}
chmod 0750 ${socketdir}
su -m ${user} -c "/usr/local/bin/php-cgi -b ${socketdir}/socket&"
  done
}

phpFcgid_stop() {
  echo "Stopping $name."
  pids=`pgrep php-cgi`
  pkill php-cgi
  wait_for_pids $pids
}

run_rc_command "$1"

Also put this to your /etc/rc.conf file:

phpFcgid_enable='yes'

--
Sphinx of black quartz judge my vow.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 6.2 Hangs Probing Floppy During Boot

2007-09-06 Thread Tim Daneliuk

Ivan Voras wrote:

Tim Daneliuk wrote:

  During the boot probe, FreeBSD 6.2 (Release or -STABLE) hangs for 
several minutes
  while probing the floppy.  Eventually, it does get through it, but 
it takes
  a lng time.  Disabling the floppy in the machine BIOS makes the 
problem

  go away because FBSD sees no floppy to probe, but that's not an optimal
  soltion.


Have you tried adding hint.fd.0.disabled="1" and hint.fdc.0.disabled="1" 
to your loader.conf (or device.hints)? I don't know it it will work, 
it's just something you could try.




I have not.  If I do this, will it actually disable the floppy/controller?
The issue for me is that I want to be able to actually use the floppy
when I need it, I just don't want to have wait multiple minutes while
the kernel figures out there is not floppy in the drive at boot time...

--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeMAT fails to compile

2007-09-06 Thread Predrag Punosevac

Thanks I am doing portsnap fetch && portsnap extract && portsnap update
I hope to get newer port three (I got this one 20 days ago I thought I 
would be OK)

I will change the make as you outlined
Thanks a LOT
Predrag

Mel wrote:

On Thursday 06 September 2007 21:47:57 Predrag Punosevac wrote:

  

`/usr/ports/math/freemat/work/FreeMat-3.3/libs/libFreeMat'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/usr/ports/math/freemat/work/FreeMat-3.3/libs/libFreeMat'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/math/freemat/work/FreeMat-3.3/libs'
gmake: *** [all-recursive] Error 1
*** Error code 2



# make
**
* You can define the following variables:*
* - WITH_ATLAS:   to link with atlas *
* - WITHOUT_FFTW  remove FFTW support*
* - WITHOUT_ARPACKremove Arpack support  *
* - WITHOUT_AVCALLremove FFCALL support  *
* - WITHOUT_UMFPACK   remove UMFPACK support *
* - WITHOUT_PORTAUDIO remove Audio I/O support   *
**
=> FreeMat-3.4.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from 
http://umn.dl.sourceforge.net/sourceforge/freemat/.

FreeMat-3.4.tar.gz100% of 5481 kB  123 kBps 00m00s
===>  Extracting for FreeMat-3.4

Old port tree? I didn't get a config dialog either.
# $FreeBSD: ports/math/freemat/Makefile,v 1.16 2007/08/20 13:58:38 thierry Exp 
$


  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: nvidia-driver rebooting machine on X startup

2007-09-06 Thread Mel
On Thursday 06 September 2007 22:10:42 Darren Spruell wrote:
> Wondering if this is a known issue, or if anyone has suggestions to
> get it working...?
>
> Running FreeBSD 6.2-RELEASE-p4 SMP i386.
>
> I installed nvidia-driver-100.14.11 from ports (Sep. 5 snapshot),
> Linux compatibility enabled. After loading modules 'linux' and
> 'nvidia', I do:
>
> # X -configure
> # X -config /root/xorg.conf.new
>
> At this point the system spontaneously reboots. 'X -configure' runs
> fine and produces a configuration without issue, but the reboot
> occcurs when launching X. Nothing is output to screen (it flickers as
> if starting X), and nothing is written to /var/log/Xorg.0.log. I do
> get the same behavior if running 'xorgcfg'.
>
> Card info:
>
> "NV41 [Quadro FX 3450/4000 SDI] rev 162"
>
> [EMAIL PROTECTED]:0:0: class=0x03 card=0x029b10de chip=0x00cd10de
> rev=0xa2 hdr=0x00
> vendor   = 'NVIDIA Corporation'
> class= display
> subclass = VGA

> Section "Device"
> Identifier  "Card0"
> Driver  "nvidia"
> VendorName  "nVidia Corporation"
> BoardName   "NV41 [Quadro FX 3450/4000 SDI]"
> BusID   "PCI:7:0:0"
> EndSection

Removing BusID do anything? All those Displays sounds a bit much too. I 
*strongly* recommend using nvidia-xconfig (x11/nvidia-config).

And anything /var/log/Xorg.0.log? Using nvAgp or FreeBSD Agp?

-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can't `make index` on 4.11-STABLE

2007-09-06 Thread Sean Ellis
On Thu, Sep 06, 2007 at 08:18:43PM +0100, Matthew Seaman wrote:
>
> Sean Ellis wrote:
>
> > I have a problem trying to `make index` on a machine running 4.11-STABLE
> > after cvsup-ing the ports tree.
>
> 4.x has been dropped from support by the ports tree.  Several months
> ago now.  It's never going to work,
>

thanks for this, and for the other replies that I've received. It looks
as if I won't be able to avoid a big overhaul if that machine is to keep
the benefits of the ports system,

thanks,

Sean

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Smokeping HELP

2007-09-06 Thread Mel
On Thursday 06 September 2007 22:09:39 Narek Gharibyan wrote:

> It is a outgoing connection monitoring soft for FreeBSD (as I understood
> :)) Uptime/delay/loss/avg and plus it keep all info in a database, do
> mailing, has a web interface with cgi support. Cool port.

Sounds cool indeed. And it's in ports (good to know).

> I couldn't configure it because I am a newbie in Apache, and never install
> such soft in FreeBSD.

Good to know too. Makes it easier to help you, when we know what you're 
familiar with.

> I tried to configure but the structure of .conf file 
> confused me plus it wont start without any error (I didn't change anything
> after install).

OK, I just installed it, pkg-message said:
NOTE: A set of sample configuration files have been installed:

  /usr/local/etc/smokeping/config
  /usr/local/etc/smokeping/smokemail
  /usr/local/etc/smokeping/basepage.html
  /usr/local/etc/smokeping/tmail

You *MUST* edit these to suit your requirements. Please read the
manpages 'smokeping_install' and 'smokeping_config' for further
details on installation and configuration.

Looking at that by man smokeping_install it looks very detailed, but if you've 
never set up anything with apache can be quite hard.

A quick glance tells me that the port took care of most of the installation 
already. The only thing that's left is configuration of above mentioned 
files, which only you can do.

To get it working fast:
in /usr/local/etc/smokeping/config, change line:
cgiurl   = http://people.ee.ethz.ch/~oetiker/smokeping/smokeping.cgi
to:
cgiurl   = http://your.web.server/cgi/smokeping.cgi

Then edit /usr/local/etc/apache/httpd.conf:
Add the following line:
ScriptAlias /cgi/smokeping.cgi /usr/local/smokeping/htdocs/smokeping.cgi

(There's another ScriptAlias line in the default httpd.conf, so you can put 
this line right below or above that).

Now things *should* work. If not, read the manpage smokeping_config carefully 
or report any errors you get to the list.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


nvidia-driver rebooting machine on X startup

2007-09-06 Thread Darren Spruell
Wondering if this is a known issue, or if anyone has suggestions to
get it working...?

Running FreeBSD 6.2-RELEASE-p4 SMP i386.

I installed nvidia-driver-100.14.11 from ports (Sep. 5 snapshot),
Linux compatibility enabled. After loading modules 'linux' and
'nvidia', I do:

# X -configure
# X -config /root/xorg.conf.new

At this point the system spontaneously reboots. 'X -configure' runs
fine and produces a configuration without issue, but the reboot
occcurs when launching X. Nothing is output to screen (it flickers as
if starting X), and nothing is written to /var/log/Xorg.0.log. I do
get the same behavior if running 'xorgcfg'.

Card info:

"NV41 [Quadro FX 3450/4000 SDI] rev 162"

[EMAIL PROTECTED]:0:0: class=0x03 card=0x029b10de chip=0x00cd10de
rev=0xa2 hdr=0x00
vendor   = 'NVIDIA Corporation'
class= display
subclass = VGA

I've tried an alternate version of the binary driver
(nvidia-driver-96xx) to see if there was any change, and it also
reboots on X startup.

sysctl.conf, dmesg, and Xorg configuration included below.

sysctl.conf:

# Recommended settings from xine package:
kern.ipc.shmmax=67108864
kern.ipc.shmall=32768
# Local settings
vfs.usermount=1

/var/run/dmesg.boot

Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE-p4 #0: Thu Apr 26 17:55:55 UTC 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP
acpi_alloc_wakeup_handler: can't alloc wake memory
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(R) CPU   E5345  @ 2.33GHz (2327.51-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6f7  Stepping = 7
  
Features=0xbfebfbff
  
Features2=0x4e3bd,CX16,,,>
  AMD Features=0x2010
  AMD Features2=0x1
  Cores per package: 4
real memory  = 3219169280 (3070 MB)
avail memory = 3140694016 (2995 MB)
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
 cpu4 (AP): APIC ID:  4
 cpu5 (AP): APIC ID:  5
 cpu6 (AP): APIC ID:  6
 cpu7 (AP): APIC ID:  7
ioapic0: Changing APIC ID to 8
ioapic1: Changing APIC ID to 9
ioapic0  irqs 0-23 on motherboard
ioapic1  irqs 24-47 on motherboard
kbd1 at kbdmux0
netsmb_dev: loaded
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0:  on acpi0
cpu1:  on acpi0
cpu2:  on acpi0
cpu3:  on acpi0
cpu4:  on acpi0
cpu5:  on acpi0
cpu6:  on acpi0
cpu7:  on acpi0
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pcib1:  at device 2.0 on pci0
pci1:  on pcib1
pcib2:  irq 16 at device 0.0 on pci1
pci2:  on pcib2
pcib3:  irq 16 at device 0.0 on pci2
pci3:  on pcib3
pcib4:  irq 16 at device 1.0 on pci2
pci4:  on pcib4
pcib5:  at device 0.3 on pci1
pci5:  on pcib5
fwohci0:  mem 0xdceff000-0xdcef irq 26 at device
5.0 on pci5
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channels is 8.
fwohci0: EUI64 00:00:d1:00:80:35:7a:57
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0:  on fwohci0
fwe0:  on firewire0
if_fwe0: Fake Ethernet address: 02:00:d1:35:7a:57
fwe0: Ethernet address: 02:00:d1:35:7a:57
fwe0: if_start running deferred for Giant
sbp0:  on firewire0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
pcib6:  at device 3.0 on pci0
pci6:  on pcib6
pcib7:  at device 4.0 on pci0
pci7:  on pcib7
nvidia0:  mem
0xdd00-0xddff,0xc000-0xcfff,0xde00-0xdeff irq
16 at device 0.0 on pci7
nvidia0: [GIANT-LOCKED]
pcib8:  at device 5.0 on pci0
pci8:  on pcib8
pcib9:  at device 6.0 on pci0
pci9:  on pcib9
pcib10:  at device 7.0 on pci0
pci10:  on pcib10
pci0:  at device 27.0 (no driver attached)
pcib11:  irq 16 at device 28.0 on pci0
pci11:  on pcib11
bge0:  mem
0xdccf-0xdccf irq 16 at device 0.0 on pci11
bge0: firmware handshake timed out
miibus0:  on bge0
brgphy0:  on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
1000baseTX-FDX, auto
bge0: Ethernet address: 00:1a:a0:ac:eb:69
uhci0:  port 0xff80-0xff9f irq 21 at
device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1:  port 0xff60-0xff7f irq 22 at
device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1:  on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2:  port 0xff40-0xff5f irq 18 at
device 29.2 

Re: Encrypting mirrored device with geli fails

2007-09-06 Thread Wojciech Puchar

beastie_disable="YES"
geom_eli_load="YES"
geom_mirror_load="YES"
padlock_load="YES"

Swap space is encrypted by appending '.eli' to /dev/mirror/gm0s1b in
/etc/fstab. According to the ouput of swapinfo that works fine.

/dev/mirror/gm0s1a is mounted on /
/dev/mirror/gm0s1d is mounted on /var
/dev/mirror/gm0s1e is mounted on /usr
/dev/mirror/gm0s1f is mounted on /crypt

I was trying to encrypt /dev/mirror/gm0s1f but a "MD5 mismatch" occurred:
# umount /crypt
# dd if=/dev/random of=/root/gm0s1f.key bs=64 count=1
1+0 records in
1+0 records out
64 bytes transferred in 0.000580 secs (110331 bytes/sec)


longer.. 32k or so.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Smokeping HELP

2007-09-06 Thread Narek Gharibyan
It is a outgoing connection monitoring soft for FreeBSD (as I understood :))
Uptime/delay/loss/avg and plus it keep all info in a database, do mailing,
has a web interface with cgi support. Cool port. 

I couldn't configure it because I am a newbie in Apache, and never install
such soft in FreeBSD. I tried to configure but the structure of .conf file
confused me plus it wont start without any error (I didn't change anything
after install). 

Narek

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mel
Sent: Friday, September 07, 2007 12:44 AM
To: freebsd-questions@freebsd.org
Subject: Re: Smokeping HELP

On Thursday 06 September 2007 21:11:10 Narek Gharibyan wrote:

> Please send me detailed instruction how to configure Smokeping. I couldn't
> configure httpd.conf also.

I'll bite. What's smokeping?

-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Smokeping HELP

2007-09-06 Thread Narek Gharibyan
It is a outgoing connection monitoring soft for FreeBSD (as I understood :))
Uptime/delay/loss/avg and plus it keep all info in a database, do mailing,
has a web interface with cgi support. Cool port. 

I couldn't configure it because I am a newbie in Apache, and never install
such soft in FreeBSD. I tried to configure but the structure of .conf file
confused me plus it wont start without any error (I didn't change anything
after install). 

Narek

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mel
Sent: Friday, September 07, 2007 12:44 AM
To: freebsd-questions@freebsd.org
Subject: Re: Smokeping HELP

On Thursday 06 September 2007 21:11:10 Narek Gharibyan wrote:

> Please send me detailed instruction how to configure Smokeping. I couldn't
> configure httpd.conf also.

I'll bite. What's smokeping?

-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Smokeping HELP

2007-09-06 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Mel wrote:
> On Thursday 06 September 2007 21:11:10 Narek Gharibyan wrote:
> 
>> Please send me detailed instruction how to configure Smokeping. I couldn't
>> configure httpd.conf also.
> 
> I'll bite. What's smokeping?
> 

As you could find out in under 10 seconds by STFW, smokeping is a
program that monitors network performance by sending ping packets
around the place at regular intervals and then graphing the
round-trip-time.

http://oss.oetiker.ch/smokeping/

Cheers,

Matthew


- --
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG4F0B8Mjk52CukIwRCLLcAJ4idF+qiypEtJwh8KewDP3GQsloiQCfc/bi
SDmlBb09i3nljcox3SOyZYE=
=c3Lo
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeMAT fails to compile

2007-09-06 Thread Mel
On Thursday 06 September 2007 21:47:57 Predrag Punosevac wrote:

> `/usr/ports/math/freemat/work/FreeMat-3.3/libs/libFreeMat'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory
> `/usr/ports/math/freemat/work/FreeMat-3.3/libs/libFreeMat'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/math/freemat/work/FreeMat-3.3/libs'
> gmake: *** [all-recursive] Error 1
> *** Error code 2

# make
**
* You can define the following variables:*
* - WITH_ATLAS:   to link with atlas *
* - WITHOUT_FFTW  remove FFTW support*
* - WITHOUT_ARPACKremove Arpack support  *
* - WITHOUT_AVCALLremove FFCALL support  *
* - WITHOUT_UMFPACK   remove UMFPACK support *
* - WITHOUT_PORTAUDIO remove Audio I/O support   *
**
=> FreeMat-3.4.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from 
http://umn.dl.sourceforge.net/sourceforge/freemat/.
FreeMat-3.4.tar.gz100% of 5481 kB  123 kBps 00m00s
===>  Extracting for FreeMat-3.4

Old port tree? I didn't get a config dialog either.
# $FreeBSD: ports/math/freemat/Makefile,v 1.16 2007/08/20 13:58:38 thierry Exp 
$

-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Smokeping HELP

2007-09-06 Thread Mel
On Thursday 06 September 2007 21:11:10 Narek Gharibyan wrote:

> Please send me detailed instruction how to configure Smokeping. I couldn't
> configure httpd.conf also.

I'll bite. What's smokeping?

-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeMAT fails to compile

2007-09-06 Thread Predrag Punosevac
Does anyone know why am I getting this message when trying to compile 
freemat. I do have scilib installed so I hope it is not related to
the conflict of libraries. I also made same choices when asked on 
interactive screens instead of using BATCH mode. Did I make wrong 
choices? How can I undo this and start with fresh installation in which 
I will just keep default options.



/usr/local/include/qptrlist.h: In copy constructor 
`QPtrList::QPtrList(const QPtrList&) [with type = QFileInfo]':

Interpreter.cpp:141:   instantiated from here
/usr/local/include/qptrlist.h:69: error: type `QGList' is not a direct 
base of `QPtrList'

gmake[3]: *** [Interpreter.o] Error 1
gmake[3]: Leaving directory 
`/usr/ports/math/freemat/work/FreeMat-3.3/libs/libFreeMat'

gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory 
`/usr/ports/math/freemat/work/FreeMat-3.3/libs/libFreeMat'

gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/math/freemat/work/FreeMat-3.3/libs'
gmake: *** [all-recursive] Error 1
*** Error code 2


Thank
Predrag
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can't `make index` on 4.11-STABLE

2007-09-06 Thread Predrag Punosevac
I might be a moron for CS but if I remember well discussions of other 
people you must upgrade 4.11 to 5.4 or something like that first and 
then go to 6.2

Pedja

Sean Ellis wrote:

Hi,

I have a problem trying to `make index` on a machine running 4.11-STABLE
after cvsup-ing the ports tree.

I'll paste the error in below. It is with a multimedia package. If it
makes any difference, I don't need any multimedia on this computer.

Alternately, any links to a howto about ugrading this to 6 STABLE would
be appreciated.

Thanks, here is the error:

[10:42am] [/usr/ports]make index
Generating INDEX-4 - please 
wait.."/usr/ports/audio/gstreamer-plugins-esound/../../multimedia/gstreamer-plugins/Makefile.common",
 line 392: Malformed conditional (${gst_${GST_PLUGIN}_GCONF_SCHEMAS}!="")
"/usr/ports/audio/gstreamer-plugins-esound/../../multimedia/gstreamer-plugins/Makefile.common",
 line 396: Malformed conditional (${gst_${GST_PLUGIN}_USE_SDL}!="")
"/usr/ports/audio/gstreamer-plugins-esound/../../multimedia/gstreamer-plugins/Makefile.common",
 line 398: if-less endif
"/usr/ports/audio/gstreamer-plugins-esound/../../multimedia/gstreamer-plugins/Makefile.common",
 line 398: Need an operator
"/usr/ports/audio/gstreamer-plugins-esound/../../multimedia/gstreamer-plugins/Makefile.common",
 line 419: if-less endif
"/usr/ports/audio/gstreamer-plugins-esound/../../multimedia/gstreamer-plugins/Makefile.common",
 line 419: Need an operator
make: fatal errors encountered -- cannot continue
===> audio/gstreamer-plugins-esound failed
*** Error code 1


Sean Ellis



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
  


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install

2007-09-06 Thread Mel
On Thursday 06 September 2007 21:12:12 Mak Kolybabi wrote:
> On 2007-09-06 22:32, Bahman M. wrote:
> > Mak Kolybabi wrote:
> >> I'm trying to install FreeBSD 6.2-RELEASE on an IBM Thinkpad, and the
> >> install
> >> goes fine until it gets to the end of copying files from the CD. At that
> >> point,
> >> the message 'ELF interpreter /libexec/ld-elf.so.1 not found'. Also,
> >> 'Abort trap'
> >> appears on the console a few times.
> >> When I go to VT4, any command I try running gives me the same error.
> >
> > Have you checked VT2 for any errors or warnings?
> >
> > Bahman
>
> VT2 was where I was able to see these errors fully. Other than that, they
> crop up behind the dialogs near the end of the setup. They are all I can
> see out of the ordinary.

Try finding the rescue directory, there's statically linked df and ls in there 
that should help you locate why /libexec/ld-elf.so isn't found. I don't 
recall where it is on the installation cd-rom, after it's booting and don't 
have one handy at the moment.

-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Encrypting mirrored device with geli fails

2007-09-06 Thread Thomas Hobbes
# uname -a
FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386

# cat /boot/loader.conf
beastie_disable="YES"
geom_eli_load="YES"
geom_mirror_load="YES"
padlock_load="YES"

Swap space is encrypted by appending '.eli' to /dev/mirror/gm0s1b in
/etc/fstab. According to the ouput of swapinfo that works fine.

/dev/mirror/gm0s1a is mounted on /
/dev/mirror/gm0s1d is mounted on /var
/dev/mirror/gm0s1e is mounted on /usr
/dev/mirror/gm0s1f is mounted on /crypt

I was trying to encrypt /dev/mirror/gm0s1f but a "MD5 mismatch" occurred:
# umount /crypt
# dd if=/dev/random of=/root/gm0s1f.key bs=64 count=1
1+0 records in
1+0 records out
64 bytes transferred in 0.000580 secs (110331 bytes/sec)
# geli init -K /root/gm0s1f.key -l 256 -s 4096 /dev/mirror/gm0s1f
Enter new passphrase:
Reenter new passphrase:
# geli attach -k /root/gm0s1f.key /dev/mirror/gm0s1f
MD5 hash mismatch for /dev/mirror/gm0s1f.


I don't know what I'm doing wrong.  Was anybody successful  in this respect?
I'd appreciate every hint.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can't `make index` on 4.11-STABLE

2007-09-06 Thread Kent Stewart
On Thursday 06 September 2007, Sean Ellis wrote:
> Hi,
>
> I have a problem trying to `make index` on a machine running
> 4.11-STABLE after cvsup-ing the ports tree.

The port tree is no longer supported for anything less than version 
5-stable. The last working tag is RELEASE_4_EOL.

>
> I'll paste the error in below. It is with a multimedia package. If it
> makes any difference, I don't need any multimedia on this computer.
>
> Alternately, any links to a howto about ugrading this to 6 STABLE
> would be appreciated.

Going from 4.x to 6.x, you are probably much better off doing a clean 
install. Change the HDs from ufs to ufs2. Without the clean install, 
you have too much crufty stuff left behind, such as the thread change. 
In addition, there was a massive change at 5.1 +/- that building and 
installing in the wrong order would leave your system unusable. I think 
you could recover with the fixit disk but doing a clean install 
bypasses all of the problems :). 

I don't think going to 6.x is supported, so, going to 5-stable and then 
6-stable will take a lot of time. Even a 6.2-release CD has the old 
version of xorg on it and rebuilding everything to 7.2 is a massive 
enterprise.

Install 6.2 and get all of the packages from freebsd.org.

Kent

>
> Thanks, here is the error:
>
> [10:42am] [/usr/ports]make index
> Generating INDEX-4 - please
> wait.."/usr/ports/audio/gstreamer-plugins-esound/../../multimedia/gst
>reamer-plugins/Makefile.common", line 392: Malformed conditional
> (${gst_${GST_PLUGIN}_GCONF_SCHEMAS}!="")
> "/usr/ports/audio/gstreamer-plugins-esound/../../multimedia/gstreamer
>-plugins/Makefile.common", line 396: Malformed conditional
> (${gst_${GST_PLUGIN}_USE_SDL}!="")
> "/usr/ports/audio/gstreamer-plugins-esound/../../multimedia/gstreamer
>-plugins/Makefile.common", line 398: if-less endif
> "/usr/ports/audio/gstreamer-plugins-esound/../../multimedia/gstreamer
>-plugins/Makefile.common", line 398: Need an operator
> "/usr/ports/audio/gstreamer-plugins-esound/../../multimedia/gstreamer
>-plugins/Makefile.common", line 419: if-less endif
> "/usr/ports/audio/gstreamer-plugins-esound/../../multimedia/gstreamer
>-plugins/Makefile.common", line 419: Need an operator make: fatal
> errors encountered -- cannot continue
> ===> audio/gstreamer-plugins-esound failed
> *** Error code 1
>
>
> Sean Ellis
>
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"



-- 
Kent Stewart
Richland, WA

http://www.soyandina.com/ "I am Andean project".
http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can't `make index` on 4.11-STABLE

2007-09-06 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Sean Ellis wrote:

> I have a problem trying to `make index` on a machine running 4.11-STABLE
> after cvsup-ing the ports tree.

4.x has been dropped from support by the ports tree.  Several months
ago now.  It's never going to work,

> Alternately, any links to a howto about ugrading this to 6 STABLE would
> be appreciated.

For a 4.x to 6.x upgrade, your most effective route is generally to
backup your important files and data, and then nuke and repave your
server -- ie. just do a clean install of 6.2 overwriting the old
system -- then use csup(1)[*] to grab the latest RELENG_6 source and
buildworld in the usual way.

Given the price of hard drives nowadays, you could just buy yourself
a new one and install 6.2 on that -- gives you an easy back-out
route to 4.11 if it all goes horribly wrong...

Cheers,

Matthew

[*] That's a replacement for cvsup, written in C and part of the
base system in 6.x.

- --
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG4FKT8Mjk52CukIwRCG13AJ497ojrbx3YjEwxdEuwMPLdTq5qQACfePJe
Fk7yhPEEH737PnSQG0MoYtw=
=C70E
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Installing FreeBSD using a PPPoE connection

2007-09-06 Thread Randy Pratt
On Thu, 6 Sep 2007 08:59:32 -0700 (PDT)
asdf <[EMAIL PROTECTED]> wrote:

> Does the FreeBSD 6.2 installer support a network install over an ethernet 
> interface
> connected to a DSL modem using a PPPoE connection?
> 
> I am switching ISPs from a cable-based provider to a DSL-based provider and 
> would
> like to install FreeBSD on an old PC to set it up as a router/firewall for my 
> home
> network. And since this old PC does not have a CD-ROM drive I'd like to a 
> network
> install using PPPoE.
> 
> But I haven't been able to find any current information on how to accomplish 
> this.
> There used to be an (unofficial) page by Randy Pratt:
> 
> "Installing FreeBSD Using PPPoE":
> 
> 
> but it's no longer there.

I still have a copy at:

http://myfreebsd.homeunix.net/pppoe-article/article.html

Its probably still pretty close since sysinstall doesn't change that
much.  I hope you find it useful.

HTH,

Randy

-- 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install

2007-09-06 Thread Mak Kolybabi
On 2007-09-06 22:32, Bahman M. wrote:
> Mak Kolybabi wrote:
>> I'm trying to install FreeBSD 6.2-RELEASE on an IBM Thinkpad, and the
>> install
>> goes fine until it gets to the end of copying files from the CD. At that
>> point,
>> the message 'ELF interpreter /libexec/ld-elf.so.1 not found'. Also, 'Abort
>> trap'
>> appears on the console a few times.
>> When I go to VT4, any command I try running gives me the same error.
> Have you checked VT2 for any errors or warnings?
>
> Bahman

VT2 was where I was able to see these errors fully. Other than that, they crop
up behind the dialogs near the end of the setup. They are all I can see out of
the ordinary.

--
Matthew Anthony Kolybabi (Mak)

() ASCII Ribbon Campaign | Against HTML e-mail
/\  www.asciiribbon.org  | Against proprietary extensions

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Smokeping HELP

2007-09-06 Thread Narek Gharibyan
Hi All,

 

Please send me detailed instruction how to configure Smokeping. I couldn't
configure httpd.conf also.

 

Regards,

Narek

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install

2007-09-06 Thread Bahman M.

Mak Kolybabi wrote:

I'm trying to install FreeBSD 6.2-RELEASE on an IBM Thinkpad, and the install
goes fine until it gets to the end of copying files from the CD. At that point,
the message 'ELF interpreter /libexec/ld-elf.so.1 not found'. Also, 'Abort trap'
appears on the console a few times.

When I go to VT4, any command I try running gives me the same error.

Have you checked VT2 for any errors or warnings?

Bahman
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install

2007-09-06 Thread Mak Kolybabi
On 2007-09-06 11:47, Danielisz Laszlo wrote:
> Try to use a FreeBSD ftp server, or a mirror server next time when asks you 
> about the install source.
>
> - Original Message 
> From: Mak Kolybabi <[EMAIL PROTECTED]>
> To: Danielisz Laszlo <[EMAIL PROTECTED]>
> Cc: freebsd-questions@freebsd.org
> Sent: Thursday, September 6, 2007 9:35:51 PM
> Subject: Re: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS 
> install
>
> On 2007-09-06 11:28, Danielisz Laszlo wrote:
> > Do you tried to install FreeBSD from the internet?
> >
> > - Original Message 
> > From: Mak Kolybabi <[EMAIL PROTECTED]>
> > To: freebsd-questions@freebsd.org
> > Sent: Thursday, September 6, 2007 9:16:41 PM
> > Subject: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install
> >
> > I'm trying to install FreeBSD 6.2-RELEASE on an IBM Thinkpad, and the 
> > install
> > goes fine until it gets to the end of copying files from the CD. At that 
> > point,
> > the message 'ELF interpreter /libexec/ld-elf.so.1 not found'. Also, 'Abort 
> > trap'
> > appears on the console a few times.
> >
> > When I go to VT4, any command I try running gives me the same error.
> >
> > Any suggestions?
>
> I'm installing from the i386 ISO from the FreeBSD site. When asked where to 
> use
> as a download source, I chose 'CD/DVD'. Also, I have verified the ISO's MD5 
> sum
> and tried burning the image more than once, just to be paranoid.
>
> --
> Matthew Anthony Kolybabi (Mak)

Will do. Thanks for the suggestion. Trying that now...

--
Matthew Anthony Kolybabi (Mak)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install

2007-09-06 Thread Danielisz Laszlo
Try to use a FreeBSD ftp server, or a mirror server next time when asks you 
about the install source.

- Original Message 
From: Mak Kolybabi <[EMAIL PROTECTED]>
To: Danielisz Laszlo <[EMAIL PROTECTED]>
Cc: freebsd-questions@freebsd.org
Sent: Thursday, September 6, 2007 9:35:51 PM
Subject: Re: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install

On 2007-09-06 11:28, Danielisz Laszlo wrote:
> Do you tried to install FreeBSD from the internet?
>
> - Original Message 
> From: Mak Kolybabi <[EMAIL PROTECTED]>
> To: freebsd-questions@freebsd.org
> Sent: Thursday, September 6, 2007 9:16:41 PM
> Subject: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install
>
> I'm trying to install FreeBSD 6.2-RELEASE on an IBM Thinkpad, and the install
> goes fine until it gets to the end of copying files from the CD. At that 
> point,
> the message 'ELF interpreter /libexec/ld-elf.so.1 not found'. Also, 'Abort 
> trap'
> appears on the console a few times.
>
> When I go to VT4, any command I try running gives me the same error.
>
> Any suggestions?

I'm installing from the i386 ISO from the FreeBSD site. When asked where to use
as a download source, I chose 'CD/DVD'. Also, I have verified the ISO's MD5 sum
and tried burning the image more than once, just to be paranoid.

--
Matthew Anthony Kolybabi (Mak)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"







   

Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for 
today's economy) at Yahoo! Games.
http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


can't `make index` on 4.11-STABLE

2007-09-06 Thread Sean Ellis
Hi,

I have a problem trying to `make index` on a machine running 4.11-STABLE
after cvsup-ing the ports tree.

I'll paste the error in below. It is with a multimedia package. If it
makes any difference, I don't need any multimedia on this computer.

Alternately, any links to a howto about ugrading this to 6 STABLE would
be appreciated.

Thanks, here is the error:

[10:42am] [/usr/ports]make index
Generating INDEX-4 - please 
wait.."/usr/ports/audio/gstreamer-plugins-esound/../../multimedia/gstreamer-plugins/Makefile.common",
 line 392: Malformed conditional (${gst_${GST_PLUGIN}_GCONF_SCHEMAS}!="")
"/usr/ports/audio/gstreamer-plugins-esound/../../multimedia/gstreamer-plugins/Makefile.common",
 line 396: Malformed conditional (${gst_${GST_PLUGIN}_USE_SDL}!="")
"/usr/ports/audio/gstreamer-plugins-esound/../../multimedia/gstreamer-plugins/Makefile.common",
 line 398: if-less endif
"/usr/ports/audio/gstreamer-plugins-esound/../../multimedia/gstreamer-plugins/Makefile.common",
 line 398: Need an operator
"/usr/ports/audio/gstreamer-plugins-esound/../../multimedia/gstreamer-plugins/Makefile.common",
 line 419: if-less endif
"/usr/ports/audio/gstreamer-plugins-esound/../../multimedia/gstreamer-plugins/Makefile.common",
 line 419: Need an operator
make: fatal errors encountered -- cannot continue
===> audio/gstreamer-plugins-esound failed
*** Error code 1


Sean Ellis



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install

2007-09-06 Thread Lars Eighner

On Thu, 6 Sep 2007, Mak Kolybabi wrote:


I'm trying to install FreeBSD 6.2-RELEASE on an IBM Thinkpad, and the
install goes fine until it gets to the end of copying files from the CD.
At that point, the message 'ELF interpreter /libexec/ld-elf.so.1 not
found'. Also, 'Abort trap' appears on the console a few times.

When I go to VT4, any command I try running gives me the same error.

Any suggestions?


You almost certainly have a corrupt distribution.  Did you check the
checksums?


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install

2007-09-06 Thread Mak Kolybabi
On 2007-09-06 11:28, Danielisz Laszlo wrote:
> Do you tried to install FreeBSD from the internet?
>
> - Original Message 
> From: Mak Kolybabi <[EMAIL PROTECTED]>
> To: freebsd-questions@freebsd.org
> Sent: Thursday, September 6, 2007 9:16:41 PM
> Subject: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install
>
> I'm trying to install FreeBSD 6.2-RELEASE on an IBM Thinkpad, and the install
> goes fine until it gets to the end of copying files from the CD. At that 
> point,
> the message 'ELF interpreter /libexec/ld-elf.so.1 not found'. Also, 'Abort 
> trap'
> appears on the console a few times.
>
> When I go to VT4, any command I try running gives me the same error.
>
> Any suggestions?

I'm installing from the i386 ISO from the FreeBSD site. When asked where to use
as a download source, I chose 'CD/DVD'. Also, I have verified the ISO's MD5 sum
and tried burning the image more than once, just to be paranoid.

--
Matthew Anthony Kolybabi (Mak)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install

2007-09-06 Thread Danielisz Laszlo
Do you tried to install FreeBSD from the internet?

- Original Message 
From: Mak Kolybabi <[EMAIL PROTECTED]>
To: freebsd-questions@freebsd.org
Sent: Thursday, September 6, 2007 9:16:41 PM
Subject: 'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install

I'm trying to install FreeBSD 6.2-RELEASE on an IBM Thinkpad, and the install
goes fine until it gets to the end of copying files from the CD. At that point,
the message 'ELF interpreter /libexec/ld-elf.so.1 not found'. Also, 'Abort trap'
appears on the console a few times.

When I go to VT4, any command I try running gives me the same error.

Any suggestions?

--
Matthew Anthony Kolybabi (Mak)

() ASCII Ribbon Campaign | Against HTML e-mail
/\  www.asciiribbon.org  | Against proprietary extensions

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"







   

Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


'ELF interpreter /libexec/ld-elf.so.1 not found' during OS install

2007-09-06 Thread Mak Kolybabi
I'm trying to install FreeBSD 6.2-RELEASE on an IBM Thinkpad, and the install
goes fine until it gets to the end of copying files from the CD. At that point,
the message 'ELF interpreter /libexec/ld-elf.so.1 not found'. Also, 'Abort trap'
appears on the console a few times.

When I go to VT4, any command I try running gives me the same error.

Any suggestions?

--
Matthew Anthony Kolybabi (Mak)

() ASCII Ribbon Campaign | Against HTML e-mail
/\  www.asciiribbon.org  | Against proprietary extensions

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Linuxulator and SSE

2007-09-06 Thread RW
On Wed, 05 Sep 2007 19:53:14 +0200
Svein Halvor Halvorsen <[EMAIL PROTECTED]> wrote:

> Hello, list!
> 
> 
> I'm trying to get Bibble to run under the Linuxulator on FreeBSD,
> but it keeps complaining about missing SSE support.
>

I'm seeing the same sort of thing with an AMD64 (i386). dmesg
shows SSE, but cpuinfo doesn't



$ cat /compat/linux/proc/cpuinfo
processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 6
model   : 7
model name  : AMD Athlon(tm) 64 Processor 2800+
stepping: 10
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 b19 mmx fxsr xmm b26
cpu MHz : 1802.32
bogomips: 1802.32 18:40 (bob) ~ $ dmesg |grep sse
18:41 (bob) ~
$ dmesg |grep -i sse
  
Features=0x78bfbff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: bootable CDs on FreeBSD-6.1-R amd64

2007-09-06 Thread Mel
On Wednesday 05 September 2007 01:50:21 [EMAIL PROTECTED] wrote:

>Burning CDs is becoming a coastier task to me on FBSD-6.1-R amd64.
> I've lost five of them...

How do you determine they're broken? Like which error messages you get with 
what command, that makes you decide to trash them.

> and the question is how to make bootable CDs by 
> using cdrecord? I've already read "man cdrecord" but the question is not
> clearer.

Cdrecord (or burncd for that matter) doesn't know what bootable cd-roms are. 
The iso file determines if they're bootable or not. Cdrecord/burncd just 
tells the cd writer what bytes to burn in which sectors.

man mkisofs should tell you about making an iso file bootable.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mail server setup questions

2007-09-06 Thread DAve

Bill Vermillion wrote:

In the last exciting episode of the
[EMAIL PROTECTED] saga on Thu, Sep 06, 2007 at
06:27 , [EMAIL PROTECTED] as heard to say:


Date: Thu, 6 Sep 2007 11:37:11 +1000
From: Norberto Meijome <[EMAIL PROTECTED]>
Subject: Re: mail server setup questions
To: "Bob Johnson" <[EMAIL PROTECTED]>
Cc: Andrey Shuvikov <[EMAIL PROTECTED]>, freebsd-questions@freebsd.org



On Wed, 5 Sep 2007 16:52:56 -0400
"Bob Johnson" <[EMAIL PROTECTED]> wrote:



In case I haven't made myself clear, I despise Qmail with a
passion. I suppose it is suitable for people who like puzzles
(as in "What patches do I need to make this do something
useful?" or "What third-party tool do I need to make sense
out of these awful log files?") and who don't mind inflicting
lots of unnecessary secondary spam on the rest of the world.
Yes, I know there are _supposed_ to be patches that fix that
problem, but (a) the one I've seen in action doesn't work very
well, and (b) you shouldn't need to apply third-party patches
to your mail server to make it do what it is supposed to do in
the first place.



I second all these points. I think it's probably better to use
sendmail than qmail. Sendmail at least supports most (all?)
SMTP / antispam related features, it is well documented ,
and configurable to the extreme (with the caveat that its
configuration may be a bit daunting to the un-initiated :D).

I just realised that qmail appears over and over in Linux
distros, or at least on linux servers i've had to suffer... not
sure the relationship there (in design / philosophy...)... and I
am really NOT wanting to start a flame war. Just a thought that
crossed my mind as I was reading this thread.



Best,
B


I've been using sendmail for years, once it got stable, and I moved
from Smail.  This was on a SysV.3 from Esix.

However one day I decided to see what all the hoopla over qmail
was about.  So I went into the ports and ran make.

Much to my suprise, qmail installed 6 separate accounts in the
pasword file.  This was just with a make and NOT make install.

That at the very least is very rude behaviour. And another problem
with qmail from what I've read is that if you send mail to
several people on the same server, instead of doing what all
other MTA's do - and send ONE mail with all addresses, qmail
will generate a separate email for each user - putting un-needed
loads on your server and the recipients machine.

And the last time the qmail tar file that you get when you run
make has been changed was March 4, 2001.  Anyone who even thinks
that a piece of software that it 6 years old has no flaws had best
re-think this.  The last patches were in 2003.


Don't wonder if qmail has flaws, go to CERT.org and search first for 
Sendmail, then Postfix, then Exim, then qmail. To say "Anyone who even 
thinks that a piece of software that it 6 years old has no flaws had 
best re-think this.", is simply FUD.




ISTR that I heard DJB speak at a Usenix conference many years ago
and I was less than impressed with his "I'm better than any of
you" attitude.

Many seem to share that feeling - so consider me prejudiced.


We have run qmail for several years on FreeBSD quite well with few 
problems, none of which where related to the software, it's design, it's 
configuration, always it was Clam or SpamAssassin binding things up. It 
is stable, fast, secure, and provides abilities other MTAs do not. It is 
our first choice for a toaster or a mail list server.


We use Sendmail on our gateways for it's excellent milter support and 
versatile configuration. It has more knobs than a recording studio.


If we had a client with just a few domains and the need for their own 
MTA, we would install Postfix for it's ease of use. It's rock solid and 
easy to remember when you come back to it six months later.


"If your only tool is a hammer, every problem looks like a nail"

DAve


--
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Canon A620, FreeBSD and gphoto2

2007-09-06 Thread Predrag Punosevac

Eric,
Some cameras can be mounted without any software on FreeBSD. Yours is 
not one of those so be it.

No we are going to use gPhoto2.

If you play (ON THE MENU OF CAMERA) with the options on YOUR CAMERA in 
particular options for USB connector you will see that the following 
options likely will be displayed

Pict Bridge
PTP
Mass Storage
Auto

By default the camera is in Auto mode which is good enough for Windozzz 
but FreeBSD might want you
to put camera in PTP  mode usually used when camera is directly 
connected to PRINTER via

USB.
Then just follow the steps I gave you.
I am 99% sure that your camera DOES work with FreeBSD.

Predrag


Erin McNew wrote:
Thank you for the suggestions.  I did try mounting the camera, but 
since I had to use gphoto2 in linux, I figured I'd probably need to do 
so in freebsd as well.  It gave me the message saying it required a 
block device.


I do not quite know what you mean about switching my camera to PTP 
mode.  I did not need to do anything special under Linux, but I will 
google a bit to see what I can figure out related to that. 

I will look into your suggestions a bit more closely tonight when I 
get back home. 

If I'm understanding your explanation correctly, the fact that my 
camera is showing up as ugen0 instead of usb0 is not a problem, correct?


Thanks!
~Erin

On 9/5/07, *Predrag Punosevac* <[EMAIL PROTECTED] 
> wrote:


You should try to mount your camera manually first as
su -
password
mount_msdosfs /dev/ugen0 /mnt

If you can not read the camera only then you should use gphoto2 but
logged as a supper user to avoid
permission problems. If that fails i.e. if you get the message BLOCK
DEVICE RECUIRED you
should try to use gphoto2.

This is step by step for my Sony Cyber-Shot W70
1. Change into PTP mode on camera
2. Go to su mode (this can be avoided but I left it so that my wife
cannot mess with it)
3. gphoto2 --auto-detect will list your camera as Sony DSC-F707V (PTP
mode) usb:
4. gphoto2 --help to get various commands
5 gphoto2 --L will list all the files in numerical order
6 gphoto2 --get-file=NUMBER Range (will get you files in that range)
7 WARNING you may need to issue the commands some time multiple times
because
they fail. The following message is not uncommon
*** Error ***

Note you might not need to go to PTP mode for your particular camera!

If that fail then you can use cheap card reader which are well
detected
by FreeBSD.

There is an excellent thread that you can review
http://www.bsdforums.org/forums/showthread.php?t=12015&page=7&pp=15


maybe somebody left specific details for you camera but I think I gave
you a big push:-)

Please let me know how it goes.

Predrag



Erin McNew wrote:
> I'm trying to get my Canon A620 camera to work with gphoto2
under FreeBSD.
>
> dmesg is telling me that my camera is /dev/ugen0.
>
> [osiris temp] gphoto2 --list-ports
> Devices found:
> 2
> Path Description
> --
> ptpip:   PTP/IP Connection
> usb: Universal Serial Bus
>
> [osiris temp] gphoto2 --port /dev/ugen0 -P
> *** Error ***
> An error occurred in the io-library ('I/O problem'): Failed to open
> '/dev/ugen0' (m).
> *** Error (-7: 'I/O problem') ***
>
> [osiris temp] gphoto2 -L
>
> 1
> *** Error ***
> An error occurred in the io-library ('Bad parameters'): Could
not find USB
> device (vendor 0x4a9, product 0x30fc). Make sure this device is
connected to
> the computer.
> *** Error (-2: 'Bad parameters') ***
>
> I tried using --debug, but it didn't seem to give me that much
more detail,
> at least that I could understand.  I also tried specifying the
port as "usb"
> and the camera as "Canon PowerShot A620 (PTP mode)" (as
specified in gphoto2
> --list-cameras).  None of this worked.  Each gave me the "bad
parameters"
> error, which is slightly frustrating.
>
> I believe that this could be due to the fact that the camera is
being seen
> as ugen0 instead of usb.  Is there a way to cause it to be seen
as usb?
>
> Thanks!
> ~Erin
>
>
>
>




--
http://www.tuxgirl.com


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: bootable CDs on FreeBSD-6.1-R amd64

2007-09-06 Thread luizbcampos
>> I followed your instruction...one more disk to the trash! Thanks

On 9/5/07, Roland Smith <[EMAIL PROTECTED]> wrote:
>
> On Tue, Sep 04, 2007 at 08:50:21PM -0300, [EMAIL PROTECTED] wrote:
> >Dear Sirs
> >
> >
> >Burning CDs is becoming a coastier task to me on FBSD-6.1-Ramd64.
> > I've lost five of them...and the question is how to make bootable CDs by
> > using cdrecord? I've already read "man cdrecord" but the question is not
> > clearer.
>
> Better not use 6.1. 6.2 has been out for some time now.
>
> The following works for me;
>
> 1) Make sure that the CD/DVD rewriter is controlled as a SCSI device
> instead of an ATAPI device. Build a kernel with the following devices:
>
> # ATA and ATAPI devices
> # Do _not_ include the atapicd driver!
> device  ata
> device  atadisk # ATA disk srives
> device  ataraid # RAID drives
> # The atapicam device is not included in the GENERIC amd64 kernel!
> device  atapicam# Emulate ATAPI devices as SCSI via CAM
> options ATA_STATIC_ID   # Static device numbering
>
> # SCSI peripherals
> device  scbus   # SCSI bus (required for SCSI)
> device  cd  # Compact Disc
> device  da  # Direct Access (disks)
> device  pass# Passthrough device (direct SCSI access)
>
> 2) Set the device permissions correctly
>
> # Give members of group cdrom access to the CD/DVD-ROM and DVD+RW via the
> # SCSI interface
> own xpt0root:cdrom
> permxpt00660
> own cd0 root:cdrom
> permcd0 0660
> own cd1 root:cdrom
> permcd1 0660
> linkcd1 cdrom
> linkcd1 dvd
>
> My user-id is part of the cdrom group.
>
> 3) Use 'cdrecord -scanbus' to determine which device to use;
> Cdrecord-ProDVD-Clone 2.01.01a11 (amd64-unknown-freebsd6.2) Copyright (C)
> 1995-2006 Jörg Schilling
> Using libscg version 'schily-0.8'.
> scsibus1:
> 1,0,0   100) 'HL-DT-ST' 'DVD-ROM GDR8163B' '0L23' Removable CD-ROM
> 1,1,0   101) 'PLEXTOR ' 'DVDR   PX-716A  ' '1.08' Removable CD-ROM
>
> So I'm using 1,1,0.
>
> 4) Burn the image;
>
> cdrecord -v -eject -dao speed=32 driveropts=burnfree dev=1,1,0 -pad \
> -data 6.2-RELEASE-amd64-disc1.iso
>
> HTH,
>
> 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)
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mail server setup questions

2007-09-06 Thread Bill Vermillion
In the last exciting episode of the
[EMAIL PROTECTED] saga on Thu, Sep 06, 2007 at
06:27 , [EMAIL PROTECTED] as heard to say:

> Date: Thu, 6 Sep 2007 11:37:11 +1000
> From: Norberto Meijome <[EMAIL PROTECTED]>
> Subject: Re: mail server setup questions
> To: "Bob Johnson" <[EMAIL PROTECTED]>
> Cc: Andrey Shuvikov <[EMAIL PROTECTED]>, freebsd-questions@freebsd.org

> On Wed, 5 Sep 2007 16:52:56 -0400
> "Bob Johnson" <[EMAIL PROTECTED]> wrote:

> > In case I haven't made myself clear, I despise Qmail with a
> > passion. I suppose it is suitable for people who like puzzles
> > (as in "What patches do I need to make this do something
> > useful?" or "What third-party tool do I need to make sense
> > out of these awful log files?") and who don't mind inflicting
> > lots of unnecessary secondary spam on the rest of the world.
> > Yes, I know there are _supposed_ to be patches that fix that
> > problem, but (a) the one I've seen in action doesn't work very
> > well, and (b) you shouldn't need to apply third-party patches
> > to your mail server to make it do what it is supposed to do in
> > the first place.

> I second all these points. I think it's probably better to use
> sendmail than qmail. Sendmail at least supports most (all?)
> SMTP / antispam related features, it is well documented ,
> and configurable to the extreme (with the caveat that its
> configuration may be a bit daunting to the un-initiated :D).
>
> I just realised that qmail appears over and over in Linux
> distros, or at least on linux servers i've had to suffer... not
> sure the relationship there (in design / philosophy...)... and I
> am really NOT wanting to start a flame war. Just a thought that
> crossed my mind as I was reading this thread.

> Best,
> B

I've been using sendmail for years, once it got stable, and I moved
from Smail.  This was on a SysV.3 from Esix.

However one day I decided to see what all the hoopla over qmail
was about.  So I went into the ports and ran make.

Much to my suprise, qmail installed 6 separate accounts in the
pasword file.  This was just with a make and NOT make install.

That at the very least is very rude behaviour.  And another problem
with qmail from what I've read is that if you send mail to
several people on the same server, instead of doing what all
other MTA's do - and send ONE mail with all addresses, qmail
will generate a separate email for each user - putting un-needed
loads on your server and the recipients machine.

And the last time the qmail tar file that you get when you run
make has been changed was March 4, 2001.  Anyone who even thinks
that a piece of software that it 6 years old has no flaws had best
re-think this.  The last patches were in 2003.

ISTR that I heard DJB speak at a Usenix conference many years ago
and I was less than impressed with his "I'm better than any of
you" attitude.

Many seem to share that feeling - so consider me prejudiced.

Bill


-- 
Bill Vermillion - bv @ wjv . com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Installing FreeBSD using a PPPoE connection

2007-09-06 Thread asdf
Does the FreeBSD 6.2 installer support a network install over an ethernet 
interface
connected to a DSL modem using a PPPoE connection?

I am switching ISPs from a cable-based provider to a DSL-based provider and 
would
like to install FreeBSD on an old PC to set it up as a router/firewall for my 
home
network. And since this old PC does not have a CD-ROM drive I'd like to a 
network
install using PPPoE.

But I haven't been able to find any current information on how to accomplish 
this.
There used to be an (unofficial) page by Randy Pratt:

"Installing FreeBSD Using PPPoE":


but it's no longer there.

Any help/advice is appreciated.
Thanks!

PS: I am not subscribed to this list, so please CC: me on all 
replies/follow-ups.


   

Sick sense of humor? Visit Yahoo! TV's 
Comedy with an Edge to see what's on, when. 
http://tv.yahoo.com/collections/222
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Encrypting mirrored device with geli fails

2007-09-06 Thread Thomas Hobbes
# uname -a
FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386

# cat /boot/loader.conf
beastie_disable="YES"
geom_eli_load="YES"
geom_mirror_load="YES"
padlock_load="YES"

Swap space is encrypted by appending '.eli' to /dev/mirror/gm0s1b in
/etc/fstab. According to the ouput of swapinfo that works fine.

/dev/mirror/gm0s1a is mounted on /
/dev/mirror/gm0s1d is mounted on /var
/dev/mirror/gm0s1e is mounted on /usr
/dev/mirror/gm0s1f is mounted on /crypt

I was trying to encrypt /dev/mirror/gm0s1f but a "MD5 mismatch" occurred:
# umount /crypt
# dd if=/dev/random of=/root/gm0s1f.key bs=64 count=1
1+0 records in
1+0 records out
64 bytes transferred in 0.000580 secs (110331 bytes/sec)
# geli init -K /root/gm0s1f.key -l 256 -s 4096 /dev/mirror/gm0s1f
Enter new passphrase:
Reenter new passphrase:
# geli attach -k /root/gm0s1f.key /dev/mirror/gm0s1f
MD5 hash mismatch for /dev/mirror/gm0s1f.


I don't know what I'm doing wrong.  Was anybody successful  in this respect?
I'd appreciate every hint.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Linuxulator and SSE

2007-09-06 Thread Mel
On Wednesday 05 September 2007 19:53:14 Svein Halvor Halvorsen wrote:
> $ sysctl hw.instruction_sse
> hw.instruction_sse: 1
...
> flags   : fpu vme de pse tsc msr mce cx8 sep mtrr pge mca
> cmov pat b19 b21 mmxext mmx fxsr xmm b26 b29 3dnow
   ^

I found that weird. Filing a PR is a good idea, as it looks like your sse is 
detected as 3dnow in linux emulator.

-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: bash on login.

2007-09-06 Thread Mel
On Thursday 06 September 2007 17:06:02 Albert Shih wrote:

> I'm using bash for standard shell, what I don't understand is when I'm
> connect by ssh on my server the bash don't parse .bashrc file.

man bash, section INVOCATION:
   A  login shell is one whose first character of argument zero is a -, or
   one started with the --login option.

   An interactive shell is one started without  non-option  arguments  and
   without the -c option whose standard input and error are both connected
   to terminals (as determined by isatty(3)), or one started with  the  -i
   option.   PS1 is set and $- includes i if bash is interactive, allowing
   a shell script or a startup file to test this state.

...

   When an interactive shell that is not a login shell  is  started,  bash
   reads  and executes commands from ~/.bashrc, if that file exists.  This
   may be inhibited by using the --norc option.  The --rcfile file  option
   will  force  bash  to  read  and  execute commands from file instead of
   ~/.bashrc.

Ssh is a login shell.

For most practical uses:
cat ~/.bashrc >> ~/.bash_profile && rm -f ~/.bashrc
and live happily ever after.

-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Burn ape music to CD

2007-09-06 Thread Mak Kolybabi
On 2007-09-06 15:35, Pollywog wrote:
> What is "ape music"?  I take it there is nothing simian about it.

"Monkey's Audio is a file format for audio data compression. Being a lossless
compression format, Monkey's Audio does not remove information from the audio
stream, as lossy compression formats such as MP3, AAC, and Vorbis do."

http://en.wikipedia.org/wiki/Monkey%27s_Audio

--
Matthew Anthony Kolybabi (Mak)

() ASCII Ribbon Campaign | Against HTML e-mail
/\  www.asciiribbon.org  | Against proprietary extensions

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mail server setup questions

2007-09-06 Thread Bob Johnson
On 9/5/07, Chad Perrin <[EMAIL PROTECTED]> wrote:
> On Thu, Sep 06, 2007 at 11:37:11AM +1000, Norberto Meijome wrote:
> > On Wed, 5 Sep 2007 16:52:56 -0400
> > "Bob Johnson" <[EMAIL PROTECTED]> wrote:
> >
> > > In case I haven't made myself clear, I despise Qmail with a passion.
[...]
> >
> > I just realised that qmail appears over and over in Linux distros, or at
> least
> > on linux servers i've had to suffer... not sure the relationship there (in
> > design / philosophy...)... and I am really NOT wanting to start a flame
> war.
> > Just a thought that crossed my mind as I was reading this thread.

About five or seven years ago when sendmail was having a lot of
security problems and people were looking for alternatives, qmail was
reasonably well established and was widely recommended. So a lot of
people switched to it (including the place where I now work),
including several Linux distros. We were never very happy with it
here, and I suspect that the reason it has such a following in the
Linux world is either that they have never used an alternative (same
reason Windows has so many fans), or to abandon it and move to
something else would cause a sort of cognitive dissonance that
prevents it from happening.

>
> I haven't seen enough production FreeBSD systems set up by others to have
> any impressions about whether Linux admins are more likely to use Qmail
> than FreeBSD admins.  I do get the impression, however, that the Linux
> admins who choose Qmail tend to do so for much the same reason that MS
> Windows admins choose Exchange: they think it's easier, that setting it
> up is just a plug-and-play, point-and-click sort of exercise.  The fact
> that it's sending and receiving emails within a couple hours (starting
> from a clean box) seems to be the sum total of their metric for ease of
> setup, and all the hassle and annoyance that follows doesn't even enter
> into it.

For those people I recommend Courier.  It was designed to be a drop-in
replacement for Qmail, but without most of the flaws. The
configuration files, for instance, are mostly the same. The biggest
problem I've had when configuring Courier is that it tends to be
overly determined to enforce RFC compliance and thus will not be
friendly toward a lot of mail from various MS products. Find the
configuration flag that turns off that behavior or users will complain
about the results. The author makes a reasonable case for the default
behavior (to do otherwise forces Courier to be non-compliant itself),
but in the real world you have to be able to accept mail from MS
products.

I have used Courier at my previous job (about 200 users) and at home
and I have no significant complaints. If you just need a basic server
that will handle your personal email without requiring you to learn
what amounts to a new programming language (as with Exim and a few
others), it's a good choice. The full distribution includes a POP/IMAP
server and a webmail system. Just be sure not to skip the README file,
and follow the instructions for testing your installation
step-by-step. I have NOT tried to set up intensive anti-spam measures
on Courier, so I don't know what problems may be in store there, but
I'm sure there is info at http://www.courier-mta.org

I'm not really as evangelistic for Courier as I sound. As long as you
stay away from Qmail you will probably be happy with whatever you use.
I do recommend that you use something that supports Maildir style
mailboxes, though.

- Bob
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: bash on login.

2007-09-06 Thread Pollywog
On Thursday 06 September 2007 15:06:02 Albert Shih wrote:
> Hi all
>
> I'm using bash for standard shell, what I don't understand is when I'm
> connect by ssh on my server the bash don't parse .bashrc file.
>
> But if in the bash session I type «bash» this time the .bashrc is use.
>
> How can I make the .bashrc file is read when I connect by ssh ?

I source it in ~/.bash_profile:

# include .bashrc if it exists
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Burn ape music to CD

2007-09-06 Thread Pollywog
I was waiting for someone else to ask, but nobody has, so here goes...

What is "ape music"?  I take it there is nothing simian about it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: bash on login.

2007-09-06 Thread Bahman M.

Albert Shih wrote:

Hi all

I'm using bash for standard shell, what I don't understand is when I'm
connect by ssh on my server the bash don't parse .bashrc file. 

But if in the bash session I type �bash� this time the .bashrc is use. 


How can I make the .bashrc file is read when I connect by ssh ?
SSH runs bash as a login shell and in that mode, bash doesn't execute 
.bashrc (see man 1 bash).


One solution is to put the following in ~/.bash_profile.
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

Bahman
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: bash on login.

2007-09-06 Thread Giorgos Keramidas
On 2007-09-06 17:06, Albert Shih <[EMAIL PROTECTED]> wrote:
> Hi all
> I'm using bash for standard shell, what I don't understand is when I'm
> connect by ssh on my server the bash don't parse .bashrc file.

Because .bashrc is not loaded by login shells.  Read the manpage of
bash(1) for more details, and make sure you pay A LOT of attention
to the ``INVOCATION'' section:

When bash is invoked as an interactive login shell, or as a
non-interactive shell with the --login option, it first reads
and executes commands from the file /etc/profile, if that
file exists.  After reading that file, it looks for
~/.bash_profile, ~/.bash_login, and ~/.profile, in that
order, and reads and executes commands from the first one
that exists and is readable.  The --noprofile option may be
used when the shell is started to inhibit this behavior.

When a login shell exits, bash reads and executes commands
from the file ~/.bash_logout, if it exists.

When an interactive shell that is not a login shell is
started, bash reads and executes commands from ~/.bashrc, if
that file exists.  This may be inhibited by using the --norc
option.  The --rcfile file option will force bash to read and
execute commands from file instead of ~/.bashrc.

> But if in the bash session I type «bash» this time the .bashrc is use.

Yes.  This is no longer a login shell.  It's merely an interactive
shell, so bash ignores .bash_profile and reads .bashrc instead.

> How can I make the .bashrc file is read when I connect by ssh ?

My preferred setup uses both files.

The .bash_profile file acts solely as a 'delegation script', which loads
all my preferences from .bashrc.  The full contents of my .bashrcc file
are something like this:

test -f ~/.bashrc && . ~/.bashrc
true

All my preferences, options, environment variables, and other bash
configuration is stored in ~/.bashrc.

This way both login shells and interactive shells use precisely the same
environment.

- Giorgos

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: bash on login.

2007-09-06 Thread Albert Shih
 Le 06/09/2007 à 17:09:27+0200, Gabor Kovesdan a écrit
> Albert Shih escribió:
>> Hi all
>> 
>> I'm using bash for standard shell, what I don't understand is when I'm
>> connect by ssh on my server the bash don't parse .bashrc file. 
>> But if in the bash session I type «bash» this time the .bashrc is use. 
>> How can I make the .bashrc file is read when I connect by ssh ?
>> 
>>   
> I'm not sure in the concrete answer, but you can use ~/.profile, it is 
> processed for me when logging in.

Lots of thanks.

It's work...I've put source .bashrc at the end of my ~/.profile 

Regards.

--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Téléphone : 01 45 07 76 26
Heure local/Local time:
Jeu 6 sep 2007 17:25:27 CEST
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Linuxulator and SSE

2007-09-06 Thread Svein Halvor Halvorsen

Ivan Voras wrote:

Svein Halvor Halvorsen wrote:

Hello, list!


I'm trying to get Bibble to run under the Linuxulator on FreeBSD,
but it keeps complaining about missing SSE support.


What does the top of dmesg (generated during boot) tells you about the 
processor? If it doesn't list "SSE" under the list of features, then 
your processor doesn't support it.




SSE should be supported. It says:

FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) M processor 1200MHz (1196.12-MHz 686-class CPU)
Origin = "GenuineIntel"  Id = 0x695  Stepping = 5
Features=0xa7e9f9bf
Features2=0x180
real memory  = 661118976 (630 MB)
avail memory = 637620224 (608 MB)


Svein Halvor
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: bash on login.

2007-09-06 Thread Derek Ragona

At 10:06 AM 9/6/2007, Albert Shih wrote:

Hi all

I'm using bash for standard shell, what I don't understand is when I'm
connect by ssh on my server the bash don't parse .bashrc file.

But if in the bash session I type «bash» this time the .bashrc is use.

How can I make the .bashrc file is read when I connect by ssh ?

Regards.

--


It may be an option in your ssh client.  Have you checked there?

-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Hello

2007-09-06 Thread Jerry McAllister
On Thu, Sep 06, 2007 at 12:33:42PM +0100, Gabriel Dragffy wrote:

> Dear list members.
> 
> I just wanted to say hi to all of you. My name is Gabriel, and I have  
> just been setting up a FreeBSD server at work, having moved from Linux.
> 
> There are just a couple of things that aren't working quite as I  
> would like, and I was hoping someone might be kind enough to help me  
> out. I've been using the FreeBSD handbook, and I must say it is quite  
> superb, and makes starting with FreeBSD much easier.
> 
> Using sysinstall I enabled anonymous FTP, with uploads allowed in the  
> folder /incoming. Uploading works a treat, however the files don't  
> have permissions to be downloaded again (by anon user). I know I  
> could change this by executing a cron job every two minutes that  
> would chmod the files in /incoming. But surely there must be a far  
> better way...? The FreeBSD handbook says it doesn't recommend  
> allowing anon users to d/load files uploaded anonymously, however I  
> would still like to implement this.

What they are trying to do is reduce the chance that a SM will
create a system where anyone in the world can upload stuff and
then, without any checking of the stuff, anyone in the world
can download it.Eg.  They are trying to force you to at least
notice the file before making it available for download.

This is to reduce the incidence of evil minded creatures using your
machine for their despicable plots of distributing dangerous files
and software around the net.

So, what you are supposed to do is make two separate directories - 
one for upload and one for download.   Then you check each uploaded
file for mal-ware before moving it to the download space with
the needed permissions.   You can use the same directory, but do
not leave out the step of checking the file content before setting
permissions to allow download.

But, it is better to use separate directories so people doing a 
download don't have to wade through the swamp of uploaded, and
not approved/checked stuff.

Of course, some people will point out that FTP is on the outs now
anyway and will recommend other ways of doing things.  Pay attention
to that.   But, sometimes FTP still fills a need.

jerry  

> 
> I'd be very appreciative for any help.
> 
> Best regards
> 
> Gabriel Dragffy
> 
> [EMAIL PROTECTED]
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Canon A620, FreeBSD and gphoto2

2007-09-06 Thread Erin McNew
Thank you for the suggestions.  I did try mounting the camera, but since I
had to use gphoto2 in linux, I figured I'd probably need to do so in freebsd
as well.  It gave me the message saying it required a block device.

I do not quite know what you mean about switching my camera to PTP mode.  I
did not need to do anything special under Linux, but I will google a bit to
see what I can figure out related to that.

I will look into your suggestions a bit more closely tonight when I get back
home.

If I'm understanding your explanation correctly, the fact that my camera is
showing up as ugen0 instead of usb0 is not a problem, correct?

Thanks!
~Erin

On 9/5/07, Predrag Punosevac <[EMAIL PROTECTED]> wrote:
>
> You should try to mount your camera manually first as
> su -
> password
> mount_msdosfs /dev/ugen0 /mnt
>
> If you can not read the camera only then you should use gphoto2 but
> logged as a supper user to avoid
> permission problems. If that fails i.e. if you get the message BLOCK
> DEVICE RECUIRED you
> should try to use gphoto2.
>
> This is step by step for my Sony Cyber-Shot W70
> 1. Change into PTP mode on camera
> 2. Go to su mode (this can be avoided but I left it so that my wife
> cannot mess with it)
> 3. gphoto2 --auto-detect will list your camera as Sony DSC-F707V (PTP
> mode) usb:
> 4. gphoto2 --help to get various commands
> 5 gphoto2 --L will list all the files in numerical order
> 6 gphoto2 --get-file=NUMBER Range (will get you files in that range)
> 7 WARNING you may need to issue the commands some time multiple times
> because
> they fail. The following message is not uncommon
> *** Error ***
>
> Note you might not need to go to PTP mode for your particular camera!
>
> If that fail then you can use cheap card reader which are well detected
> by FreeBSD.
>
> There is an excellent thread that you can review
> http://www.bsdforums.org/forums/showthread.php?t=12015&page=7&pp=15
>
> maybe somebody left specific details for you camera but I think I gave
> you a big push:-)
>
> Please let me know how it goes.
>
> Predrag
>
>
>
> Erin McNew wrote:
> > I'm trying to get my Canon A620 camera to work with gphoto2 under
> FreeBSD.
> >
> > dmesg is telling me that my camera is /dev/ugen0.
> >
> > [osiris temp] gphoto2 --list-ports
> > Devices found:
> > 2
> > Path Description
> > --
> > ptpip:   PTP/IP Connection
> > usb: Universal Serial Bus
> >
> > [osiris temp] gphoto2 --port /dev/ugen0 -P
> > *** Error ***
> > An error occurred in the io-library ('I/O problem'): Failed to open
> > '/dev/ugen0' (m).
> > *** Error (-7: 'I/O problem') ***
> >
> > [osiris temp] gphoto2 -L
> >
> > 1
> > *** Error ***
> > An error occurred in the io-library ('Bad parameters'): Could not find
> USB
> > device (vendor 0x4a9, product 0x30fc). Make sure this device is
> connected to
> > the computer.
> > *** Error (-2: 'Bad parameters') ***
> >
> > I tried using --debug, but it didn't seem to give me that much more
> detail,
> > at least that I could understand.  I also tried specifying the port as
> "usb"
> > and the camera as "Canon PowerShot A620 (PTP mode)" (as specified in
> gphoto2
> > --list-cameras).  None of this worked.  Each gave me the "bad
> parameters"
> > error, which is slightly frustrating.
> >
> > I believe that this could be due to the fact that the camera is being
> seen
> > as ugen0 instead of usb.  Is there a way to cause it to be seen as usb?
> >
> > Thanks!
> > ~Erin
> >
> >
> >
> >
>
>


-- 
http://www.tuxgirl.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: bash on login.

2007-09-06 Thread Gabor Kovesdan

Albert Shih escribió:

Hi all

I'm using bash for standard shell, what I don't understand is when I'm
connect by ssh on my server the bash don't parse .bashrc file. 

But if in the bash session I type «bash» this time the .bashrc is use. 


How can I make the .bashrc file is read when I connect by ssh ?

  
I'm not sure in the concrete answer, but you can use ~/.profile, it is 
processed for me when logging in.


Regards,

--
Gabor Kovesdan
FreeBSD Volunteer

EMAIL: [EMAIL PROTECTED] .:|:. [EMAIL PROTECTED]
WEB:   http://people.FreeBSD.org/~gabor .:|:. http://kovesdan.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


bash on login.

2007-09-06 Thread Albert Shih
Hi all

I'm using bash for standard shell, what I don't understand is when I'm
connect by ssh on my server the bash don't parse .bashrc file. 

But if in the bash session I type «bash» this time the .bashrc is use. 

How can I make the .bashrc file is read when I connect by ssh ?

Regards.

--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Téléphone : 01 45 07 76 26
Heure local/Local time:
Jeu 6 sep 2007 17:03:26 CEST
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mail server setup questions

2007-09-06 Thread Chad Perrin
On Thu, Sep 06, 2007 at 05:23:13AM -0700, Ted Mittelstaedt wrote:
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Nikola Lecic
> > Sent: Wednesday, September 05, 2007 11:13 AM
> > To: Jerry McAllister
> > Cc: Eray Aslan; freebsd-questions@freebsd.org; Ted Mittelstaedt
> > Subject: Re: mail server setup questions
> > 
> 
> > I'm very disappointed that more official people on this list didn't say
> > something like "Ted, please respect our users from all countries,
> > including those two countries you have mentioned" 
> 
> Perhaps the silence might give you pause to consider?
> 
> Very likely no one else considers themselves offended.
> 
> Very likely that is because it was obvious to everyone else
> that no offense was ever intended.
> 
> Very likely because everyone else also assumed that the idea
> of permitting non-nuclear states to buy nuclear warheads was
> universally regarded as a bad idea, and thus grasped the
> mailserver comparison instantly.
> 
> Very likely because nobody understands what the problem
> is in the first place.  That would include me, by the way.

. . . or maybe it's because this line of discussion looks ridiculous from
both sides.  Seriously.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
W. Somerset Maugham: "The ability to quote is a serviceable substitute for
wit."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mail server setup questions

2007-09-06 Thread Chad Perrin
On Thu, Sep 06, 2007 at 11:37:11AM +1000, Norberto Meijome wrote:
> On Wed, 5 Sep 2007 16:52:56 -0400
> "Bob Johnson" <[EMAIL PROTECTED]> wrote:
> 
> > In case I haven't made myself clear, I despise Qmail with a passion. I
> > suppose it is suitable for people who like puzzles (as in "What
> > patches do I need to make this do something useful?" or "What
> > third-party tool do I need to make sense out of these awful log
> > files?") and who don't mind inflicting lots of unnecessary secondary
> > spam on the rest of the world.  Yes, I know there are _supposed_ to be
> > patches that fix that problem, but (a) the one I've seen in action
> > doesn't work very well, and (b) you shouldn't need to apply
> > third-party patches to your mail server to make it do what it is
> > supposed to do in the first place.
> 
> I second all these points. I think it's probably better to use sendmail than
> qmail. Sendmail at least supports most (all?) SMTP / antispam related 
> features,
> it is well documented , and configurable to the extreme (with the caveat that
> its configuration may be a bit daunting to the un-initiated :D).
> 
> I just realised that qmail appears over and over in Linux distros, or at least
> on linux servers i've had to suffer... not sure the relationship there (in
> design / philosophy...)... and I am really NOT wanting to start a flame war.
> Just a thought that crossed my mind as I was reading this thread.

I haven't seen enough production FreeBSD systems set up by others to have
any impressions about whether Linux admins are more likely to use Qmail
than FreeBSD admins.  I do get the impression, however, that the Linux
admins who choose Qmail tend to do so for much the same reason that MS
Windows admins choose Exchange: they think it's easier, that setting it
up is just a plug-and-play, point-and-click sort of exercise.  The fact
that it's sending and receiving emails within a couple hours (starting
from a clean box) seems to be the sum total of their metric for ease of
setup, and all the hassle and annoyance that follows doesn't even enter
into it.

Just as MS Exchange basically requires its own admin, but nobody cares
for purposes of judging how "easy" it is as long as the thing is
minimally running within a couple hours, Qmail is an invitation for
disaster -- but nobody cares as long as they can judge it by its security
and stability statistics in a default (if essentially useless)
configuration, and as long as they can configure it via some kind of
point-and-click web interface.  That's my experience, anyway.

If Qmail is more common among Linux admins, I tend to guess Webmin
probably is as well.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
McCloctnick the Lucid: "The first rule of magic is simple. Don't waste your
time waving your hands and hopping when a rock or a club will do."
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Hello

2007-09-06 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

Gabriel Dragffy wrote:

> Using sysinstall I enabled anonymous FTP, with uploads allowed in the
> folder /incoming. Uploading works a treat, however the files don't have
> permissions to be downloaded again (by anon user). I know I could change
> this by executing a cron job every two minutes that would chmod the
> files in /incoming. But surely there must be a far better way...? The
> FreeBSD handbook says it doesn't recommend allowing anon users to d/load
> files uploaded anonymously, however I would still like to implement this.

The idea here is to stop your FTP server being used as a warez site.  So
the script kiddies cannot upload their cracked software and dubious
copies of this that and the other and then send all their little friends
along to download that stuff from you.  Leave a mis-configured FTP
server on the net and it will be discovered and used for this purpose
within a week or so.

The best approaches are these:

  i) Don't use FTP at all.  FTP is an archaic protocol, hard to firewall
correctly and that sends passwords across the net in plain text.  The
secure version 'FTPS' is not supported by the ftpd in the base system.
Instead consider such things as SFTP (which is an SSH client which
behaves like FTP), WebDAV over HTTPS (HTTP PUT) or a form based upload
CGI script (HTTP POST), rsync over SSH. etc.

 ii) If you have to use FTP, then create individual user FTP accounts
so you have some accountability as to who is doing what.  Run the FTP
service in a chroot or jail and make sure the FTP password file is
distinct from the normal password file.

iii) If you have to provide incoming anonymous FTP then don't
automatically make any uploaded files available for download.  Task a
person with reviewing what was uploaded and then moving it into an
appropriate place in your filesystem where it can be downloaded from.
Again, be sure to run FTP chroot'ed or jailed.

Cheers,

Matthew

- --
Dr Matthew J Seaman MA, D.Phil.   Flat 3
  7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW, UK
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG4Agy3jDkPpsZ+VYRA2V3AKCMzwid9H5W1dY2FkwVdLyZvVq31wCgjgFp
4p0qDnF185J4kqNvxxUd/nw=
=NOgu
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Canon A620, FreeBSD and gphoto2

2007-09-06 Thread Harry Matthiesen Jensen
On Wed, Sep 05, 2007 at 11:46:55PM -0700, Predrag Punosevac wrote:
> 
> Note you might not need to go to PTP mode for your particular camera!

Actually, if you just issue "gphoto2 --list-cameras", you will see:

"Canon PowerShot A620 (PTP mode)"

..so PTP should work.

> 
> If that fail then you can use cheap card reader which are well detected 
> by FreeBSD.

Yep, last resort ;-)

Brgds Harry
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: samba / remote windows machine / nagios

2007-09-06 Thread Lowell Gilbert
alexus <[EMAIL PROTECTED]> writes:

> does anyone knows how i can monitor for a date file on a remote
> windows machine from my freebsd through samba client i guess, so
> result can be reported to nagios?

I can't think of a way to be automatically notified, so you would need
to check the file periodically.  cron is a good way if you're not
checking too often; otherwise you're better off with a daemon (a
looping script, even).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Hello

2007-09-06 Thread Ivan Voras

Gabriel Dragffy wrote:

Using sysinstall I enabled anonymous FTP, with uploads allowed in the 
folder /incoming. Uploading works a treat, however the files don't have 
permissions to be downloaded again (by anon user). I know I could change 
this by executing a cron job every two minutes that would chmod the 
files in /incoming. But surely there must be a far better way...? The 
FreeBSD handbook says it doesn't recommend allowing anon users to d/load 
files uploaded anonymously, however I would still like to implement this.


I'd be very appreciative for any help.


Hi,

Have you seen the manual for ftpd(8)? It's available at
http://www.freebsd.org/cgi/man.cgi?query=ftpd

You can change the flags passed to ftpd in your inetd.conf (if you 
enabled ftpd this way) or in rc.conf (which is another, but different 
way to do it). If you don't know these config files, see the respective 
manuals.





signature.asc
Description: OpenPGP digital signature


RE: mail server setup questions

2007-09-06 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Eric
> Sent: Wednesday, September 05, 2007 12:12 PM
> To: Andrey Shuvikov
> Cc: freebsd-questions@freebsd.org
> Subject: Re: mail server setup questions
> 
> 
> Andrey Shuvikov wrote:
> > Hi,
> > 
> > I'm trying to set up a home mailserver with imap/web access. But I was
> > going to use exim. Several people mentioned postfix here, but nobody
> > named exim. Is it a matter of personal preference or is exim not
> > suitable for this task?
> > 
> 
> Exim is a capable mailer as is postfix. I think its mostly a matter of 
> preference but I havent delved into Exim too much. Personally I run 
> Postfix and Dovecot for my mail server setup. Roundcube does a nice job 
> in providing a front end on the web for Dovecot.
> 

Roundcube has an interesting Macalike interface (Mac users love it) but
it has it's problems.  For one thing it doesen't display properly on
many web browsers.  Unfortunately, with webmail interfaces, you have
to pick the problems you want to deal with, none of them are without
warts.

Ted
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: passwd(1), pam_ldap and old PRs

2007-09-06 Thread Ivan Voras

Jonathan McKeown wrote:


There are two relevant PRs, one open (bin/71290)and one suspended (bin/59638).
...


You may want to try asking this on current@ and hackers@ lists.



signature.asc
Description: OpenPGP digital signature


Re: 6.2 Hangs Probing Floppy During Boot

2007-09-06 Thread Ivan Voras

Tim Daneliuk wrote:


  During the boot probe, FreeBSD 6.2 (Release or -STABLE) hangs for several 
minutes
  while probing the floppy.  Eventually, it does get through it, but it takes
  a lng time.  Disabling the floppy in the machine BIOS makes the problem
  go away because FBSD sees no floppy to probe, but that's not an optimal
  soltion.


Have you tried adding hint.fd.0.disabled="1" and hint.fdc.0.disabled="1" 
to your loader.conf (or device.hints)? I don't know it it will work, 
it's just something you could try.




signature.asc
Description: OpenPGP digital signature


Re: Burn ape music to CD

2007-09-06 Thread Tsu-Fan Cheng
thank you folks,

TFC

On 9/6/07, Karol Kwiatkowski <[EMAIL PROTECTED]> wrote:
>
> Mario Lobo wrote:
> > On Thursday 06 September 2007, Karol Kwiatkowski wrote:
> >> You can, however, use software which converts ape files into correct
> >> format in an invisible way to you. Do we agree? :)
> >>
> >
> > Of course we do. Sorry if I didn't refer to you answer to Tsu
> completely. It
> > was because i was focused on solving his problem first, but yes, you
> were
> > right from the start. That is exactly what the  monkey audio plugin
> does.
>
> Now that I read the OP post again, maybe I misunderstood his question...
> All in all, problem solved :)
>
> Cheers,
>
> Karol
>
> --
> Karol Kwiatkowski   
> OpenPGP 0x06E09309
>
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Linuxulator and SSE

2007-09-06 Thread Ivan Voras

Svein Halvor Halvorsen wrote:

Hello, list!


I'm trying to get Bibble to run under the Linuxulator on FreeBSD,
but it keeps complaining about missing SSE support.


What does the top of dmesg (generated during boot) tells you about the 
processor? If it doesn't list "SSE" under the list of features, then 
your processor doesn't support it.




signature.asc
Description: OpenPGP digital signature


Re: Disk errors when copying

2007-09-06 Thread Ivan Voras

Richard Tobin wrote:

When copy between disks (ad10 ->ad8), I get errors:

ad10: WARNING - READ_DMA48 UDMA ICRC error (retrying request) LBA=435128800
ad10: FAILURE - READ_DMA48 status=51 error=10 
LBA=435128800
g_vfs_done():ad10s2g[READ(offset=175562145792, length=131072)]error = 5

I don't get these errors just reading the data from ad10.  Is this
some kind of system error rather than a bad disk?  Is it a known problem?


It doesn't match any recent known problem - it looks like a disk error. 
You might want to pinpoint the file which causes it and skip that file. 
Use sysutils/smartmontools to test and monitor the drive.




signature.asc
Description: OpenPGP digital signature


Re: Sadly, my tinker-time has run out....

2007-09-06 Thread Andrew Gould
On 9/6/07, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
>
>
>
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of David U
> > Sent: Wednesday, September 05, 2007 9:10 AM
> > To: freebsd-questions@freebsd.org
> > Subject: RE: Sadly, my tinker-time has run out
> >
> >
> > > That is my job.  The ONLY way to get someone to re-examine their
> > assumptions is to piss them off.
> >
> > What a breathtakingly arrogant ponce!
> >
>
> Arrogance is in the eye of the beholder, my friend.
>
> Lots of people think the current President of the US is an
> arrogant SOB.  Lots of others think the people that think
> this are utter morons.
>
> > Perhaps THIS will piss YOU off enough to get you to reexamine YOUR
> > assumption.
>
> Nope, but it was good for a chuckle.  Thanks!
>
> Ted
> ___
>

The thread has degenerated to personal sparring.  I think we're at a point
where this discussion can be taken off-list without any of the rest of us
missing critical content regarding FreeBSD.

Andrew
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Sadly, my tinker-time has run out....

2007-09-06 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of David U
> Sent: Wednesday, September 05, 2007 9:10 AM
> To: freebsd-questions@freebsd.org
> Subject: RE: Sadly, my tinker-time has run out
> 
> 
> > That is my job.  The ONLY way to get someone to re-examine their
> assumptions is to piss them off.
> 
> What a breathtakingly arrogant ponce!
> 

Arrogance is in the eye of the beholder, my friend.

Lots of people think the current President of the US is an
arrogant SOB.  Lots of others think the people that think
this are utter morons.

> Perhaps THIS will piss YOU off enough to get you to reexamine YOUR
> assumption.

Nope, but it was good for a chuckle.  Thanks!

Ted
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: mail server setup questions

2007-09-06 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Nikola Lecic
> Sent: Wednesday, September 05, 2007 11:13 AM
> To: Jerry McAllister
> Cc: Eray Aslan; freebsd-questions@freebsd.org; Ted Mittelstaedt
> Subject: Re: mail server setup questions
> 

> I'm very disappointed that more official people on this list didn't say
> something like "Ted, please respect our users from all countries,
> including those two countries you have mentioned" 

Perhaps the silence might give you pause to consider?

Very likely no one else considers themselves offended.

Very likely that is because it was obvious to everyone else
that no offense was ever intended.

Very likely because everyone else also assumed that the idea
of permitting non-nuclear states to buy nuclear warheads was
universally regarded as a bad idea, and thus grasped the
mailserver comparison instantly.

Very likely because nobody understands what the problem
is in the first place.  That would include me, by the way.

Ted

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Burn ape music to CD

2007-09-06 Thread Karol Kwiatkowski
Mario Lobo wrote:
> On Thursday 06 September 2007, Karol Kwiatkowski wrote:
>> You can, however, use software which converts ape files into correct
>> format in an invisible way to you. Do we agree? :)
>>
> 
> Of course we do. Sorry if I didn't refer to you answer to Tsu completely. It 
> was because i was focused on solving his problem first, but yes, you were 
> right from the start. That is exactly what the  monkey audio plugin does.

Now that I read the OP post again, maybe I misunderstood his question...
All in all, problem solved :)

Cheers,

Karol

-- 
Karol Kwiatkowski   
OpenPGP 0x06E09309



signature.asc
Description: OpenPGP digital signature


Re: Burn ape music to CD

2007-09-06 Thread Mario Lobo
On Thursday 06 September 2007, Tsu-Fan Cheng wrote:
> thank you, but still is a little bit confusing.. XD
>
> TFC
>
> > install
> > /usr/ports/sysutils/k3b
> >
> > then install
> > /usr/ports/audio/k3bmonkeyaudioplugin
> >
> > After that he will be able to drop .ape files directly into an audio
> > project.

If you have xorg+KDE(or GNOME,xfce,etc..), all you have to do is install the 2 
ports above and you will be able to do what you want. Believe me !

k3d is an excellent app. It will burn ANYTHING. Dvds (any kind), Cds (any 
kind), data, audio,vcd,svcd,dvd movies, etc...
-- 
**
   //| //| Mario Lobo
  // |// | http://www.ipad.com.br
 //  //  |||  FreeBSD since 2.2.8 - 100% Rwindows-free
**


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Hello

2007-09-06 Thread Gabriel Dragffy

Dear list members.

I just wanted to say hi to all of you. My name is Gabriel, and I have  
just been setting up a FreeBSD server at work, having moved from Linux.


There are just a couple of things that aren't working quite as I  
would like, and I was hoping someone might be kind enough to help me  
out. I've been using the FreeBSD handbook, and I must say it is quite  
superb, and makes starting with FreeBSD much easier.


Using sysinstall I enabled anonymous FTP, with uploads allowed in the  
folder /incoming. Uploading works a treat, however the files don't  
have permissions to be downloaded again (by anon user). I know I  
could change this by executing a cron job every two minutes that  
would chmod the files in /incoming. But surely there must be a far  
better way...? The FreeBSD handbook says it doesn't recommend  
allowing anon users to d/load files uploaded anonymously, however I  
would still like to implement this.


I'd be very appreciative for any help.

Best regards

Gabriel Dragffy

[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: RAID Controller Recommendations: ARC-1210 or 9650SE-4LPML

2007-09-06 Thread Johan Hendriks
Do not go for the adaptec 1210!
I have the same model, and it always give errors on /dev/ad6 

First I thought it was the drive itself but after swapping that one with  
another one still /dev/ad6 errors.
Also swapping ad4 to ad6 /dev/ad6 errors out and freezes the system.

Long story short  it is an unstable product under FreeBSD Current and 6.x

I use a 3ware card now and no problems what so ever.


Regards,
Johan


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Burn ape music to CD

2007-09-06 Thread Mario Lobo
On Thursday 06 September 2007, Karol Kwiatkowski wrote:
> Mario Lobo wrote:
> > On Thursday 06 September 2007, Karol Kwiatkowski wrote:
> >> Tsu-Fan Cheng wrote:
> >>> Hi,
> >>>   I have some ape music files ready to burn to CD, I first comvert them
> >>> into wav file then use cdrecord, but I heard that this is not
> >>> necessary, ape file can burn to CD directly, how is this achieved?? Can
> >>> I play the CD in regular stereo?? thank you!!
> >>
> >> No, you can't. Audio CD is a specific format without compression, etc.
> >> Either someone was using software which did ape decompression on the fly
> >> or he was using a special device to read them.
> >>
> >> Cheers,
> >>
> >> Karol
> >
> > Yes, he can !
> >
> > install
> > /usr/ports/sysutils/k3b
> >
> > then install
> > /usr/ports/audio/k3bmonkeyaudioplugin
> >
> > After that he will be able to drop .ape files directly into an audio
> > project.
>
> An what will this plugin do? Decompress ape files on the fly, right?

You're absolutely right !

>
> If I didn't write previous post clearly: Audio CD standard (Redd Book)
> requires certain data format on disc, which ape file is not. Thus, you
> can't write ape files on Audio CD.
>
> You can, however, use software which converts ape files into correct
> format in an invisible way to you. Do we agree? :)
>

Of course we do. Sorry if I didn't refer to you answer to Tsu completely. It 
was because i was focused on solving his problem first, but yes, you were 
right from the start. That is exactly what the  monkey audio plugin does.

> Cheers,
>
> Karol
-- 
**
   //| //| Mario Lobo
  // |// | http://www.ipad.com.br
 //  //  |||  FreeBSD since 2.2.8 - 100% Rwindows-free
**


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   >