Apache and PHP Packages

2007-04-23 Thread Stephen Willson
I have installed the latest Apache and PHP Packages. I can get Apache working, 
but nothing is standing out as to why I can't get the PHP package to work. Best 
I can figure is that this package was compiled without the options to include 
apache support. -or- there is another package that adds support for apache 2.2.3

i installed:

php5-5.1.6_3
apache-2.2.3

(and dependencies).

can't figure it out. i haven't installed /compiled with FreeBSD in a long time 
so I thought the packages would be easy enough...




Thank You,
Stephen Willson

Perot Systems at St. Josephs. Office: +1 714-937-6669

Notice from St.Joseph Health System:
Please note that the information contained in this message may be privileged 
and confidential and protected from disclosure. 

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


Re: Apache and PHP Packages

2007-04-23 Thread Peter Ankerstål

Stephen Willson wrote:

I have installed the latest Apache and PHP Packages. I can get Apache working, 
but nothing is standing out as to why I can't get the PHP package to work. Best 
I can figure is that this package was compiled without the options to include 
apache support. -or- there is another package that adds support for apache 2.2.3

i installed:

php5-5.1.6_3
apache-2.2.3

(and dependencies).

can't figure it out. i haven't installed /compiled with FreeBSD in a long time 
so I thought the packages would be easy enough...




I dont know whether or not the php-package are built with the apache module but 
have you configured your apache correctly? have you added

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

to your apache conf?

My suggestion would be to compile the packages from the ports-collection to make 
sure the module is compiled and then make sure that the webserver is configured 
properly.


You can read about the ports collection and how to use it here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Unable to delete files/directories - bogus user/group ID's

2007-04-23 Thread Don O'Neil
I had a crash on a disk array last week that was severe enough that fsck
wouldn't fix it, even in single user mode. So, I was forced to suck off the
good data, and restore the bad stuff from backups.

However there are 2 directories that contain files/directories which have
bogus user  group ID's that the system just won't let me do anything to. I
can delete them, cant rename them, cant move them, cant chmod/chown, cant
cat to them, nothing... I just get Operation not permitted.

Here's a sample of one of them: 

---xrx  1 2761022747  1016642816  0 Apr 19 15:35 Video
d--s---rw-  2 3251161791  726015594  512 Apr 19 15:41 .shrc

Anyone have any ideas on how to get rid of these files?

I've done an fsck from single user mode and that doesn't come up with
anything. Short of copying all the data over to a new volume sans these
files and then reformatting the old volume and then moving the good files
back what can I do?

Any assistance would be appreciated. I'd also like to thank everyone who
browses this group and regularly posts responses... Without you guys some of
us would never get the help and knowledge we need! Thanks in advance!

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


Re: Apache and PHP Packages

2007-04-23 Thread Peter Ankerstål

Peter Ankerstål wrote:

Stephen Willson wrote:
I have installed the latest Apache and PHP Packages. I can get Apache 
working, but nothing is standing out as to why I can't get the PHP 
package to work. Best I can figure is that this package was compiled 
without the options to include apache support. -or- there is another 
package that adds support for apache 2.2.3


i installed:

php5-5.1.6_3
apache-2.2.3

(and dependencies).

can't figure it out. i haven't installed /compiled with FreeBSD in a 
long time so I thought the packages would be easy enough...


Just realized that php5-5.1.6_3 are quite old and does have some security 
problems. Another reason to install php5-5.2.1_3 from ports instead.

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


Re: Unable to delete files/directories - bogus user/group ID's

2007-04-23 Thread Kris Kennaway
On Sun, Apr 22, 2007 at 11:56:31PM -0700, Don O'Neil wrote:
 I had a crash on a disk array last week that was severe enough that fsck
 wouldn't fix it, even in single user mode. So, I was forced to suck off the
 good data, and restore the bad stuff from backups.
 
 However there are 2 directories that contain files/directories which have
 bogus user  group ID's that the system just won't let me do anything to. I
 can delete them, cant rename them, cant move them, cant chmod/chown, cant
 cat to them, nothing... I just get Operation not permitted.
 
 Here's a sample of one of them: 
 
 ---xrx  1 2761022747  1016642816  0 Apr 19 15:35 Video
 d--s---rw-  2 3251161791  726015594  512 Apr 19 15:41 .shrc
 
 Anyone have any ideas on how to get rid of these files?
 
 I've done an fsck from single user mode and that doesn't come up with
 anything. Short of copying all the data over to a new volume sans these
 files and then reformatting the old volume and then moving the good files
 back what can I do?

It's unlikely to be due to the uid/gids, do a ls -lo to check for the
schg flag (man chflags).

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


Re: FBSD RSS feed

2007-04-23 Thread Victor Engmark

On 4/20/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

Why the RSS feed of the security advisories does not work with
Fire Fox?

http://www.freebsd.org/security/advisories.rdf

 This XML file does not appear to have any style information
associated with it. The document tree is shown below.


That file is not an RSS feed, just a plain XML file. It's also served
with the MIME type text/xml.

--
Victor Engmark
Quidquid latine dictum sit, altum videtur - What is said in Latin,
sounds profound
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Unable to delete files/directories - bogus user/group ID's

2007-04-23 Thread Don O'Neil
I had a crash on a disk array last week that was severe enough that fsck
wouldn't fix it, even in single user mode. So, I was forced to suck off the
good data, and restore the bad stuff from backups.

However there are 2 directories that contain files/directories which have
bogus user  group ID's that the system just won't let me do anything to. I
can delete them, cant rename them, cant move them, cant chmod/chown, cant
cat to them, nothing... I just get Operation not permitted.

Here's a sample of one of them: 

---xrx  1 2761022747  1016642816  0 Apr 19 15:35 Video
d--s---rw-  2 3251161791  726015594  512 Apr 19 15:41 .shrc

Anyone have any ideas on how to get rid of these files?

I've done an fsck from single user mode and that doesn't come up with
anything. Short of copying all the data over to a new volume sans these
files and then reformatting the old volume and then moving the good files
back what can I do?

Any assistance would be appreciated. I'd also like to thank everyone who
browses this group and regularly posts responses... Without you guys some of
us would never get the help and knowledge we need! Thanks in advance!

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


cannot compile thunderbird 2 and firefox 2 from ports

2007-04-23 Thread Frank Bonnet

Hello

I'm in trouble to compile those two mozilla apps se below
error messages which seems to come from the same origin

Thanks for any infos

Frank


FIREFOX

c++ -I/usr/X11R6/include -I/usr/local/include/nss -I/usr/local/include/nss/nss 
-I/usr/X11R6/include  -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion 
-Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy 
-Wno-non-virtual-dtor -Wno-long-long -O2 -fno-strict-aliasing -pipe -O2 -fshort-wchar 
-pipe  -DNDEBUG -DTRIMMED -O -fPIC -shared -Wl,-z,defs -Wl,-h,libgtkxtbin.so -o 
libgtkxtbin.so  gtk2xtbin.o-L/usr/X11R6/lib -L/usr/local/lib/nss 
-Wl,-rpath,/usr/local/lib/firefox   -L/usr/X11R6/lib   -lgtk-x11-2.0   -L/usr/X11R6/lib 
-lXt -lX11  -Wl,-Bsymbolic -lc -lm -pthread -L/usr/local/lib -liconv

gtk2xtbin.o(.text+0x13): In function `xt_event_prepare':
: undefined reference to `gdk_threads_lock'
gtk2xtbin.o(.text+0x35): In function `xt_event_prepare':
: undefined reference to `gdk_threads_unlock'
gtk2xtbin.o(.text+0x5f): In function `xt_event_check':
: undefined reference to `gdk_threads_lock'
gtk2xtbin.o(.text+0x8a): In function `xt_event_check':
: undefined reference to `gdk_threads_unlock'
gtk2xtbin.o(.text+0x9e): In function `xt_event_check':
: undefined reference to `gdk_threads_unlock'
gtk2xtbin.o(.text+0xdf): In function `xt_event_dispatch':
: undefined reference to `gdk_threads_lock'
gtk2xtbin.o(.text+0x11f): In function `xt_event_dispatch':
: undefined reference to `gdk_threads_unlock'
gtk2xtbin.o(.text+0x219): In function `gtk_xtbin_class_init':
: undefined reference to `g_type_check_class_cast'
gtk2xtbin.o(.text+0x23a): In function `gtk_xtbin_class_init':
: undefined reference to `g_type_check_class_cast'
gtk2xtbin.o(.text+0x2d6): In function `gtk_xtbin_realize':
: undefined reference to `g_type_check_instance_is_a'
gtk2xtbin.o(.text+0x2f7): In function `gtk_xtbin_realize':
: undefined reference to `g_return_if_fail_warning'
gtk2xtbin.o(.text+0x314): In function `gtk_xtbin_realize':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x335): In function `gtk_xtbin_realize':
: undefined reference to `gdk_window_get_geometry'
gtk2xtbin.o(.text+0x376): In function `gtk_xtbin_realize':
: undefined reference to `g_type_check_class_cast'
gtk2xtbin.o(.text+0x399): In function `gtk_xtbin_realize':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x3c5): In function `gtk_xtbin_realize':
: undefined reference to `gdk_flush'
gtk2xtbin.o(.text+0x3df): In function `gtk_xtbin_realize':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x440): In function `gtk_xtbin_new':
: undefined reference to `gdk_drawable_get_visual'
gtk2xtbin.o(.text+0x451): In function `gtk_xtbin_new':
: undefined reference to `gdk_drawable_get_colormap'
gtk2xtbin.o(.text+0x459): In function `gtk_xtbin_new':
: undefined reference to `gdk_x11_colormap_get_xcolormap'
gtk2xtbin.o(.text+0x468): In function `gtk_xtbin_new':
: undefined reference to `gdk_drawable_get_visual'
gtk2xtbin.o(.text+0x470): In function `gtk_xtbin_new':
: undefined reference to `gdk_x11_visual_get_xvisual'
gtk2xtbin.o(.text+0x48f): In function `gtk_xtbin_new':
: undefined reference to `g_free'
gtk2xtbin.o(.text+0x4ba): In function `gtk_xtbin_new':
: undefined reference to `g_source_new'
gtk2xtbin.o(.text+0x4d7): In function `gtk_xtbin_new':
: undefined reference to `g_source_set_priority'
gtk2xtbin.o(.text+0x4e2): In function `gtk_xtbin_new':
: undefined reference to `g_source_set_can_recurse'
gtk2xtbin.o(.text+0x4ed): In function `gtk_xtbin_new':
: undefined reference to `g_source_attach'
gtk2xtbin.o(.text+0x52a): In function `gtk_xtbin_new':
: undefined reference to `g_main_context_add_poll'
gtk2xtbin.o(.text+0x570): In function `gtk_xtbin_new':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x588): In function `gtk_xtbin_new':
: undefined reference to `gdk_window_get_user_data'
gtk2xtbin.o(.text+0x5a3): In function `gtk_xtbin_new':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x5bb): In function `gtk_xtbin_new':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x5da): In function `gtk_xtbin_new':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x617): In function `gtk_xtbin_set_position':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x639): In function `gtk_xtbin_set_position':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x644): In function `gtk_xtbin_set_position':
: undefined reference to `gdk_window_move'
gtk2xtbin.o(.text+0x679): In function `gtk_xtbin_resize':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x713): In function `gtk_xtbin_unrealize':
: undefined reference to `g_type_check_instance_cast'
gtk2xtbin.o(.text+0x725): In function `gtk_xtbin_unrealize':
: undefined reference to `g_type_check_instance_cast'

Re: Proliant G5 and E200i controller

2007-04-23 Thread Peter Toth

 [EMAIL PROTECTED] wrote:
  I have purchased a new Proliant G5 server with the E200i RAID controller.
  
  FreeBSD is not recognizing the the drives.  The ciss module for the
  controller is not loaded.  Do I need to do something special to make
  FreeBSD recognize the controller?
 
 Which version of FreeBSD? I had it running fine with 6.2-release.
 
 
I had 6.2-release running on Proliant G5 with E200i, it worked all
right. RAID was recognized without any trouble.


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


Re: best programming language for console/sql application?

2007-04-23 Thread Jan Grant
On Sun, 22 Apr 2007, Mike Jeays wrote:

 On Sunday 22 April 2007 06:32, Zhang Weiwu wrote:
  Dear list
 
  This is OT. I am a 4 year php developer and is very familiar with
  javascript and awk (familiar = knows and used all functions and features
  of the language itself) and I am a 5 year FreeBSD user. Being frustrated
  for the lack of a good console-based issue tracking tool (like mantis or
  bugzilla), I think I should start to write my own. I'll either start
  from scratch or (better) write a frontend for mantis which I used for
  years.
 
 1. If someone has already started, I should try join him/her rather
than reinventing the wheel. So if someone knows any person who is
starting to work on a slim console-based issue tracker, please let
me know. I already did quit a few searches. I know someone is
working on a console front-end of G-Forge, but a big software like
G-Forge is not what I am thinking of.

Not sure it's quite what you're after, but have a look at request 
tracker. It is primarily web based, with an email gateway, but also 
supports command-line operation via its bin/rt.

-- 
jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/
Tel +44 (0)117 3317661   http://ioctl.org/jan/
Whenever I see a dog salivate I get an insatiable urge to ring a bell.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to delete files/directories - bogus user/group ID's

2007-04-23 Thread Beech Rintoul
On Sunday 22 April 2007, Don O'Neil said:
 I had a crash on a disk array last week that was severe enough that
 fsck wouldn't fix it, even in single user mode. So, I was forced to
 suck off the good data, and restore the bad stuff from backups.

 However there are 2 directories that contain files/directories
 which have bogus user  group ID's that the system just won't let
 me do anything to. I can delete them, cant rename them, cant move
 them, cant chmod/chown, cant cat to them, nothing... I just get
 Operation not permitted.

 Here's a sample of one of them:

 ---xrx  1 2761022747  1016642816  0 Apr 19 15:35 Video
 d--s---rw-  2 3251161791  726015594  512 Apr 19 15:41 .shrc

 Anyone have any ideas on how to get rid of these files?

 I've done an fsck from single user mode and that doesn't come up
 with anything. Short of copying all the data over to a new volume
 sans these files and then reformatting the old volume and then
 moving the good files back what can I do?

 Any assistance would be appreciated. I'd also like to thank
 everyone who browses this group and regularly posts responses...
 Without you guys some of us would never get the help and knowledge
 we need! Thanks in advance!

Try doing: 
chflags -R noschg directory 

or

chflags noschg file

See: man(1) chflags

Beech


-- 
---
Beech Rintoul - Port Maintainer - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.freebsd.org/releases/6.2R/announce.html
---



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


Re: No buffer space available

2007-04-23 Thread Jeremy Chadwick
On Sat, Apr 07, 2007 at 08:20:58PM -0300, Marc G. Fournier wrote:
 - --On Saturday, April 07, 2007 20:12:00 +0100 Chris [EMAIL PROTECTED] 
 wrote:
  Also to add I now have a 2nd box using 6.2 STABLE few days old code,
  had to use it because of broadcom 5755 nic card, I plan to use large
  tcp window sizes so will be interesting to see if this also suffers
  from the problem.
 
 I've got 8 servers on the same network, 3 are almost identical, but one of 
 them 
 (the one with the problem) is using software RAID vs hardware ... but, if you 
 are seeing it without using software RAID, then that is obviously not the 
 culprit :(

May be a red herring...

I'm able to reproduce the No buffer space available message when
setting net.inet.tcp.(send|recv)space to non-default values.  All I've
tried is the following, with a kernel dated 2007/04/22:

  # sysctl net.inet.tcp.sendspace=131072
  # sysctl net.inet.tcp.recvspace=262144

Example session:

$ su2
# sysctl net.inet.tcp.sendspace=131072
net.inet.tcp.sendspace: 32768 - 131072
# sysctl net.inet.tcp.recvspace=262144
net.inet.tcp.recvspace: 65536 - 262144
# logout
$ ssh medusa
socket: No buffer space available
ssh: connect to host medusa port 22: No buffer space available
$ su2
# sysctl net.inet.tcp.sendspace=32768
net.inet.tcp.sendspace: 131072 - 32768
# sysctl net.inet.tcp.recvspace=65536
net.inet.tcp.recvspace: 262144 - 65536
# logout
$ ssh medusa
Last login: Mon Apr 23 03:45:45 2007 from ...

I assume this is because the maximum size of a TCP datagram is 65536
bytes, but as I'm not familiar enough with TCP on such a low level,
this may be speculation on my part.

Just something worth checking/tinkering with.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Re: PCIe NIC for FreeBSD 5.5

2007-04-23 Thread Jonathan Horne
On Sunday 22 April 2007 22:38:03 Olivier Nicole wrote:
 Hi,

 I have been askedto install FreeBSD on a server, but I had no saying
 on the procurement of the server.

 It ends up to be an HP 380G5, with onboard Broadcom based NIC that is
 not supported and only PCIe extension slots.

 I am wondering what NIC I could buy that would be PCIe, x4 or x8, and
 supported by FreeBSD 5.5.

 Best regards,

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

any particular reason why youre note going with 6.2?  i have 6.2 running on 
several DL G4's and G5's (couple ML's in there too), and they all have no 
trouble with the broadcom nics.  also, both my laptop and desktop have the 
broadcoms as well, and again, they work very nicely... in 6.2.

but to field your question more directly, surely Intel has a pcie version of 
their nics.  thats what i would choose if i were pressed to buy something 
other than what came on the system's board.

cheers,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[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: CUPS + FreeBSD 6.2 + HP Laserjet 5

2007-04-23 Thread Jim Stapleton

Thanks. My printer is attached straight to the network (RJ-45), but I
check /var/db/pkg, and saw no mention of cups-pdf or cups-pstoraster,
so I am installing those...

I'll try setting up my printer when I get home.

Thanks,
-Jim Stapleton

On 4/22/07, Jared Barneck [EMAIL PROTECTED] wrote:

Jim Stapleton wrote:
 I'm trying to print a test page for my printer using cups and I get
 the following error:
 Unsupported format 'application/postscript'!
Funny you should post about this problem... I have an HP Laserjet 5L.
It connects via parallel port to my wifes windows XP box.  I was trying
to point to it and I kept getting that same error.

I only had cups-base installed and no other cups ports.

To attempt to fix it I did the following:

1. I made sure these three ports were installed.

cups-base-1.2.2 The Common UNIX Printing System
cups-pdf-2.4.5  A virtual printer for CUPS to produce PDF files
cups-pstoraster-8.15.4 Postscript interpreter for CUPS printing to
non-PS printers

2. I added the windows box to the host file

3. I restarted cupsd.

4. Deleted the printer and readded it.

It started working.  I am not sure which step fixed it.

 I couldn't find anything when googling with FreeBSD in my search. When
 I took out FreeBSD, I got something for debian referencing lines 103
 and 109 in the config being uncommented to get it to work. 103 in the
 default is blank, 109 is blank except for teh '#'.

 I uncommented this line, and restarted CUPS:
 application/vnd.cups-postscriptapplication/vnd.cups-raster
 100pstoraster

 It didn't fix anything.
 I added this line, and restarted:
 application/postscriptapplication/vnd.cups-raster100
 pstoraster

 And I still get the same error.

 I know CUPS worked fine from an install maybe 6 months ago (it had a
 completely different printer setup than now, it wasn't as easy to
 setup, but at least it worked).

 My question
 (1) Anyone know how to fix this issue with the current version
 (cvsup'ed and built today via 'sudo portupgrade -f
 print/cups-pstoraster print/cups-base print/ghostscript-gnu*
 print/ghostscript-gpl*'
 (2) How do I get csup/cvsup to match one port or a group of ports by
 name? I put *default date=2006.08.01.00.00.00 in my supfile
 (etc/supfile-ports) and tried:
 sudo csup -i '*cups*' -L 2 /etc/supfile-ports
 sudo csup -i 'print/cups*' -L 2 /etc/supfile-ports
 sudo cvsup -g -i '*cups*' -L 2 /etc/supfile-ports
 sudo cvsup -g -i 'print/cups*' -L 2 /etc/supfile-ports

 and none of the above updated any files according to the output (I
 usually see a list of files updated). Since ports were updated this
 morning, without the date line (so to today's ports layout), I should
 have seens something.

 Thanks,
 -Jim Stapleton
 ___
 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: Anti Spam

2007-04-23 Thread Steve Bertrand
Derek Ragona wrote:
 At 11:43 AM 4/20/2007, Grant Peel wrote:
 Hi all,

 I am posting this question here because I know there are alot of ISPs
 using FreeBSD (including me) and am hoping to get feedback, either
 directly to me or to the list.

 We are wrestling (as I am sure many are), with spam. Up until now we
 have been employing Spamassassin locally and using some 3rd party
 Anti-Spam servervices that are getting less and less reliable as the
 weeks go by.

 We are considering two hardware solutions, Easyantispam and Barracuda.
 Barracuda is very expensive, so the most likely candidate is
 Easyantispam. Does anyone out there have thought on either or both of
 these? Usability? Reliability? Total Cost of ownership? Integration
 issues?

 Any thoughts will be appreciated,
 
 If your volume of mail is 5 per day don't use the baracuda.  It
 won't keep up.

I agree that this statement depends on the unit(s) and setup.

We use two clustered 400's, and we realize 500,000 - 1,000,000 emails
every day, and it keeps up just perfectly fine.

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


Re: Porting a driver from RELENG_6 to RELENG_6_2

2007-04-23 Thread Rajkumar S

On 4/22/07, Kris Kennaway [EMAIL PROTECTED] wrote:

If you are unlucky then the driver may rely on changes made after the
release of 6.2 and you will have to either back-port those changes too
(or just run RELENG_6).


I am unlucky here :(

The driver is has a dependency on one MFC, relating to
PCI_FIND_EXTCAP. Is it possible to get the full patchset for that
particular commit? cvsweb is file oriented, ie you get a diff of this
MFC for each file, not the entire diff.

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


Re: Porting a driver from RELENG_6 to RELENG_6_2

2007-04-23 Thread Rajkumar S

On 4/22/07, Andriy Babiy [EMAIL PROTECTED] wrote:

Have you tried searching http://www.marvell.com/ for the driver?


Yes, they have this driver, but i am trying to see if I can get the
maintained driver in FreeBSD working.

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


Re: Unable to delete files/directories - bogus user/group ID's

2007-04-23 Thread Jerry McAllister
On Sun, Apr 22, 2007 at 11:56:31PM -0700, Don O'Neil wrote:

 I had a crash on a disk array last week that was severe enough that fsck
 wouldn't fix it, even in single user mode. So, I was forced to suck off the
 good data, and restore the bad stuff from backups.
 
 However there are 2 directories that contain files/directories which have
 bogus user  group ID's that the system just won't let me do anything to. I
 can delete them, cant rename them, cant move them, cant chmod/chown, cant
 cat to them, nothing... I just get Operation not permitted.
 
 Here's a sample of one of them: 
 
 ---xrx  1 2761022747  1016642816  0 Apr 19 15:35 Video
 d--s---rw-  2 3251161791  726015594  512 Apr 19 15:41 .shrc
 
 Anyone have any ideas on how to get rid of these files?
 
 I've done an fsck from single user mode and that doesn't come up with
 anything. Short of copying all the data over to a new volume sans these
 files and then reformatting the old volume and then moving the good files
 back what can I do?


I am not sure why you couldn't read/copy them if you have tried that.
As for writing to them or changing permissions or ownership, it could
be that the files have some flags set on them.   Then, not even root
can modify them without removing the flag[s].   See  man chflags.

If that doesn't help, are you ready to just leave that data behind and
move on?   If so, you will probably want to rebuild the partitioning
on the array.   You might want to wipe out enough stuff to make sure
to avoid any possible conflicts (probably none, but...)  To do that
use dd and overwrite the first few hundres sectors or the logical device.
If you address the array as  ad1,  for example,  do:
  dd if=/dev/zero of=/dev/ad1 bs=512 count=1024
Then fdisk it and bsdlabel it and newfs partitions you create with bsdlabel
and if it is all happy, then you have a cleaned out working 'drive' again.

jerry

 
 Any assistance would be appreciated. I'd also like to thank everyone who
 browses this group and regularly posts responses... Without you guys some of
 us would never get the help and knowledge we need! Thanks in advance!
 
 ___
 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: portupgrade failing, portsdb error

2007-04-23 Thread Lowell Gilbert
Drew Sanford [EMAIL PROTECTED] writes:

 I get the following error:

 [EMAIL PROTECTED](/usr/ports)# portupgrade gnome-vfs
 [Updating the portsdb format:bdb_btree in /usr/ports ... - 16885
 port entries found
 .1000.2000.3000.4000.5000.6000.7000.8000.9000.1.11000.12000.13000.14000.15000.16000
  . done]
 [missing key: categories] [Updating the portsdb format:bdb_btree in
 /usr/ports ... - 16885 port entries found
 .1000.2000.3000.4000.5000.6000.7000.8000.9000.1.11000.12000.13000.14000.15000.16000
  . done]
 missing key: categories: Cannot read the portsdb!
 /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:548:in `open_db':
 database file error (PortsDB::DBError)
from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:702:in `port'
from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:890:in
 all_depends_list'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:809:in `tsort_build'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:801:in `each'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:801:in `tsort_build'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:823:in `sort_build'
from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:827:in `sort_build!'
from /usr/local/sbin/portupgrade:721:in `main'
from /usr/local/lib/ruby/1.8/optparse.rb:755:in `initialize'
from /usr/local/sbin/portupgrade:220:in `new'
from /usr/local/sbin/portupgrade:220:in `main'
from /usr/local/sbin/portupgrade:2084

 I've got Index up to date, I've run portsdb -u, and it seems to think
 everything is good. Any recommendations? I've not seen this error
 before. Thanks in advance.

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


Re: Apache and PHP Packages

2007-04-23 Thread Ian Smith
On Mon, 23 Apr 2007 08:56:04 +0200 Peter Ankerst?l [EMAIL PROTECTED] wrote:
  Stephen Willson wrote:
   I have installed the latest Apache and PHP Packages. I can get
   Apache working, but nothing is standing out as to why I can't get
   the PHP package to work. Best I can figure is that this package was
   compiled without the options to include apache support. -or- there
   is another package that adds support for apache 2.2.3
   
   i installed:
   
   php5-5.1.6_3
   apache-2.2.3
   
   (and dependencies).
   
   can't figure it out. i haven't installed /compiled with FreeBSD in
   a long time so I thought the packages would be easy enough... 
 
  I dont know whether or not the php-package are built with the apache module 
  but 
  have you configured your apache correctly? have you added
  AddType application/x-httpd-php .php
  AddType application/x-httpd-php-source .phps
  
  to your apache conf?
  
  My suggestion would be to compile the packages from the ports-collection to 
  make 
  sure the module is compiled and then make sure that the webserver is 
  configured 
  properly.
  
  You can read about the ports collection and how to use it here:
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html
  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html

Unless it's changed quite recently (always possible), installing PHP5
from a package does not get you mod_php5 / libphp5.so, unlike PHP4.

As packages are built with default options, and as building the apache
module is not enabled by default (without/before running make config),
you now HAVE to use the port for PHP5, selecting the module in config.

I don't know why this became the default, assuming the majority of
php users are installing it for the apache module, but there it is. 

Cheers, Ian

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


Re: portupgrade failing, portsdb error

2007-04-23 Thread Duane Hill

On Fri, 20 Apr 2007, Drew Sanford wrote:


I get the following error:

[EMAIL PROTECTED](/usr/ports)# portupgrade gnome-vfs
[Updating the portsdb format:bdb_btree in /usr/ports ... - 16885 port 
entries found 
.1000.2000.3000.4000.5000.6000.7000.8000.9000.1.11000.12000.13000.14000.15000.16000 
. done]
[missing key: categories] [Updating the portsdb format:bdb_btree in 
/usr/ports ... - 16885 port entries found 
.1000.2000.3000.4000.5000.6000.7000.8000.9000.1.11000.12000.13000.14000.15000.16000 
. done]

missing key: categories: Cannot read the portsdb!
/usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:548:in `open_db': database file 
error (PortsDB::DBError)

  from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:702:in `port'
  from /usr/local/lib/ruby/site_ruby/1.8/portsdb.rb:890:in 
`all_depends_list'

  from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:809:in `tsort_build'
  from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:801:in `each'
  from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:801:in `tsort_build'
  from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:823:in `sort_build'
  from /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:827:in `sort_build!'
  from /usr/local/sbin/portupgrade:721:in `main'
  from /usr/local/lib/ruby/1.8/optparse.rb:755:in `initialize'
  from /usr/local/sbin/portupgrade:220:in `new'
  from /usr/local/sbin/portupgrade:220:in `main'
  from /usr/local/sbin/portupgrade:2084

I've got Index up to date, I've run portsdb -u, and it seems to think 
everything is good. Any recommendations? I've not seen this error before. 
Thanks in advance.


I saw this when I didn't have the portupgrade port upgraded properly. It 
has changed the location.



From /usr/ports/UPDATING:


20070205:
  AFFECTS: everybody
  AUTHOR: [EMAIL PROTECTED]

  New ports category was created - /usr/ports/ports-mgmt

  Most significant port moved to this new category is portupgrade.
  So don't be alarmed, it was not deleted. You can find it now in

  /usr/ports/ports-mgmt/portupgrade

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


Re: Linksys wireless pcmcia card / FreeBSD 6.2-RELEASE

2007-04-23 Thread Spiros Papadopoulos

Allthough i have set to yes the option about receiving your messages to the
list I didn't receive it.
In addition i haven't received any reply so far.

Could somebody confirm that my message was sent properly to the list.

Thanks, Spiros

On 21/04/07, Spiros Papadopoulos [EMAIL PROTECTED] wrote:


Hi,

I am running FreeBSD 6.2 RELEASE and I have the above card in my DELL's
latitude c810 cardbus.

I followed the instructions on the page below and configure the kernel
accordingly:

http://www.freebsdmall.com/~loader/en_US.ISO8859-1
/articles/wireless/article.html

i get the message about:

cardbus0: CIS pointer is 0
cardbus0: Resource not specified in CIS

which takes me to the post below...:

http://freebsd.monkey.org/freebsd-stable/200607/msg00449.html

I guess i need to tweak the windows driver or anyway hack it somehow. The
problem is that i 've never done anything similar before
but i would like to get involved and make it work.

Anybody can point me to the right direction ? If the above is not the best
solution i would really appreciate pointing me to
the best alternative.

thanks in advance
Spiros P.





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


Re: cannot compile thunderbird 2 and firefox 2 from ports

2007-04-23 Thread Adam J Richardson

Frank Bonnet wrote:

Hello

I'm in trouble to compile those two mozilla apps se below
error messages which seems to come from the same origin

Thanks for any infos

Frank

FIREFOX

c++ -I/usr/X11R6/include -I/usr/local/include/nss 
-I/usr/local/include/nss/nss -I/usr/X11R6/include  -I/usr/X11R6/include 
-fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith 
-Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy 
-Wno-non-virtual-dtor -Wno-long-long -O2 -fno-strict-aliasing -pipe -O2 
-fshort-wchar -pipe  -DNDEBUG -DTRIMMED -O -fPIC -shared -Wl,-z,defs 
-Wl,-h,libgtkxtbin.so -o libgtkxtbin.so  gtk2xtbin.o-L/usr/X11R6/lib 
-L/usr/local/lib/nss -Wl,-rpath,/usr/local/lib/firefox   
-L/usr/X11R6/lib   -lgtk-x11-2.0   -L/usr/X11R6/lib -lXt -lX11  
-Wl,-Bsymbolic -lc -lm -pthread -L/usr/local/lib -liconv

gtk2xtbin.o(.text+0x13): In function `xt_event_prepare':
: undefined reference to `gdk_threads_lock'

snip lots of errors

gtk2xtbin.o(.text+0x959): In function `xt_client_init':
: undefined reference to `gdk_get_display'
gtk2xtbin.o(.data.rel+0xc): undefined reference to `g_free'
gmake[2]: *** [libgtkxtbin.so] Error 1
gmake[2]: Leaving directory 
`/usr/ports/mail/thunderbird/work/mozilla/widget/src/gtkxtbin'

gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/usr/ports/mail/thunderbird/work/mozilla'
gmake: *** [default] Error 2
*** Error code 2



Hi Frank.

Just wanted to let you know the two ports, thunderbird-2.0.0.0 and 
firefox-2.0.0.3,1 are not broken because I've installed them myself.


Thunderbird sure takes a long time to compile though. I did a sudo 
portupgrade thunderbird yesterday and it took 8 hours on my 750MHz 
laptop. I think my distcc cluster, such as it is, is broken.


Hope you fix your problem. Perhaps gtk2 needs an upgrade?

Regards,
Adam J Richardson

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


Re: Unable to delete files/directories - bogus user/group ID's

2007-04-23 Thread Adam J Richardson

Don O'Neil wrote:

bogus user  group ID's


Hi Don.

Could you create the bogus user and group in /etc/passwd and /etc/group 
and thus log in with rights to those files?


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


Re: Unable to delete files/directories - bogus user/group ID's

2007-04-23 Thread Kris Kennaway
On Mon, Apr 23, 2007 at 04:57:45PM +0100, Adam J Richardson wrote:
 Don O'Neil wrote:
 bogus user  group ID's
 
 Hi Don.
 
 Could you create the bogus user and group in /etc/passwd and /etc/group 
 and thus log in with rights to those files?

Not necessary, see my previous reply.

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


Re: No buffer space available

2007-04-23 Thread Nikolay Pavlov
On Monday, 23 April 2007 at  4:06:10 -0700, Jeremy Chadwick wrote:
 On Sat, Apr 07, 2007 at 08:20:58PM -0300, Marc G. Fournier wrote:
  - --On Saturday, April 07, 2007 20:12:00 +0100 Chris [EMAIL PROTECTED] 
  wrote:
   Also to add I now have a 2nd box using 6.2 STABLE few days old code,
   had to use it because of broadcom 5755 nic card, I plan to use large
   tcp window sizes so will be interesting to see if this also suffers
   from the problem.
  
  I've got 8 servers on the same network, 3 are almost identical, but one of 
  them 
  (the one with the problem) is using software RAID vs hardware ... but, if 
  you 
  are seeing it without using software RAID, then that is obviously not the 
  culprit :(
 
 May be a red herring...
 
 I'm able to reproduce the No buffer space available message when
 setting net.inet.tcp.(send|recv)space to non-default values.  All I've
 tried is the following, with a kernel dated 2007/04/22:
 
   # sysctl net.inet.tcp.sendspace=131072
   # sysctl net.inet.tcp.recvspace=262144
 
 Example session:
 
 $ su2
 # sysctl net.inet.tcp.sendspace=131072
 net.inet.tcp.sendspace: 32768 - 131072
 # sysctl net.inet.tcp.recvspace=262144
 net.inet.tcp.recvspace: 65536 - 262144
 # logout
 $ ssh medusa
 socket: No buffer space available
 ssh: connect to host medusa port 22: No buffer space available
 $ su2
 # sysctl net.inet.tcp.sendspace=32768
 net.inet.tcp.sendspace: 131072 - 32768
 # sysctl net.inet.tcp.recvspace=65536
 net.inet.tcp.recvspace: 262144 - 65536
 # logout
 $ ssh medusa
 Last login: Mon Apr 23 03:45:45 2007 from ...
 
 I assume this is because the maximum size of a TCP datagram is 65536
 bytes, but as I'm not familiar enough with TCP on such a low level,
 this may be speculation on my part.
 
 Just something worth checking/tinkering with.
 

Try to adjust kern.ipc.maxsockbuf value.

-- 
==  
- Best regards, Nikolay Pavlov. ---
==  

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


Problem with Quotacheck after crash

2007-04-23 Thread Don O'Neil
This question is related to my recent question about not being able to
delete files after a disk crash... I solved that problem with the chflags
(the no-delete flag was set!).. Thanks for all who suggested it.

Now that I've deleted the files, I thought this problem would go away, but
its not:

 quotacheck: /home/quota.user: seek failed: Invalid argument
THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY:
/dev/twed0s1d (/home)

I've run an fsck on the volume from single user mode, after deleting the
files, and it was clean, but I still get this error. I deleted the
quota.user  quota.group files because they were corrupted when the crash
happened. 

I'm at a loss as to what to do next, any suggestions?

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


Re: FreeMat 3.0 doesn't call functions and help

2007-04-23 Thread Vittorio De Martino
Il Sunday 22 April 2007 21:38:12 Thierry Thomas ha scritto:
 Le Jeu 19 avr 07 à  1:00:38 +0200, Vittorio De Martino
 [EMAIL PROTECTED]

  écrivait :
   I have just upgraded FreeMAT to 3.1, which fixes the inv() problem, and
   which should fix this Help on line bug too; could you please check
   it?
 
  Yes, with the new version 3.1 inv now works fine. Unfortunately the Help
  on line still doesn't work. I think that something worsened because with
  this new port now I cannot use the help on line even as root (in the
  previous version Help online as root worked quite well).

 Could you please script (1) a session with only `truss FreeMat', just
 calling the help and exiting? Then please send me the compresed log of
 this session.

 If you had created some symlinks, please don't forget to remove them.

 Regards,

I cannot truss anything

victor# truss /bin/echo hello
truss: cannot open /proc/curproc/mem: No such file or directory

any other solution or workaround?

Vittorio

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


Re: cannot compile thunderbird 2 and firefox 2 from ports

2007-04-23 Thread Robert Huff

Adam J Richardson writes:

  Thunderbird sure takes a long time to compile though. I did a
  sudo portupgrade thunderbird yesterday and it took 8 hours on
  my 750MHz laptop. I think my distcc cluster, such as it is, is
  broken.

For comparison: on a 2.25g P4 it takes 3-4 hours.


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


Can't build kernel

2007-04-23 Thread surg

Since 3 days i can't compile kernel with success. After cvsup stable-supfile on 
fresh 6.2 and make depend:

make: don't know how to make ../../../crypto/rijndael/rijndael-alg-fst.c. Stop

I cant find any errors in my KERNfile. Any ideas?

-- 
Regards
s.

--
Masz plan? Potrzebujesz motywacji ?
wejdz na  http://link.interia.pl/f1a40

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


Mail Switcher

2007-04-23 Thread Tom Grove

Does anyone have any ideas on how I would solve the following problem?

I have two mail servers.  One is running cyrus imap and the other 
courier.  I am in the process of moving users over one at a time and 
would like to put some kind of proxy box in front of the mail servers.  
I would like to have the proxy listen on port 143 for connections and 
grab the usernames.  Once this happens I want the users connection 
routed to the appropriate mail server.


Any ideas?

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


Help needed with server setup at work

2007-04-23 Thread Rico Secada
Hi.

At work we have a bunch of NFS servers. The servers provide the home 
directories for all the employees client machines. 

Most of the employees mount their home dirs manually, but some are mounted 
using scripts. Employee John knows he belongs to NFS server 1, and emplyoee 
Britney knows she belongs to NFS server 3 and so on.

Now due to new conditions I have to set up a new system from which ALL 
employees are able to mount their home directories from their homes (where they 
live). Since I only have one IP address at my disposal, I need to set up some 
kind of union system in which all home directories apear as they live on just 
one server. Besides that I have to figure out what kind of security I need to 
use. I have been thinking about AFS.

About the union thing I first thought of somehow union mouting all the 
different home directories on a single machine which then serves as the access 
point, but I am affraid if that particular machine crashes, then no one can get 
to their files. 

Good ideas and experiences are greatly appreciated! 

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


Re: Linksys wireless pcmcia card / FreeBSD 6.2-RELEASE

2007-04-23 Thread Tore Lund
Spiros Papadopoulos wrote:
 Allthough i have set to yes the option about receiving your messages to the
 list I didn't receive it.
 In addition i haven't received any reply so far.
 
 Could somebody confirm that my message was sent properly to the list.

Yes, I got your original message on freebsd-questions yesterday.
I think the problem is with Google mail.  I have problems receiving mail
from a neighbor of mine who is on Gmail.
-- 
Tore

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


Re: SMP only detects one CPU - help?

2007-04-23 Thread Adam J Richardson

Message: 11 Date: Fri, 20 Apr 2007 09:58:32 -0700 From: Chuck Swiger [EMAIL 
PROTECTED] Subject: Re: SMP only detects one CPU - help? To: [EMAIL PROTECTED] Cc: 
freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: 
text/plain; charset=US-ASCII; delsp=yes; format=flowed On Apr 20, 2007, at 9:14 AM, Adam J 
Richardson wrote:

 Finally, mptable shows what's really going on:
 MP Config Base Table Entries:
 --
 Processors: APIC ID Version StateFamily Model Step Flags
  3   0x11BSP, usable  6  8 30x387fbff
  0   0x11AP, unusable 6  8 30x387fbff

 Apparently the application processor is unusable, whatever that  
 means. I am now stuck.


 Is there a software fix for this, or do I have a broken CPU,  
 unlikely as it seems? Any help is appreciated.


 Does it seem likely that upgrading both CPUs to the highest Pentium- 
 IIIs I can find, which I was thinking about doing anyway, would fix  
 the problem?


It's more likely that updating the system BIOS and trying to tweak  
any settings related to SMP or ACPI might help.  You might also try  
enabling or toggling the PnP OS installed, to avoid having the BIOS  
configure stuff it doesn't need to boot, and leaving FreeBSD to  
assign IRQs itself...


If that doesn't help, I believe there's a freebsd-acpi list which  
contain people who can look at the dump of your BIOS and fix the  
broken IRQ assignments it is doing.


-- -Chuck 


Thanks Chuck. I'll give these suggestions a try and post feedback when 
I'm done. Might not be for two weeks though, as I'm just about to go on 
a trip to the US. :)


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


Re: FreeMat 3.0 doesn't call functions and help

2007-04-23 Thread ml-vic
Il Sunday 22 April 2007 21:38:12 Thierry Thomas ha scritto:
 Le Jeu 19 avr 07 à  1:00:38 +0200, Vittorio De Martino
 [EMAIL PROTECTED]

  écrivait :
   I have just upgraded FreeMAT to 3.1, which fixes the inv() problem, and
   which should fix this Help on line bug too; could you please check
   it?
 
  Yes, with the new version 3.1 inv now works fine. Unfortunately the Help
  on line still doesn't work. I think that something worsened because with
  this new port now I cannot use the help on line even as root (in the
  previous version Help online as root worked quite well).

 Could you please script (1) a session with only `truss FreeMat', just
 calling the help and exiting? Then please send me the compresed log of
 this session.

 If you had created some symlinks, please don't forget to remove them.

 Regards,

I cannot truss anything

victor# truss /bin/echo hello
truss: cannot open /proc/curproc/mem: No such file or directory

any other solution or workaround?

Vittorio
___
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 build kernel

2007-04-23 Thread Kris Kennaway
On Mon, Apr 23, 2007 at 07:36:13PM +0200, [EMAIL PROTECTED] wrote:
 
 Since 3 days i can't compile kernel with success. After cvsup stable-supfile 
 on fresh 6.2 and make depend:
 
 make: don't know how to make ../../../crypto/rijndael/rijndael-alg-fst.c. Stop
 
 I cant find any errors in my KERNfile. Any ideas?

Go back to GENERIC or put back the bits you removed until you spot the
error you made :)

Kris


pgp3r9m9xX18S.pgp
Description: PGP signature


Re: SMP only detects one CPU - help?

2007-04-23 Thread Adam J Richardson

Message: 15
Date: Fri, 20 Apr 2007 20:11:58 +0300
From: Apatewna [EMAIL PROTECTED]
Subject: Re: SMP only detects one CPU - help?
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-7; format=flowed

Maybe you should use FreeBSD more often  :) 


Absolutely. I'm using it more and more. It's my goal to become 
completely free of certain operating systems beginning with W and other 
commercial software. I haven't had the guts to plunge straight into 
FreeBSD, but I'm gradually achieving my goal by parallel upgrades.


As of FreeBSD 6.2 RELEASE, SMP systems are correctly detected and the 
SMP kernel is used, no need to rebuild kernel. I have such an old 
hardware arround (Dual [EMAIL PROTECTED]) and 6.2 RELEASE loaded the SMP kernel as 
expected. Same thing on shiny new Core2Duo machines.


Try a reinstall, if this a testing machine and you'll notice that the 
SMP kernel is loaded by default, unless some other strange hardware 
problem exists.


I didn't know that. How handy. Actually I'm not sure how options SMP 
got in my kernel config file. It's not an old kernel config file and 
this is my first SMP system. Oh well.

 so
I like to have several kernels in my /boot anyway - kernel, kernel.old, 
kernel.generic and kernel.debug. I don't like to run kernel.generic 
knowing there's lots of stuff in there I'm just not using, and I like 
having kernel.debug around so I can backtrace kernel panics.


I'll have a go with all my kernels, see if one of them boots the 
unusable AP. I'm off for a couple of weeks though, so I might not 
respond for a while.


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


Re: FreeMat 3.0 doesn't call functions and help

2007-04-23 Thread Fabian Keil
Vittorio De Martino [EMAIL PROTECTED] wrote:

 Il Sunday 22 April 2007 21:38:12 Thierry Thomas ha scritto:
  Le Jeu 19 avr 07 à  1:00:38 +0200, Vittorio De Martino
  [EMAIL PROTECTED]
 
   écrivait :
I have just upgraded FreeMAT to 3.1, which fixes the inv() problem, and
which should fix this Help on line bug too; could you please check
it?
  
   Yes, with the new version 3.1 inv now works fine. Unfortunately the Help
   on line still doesn't work. I think that something worsened because with
   this new port now I cannot use the help on line even as root (in the
   previous version Help online as root worked quite well).
 
  Could you please script (1) a session with only `truss FreeMat', just
  calling the help and exiting? Then please send me the compresed log of
  this session.
 
  If you had created some symlinks, please don't forget to remove them.
 
  Regards,
 
 I cannot truss anything
 
 victor# truss /bin/echo hello
 truss: cannot open /proc/curproc/mem: No such file or directory
 
 any other solution or workaround?

truss needs procfs:
mount_procfs /dev/mem /proc

Fabian


signature.asc
Description: PGP signature


Re: IBM / FreeBSD Install problem

2007-04-23 Thread John Baldwin
On Thursday 19 April 2007 03:11:32 pm Dag-Erling Smørgrav wrote:
 Mark Tinguely [EMAIL PROTECTED] writes:
  I suggested that in email too, but looking closer, I think the MAXCPU
  needs to be increased because the cpu number uses the apic_id. Or could
  that be changed with a logical CPU to APIC ID lookup?
 
  Isn't the APIC IDs programmable? not that I am suggesting that, I
  can think of headaches of all the places (like interrupt tables)
  where it needs to be changed, not to mention the worry that the
  lower APIC IDs were assigned to IOAPICs.
 
 I don't know, you'd have to ask jhb@ about the details.

APIC IDs are not programmable (well, they are on I/O APICs, but not local 
APICs).  However, I am working on patches to support all valid APIC IDs for 
both mptable and MADT.  Bumping up NLAPICS as a temporary workaround should 
suffice for now.

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


Re: Mail Switcher

2007-04-23 Thread Philip Hallstrom

Does anyone have any ideas on how I would solve the following problem?

I have two mail servers.  One is running cyrus imap and the other courier.  I 
am in the process of moving users over one at a time and would like to put 
some kind of proxy box in front of the mail servers.  I would like to have 
the proxy listen on port 143 for connections and grab the usernames.  Once 
this happens I want the users connection routed to the appropriate mail 
server.


Any ideas?


I've never used it myself, but perdition comes up when this gets asked...

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


Mount an iso image?

2007-04-23 Thread Paul Schmehl
Is it possible to mount an iso image?  I'm not referring to a cd, but a 
single file that has been created using mkisofs.  If so, what command would 
you use?  mount_cd9660 wants a block device.  Do I need to use some sort of 
pseudo block device?


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: Mount an iso image?

2007-04-23 Thread Kris Kennaway
On Mon, Apr 23, 2007 at 02:01:10PM -0500, Paul Schmehl wrote:
 Is it possible to mount an iso image?  I'm not referring to a cd, but a 
 single file that has been created using mkisofs.  If so, what command would 
 you use?  mount_cd9660 wants a block device.  Do I need to use some sort of 
 pseudo block device?

Use mdconfig with -t vnode, then mount_cd9660

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


Re: Mount an iso image?

2007-04-23 Thread Boris Samorodov
On Mon, 23 Apr 2007 14:01:10 -0500 Paul Schmehl wrote:

 Is it possible to mount an iso image?  I'm not referring to a cd, but
 a single file that has been created using mkisofs.  If so, what
 command would you use?  mount_cd9660 wants a block device.  Do I need
 to use some sort of pseudo block device?

Seems that you need 18.6.2 mkisofs:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html


HTH, WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mount an iso image?

2007-04-23 Thread Martin Tournoij
On Mon 23 Apr 2007 14:04, Paul Schmehl wrote:
 Is it possible to mount an iso image?  I'm not referring to a cd, but a 
 single file that has been created using mkisofs.  If so, what command 
 would you use?  mount_cd9660 wants a block device.  Do I need to use some 
 sort of pseudo block device?
 
 Paul Schmehl ([EMAIL PROTECTED])
 Senior Information Security Analyst
 The University of Texas at Dallas
 http://www.utdallas.edu/ir/security/

To mount a iso image:
mdconfig -at nvode -f MYIMAGE.ISO
mount_cd9960 /dev/md0 /somewhere

If you want to mount multiple ISO images then you will have to 
use md1, md2, ect.

Don't forget to unmount and detach the memory disk:
umount /somewhere
mdconfig -ud 0

0 should be replaced with the appropiate device number

Note that this will only mount standard iso images (iso9660, usually
.iso or .bin), if you want to mount Nero/Alcohol/PowerISO/ect images
then you must first convert them, iat is a great tool for doing this:
Ports collection: sysutils/iat
Website: http://iat.berlios.de/

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


Re: Mount an iso image?

2007-04-23 Thread RW
On Mon, 23 Apr 2007 21:18:55 +0200
Martin Tournoij [EMAIL PROTECTED] wrote:

 On Mon 23 Apr 2007 14:04, Paul Schmehl wrote:
  Is it possible to mount an iso image?  I'm not referring to a cd,
  but a single file that has been created using mkisofs.  If so, what
  command would you use?  mount_cd9660 wants a block device.  Do I
  need to use some sort of pseudo block device?
  
  Paul Schmehl ([EMAIL PROTECTED])
  Senior Information Security Analyst
  The University of Texas at Dallas
  http://www.utdallas.edu/ir/security/
 
 To mount a iso image:
 mdconfig -at nvode -f MYIMAGE.ISO
 mount_cd9960 /dev/md0 /somewhere
 

I notice no-one is recommending it be mounted read-only. Is it implicit
for cd9960, or can an iso be modified this way?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mount an iso image?

2007-04-23 Thread Kris Kennaway
On Mon, Apr 23, 2007 at 08:36:40PM +0100, RW wrote:
 On Mon, 23 Apr 2007 21:18:55 +0200
 Martin Tournoij [EMAIL PROTECTED] wrote:
 
  On Mon 23 Apr 2007 14:04, Paul Schmehl wrote:
   Is it possible to mount an iso image?  I'm not referring to a cd,
   but a single file that has been created using mkisofs.  If so, what
   command would you use?  mount_cd9660 wants a block device.  Do I
   need to use some sort of pseudo block device?
   
   Paul Schmehl ([EMAIL PROTECTED])
   Senior Information Security Analyst
   The University of Texas at Dallas
   http://www.utdallas.edu/ir/security/
  
  To mount a iso image:
  mdconfig -at nvode -f MYIMAGE.ISO
  mount_cd9960 /dev/md0 /somewhere
  
 
 I notice no-one is recommending it be mounted read-only. Is it implicit
 for cd9960, or can an iso be modified this way?

It's implicit.

Kris


pgp5mPpR8Bq9X.pgp
Description: PGP signature


Re: Mount an iso image?

2007-04-23 Thread Martin Tournoij
On Mon 23 Apr 2007 20:04, RW wrote:
 On Mon, 23 Apr 2007 21:18:55 +0200
 Martin Tournoij [EMAIL PROTECTED] wrote:
 
  On Mon 23 Apr 2007 14:04, Paul Schmehl wrote:
   Is it possible to mount an iso image?  I'm not referring to a cd,
   but a single file that has been created using mkisofs.  If so, what
   command would you use?  mount_cd9660 wants a block device.  Do I
   need to use some sort of pseudo block device?
   
   Paul Schmehl ([EMAIL PROTECTED])
   Senior Information Security Analyst
   The University of Texas at Dallas
   http://www.utdallas.edu/ir/security/
  
  To mount a iso image:
  mdconfig -at nvode -f MYIMAGE.ISO
  mount_cd9960 /dev/md0 /somewhere
  
 
 I notice no-one is recommending it be mounted read-only. Is it implicit
 for cd9960, or can an iso be modified this way?

cd9660 can only mount read-only:
$ mount_cd9660 -o rw /dev/md0 /mnt/md0/
$ mount | grep cd9660
$ dev/md0 on /mnt/md0 (cd9660, local, read-only)

Note that I made a typing error in my previous email, 'nvode' should
be 'vnode'

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


Re: IBM / FreeBSD Install problem

2007-04-23 Thread John Baldwin
On Monday 23 April 2007 02:51:19 pm Mark Tinguely wrote:
 
   John Baldwin [EMAIL PROTECTED] says:
 
   APIC IDs are not programmable (well, they are on I/O APICs, but not 
local=20
   APICs).  However, I am working on patches to support all valid APIC IDs 
for=
   =20
   both mptable and MADT.  Bumping up NLAPICS as a temporary workaround 
should=
   =20
   suffice for now.
 
   =2D-=20
   John Baldwin
 
 IMO, the quick solution also requires that MAX_APICID in
 [amd64/amd64 | i386/i386]/local_apic.c needs to be changed
 because lapic_create() checks if the passed apic_id  MAX_APICID.
 
 Also in [amd64/amd64 | i386/i386]/mp_machdep.c checks in cpu_add()
 if the passed apic_id = MAXCPU. There are a couple other checks
 in mp_machdep.c before converting to use the cpu_apic_ids[] array.
 
 I was curious, and wrote up a patch file with the potential minor changes
 for -current at http://www.casselton.com/~tinguely/acpicid.patch .
 I saw one more change needed to use on FreeBSD 6.2-RELEASE.

What I have so far is somewhat similar, but goes ahead and allows the full 
range of APIC IDs while trying to still honor MAXCPU correctly.  I haven't 
ported it to i386 yet, nor compiled it yet, much less booted it. :)  I hope 
to at least get it booted on amd64 today.

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


Re: Mail Switcher

2007-04-23 Thread Tom Grove

Philip Hallstrom wrote:

Does anyone have any ideas on how I would solve the following problem?

I have two mail servers.  One is running cyrus imap and the other 
courier.  I am in the process of moving users over one at a time and 
would like to put some kind of proxy box in front of the mail 
servers.  I would like to have the proxy listen on port 143 for 
connections and grab the usernames.  Once this happens I want the 
users connection routed to the appropriate mail server.


Any ideas?


I've never used it myself, but perdition comes up when this gets asked...

http://www.vergenet.net/linux/perdition/
Perfect...it also seems to exist in ports 
/usr/ports/mail/perdition...works very well.

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


UNEXPECTED SOFT UPDATE INCONSISTENCY

2007-04-23 Thread L Goodwin
Last night, I was starting to install Samba3, but wrong FreeBSD disc (2) in the 
CD-ROM drive (first package to install on disc 1). After placing the right disc 
in the drive, I accidentally pushed the POWER button instead of the CD-ROM door 
open/close button and turned the computer off. In my defense, the power button 
is right next to it AND has a hair trigger. :-(

I turned the computer back on, and FreeBSD booted with no complaints,
so I assumed all was well. I then proceeded to install Samba3 successfully,
after which I shut down the system (halt).

This morning when I booted FreeBSD to configure Samba, I got:
--
...
/dev/da0s1f: UNALLOCATED  I=5  OWNER=root MODE=0
/dev/da0s1f: SIZE=0 MTIME=Apr 22 17:28 2007
/dev/da0s1f: NAME=/lost+found

UNEXPECTED SOFT UPDATE INCONSISTENCY; RUN fsck MANUALLY.
THE FOLLOWING FILE SYSTEM HAD AN UNEXPECTED INCONSISTENCY:
ufs: /dev/da0s1f (/usr)
Automatic file system check failed; help!
/bin/sh on /etc/rc terminated abnormally, going to single user mode
Enter full pathname of shell or RETURN for /bin/sh:
--

I assume I'll have to run fsck on /usr, but have 2 questions:
1) Is this problem caused by yesterday's accidental power-off?
2) What prompts should I expect from fsck, and how should I reply to each in 
order to resolve this problem correctly?

Here's where I'm at now:
--
fsck -y /usr
Start /usr wait fsck_ufs /dev/da0s1f
** /dev/da0s1f
** Last Mounted on /usr
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
UNALLOCATED   I=5  OWNER=root MODE=0
SIZE=0 MTIME=Apr 22 17:28 2007
NAME=/lost+found

UNEXPECTED SOFT UPDATE INCONSISTENCY

REMOVE? [yn]
--
 
 
   
-
Ahhh...imagining that irresistible new car smell?
 Check outnew cars at Yahoo! Autos.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mount an iso image?

2007-04-23 Thread Paul Schmehl
--On Monday, April 23, 2007 21:18:55 +0200 Martin Tournoij 
[EMAIL PROTECTED] wrote:



On Mon 23 Apr 2007 14:04, Paul Schmehl wrote:

Is it possible to mount an iso image?  I'm not referring to a cd, but a
single file that has been created using mkisofs.  If so, what command
would you use?  mount_cd9660 wants a block device.  Do I need to use
some sort of pseudo block device?

Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


To mount a iso image:
mdconfig -at nvode -f MYIMAGE.ISO
mount_cd9960 /dev/md0 /somewhere

If you want to mount multiple ISO images then you will have to
use md1, md2, ect.

Don't forget to unmount and detach the memory disk:
umount /somewhere
mdconfig -ud 0

0 should be replaced with the appropiate device number

Note that this will only mount standard iso images (iso9660, usually
.iso or .bin), if you want to mount Nero/Alcohol/PowerISO/ect images
then you must first convert them, iat is a great tool for doing this:
Ports collection: sysutils/iat
Website: http://iat.berlios.de/

Thanks.  That's what I was looking for.  I wasn't trying to create an iso. 
I wanted to see what was inside one without burning a CD first.  That works 
perfectly.


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: UNEXPECTED SOFT UPDATE INCONSISTENCY

2007-04-23 Thread youshi10

On Mon, 23 Apr 2007, L Goodwin wrote:

[...]


I assume I'll have to run fsck on /usr, but have 2 questions:
1) Is this problem caused by yesterday's accidental power-off?


Yes, most likely.


2) What prompts should I expect from fsck, and how should I reply to each in 
order to resolve this problem correctly?


Just say yes to all the prompts, but backup any important data first. Or if 
you're afraid of any issues, reinstall. If this problem persists (near every 
time you reboot), it's time to get a new drive because it got toasted during a 
write phase. I wouldn't say that though until you install from scratch though 
and verify that that is or is not the case.

-Garrett

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


Re: Mount an iso image?

2007-04-23 Thread Apatewna

O/H Martin Tournoij έγραψε:


cd9660 can only mount read-only:
$ mount_cd9660 -o rw /dev/md0 /mnt/md0/
$ mount | grep cd9660
$ dev/md0 on /mnt/md0 (cd9660, local, read-only)

Note that I made a typing error in my previous email, 'nvode' should
be 'vnode'



So what is wrong with:
mount -o loop freebsd.iso /mnt/cdrom

It opens/mounts the iso as expected.
--
RTFM and STFW before anything bad happens
_
Thanos Rizoulis
Electronic Computing Systems Engineer
Larissa, Greece
FreeBSD/PCBSD user
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mount an iso image?

2007-04-23 Thread Kris Kennaway
On Mon, Apr 23, 2007 at 11:42:14PM +0300, Apatewna wrote:
 O/H Martin Tournoij ??:
 
 cd9660 can only mount read-only:
 $ mount_cd9660 -o rw /dev/md0 /mnt/md0/
 $ mount | grep cd9660
 $ dev/md0 on /mnt/md0 (cd9660, local, read-only)
 
 Note that I made a typing error in my previous email, 'nvode' should
 be 'vnode'
 
 
 So what is wrong with:
 mount -o loop freebsd.iso /mnt/cdrom
 
 It opens/mounts the iso as expected.

That is a Linux command?

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


Re: Mount an iso image?

2007-04-23 Thread Dan Nelson
In the last episode (Apr 23), Paul Schmehl said:
  --On Monday, April 23, 2007 21:18:55 +0200 Martin Tournoij 
  On Mon 23 Apr 2007 14:04, Paul Schmehl wrote:
  Is it possible to mount an iso image?  I'm not referring to a cd,
  but a single file that has been created using mkisofs.  If so,
  what command would you use?  mount_cd9660 wants a block device. 
  Do I need to use some sort of pseudo block device?
 
  To mount a iso image:
  mdconfig -at nvode -f MYIMAGE.ISO
  mount_cd9960 /dev/md0 /somewhere
 
  If you want to mount multiple ISO images then you will have to use
  md1, md2, ect.
 
  Don't forget to unmount and detach the memory disk:
  umount /somewhere
  mdconfig -ud 0
 
  0 should be replaced with the appropiate device number
 
  Note that this will only mount standard iso images (iso9660,
  .usually iso or .bin), if you want to mount
  .Nero/Alcohol/PowerISO/ect images
  then you must first convert them, iat is a great tool for doing this:
  Ports collection: sysutils/iat
  Website: http://iat.berlios.de/
 

  Thanks.  That's what I was looking for.  I wasn't trying to create
  an iso. I wanted to see what was inside one without burning a CD
  first.  That works perfectly.

If that's all you need, there's an even easier way: tar tvf mycd.iso, 
since libarchive understands the iso9660 filesystem format :)

-- 
Dan Nelson
[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: Mount an iso image?

2007-04-23 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Paul Schmehl wrote:

 Thanks.  That's what I was looking for.  I wasn't trying to create an
 iso. I wanted to see what was inside one without burning a CD first. 
 That works perfectly.
 

You can just use tar(1) to read the contents of an iso nowadays, no
need to mount anything:

lack-of-gravitas:~/tmp:% tar -tvf 6.2-RELEASE-i386-disc1.iso | head -20
drwx--  0 0  06144 Jan 12 13:47 .
dr-xr-xr-x  2 0  06144 Jan 12 07:41 bin
dr-xr-xr-x  5 0  04096 Jan 12 11:33 boot
dr-xr-xr-x  2 0  02048 Jan 12 07:41 boot/defaults
dr-xr-xr-x  2 0  0   61440 Jan 12 10:55 boot/kernel
dr-xr-xr-x  2 0  02048 Jan 12 07:38 boot/modules
dr-xr-xr-x  2 0  02048 Jan 12 07:38 dev
dr-xr-xr-x  18 0  0   12288 Jan 12 07:42 etc
dr-xr-xr-x  2 0  02048 Jan 12 07:38 etc/X11
dr-xr-xr-x  2 0  02048 Jan 12 07:42 etc/bluetooth
dr-xr-xr-x  2 0  02048 Jan 12 07:42 etc/defaults
dr-xr-xr-x  2 0  02048 Jan 12 07:42 etc/gnats
dr-xr-xr-x  2 0  02048 Jan 12 07:42 etc/isdn
dr-xr-xr-x  2 0  02048 Jan 12 07:42 etc/mail
dr-xr-xr-x  2 0  02048 Jan 12 07:42 etc/mtree
dr-xr-xr-x  2 0  02048 Jan 12 07:38 etc/ntp
dr-xr-xr-x  2 0  04096 Jan 12 07:42 etc/pam.d
dr-xr-xr-x  6 0  02048 Jan 12 07:38 etc/periodic
dr-xr-xr-x  2 0  04096 Jan 12 07:42 etc/periodic/daily
dr-xr-xr-x  2 0  02048 Jan 12 07:42 etc/periodic/monthly

lack-of-gravitas:~/tmp:% tar --version
bsdtar 1.2.53 - libarchive 1.2.53

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.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGLRsu8Mjk52CukIwRCKfuAJ9DblEUgpu5eCEsdBWVFX8TgOiY+wCgj0rQ
tAlswF71TKS2CoEqs/kkqq0=
=2ME7
-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: Mount an iso image?

2007-04-23 Thread Kris Kennaway
On Mon, Apr 23, 2007 at 03:45:14PM -0500, Dan Nelson wrote:
 In the last episode (Apr 23), Paul Schmehl said:
   --On Monday, April 23, 2007 21:18:55 +0200 Martin Tournoij 
   On Mon 23 Apr 2007 14:04, Paul Schmehl wrote:
   Is it possible to mount an iso image?  I'm not referring to a cd,
   but a single file that has been created using mkisofs.  If so,
   what command would you use?  mount_cd9660 wants a block device. 
   Do I need to use some sort of pseudo block device?
  
   To mount a iso image:
   mdconfig -at nvode -f MYIMAGE.ISO
   mount_cd9960 /dev/md0 /somewhere
  
   If you want to mount multiple ISO images then you will have to use
   md1, md2, ect.
  
   Don't forget to unmount and detach the memory disk:
   umount /somewhere
   mdconfig -ud 0
  
   0 should be replaced with the appropiate device number
  
   Note that this will only mount standard iso images (iso9660,
   .usually iso or .bin), if you want to mount
   .Nero/Alcohol/PowerISO/ect images
   then you must first convert them, iat is a great tool for doing this:
   Ports collection: sysutils/iat
   Website: http://iat.berlios.de/
  
 
   Thanks.  That's what I was looking for.  I wasn't trying to create
   an iso. I wanted to see what was inside one without burning a CD
   first.  That works perfectly.
 
 If that's all you need, there's an even easier way: tar tvf mycd.iso, 
 since libarchive understands the iso9660 filesystem format :)

That's a neat trick that is worth publicizing.  Maybe the freebsd-tips
fortune file?

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


Re: IBM / FreeBSD Install problem

2007-04-23 Thread Mark Tinguely

  John Baldwin [EMAIL PROTECTED] says:

  APIC IDs are not programmable (well, they are on I/O APICs, but not local=20
  APICs).  However, I am working on patches to support all valid APIC IDs for=
  =20
  both mptable and MADT.  Bumping up NLAPICS as a temporary workaround should=
  =20
  suffice for now.

  =2D-=20
  John Baldwin

IMO, the quick solution also requires that MAX_APICID in
[amd64/amd64 | i386/i386]/local_apic.c needs to be changed
because lapic_create() checks if the passed apic_id  MAX_APICID.

Also in [amd64/amd64 | i386/i386]/mp_machdep.c checks in cpu_add()
if the passed apic_id = MAXCPU. There are a couple other checks
in mp_machdep.c before converting to use the cpu_apic_ids[] array.

I was curious, and wrote up a patch file with the potential minor changes
for -current at http://www.casselton.com/~tinguely/acpicid.patch .
I saw one more change needed to use on FreeBSD 6.2-RELEASE.

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


Re: Mount an iso image?

2007-04-23 Thread Apatewna

O/H Kris Kennaway έγραψε:


That is a Linux command?

Kris


Whoaaa, wasted bandwidth! You are right, I'll archive the correct 
commands for future reference.


--
RTFM and STFW before anything bad happens
_
Thanos Rizoulis
Electronic Computing Systems Engineer
Larissa, Greece
FreeBSD/PCBSD user
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Invalid Global DNS name and sendmail

2007-04-23 Thread Andrew Fremantle

Hello,

I've got a machine on the local network, with a local DNS name (which is 
not a valid name in the global DNS).


My problem is that I cannot kludge sendmail into behaving nicely and 
allow the periodic(8) mailings to get through.


The machine is named psyche.local
domain1.com is a domain that we own, but this machine has nothing to do 
with it. I want the emails delivered to [EMAIL PROTECTED] This is not 
an email server in any way - All I care about it getting my periodic output.


Here are the settings I'm trying :

/etc/mail/psyche.local.mc
define(`SMART_HOST', `mail.telus.net')
define(`MAIL_HUB',`mail.telus.net')

define(`confDOMAIN_NAME',`domain1.com')

MASQUERADE_AS(domain1.com)
MASQUERADE_DOMAIN(psyche.local psyche)
FEATURE(`allmasquerade')
FEATURE(`masquerade_envelope')

/etc/mail/genericsdomain
psyche.local

/etc/mail/genericstable
root[EMAIL PROTECTED]
andrew  [EMAIL PROTECTED]

/etc/mail/aliases
root : [EMAIL PROTECTED]

/etc/hosts
192.168.2.10   psyche psyche.local

With all the configurations I've tried, emails are rejected by my 
smarthost with an error like sender address [EMAIL PROTECTED] invalid; 
domain does not exist.


What I'd like to do is find a way to alter sendmail's perception of my 
hostname. Ideally, this would only affect sendmail and nothing else.


I can't possibly be the only person running such a configuration. How 
have other people in the list worked past this?


- Andrew

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


Re: Mount an iso image?

2007-04-23 Thread Paul Schmehl
--On Monday, April 23, 2007 21:46:38 +0100 Matthew Seaman 
[EMAIL PROTECTED] wrote:



-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Paul Schmehl wrote:


Thanks.  That's what I was looking for.  I wasn't trying to create an
iso. I wanted to see what was inside one without burning a CD first.
That works perfectly.



You can just use tar(1) to read the contents of an iso nowadays, no
need to mount anything:

lack-of-gravitas:~/tmp:% tar -tvf 6.2-RELEASE-i386-disc1.iso | head -20
drwx--  0 0  06144 Jan 12 13:47 .
dr-xr-xr-x  2 0  06144 Jan 12 07:41 bin
dr-xr-xr-x  5 0  04096 Jan 12 11:33 boot
dr-xr-xr-x  2 0  02048 Jan 12 07:41 boot/defaults
dr-xr-xr-x  2 0  0   61440 Jan 12 10:55 boot/kernel
dr-xr-xr-x  2 0  02048 Jan 12 07:38 boot/modules
dr-xr-xr-x  2 0  02048 Jan 12 07:38 dev
dr-xr-xr-x  18 0  0   12288 Jan 12 07:42 etc
dr-xr-xr-x  2 0  02048 Jan 12 07:38 etc/X11
dr-xr-xr-x  2 0  02048 Jan 12 07:42 etc/bluetooth
dr-xr-xr-x  2 0  02048 Jan 12 07:42 etc/defaults
dr-xr-xr-x  2 0  02048 Jan 12 07:42 etc/gnats
dr-xr-xr-x  2 0  02048 Jan 12 07:42 etc/isdn
dr-xr-xr-x  2 0  02048 Jan 12 07:42 etc/mail
dr-xr-xr-x  2 0  02048 Jan 12 07:42 etc/mtree
dr-xr-xr-x  2 0  02048 Jan 12 07:38 etc/ntp
dr-xr-xr-x  2 0  04096 Jan 12 07:42 etc/pam.d
dr-xr-xr-x  6 0  02048 Jan 12 07:38 etc/periodic
dr-xr-xr-x  2 0  04096 Jan 12 07:42 etc/periodic/daily
dr-xr-xr-x  2 0  02048 Jan 12 07:42 etc/periodic/monthly

lack-of-gravitas:~/tmp:% tar --version
bsdtar 1.2.53 - libarchive 1.2.53

Good to know.  However, I didn't want to just list the contents.  I also 
wanted to view some of the files' contents.


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


setting ENV VARs in make.conf/ports.conf ?

2007-04-23 Thread snowcrash+freebsd

hi,

i've installed FreeBSD v6.2-RELEASE, plus 'portconf'  'ccache' from ports.

i've setup,

 /etc/make.conf
 -
 PERL_VER=5.8.8
 PERL_VERSION=5.8.8
 USE_OPENSSL_PORT=true
 OPENSSLBASE=/usr/local
 USE_OPENSSH_PORT=true
 WITHOUT_X11=yes
 CPUTYPE?=pentium-mmx

 CFLAGS=  -O2 -pipe
 COPTFLAGS=   -O2 -pipe

 ## Begin portconf settings
 ## Do not touch these lines
 .if !empty(.CURDIR:M/usr/ports*)  exists(/usr/local/libexec/portconf)
  _PORTCONF!=/usr/local/libexec/portconf
  .for i in ${_PORTCONF:S/|/ /g}
   ${i:S/%/ /g}
  .endfor
 .endif
 ## End portconf settings

 .if !defined(NOCCACHE)
  CC=/usr/local/libexec/ccache/cc
  CXX=/usr/local/libexec/ccache/c++
  CPP=/usr/local/libexec/ccache/cpp
 .endif
 -

so that i can turn OFF use of ccache for individual ports.

i find that different ports 'respond' only to specific ways of setting
the NOCCACHE var.

e.g., in,

 cat /usr/local/etc/ports.conf
 -
 *:\
 CFLAGS= -O2 -pipe -funroll-loops -s -frename-registers
-fomit-frame-pointer | \
 CXXFLAGS= -O2 -pipe -funroll-loops -s -frename-registers

 databases/sqlite3-threads:NOCCACHE=true | \
   
WITHOUT_DEBUG=true|WITH_DOCS=true|WITH_FTS1=true|WITH_TCLWRAPPER=true|BATCH=Yes

 sysutils/pflogx:MAKE_ENV= NOCCACHE=true | \
   WITH_EXPAT=true|BATCH=Yes
 -

pflogx and sqlite3 require DIFFERENT specifications of NOCCACHE ...
swapping formate, e.g., causes the conditional .if
!defined(NOCCACHE) to fail; meaning, that the CC/CXX/CPP defs
pointing to ccahce/* are oncorrectly used.

is this expected/normal?  i would've expected the same method of
defining ENV VAR knobs ...

is there a _consistent_ way of turning off NOCCACHE via the ports.conf?

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


Re: UNEXPECTED SOFT UPDATE INCONSISTENCY

2007-04-23 Thread L Goodwin
Thanks, Garrett.

Ran fsck -y /usr

* FILE SYSTEM MARKED CLEAN *
* FILE SYSTEM WAS MODIFIED *

Upon reboot, all is well EXCEPT for the following 2 warnings:
---
Mounting local file systems: WARNING: /var was not properly dismounted
WARNING: /sambavol was not properly dismounted
---
 
Both /var and /sambavol are mounted (ufs, local, soft-updates).
Rebooted again, and did not get these warnings. Thanks!

[EMAIL PROTECTED] wrote: On Mon, 23 Apr 2007, L Goodwin wrote:

[...]

 I assume I'll have to run fsck on /usr, but have 2 questions:
 1) Is this problem caused by yesterday's accidental power-off?

Yes, most likely.

 2) What prompts should I expect from fsck, and how should I reply to each in 
 order to resolve this problem correctly?

Just say yes to all the prompts, but backup any important data first. Or if 
you're afraid of any issues, reinstall. If this problem persists (near every 
time you reboot), it's time to get a new drive because it got toasted during a 
write phase. I wouldn't say that though until you install from scratch though 
and verify that that is or is not the case.

-Garrett

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


   
-
Ahhh...imagining that irresistible new car smell?
 Check outnew cars at Yahoo! Autos.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mount an iso image? (simplest way?)

2007-04-23 Thread Bill-S

At Tue, 24 Apr 2007 it looks like Apatewna composed:


O/H Kris Kennaway ??:


That is a Linux command?

Kris


Whoaaa, wasted bandwidth! You are right, I'll archive the correct commands 
for future reference.




Being on both systems alot, one wishes they had a port for that
module whereas one could just type the shortest command.

I see Linux ports everywhere else in FreeBSD-6.2, what's one more
right?  (giggle)



[EMAIL PROTECTED] ~]$ uname -r
6.2-RELEASE

[EMAIL PROTECTED] ~]$ find /usr/ports/ -iname *linux* -print | wc -l
 363



--
Bill Schoolcraft * http://wiliweld.com
  ~
Unix is very simple, but it takes a
genius to understand the simplicity.
 (Dennis Ritchie)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Invalid Global DNS name and sendmail

2007-04-23 Thread Derek Ragona

At 02:19 PM 4/23/2007, Andrew Fremantle wrote:

Hello,

I've got a machine on the local network, with a local DNS name (which is 
not a valid name in the global DNS).


My problem is that I cannot kludge sendmail into behaving nicely and allow 
the periodic(8) mailings to get through.


The machine is named psyche.local
domain1.com is a domain that we own, but this machine has nothing to do 
with it. I want the emails delivered to [EMAIL PROTECTED] This is not an 
email server in any way - All I care about it getting my periodic output.


Here are the settings I'm trying :

/etc/mail/psyche.local.mc
define(`SMART_HOST', `mail.telus.net')
define(`MAIL_HUB',`mail.telus.net')

define(`confDOMAIN_NAME',`domain1.com')

MASQUERADE_AS(domain1.com)
MASQUERADE_DOMAIN(psyche.local psyche)
FEATURE(`allmasquerade')
FEATURE(`masquerade_envelope')

/etc/mail/genericsdomain
psyche.local

/etc/mail/genericstable
root[EMAIL PROTECTED]
andrew  [EMAIL PROTECTED]

/etc/mail/aliases
root : [EMAIL PROTECTED]

/etc/hosts
192.168.2.10   psyche psyche.local

With all the configurations I've tried, emails are rejected by my 
smarthost with an error like sender address [EMAIL PROTECTED] invalid; 
domain does not exist.


What I'd like to do is find a way to alter sendmail's perception of my 
hostname. Ideally, this would only affect sendmail and nothing else.


I can't possibly be the only person running such a configuration. How have 
other people in the list worked past this?


You don't need to go to such efforts.  The stock sendmail mc file should do 
fine with just a couple modifications.  The details are here:

http://www.sendmail.org/faq/section3.html#3.22

Check your name resolution order in /etc/nsswitch.conf that you check files 
first.


modify /etc/hosts
192.168.2.10   psyche psyche.local.

so it is a fully qualified domain name.

You can forward all mail in /etc/mail/virtualusertable
with a line such as:
@psyche.local   [EMAIL PROTECTED]

Be sure to recompile your virtualusertable.db

-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: UNEXPECTED SOFT UPDATE INCONSISTENCY

2007-04-23 Thread RW
On Mon, 23 Apr 2007 13:23:16 -0700 (PDT)
L Goodwin [EMAIL PROTECTED] wrote:

 Last night, I was starting to install Samba3, but wrong FreeBSD disc
 (2) in the CD-ROM drive (first package to install on disc 1). After
 placing the right disc in the drive, I accidentally pushed the POWER
 button instead of the CD-ROM door open/close button and turned the
 computer off. In my defense, the power button is right next to it AND
 has a hair trigger. :-(

This shouldn't be a problem unless your pc is very old (8 years or so),
and it's a real power switch. On modern PCs the power switch is just a
low-voltage control line. A light touch is a signal to the OS to
shutdown cleanly - you have to hold the button down for several seconds
to force it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Invalid Global DNS name and sendmail

2007-04-23 Thread Chuck Swiger

On Apr 23, 2007, at 12:19 PM, Andrew Fremantle wrote:
With all the configurations I've tried, emails are rejected by my  
smarthost with an error like sender address [EMAIL PROTECTED]  
invalid; domain does not exist.


What I'd like to do is find a way to alter sendmail's perception of  
my hostname. Ideally, this would only affect sendmail and nothing  
else.


The reason emails from root are being exposed using the real hostname  
is because of this:


  # class E: names that should be exposed as from this host, even if  
we masquerade
  # class L: names that should be delivered locally, even if we have  
a relay

  # class M: domains that should be converted to $M
  # class N: domains that should not be converted to $M
  #CL root
  C{E}root

...in sendmail.cf.  Remove root from this C{E} line and you should be  
all set.


However, if you want to explicitly set your hostname in sendmail,  
change this:


  # my official domain name
  # ... define this only if sendmail cannot automatically determine  
your domain

  #Dj$w.Foo.CO

...to:

  Djmyhost.example.com

...or whatever you like.

--
-Chuck

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


Re: UNEXPECTED SOFT UPDATE INCONSISTENCY

2007-04-23 Thread L Goodwin
Yes, it's a hardware switch and a very bad design. It's flush with the surface 
of the faceplate and is right next to the CD-ROM button. Also sensitive to the 
lightest touch. Replacement would require buying a new case (not in budget).

Think I'll make a clear plexi failsafe cover. Reminds me of the times my 
toddler son found the big red toggle switch on the side of my IBM RT-PC 
workstation within seconds of sitting in my chair...

RW [EMAIL PROTECTED] wrote: On Mon, 23 Apr 2007 13:23:16 -0700 (PDT)
L Goodwin  wrote:

 Last night, I was starting to install Samba3, but wrong FreeBSD disc
 (2) in the CD-ROM drive (first package to install on disc 1). After
 placing the right disc in the drive, I accidentally pushed the POWER
 button instead of the CD-ROM door open/close button and turned the
 computer off. In my defense, the power button is right next to it AND
 has a hair trigger. :-(

This shouldn't be a problem unless your pc is very old (8 years or so),
and it's a real power switch. On modern PCs the power switch is just a
low-voltage control line. A light touch is a signal to the OS to
shutdown cleanly - you have to hold the button down for several seconds
to force it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


   
-
Ahhh...imagining that irresistible new car smell?
 Check outnew cars at Yahoo! Autos.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


NFS without rpcbind?

2007-04-23 Thread Dan Casey
It was my understanding that NFS worked off of RPC.  I accidently
stumbled upon some redhat docs that said you use TCP based NFS which
will not require rpc?  I think this is an NFSv4 feature, but I'm not
sure.  I would like to achieve this using FreeBSD 6.2.  My goal that I'm
trying to accomplish is to get nfs to work in an environment where all
traffic is denied by default.  Using rpcbind doesn't work well with that
type of setup. 

I tried the following
nfs_reserved_port_only=YES
nfs_server_enable=YES
nfs_server_flags=-t -n 4 -h 10.a.b.c

This spawned rpcbind which I didn't want.   Does anyone know how to do a
tcp only nfs implimentation?

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


Re: Mount an iso image?

2007-04-23 Thread Martin Tournoij
On Mon 23 Apr 2007 16:04, Paul Schmehl wrote:
 --On Monday, April 23, 2007 21:46:38 +0100 Matthew Seaman [EMAIL PROTECTED] 
 wrote:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256
 
 Paul Schmehl wrote:
 
 Thanks.  That's what I was looking for.  I wasn't trying to create an
 iso. I wanted to see what was inside one without burning a CD first.
 That works perfectly.
 
 
 You can just use tar(1) to read the contents of an iso nowadays, no
 need to mount anything:
 
 lack-of-gravitas:~/tmp:% tar -tvf 6.2-RELEASE-i386-disc1.iso | head -20
 drwx--  0 0  06144 Jan 12 13:47 .
 dr-xr-xr-x  2 0  06144 Jan 12 07:41 bin
 dr-xr-xr-x  5 0  04096 Jan 12 11:33 boot
 dr-xr-xr-x  2 0  02048 Jan 12 07:41 boot/defaults
 dr-xr-xr-x  2 0  0   61440 Jan 12 10:55 boot/kernel
 dr-xr-xr-x  2 0  02048 Jan 12 07:38 boot/modules
 dr-xr-xr-x  2 0  02048 Jan 12 07:38 dev
 dr-xr-xr-x  18 0  0   12288 Jan 12 07:42 etc
 dr-xr-xr-x  2 0  02048 Jan 12 07:38 etc/X11
 dr-xr-xr-x  2 0  02048 Jan 12 07:42 etc/bluetooth
 dr-xr-xr-x  2 0  02048 Jan 12 07:42 etc/defaults
 dr-xr-xr-x  2 0  02048 Jan 12 07:42 etc/gnats
 dr-xr-xr-x  2 0  02048 Jan 12 07:42 etc/isdn
 dr-xr-xr-x  2 0  02048 Jan 12 07:42 etc/mail
 dr-xr-xr-x  2 0  02048 Jan 12 07:42 etc/mtree
 dr-xr-xr-x  2 0  02048 Jan 12 07:38 etc/ntp
 dr-xr-xr-x  2 0  04096 Jan 12 07:42 etc/pam.d
 dr-xr-xr-x  6 0  02048 Jan 12 07:38 etc/periodic
 dr-xr-xr-x  2 0  04096 Jan 12 07:42 etc/periodic/daily
 dr-xr-xr-x  2 0  02048 Jan 12 07:42 etc/periodic/monthly
 
 lack-of-gravitas:~/tmp:% tar --version
 bsdtar 1.2.53 - libarchive 1.2.53
 
 Good to know.  However, I didn't want to just list the contents.  I also 
 wanted to view some of the files' contents.

Very useful hint! Thank you!
The tar manpage makes no mention of this by the way, it should be
updated...

You can also extract stuff (although mounting is probably faster in
most situations)
tar xf Unreal\ Tournament.iso -C /usr/local/share/linux-ut/

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


Backup media choices for FreeBSD servers

2007-04-23 Thread L Goodwin
I need to implement an automated backup facility on the FreeBSD file server I'm 
setting up for a client. It will have a software RAID 1 Mirror/Duplex that is 
made available to Windows XP SP2 and Windows Vista Home Premium users as a 
Samba share.  I also plan to create system recovery disks (disk images) for the 
server and each Windows client. 

This leaves backing up user data on some schedule. I've read Backup Basics, 
but have some questions:

Which is best backup media for a FreeBSD file server, based on known issues (or 
lack of) with each format? I need to decide between the following formats:
 a) CD-R (or CD-RW?)
 b) DVD-R (or CD-RW?)
 c) Streaming tape (which format/standard?)
 
Which is the best method for backing up data files on a Samba sharer FreeBSD?
Handbook says dump is the only way to go.

Is it possible to have a Windows client perform the backup files on the Samba 
share to a local Re-Writable CD or DVD drive? If the answer is YES, what are 
the pros and cons of a UNIX-based (data-file only) backup vs. a Windows-based 
one?
Please add to my list of pros and cons:

Windows Backup:
PRO: Backup can be restored to a Windows drive while server is being fixed?
CON: Users might forget to replace backup disk after using optical drive.

FreeBSD Backup:
PRO: Out of sight from users (server is in a storeroom).
CON: Cannot restore backup to a Windows disk while server is being fixed?

These are some of my other considerations:
 
 1) Cost is a primary concern. Budget does not allow for a multi-drive 
solution. Best if client does not handle backups (change discs/tapes), so a 
solution that permits storing several backups to same disc/tape preferred.

2) I only want to back up user data (not the OS). Current user data occupies 
less than 1GB of drive space, and is expected to grow at a modest rate.

3) I do NOT have a writable CD or DVD drive (but can buy one if not too spendy).

4) I have an external SCSI connection, but very little shelf space.

5) The server does not have room for another internal device (except if 
swapping out the existing ATAPI CD-ROM drive).

6) I have an Ecrix Corporation Model VXI-1A SCSI internal tape drive that I 
assume is obsolete (comments appreciated). Anyway, I don't have room for it.
 
7) Have not yet settled on a backup schedule. May be weekly or monthly or 
ad-hoc, but daily is probably out of the question. The RAID 1 array is expected 
to provide some degree of protection in leieu of daily backups. Plan to back up 
all documents each time, rather than implement a two-tiered backup process.

Thanks!

   
-
Ahhh...imagining that irresistible new car smell?
 Check outnew cars at Yahoo! Autos.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Backup media choices for FreeBSD servers

2007-04-23 Thread Daniel Marsh

On 4/24/07, L Goodwin [EMAIL PROTECTED] wrote:


I need to implement an automated backup facility on the FreeBSD file
server I'm setting up for a client. It will have a software RAID 1
Mirror/Duplex that is made available to Windows XP SP2 and Windows Vista
Home Premium users as a Samba share.  I also plan to create system recovery
disks (disk images) for the server and each Windows client.

This leaves backing up user data on some schedule. I've read Backup
Basics, but have some questions:

Which is best backup media for a FreeBSD file server, based on known
issues (or lack of) with each format? I need to decide between the following
formats:
a) CD-R (or CD-RW?)
b) DVD-R (or CD-RW?)
c) Streaming tape (which format/standard?)

Which is the best method for backing up data files on a Samba sharer
FreeBSD?
Handbook says dump is the only way to go.

Is it possible to have a Windows client perform the backup files on the
Samba share to a local Re-Writable CD or DVD drive? If the answer is YES,
what are the pros and cons of a UNIX-based (data-file only) backup vs. a
Windows-based one?
Please add to my list of pros and cons:

Windows Backup:
PRO: Backup can be restored to a Windows drive while server is being
fixed?
CON: Users might forget to replace backup disk after using optical drive.

FreeBSD Backup:
PRO: Out of sight from users (server is in a storeroom).
CON: Cannot restore backup to a Windows disk while server is being fixed?

These are some of my other considerations:

1) Cost is a primary concern. Budget does not allow for a multi-drive
solution. Best if client does not handle backups (change discs/tapes), so a
solution that permits storing several backups to same disc/tape preferred.

2) I only want to back up user data (not the OS). Current user data
occupies less than 1GB of drive space, and is expected to grow at a modest
rate.

3) I do NOT have a writable CD or DVD drive (but can buy one if not too
spendy).

4) I have an external SCSI connection, but very little shelf space.

5) The server does not have room for another internal device (except if
swapping out the existing ATAPI CD-ROM drive).

6) I have an Ecrix Corporation Model VXI-1A SCSI internal tape drive that
I assume is obsolete (comments appreciated). Anyway, I don't have room for
it.

7) Have not yet settled on a backup schedule. May be weekly or monthly or
ad-hoc, but daily is probably out of the question. The RAID 1 array is
expected to provide some degree of protection in leieu of daily backups.
Plan to back up all documents each time, rather than implement a two-tiered
backup process.

Thanks!



Hey,

We had a similar issue trying to figure out what type of media to backup
to...
Tapes are great when they work. You need to store them properly, make sure
the tapes aren't old and worn either.
I'd only do once off, for archiving purposes, backups to DVD.

We tried to try a 16 tape LTO2 autoloader, but after three dead on arrivals
we scrapped that idea.

We use Bacula (it's open source and in the ports) to backup to hard drive
mirrors, I think it's bloody wonderful in comparison to some of the windows
based tape software thats out there.

I'd use bacula to either do a backup to hard drive and use virtual media
that gets rotated, or buy a new set of tapes and maybe a new tape drive and
have bacula manage that...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Backup media choices for FreeBSD servers

2007-04-23 Thread Derek Ragona

At 07:01 PM 4/23/2007, L Goodwin wrote:
I need to implement an automated backup facility on the FreeBSD file 
server I'm setting up for a client. It will have a software RAID 1 
Mirror/Duplex that is made available to Windows XP SP2 and Windows Vista 
Home Premium users as a Samba share.  I also plan to create system 
recovery disks (disk images) for the server and each Windows client.


This leaves backing up user data on some schedule. I've read Backup 
Basics, but have some questions:


Which is best backup media for a FreeBSD file server, based on known 
issues (or lack of) with each format? I need to decide between the 
following formats:

 a) CD-R (or CD-RW?)
 b) DVD-R (or CD-RW?)
 c) Streaming tape (which format/standard?)

Which is the best method for backing up data files on a Samba sharer FreeBSD?
Handbook says dump is the only way to go.

Is it possible to have a Windows client perform the backup files on the 
Samba share to a local Re-Writable CD or DVD drive? If the answer is YES, 
what are the pros and cons of a UNIX-based (data-file only) backup vs. a 
Windows-based one?

Please add to my list of pros and cons:

Windows Backup:
PRO: Backup can be restored to a Windows drive while server is being fixed?
CON: Users might forget to replace backup disk after using optical drive.

FreeBSD Backup:
PRO: Out of sight from users (server is in a storeroom).
CON: Cannot restore backup to a Windows disk while server is being fixed?

These are some of my other considerations:

 1) Cost is a primary concern. Budget does not allow for a multi-drive 
solution. Best if client does not handle backups (change discs/tapes), so 
a solution that permits storing several backups to same disc/tape preferred.


2) I only want to back up user data (not the OS). Current user data 
occupies less than 1GB of drive space, and is expected to grow at a modest 
rate.


3) I do NOT have a writable CD or DVD drive (but can buy one if not too 
spendy).


4) I have an external SCSI connection, but very little shelf space.

5) The server does not have room for another internal device (except if 
swapping out the existing ATAPI CD-ROM drive).


6) I have an Ecrix Corporation Model VXI-1A SCSI internal tape drive that 
I assume is obsolete (comments appreciated). Anyway, I don't have room for it.


7) Have not yet settled on a backup schedule. May be weekly or monthly or 
ad-hoc, but daily is probably out of the question. The RAID 1 array is 
expected to provide some degree of protection in leieu of daily backups. 
Plan to back up all documents each time, rather than implement a 
two-tiered backup process.


Thanks!




You already have RAID 1 so you need more of an offline, removable media 
solution.  You need to choose between CD, DVD, or tape.  That is a cost and 
capacity issue, you need to do some price comparisons and choose what fits 
your budget.


You can backup and restore all files UNIX and Samba/windows from the 
FreeBSD but not vice-versa.


You would do well to setup some automated task, as in a cron job to do the 
backups.  You will need a human to change whatever media you choose, and 
move it off-site occasionally too.


For FreeBSD, be sure to backup /etc /usr/local/etc.

You can use dump/restore, tar, pax, cpio, or one of the ports such as bacula.

-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: Backup media choices for FreeBSD servers

2007-04-23 Thread Wood, Russell

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:owner-freebsd-
 [EMAIL PROTECTED] On Behalf Of Daniel Marsh
 Sent: Tuesday, 24 April 2007 8:21 AM
 To: L Goodwin
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Backup media choices for FreeBSD servers
 
 On 4/24/07, L Goodwin [EMAIL PROTECTED] wrote:
 
  I need to implement an automated backup facility on the FreeBSD file
  server I'm setting up for a client. It will have a software RAID 1
  Mirror/Duplex that is made available to Windows XP SP2 and Windows
Vista
  Home Premium users as a Samba share.  I also plan to create system
 recovery
  disks (disk images) for the server and each Windows client.

I dump (man dump) my array to a spare 250GB disk within my server.

- Russell


DISCLAIMER:
Disclaimer.  This e-mail is private and confidential. If you are not the 
intended recipient, please advise us by return e-mail immediately, and delete 
the e-mail and any attachments without using or disclosing the contents in any 
way. The views expressed in this e-mail are those of the author, and do not 
represent those of this company unless this is clearly indicated. You should 
scan this e-mail and any attachments for viruses. This company accepts no 
liability for any direct or indirect damage or loss resulting from the use of 
any attachments to this e-mail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Invalid Global DNS name and sendmail

2007-04-23 Thread Chuck Swiger

On Apr 23, 2007, at 4:48 PM, Andrew Fremantle wrote:
Are you aware of any way of doing this stuff in the .mc file?  
Should the .cf ever be remade, these changes would be blown away


Right-- seems to be for the .mc file (from /usr/share/sendmail/cf/ 
README):



There are always users that need to be exposed -- that is, their
internal site name should be displayed instead of the masquerade name.
Root is an example (which has been exposed by default prior to  
8.10).

You can add users to this list using

EXPOSED_USER(`usernames')


...and to change hostname use:

define(`confDOMAIN_NAME', `hostname.example.com')

--
-Chuck

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


UNEXPECTED SOFT UPDATE INCONSISTENCY

2007-04-23 Thread Robert Huff

L Goodwin writes:

  I accidentally pushed the POWER button instead of the CD-ROM door
  open/close button and turned the computer off. In my defense, the
  power button is right next to it AND has a hair trigger. :-(
  
  I turned the computer back on, and FreeBSD booted with no
  complaints, so I assumed all was well.

That was your second error.
As I learned it:
On anything other than a clean shutdown, you will need to fsck
everything that was mounted at the time of the crash.  (Remember to
get the stuff that's noauto in fstab.)
Run fsck on each partitions.  Repeat until it reports no
errors.  (Not MARKED CLEAN but not errors.


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


Re: best programming language for console/sql application?

2007-04-23 Thread L Goodwin
I co-developed a UNIX-based multi-product bug tracking system using an RDBMS 
(Informix, ISQL, Perform and ACE), bourne shell scripts, cron, and UNIX Mail.  
This solution also worked on PC clients (we used Reflection-X, but I'd 
recommend XWin32). Our design was selected over a PC-only solution that another 
faction was pushing (we had more UNIX clients than PC's at that time).
 
It had some pretty sophisticated features for the time (some carried over from 
a previous version), including: 

Automated email notifications and summaries designed to support our software 
development methodology. 

Retrieve and display SCCS deltas to display code changed for a bug fix.

Ability to store bug regression tests (manual and automated) in several 
different languages, and automatically generate automated regression tests 
based on several different criteria, including Product, Platform, Version 
Range, and Programming Language. This one was my baby (brag).

I've also rewritten HPUX makefiles in bsh to permit execution on multiple UNIX 
platforms (HPUX make has some unique features not found in make on other UNIX 
platforms).

Based on the above experience, I'd recommend shell scripts, though this will 
likely generate some opposition. In any case, if your system only needs to run 
on one platform, I'd use built-in tools.

Since then, I've played around with using perl for CGI scripting (hated it), 
then PHP, which I love for this purpose.

Zhang Weiwu [EMAIL PROTECTED] wrote: Dear list

This is OT. I am a 4 year php developer and is very familiar with 
javascript and awk (familiar = knows and used all functions and features 
of the language itself) and I am a 5 year FreeBSD user. Being frustrated 
for the lack of a good console-based issue tracking tool (like mantis or 
bugzilla), I think I should start to write my own. I'll either start 
from scratch or (better) write a frontend for mantis which I used for years.

   1. If someone has already started, I should try join him/her rather
  than reinventing the wheel. So if someone knows any person who is
  starting to work on a slim console-based issue tracker, please let
  me know. I already did quit a few searches. I know someone is
  working on a console front-end of G-Forge, but a big software like
  G-Forge is not what I am thinking of.
   2. If I start my own, I think I'll be using a console widget library
  (ncurse? because it's famous), an SQL database (no problem) and a
  programming language. I never developed console application
  before, so here asking for suggestions on what programming
  language to choose. Non of my known language php/javascript/awk
  are suitable so I guess I have to learn a new language anyway. The
  language better be easy to learn and work with (C++ is out), not
  necessarily have complicated calculation feature (like the
  graphical report mantis makes), not necessarily OOP. I have perl
  and tcl in my head now, can you make some recommendations?

Thanks!

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


   
-
Ahhh...imagining that irresistible new car smell?
 Check outnew cars at Yahoo! Autos.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: UNEXPECTED SOFT UPDATE INCONSISTENCY

2007-04-23 Thread L Goodwin
Thanks, Robert.

Robert Huff [EMAIL PROTECTED] wrote: 
L Goodwin writes:

  I accidentally pushed the POWER button instead of the CD-ROM door
  open/close button and turned the computer off. In my defense, the
  power button is right next to it AND has a hair trigger. :-(
  
  I turned the computer back on, and FreeBSD booted with no
  complaints, so I assumed all was well.

 That was your second error.
 As I learned it:
 On anything other than a clean shutdown, you will need to fsck
everything that was mounted at the time of the crash.  (Remember to
get the stuff that's noauto in fstab.)
 Run fsck on each partitions.  Repeat until it reports no
errors.  (Not MARKED CLEAN but not errors.


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


   
-
Ahhh...imagining that irresistible new car smell?
 Check outnew cars at Yahoo! Autos.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: setting ENV VARs in make.conf/ports.conf ?

2007-04-23 Thread youshi10

On Mon, 23 Apr 2007, snowcrash+freebsd wrote:


hi,

i've installed FreeBSD v6.2-RELEASE, plus 'portconf'  'ccache' from ports.

i've setup,


[..]


is there a _consistent_ way of turning off NOCCACHE via the ports.conf?

thanks!


I'd direct this question to the ports@ mailing list.
-Garrett

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


Re: setting ENV VARs in make.conf/ports.conf ?

2007-04-23 Thread snowcrash+freebsd

I'd direct this question to the ports@ mailing list.


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


Re: best programming language for console/sql application?

2007-04-23 Thread Zhang Weiwu
If this is a product you developed long time ago, and especially if it's
no longer used or the old company quit this business, it's probably
possible to ask them if they can opensource the old product, and someone
may come up and make it better?

P.S. I was thinking of an ncurse-style interface, so can shell script do
this? I thought shell tools like dialog wasn't powerful enough to
support an user interface required by a bug tracker.


On Mon, 2007-04-23 at 18:07 -0700, L Goodwin wrote:
 I co-developed a UNIX-based multi-product bug tracking system using an
 RDBMS (Informix, ISQL, Perform and ACE), bourne shell scripts, cron,
 and UNIX Mail.  This solution also worked on PC clients (we used
 Reflection-X, but I'd recommend XWin32). Our design was selected over
 a PC-only solution that another faction was pushing (we had more UNIX
 clients than PC's at that time).
 
 It had some pretty sophisticated features for the time (some carried
 over from a previous version), including: 
 
 Automated email notifications and summaries designed to support our
 software development methodology. 
 
 Retrieve and display SCCS deltas to display code changed for a bug
 fix.
 
 Ability to store bug regression tests (manual and automated) in
 several different languages, and automatically generate automated
 regression tests based on several different criteria, including
 Product, Platform, Version Range, and Programming Language. This one
 was my baby (brag).
 
 I've also rewritten HPUX makefiles in bsh to permit execution on
 multiple UNIX platforms (HPUX make has some unique features not found
 in make on other UNIX platforms).
 
 Based on the above experience, I'd recommend shell scripts, though
 this will likely generate some opposition. In any case, if your system
 only needs to run on one platform, I'd use built-in tools.
 
 Since then, I've played around with using perl for CGI scripting
 (hated it), then PHP, which I love for this purpose.
 
 Zhang Weiwu [EMAIL PROTECTED] wrote:
 Dear list
 
 This is OT. I am a 4 year php developer and is very familiar
 with 
 javascript and awk (familiar = knows and used all functions
 and features 
 of the language itself) and I am a 5 year FreeBSD user. Being
 frustrated 
 for the lack of a good console-based issue tracking tool (like
 mantis or 
 bugzilla), I think I should start to write my own. I'll either
 start 
 from scratch or (better) write a frontend for mantis which I
 used for years.
 
 1. If someone has already started, I should try join him/her
 rather
 than reinventing the wheel. So if someone knows any person who
 is
 starting to work on a slim console-based issue tracker, please
 let
 me know. I already did quit a few searches. I know someone is
 working on a console front-end of G-Forge, but a big software
 like
 G-Forge is not what I am thinking of.
 2. If I start my own, I think I'll be using a console widget
 library
 (ncurse? because it's famous), an SQL database (no problem)
 and a
 programming language. I never developed console application
 before, so here asking for suggestions on what programming
 language to choose. Non of my known language
 php/javascript/awk
 are suitable so I guess I have to learn a new language anyway.
 The
 language better be easy to learn and work with (C++ is out),
 not
 necessarily have complicated calculation feature (like the
 graphical report mantis makes), not necessarily OOP. I have
 perl
 and tcl in my head now, can you make some recommendations?
 
 Thanks!
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 
 
 
 __
 Ahhh...imagining that irresistible new car smell?
 Check out new cars at Yahoo! Autos.
-- 
Zhang Weiwu
Real Softservice
http://www.realss.com
+86 592 2091112

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


Re: PCIe NIC for FreeBSD 5.5

2007-04-23 Thread Olivier Nicole
Hi,

 any particular reason why youre note going with 6.2?  i have 6.2 running on 
 several DL G4's and G5's (couple ML's in there too), and they all have no 
 trouble with the broadcom nics.  also, both my laptop and desktop have the 
 broadcoms as well, and again, they work very nicely... in 6.2.

only reasons are:

- 5.5 is the declared legacy version of FreeBSD, for a remote server,
I tend to be conservative in my choices;

- I never used version 6 yet, I prefer using something I am familiar with :)

- when I was away trying to install the machine, downloading FreeBSD
  6.2 was not possible, while buying a card could have been possible
  (if any was available on the market there).

I'll look at version 6.2.

Thanks,

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


Re: Backup media choices for FreeBSD servers

2007-04-23 Thread Olivier Nicole
 I need to implement an automated backup facility on the FreeBSD file
 server I'm setting up for a client. It will have a software RAID 1
 Mirror/Duplex that is made available to Windows XP SP2 and Windows
 Vista Home Premium users as a Samba share.  I also plan to create
 system recovery disks (disk images) for the server and each Windows
 client.
 
 This leaves backing up user data on some schedule. I've read Backup
 Basics, but have some questions:
 
 Which is best backup media for a FreeBSD file server, based on known
 issues (or lack of) with each format? I need to decide between the
 following formats:

  a) CD-R (or CD-RW?)
  b) DVD-R (or CD-RW?)
  c) Streaming tape (which format/standard?)

For years I have been using Amanda (in the ports) to backup any
servers, including Samba server, as well as some disks from PC under
Windows, saving the data on a SLR 100 (Tandberg) tape.

Tape dirve is expensive (and maybe out of production), tapes are not
cheap, but they are reliable. Now days I would choose LTO technology I
beleive. At any cost I would avoid any kind of DAT format: it acheives
the capacity by high compression of the data on the tape and so the
reliability is really an issue, plus the rotating head wears the tape
much uch faster than any linear reccording technology.

 Which is the best method for backing up data files on a Samba sharer
 FreeBSD?  Handbook says dump is the only way to go.

I never looked at that part. I am using tar because it is a very
universal format: the next server could be a Linux box, the tapes
would still be readable, compared to dump that tend to be specific for
each operating system.

 Is it possible to have a Windows client perform the backup files on
 the Samba share to a local Re-Writable CD or DVD drive? If the
 answer is YES, what are the pros and cons of a UNIX-based (data-file
 only) backup vs. a Windows-based one?  Please add to my list of pros
 and cons:

Of course it is possible: any file that the Windows machine can access
through the network, it could back-it up.

 Windows Backup:
 PRO: Backup can be restored to a Windows drive while server is being fixed?
 CON: Users might forget to replace backup disk after using optical drive.
 
 FreeBSD Backup:
 PRO: Out of sight from users (server is in a storeroom).
 CON: Cannot restore backup to a Windows disk while server is being fixed?

Except if your tape drive is dead, fixing the server is really a
matter of a couple of hours: at least fixing the server enough so you
can restore something from a backup tape. I once was even able to
restore something from booting the server from the recovery boot...

I would consider it a highly bad luck that the server is dead and at
the very same time you need to do a restore.

 These are some of my other considerations:
  
  1) Cost is a primary concern. Budget does not allow for a
  1) multi-drive solution. Best if client does not handle backups
  1) (change discs/tapes), so a solution that permits storing several
  1) backups to same disc/tape preferred.

Tape is expensive. My future choice, when I have to replace the
existing backup server is virtual tapes on some big hard disk (500GB
SATA type of disk). Only thing to be found is the way to swap the hard
drives.

 2) I only want to back up user data (not the OS). Current user data
 2) occupies less than 1GB of drive space, and is expected to grow at
 2) a modest rate.

Then install one disk and use some kind of virtual tapes on it. But
that would not allow off site storage unless your disk can be moved.

According the size of the data, you may consider USB connection.

 3) I do NOT have a writable CD or DVD drive (but can buy one if not
 3) too spendy).
 
 4) I have an external SCSI connection, but very little shelf
 4) space.
 
 5) The server does not have room for another internal device (except
 5) if swapping out the existing ATAPI CD-ROM drive).
 
 6) I have an Ecrix Corporation Model VXI-1A SCSI internal tape drive
 6) that I assume is obsolete (comments appreciated). Anyway, I don't
 6) have room for it.
  
 7) Have not yet settled on a backup schedule. May be weekly or
 7) monthly or ad-hoc, but daily is probably out of the question. The
 7) RAID 1 array is expected to provide some degree of protection in
 7) leieu of daily backups. Plan to back up all documents each time,
 7) rather than implement a two-tiered backup process.

RAID 1 will not protect you against accidentally erasing a file. And
even though you informed your customer that the back-up is there just
in case of major system crash and does not cover the user mistakes,
they will come back to you asking to restore a file that they deleted
(Samba does not offer recycle-bin). So you can still think about daily
incremental back-up.

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


Backup media choices for FreeBSD servers

2007-04-23 Thread Robert Huff

L Goodwin writes:

  1) Cost is a primary concern. Budget does not allow for a
  multi-drive solution. Best if client does not handle backups
  (change discs/tapes), so a solution that permits storing several
  backups to same disc/tape preferred.
  
  2) I only want to back up user data (not the OS). Current user data
  occupies less than 1GB of drive space, and is expected to grow at a
  modest rate.

Weird as it sounds to be saying this ... 1 Gbyte is _nothing_.
Buy an external hard drive that connects via USB 2.0.  (100
Gbyte would last three months.)  Practical transfer speed of, say,
15 Mbytes/sec means a dump will take less than 15 minutes.
As for inter-OS software operability - no idea.


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


Re: Backup media choices for FreeBSD servers

2007-04-23 Thread Chris Kottaridis
My decade old Loader Express with ten 40 GB tapes finally died a couple
of months ago. So, I just switched over to a different style. I don't
know how applicable it is to your situation. I have used amanda for
years to manage tape drives. In the latest version they support backup
to hard disk. They have a disk-chg script that acts like it's changing
a tape in a tape changer when really it's just pointing at a different
directory on the disk. It ends up writing what otherwise would be on
a tape to a file in that directory. But, it looks like a tape to amanda.

Since tapes get expensive and disks are relatively cheap I went out and
bought a 300 GB USB disk drive for about $90.00. Right now I have amanda
configured to back things up onto 6 virtual tapes each of about 40GB,
which matches the tape capacities I was using. The virtual tapes exist
on the 300 MB USB disk drive. That all seems to be working. So, I am
backing up 5 days a week onto a backup cycle of 6 tapes. I could mount
and unmount the USB disk before and after the backups to make them a
little more inaccessible when not performing a backup, but at the
moment I don't.

I also have an unused 8 port Power control unit that can be controlled
by network or serial port. So, eventually I plan on connecting the USB
disk drive to this power control unit and then modifying the disk-chg
script to turn on the power to the USB disk and then mount it. Once the
backup is done I'll unmount the disk drive and turn the power to the USB
disk drive off via the APC control. So, my backup device will only be
on-line during the backup itself. I can grow this by adding more
external USB devices and modifying the disk-chg script to turn on the
correct USB drive and mount it so I can have up to 8 USB devices,
assuming I use a 4 port USB adaptor since the hardware only has 2 USB
ports. I can add disks depending on how far back I want to save data.
Each 300 GB should be able to handle a weeks worth of data at the
current capacities.

Anyway, to just get the 1 week depth was an ~$90.00 solution for me, the
best I could find for a refurbished tape drive for my old tape changer
was ~$600.00,  and I can store things in the way I have been used to for
that last decade, using amanda. Since I have a spare APC controller
around I can expand on this at ~ $90.00 per week of backup desired, once
I've provided a little software glue.

Just a thought.

Thanks
Chris Kottaridis([EMAIL PROTECTED])
===

On Mon, 2007-04-23 at 17:01 -0700, L Goodwin wrote:
 I need to implement an automated backup facility on the FreeBSD file server 
 I'm setting up for a client. It will have a software RAID 1 Mirror/Duplex 
 that is made available to Windows XP SP2 and Windows Vista Home Premium users 
 as a Samba share.  I also plan to create system recovery disks (disk images) 
 for the server and each Windows client. 
 
 This leaves backing up user data on some schedule. I've read Backup Basics, 
 but have some questions:
 
 Which is best backup media for a FreeBSD file server, based on known issues 
 (or lack of) with each format? I need to decide between the following formats:
  a) CD-R (or CD-RW?)
  b) DVD-R (or CD-RW?)
  c) Streaming tape (which format/standard?)
  
 Which is the best method for backing up data files on a Samba sharer FreeBSD?
 Handbook says dump is the only way to go.
 
 Is it possible to have a Windows client perform the backup files on the Samba 
 share to a local Re-Writable CD or DVD drive? If the answer is YES, what are 
 the pros and cons of a UNIX-based (data-file only) backup vs. a Windows-based 
 one?
 Please add to my list of pros and cons:
 
 Windows Backup:
 PRO: Backup can be restored to a Windows drive while server is being fixed?
 CON: Users might forget to replace backup disk after using optical drive.
 
 FreeBSD Backup:
 PRO: Out of sight from users (server is in a storeroom).
 CON: Cannot restore backup to a Windows disk while server is being fixed?
 
 These are some of my other considerations:
  
  1) Cost is a primary concern. Budget does not allow for a multi-drive 
 solution. Best if client does not handle backups (change discs/tapes), so a 
 solution that permits storing several backups to same disc/tape preferred.
 
 2) I only want to back up user data (not the OS). Current user data occupies 
 less than 1GB of drive space, and is expected to grow at a modest rate.
 
 3) I do NOT have a writable CD or DVD drive (but can buy one if not too 
 spendy).
 
 4) I have an external SCSI connection, but very little shelf space.
 
 5) The server does not have room for another internal device (except if 
 swapping out the existing ATAPI CD-ROM drive).
 
 6) I have an Ecrix Corporation Model VXI-1A SCSI internal tape drive that I 
 assume is obsolete (comments appreciated). Anyway, I don't have room for it.
  
 7) Have not yet settled on a backup schedule. May be weekly or monthly or 
 ad-hoc, but 

Re: Backup media choices for FreeBSD servers

2007-04-23 Thread Olivier Nicole
 Since tapes get expensive and disks are relatively cheap I went out and
 bought a 300 GB USB disk drive for about $90.00. Right now I have amanda
 configured to back things up onto 6 virtual tapes each of about 40GB,

USB is a nice and cheap solution, as long as you don't have too much
data to back-up every time.

If you have 40GB per day, that would take 10 hours... a bit too much
:)

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


Re: MS, Adobe competition heats up, Will Adobe wake and port Flash to BSD?

2007-04-23 Thread Abdullah Ibn Hamad Al-Marri

On 4/20/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

On 19/04/07, Beech Rintoul [EMAIL PROTECTED] wrote:
 On Wednesday 18 April 2007, Abdullah Ibn Hamad Al-Marri said:
  On 4/18/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
   On 17/04/07, Abdullah Ibn Hamad Al-Marri [EMAIL PROTECTED]
   wrote: . . .
  
Porting Flash to more OSes will sure will make adobe beats MS
when it comes to web media.
  
   I hope they kill each other and take the whole
   retch-media enhanced web experience with
   them flaming into the pit of hell from which
   they came.
  
   But that's just my opinion.
  
   References:
   http://www.thebestpageintheuniverse.net/c.cgi?u=boiling_blood
 
  I'm sorry but rich media is a fact in the web, and you can't ignore
  it.
 
  Flash is used with Yahoo! maps, and so with alot of useful apps
  like stocks prices ..etc.
 
  Instead of ignoring it, we should see it ported to FreeBSD.

 I agree. As much as I personally dislike flash, I have business
 clients who would be willing to switch from Micro$oft to FreeBSD. The
 main stumbling block is the lack of stable flash support.

 Where I have deployed test versions of FreeBSD with either OO or KDE
 with Firefox, they were generally happy except for flash. This is one
 of the things we need to overcome if we're ever going to be seriously
 considered as a desktop os. Most clients expect the browser to at
 least work as well as Micro$oft, however misguided that is.

Being taken seriously is over-rated.
Being taken seriously as a desktop OS would
be an excellent joke was the reality of it not so
horrifying.
Televisions are much better at providing the sort
of cacaphonic nonsense that flash users have
come to expect.
I am pleased clicking a link and coming across the
dreadful, Must have MorkothMedia Flush Player
45.6 or newer installed to use this site.  Honestly,
I was expecting something jumbly but likely full of
information.  The download plugin box tells me
that I have just saved the time of listening to some
irritating music while it dawns on me that I have hit
a dead end.
The primary use of flash, as I have seen it in such
places as you-tube and yahoo, is as a content slash
copyright management* frontend.  That they, the
shadowy and sinister They in this case being
that loveable and fuzzy company named after dried
mud, even tried porting flash to linux was probably
widely regarded as a mistake, at least internally.
Porting it to even smaller-market operating systems,
as far as the desktop is concerned, sounds like a
losing proposition to me.  Especially ones with users


Quote:
What should the BSDs do? As I've said several times in the last five
years, that depends on what the projects want. But if we want to be
seen as a viable alternative for use by non-developers, my big issue
is that we need to understand the end user perspective. We can't just
say of any feature If there's nobody there to support it, axe it. As
long as there are people who want that feature, we need to support it.
If we don't, BSD is gradually going to be usable only by software
developers.

Greg Lehey, 2004
http://ezine.daemonnews.org/200402/dadvocate.html


Quote:
FreeBSD developer Scott Long told ZDNet UK on Thursday that the
operating system, descended from the Unix derivative BSD, is quickly
approaching feature parity with Linux.

Lots of work is going on to make FreeBSD more friendly on the
desktop, Long said. Within the year, we expect to have, or be near,
parity with Linux.

--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]