Re: NTFS-3G mount during boot

2007-10-06 Thread Doug Barton

On Sun, 7 Oct 2007, Novembre wrote:


The first error above is because the fuse kernel module is not yet loaded.


Well isn't it sort of pointless to proceed until you get the kernel module 
loaded at boot time and then see what happens next?


--

This .signature sanitized for your protection

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


NTFS-3G mount during boot

2007-10-06 Thread Novembre
Hi,

The ongoing problem with mounting my NTFS partition at boot time still
remains. I have upgraded ntfs-3g to the latest version from ports:
--
[EMAIL PROTECTED] ~]$ pkg_info | grep fuse
fusefs-kmod-0.3.9.p1 Kernel module for fuse
fusefs-libs-2.7.0_1 FUSE allows filesystem implementation in userspace
fusefs-ntfs-1.913   Mount NTFS partitions (read/write) and disk images
[EMAIL PROTECTED] ~]$ pkg_info | grep libublio
libublio-20070103   User space caching library
--
According to the fusefs-ntfs Makefile revision 1.19 (the current one which I
have installed is revision 1.20), a symlink to /usr/local/bin/ntfs-3g is
placed in /usr/sbin/mount_ntfs-3g to allow using with 'mount -t ntfs-3g' and
in /etc/fstab, after mounting /usr. So my current /etc/fstab looks like the
following:
--
[EMAIL PROTECTED] ~]$ cat /etc/fstab
# DeviceMountpoint  FStype  Options Dump
Pass#
/dev/ad0s2b noneswapsw  0   0
/dev/ad0s2a /   ufs rw  1   1
/dev/ad0s2d /home   ufs rw  2   2
/dev/acd0   /cdrom  cd9660  ro,noauto   0   0
/dev/ad0s1  /mnt/windowsntfs-3g rw  0   0
--
However, when I boot the system, I get the following errors:
--
[EMAIL PROTECTED] ~]$ dmesg -a
...
swapon: adding /dev/ad0s2b as swap device
Starting file system checks:
/dev/ad0s2a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s2a: clean, 2720732 free (22356 frags, 337297 blocks, 0.6%fragmentation)
/dev/ad0s2d: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s2d: clean, 14076698 free (314 frags, 1759548 blocks, 0.0%fragmentation)
Mounting local file systems:
fuse: failed to open fuse device: No such file or directory
...
Starting fusefs.
fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
...
Mounting late file systems:
fuse: failed to exec mount program: No such file or directory
--
The first error above is because the fuse kernel module is not yet loaded.
However, I don't understand the second error from "Mounting late file
systems" though. Does it show that the symlink is not doing its job? This is
from /var/log/messages which shows that ntfs-3g has been run:
--
Oct  6 14:22:40 pasargadae kernel: Trying to mount root from ufs:/dev/ad0s2a
Oct  6 14:22:45 pasargadae kernel: fuse4bsd: version 0.3.9-pre1, FUSE ABI
7.8
Oct  6 14:22:45 pasargadae ntfs-3g[811]: Version 1.913
Oct  6 14:22:45 pasargadae ntfs-3g[811]: Mounted /dev/ad0s1 (Read-Write,
label "", NTFS 3.0)
Oct  6 14:22:45 pasargadae ntfs-3g[811]: Cmdline options: (null)
Oct  6 14:22:45 pasargadae ntfs-3g[811]: Mount options:
noatime,silent,allow_other,fsname=/dev/ad0s1
--
which can be confirmed by noting that /dev/fuse0 has been created in /dev/
and that 'ps -ax' shows
--
811  ??  Is 0:00.00 mount_ntfs-3g /dev/ad0s1 /mnt/windows (ntfs-3g)
--
Despite all this, my NTFS partition is not mounted. Does anybody know of a
solution for this?

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


The FreeBSD Diary: 2007-09-16 - 2007-10-06

2007-10-06 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives  
and/or The FreeBSD Diary . 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


RE: HP Server compatability

2007-10-06 Thread Ted Mittelstaedt

freebsd amd64 runs fine on this

Ted

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Tim Kellers
> Sent: Saturday, September 29, 2007 1:21 PM
> To: [EMAIL PROTECTED]
> Cc: Tim Kellers
> Subject: HP Server compatability
> 
> 
> I thought e would be purchasing a Dell 2950 to use as part of our 
> FreeBSD 6.2 server farm, (and thanks to everyone for their informed 
> replies), but due to other circumstances, our client wants to purchase a 
> HP ProLiant ML350 G5 SAS LFF - Rack Server.
> 
> The only experience I have with HP is their printers and I know nothing 
> about their server compatability with FreeBSD.  Does anyone know if this 
> unit is compatible with FreeBSD 6.2 or has anyone actually installed it 
> on one?  Any pointer to pitfalls and/or workarounds would be greatly 
> appreciated.
> 
> Thanks
> 
> Tim
> ___
> 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: what kind of UPS will work best?

2007-10-06 Thread Erich Dollansky

Hi,

there are basically two types of UPS' around: online and stand-by or fly-by.

The online version is much more expensive but also much better in 
critical conditions.


Gary Kline wrote:

Hi Folks,

	Recently, a storm happened and the power surge blew me 
	off-line.  Time to get serious about buying a UPS that will

handle my four main servers for at-most, a 10-second power


You have the choice between four individual boxes or one big box.

Cases like this let the online version shine. Stand-by versions fail 
pretty often especially if you have a neighbour around running big 
engines powered directly from the power lines.


Even big air-cons can cause the problems.

	Linux} computer?  Is there a UPS that is designed for heavy use 
	and a very short (5- to 10-second) uptime?  I'll need one that can


I do not think that it is a good advice to go for 10 second uptime. Take 
a rating fitting your machines (400W power rating for the machine, 600VA 
for the UPS) with at least 10 minutes uptime.


APC supplies you with both types of UPS.

All APC I have seen failing were of the fly-by type, all other were the 
online version. I think, it will be the same for any other brand.


But do not drop dead when you see the price difference. This will be 
money well spend.


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


Re: Server Reboot

2007-10-06 Thread Gary Kline
On Sat, Oct 06, 2007 at 08:19:12AM -0700, Garrett Cooper wrote:
> Grant Peel wrote:
> >Hi all,
> >
> >This is the first time in 10 years I have seen this.
> >
> >I have a Dell PE750 (vintage 2004), running FreeBSD 6.2 that had been 
> >up and running for about 30 days without any issues.
> >
> >The server somehow rebooted last night, apparently,  all by itself.
> >
> >The last log file line I can find waqs about 12:30 AM. The dmesg shows 
> >it restarted about 1:12 AM. dmesg shows some file errors that were 
> >fixed upon reboot, other that that, everything is back up and running 
> >normally.
> >
> >I was wondering if anyone has seen anything similar and if a cause was 
> >found.
> >
> >Here is what I know:
> >
> >-all servers (there are 5 more) are plugged into the same power bar 
> >and none of the others were affected
> >-none of the standard logs show any intrusion or root log in attempt,
> >-dmesg and console log show nothing of note,
> >-the DRAC logs and ESM logs show nothing,
> >-the sensors (temp,voltage,etc) logs currently show no issues, all 
> >well withing normal parms.
> >-my MRTG logs show no abnormal CPU usage or network activity.
> >
> >
> >Any help would be appreciated,
> >
> >-Grant
> 
>Check the capacitors on the motherboard (in particular near the 
> memory and processor); they may be going bad (esp with that vintage. 
> 2004 Dell was a bad year =P..).
>You'll be looking for swelled capacitors and possibly some orange 
> dialectric being emitted.
> -Garrett

Strange.   In just the past few, 2 or 3 or even 4 weeks my 
Dell-8200 has  spontaneouslyrebooted too.  I do have a number of
things in /var/log/messages, but nothing that I can seee that
would cause this problem.  Before the video-card started flaking
out, this puppy ran for weeks/months happily.  AFAIW, X (or a
heavily-loaded system) shouldn't have aynything to do with this 
problem, [yes/no??].   Any clues, Garrett?  

Ah, wait: dmesg.yesterday says 



rl0: link state changed to UP
pid 729 (Xorg), uid 0: exited on signal 6 (core dumped)
pid 4475 (Xorg), uid 0: exited on signal 6 (core dumped)
pid 60174 (firefox-bin), uid 1000: exited on signal 11 (core dumped)
pid 47564 (as), uid 0: exited on signal 11 (core dumped)
pid 47570 (as), uid 0: exited on signal 11 (core dumped)
pid 79051 (as), uid 0: exited on signal 11 (core dumped)
pid 79057 (as), uid 0: exited on signal 11 (core dumped)
pid 3625 (as), uid 0: exited on signal 11 (core dumped)
pid 3631 (as), uid 0: exited on signal 11 (core dumped)
pid 74013 (conftest), uid 0: exited on signal 12 (core dumped)
  

This file is timestamped 03 Oct 07 at 03:17

Anybody know why firefox would core dump?  I have no clue waht
"conftest" is... .

Grant, how oten has your system failed?


gary






-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


Re: good replacement for open office

2007-10-06 Thread Jerry McAllister
On Sat, Oct 06, 2007 at 09:34:41AM -0500, icantthinkofone wrote:

> Erich Dollansky wrote:
> >Hi,
> >
> >do you really want the world to know what you are writing?
> >
> >icantthinkofone wrote:
> >>Frank Jahnke wrote:
> >>>
> >>>  
> >>Why not use Google Docs?
> >
> >And ask NSA in case you need a backup?
> >
> >Erich
> >___
> >freebsd-questions@freebsd.org mailing list
> >http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >To unsubscribe, send any mail to 
> >"[EMAIL PROTECTED]"
> >
> Some guy from ComputerWorld was on NPR (National Public Radio) yesterday 
> and claimed security is fine on all online services like this.  
> Mentioned Google specifically.


Depends on what you mean by security.
They are reasonably OK if you mean sending in your payment
for something, though not unbreakable.
But, for documents that live there for a while, not only are they
all very penetrable, but susceptable to being coerced by governments
to reveal what we would normally think would be secret and private.
Google has also provided information to the Chinese government about
users and so have several other companies.

jerry


> ___
> 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: BASH as root shell (static linking)

2007-10-06 Thread Jerry McAllister
On Sat, Oct 06, 2007 at 01:55:28AM +0100, RW wrote:

> On Fri, 5 Oct 2007 20:09:46 -0400
> Jerry McAllister <[EMAIL PROTECTED]> wrote:
> 
> > On Sat, Oct 06, 2007 at 12:32:22AM +0100, RW wrote:
> > 
> > > On Fri, 5 Oct 2007 16:29:36 -0700 (PDT)
> > > Philip Hallstrom <[EMAIL PROTECTED]> wrote:
> > > 
> > > > > On 06/10/2007, at 5:45 AM, RW wrote:
> > > > >
> > > > >> On Sat, 6 Oct 2007 04:54:26 +1000
> > > > >> Jerahmy Pocott <[EMAIL PROTECTED]> wrote:
> > > > >> 
> > > > >>> Hello,
> > > > >>> 
> > > > >>> I'm wanting to use BASH as my root shell, so I compiled a
> > > > >>> statically linked
> > > > >> 
> > > > >> I would suggest using bash as your toor shell instead. toor
> > > > >> exist precisely for this purpose.
> > > > >
> > > > > Yeah, I'v done that in the past, but I really dislike csh, I
> > > > > don't want to use
> > > > > it EVER =p
> > > 
> > > I don't understand, why would you see csh if you login as toor
> > 
> > It has no shell in the /etc/passwd entry by default.
> > Maybe it then defaults to csh (which is really tcsh) if nothing
> > else is given.   
> 
> It defaults to sh
> 
> > Anyway, I prefer tcsh, but if the OP just has to have it bash,
> > it is easy to do.
> 
> I actually value my ignorance of tcsh, it prevents me doing anything
> ambitious if I forget where I am. Explicitly selecting another shell is
> like a safety-catch. And tsch is fairly friendly without knowing much
> about it.
> 
> > All the OP has to do is install bash from /usr/ports/shells/bash and 
> > then edit /etc/passwd to change the last field for toor - after the
> > last colon - to point to where it installs bash (/usr/local/bin/bash
> > maybe) and then it should all be fine.

Actually, I forgot to mention that you also have to then put bash
in /etc/shells.

jerry

> 
> Yes , that's what it's for.
> ___
> 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: what kind of UPS will work best?

2007-10-06 Thread Bart Silverstrim



Gary Kline wrote:

Hi Folks,

	Recently, a storm happened and the power surge blew me 
	off-line.  Time to get serious about buying a UPS that will

handle my four main servers for at-most, a 10-second power
	outage.  After that, shut down my computers.  It took me 90 
	minutes of up and down and crawling around last time.  That's
	the *why*.  Is there a best type to save me from this? 


APC makes GREAT UPS's and have good support.  I once blew out an APC by 
miswiring a switch on a computer (don't ask).  I called tech support, 
they agreed that what I told them had happened shouldn't have happened, 
and shipped me a new UPS for free, without any hassle.  From that point 
on, I swore I'd go APC first.



Do any of
these power supplies come with scripts to shutdown a Unix {or
	Linux} computer?  


Not that I know of...there's daemons you can install for that purpose, 
though.


Is there a UPS that is designed for heavy use 
	and a very short (5- to 10-second) uptime?  


Generally you need to add up your power requirements and match the load 
to the UPS's power rating.



I'll need one that can
interface thru the COM ports or the UBS port, if that is how
	these devices work. 


Today it's common to have a USB interface.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Building a SAN using FreeBSD

2007-10-06 Thread Speedtoys
Its not the array that costs a lot, its the  hard part that does.  Not  
many reliable free SAN (block) solutions put there.  NAS (file) based  
sharing if very free and very reliable.


Got brakes?
==
25hrs or one season with one pad set is possible.  Save money and pit  
time, compromise nothing.  Ask how.

TXT or Tone: [EMAIL PROTECTED]
http://www.speedtoys.com


On Oct 6, 2007, at 2:00 PM, "Don O'Neil" <[EMAIL PROTECTED]> wrote:

Anyone have any resources for building a FreeBSD based SAN device?  
IE, how
can I create an extendable file system using networked drives in  
muliple
boxes without paying a billion dollars for someones expensive drive  
arrays.


TIA!

___
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: C++ Compiler On FreeBSD

2007-10-06 Thread Aryeh Friedman
> PHP isn't really a programming language. It's more a fancy templating
> system that happens to be able to use extensions that can provide C
> style linkage. That said, I laude you for your desire to learn a real
> programming language, and agree with the recommendation that you start
> with something a bit higher level. Perl, for example, ships with
> absolutely top-notch documentation, and generally speaking, its
> third-party extensions have similar documentation quality.

Ruby is *VERY* easy to learn and there are many online and offline
books for teaching it (or depending on your personal ideals on
bittorrent)... it has one advantage over perl it much less
syntactically ugly
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: C++ Compiler On FreeBSD

2007-10-06 Thread Christopher Nehren
On 2007-10-06, James Jeffery top-posted.
[ please don't do that, it makes it very difficult to format responses
correctly and makes it just about as hard to read and understand them ]
> Hi all, thanks for the fast replys, much appreciated.
>
> Manolis: Yep, its the book by Jesse, i never believe them when they say
> "in 24 hours", its a snag for them to sell the book, they just split it up
> into 24 sections to make it look like its possible.

I'd personally consider getting a better book. Generally, as has been
said, the "learn X in Y units_of_time" books are titled that way for
marketability. You can't *possibly* learn C++ in 10 minutes, 24 hours,
21 days, or even a year. See also http://norvig.com/21-days.html and
http://accu.org/index.php/book_reviews for book reviews.

> Roland: Ive been working with PHP over the past 2 years, i understand
> the basics such as data types, functions, arrays, variables, objects ect,
> but i want to challenge myself and learn something that will benifit me
> when looking for work after uni, i've got another 4 years of learning before
> i complete my software engineering degree.

PHP isn't really a programming language. It's more a fancy templating
system that happens to be able to use extensions that can provide C
style linkage. That said, I laude you for your desire to learn a real
programming language, and agree with the recommendation that you start
with something a bit higher level. Perl, for example, ships with
absolutely top-notch documentation, and generally speaking, its
third-party extensions have similar documentation quality.

Best Regards,
Christopher Nehren
-- 
 Yaakov, And it seems to me that the only people going on about
"freedom" these days are RMS and Bush.

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


Re: C++ Compiler On FreeBSD

2007-10-06 Thread Giorgos Keramidas
On 2007-10-06 20:53, James Jeffery <[EMAIL PROTECTED]> wrote:
> Evening to you all (or morning in some parts of the world).
> 
> Im learning C++ from Sams Teach Yourself C++, now many will call this
> a dumb method, and the books pointless and stupid, but i have no
> knowledge of any lower level languages, so i do need to be spoon fed
> the basics.
> 
> Im using Borland C++ compiler on XP and was wondering what compilers
> there are for FreeBSD that would allow me to compile and execute some
> of the examples i will practise from the book.

The base system of FreeBSD includes g++ (the GNU C++ Compiler), and
there are several versions of the GNU C++ compiler in the ports too:

$ pwd
/usr/ports/lang
$ ls -ld gcc[0-9]*
drwxr-xr-x  3 root  wheel  - 512 Sep 21 19:51 gcc28
drwxr-xr-x  3 root  wheel  - 512 Sep 21 19:51 gcc295
drwxr-xr-x  3 root  wheel  - 512 Sep 21 19:51 gcc32
drwxr-xr-x  3 root  wheel  - 512 Sep 21 19:51 gcc33
drwxr-xr-x  3 root  wheel  - 512 Oct  4 18:43 gcc34
drwxr-xr-x  3 root  wheel  - 512 Sep 21 19:51 gcc40
drwxr-xr-x  3 root  wheel  - 512 Oct  2 16:32 gcc41
drwxr-xr-x  3 root  wheel  - 512 Sep 21 19:51 gcc41-withgcjawt
drwxr-xr-x  3 root  wheel  - 512 Oct  2 16:32 gcc42
drwxr-xr-x  3 root  wheel  - 512 Sep 21 19:51 gcc42-withgcjawt
drwxr-xr-x  3 root  wheel  - 512 Oct  2 16:32 gcc43
$


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


ati fglrx-driver

2007-10-06 Thread mr. phreak

Hi!

I'm trying to make the ati-fglrx driver work under freebsd-6.2 - 
RELEASE. I've had no success. After installing from ports I simply get 
'can't find "fglrx" ' from Xorg.0.log.


Is there anyone out there with a successful install of this driver?  Or 
perhaps another sollution for making tv-out work for the radeon 9200-cards?



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


what kind of UPS will work best?

2007-10-06 Thread Gary Kline

Hi Folks,

Recently, a storm happened and the power surge blew me 
off-line.  Time to get serious about buying a UPS that will
handle my four main servers for at-most, a 10-second power
outage.  After that, shut down my computers.  It took me 90 
minutes of up and down and crawling around last time.  That's
the *why*.  Is there a best type to save me from this?  Do any of
these power supplies come with scripts to shutdown a Unix {or
Linux} computer?  Is there a UPS that is designed for heavy use 
and a very short (5- to 10-second) uptime?  I'll need one that can
interface thru the COM ports or the UBS port, if that is how
these devices work. 

tia, 

gary


-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix
  http://jottings.thought.org   http://transfinite.thought.org

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


Re: C++ Compiler On FreeBSD

2007-10-06 Thread Wojciech Puchar

Im learning C++ from Sams Teach Yourself C++, now many will call this
a dumb method, and the books pointless and stupid, but i have no knowledge
of any lower level languages, so i do need to be spoon fed the basics.


so you should start from lower level first - learn C first :)

C is easy. it's actually very easy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Building a SAN using FreeBSD

2007-10-06 Thread Wojciech Puchar

different file systems, etc...


I think you want to look into ZFS then, available on current.


ZFS is not a distributed filesystem AFAIK
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Building a SAN using FreeBSD

2007-10-06 Thread Wojciech Puchar

Multiple disks basically added together like RAID, but in a
software/hardware setup to create one large volume (and single file system).


man gconcat
man ggated
man ggatec
man gmirror (could be useful)
man  growfs





The use would be for web services... so when a particular volume fills up I
can extend it by adding disks and not have to move home directories to
different file systems, etc...

 _

From: Derek Ragona [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 06, 2007 2:14 PM
To: Don O'Neil; freebsd-questions@freebsd.org
Subject: Re: Building a SAN using FreeBSD


At 04:00 PM 10/6/2007, Don O'Neil wrote:


Anyone have any resources for building a FreeBSD based SAN device? IE, how
can I create an extendable file system using networked drives in muliple
boxes without paying a billion dollars for someones expensive drive arrays.

TIA!



Well you can load FreeBSD on multiple boxes, I assume using cheap disks,
then run samba on each to share some of the drives.

   -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]"



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


Re: Building a SAN using FreeBSD

2007-10-06 Thread Wojciech Puchar

Anyone have any resources for building a FreeBSD based SAN device? IE, how
can I create an extendable file system using networked drives in muliple
boxes without paying a billion dollars for someones expensive drive arrays.


it depends what you mean SAN.

if you define it buy usability, then simply use IP with gigabit ethernet 
and commonly available switches, and use nfs and ggate to share files or 
volumes.


or define it as something like fibre-channel or iSCSI, spend huge amount 
of money and get (almost) the same :)

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


RE: Building a SAN using FreeBSD

2007-10-06 Thread Derek Ragona

At 04:48 PM 10/6/2007, Don O'Neil wrote:
Well, that's is a possibility, but seems a bit of a hack to me... The SAN 
device would be interfaces to another FreeBSD box so there's no need for 
Samba... what I'm looking for is a way to extend 1 file system to an 
infinite size by adding additional devices/network boxes, like what is 
available from HP and the bigger players, based on a journaled file 
system. Multiple disks basically added together like RAID, but in a 
software/hardware setup to create one large volume (and single file system).


The use would be for web services... so when a particular volume fills up 
I can extend it by adding disks and not have to move home directories to 
different file systems, etc...


I think you want to look into ZFS then, available on current.

-Derek





--
From: Derek Ragona [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 06, 2007 2:14 PM
To: Don O'Neil; freebsd-questions@freebsd.org
Subject: Re: Building a SAN using FreeBSD

At 04:00 PM 10/6/2007, Don O'Neil wrote:

Anyone have any resources for building a FreeBSD based SAN device? IE, how
can I create an extendable file system using networked drives in muliple
boxes without paying a billion dollars for someones expensive drive arrays.

TIA!


Well you can load FreeBSD on multiple boxes, I assume using cheap disks, 
then run samba on each to share some of the drives.


-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.

--
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.


--
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: Building a SAN using FreeBSD

2007-10-06 Thread Don O'Neil
Well, that's is a possibility, but seems a bit of a hack to me... The SAN
device would be interfaces to another FreeBSD box so there's no need for
Samba... what I'm looking for is a way to extend 1 file system to an
infinite size by adding additional devices/network boxes, like what is
available from HP and the bigger players, based on a journaled file system.
Multiple disks basically added together like RAID, but in a
software/hardware setup to create one large volume (and single file system).
 
The use would be for web services... so when a particular volume fills up I
can extend it by adding disks and not have to move home directories to
different file systems, etc...

  _  

From: Derek Ragona [mailto:[EMAIL PROTECTED] 
Sent: Saturday, October 06, 2007 2:14 PM
To: Don O'Neil; freebsd-questions@freebsd.org
Subject: Re: Building a SAN using FreeBSD


At 04:00 PM 10/6/2007, Don O'Neil wrote:


Anyone have any resources for building a FreeBSD based SAN device? IE, how
can I create an extendable file system using networked drives in muliple
boxes without paying a billion dollars for someones expensive drive arrays.

TIA!



Well you can load FreeBSD on multiple boxes, I assume using cheap disks,
then run samba on each to share some of the drives.

-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: Equations

2007-10-06 Thread Michel Talon
Eduardo Morras said:

> Excuse me for the intromision, but i'm reading this thread, waiting 
> for a tiny and easy app (no tex,troff,...) that can do equations as 
> the first message said. Can i think that there is no such app?

There may be some under Windows, but i don't know. Under Unix machines i
don't know anything easier (*) than TeX. For an introduction to students i
have tried the OpenOffice equation editor, it is quite similar (hence
as easy or difficult) to the things you type in TeX, except it has far
less possibilities and does a poor job of formatting. People say me that
the Word equation editor is even worse. By the way, there is a Java
program which transforms OpenOffice equations (and text) into TeX source
(writer2latex), but unfortunately i don't see anything of reasonable
quality to do the converse.

(*) There is a GUI tool which is supposed to ease typing TeX formulas,
because you see them a you type, it is LyX. I have never found it very
intuitive. There is also a mode for emacs which has partly such
functionality. And finally there is more radical departure from Latex
than LyX which is Texmacs (beware, it needs a powerful machine).
Maybe some day it will evolve into an easy to use scientific editor.
At the moment, i have found that using an helping tool like kile
or texmaker (this one exists for Windows) allows students who have never
seen TeX previously to type scientific texts with equations in less
than a day in plain Latex. With troff i have zero experience.

-- 

Michel TALON

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


OpenSSL/PHP/Apache problem

2007-10-06 Thread Don O'Neil

Any time I compile PHP 4.4.7 with --with-ssl my apache 1.3.39 server core
dumps on start up on my FreeBSD 6.1 dual core AMD X2 box (in 32 bit mode).
Anyone have a work around for this or suggestions where to look/try? I was
having a similar problem with Curl, but once I told curl where the OpenSSL
home dir was and re-built it that solved that problem. The location of my
openSSL is /usr/local, so it's in the 'default' location. I ran the core
through gdb, and that is what prompted me to isolate the problem to
--with-ssl.

Here's my build options/script for php:

./configure \
--with-apxs \
--with-gd \
--with-gd-dir=/usr/local \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr/local/mysql \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-xml \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--with-zip \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-track-vars \
--enable-mbstring \
--with-curl \
--with-curl-dir=/usr/local/lib \
--with-imap=/usr/local/imap-2000e \
--with-imap-ssl \
  --with-openssl \
  --enable-memory-limit

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


Re: good replacement for open office

2007-10-06 Thread Chad Perrin
On Sat, Oct 06, 2007 at 03:51:49PM -0500, icantthinkofone wrote:

   
> Chad Perrin wrote:
>   
>  
> >On Sat, Oct 06, 2007 at 05:07:45PM +0200, Wojciech Puchar wrote: 
> > 
> >  
> > 
> > 
> >
> >>nobody intelligent (or completely not caring about it) use any of big   
> >>
> >>   
> >>public mail/news/etc services.  
> >>
> >>   
> >>
> >>
> >> 
> > 
> > 
> >
> >There are two separate concerns here.
> > 
> >  
> > 
> > 
> >
> >  1. General Privacy: If you're concerned with your documents and
> > 
> >
> >  communications being collected, indexed, and scanned for patterns
> >  and
> >  
> >  flagged terms along with billions of other documents and   
> > 
> >
> >  communications, without any specific attention to yours in
> >  particular,
> > 
> >  you're right -- don't use "public", web-based services.
> > 
> >
> > 
> > 
> >
> >  2. Specific Privacy: If you're concerned with someone cracking
> >  security   
> > 
> >  on your account, targeting your communications for electronic  
> > 
> >
> >  eavesdropping, and similarly making use of the "public" nature of a
> > 
> >
> >  service like that for nefarious intent, you're probably among the  
> > 
> >
> >  millions of computer users who are carefully locking the front door
> > 
> >
> >  while leaving the bay windows and garage door wide open.  Are you
> >  using  
> >  
> >  public key encryption systems like OpenPGP to secure your email?
> >  Are
> >  
> >  you encrypting word processor documents when you send email?  Are
> >  you
> >  
> >  using a text-based mail user agent instead of reading XHTML "rich" 
> > 
> >
> >  emails in a GUI mail client?  Are you anonymizing communications via   
> > 
> >
> >  the Tor network?  What exactly are you doing to avoid leaving
> >  yourself   
> >  
> >  at least as wide open with plain text transmission of data as you
> >  would  
> >  
> >  be with a web-based, SSL-

Re: Building a SAN using FreeBSD

2007-10-06 Thread Derek Ragona

At 04:00 PM 10/6/2007, Don O'Neil wrote:

Anyone have any resources for building a FreeBSD based SAN device? IE, how
can I create an extendable file system using networked drives in muliple
boxes without paying a billion dollars for someones expensive drive arrays.

TIA!


Well you can load FreeBSD on multiple boxes, I assume using cheap disks, 
then run samba on each to share some of the drives.


-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: BASH as root shell (static linking)

2007-10-06 Thread Aline de Freitas
On Saturday 06 October 2007 11:56:03 andrew clarke wrote:
> On Sat, Oct 06, 2007 at 04:54:26AM +1000, Jerahmy Pocott wrote:
> > I'm wanting to use BASH as my root shell, so I compiled a statically
> > linked version then tried to log in with only / mounted. But I was locked
> > out because elf.ld.so could not be found..
> >
> > I though elf was the native binary format these days? But it needs a
> > library to run them? Is it possible to statically link against elf? Or do
> > standalone binary have to be in aout format? I'm a bit confused as to why
> > it requires this dynamic library..
>
> I'm not sure if this helps at all, but you can build a static version of
> bash from the Ports tree:
>
> cd /usr/ports/shells/bash
> make WITH_STATIC_BASH=1
>
> You'll need to cp bash to /bin.
>
> Regards
> Andrew

Exactly. As a portupgrade user i've done in my pkgtools.conf:
MAKE_ARGS = {
'shells/bash' => [
'WITH_STATIC_BASH=yes',
],
}

AFTERINSTALL = {
'shells/bash' => 'cp /usr/local/bin/bash /bin'
}

And no more troubles even after portupgrade shells/bash :))

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


Building a SAN using FreeBSD

2007-10-06 Thread Don O'Neil
Anyone have any resources for building a FreeBSD based SAN device? IE, how
can I create an extendable file system using networked drives in muliple
boxes without paying a billion dollars for someones expensive drive arrays.

TIA!

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


Re: good replacement for open office

2007-10-06 Thread icantthinkofone

Chad Perrin wrote:

On Sat, Oct 06, 2007 at 05:07:45PM +0200, Wojciech Puchar wrote:
  
nobody intelligent (or completely not caring about it) use any of big 
public mail/news/etc services.



There are two separate concerns here.

  1. General Privacy: If you're concerned with your documents and
  communications being collected, indexed, and scanned for patterns and
  flagged terms along with billions of other documents and
  communications, without any specific attention to yours in particular,
  you're right -- don't use "public", web-based services.

  2. Specific Privacy: If you're concerned with someone cracking security
  on your account, targeting your communications for electronic
  eavesdropping, and similarly making use of the "public" nature of a
  service like that for nefarious intent, you're probably among the
  millions of computer users who are carefully locking the front door
  while leaving the bay windows and garage door wide open.  Are you using
  public key encryption systems like OpenPGP to secure your email?  Are
  you encrypting word processor documents when you send email?  Are you
  using a text-based mail user agent instead of reading XHTML "rich"
  emails in a GUI mail client?  Are you anonymizing communications via
  the Tor network?  What exactly are you doing to avoid leaving yourself
  at least as wide open with plain text transmission of data as you would
  be with a web-based, SSL-encrypted mail service?  You're probably even
  transmitting login data to a web server in clear text.

Now . . . I know this is the freebsd-questions mailing list, and many of
you are running mail servers locally, and otherwise mitigating these
risks.  On the other hand, simply telling people that they'll be safer
avoiding web-based services without explaining that this is only true if
they also pay significant attention to securing their other communication
and collaboration tools might be considered dishonest, or at least
irresponsible.

  
But then you are assuming Google, as well as the others, are willing to 
lose public trust by allowing those things to happen and running an 
insecure system.  It would also be assuming an in-house group could 
provide better security than Google and the others.

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


NTFS-3G mount at during boot

2007-10-06 Thread Novembre
Hi,

The ongoing problem with mounting my NTFS partition at boot time still
remains. I have upgraded ntfs-3g to the latest version from ports:
--
[EMAIL PROTECTED] ~]$ pkg_info | grep fuse
fusefs-kmod-0.3.9.p1 Kernel module for fuse
fusefs-libs-2.7.0_1 FUSE allows filesystem implementation in userspace
fusefs-ntfs-1.913   Mount NTFS partitions (read/write) and disk images
[EMAIL PROTECTED] ~]$ pkg_info | grep libublio
libublio-20070103   User space caching library
--
According to the fusefs-ntfs Makefile revision 1.19 (the current one which I
have installed is revision 1.20), a symlink to /usr/local/bin/ntfs-3g is
placed in /usr/sbin/mount_ntfs-3g to allow using with 'mount -t ntfs-3g' and
in /etc/fstab, after mounting /usr. So my current /etc/fstab looks like the
following:
--
[EMAIL PROTECTED] ~]$ cat /etc/fstab
# DeviceMountpoint  FStype  Options Dump
Pass#
/dev/ad0s2b noneswapsw  0   0
/dev/ad0s2a /   ufs rw  1   1
/dev/ad0s2d /home   ufs rw  2   2
/dev/acd0   /cdrom  cd9660  ro,noauto   0   0
/dev/ad0s1  /mnt/windowsntfs-3g rw  0   0
--
However, when I boot the system, I get the following errors:
--
[EMAIL PROTECTED] ~]$ dmesg -a
...
swapon: adding /dev/ad0s2b as swap device
Starting file system checks:
/dev/ad0s2a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s2a: clean, 2720732 free (22356 frags, 337297 blocks, 0.6%fragmentation)
/dev/ad0s2d: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s2d: clean, 14076698 free (314 frags, 1759548 blocks, 0.0%fragmentation)
Mounting local file systems:
fuse: failed to open fuse device: No such file or directory
...
Starting fusefs.
fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8
...
Mounting late file systems:
fuse: failed to exec mount program: No such file or directory
--
The first error above is because the fuse kernel module is not yet loaded.
However, I don't understand the second error from "Mounting late file
systems" though. Does it show that the symlink is not doing its job? This is
from /var/log/messages which shows that ntfs-3g has been run:
--
Oct  6 14:22:40 pasargadae kernel: Trying to mount root from ufs:/dev/ad0s2a
Oct  6 14:22:45 pasargadae kernel: fuse4bsd: version 0.3.9-pre1, FUSE ABI
7.8
Oct  6 14:22:45 pasargadae ntfs-3g[811]: Version 1.913
Oct  6 14:22:45 pasargadae ntfs-3g[811]: Mounted /dev/ad0s1 (Read-Write,
label "", NTFS 3.0)
Oct  6 14:22:45 pasargadae ntfs-3g[811]: Cmdline options: (null)
Oct  6 14:22:45 pasargadae ntfs-3g[811]: Mount options:
noatime,silent,allow_other,fsname=/dev/ad0s1
--
which can be confirmed by noting that /dev/fuse0 has been created in /dev/
and that 'ps -ax' shows
--
811  ??  Is 0:00.00 mount_ntfs-3g /dev/ad0s1 /mnt/windows (ntfs-3g)
--
Despite all this, my NTFS partition is not mounted. Does anybody know of a
solution for this?

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


Re: C++ Compiler On FreeBSD

2007-10-06 Thread James Jeffery
Hi all, thanks for the fast replys, much appreciated.

Manolis: Yep, its the book by Jesse, i never believe them when they say
"in 24 hours", its a snag for them to sell the book, they just split it up
into 24 sections to make it look like its possible.

Roland: Ive been working with PHP over the past 2 years, i understand
the basics such as data types, functions, arrays, variables, objects ect,
but i want to challenge myself and learn something that will benifit me
when looking for work after uni, i've got another 4 years of learning before
i complete my software engineering degree.

Be cool to create stuff that i can use in FreeBSD, i know i have years
of learning to do but im up for it.

On 10/6/07, Roland Smith <[EMAIL PROTECTED]> wrote:
>
> On Sat, Oct 06, 2007 at 08:53:00PM +0100, James Jeffery wrote:
> > Evening to you all (or morning in some parts of the world).
> >
> > Im learning C++ from Sams Teach Yourself C++, now many will call this
> > a dumb method, and the books pointless and stupid, but i have no
> knowledge
> > of any lower level languages, so i do need to be spoon fed the basics.
>
> I'd say that C++ isn't the easiest way to learn programming. I'd suggest
> starting with Perl, Ruby or Python.
>
> > Im using Borland C++ compiler on XP and was wondering what compilers
> > there are for FreeBSD that would allow me to compile and execute some
> > of the examples i will practise from the book.
>
> FreeBSD comes with the GNU C++ and C compilers installed. There are
> others available (Intel) or in progress (OpenWatcom).
>
> Roland
> --
> R.F.Smith   http://www.xs4all.nl/~rsmith/
> [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
> pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
>
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Equations

2007-10-06 Thread Eduardo Morras

At 22:17 06/10/2007, Michel Talon wrote:

Frank Jahnke wrote:
> I figured this was the case, and it makes a difference.  This is OT, but
..
accept submissions in TeX since they have minor editorial work to do
--


Excuse me for the intromision, but i'm reading this thread, waiting 
for a tiny and easy app (no tex,troff,...) that can do equations as 
the first message said. Can i think that there is no such app?


Thanks.

--
This document represent my ideas. They are mine, so, if you agree me, PAY ME.

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


Re: Equations

2007-10-06 Thread Michel Talon
Frank Jahnke wrote:
> I figured this was the case, and it makes a difference.  This is OT, but
> do you have a link that describe what font families are available?  I
> assume the Postscript base set is easy.  But how about the others?

There is an entire fat book devoted to that:
Fonts & Encodings by Yannis Haralambous O'Reilly
Using any type1 or ttf fonts is very easy as long as no formulas are
involved. If formulas have to be typed using a font in harmony with the
text, then it becomes quite difficult to produce the necessary virtual
fonts. This is certainly a drawback of TeX.

By the way, in my academic domain, all scientists worldwide use TeX, and
not a single one use Word. One of the reasons is that people publish
their work here:
http://arxiv.org/
and submissions have to be in TeX and not Word. Similarly journals
accept submissions in TeX since they have minor editorial work to do
afterwards. Scientists in other domains would be well inspired to do the
same.

This being said, this question doesn't have much relevance to FreeBSD.


-- 

Michel TALON

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


Re: C++ Compiler On FreeBSD

2007-10-06 Thread Roland Smith
On Sat, Oct 06, 2007 at 08:53:00PM +0100, James Jeffery wrote:
> Evening to you all (or morning in some parts of the world).
> 
> Im learning C++ from Sams Teach Yourself C++, now many will call this
> a dumb method, and the books pointless and stupid, but i have no knowledge
> of any lower level languages, so i do need to be spoon fed the basics.

I'd say that C++ isn't the easiest way to learn programming. I'd suggest
starting with Perl, Ruby or Python.

> Im using Borland C++ compiler on XP and was wondering what compilers
> there are for FreeBSD that would allow me to compile and execute some
> of the examples i will practise from the book.

FreeBSD comes with the GNU C++ and C compilers installed. There are
others available (Intel) or in progress (OpenWatcom).

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


pgpmAAMiPPYvn.pgp
Description: PGP signature


Re: C++ Compiler On FreeBSD

2007-10-06 Thread Manolis Kiagias
James Jeffery wrote:
> Evening to you all (or morning in some parts of the world).
>
> Im learning C++ from Sams Teach Yourself C++, now many will call this
> a dumb method, and the books pointless and stupid, but i have no knowledge
> of any lower level languages, so i do need to be spoon fed the basics.
>
> Im using Borland C++ compiler on XP and was wondering what compilers
> there are for FreeBSD that would allow me to compile and execute some
> of the examples i will practise from the book.
>
> Also if anyone wants to recommend any other books on C++ feel free. We
> are learning VB at college at the moment, i like it, but its not machine
> portable
> and i dont like the whole drag and drop way of creating a program, seems
> like
> cheating.
>
> Thanks for reading
>
> James
>
>   

Are you using the Jesse Liberty's book? (the 21 days thing ? :) )
This is actually quite good for a beginner in the language - just don't
try to finish it in 21 days...

On to your question, FreeBSD provides (and is actually compiled itself
by) the gcc compiler which will happily compile C and C++ programs. You
may as well wish to install a GUI frontend (like kdevelop), but this is
probably an overkill for the simple examples in the book.

P.S. Visual Basic (at least up to version 6) is the best and easiest way
to write the worst, most unreadable code... ever. Even worse, it may
actually work...sort of.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: avr-libc port problem

2007-10-06 Thread Mel
On Saturday 06 October 2007 18:43:23 Ivan Dimitrov wrote:

> I found a problem with the port named avr-libc. The reason is ... there is
> one line of code in the Makefile with the following content: BROKEN=   
>  Does not build
> what can be the reason to checkin an intentionally broken makefile, and how
> can I use this port again? thanks in advance

This means the port does not build, but the MAINTAINER cannot figure out why / 
how to fix it / has no time to look into it / is waiting for patches from 
authors / ...

So, at present you cannot use this version.
-- 
Mel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: C++ Compiler On FreeBSD

2007-10-06 Thread RW
On Sat, 6 Oct 2007 20:53:00 +0100
"James Jeffery" <[EMAIL PROTECTED]> wrote:


> Im using Borland C++ compiler on XP and was wondering what compilers
> there are for FreeBSD that would allow me to compile and execute some
> of the examples i will practise from the book.

gcc, the system C compiler, is a C++ compiler too. It's often invoked
as g++ to get c++ defaults. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[Solution] Unfixing Window NT's fixboot

2007-10-06 Thread Garrett Cooper
   I was trying to do the following to see if I could alleviate some 
problems booting XP to copying over all of my files from NTFS partitions 
to UFS partitions on the same machine:


   My layout for my slices are as follows:

   s1: FreeBSD
   s2: FreeBSD (extra)
   s3: XP (temporary)

1. Popped in XP CD.
2. Chose the 'recover shell' option.
3. Hit fixboot.

   fixboot claimed the slice 1 was corrupted (didn't know what to think 
of the UFS formatted slice ;)..), and then proceeded to 'fix it' on its 
own accord.
   The install was hosed so I had to reinstall XP. When I booted it up 
and took a look at Disk Management I noticed that there was 10MB of 
reserved FAT space, and it was globbing it all into slice 1's space, but 
denoted it as a FAT partition (surprise, surprise).
   I booted up a full install CD though, mounted a known 
slice/partition and all my data was still there!
   After doing a bit of research I couldn't find a definitive solution 
for my little problem, but being adventurous I tried using fdisk -B 
/dev/[disk_num], and everything appears to be back the way it should!


   Hopefully this helps someone else with a similar issue :).
Cheers,
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: avr-libc port problem

2007-10-06 Thread Roland Smith
On Sat, Oct 06, 2007 at 07:43:23PM +0300, Ivan Dimitrov wrote:
> Dear list.
> 
> I found a problem with the port named avr-libc. The reason is ... there is 
> one line of code in the Makefile with the following content:
> BROKEN= Does not build
> what can be the reason to checkin an intentionally broken makefile, 

It is a warning that building this port doesn't currently work. The
build cluster probably detected this, so it was marked broken. It's up
to the port maintainer or any other interested person to fix it.

> and how can I use this port again?

- read the FreeBSD Porter's Handbook
- remove the BROKEN line from the port's makefile
- try to build it and see where it breaks
- make it work again.
- submit a PR with the changes

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


pgpRrOltTfzwY.pgp
Description: PGP signature


Re: BASH as root shell (static linking)

2007-10-06 Thread Mel
On Friday 05 October 2007 22:51:53 Jerahmy Pocott wrote:
> On 06/10/2007, at 4:59 AM, Brian A. Seklecki wrote:
> > On Sat, 2007-10-06 at 04:54 +1000, Jerahmy Pocott wrote:
> >> Hello,
> >>
> >> I'm wanting to use BASH as my root shell, so I compiled a statically
> >> linked
> >> version then tried to log in with only / mounted. But I was locked
> >> out because
> >> elf.ld.so could not be found..
> >
> > JP:
> >
> > Did:
> >
> > $ ldd /bin/bash
> >
> > Return anything? It should not.
>
> It's saying:
>
> libintl.so.6 => /usr/local/lib/libintl.so.6 (0x2819d000)
> libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x281a6000)

Most likely because you thought changing CFLAGS/LDFLAGS during port build, 
would make it statically linked, however if the link command has 
additional -Wl,-dynamic statements caused by `foo-config --libs` or .la 
files, then linker will resolve those libraries dynamically.
As another poster stated in this thread, use the static option of the port.

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


Re: help with postfix

2007-10-06 Thread Tek Bahadur Limbu

Hi McClean,


McClean wrote:

hi , iam having a problem with postfix,

iam using postfix +dovecot and squirrel webmail


i can send mails but not to hotmail , from my server i can send mail to
gmail but if i check mail i can not see any mails, no get received. i can
send mail outside the world but can not receive any.


What do the bounced message from hotmail say?

If you are running a firewall, check if your incoming port 25 might have 
been mistakenly been blocked.


Thanking you...




here is my postconf -n

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, $mydomain
mydomain = thebalaabodu.com
myhostname = thebalaabodu.com
mynetworks_style = host
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.4.3/README_FILES
sample_directory = /usr/share/doc/postfix-2.4.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
[EMAIL PROTECTED] postfix]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, $mydomain
mydomain = thebalaabodu.com
myhostname = thebalaabodu.com
mynetworks_style = host
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.4.3/README_FILES
sample_directory = /usr/share/doc/postfix-2.4.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"






--

With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

System Administrator

(TAG/TDG Group)
Jwl Systems Department

Worldlink Communications Pvt. Ltd.

Jawalakhel, Nepal

http://www.wlink.com.np

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


C++ Compiler On FreeBSD

2007-10-06 Thread James Jeffery
Evening to you all (or morning in some parts of the world).

Im learning C++ from Sams Teach Yourself C++, now many will call this
a dumb method, and the books pointless and stupid, but i have no knowledge
of any lower level languages, so i do need to be spoon fed the basics.

Im using Borland C++ compiler on XP and was wondering what compilers
there are for FreeBSD that would allow me to compile and execute some
of the examples i will practise from the book.

Also if anyone wants to recommend any other books on C++ feel free. We
are learning VB at college at the moment, i like it, but its not machine
portable
and i dont like the whole drag and drop way of creating a program, seems
like
cheating.

Thanks for reading

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


avr-libc port problem

2007-10-06 Thread Ivan Dimitrov

Dear list.

I found a problem with the port named avr-libc. The reason is ... there is one 
line of code in the Makefile with the following content:
BROKEN= Does not build
what can be the reason to checkin an intentionally broken makefile, and how can 
I use this port again?
thanks in advance
I.


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


Re: help with postfix

2007-10-06 Thread Paul Schmehl
--On October 6, 2007 1:55:46 PM +0500 McClean <[EMAIL PROTECTED]> 
wrote:



hi , iam having a problem with postfix,

iam using postfix +dovecot and squirrel webmail


i can send mails but not to hotmail , from my server i can send mail to
gmail but if i check mail i can not see any mails, no get received. i can
send mail outside the world but can not receive any.


What's the IP address of your mail server?

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


Kernel panic; fatal trap 12; on task 22, USB0: was Re: Moused issues?

2007-10-06 Thread Joe Altman
NB: I've copied -usb because it looks to me like it's definitely USB
that's implicated; but I still need a clue for getting a crash dump;
-questions seems the place to ask for that.

On Sun, Sep 23, 2007 at 07:57:41PM -0400, Joe Altman wrote:
> 
> uname for the machine on which it fails:
> 
> 6.2-STABLE FreeBSD 6.2-STABLE #0: Sun Sep  2 17:30:39 EDT 2007 i386
> 
> Is it possible to get more info on this for debugging short of putting
> debugging in the kernel, and configuring a dump device; rebuilding
> world, and hoping my machine does not become unusable?

I'm still seeing the USB associated crashes, with sources updated
several times and world remade between Sept. 23 and Oct. 6, 11 AM EDT.

The above uname shows the only kernel I can use.

I've attempted to obtain a dump using these instructions:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html#KERNELDEBUG-OBTAIN

And here, I think, are the relevent details.

In /etc/rc.conf, I have:

##Crash
dumpdev="AUTO"
dumpdir="/var/tmp/crash"

/var/tmp/crash exists with appropriate permissions; and swapinfo shows
2 Gig of space:

 ~ $: swapinfo
Device  1M-blocks UsedAvail Capacity
/dev/ad0s1b  20480 2048 0%

AIUI, dumpdev="AUTO" dictates the use of /dev/ad0s1b.

/var/tmp has this much free space:

df -m
/dev/ad0s1f  3962   618  302717%/var/tmp

However, my kernel tosses this message to the console:

Fatal trap 12: page fault while in kernel mode



and indicates a problem with task 22, USB[1] 0. Prior to problem with
task 22, USB 0; it was the same fatal trap, task 25, USB 1.

Then it indicates that there is no dump device. It seems to me that
all I should have to do is define the dumpdev in rc.conf to obtain a
dump; and in my case, since /var is smaller than RAM and swap, define
/var/tmp/crash.

So it looks to me as if I am experiencing what is described here:

"...a kernel is crashing before dumpon(8) can be executed." taken from
the kerneldebug.html page.

Or am I missing something in the configuration of the dump device? If
not, is my only option to put a dump directive into my kernel config?
If so, what is the proper syntax?

device dump  

or something else?

Also, I decided it was easier for my to snap a picture than
transcribe the screen; it's here if anyone is interested:

chthonic.com/crash-crash-crash

I'm limping along, I think; and would appreciate some clues, please.

One more data point: I'm using an IBM PIII laptop; and I do not
experience any crash on that; and my AMD dual core does not crash
either; all three machines use, AFAICT, the same USB code.

Thanks.

[1] The USB controller is: http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problem with PHP cli core dumping (SOLVED)

2007-10-06 Thread Mel
On Wednesday 03 October 2007 18:54:54 Richard Secor wrote:
> On Wed, 26 Sep 2007, Mel wrote:
>  >> On Tuesday 25 September 2007 18:50:39 Derrick wrote:
>  >>> On Tue, 25 Sep 2007, Eric wrote:
>   Derrick wrote:
>  > so it's sessions.so
>  > I've tried rebuilding it, but still has the same issue.
>  >>
>  >> Move session to indicated spot, then try php -v again. If it
>
> still coredumps,
>
>  >> move above spl. If it still coredumps, move it up one spot and
>
> rerun, till it
>
>  >> stops coredumping.
>  >>
>  >> The bug is in the general extension destructor and changing the
>
> order till it
>
>  >> works is the only remedy.
>  >
>  >Thanks to all those that input some output.
>  >
>  >I moved extension=session.so to the start of the file after trying the
>  >first couple suggestions, and all is working now..
>
>   I had this problem, however, after changing the file around I'm
> still getting core dumps.
>   I find that this happens whenever I upgrade from the port :(
>   Anyway, it seems I'm getting the dumps from spl.so (it's fine if I
> comment it and anything that depends on it).
>   I've tried putting it in every line of the extension file but it
> still dumps out.
>   I've tried completely rebuilding all of php and all associated
> extensions, still dumps out.

It's not spl itself that needs to be moved. There's extensions that are 
required to be loaded *before* spl and most likely others.

You can speed things up as follows:
php -i >/dev/null 2>&1
gdb -core ./php.core -exec `which php`

[snip symbol loading]

(gdb) bt
#0  0x in ?? ()
#1  0x28e90544 in __do_global_dtors_aux ()
   from /usr/local/lib/php/20060613/simplexml.so


That's the one that needs to be moved up.

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


Re: Abit Motherboard

2007-10-06 Thread Rob

Doug Hardie wrote:
I am planning for replacing one of my servers.  I want to upgrade to at 
least a dual-core machine.  I found the Abit IP 35 Pro motherboard at 
Frys which looks like it has most everything I need.  However, I don't 


I wouldn't piss away any of my money on ABIT's garbage.  Try getting on 
their web site and finding any support for anything more than a year 
old.  I guess there's really no point, since their boards usually die 
within a couple years anyway.  Just my own opinion, biased by my 
experience with ABIT, but -- hey, you asked  ;)


  -rob

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


Re: good replacement for open office

2007-10-06 Thread Chad Perrin
On Sat, Oct 06, 2007 at 05:07:45PM +0200, Wojciech Puchar wrote:
> nobody intelligent (or completely not caring about it) use any of big 
> public mail/news/etc services.

There are two separate concerns here.

  1. General Privacy: If you're concerned with your documents and
  communications being collected, indexed, and scanned for patterns and
  flagged terms along with billions of other documents and
  communications, without any specific attention to yours in particular,
  you're right -- don't use "public", web-based services.

  2. Specific Privacy: If you're concerned with someone cracking security
  on your account, targeting your communications for electronic
  eavesdropping, and similarly making use of the "public" nature of a
  service like that for nefarious intent, you're probably among the
  millions of computer users who are carefully locking the front door
  while leaving the bay windows and garage door wide open.  Are you using
  public key encryption systems like OpenPGP to secure your email?  Are
  you encrypting word processor documents when you send email?  Are you
  using a text-based mail user agent instead of reading XHTML "rich"
  emails in a GUI mail client?  Are you anonymizing communications via
  the Tor network?  What exactly are you doing to avoid leaving yourself
  at least as wide open with plain text transmission of data as you would
  be with a web-based, SSL-encrypted mail service?  You're probably even
  transmitting login data to a web server in clear text.

Now . . . I know this is the freebsd-questions mailing list, and many of
you are running mail servers locally, and otherwise mitigating these
risks.  On the other hand, simply telling people that they'll be safer
avoiding web-based services without explaining that this is only true if
they also pay significant attention to securing their other communication
and collaboration tools might be considered dishonest, or at least
irresponsible.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Eat your crow early, while it's young and tender.  Don't wait until it's
old and tough.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Equations

2007-10-06 Thread Frank Jahnke

On Sat, 2007-10-06 at 12:22 +0300, Giorgos Keramidas wrote:

> 
> Since the first releases of TeX, there have been many interesting
> developments about font-handling in the TeX world, like the typeface
> definitions of ConTeXt, and the drop-in packages of LaTeX which allow
> one to use Palatino, Helvetica, and other classic fonts.
> 

I figured this was the case, and it makes a difference.  This is OT, but
do you have a link that describe what font families are available?  I
assume the Postscript base set is easy.  But how about the others?

Continuing the OT, it is also interesting that the desktop publishing
applications that I am aware of (an that is certainly incomplete) do not
handle equations very well either.  Scribus didn't the last time I
looked; Frame might but that is not really an option.

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


Re: BASH as root shell (static linking)

2007-10-06 Thread andrew clarke
On Sat, Oct 06, 2007 at 04:54:26AM +1000, Jerahmy Pocott wrote:

> I'm wanting to use BASH as my root shell, so I compiled a statically linked
> version then tried to log in with only / mounted. But I was locked out 
> because elf.ld.so could not be found..
> 
> I though elf was the native binary format these days? But it needs a 
> library to run them? Is it possible to statically link against elf? Or do
> standalone binary have to be in aout format? I'm a bit confused as to why it
> requires this dynamic library..

I'm not sure if this helps at all, but you can build a static version of
bash from the Ports tree:

cd /usr/ports/shells/bash
make WITH_STATIC_BASH=1

You'll need to cp bash to /bin.

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


Re: Server Reboot

2007-10-06 Thread Garrett Cooper

Grant Peel wrote:

Hi all,

This is the first time in 10 years I have seen this.

I have a Dell PE750 (vintage 2004), running FreeBSD 6.2 that had been 
up and running for about 30 days without any issues.


The server somehow rebooted last night, apparently,  all by itself.

The last log file line I can find waqs about 12:30 AM. The dmesg shows 
it restarted about 1:12 AM. dmesg shows some file errors that were 
fixed upon reboot, other that that, everything is back up and running 
normally.


I was wondering if anyone has seen anything similar and if a cause was 
found.


Here is what I know:

-all servers (there are 5 more) are plugged into the same power bar 
and none of the others were affected

-none of the standard logs show any intrusion or root log in attempt,
-dmesg and console log show nothing of note,
-the DRAC logs and ESM logs show nothing,
-the sensors (temp,voltage,etc) logs currently show no issues, all 
well withing normal parms.

-my MRTG logs show no abnormal CPU usage or network activity.


Any help would be appreciated,

-Grant


   Check the capacitors on the motherboard (in particular near the 
memory and processor); they may be going bad (esp with that vintage. 
2004 Dell was a bad year =P..).
   You'll be looking for swelled capacitors and possibly some orange 
dialectric being emitted.

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


Re: Abit Motherboard

2007-10-06 Thread Garrett Cooper

Aryeh Friedman wrote:

On 10/5/07, Doug Hardie <[EMAIL PROTECTED]> wrote:
  

I am planning for replacing one of my servers.  I want to upgrade to
at least a dual-core machine.  I found the Abit IP 35 Pro motherboard
at Frys which looks like it has most everything I need.  However, I
don't find any discussions about that particular board in the
archives or Google.  Has anyone used that board and does it work well
with FreeBSD 6? Thanks.



P35 in general has caused problems
  


That board should work perfectly fine on FreeBSD 7-CURRENT (or 7-RELEASE 
when that becomes available), and for all intensive purposes should work 
with 6-RELEASE; you'll want to update to the latest version of 6 though 
because there were some driver releases that came out which allow you to 
use Marvell NICs (msk driver), for instance.


I have a comparable board from ASUS (P5K-E) and it worked fine with 6.x 
(6.1-rc1, 6.2 latest), and works nicely with 7-CURRENT (sources sup'ed 
from Sept 27th). So unless Abit does something funky with the devices 
onboard, things should work perfectly fine (not sure about onboard 
graphics though since I have an nvidia card :)...).


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


Re: good replacement for open office

2007-10-06 Thread Wojciech Puchar
nobody intelligent (or completely not caring about it) use any of big 
public mail/news/etc services.


as google gets stronger and stronger just means that for most people using 
brain is too painful. but it's really worth of




do you really want the world to know what you are writing?

icantthinkofone wrote:

Frank Jahnke wrote:




Why not use Google Docs?


And ask NSA in case you need a backup?

Erich
___
Some guy from ComputerWorld was on NPR (National Public Radio) yesterday and 
claimed security is fine on all online services like this.  Mentioned Google 
specifically.

___
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: good replacement for open office

2007-10-06 Thread icantthinkofone

Erich Dollansky wrote:

Hi,

do you really want the world to know what you are writing?

icantthinkofone wrote:

Frank Jahnke wrote:


  

Why not use Google Docs?


And ask NSA in case you need a backup?

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


Some guy from ComputerWorld was on NPR (National Public Radio) yesterday 
and claimed security is fine on all online services like this.  
Mentioned Google specifically.

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


Server Reboot

2007-10-06 Thread Grant Peel

Hi all,

This is the first time in 10 years I have seen this.

I have a Dell PE750 (vintage 2004), running FreeBSD 6.2 that had been up and 
running for about 30 days without any issues.


The server somehow rebooted last night, apparently,  all by itself.

The last log file line I can find waqs about 12:30 AM. The dmesg shows it 
restarted about 1:12 AM. dmesg shows some file errors that were fixed upon 
reboot, other that that, everything is back up and running normally.


I was wondering if anyone has seen anything similar and if a cause was 
found.


Here is what I know:

-all servers (there are 5 more) are plugged into the same power bar and none 
of the others were affected

-none of the standard logs show any intrusion or root log in attempt,
-dmesg and console log show nothing of note,
-the DRAC logs and ESM logs show nothing,
-the sensors (temp,voltage,etc) logs currently show no issues, all well 
withing normal parms.

-my MRTG logs show no abnormal CPU usage or network activity.


Any help would be appreciated,

-Grant 


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


Re: BASH as root shell (static linking)

2007-10-06 Thread Bill Vermillion
On Sat, Oct 06, 2007 at 05:52
[EMAIL PROTECTED] said 'Who you talkin' to?
You talkin' to [EMAIL PROTECTED] I didn't do
nuttin'. I said:

> Date: Fri, 5 Oct 2007 20:09:46 -0400
> From: Jerry McAllister <[EMAIL PROTECTED]>
> Subject: Re: BASH as root shell (static linking)

> On Sat, Oct 06, 2007 at 12:32:22AM +0100, RW wrote:

> > On Fri, 5 Oct 2007 16:29:36 -0700 (PDT)
> > Philip Hallstrom <[EMAIL PROTECTED]> wrote:

> > > > On 06/10/2007, at 5:45 AM, RW wrote:

> > > >> On Sat, 6 Oct 2007 04:54:26 +1000
> > > >> Jerahmy Pocott <[EMAIL PROTECTED]> wrote:

> > > >>> Hello,

> > > >>> I'm wanting to use BASH as my root shell, so I compiled a
> > > >>> statically linked

... [deletia - wjv]


> Or, maybe the OP managed to get it put in the /etc/passwd entry.

> Anyway, I prefer tcsh, but if the OP just has to have it bash,
> it is easy to do.

> All the OP has to do is install bash from /usr/ports/shells/bash
> and then edit /etc/passwd to change the last field for toor
> - after the last colon - to point to where it installs bash
> (/usr/local/bin/bash maybe) and then it should all be fine.

No really - because in the original post the OP says he
wanted to use this when only / was mounted.

That means he should put his bash in /bin and make an entry
to the /etc/shells.

I do with ksh - my prefered shell for the last umpteen years.
If you do have a shell you want to use all the time it had
better be in /bin cause you will be lost if you get into single
user mode from something like a crash and need to run utilities.

Bill


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


Re[2]: good replacement for open office

2007-10-06 Thread Gerard
On October 06, 2007 at 01:42AM Erich Dollansky wrote:


> > Why not use Google Docs?
> 
> And ask NSA in case you need a backup?

As well as potentially allowing your documents to be viewed by anyone
with the time and or knowledge to hack into your account.

No thanks, I certainly would not want Google or anyone else reading my
private data without my permission. Of course we all know that Google
can be trusted; and the check is in the mail.


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


Re: BASH as root shell (static linking)

2007-10-06 Thread Jerahmy Pocott

On 06/10/2007, at 3:25 PM, Old Ranger wrote:


Hey look,
BASH is not a UNIX shell.
BASH occurred with Linux then carried over into FreeBSD.
While it has "some" advantages, it is still a bastard.

UNIX is written in "C"

Want the best you can get?  Use "tcsh" as a shell and let the linux  
community do whatever they want.


I know a lot of elitists detest BASH, especially in the Linux camp  
(probably because zomg we can't use
the default shell, we might be conforming to something and that's  
totally un-linuxy).


But BASH is an excellent shell with most of the features from csh and  
ksh as well as the ability to run
sh scripts. It was built to be POSIX compliant, not built for linux..  
But this is all besides the point, I didn't ask

what people think of BASH >.<

I didn't ask how to set it as the root shell, what I asked about was  
creating a statically linked binary
of BASH so that I COULD use it as the root shell! So that it could be  
used without /usr mountable..


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


Re: help with postfix

2007-10-06 Thread Byung-Hee HWANG
On Sat, 2007-10-06 at 13:55 +0500, McClean wrote:
> hi , iam having a problem with postfix,
[...snip...]

IMHO, I think [EMAIL PROTECTED] can give you helps more than
freebsd-questions@freebsd.org can give. What do you think of?

Please see http://www.postfix.org/lists.html

Sincerely,

-- 
Byung-Hee HWANG <[EMAIL PROTECTED]>

This domain(izb.knu.ac.kr) is testing DKIM(RFC4871); flag: "t=y". 
If you encounter strange problems, please have a look at
http://www.ietf.org/rfc/rfc4871.txt before throwing stones at me :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Equations

2007-10-06 Thread Giorgos Keramidas
On 2007-10-05 15:03, Frank Jahnke <[EMAIL PROTECTED]> wrote:
>On Fri, 2007-10-05 at 23:34 +0200, [EMAIL PROTECTED] wrote:
>> I am always a bit surprised that TeX was released in 78 (before my
>> birth!) and---despite its algorithms are published---its output
>> quality remains unmatched [1] by common programs. Why these programs
>> do not apply TeX's strategies to solve their problems? This makes me
>> wonder.
> 
> This is a good question.  TeX didn't really hit its stride until about
> 1989 (with Metafont and the language freeze), and the effort learned a
> lot from troff.  Nevertheless, I am always struck by how ugly is the
> type that Word produces.  You can always tell.  I've read about how
> sophisticated its algorithm for this or that is, but the end result is
> terribly inferior to both troff and TeX.
> 
> I don't really know why -- and it extends beyond the hyphenation
> algorithm to things like inter-word kerning and type face formation --
> but I just don't like the way Word documents look.  Maybe one of these
> days I'll look into it.  I also find the insistence of the TeX
> community to use the dreadful CM font family to be misguided.  There's
> a reason that the classical fonts are classics.

As far as journals are concerned, I think the insistence about CM fonts
is usually an attempt to "keep the original style of the journal", and
not so much a lack of respect for the beauty of classic font families.

Since the first releases of TeX, there have been many interesting
developments about font-handling in the TeX world, like the typeface
definitions of ConTeXt, and the drop-in packages of LaTeX which allow
one to use Palatino, Helvetica, and other classic fonts.

This is getting off-topic for the original topic, but I learnt something
new (about the LyX wiki), so -- at least for me -- it was worth it :)

Giorgos

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


help with postfix

2007-10-06 Thread McClean
hi , iam having a problem with postfix,

iam using postfix +dovecot and squirrel webmail


i can send mails but not to hotmail , from my server i can send mail to
gmail but if i check mail i can not see any mails, no get received. i can
send mail outside the world but can not receive any.

here is my postconf -n

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, $mydomain
mydomain = thebalaabodu.com
myhostname = thebalaabodu.com
mynetworks_style = host
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.4.3/README_FILES
sample_directory = /usr/share/doc/postfix-2.4.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
[EMAIL PROTECTED] postfix]# postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = no
inet_interfaces = all
mail_owner = postfix
mailq_path = /usr/bin/mailq.postfix
manpage_directory = /usr/share/man
mydestination = $myhostname, localhost.$mydomain, $mydomain
mydomain = thebalaabodu.com
myhostname = thebalaabodu.com
mynetworks_style = host
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases.postfix
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/postfix-2.4.3/README_FILES
sample_directory = /usr/share/doc/postfix-2.4.3/samples
sendmail_path = /usr/sbin/sendmail.postfix
setgid_group = postdrop
unknown_local_recipient_reject_code = 550
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BASH as root shell (static linking)

2007-10-06 Thread Heiko Wundram (Beenic)
Am Samstag 06 Oktober 2007 07:25:39 schrieb Old Ranger:
> BASH is not a UNIX shell.
> BASH occurred with Linux then carried over into FreeBSD.

Get your history straight and read up on the heritage of the bash on gnu.org, 
please. BEFORE you start making absurd comments like these. (as if the bash 
was written FOR Linux...?)

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


Re: BASH as root shell (static linking)

2007-10-06 Thread Byung-Hee HWANG
On Fri, 2007-10-05 at 23:25 -0600, Old Ranger wrote:
[...snip...]
> Want the best you can get? Use "tcsh" as a shell and let the linux 
^^^
+1

Sincerely,

-- 
Byung-Hee HWANG <[EMAIL PROTECTED]>

This domain(izb.knu.ac.kr) is testing DKIM(RFC4871); flag: "t=y". 
If you encounter strange problems, please have a look at
http://www.ietf.org/rfc/rfc4871.txt before throwing stones at me :-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: tcpdump -- non-local traffic not showing

2007-10-06 Thread freebsd

Many thanks; that solved the problem.

Gary


You're probably plugged into a switch ("learning bridge"). Switches
partition your collision domain -- they learn which MAC is available on
which port and only send on that port.

You either need a hub or a really expensive switch (the kind that you
log in to and set up port mirrors).


..

What is your LAN?  My guess is that its a router or a switch.  In either 
case, the router/switch is not forwarding the packets to all the ports.  
It retains a table of MAC addresses and the ports they are on.  It only 
forwards packets to the desired port.  A computer on a different port 
will not see any of those packets.  You have to use a hub or just a 
non-learning bridge to get the packets forwarded to all ports.  Those 
are really hard to find anymore.








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