Re: fusefs-ghoto2fs

2008-06-30 Thread Lowell Gilbert
chip [EMAIL PROTECTED] writes:

 I found a pkg to add that supposed will allow me to mount the camera
 as a filesystem, it's called fusefs-gphotofs. The following
 instructions are given at the end of the pkg_add process -

 Now fuse filesystems (sysutils/fusefs-*) can be mounted at startup from
 /etc/fstab with the late parameter. This requires a symlink in /usr/sbin
 named mount_fstype, which is not created by all the fusefs ports.

 I am not sure what this means. Iknow how to add an entry to the fstab,
 I've done that years ago for a floppy drive. But there appears to be
 not enough info in those instructions to get the fusefs listed in the
 fstab. Anyone have any experience with this?

What *is* the filesystem type?  Is there an /sbin/mount_fstype on
your system?

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: CPUs again.

2008-06-27 Thread Lowell Gilbert
Grant Peel [EMAIL PROTECTED] writes:

 Understood,

 Does the default GENERIC kernel see them as i386 or amd64 when
 booting then?, or does using amd64 require a custom kernel?

The kernel and the rest of the system are compiled for i386 or amd64.
You can run amd64 software on amd64 architecture hardware, and you can
run i386 software on i386 or amd64 hardware.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Phttpget problems (freebsd-update)

2008-06-27 Thread Lowell Gilbert
Andrew Storms [EMAIL PROTECTED] writes:

 Anyone else experiencing issues related to phttpget when using
 freebsd-update?  What I'm finding is that there is just enough delay between
 retrieval of the 6.2 and the 6.3 patches; that the upstream firewall closes
 the NAT.  Then phttpget attempts to retrieve the 6.3 patch set and just
 assumes the session is already open.  Firewall sends a RST back and phttpget
 doesn't attempt a new 3-way handshake.  The end result is freebsd-update
 then just gives up.

 If it helps at all, I'm so far only seeing this happen behind a Cisco ASA
 appliance.

 Anybody else seen this and/or have a suggested work around?

Maybe perform the 6.2 update and the 6.3 update in separate operations?

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Changing default files locations / ports / mailgraph

2008-06-26 Thread Lowell Gilbert
Zbigniew Szalbot [EMAIL PROTECTED] writes:

 Hello all,

 What do I need to avoid making the same mistake of having mailgraph
 installing files at the wrong location in my system?

 The default location in Makefile is this:
 CGIDIR?=${PREFIX}/www/cgi-bin
 DATADIR?=   /var/db/mailgraph
 WWWROOT?=   ${PREFIX}/www/data

 I'd like to keep it here:
 CGIDIR?=${PREFIX}/www/apache22/cgi-bin
 DATADIR?=   /var/db/mailgraph
 WWWROOT?=   ${PREFIX}/www/apache22/data

 Other than symlinking, can I specify this location in
 /usr/local/etc/pkgtools.conf (I generally use portupgrade to upgrade
 software)? If so, how should I specify an entry for mailgraph?

I would symlink it, myself.

For portupgrade, I guess you could do a MAKE_ARGS entry something like
'mail/mailgraph' = 'CGIDIR=${PREFIX}/www/apache22/cgi-bin 
DATADIR=/var/db/mailgraph WWWROOT=${PREFIX}/www/apache22/data'

[Completely untested, of course.]
-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: core Dumb during CVSUP

2008-06-24 Thread Lowell Gilbert
Warren Liddell [EMAIL PROTECTED] writes:

 I have up untill recently been able to do cvsup np's at all, now all of a
 sudden it core dumps, any thoughts welcome..

 Connecting to cvsup.au.freebsd.org
 Connected to cvsup.au.freebsd.org
 Server software version: SNAP_16_1h
 Negotiating file attribute support
 Exchanging collection information
 Establishing multiplexed-mode data connection
 Running
 Bus error (core dumped) 

What did you change since it worked?
Are you seeing core dumps on anything else?

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade dependency loop

2008-06-24 Thread Lowell Gilbert
DA Forsyth [EMAIL PROTECTED] writes:

 How do I fix this?

 ===   Registering installation for horde-base-3.2_3
 pkg_create: dependency loop detected for package pear-Auth-1.6.1
 pkg_create: dependency loop detected for package pear-Auth_SASL-1.0.2
 pkg_create: dependency loop detected for package pear-Net_SMTP-1.3.1

 I tried doing a 'pkgdb -F' and removing the dependencies in the loop, 
 but they just get rebuilt.

Start by updating your ports tree again.  You may have hit a transient
issue with the dependencies in the actual makefiles.  Probably not,
but it's worth checking before trying to understand what's really
happening.  

If I can let the machine alone for a while, I will generally rebuild
all the ports in the dependency tree for the problem.  Getting this
accurate usually requires examining the ports by hand.  Removing all
of those ports and rebuilding them to pick up the dependency
information in order will usually work, but takes the functionality
offline for longer.

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


Re: Fixit / LiveFS problems (AMD64)

2008-06-24 Thread Lowell Gilbert
Kent Hauser [EMAIL PROTECTED] writes:

 I recently rebuild a 7-STABLE which refused to boot  then ran into some
 problems trying to recover.

 1) After escaping to the loader prompt, I could only enter a couple of
 characters (eg 2) before the machine hung. Not enough for the unload /
 load dance.

 2) After booting from the downloaded 7-RELEASE install ISO (AMD64), I find
 the emergency shell doesn't have mount_ufs, just mount_nfs. Also, no /rescue
 directory. I don't know if this is by design, but how does one mount root or
 any other local disk partition?

mount(8) 

 3) After downloading  burning the 7-RELEASE LiveFS ISO (AMD64), I find
 fixit told me ld.so-hints could not be created  dynamicly linked programs
 wouldn't run -- and they didn't.

I'm not sure, but shouldn't that get built every boot time?

 4) So I reinstalled, only newfs'ing /root  pulled the appropriate files
 from a backup.

 What am I missing?

Other than the fact that there isn't any mount_ufs, you seem to be okay.

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


Re: libcdio upgrade problems

2008-06-18 Thread Lowell Gilbert
Dr. Jennifer Nussbaum [EMAIL PROTECTED] writes:

 Lowell Gilbert [EMAIL PROTECTED] wrote: Dr. Jennifer Nussbaum  writes:

 Im trying to upgrade some ports, and have a problem with libcdio. At least i
 think i do. 

 When i try to upgrade, say, Nautilus (or a buncha other things), it dies in 
 the
 end with a libcdio-0.78.2_2 is already installed. You may wish to make 
 deinstall
 etc. message.

 But i did go to /usr/ports/sysytils/libcdio and make deinstall and make 
 reinstall,
 and this was successful. I sync'd the ports collection again, but no luck. 
 Nothing
 in UPDATING about this.

 Sounds like the dependencies are confused.  pkgdb(1) may help with
 that.  If not, the brute force approach would be to remove the
 affected ports all the way back to (and including) libcdio, and build
 them over.
 I havent been able to figure out how to fix things with pkgdb. And i have 
 tried, over and over, to remove the affected ports and build them from 
 scratch but it hasnt been working.

 So i went to libcdio and did a make deinstall, deleted the work files, and 
 did a make install clean, and it installed fine. Then i tried to build gvfs, 
 also by doing a make install clean, and it died in the same way--telling me 
 to make deinstall and make reinstall of libcdio.

 Ive tried this several times with no luck. If theres an even more brute force 
 way id like to know what it is so i can do that. This is preventing a lot of 
 other upgrades to GNOME, which i need.

I found it.  I think you need to reset the options on libcdio to
re-enable the cdparanoia option.  Some gnome ports seem to depend on
the library specifically with the paranoia option, and I've seen some
systems get the options jammed.

Something like:
(cd /usr/ports/sysutils/libcdio ; make rmconfig ; portupgrade -f libcdio)

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing FreeBSD

2008-06-16 Thread Lowell Gilbert
Telpiz Sorin [EMAIL PROTECTED] writes:

  tried several times to install 7.0-RELEASE x amd64 on my
 friend's machine that is eqiupped with hard drive manufactured by
 Samsung. The hard drive (master) appears to have SATA interface,
 nonetheless SYSINSTALL regognizes it as ad04!

That is fine.

 Besides, SYSINSTALL complains about the disk's geometry . 

Also probably not a problem; C/H/S geometries are rarely important
these days.

   The text
 console works very slowly, though the machine (ASUS motherboard) has
 2 Gigs of RAM and a good GeForce video board. For comparison, my old
 IBM machine ( PentiumII , 128Mb RAM , 16Mb video memory ) runs Free
 BSD much more faster. Could you help us fix the trouble? 

Can you quantify the slowness?  This isn't much of an explanation for
us to work with...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Doubt about hanged ESTABLISHED connections on netstat...

2008-06-16 Thread Lowell Gilbert
Agus [EMAIL PROTECTED] writes:

 Today i was on my Freebsd6.1 logged from my notebook through SSH...somehow i
 lost my Internet connection on my laptop; i realized that, cause i couldnt
 type anything on ssh so i checked and i had lost internet connectionI
 reset my router..connect through Internet, now working, to my BSD again and
 i can see the old connections as ESTABLISHED.They are hanged there cause
 of the loss of my connection i guessSo my doubt and question was;
 Is this normal behaviour, who is in charge of managing this? the TCP
 stack, or can i config SSH...If someone who's got the time and willing to
 explain, share thoughts about this, i ll be grateful...

They will time out when the application tries to send some data and
fails for a period of time.  You can configure ssh to use keepalives
if you want to hurry this along.  Or you can kill the process holding
the socket, and the socket will be closed along with the process.  

It isn't something to spend time worrying about unless you really want
to...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Intermittent -- yet regular -- v6.3 kernel panic

2008-06-13 Thread Lowell Gilbert
[Don't top-post, please.]

 It's quite likely to be due to bad hardware though.

Ryan Coleman [EMAIL PROTECTED] writes:

 I'm sure. I could get different RAM this weekend, but that just makes
 me angry. I bought all the items from recommended lists on NewEgg two
 weeks ago. This is probably the 11th crash in 12 days.

Buying good hardware improves your odds a lot, but failures can still happen.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



Re: libcdio upgrade problems

2008-06-10 Thread Lowell Gilbert
Dr. Jennifer Nussbaum [EMAIL PROTECTED] writes:

 Im trying to upgrade some ports, and have a problem with libcdio. At least i
 think i do. 

 When i try to upgrade, say, Nautilus (or a buncha other things), it dies in 
 the
 end with a libcdio-0.78.2_2 is already installed. You may wish to make 
 deinstall
 etc. message.

 But i did go to /usr/ports/sysytils/libcdio and make deinstall and make 
 reinstall,
 and this was successful. I sync'd the ports collection again, but no luck. 
 Nothing
 in UPDATING about this.

Sounds like the dependencies are confused.  pkgdb(1) may help with
that.  If not, the brute force approach would be to remove the
affected ports all the way back to (and including) libcdio, and build
them over.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to do regression on libc?

2008-06-09 Thread Lowell Gilbert
Unga [EMAIL PROTECTED] writes:

 How to do regression on libc to verify the correctness?

There are conformance test suites out there.  
The decent ones all seem to cost money, but
you might want to look at the Open POSIX 
project.

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


Re: change the file date and time

2008-06-08 Thread Lowell Gilbert
Frank Shute [EMAIL PROTECTED] writes:

 If you're lucky, the jpg's will contain exif info which if the
 phone's time  date is set will tell you when the picture was taken
 amongst other things.

 This is more reliable than depending on file date.

 Here's a quick  dirty perl script (called picinfo) that I used to get
 this data (modify at your will):

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


Re: intrusion? find is thrashing my disk every time I boot.

2008-06-05 Thread Lowell Gilbert
Steve Franks [EMAIL PROTECTED] writes:

 I'm really no security expert.  I don't leave the system up 24/7, and
 I'm on a US DSL connection with a bunch of windows boxes.

 Seems to be a recent phenomena, I've started experiencing disk
 thrashing I can hear across the room.  ps and top report cvslockd has
 been responsible for the thrashing (which usually occurs at a specific
 time of day (~1 am MST)), but now, find is doing the thrashing at boot
 every time (within the last week at least).  Needless to say, I
 haven't changed the system in any way during that week.  On windows,
 I'd just assume this to be normal behavior, but on FreeBSD, it's got
 me worried...

 I presume the security section of the manual has a good into to
 detecting intruders, but first I'm interested if there is a legitimate
 reason for find to be torturing my disk.  I don't run much on my
 system - apache, cvs, portsnap, ssh, that's about it.

That's not really so little.  I would tend to doubt it's a security
issue, but tracking it down is still a good idea.  You should be able
to see what user is running the find, using ps(1), and that might give
a clue to what the purpose is (but probably not; it'll probably turn
out to be root).  Once you've tried that, you could use sockstat(1) to
track down what file the find operation is dumping into.


-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Errors with pkg_add

2008-06-05 Thread Lowell Gilbert
Phusion [EMAIL PROTECTED] writes:

 I am running FreeBSD 7.0-STABLE i386 and am having problems with
 pkg_add. I can install packages as the root user without problems.

 - pkg_add -r packages, works when running as root
 - pkg_add -r packages, errors out when using sudo

 % sudo pkg_add -r openssl
 Error: FTP Unable to get
 ftp://ftp4.us.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/openssl.tbz:
 Syntax error, command unrecognized
 pkg_add: unable to fetch
 'ftp://ftp4.us.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/openssl.tbz'
 by URL

 % cat /usr/local/etc/sudoers
 Defaultsenv_keep += PKG_PATH PKG_DBDIR PKG_TMPDIR TMPDIR
 PACKAGEROOT PACKAGESITE PKGDIR
 Defaultsenv_keep += PORTSDIR PORTS_INDEX PORTS_DBDIR PACKAGES
 PKGTOOLS_CONF
 rootALL=(ALL) ALL
 %wheel  ALL=(ALL) NOPASSWD: ALL

 This user is a member of the wheel group so no password is required.
 Both this user and root user are using the csh with the following in
 .cshrc.

 setenv  PACKAGESITE
 ftp://ftp4.us.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/

 Let me know if you have any ideas. Thanks.

sudo may not be setting up the environment correctly.  I seem to
recall it recently changed defaults to wiping out more of the caller's
environment than had previously been the case.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: need to lcase/tolower/strlwr a directory hierarchy, is there an intrinsic util?

2008-05-17 Thread Lowell Gilbert
Steve Franks [EMAIL PROTECTED] writes:

 Just found strings(1), the util, thought there might be something like
 that for lcase/tolower/strlwr?  Would definitely pretty up my old
 photos directories from my win32 days...

Not clear on what you want here.  

Maybe something like 
  for fil in [A-Z]* ; do mv $fil `echo $fil |tr [A-Z] [a-z] ` ; done
[untested], perhaps?
-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
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 talk to tap(4)

2008-05-16 Thread Lowell Gilbert
Bob McConnell [EMAIL PROTECTED] writes:

 From: Bob McConnell 
From: Wojciech Puchar

 The basic setup sequence is:

  ifconfig tap0 create
  ifconfig tap0 inet 10.3.4.254/24
  route -v add 10.3.4.0/24 10.3.4.254

 ifconfig tap0 up

 ?


 'ifconfig' already showed the interface flag UP. Adding this command
 to the sequence has no effect on it. I also tried 'ifconfig tap0
 promisc'.

 Is EFAULT really a memory access exception?


 At this point, I can ping that address and my application can open
 either /dev/net/tap0 or /dev/tap0. But when I try to read() from
 those
 devices, I have problems.

 /dev/net/tap0 always returns with errno = 19 (ENODEV - Operation not
 supported?).

 /dev/tap0 returns errno = 14 (EFAULT - bad address). At this point,
 'ifconfig' shows that the inet address is no longer attached and
 'netstat -rn' shows the route I added above has been dropped.

 I have been searching for several days to find more information
 about
 this device, but have not found anything specific to FreeBSD. All of
 the
 examples and instructions are for Linux or tun(4), both of which are
 significantly different devices.

 My code so far:

 - tear along dotted line -
  tapFD = open (/dev/tap0, O_RDWR);
  if (tapFD  0) {
fprintf (stderr, Failed to open /dev/tap0: %d.\n, tapFD);
exit (2);
  }

  fprintf (stderr, Successfully opened /dev/tap0.\n);

  unsigned char * buffer = (unsigned char*)malloc(1514);
  if (buffer = NULL) {
fprintf (stderr, No memory available.\n);
close (tapFD);
exit(3);
  }

 When I replace the malloc with an automatic array, the
 error goes away and I get the data I am looking for. i.e.:

unsigned char buffer[1514];

 So why can't I use malloc to create that buffer?

Maybe you forgot to include stdlib.h?  That could end up with the
compiler adjusting the parameters incorrectly.

Incidentally, this problem is why casting the return value of malloc
is discouraged; the compiler would warn about such a problem if the
(completely unnecessary) cast were not present.

  int lenth = 0;

 again:
  lenth = read(tapFD, buffer, 1514);
  if (lenth  0) {
int error = errno;
if (error == EINTR)
  goto again;
fprintf (stderr, tap read error: %d\n, error);
  }
  else {
int index;

fprintf (stdout, %d bytes received.\n, lenth);
for (index = 0; index  lenth; ++index) {
  fprintf (stdout,  %02x, buffer[index]);
  if (index % 16 == 15)
fprintf (stdout, \n);
}
fprintf (stdout, \n);
  }

  close (tapFD);
 - tear along dotted line -

 Just in the interest of full disclosure, I am running a stock
 installation of FreeBSD 7.0 in a VMWare 5.5.4 session on WinXP.
 There
 are also two virtual Ethernet cards, one connected to a host only
 subnet, the other bridged onto a real Ethernet segment. I am using
 IPFW
 with DummyNet to inject some measure of reality into this system.

 This is the beginnings of a test bench for several commercial
 applications. My goal, once I get this device working, is to write
 an
 application for tap(4) that will emulate a few hundred embedded
 devices,
 each opening a socket directly to a server, which currently resides
 in
 another VM session on the host only network. This setup, coupled
 with
 real devices on the external network should give us a much more
 realistic environment for stress testing our systems.

 Thank you,

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


-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Fwd: Question about a recent installation

2008-05-07 Thread Lowell Gilbert
Norman Maurer [EMAIL PROTECTED] writes:

 -- Forwarded message --
 From: Norman Maurer [EMAIL PROTECTED]
 Date: 2008/5/7
 Subject: Re: Question about a recent installation
 To: Mario Vazquez [EMAIL PROTECTED]


 2008/5/6 Mario Vazquez [EMAIL PROTECTED]:


On May 5, 2008, at 6:17 PM, doug wrote:
  
  
To give limited priviledges I think sudo (as in linux??) would be
 used.
  
  
   I concur that sudo is really a very good way of managing privileges.
I don't even know the root passwords on the systems that I administer
(OK, I do have them stored in a nice secured place if I ever do need
them).
  
Cheers,
  
-j
  
  
--
  
In fact, I use sudo for managing too.  My question is not about
 sudo itself, it's about the possible risks (if any) of having a
 default installation (FreeBSD7-RELEASE) which assigns ownership of the
 root folder to root:wheel, thus allowing anyone with wheel privileges
 be able to see (and copy btw) root folder contents.
  

  I still not get the point.. If the files are create the default is a
  umask of 022 anway. So if you want to protect your files in the root
  folder to get accessed, use umask 066 and maybe chmod 700 /root.

Perhaps more to the point of the question, there is nothing in /root
on a default system which has any need of being kept secret.  

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel Compile Error

2008-05-01 Thread Lowell Gilbert
/sys/kern/kern_descrip.c:1653: warning: statement with no effect
 /usr/src/sys/kern/kern_descrip.c: In function 'setugidsafety':
 /usr/src/sys/kern/kern_descrip.c:1733: warning: statement with no effect
 /usr/src/sys/kern/kern_descrip.c:1751: warning: statement with no effect
 /usr/src/sys/kern/kern_descrip.c: In function 'fdclose':
 /usr/src/sys/kern/kern_descrip.c:1761: warning: statement with no effect
 /usr/src/sys/kern/kern_descrip.c: In function 'fdcloseexec':
 /usr/src/sys/kern/kern_descrip.c:1786: warning: statement with no effect
 /usr/src/sys/kern/kern_descrip.c:1808: warning: statement with no effect
 /usr/src/sys/kern/kern_descrip.c: In function 'closef':
 /usr/src/sys/kern/kern_descrip.c:1904: warning: statement with no effect
 /usr/src/sys/kern/kern_descrip.c:1921: warning: statement with no effect
 /usr/src/sys/kern/kern_descrip.c: In function '_fget':
 /usr/src/sys/kern/kern_descrip.c:1962: warning: statement with no effect
 /usr/src/sys/kern/kern_descrip.c: In function 'fgetsock':
 /usr/src/sys/kern/kern_descrip.c:2073: warning: implicit declaration
 of function 'NET_ASSERT_GIANT'
 /usr/src/sys/kern/kern_descrip.c:2073: warning: nested extern
 declaration of 'NET_ASSERT_GIANT'
 /usr/src/sys/kern/kern_descrip.c: In function 'dupfdopen':
 /usr/src/sys/kern/kern_descrip.c:2238: warning: statement with no effect
 /usr/src/sys/kern/kern_descrip.c: In function 'filedesc_to_leader_alloc':
 /usr/src/sys/kern/kern_descrip.c:2378: warning: statement with no effect
 *** Error code 1

 Stop in /usr/obj/usr/src/sys/GENERIC.
 *** Error code 1

 Stop in /usr/src.
 *** Error code 1

 Stop in /usr/src.
 [EMAIL PROTECTED] /usr/src]# exit
 exit

That's really weird.  Is that an unchanged GENERIC kernel, with an
empty make.conf?  If so, youseem to have something inconsistent in
your sources.  How did you install the sources?  Can you wipe them
clean and try again?

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Perl 5.8.8 Compile

2008-05-01 Thread Lowell Gilbert
Jay Hall [EMAIL PROTECTED] writes:

 I am attempting to compile Perl 5.8.8 on FreeBSD 7.0-RELEASE.  I make
 it through the configuration just fine, but when I attempt to run the
 make command, I receive the following error message.  I am creating a
 custom install.  The only parameter I am changing is the installation
 location.

 make: don't know how to make command-line. Stop.

 I have run make depend, and it finishes without any problems.

 I'm sure this is something simple I am missing because I have been
 looking at the problem for so long.

 Thanks in advance for your assistance.

Even for non-standard location installs, I recommend using the ports
instead of building yourself, but if you really want to do it by hand,
expect to need to know a bit more about what you're doing.  In this
case, I suspect you need to use gmake instead of (the native) make.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Distfile size mismatch for ImageMagick portupgrade

2008-04-30 Thread Lowell Gilbert
Mike Clarke [EMAIL PROTECTED] writes:

 Upgrading ImageMagick from 6.3.6.9 to 6.4.0.11 fails after downloading 
 the distfile with size mismatch: expected 5837175, actual 5836089.

 I don't see anything relevant in UPDATING or on the Freshports site. 
 I've run pkgdb -u and downloaded a fresh copy 
 of /usr/ports/graphics/ImageMagick but still get the problem.

 Is this a general problem or have I overlooked something?

The tarball was re-rolled. 
The port has now been updated accordingly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RAM Swap Speed

2008-04-21 Thread Lowell Gilbert
herbert langhans [EMAIL PROTECTED] writes:

 Honestly, I would never think that adding RAM to a comp with still
 unused space left could speed it up.

That's because it doesn't have unused RAM.  There are plenty of things
that can be stored in RAM which don't need to be moved to swap if the
RAM is needed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Username groups

2008-04-19 Thread Lowell Gilbert
prad [EMAIL PROTECTED] writes:

 On Thu, 17 Apr 2008 10:00:24 -0400
 Jon Radel [EMAIL PROTECTED] wrote:

 Other things being equal, it's better
 to have all users use their own login group and then add them to
 additional groups as appropriate.

 jon,

 i have always been curious about this. why is it better for a user to
 be in his own group? on slackware i recall users all went into the
 users group.

 one benefit i can see is that if a user has his own group then you
 can effectively give others access to certain files by adding them to
 that users group.

 are there other reasons?

From adduser(8):
 Perhaps you are missing what can be done with this scheme that falls
 apart with most other schemes.  With each user in their own group, they
 can safely run with a umask of 002 instead of the usual 022 and create
 files in their home directory without worrying about others being able to
 change them.

 For a shared area you create a separate UID/GID (like cvs or ncvs on
 freefall), you place each person that should be able to access this area
 into that new group.

 This model of UID/GID administration allows far greater flexibility than
 lumping users into groups and having to muck with the umask when working
 in a shared area.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd-update for patches, make world for upgrades?

2008-04-18 Thread Lowell Gilbert
Andreas Pettersson [EMAIL PROTECTED] writes:

 Does freebsd-update take care of all things mergemaster does?
 Or can I use freebsd-update to apply security patches and still use
 csup, make world and mergemaster to upgrade to a new release?

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


Re: canned dist option

2008-04-16 Thread Lowell Gilbert
Please do not top-post.

Jean-Paul Natola [EMAIL PROTECTED] writes:

 I'm at a gui that has 5 options to choose from , 

 average user-
 Developer
 x-developer etc..

You can always go back later and add things you don't get in the
initial install.

You need at least the minimal system, and I strongly suggest the docs.

 __
 Hello, Jean-Paul Natola
 set WHITOUT_X11=YES in /etc/make.conf for example.

 just see man make.conf and man src.conf

 You wrote:
 Which option does one choose during install for use as a server-

 Don't need games, X, or anything of the sort.

 I just want to have ssh access 

 Then install my usual CLAM EXIM SA

 I know this is a lame question but its been over year since I did this 







 TIA

 j
 ___
 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]
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Reference to instant-workstation port/package, freebsd-tips.

2008-04-16 Thread Lowell Gilbert
Kris Kennaway [EMAIL PROTECTED] writes:

 Dave wrote:
 A reference to /usr/ports/misc/instant-workstation is in the
 /usr/share/games/fortune/freebsd-tips file at line number 405.
 I do not see instant-workstation listed in /usr/ports/misc at this time.
 What mailing list should I send this query to?
 Thank's in advance,

 The port was removed because it developed problems but had no
 maintainer.  Please submit a PR requesting the obsolete fortune entry
 be removed.

It was done a couple of weeks ago:
conf/122296
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Tracking base system and kernel updates/vulnerabilities

2008-04-15 Thread Lowell Gilbert
Anselm Strauss [EMAIL PROTECTED] writes:

 is there a tool, like portaudit for the ports tree, to track updates
 and/or vulnerabilities for the base system and the kernel? What I'm
 looking for is a tool that will check my current installation against
 a specific checkout of the CVS source and kernel trees considering a
 specific CVS tag and inform me where my system is outdated and
 vulnerable. I don't know if this is even possible by just having the
 CVS trees ...

 For the kernel, is there something like a linear version number in the
 -STABLE branches? I noticed there's a pX in the kernel version for
 release kernels. How do I for example compare the currentness of two
 7.0-STABLE kernels if I don't know from what source they were build?

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


Re: Is there a way to fix this or not?

2008-04-09 Thread Lowell Gilbert
Eduardo Cerejo [EMAIL PROTECTED] writes:

 I'm running FBSD 7-stable and I'm trying to portupgrade nautilus and I'm 
 getting this error:

 ./usr/local/sbin/portupgrade:842:in 
 `get_all_depends': recursive dependency (RecursiveDependencyError)
   from /usr/local/sbin/portupgrade:865:in `get_all_depends'
   from /usr/local/lib/ruby/1.8/set.rb:189:in `each'
   from /usr/local/lib/ruby/1.8/set.rb:189:in `each_key'
   from /usr/local/lib/ruby/1.8/set.rb:189:in `each'
   from /usr/local/sbin/portupgrade:864:in `get_all_depends'
   from /usr/local/sbin/portupgrade:865:in `get_all_depends'
   from /usr/local/lib/ruby/1.8/set.rb:189:in `each'
   from /usr/local/lib/ruby/1.8/set.rb:189:in `each_key'
... 26 levels...
   from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize'
   from /usr/local/sbin/portupgrade:229:in `new'
   from /usr/local/sbin/portupgrade:229:in `main'
   from /usr/local/sbin/portupgrade:2173

 I ran pkgdb -fF and nothing, no issues found, I suspect that I, possibly made 
 a mistake by choosing the wrong dependency, handling cyclic dependencies last 
 week which included nautilus, how can I rebuild all the dependencies in my 
 ports installed if that's even possible!  Or somehow fix this problem.

Well, it's always *possible*.  You can remove nautilus and everything
that has nautilus in its dependency list (and everything that should
have it), then rebuild.

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


Re: How do i install c-scope in freeBSD server?

2008-04-09 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

 How do i install c-scope in freeBSD server?

It is in ports: devel/cscope

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: restore various level dump files

2008-04-07 Thread Lowell Gilbert
C Thala [EMAIL PROTECTED] writes:

 If i have 3 dump(1)-files from a filesystem and restore them via
 restore -i -f dump-file, how do I layer them together?

 That is, how do I tell restore that I want to restore a level 0, 1, and 2?

 Do I run restore -i -f dump-0 and then restore -i -f dump-1 and
 then restore -i -f dump-2 in that order?

 Is there some way I can tell restore that more than one level is available?

 restore -i -f dump-0 -f dump-1 -f dump-2 doesn't work.

 If I restore a level 0 and then a level 1, will the level 1 delete
 files that were removed when the level 1 was taking (like rsync -a
 --delete) or do I get a bunch of stale files lying around?

In interactive mode, you are in control of what gets restored, so
stale files can definitely get left behind.  If you want to take full
advantage of backup levels, you're best off doing a full restore on a
pristine filesystem, then working with that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: wireshark

2008-04-07 Thread Lowell Gilbert
FreeBSD.Arno [EMAIL PROTECTED] writes:

 I installed wireshark on my computer and got this error trying to run
 it:

 /libexec/ld-elf.so.1: /usr/local/lib/libhx509.so.2: Undefined symbol
 oid_id_pkcs1_rsaEncryption

That library doesn't even exist on my machine that has wireshark
installed from ports.

 I've found some posts of people reporting the same problem, but none
 of them mention a solution.
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg10746.html

 Did anyone solve this problem yet?


 uname -a:
 FreeBSD ip 7.0-STABLE FreeBSD 7.0-STABLE #18: Mon Mar 31 17:48:52
 CEST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/KERNEL_7  i386

Figure out where that library comes from, and rebuild it and maybe its
dependencies? 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: openoffice.org-2.4.0_2 hanging

2008-04-07 Thread Lowell Gilbert
Wojciech Puchar [EMAIL PROTECTED] writes:

 openoffice.org-2.4.0_3 fixed it for me without any special settings.

 i will keep existing. waiting another 1.5 day to compile isn't fun.
 And my laptop drive may not be able to survive another swapping during
 this - on 256MB RAM

_3 includes a fix specifically for this problem.
(see 
http://www.freebsd.org/cgi/cvsweb.cgi/ports/editors/openoffice.org-2/Makefile?rev=1.299)

But I wouldn't be willing to build OpenOffice on 256 MB of RAM either;
maybe you can find someone else to build it for you?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Brother 540CN with freeBSD

2008-04-07 Thread Lowell Gilbert
Erwan David [EMAIL PROTECTED] writes:

   I have a brother 540CN printer (network connected). Is it
 possible to use it from freeBSD, directly or by sharing it on a mac ?

The current version of MacOS seems to come with drivers for it, so
that route will surely work fine (for printing, at least).  

I don't have one, though; someone who does will surely know more.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: wireshark

2008-04-07 Thread Lowell Gilbert
FreeBSD.Arno [EMAIL PROTECTED] writes:

 Hi Lowell, thanks for your response,

 On 7 apr 2008, at 16:23, Lowell Gilbert wrote:

 FreeBSD.Arno [EMAIL PROTECTED] writes:

 I installed wireshark on my computer and got this error trying to run
 it:

 /libexec/ld-elf.so.1: /usr/local/lib/libhx509.so.2: Undefined symbol
 oid_id_pkcs1_rsaEncryption

 That library doesn't even exist on my machine that has wireshark
 installed from ports.

 that's strange... what version do you run?
 i have version 0.99.8

I don't run it, I just built it long enough to check for you.

 I just did a make config, disabling everything and 'make install clean'

 even now:
 [EMAIL PROTECTED] ldd /usr/local/bin/wireshark | grep libhx509
   libhx509.so.2 = /usr/local/lib/libhx509.so.2 (0x2a69b000)

I used the default configurations:
# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for wireshark-0.99.8_2
_OPTIONS_READ=wireshark-0.99.8_2
WITHOUT_RTP=true
WITH_SNMP=true
WITH_ADNS=true
WITH_PCRE=true
WITH_IPV6=true


 I've found some posts of people reporting the same problem, but none
 of them mention a solution.
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg10746.html

 Did anyone solve this problem yet?


 uname -a:
 FreeBSD ip 7.0-STABLE FreeBSD 7.0-STABLE #18: Mon Mar 31 17:48:52
 CEST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/KERNEL_7  i386

 Figure out where that library comes from, and rebuild it and maybe its
 dependencies?


 i found there's a bug reported here for subversion, but i don;t have
 that installed
 http://www.freebsd.org/cgi/query-pr.cgi?pr=118310

 i also found heimdal using this it an people reporting he same error
 i installed heimdal but the problem remained the same

 i'll try to figure out why wireshark needs this lib on one machine and
 not on the other...

The key clue is probably in what provides that library.  Which is
Heimdal, so that *should* provide the library.  

Did you install wireshark from a package?  That may have been built
with a different set of options and/or for a different FreeBSD release.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error fatal_tls

2008-04-05 Thread Lowell Gilbert
Ruel Luchavez [EMAIL PROTECTED] writes:

 can anyone help me whats the meaning of this error? I always have this every
 minute

 mail pop: fatal_error: tls_start_servertls() failed

 How to get rid of this error? PLEase

 Thanks in advanced

This is coming from your POP server.  Without knowing which server
software you are using, we can't help much.  

However, it is possible that the server software is expecting TLS
support from a port that isn't installed or isn't installed properly.
Look at the dependencies of your POP port.

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


Re: Local package mirror

2008-04-05 Thread Lowell Gilbert
Subhro [EMAIL PROTECTED] writes:

 I am trying to get a Network install working on my local network. I
 have been able to successfully create a NFS export of the installation
 disk and perform a install from there. The target machines boot over
 PXE and fetch stuff from the NFS.

 However I am unable to figure out how to get the packages working. I
 have a list of about 180 packages which needs to be installed. But I
 am unable to figure out how to go about it. I would like to use
 precompiled packages, but the CD do not contain the packages I am
 looking for. One of the option is to mirror the whole package
 directory from the freebsd mirrors, but that story involves a lot of
 data transfer and bandwidth. Is there something obvious I am missing?

 Any help would be highly appreciated.

There are a number of ways to do this general sort of thing.  For the
base system approach, with pkg_add(1), setting PACKAGEROOT (or
possibly PACKAGESITE depending on exactly how you configure the server
for network fetch, or PKG_PATH if the clients have the NFS directory
mounted) should be good enough.

On the other hand, the way I do it is to have a master server, where I
build everything (or fetch everything, if I don't want to build it
myself).  Then the other machines mount /usr/ports from the master
server.  I use portupgrade to do the installs from the clients, which
knows how to use packages when available locally and only fetch them
if they aren't.

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


Re: need confirmation of documentation problem for times(3)

2008-04-04 Thread Lowell Gilbert
Viktor Štujber [EMAIL PROTECTED] writes:

 I have been forwarded to this list from a docs bugreport
 * http://www.freebsd.org/cgi/query-pr.cgi?pr=122359
 and I am looking for confirmation of this issue.

 Transscript:
 The freebsd manpages for 'clock_t times(struct tms *tp)' say the following:

 The times() function returns the value of time in CLK_TCK's of a second since
 0 hours, 0 minutes, 0 seconds, January 1, 1970, Coordinated Universal Time.
 But after letting a sample C program print the returned value, it matches
 the system's uptime (in clock ticks).

 I would like to ask the bsd devs to clarify whether this is
 a documentation problem, or an implementation problem.

According to /usr/src/lib/libc/gen/times.c (and my understanding of
the way it uses clock_gettime()), it looks like the documentation
matches what the code is intended to do.  If there is a problem, it is
probably in clock_gettime().  

Note that times(2) is a deprecated function, and *either* behaviour is
acceptable according to the standards which applied before it was
deprecated.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: laptop won't boot w/o ac adapter plugged in

2008-04-04 Thread Lowell Gilbert
std [EMAIL PROTECTED] writes:

 I have a newish laptop hp tx1320us with FreeBSD rel. 70 build.  If I don't 
 have the power cord plugged in, the system hangs at 

 Entropy harvesting: ethernet point_to_point

 If tap the power/reset slider on the case, it prints the following:

 load: 2.40 cmd: dd 71 [running] 0.00u 0.00s 0% 744k

 Is this a power management issue (apm OR acpi)?  Plugged in, it boots fine.  
 Is there, hopefully some toggle to tell it what to do when its plugged in or 
 not?

It looks like it's actually the entropy process copying from
somewhere.  You might try disabling the serial port (which might not
be powered on battery?) to see what effect that has.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kldload: unexpected relocation type 10

2008-04-03 Thread Lowell Gilbert
Mr Y [EMAIL PROTECTED] writes:


   I really don't know how to get rid of this message..
 
  I get millions of these during kldload of a driver:
 
  kldload: unexpected relocation type 10
 
  can't see anything wrong with my Makefile, like the google threads say,
 so
  PLEASE HELP.

 The kernel module was built along with the kernel?


 No, seperately.



 Does it matter which module, or are you getting this with any loadable
 module?


 didn't try any other module, this driver is my first work with FreeBSD..

I see.  I had not understood that the module was something you were
writing.  

You might want to try freebsd-hackers.  I'm a bit out of date on
kernel coding (in fact, I thought that relocations weren't needed any
more, at least on new platforms).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which one should I use diablo-jdk1.5.0 or jdk-1.6

2008-04-03 Thread Lowell Gilbert
Don't top-post, please.

Kemian Dang [EMAIL PROTECTED] writes:

 I want to write Java program, so I want to find which one should I
 use, to avoid situation that my code can not be compiled and run on
 another machine.

So it isn't really a question of diablo versus regular port, you're
trying to choose between java 1.5 and 1.6.  

For maximum portability, I would recommend installing both, and making
sure your code runs on both.

 On 02/04/2008, Lowell Gilbert [EMAIL PROTECTED] wrote:
 Kemian Dang [EMAIL PROTECTED] writes:

   I am not sure which version of jdk should I use, do they have the same
   functionality?
  
   I know jdk-1.6 is compiled by diablo-jdk and has no run dependency on
   diablo, but if diablo is the same as the original sun jdk, why should
   there be another one, or to say, why I need to install another one?
  
   So, any suggestions?


 If you're not writing java code yourself, the differences will
  probably be quite small.

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


-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kldload: unexpected relocation type 10

2008-04-02 Thread Lowell Gilbert
Mr Y [EMAIL PROTECTED] writes:

 I really don't know how to get rid of this message..

 I get millions of these during kldload of a driver:

 kldload: unexpected relocation type 10

 can't see anything wrong with my Makefile, like the google threads say, so
 PLEASE HELP.
  
The kernel module was built along with the kernel?  
Does it matter which module, or are you getting this with any loadable
module? 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which one should I use diablo-jdk1.5.0 or jdk-1.6

2008-04-02 Thread Lowell Gilbert
Kemian Dang [EMAIL PROTECTED] writes:

 I am not sure which version of jdk should I use, do they have the same
 functionality?

 I know jdk-1.6 is compiled by diablo-jdk and has no run dependency on
 diablo, but if diablo is the same as the original sun jdk, why should
 there be another one, or to say, why I need to install another one?

 So, any suggestions?

If you're not writing java code yourself, the differences will
probably be quite small.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pkgdb -F question

2008-04-02 Thread Lowell Gilbert
Eduardo Cerejo [EMAIL PROTECTED] writes:

 ---  Checking the package registry database
 Cyclic dependencies: gnome-desktop-2.22.0 - nautilus-2.22.1 - eel-2.22.1 - 
 py25-gnome-2.22.0 - tracker-0.6.2_2 - (gnome-desktop-2.22.0)
 Unlink which dependency? (? to help):

 Can someone help me with this, I'm totally confused with this!  How do I find 
 out which one to unlink?

You can trace it through the Makefiles if you want.
In this case, I suspect (but am too lazy to check) that the last
dependency is the one to remove.

I got into one of these cases recently, and took the lazy approach of
just removing all the dependencies and rebuilding their ports to get
them right.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: default font select

2008-03-31 Thread Lowell Gilbert
doug [EMAIL PROTECTED] writes:

 I am running xorg-6.9.0 and FreeBSD 6.1-STABLE. I seem to have broken
 the ability to select the font size in xterm via ctrl-right-click. The
 menu I now get:

VT Fonts (no-apps defaults)
font1
font2
font3
font4
font5
font6
fontescape
fontsel
  :

 rather than the normal default. So far I can not find a difference
 between a working and a nonworking install. Thanks for any
 suggestions. I think I must have deleted a resource file. If so
 however, it is not owned by my userid

 Thanks for any pointers.

That's typically set through X resources.  
I thought there were defaults compiled in.
You can set your own values with xrdb (usually done with a login script).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: www/flock port fails to install

2008-03-27 Thread Lowell Gilbert
Chad Perrin [EMAIL PROTECTED] writes:

 On Mon, Jan 28, 2008 at 04:48:49AM -0700, Chad Perrin wrote:
 On Mon, Jan 28, 2008 at 06:41:46AM -0500, Gerard wrote:
  On Mon, 28 Jan 2008 11:57:07 +0100
  Pieter Baele [EMAIL PROTECTED] wrote:
   
   When there are (security) vulnerabilities, ports won't install.
   You can override this, but I don't remember how.
   (and I don't want to know it as I trust FreeBSD package
   maintainers ;-)
  
  Place this in the /etc/make.conf file:
  
 DISABLE_VULNERABILITIES=yes
  
  Use at your own peril.
 
 Considering there is a version 1.0.7 of Flock, and the security warning
 is for versions  1.0.2, my preference would be to simply install a
 secure version (preferably without having to rely on Linux compatibility
 libraries).  Is this not currently possible in FreeBSD for some reason?

 Since I didn't get a response to this question before, I figured I'd just
 call attention to it again.  Does anyone know of any reason there
 shouldn't be a version of www/flock newer than 1.0.2 in ports?

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


Re: FreeBSD 7: Xorg Failed to load module neomagic (Module does not exist, 0) No drivers available

2008-03-25 Thread Lowell Gilbert
Pedro Alves [EMAIL PROTECTED] writes:

 I found this error after making a fresh install of freeBSD7 into my IBM
 THINKPAD600 that has a neomagic graphic card. I never had such problems
 with FreeBSD 6.3.

 Where I find the drivers for the card and how to implement that?

x11-drivers/xf86-video-neomagic perhaps?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cvsup will not speak to me :Connection refused

2008-03-24 Thread Lowell Gilbert
Jim Pazarena [EMAIL PROTECTED] writes:

 I have a bank of 8 servers, all which do cvsup regularly for ports.

 I am recently going thru an upgrade to FreeBSD 7.0, and in a cvsup
 with server #5, I get :Connection refused

 I cannot figure out why this machine would be refused, when the other
 4 upgrades to 7.0 work as expected. I use the same routine to do all my 
 cvsuping.

 I thought perhaps the IP # of this machine has been blackballed, so I changed
 it, and I still get refused.

 I run:  cvsup -g -L2 ports-supfile

   I use  cvsup17.us.FreebBSD.org (altho I have tried many incantations 
 cvsup1, 2, etc).

 I receive every time:
 Cannot connect to cvsup17.us.FreeSD.org: Connection refused

 I would appreciate anyone's suggestion on what to try.
 signed: perplexed.

Try netcat or telnet to see what you get when a connections to cvsupd
is initiated...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: instalation problem - unable to find device node

2008-03-24 Thread Lowell Gilbert
Don't top-post, please.

javo [EMAIL PROTECTED] writes:

 of course, I have writen it down and mailed to the conference :)

I asked because there is no such thing as  /dev/x as far as I can
tell.  I thought it might have stood for something else.

 2008/3/22, Lowell Gilbert [EMAIL PROTECTED]:

 javo [EMAIL PROTECTED] writes:

  I'm newbie to FreeBSD, I tried to install it month ago and everything
 was
  OK, freeBSD was the only system running,
 
  later, I've installed windows and gentoo, and I've left space for
 FreBSD,
  now during the instalation I got this error after configuring my disk
  partitions,
 
  unable to find device node for /dev/x in /dev! and instalation won't
  continue


 Is that literally what it says?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make readmes errors

2008-03-24 Thread Lowell Gilbert
fire jotawski [EMAIL PROTECTED] writes:

 my machine is FreeBSD siting.oaep.go.th 7.0-RELEASE FreeBSD 7.0-RELEASE #3:
 Fri Mar  7 03:20:47 ICT 2008
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SITING
 i386
 i try making README.html for all ports but get errors at the last state as

 Creating README.html for all ports
 /usr/ports/Tools/make_readmes : Permission denied
 *** Error code 126

 please help me in makeing readme.html
 thanks in advance for any hints.

Sounds like the user running the command doesn't have permissions to
write into the port directories.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg crashing randomly

2008-03-24 Thread Lowell Gilbert
Ghirai [EMAIL PROTECTED] writes:

 Hello list,

 Lately Xorg (log file says X.Org X Server 1.4.0') seems to crap out randomly,
 sometimes after a few hours, sometimes after a few days.

 I'm running 7.0-RELEASE, custom kernel (ULE scheduler and unneeded drivers 
 removed, everything else is default), and nvidia driver (latest).

 There's nothing in messages, nor in the xorg log file, except:

 ---
 Fatal server error:
 Caught signal 11.  Server aborting
 ---

 I don't know what other info i should give, there isn't much (if anything) in 
 the log files.

 I might add that i've tested the RAM, plus the rest of the system is ok.

 Any ideas are appreciated.

Can you connect the symptoms to anything that happens on the system?  
Does it only happen when the server is in active use?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports fetch timeout

2008-03-24 Thread Lowell Gilbert
Sys Admin [EMAIL PROTECTED] writes:

 I've been trying to install a bunch of packages on a freshly built
 7.0-REL machine.  The ports make install command has been
 consistently failing to download files from ftp servers on Internet.
 I can however ftp to the servers and get the files manually into
 /usr/ports/distfiles directory, and then the port installation is able
 to continue just fine.

 I have no firewall on my network and as seen above, am able to FTP
 files down using the command-line ftp client.

 Is there any fetch related setting that's preventing the downloads?
 Or are there any environment variables to be configured for this to
 work?  Any config for the ports sub-system?

Fetch can be affected by a number of environment variables.  See the
manuals [fetch(1) and fetch(3)] for more information on that.

You may find it informative to use fetch from the command line,
instead of ftp.  If the same problems occur in interactive mode, you
will probably find it much easier to determine why.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make readmes errors

2008-03-24 Thread Lowell Gilbert
fire jotawski [EMAIL PROTECTED] writes:

 On Mon, Mar 24, 2008 at 9:58 PM, Lowell Gilbert 
 [EMAIL PROTECTED] wrote:

 fire jotawski [EMAIL PROTECTED] writes:

  my machine is FreeBSD siting.oaep.go.th 7.0-RELEASE FreeBSD 7.0-RELEASE#3:
  Fri Mar  7 03:20:47 ICT 2008
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SITING
  i386
  i try making README.html for all ports but get errors at the last state
 as
 
  Creating README.html for all ports
  /usr/ports/Tools/make_readmes : Permission denied
  *** Error code 126
 
  please help me in makeing readme.html
  thanks in advance for any hints.

 Sounds like the user running the command doesn't have permissions to
 write into the port directories.



 no sirs, i use root account for running that command.  anywym i try running
 again with user root.

Even for the root user, there are other possible privilege problems.
You could be running over NFS, with the UID getting remapped.  
There could be file flags set on some of the files you are changing.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Build: mtree: line 48: unknown group games

2008-03-24 Thread Lowell Gilbert
Kyrre Nygård [EMAIL PROTECTED] writes:

 mtree: line 48: unknown group games
 *** Error code 1

 Is the games account really that important?

It isn't very important in itself, but having the group and user
present for a gid and uid that are in use is a bad idea.  Having them
there when not in use is relatively innocuous.

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


Re: instalation problem - unable to find device node

2008-03-22 Thread Lowell Gilbert
javo [EMAIL PROTECTED] writes:

 I'm newbie to FreeBSD, I tried to install it month ago and everything was
 OK, freeBSD was the only system running,

 later, I've installed windows and gentoo, and I've left space for FreBSD,
 now during the instalation I got this error after configuring my disk
 partitions,

 unable to find device node for /dev/x in /dev! and instalation won't
 continue

Is that literally what it says?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports / easiest way to install older version when new is marked as ignored?

2008-03-22 Thread Lowell Gilbert
Zbigniew Szalbot [EMAIL PROTECTED] writes:

 The subject says it all - I have a port which is marked as ignored and
 I am wondering how I can proceed with installing an older version of
 it?

There is portdowngrade, but usually it is appropriate to consider
*why* the port is marked IGNORE.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mtree

2008-03-21 Thread Lowell Gilbert
Robert Huff [EMAIL PROTECTED] writes:

   I know mtree can be used to describe a directory layout, and
 then to re-create that structure.  Is there a place where this is
 described?

I figured out everything I wanted to know from the manual page.  It's
a pretty good manual -- the reason it gives people trouble is just
that there are so *many* different things it can do.

In the EXAMPLES section of its manual, there is a formula for how to
create an /etc/mtree style BSD.*.dist file which is the first half
of what you want.  Offhand, I think mtree -U is enough to mash
everything back to the way the original specification described.

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


Re: Missing /dev/null after few min

2008-03-20 Thread Lowell Gilbert
Matthias Gamsjäger [EMAIL PROTECTED] writes:

 I'm running freebsd for couple of years now and never had really big
 problems but this one I can't solve on my own. Running releng 7 for 6 months
 now but recently after running X for like 10min the systems is missing
 /dev/null. So you can imaging that most programs start complaining about it.
 Right now I recreate it with mknod /dev/null c 1 3 but that's not a real
 solution because it starts to disappear again after few minutes.
 I'm for 99% sure it's not freebsd problem but more a application problem but
 I wonder if anyone ran into the same trouble after upgrading xyz port? Or
 even better has a solution for it?

Yep, something is deleting it.
Something with permissions to delete it, which shouldn't be many
things. First make sure that it has the correct permissions, then
check what's running as root.

You might be able to find a process that has a file handle open on
/dev/null or even on /dev itself, but I'd consider that a long shot.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Urgent: filesystem full, though space is available

2008-03-17 Thread Lowell Gilbert
Dr. Jennifer Nussbaum [EMAIL PROTECTED] writes:

 Hi, Ive got a big problem now on a production server.

 When i do various things, i am getting write failed, file system full
 messages all over the place. Ive gone through and deleted
 things i can, and i should have the space now, but its just
 not available:

 $ df -m
 Filesystem  1M-blocks Used Avail Capacity  Mounted on
 /dev/da0s1a  2015 1858-3   100%/
 /dev/da0s1e 14061 9002  393370%/usr/local
 procfs  00 0   100%/proc

 I dont know what kind of math lets you do 2015-1858 and gives
 you an answer of -3!

 I have softupdates, or whatever, but i dont know how to get 
 it to release this space. I cant reboot the running server.
 I am planning on adding a disc to this system but right now
 i need to get this space released ASAP! Can anyone help?

Please see the FreeBSD FAQ entries on The du and df commands show
different amounts of disk space available. What is going on? and How
is it possible for a partition to be more than 100% full?
-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade -fa after system upgrade from 5.5 to 6.3

2008-03-14 Thread Lowell Gilbert
bsd [EMAIL PROTECTED] writes:

 I have updated from 5.5 to 6.3 and wanted to know if It advisable to
 make a :

 # potupgrade -fa


 Knowing that I have kept my port tree up to date and have no outdated
 ports.


 Simply put, the question is: should I force recompile all my installed
 ports since I have updated my system?

Eventually, yes.  Make sure you do it before you add or update any of
yourinstalled ports.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade -fa after system upgrade from 5.5 to 6.3

2008-03-14 Thread Lowell Gilbert
RW [EMAIL PROTECTED] writes:

 On Fri, 14 Mar 2008 17:59:30 +0100
 bsd [EMAIL PROTECTED] wrote:

  
 Simply put, the question is: should I force recompile all my
 installed ports since I have updated my system?

 In the long term it's a good idea to do it, but there's no hurry
 unless you see a specific library problem. You could just install
 misc/compat5x, wait a bit and then do a portupgrade -f '2008-03-14'
 when most ports have been updated anyway.

The problem with that advice is that it's extremely likely to result
in some ports getting linked against some libraries from 5 and some
from 6, which will probably result in them breaking.  It's a much
better idea to do everything at once in dependency order, before doing
any other kind of port upgrades (or adding new ports, for that matter).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: no ad1s3a,b,d... on ad1s3 after bsdlabel

2008-03-12 Thread Lowell Gilbert
Snow Mountains [EMAIL PROTECTED] writes:

 I try to understand bsdlabel.
 I have former fat slice (ad1s3) on my disk and I want to make several
 BSD partitions on it. I did this:

 # dd if=/dev/zero of=/dev/ad1s3 bs=1k count=1024
 1024+0 records in
 1024+0 records out
 1048576 bytes transferred in 0.318986 secs (3287217 bytes/sec)
 # bsdlabel -w ad1s3
 # bsdlabel -e ad1s3
 (edit)
 # bsdlabel ad1s3
 # /dev/ad1s3:
 8 partitions:
 #size   offsetfstype   [fsize bsize bps/cpg]
   a: 1000   164.2BSD0 0 0
   b: 1000 10164.2BSD0 0 0
   c: 476166600unused0 0 # raw part, don't 
 edit
   d: 27616644 20164.2BSD0 0 0
 # newfs -U /dev/ad1s3a
 newfs: /dev/ad1s3a: could not find special device
 # ls /dev/ad1s3*
 /dev/ad1s3
 #

 What I miss because I don't have ad1s3a,b,d?
 If repeat same procedure on disk (big file) mounted as /dev/md0, a see
 /dev/md0,a,b,d,e... after this group of commands.

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


Re: How do i regularly update my free bsd

2008-03-12 Thread Lowell Gilbert
Dedan Kiruri [EMAIL PROTECTED] writes:

 Hi I would  be interested in getting help through your mailing list  spam
 concerning my free bsd mail server 

 I would like to learn  administration using linux/updating virus definitions
 and scanners.

FreeBSD isn't Linux.  Virus-scanning will be pretty much the same,
though; it depends on the software you install for the purpose, and in
general they'll be available on both.  Did you have a particular one
in mind, or already running?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: IPv6 6to4

2008-03-09 Thread Lowell Gilbert
Ofloo [EMAIL PROTECTED] writes:

 When using 6to4 extensively the system crashes I've never had this with gif
 tunnels though every since I've started using 6to4 and stf interface this
 happens especially when the v6 gateway is unreachable for short time, ..

 I haven't seen the error yet but I do know i had this before,  well it's not
 showing in the /var/log/all.log nor /var/log/messages, however I do remember
 something about non-sleeping thread or something..

 If anyone needs more info let me know I'll be more then happy to provide a
 system to test on if required currently i have 3 exact systems which have
 this issue.

See the kernel debugging section in the Developers' Handbook.

You don't mention what version you're running, but you may want to
update to something recent.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: subversion -make error

2008-03-09 Thread Lowell Gilbert
comperr [EMAIL PROTECTED] writes:

 Hey - when I try make install clean on subversion I get
 sr/local/bin/ifnames-2.61 AUTOM4TE=/usr/local/bin/autom4te-2.61
 AUTORECONF=/usr/local/bin/autoreconf-2.61 AUTOSCAN=/usr/local/bin/
 autoscan-2.61 AUTOUPDATE=/usr/local/bin/autoupdate-2.61
 AUTOCONF_VERSION=261 LIBTOOL=/usr/local/bin/libtool LIBTOOLIZE=/usr/
 local/bin/libtoolize LIBTOOL_M4=/usr/local/share/aclocal/libtool.m4
 lt_cv_sys_max_cmd_len=262144 /bin/sh ./buildconf
 buildconf: checking installation...
 buildconf: python not found.
You need python installed
to build APR from SVN.
 *** Error code 1

 This is when I know I have python installed

Is python installed from the ports system?
What does which python tell you?

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: slow internet - 7.0 release

2008-03-07 Thread Lowell Gilbert
Mitja [EMAIL PROTECTED] writes:

 I started with GreeBSD 7.0 beta3, than RC1 and now I am running Release. 
 Everything works great except Internet (I didn't have problem with beta and 
 RC). It is slow.
 I have standalone comp[uter and as desktop I use KDE. As a browser I prefer 
 Konqueror which is very sloqw on many sites (jpgmag.com for example and many 
 more) and Firefox which is a little faster.

You will need to quantify slow to get much advice here.

Definitely try to get some measurements that aren't dependent on a web
browser. 

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


Re: OT: disk drive question

2008-03-07 Thread Lowell Gilbert
Wojciech Puchar [EMAIL PROTECTED] writes:

 sorry for posting here but possibly someone here will know the answer.

 i have 120GB seagate in my thinkpad. yesterday i (possibly) overheated
 the disk somehow, by putting laptop on flat sticky surface.

 bad blocks developed on one partition like this
 ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR
 error=40UNCORRECTABLE LBA=52944196
 ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR
 error=40UNCORRECTABLE LBA=52955844
 ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR
 error=10NID_NOT_FOUND LBA=52956740


 i was able then (with normal cooling) to back up data from there, and tried

 dd if=/dev/zero of=/dev/partition bs=1m

 to force bad block reallocation.

 but it doesn't work, then reading always shows read errors.

 how to force this, or possibly is there any disk utility that would do this.

 if it requires disk to be cleaned out (reformatted somehow) that's not
 a problem

If you can, try the manufacturer's diagnostics
http://www.seagate.com/www/en-us/support/downloads/seatools/

If not, try plugging the disk in on a working system and use SMART
capabilities to check things out.

Most likely, you need a new disk, but depending on the relative value
of your time and the price of a disk, it's worth checking to make sure
before springing for new gear.

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


Re: sa: user accounting initialization failed - FreeBSD 7-stable

2008-03-04 Thread Lowell Gilbert
George Fazio [EMAIL PROTECTED] writes:

 I'm seeing errors from sa in my daily run output.  I read the man page
 for sa(8) and some of the commands that were referenced under the see
 also section.  I'm completely lost.  Could anyone point me in the
 right direction?

 Here is a snippet of the output from the daily run output

 Rotating accounting logs and gathering statistics:
 sa: converting user accounting stats: Inappropriate file type or format
 sa: user accounting initialization failed

Are you intending to use the system accounting functionality?  If not,
you probably don't need the files in /var/account at all (by default,
there wouldn't be any).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd-update and mergemaster

2008-03-03 Thread Lowell Gilbert
Chris Maness [EMAIL PROTECTED] writes:

 I was wondering if it was possible to use mergemaster with the binary
 update tool.  It seemed like a much better way than freebsd-update
 dumping me into vi.  I don't understand what it wants me to do with
 vi.  Mergemaster is very clear.  Can someone please shed light.

Mergemaster just uses sdiff(1).  Perhaps freebsd-update can be
configured (e.g., with an EDITOR setting) to do 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: 7.0 and fsck question

2008-03-02 Thread Lowell Gilbert
Walker [EMAIL PROTECTED] writes:

 On Sun, Mar 2, 2008 at 5:01 AM, Matthew Seaman
 [EMAIL PROTECTED] wrote:
  Two possibilities:

  i) The root partition wasn't marked dirty at the time your system
 [...]

 The root partition was mounted rw.

 I neglected to mention the box is headless, so I can only see what is
 logged.  I'm guessing syslogd wasn't running when fsck kicked off on
 the root partition.

In that case, you should be able to see it in the dmesg output.
If you still care enough to look.  ;-)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading to 7 from 6.3

2008-02-28 Thread Lowell Gilbert
Dominic Fandrey [EMAIL PROTECTED] writes:

 B. Cook wrote:
 Hello All,

 I was going to try and update a box from 6.3 to 7 via buildworld all
 32 bit, nothing 64.

 Assuming it should be done like this:

 make buildworld
 make buildkernel
 mergemaster -p
 make installkernel
 (reboot)
 (startup on 7 kernel)
 make installworld
 mergemaster (do full mergemaster)
 make installworld
 (reboot)

 (make sure all is working in 7 then do it all again; just to be sure)
 make buildworld
 make buildkernel
 make installkernel
 make installworld


 Sound about right? or too redundant?

 Thanks in advance.

 The doing it all again part might bring some very slight performance
 improvements due to the compiler change.

It *shouldn't* make any difference; buildworld bootstraps its own
compiler as one of the first things it does.

None of the steps really need to be done more than once.  The
redundancy as described isn't harmful, either.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: libc5 on freebsd 6.3

2008-02-19 Thread Lowell Gilbert
[EMAIL PROTECTED] writes:

 Thank you for your response, but it doesn't really help with the situation,
 besides the software I'm talking about has been recompiled many time over
 since the upgrade.  Just to make sure, I recompiled again and it linked to
 both libc5 and libc6 right away. That's my issue.

Yes, but did you recompile all of the ports libraries that the
application links to?  Any of *them* could be the problem too.

 [EMAIL PROTECTED] wrote:
 after several years of relatively trouble free system ( 5  6.3 ) and
 port
 upgrades, I started having some issues with timesieved daemon of cyrus
 imap.
 nothing in the software configuration has changed, but the cyrus port
 was
 recently upgraded ( around the same time that the system was upgraded
 from
 6.2 to 6.3 )

 the only thing that looks suspicious is the fact that most ( or all )
 cyrus binaries are linked to both libc5 and libc6.  in fact, after some
 digging around, I discovered that many other binaries on the system seem
 be linked to both libraries. I suspect that libc5 is the remnant of 5x
 installation.

  What's the safest thing to do ?

  remove libc5 and link libc5 to libc6  ?

 rebuild affected software ? ( couldn't find a relevant make.conf option,
 so what might a flag like that look like ? WITH_LIBC_VER=6   ?

 You have to recompile all your installed ports as part of your upgrade
 to a new version of FreeBSD (e.g. 5.x - 6.x, 6.x - 7.x, etc).  The
 only reason this is necessary is to prevent this kind of problem from
 creeping in as you incrementally rebuild your ports over time.  Binaries
 linked to incompatible or inconsistent sets of libraries like two
 different versions of libc will behave unpredictably and may crash.  No
 special care needs to be taken when recompiling, just make sure to
 recompile everything (portupgrade -fa or -faPP or similar).

 Kris





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


-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: tar backup script

2008-02-14 Thread Lowell Gilbert
Steel City Phantom [EMAIL PROTECTED] writes:

 this isn't really bsd specific but i still need help with it.  im writing a
 backup script  a clip from that script is this:

 find /usr/local/www/data-dist/ -name config.php 
 /usr/local/backupScript/include
 find /usr/local/www/data-dist/ -name ClientFiles 
 /usr/local/backupScript/include

 tar cvf /usr/local/backupScript/files/www-client-files.tar -I
 /usr/local/backupScript/include /usr/local/www/data-dist

 obviously im creating an include file from a directory.  when the tar runs,
 it correctly adds all the files in the include file.  but once that is
 finished, for some reason tar then goes back and adds all the files that are
 in the /usr/local/www/data-dist directory, even the ones in the include
 file.  i was under the impression that the -I command would add ONLY the
 files that are listed in the include.  why is it adding those and then after
 finishing that, adding all the others?

You specified /usr/local/www/data-dist on the command line, so you get
the directory and everything in it.  The -I command *does* add just
the files in the include file, but then specifying data-dist
explicitly gets everything in it.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel Panic with heavy disk i/o while running on battery

2008-02-13 Thread Lowell Gilbert
Nathan Alan Souer [EMAIL PROTECTED] writes:

 In advance, I appreciate any help that anyone has to offer. When my laptop
 is running on battery and there is heavy i/o on the disk The machine
 kernel panics and reboots. I have updated my base system to current
 (7_releng) just a couple days ago in an effort to resolve this issue, to
 no change.


 Here are the last few lines of the kernel panic (as read through strings):

 panic: initiate_write_filepage: dir inum 1576702754 != new 0
 cpuid = 0
 Uptime: 1h42m24s
 Physical memory: 1003 MB
 Dumping 147 MB: 132 116 100 84 68 52 36 20 4

 Should I just look into disabling acpi?

Do a test with ACPI disabled and see if you can reproduce the
problem.  It probably will make no difference, but it's worth
checking.  If it doesn't affect the outcome, then looking at
more of the panic message would be the next step.  Then doing
kernel debugging (instructions in the Handbook, I think; or
maybe the developers handbook).

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


Re: rc.d scripts not being run at shutdown.

2008-02-12 Thread Lowell Gilbert
RW [EMAIL PROTECTED] writes:

 On Mon, 11 Feb 2008 21:55:28 +
 RW [EMAIL PROTECTED] wrote:

 On Mon, 11 Feb 2008 14:19:21 -0500
 Lowell Gilbert [EMAIL PROTECTED] wrote:
 
  RW [EMAIL PROTECTED] writes:
 
   I could imagine screwing-up the operation of rc.shutdown with a
   syntax error, but I don't see how I could stop it being run at
   all. As I understand it rc.shutdown is run from init if the file
   exists.  init itself doesn't seem to have been modified recently,
   so I'm out of ideas.
  
  rc.subr and rc.conf will be sourced first, so errors in those could
  cause problems.  
 
 That's a good point, but I just tried it with an rc.shutdown script
 that contains only the touch statement, and the file wasn't touched
 (and I have tried running the touch manually).
 
 I should also add that this problem has survived a world+kernel
 rebuild to 7.0-RC2, which included the use of mergemaster. All the
 scripts under /etc should be the ones in the repository.

 And now I come to think about it, I was tinkering with a random number
 script at the exact time the entropy file was written-out, and I'm
 pretty certain I wrote it myself. That means I have no evidence that
 rc.shutdown has worked at all since I installed FreeBSD 7 in early
 December.

So rcorder isn't being run on rc.d either?  Weird; I can't see what
could cause that.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Uninstalling a port

2008-02-11 Thread Lowell Gilbert
Darryl Hoar [EMAIL PROTECTED] writes:

 I have Freebsd 6.3-release installed on my server.  I used ports 
 to install mysql 4.0 on this machine.  Turns out, I really need
 mysql 4.1.  What is the proper technique to remove the mysql 4
 and then install mysql 4.1 ?

 I tried make deinstall, but it says it doesn't know how.

Can you quote the error message exactly?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem while stoping a service using script

2008-02-11 Thread Lowell Gilbert
lokesh babu [EMAIL PROTECTED] writes:

 i want to know how to stop a service from a script
 this is the sample script to stop and start a service in linux,when i kept
 faststart then starting a service is working in freebsd similarly i want to
 know what to do inorder to stop a service in freebsd.

 start|--start | faststart)
 do_start
 ;;
 stop|--stop)
 do_stop

The easy way to do this is to fit it into FreeBSD's rc.d system, which
is slightly different in detail than the way Linux does such things.

You might want to start with man rc.d.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RAM disk size limit

2008-02-11 Thread Lowell Gilbert
Xinyu Dong [EMAIL PROTECTED] writes:

 Hello:
 RAM disk to root file system.
 I would like to use in embedded FreeBSD, and the creation of a 64 MB memory
 disk, and all normal, but 128 MB RAM disk at the time of always
 automatically restart.
 Loader in the configuration file, use or use md_image mfs_root?
 How to resolve this problem, thanks.

What did you try the first time, and at what point did it cause a restart?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: rc.d scripts not being run at shutdown.

2008-02-11 Thread Lowell Gilbert
RW [EMAIL PROTECTED] writes:

 On Sun, 10 Feb 2008 04:02:15 +
 RW [EMAIL PROTECTED] wrote:

 
 Afer putting in some extra logging to check something, I've just
 noticed that my rc.d scripts are not being run at shutdown. 
 
 By way of confirmation, my entropy file, which is written out by an
 rc.d script, has not been written to for a week (I shut-down most
 nights). I don't recall doing anything then. 
 
 I put a touch on the second line of rc.shutdown, and it never got
 invoked. 

 I could imagine screwing-up the operation of rc.shutdown with a syntax
 error, but I don't see how I could stop it being run at all. As I
 understand it rc.shutdown is run from init if the file exists.  init
 itself doesn't seem to have been modified recently, so I'm out of ideas.

rc.subr and rc.conf will be sourced first, so errors in those could
cause problems.  Is anything showing up in the log?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: why does linux-base-f7 exist if the binary compatibility is to a kernel too old to run it? (and how to change that?)

2008-02-08 Thread Lowell Gilbert
Steve Franks [EMAIL PROTECTED] writes:

 But there are sites (such as this one:
 http://www.linux.com/feature/53055) that talk about actually using
 linux_base-fc8 (which I can't even find on 7.0rc1).  How is that
 possible if the kernel is too old for it?

That was linux_base-8, not linux_base-fc8.
Very different thing.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: /usr/local/etc/rc.d/ scripts and non-root user

2008-02-06 Thread Lowell Gilbert
Zbigniew Szalbot [EMAIL PROTECTED] writes:

 I have looked at my /usr/local/etc/rc.d/ and realized that the symlink
 I put there has the root as owner. It all works but I would rather use
 a non-root user for to run that script.

 $ ls -l /usr/local/etc/rc.d/
 lrwxr-xr-x  1 root  wheel40 May  9  2007 sender.sh -
 /usr/home/api/sender/start.sh

 So I tried:
 $ sudo chown api /usr/local/etc/rc.d/sender.sh

 No error but no change either. The original start.sh file has user api
 but the symlink is owned by root.

 How can I make sure that the file is indeed run as user api?

I prefer to use cron(8) for this (it has an @reboot value for the
crontab files), but for using startup scripts, I think the best way is
to use su(1) in the script to execute particular commands.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Oops

2008-01-31 Thread Lowell Gilbert
Darryl Hoar [EMAIL PROTECTED] writes:

 Greetings,
 am setting up gmirror and screwed up my fstab.  When rebooting,
 it complains until I tell it the root device:
 ufs:/dev/mirror/gm0s1a

 it boots up and dumps me into single user.  When I try to change
 /etc/fstab, it tells me that the parition is mounted read only.

 How can I get things so I can change the /etc/fstab file ?  

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#RCCONF-READONLY

 I looked on freebsd.org for a live cd, but didn't find one.

The install CD is bootable, and has a fixit mode.
But you would still need to mount your root partition writable...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RELENG_6_3 build fail -- signal 13 consistently

2008-01-25 Thread Lowell Gilbert
Brian A. Seklecki [EMAIL PROTECTED] writes:

 This is 6.3/amd64 release as a guest inside a vmware server (free) host:

  === gnu/usr.bin/binutils/ar (install)
  install -s -o root -g wheel -m 555   ar /opt/relchroot/usr/bin
  *** Signal 13

 Make.conf has some sparing NO_ knobs set and:

   COPTS=-pipe
   CFLAG=-pipe

CFLAGS rather than CFLAG?  COPTFLAGS rather than COPTS?

13 is SIGPIPE, so one of those is probably related.
If you are setting CPUTYPE, don't set those, as you're overriding
default settings...

When you say consistently do you mean consistently in the same place?
If not, that would be very different than I'm interpreting the situation.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mkisofs and timestamps in ISO-9660 filesystems

2008-01-25 Thread Lowell Gilbert
Bob Johnson [EMAIL PROTECTED] writes:

 6) Now when I look at the dates on the ISO filesystem, they are wrong. They 
 look like the correction for offset from GMT has been applied twice. Note 
 that the correct local timestamp for the file on the ISO filesystem is  Jan 
 23 21:28 and the correct GMT timestamp is Jan 24 02:28.

I specify a TZ variable directly when I care about mkisofs getting the
right times.  Even so, I can get confused, so when the dates
*really* matter, I write a tar file on the 9660 filesystem, and then
everything works the way my hindbrain expects.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Limit UDP packets

2008-01-25 Thread Lowell Gilbert
Thiago Pollachini [EMAIL PROTECTED] writes:

 Does anybody tried to limit udp connections, like ipfw limit ?
 I was searching about and only on linux it's possible. Is it true?
 Can anyone give me a clue?

ipfw limit doesn't work with UDP?
I don't have a setup at the moment to experiment, but it looks like it
should work...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sendmail local only.....

2008-01-23 Thread Lowell Gilbert
Agus [EMAIL PROTECTED] writes:

 2008/1/22, Lowell Gilbert [EMAIL PROTECTED]:

 Agus [EMAIL PROTECTED] writes:

  Just trying to make sendmail work locally only.And by that i mean, i
  dont want sendmail to be able to relay or send mail to any other machine
  except for localhost
 
  How can i do this? I mean is there a way on rc.conf or i need to touch
 the
  cf??

 This is a very standard thing to do.  See man 8 sendmail.conf
 (as recommended by the rc.conf(8) manual).



 There is no man for sendmail.conf, nor sendmail.cf.
 The rc.conf only mentions the rc.sendmail...

My apologies.  That is, indeed, what I meant.

 Giorgos, question...is it needed to put the
 sendmail_submit_enable=YES
 sendmail_msp_queue_enable=YES
 Although they are the default ones?

No.  These are just shell variable assignments.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Sendmail local only.....

2008-01-22 Thread Lowell Gilbert
Agus [EMAIL PROTECTED] writes:

 Just trying to make sendmail work locally only.And by that i mean, i
 dont want sendmail to be able to relay or send mail to any other machine
 except for localhost

 How can i do this? I mean is there a way on rc.conf or i need to touch the
 cf??

This is a very standard thing to do.  See man 8 sendmail.conf 
(as recommended by the rc.conf(8) manual).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installation freezes

2008-01-18 Thread Lowell Gilbert
Nilesh Bedekar [EMAIL PROTECTED] writes:

 I am trying to install FreeBSD 6.2 on my system with the following
 configuration :
 Intel Core2Duo 2.00 GHz
 Intel 945 Mother Board
 1GB DDR2 Ram (Transcend)
 160 GB SATA Western Digital Hard Drive
 Sony DVD-RW (IDE)
 Realtek RTL 8168 10/100 On-Board Ethernet Controller
 Realtek High Definition Audio (On-Board)

 When I boot using the FreeBSD_Install disc (Disc-1) the system goes to
 Welcome to FreeBSD and if I let it take the default choice of 1 then it goes
 through the Device Probing and then freezes at the following line
 md0:Preloaded Image boot/mfsroot 4423680 bytes at a hex address.
 Nothing happens after this and the system comes to a stand still.
 I would be really greatful if you resolve my issue or give me any advise
 that would help me to get around this issue.

Have you tried letting it boot in the safe (I think that's what it's
called...) mode?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No spam???

2008-01-15 Thread Lowell Gilbert
cpghost [EMAIL PROTECTED] writes:

 On Tue, Jan 15, 2008 at 08:48:32AM -0500, John Almberg wrote:
 I've been doing some more digging since my last post, and have figured out 
 that the spam is not being blocked by pf, as I suspected (since it wasn't 
 showing up in my spam folder), but by spamassassin blacklists.
 
 The smtp log file has lots of entries like:
 
 2008-01-14 09:30:37.074087500 rblsmtpd: 123.20.89.67 pid 72121: 451 
 http://www.spamhaus.org/query/bl?ip=123.20.89.67
 2008-01-14 09:31:05.271514500 rblsmtpd: 58.227.241.97 pid 72122: 451 
 Dynamic IP Addresses See: http://www.sorbs.net/lookup.shtml?58.227.241.97
 2008-01-14 09:31:17.404943500 rblsmtpd: 41.196.155.56 pid 72123: 451 
 http://www.spamhaus.org/query/bl?ip=41.196.155.56
 2008-01-14 09:31:18.304682500 rblsmtpd: 123.20.89.67 pid 72124: 451 
 http://www.spamhaus.org/query/bl?ip=123.20.89.67
 
 So raises the same point that Oliver makes: how trustworthy are these 
 blacklists?

 YMMV, of course!

 I'm using spamhaus.org's blacklists for quite some time (many years)
 to block spam in postfix and they've been VERY trustworthy so far.

 But I can't say the same for the others, which seem occasionally a
 little bit too eager/aggressive and accumulate way too many false
 positives.

The OP was using spamassassin, which can score a mail as more likely
to be spam based on an RBL. This makes even an untrustworthy RBL
useful while still protecting yourself against its mistakes.

For example, I use spamhaus blacklists in postfix myself, but I let
messages come in from SORBS-blacklisted sites.  Then the messages will
get a point or two (of 4 or 5 needed to be marked as spam) as a result
of the SORBS blacklist.

At least, I think I've got the list names correct; I haven't touched
my configurations for either postfix or spamassassin in quite a while.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ImageMagick problem

2008-01-13 Thread Lowell Gilbert
Matiss [EMAIL PROTECTED] writes:

 So sorry, didn't noticed I don't have a subject in original mail.
 Hey all
  Hope this is more or less right place to ask. 
  What I noticed on my FreeBSD 6.2 installation, that 
  pkg_add -r ImageMagick results in a file not found error.
  DTG864# pkg_add -r ImageMagick
  Error: FTP Unable to get

 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/ImageMagick.tbz:
  File unavailable (e.g., file not found, no access)
  same with pkg_add -r ImageMagick-nox11.
  and sure enough, indeed there is no ImageMagick.tbz on freebsd ftp
  server for freebsd version 6. Browsed the net, but couldn't find any
  info on this. 
  Of course I could compile from ports, but that takes too much time.
  So, any ideas, why there is no ImageMagick.tbz, and what shall one
  do? :)

The current state of the port:
http://portsmon.freebsd.org/portoverview.py?category=graphicsportname=ImageMagick

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


Re: Boot Loader Broken?

2008-01-10 Thread Lowell Gilbert
Schiz0 [EMAIL PROTECTED] writes:

 I recently upgraded from 6.3-PRERELEASE to 7.0-PRERELEASE. I had some
 problem with the ports, but I got that taken care of.

 Now I'm having another very odd problem.

 I originally noticed something odd when I tried to shutdown from
 multiuser mode into single user mode. I ran shutdown now as root in
 multiuser. It said it was shutting down, etc. But then, it gave me the
 normal multiuser login prompt. So then I tried rebooting completely,
 and that's where the big error came up:

Note that rebooting completely *is* the normal procedure, so that you
know your kernel boots before you overwrite anything that depends on it.


 -
 FreeBSD/i386 bootstrap loader, Revision 1.1
 ([EMAIL PROTECTED], Tue Jan 8 14:22:21 EST 2008)
 \
 \: unknown command
 -
 /boot/kernel/kernel text=0x29e868 data=0x2db8c+0x23814
 syms=[0x4+0x34c10+0x4+0x43ef1]
 Hit [Enter] to boot immediately, or any other key for a command prompt.
 Booting [/boot/kernel/kernel] in 4 seconds ...
 -

 Why it trying to run the command \ ? Right before I did this, I
 rebuilt world, including the kernel. I installed the new kernel, and
 was moving down to single user to install world.

 Is my bootloader corrupt somehow?

I would suspect something more like some extra text in loader.conf.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mail from: field question

2008-01-09 Thread Lowell Gilbert
Jim Bow [EMAIL PROTECTED] writes:

 I have a small shell script that does a backup to a usb drive and
 emails the results to a set of people. The script is triggered from
 devd (upon drive attachment) and runs as root.

 The problem is that the mail report is sent from an active system user
 and not user root. The user the mail is sent from is not referenced in
 the script. The mail line looks like this:

cat $LOGFILE | mail -s backuptousb report [EMAIL PROTECTED]

 I find this rather confusing since I was expecting the email to be
 sent by the user running the script. How can this be?

 A little research told me that this may be because of something called
 envelope-from, but I found little explanation of what that actually
 means. Anyone have any suggestions?

The answer will probably depend on the MTA you're using (which you
didn't mention, so it's probably sendmail), but checking a couple of
simple things first will help ensure you're at least on the right
track.  Run the script from the command line, and in particular just
call mail the way the script does.  Make sure the results are the same
(if they're not, the MTA isn't the problem).  Then, look in the mail
logs to see what they tell you about the message.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: sendmail is broken, how do I fix

2008-01-03 Thread Lowell Gilbert
Andrew Falanga [EMAIL PROTECTED] writes:


 While you think there is nothing on that port something is running not
 letting that socket connection.  Try rebooting the system and see if the
 problem is still there.

  -Derek


 I did try that too.  Didn't work.

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


Re: Imap authentication

2008-01-01 Thread Lowell Gilbert
Chris Kottaridis [EMAIL PROTECTED] writes:

 I have been using pop to download email messages. I'd like to switch to
 imap.

 My mail server is running FreeBSD 5.3

 The imap executable is in /usr/local/libexec and inetd.conf is setup
 right. I can telnet to port 143 I am talking to the imapd daemon.

 However, I can't seem to get logged in. It seems to not like the
 username and password I provide. I am providing the username and
 password that will work to login interactively to the server.

 I assume there is a different authentication method besides the standard
 password file, but as yet I haven't been able to find what that might
 be.

 Clearly I am missing something here. Any pointers to how to set up imap
 accounts on the mail server would be appreciated.

It depends on the particular IMAP server you are using.  Most of them
will (by default) authenticate against the system password file.

The best hints are probably to be found in the log file, but you might
need to configure the daemon for greater verbosity first.  With dovecot,
I used verbose_ssl = yes to do so.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Port Updates for 6.1

2007-12-31 Thread Lowell Gilbert
Don O'Neil [EMAIL PROTECTED] writes:

 What is the safest and cleanest way to update the ports in /usr/ports for a
 6.1-STABLE install? I don't want to risk breaking anything, I just need some
 updated ports so I can install the latest SpamAssassin port.

http://www.cvsup.org/faq.html#caniadopt

csup(1) should be able to do the same kind of thing.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Imaging to new system

2007-12-31 Thread Lowell Gilbert
Robert Fitzpatrick [EMAIL PROTECTED] writes:

 On Sun, 2007-12-30 at 11:10 -0700, Darren Spruell wrote:
 On Dec 30, 2007 10:54 AM, Robert Fitzpatrick [EMAIL PROTECTED] wrote:
  I have a server running 5.4-RELEASE using RAID-5 on an Intel RAID
  controller that I need to move to faster RAID. Is it possible to image
  or some other way to save the current install and restore after setting
  up the RAID or should I just plan to reinstall everything?
 
 Running dump(8) and restore(8) would allow you to back up and restore
 your system.
 
 http://www.freebsd.org/cgi/man.cgi?query=dump
 http://www.freebsd.org/cgi/man.cgi?query=restore
 
 This is typically used with tape, although you can dump to disk as well.
 
 If your data/system is critical, you ought to already have some backup
 strategy you could restore the system from to your new RAID. If not,
 you might put one in place (RAID != backups).
 

 Yes, of course, we have data backup and can restore after reinstalling
 everything, but I was looking for a complete system restore option. I'll
 look into these docs, thanks. There is no tape system, so I guess the
 only hope is if it can be dumped and restored from an NFS drive. From
 looking at the docs, it does appear this is possible, as long as the
 data in on a fs mounted by fstab?

Another possibility is to dump to stdout, and pipe that over ssh. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NIS Linux - Ubuntu

2007-12-26 Thread Lowell Gilbert
Chad Perrin [EMAIL PROTECTED] writes:

 On Thu, Dec 20, 2007 at 09:32:50AM -0500, Lowell Gilbert wrote:
 RA Cohen [EMAIL PROTECTED] writes:
 
  I am sorry, here is an addendum to my previous post:
 
 Somehow Ubuntu was given root user
   permissions
 
  Actually, upon rereading my notes, Ubuntu was only given permissions of 
  the user doing the login - not root - but we could login with any valid 
  user apparently FreeBSD thought it was presented with a wildcard password.
 
  And I can also verify that FreeBSD clients are able to use the password 
  map when x is used instead of * in the map to represent the password. So I 
  can secure the system using the x but still cannot get Ubuntu clients to 
  authenticate.
 
 Sounds like Ubuntu is using the wrong map, probably one where it's
 getting a different and empty field where it expects to find a password.

 The behavior with an asterisk instead of an X is pretty worrisome,
 however, and is not strictly Ubuntu's fault.  Security of a server should
 not rely on the good will and competence of the client developers.

I agree with the latter sentence, but not the former.  
When using NFS (without Kerberos), it is built into the protocol that
the server trusts the client on the UID/GID.  
That is a good reason not to use NFS in an untrusted environment, but
there really isn't anything FreeBSD can do about it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NIS Linux - Ubuntu

2007-12-20 Thread Lowell Gilbert
RA Cohen [EMAIL PROTECTED] writes:

 I am sorry, here is an addendum to my previous post:

Somehow Ubuntu was given root user
  permissions

 Actually, upon rereading my notes, Ubuntu was only given permissions of the 
 user doing the login - not root - but we could login with any valid user 
 apparently FreeBSD thought it was presented with a wildcard password.

 And I can also verify that FreeBSD clients are able to use the password map 
 when x is used instead of * in the map to represent the password. So I can 
 secure the system using the x but still cannot get Ubuntu clients to 
 authenticate.

Sounds like Ubuntu is using the wrong map, probably one where it's
getting a different and empty field where it expects to find a password.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Does 6.2 Support VIA EPIA M10000G Nehemiah Mini-ITX?

2007-12-20 Thread Lowell Gilbert
Eric Osterweil [EMAIL PROTECTED] writes:

 I just installed 6.2 on a VIA EPIA M1G Nehemiah Mini-ITX.  It all  
 seems to have installed fine, but when I try to buildworld I get  
 internal compiler errors almost immediately.  The problems are not  
 consistently in the same place but they seem to be for the same  
 reason.

Inconsistent compiler errors are almost always a hardware issue.

I have an earlier Nehemiah-class board (possibly the one which yours
replaced), which has been very reliable as my home server for a couple
of years. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Partitions size for 80GB HDD and 2GB RAM

2007-12-20 Thread Lowell Gilbert
Alexander Rudyk (Akvelon) [EMAIL PROTECTED] writes:

 I am planning to install FreeBSD 6.2 on my dell laptop with 80Gb HDD and 2GB
 RAM. FreeBSD will be the only OS on the laptop. Laptop will be used to web
 development (RubyOnRails), entertaiment (photo, music, video),
 web browsing and emailing, so no server side task will be handled.

 How you suggest to split 80GB between partitions to solve all laptop tasks.
 Here is partitions:
 /root
 /var
 /usr
 /home
 /swap

You might want to consider a single partition (other than swap).
The only reason I separate partitions these days is to make backups easier.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


<    2   3   4   5   6   7   8   9   10   11   >