Re: Apache22 + PHP5 installation issues

2006-06-05 Thread bsd
 php 5.1.4 seems currently broken. try portdowngrade to the last 5.1.2
 port.

 Iv.



Many thanks, I'll try that.

Rob


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


Openoffice complete failure?

2006-06-05 Thread Olivier Nicole
Hi,

I just finished installing OpenOffice 2.0.3rc3 from the ports.

1) at starts it complains that:

I18N: Operating system doesn't support locale en_US

2) it keeps on starting on the welcome window, with acceptation of the
   licence and so on.

3) When I try to create and save a simple document it spits at me:

   General input/output error

What is going wrong?

Bests,

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


Simultaneous portupgrade in 2 jails - compilation problem?

2006-06-05 Thread Philippe Lang
Hi,

I'm running FreeBSD 6.0 / jails as a VPS server.

I've just tried doing a portupgrade of mysql-server in 2 jails simultaneously, 
and I noticed compilations problems. The problem must be due to the fact ports 
are only available on the base machine, and mounted in every jail, at 
/usr/ports.

Is there a way to avoid that, without having to manage a private /usr/ports in 
each jail?

--
Philippe Lang, Ing. Dipl. EPFL
Attik System
rte de la Fonderie 2
1700 Fribourg
Switzerland
http://www.attiksystem.ch

Tel:  +41 (26) 422 13 75
Fax:  +41 (26) 422 13 76 


smime.p7s
Description: S/MIME cryptographic signature


Re: staroffice8 port

2006-06-05 Thread dick hoogendijk
On 04 Jun Dave wrote:
 I was wondering if there were any plans to port staroffice8 to
 freebsd?

Why?

We have OpenOffice and that's good enough for me.
What does Star offer that OOo does not?

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 6.1 ++ The Power to Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Automatisch antwoord bij afwezigheid: Delivery reports about your e-mail

2006-06-05 Thread Baeten Jennie

   I will be out of the office on Monday, June 5 and = Tuesday June 6.
   You can always contact Kristine De Vries at +32/3/222 05 = 52
   or [EMAIL PROTECTED]
   Jennie Baeten
   Sr PR Officer-Special Events
   Jennie Baeten


 _

   3D

   HRD - Hoveniersstraat 22 / be 2018 Antwerp / = Belgium
   Tel +32 (0)3 222 05 11 / Fax +32 (0)3 222 06 95
   Visit us at [1]www.hrd.be
 _

   disclaimer: [2]www.hrd.be/disclaimer

References

   1. 3Dhttp://www.hrd.be/;
   2. 3Dhttp://www.hrd.be/disclaimer;
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: portmanager keeps on reinstalling the same port

2006-06-05 Thread Yousef Raffah
On Sun, 2006-06-04 at 17:42 -0400, Gerard wrote:
[...]
  
 I am not sure, but here is where yo could start.
 
 Clear out your /tmp and /var/tmp directory. Next, remove all of the
 special flags in the /etc/make.conf file. Actually, I am not sure if
 that will make a difference, but you have nothing in there that are
 really required. You can leave the cputype flag though as well as the
 ones set by the system, i.e.; perl.
 
Done but without changing my /etc/make.conf

 Now I would recommend rebooting. Again, maybe not really necessary, but
 I have seen where this has made a difference.
 
 Upon reboot, update your ports system completely. I would also suggest
 that you navigate to /usr/ports/distfiles and delete everything there.
 
Done

 I noticed this entry in the 'portmanager' log file:
 
 Sat Jun  3 20:54:33 2006
  options changed so returninglibusb-0.1.12 
 /devel/libusbto out of date pool 
 
 I am not sure exactly what it refers to though. After updating the ports
 tree, navigate to that directory and run as root:
 
 make config
 
After updating to 6.1-RELEASE, this directory /devel is not there!

 Try running portsclean -C again to make sure your ports tree is clean
 and then try building just this one port:
 
 make install  make clean.
 
I did portsclean -C then cd /usr/ports/deskutils/taskjuggler  make
install and this is what I got:

===  Building for taskjuggler-2.2.0
gmake  all-recursive
gmake[1]: Entering directory
`/usr/ports/deskutils/taskjuggler/work/taskjuggler-2.2.0'
Making all in taskjuggler
gmake[2]: Entering directory
`/usr/ports/deskutils/taskjuggler/work/taskjuggler-2.2.0/taskjuggler'
if /bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=compile c++
-DHAVE_CONFIG_H -I. -I. -I..  -I/usr/local/include -I/usr/X11R6/include
-I/usr/local/include  -DQT_THREAD_SUPPORT   -I/usr/local/include
-I/usr/local/include  -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O
-pipe -march=pentium3 -fconserve-space -fno-exceptions -fno-check-new
-fno-common  -MT ProjectFile.lo -MD -MP -MF .deps/ProjectFile.Tpo -c
-o ProjectFile.lo ProjectFile.cpp; \
then mv -f .deps/ProjectFile.Tpo .deps/ProjectFile.Plo; else rm -f
.deps/ProjectFile.Tpo; exit 1; fi
In file included from ProjectFile.cpp:63:
ICalReport.h:19:35: libkcal/calendarlocal.h: No such file or directory
ICalReport.h:20:26: libkcal/todo.h: No such file or directory
In file included from ProjectFile.cpp:63:
ICalReport.h:37: error: `KCal' has not been declared
ICalReport.h:37: error: ISO C++ forbids declaration of `Todo' with no
type
ICalReport.h:37: error: expected `;' before '*' token
gmake[2]: *** [ProjectFile.lo] Error 1
gmake[2]: Leaving directory
`/usr/ports/deskutils/taskjuggler/work/taskjuggler-2.2.0/taskjuggler'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/deskutils/taskjuggler/work/taskjuggler-2.2.0'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/deskutils/taskjuggler.

 Let me know what happens. I will continue to work on this for you. Good
 luck!
 
Thanks a lot :)
 

--
Sincerely,
Yousef Raffah
Senior Systems Administrator
--

Aren't you using Firefox? Get it at http://www.getfirefox.com




signature.asc
Description: This is a digitally signed message part


Re: Hiding dot files with ftpd

2006-06-05 Thread Kyrre Nygard

At 12:25 04.06.2006, Daniel A. Akulenok wrote:

On Sun, June 4, 2006 08:49, Lawrence Horvath wrote:
 On 6/3/06, Daniel A. Akulenok [EMAIL PROTECTED] wrote:
 On Sat, June 3, 2006 22:57, Kyrre Nygard wrote:
 
  What's up all?
 
  Just wondering if it's possible to hide dot files somehow
  with FreeBSD's default ftpd when I invoke it from inetd?
 
  ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l
  ftp stream tcp6 nowait root /usr/libexec/ftpd ftpd -l
 
  Thanks,
  Kyrre
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 Hi Kyrre,
 Files prepended with dots in UNIX operating systems usually symoblize a
 file which is not shown to the user on a regular basis because the user
 will actually not _need_ to know of it's prescense in daily use.
 Therefore, it is entirely up to the FTP client of the user if files
 prepended with dots are shown or not.

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


 Is there a way to get the ftp server to not list the dot prepended
 files? if say you REALLY don't want the client to see the files, can
 you get the server to not send it in a list reply? and by the same
 means could you get the server to not list dirs as well?(that was just
 being my curiosity)

 --
 -Lawrence

As far as I know, you can only achieve that by hacking the ftpd itself. If
you want users to only be able to see a certain set of files, you should
create a user with ftproot in an empty directory which only contains the
files they are allowed to see/use.



Hello guys!

Well, I was just curious, since the option to hide dot files is widely
available in most FTP daemons, like vsftpd:

hide_file=.*

However, it seems, not in FreeBSD's default ftpd?

All the best,
Kyrre



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


Re: difference between deinstall and pkg_delete?

2006-06-05 Thread Mikhail Goriachev
RW wrote:
 On Friday 02 June 2006 08:53, Mikhail Goriachev wrote:
 Jon Falconer wrote:
 Greetings,

 I see in the man page for ports the following:

  reinstallUse this to restore a port after using
 pkg_delete(1) when you should have used deinstall.

 So I'm wondering what is the difference between pkg_delete and using
 make deinstall from within the ports directory? What does make
 deinstall do that pkg_delete does not do? What does pkg_delete do that
 make deinstall does not do?
 Hi,

 This will point you in the right direction:

 http://www.bsdforums.org/forums/archive/index.php/t-29467.html
 
 Actually I think that points in wrong direction. There is a lot of 
 misinformation about this that is repeated ad-nauseum.
 
 Most ports use the standard deinstall target which calls pkg_delete; there is 
 only one port in the whole tree that defines it own deinstall target, and 
 that one installs its own versions of the pkg_* utilities. 
 
 The port system uses a series of cookie files to keep track of what has been 
 done. For example if you type make  make the port will only build once, 
 because the first make sets the build cookie. There is also an Install 
 cookie which leads to a problem when you go through the sequence
 
 make install
 pkg_delete
 make install
 
 because pkg_delete doesn't know about the port cookies. The deinstall and 
 reinstall targets both delete the cookie and so using one or the other avoids 
 the problem.  
 
 In practice this is virtually a non-issue since most people, and all build 
 tools, will do a make clean at some point in the sequence.


Right, so pkg_deinstall is the way to go then, isn't? Logically, there
is a difference between pkg_delete and pkg_deinstall. Personally, I use
the latter.


Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FREEBSD I386 BOOT HANG

2006-06-05 Thread CATHERINE LORENZ
I HAVE A TOSHIBA LAPTOP I HAVE TRIED EVERYTHING TO LOAD THE CD VERSION 5.2.1 
FREEBSD ONTO MY LAPTOP WITH NO LUCK.  IT FREEZES AFTER THE IT BOOTS, I DID 
DISABLE THE ACPI BUT IT STILL FROZE.  IS THERE A WAY TO FIX THIS PROBLEM?
   
  THANKS
   
  IOTA

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FREEBSD I386 BOOT HANG

2006-06-05 Thread Nick Withers
On Mon, 5 Jun 2006 03:45:47 -0700 (PDT)
CATHERINE LORENZ [EMAIL PROTECTED] wrote:

 I HAVE A TOSHIBA LAPTOP I HAVE TRIED EVERYTHING TO LOAD THE CD VERSION 5.2.1 
 FREEBSD ONTO MY LAPTOP WITH NO LUCK.  IT FREEZES AFTER THE IT BOOTS, I DID 
 DISABLE THE ACPI BUT IT STILL FROZE.  IS THERE A WAY TO FIX THIS PROBLEM?

First of all, are you able to try a supported / non-dev version
of FreeBSD (I'd strongly suggest 6.1-RELEASE)?

If not, where does it get to before freezing? Last message on
the screen? You've tried leaving it there for more than 30
seconds (my (rather old) CD drive takes half a minute or so
to be probed)?

   THANKS

   IOTA

By the way, you might wanna check your caps lock / read up
on netiquette (see RFC 1855) :-)
-- 
Nick Withers
email: [EMAIL PROTECTED]
Web: http://www.nickwithers.com
Mobile: +61 414 397 446
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FREEBSD I386 BOOT HANG

2006-06-05 Thread Chuck Swiger

CATHERINE LORENZ wrote:

I HAVE A TOSHIBA LAPTOP I HAVE TRIED EVERYTHING TO LOAD THE CD VERSION
5.2.1 FREEBSD ONTO MY LAPTOP WITH NO LUCK.  IT FREEZES AFTER THE IT BOOTS,
I DID DISABLE THE ACPI BUT IT STILL FROZE.  IS THERE A WAY TO FIX THIS
PROBLEM?


5.2.1 is so old that it is no longer supported:
please try either FreeBSD 6.1 or 5.5 instead...

(You also have a stuck CAPSLOCK key.)

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


Compile courier-imap 4.1.1 fails (/usr/bin/ld: cannot find -lpcre)

2006-06-05 Thread boink

Dear all,

I'm building a pop toaster, have qmail up and running, vpopmail too,
now trying to get courier-imap-4.1.1 working.

Platform: FreeBSD 6.0_RELEASE, GENERIC kernel.

Problem: when installing from source, ./configure works OK (non-root,
as advised):
$./configure --without-authdaemon --with-authvchkpw
--enable-unicode=iso-8859-1,iso-8859-15,utf-8

but...
$make check
snip
Linking maildirmake
Linking testmaildirfilter
/usr/bin/ld: cannot find -lpcre
*** Error code 1

Stop in /usr/download/qmail/courier-imap-4.1.1/maildir.
*** Error code 1

Stop in /usr/download/qmail/courier-imap-4.1.1/maildir.
*** Error code 1


maildir/Makefile has:
...
CPPFLAGS = -I/usr/local/include -I/usr/local/include
...
CXXFLAGS = -I/usr/local/include -I/usr/local/include -Wall
...
LDFLAGS =  -L/usr/local/lib -L/usr/local/lib -rpath=/usr/lib:/usr/local/lib
...

Is there any reason these should be specified twice?  Why doesn't
LDFLAGS mention /usr/local/include - which is where my pcre.h is?

Still working with the source, I tried:
$ env -v LDFLAGS=-L/usr/local/lib -L/usr/local/include
-rpath=/usr/lib:/usr/local/lib:/usr/local/include ./configure
--without-authdaemon --with-authvchkpw
--enable-unicode=iso-8859-1,iso-8859-15,utf-8

which fails with:
snip
checking pcre.h usability... yes
checking pcre.h presence... yes
checking for pcre.h... yes
checking pcre/pcre.h usability... no
checking pcre/pcre.h presence... no
checking for pcre/pcre.h... no
checking for pcre.h... (cached) yes
checking for pcre/pcre.h... (cached) no
snip
checking for FAMOpen in -lfam... yes
checking for fam.h... (cached) no
configure: WARNING: The development header files and libraries for fam,
configure: WARNING: the File Alteration Monitor, are not installed.
configure: WARNING: You appear to have the FAM runtime libraries installed,
configure: WARNING: so you need to simply install the additional development
configure: WARNING: package for your operating system.
configure: error: FAM development libraries not found.
configure: error: /usr/local/bin/bash './configure' failed for maildir


# locate fam.h
/usr/local/include/fam.h

Furthermore, when using the port, the installation completes without
any warnings, but in
/usr/ports/mail/courier-imap/work/courier-imap-4.1.1/maildir/config.log,
I see:

...
| #include pcre/pcre.h
configure:21219: result: no
configure:21223: checking pcre/pcre.h presence
configure:21233: cc -E -I/usr/local/include -I/usr/local/include conftest.c
conftest.c:33:23: pcre/pcre.h: No such file or directory
configure:21239: $? = 1
configure: failed program was:
| /* confdefs.h.  */
...

...so I presume that anything that relies on pcre will fail with the port, too.

After hours of fruitless Googling, I'm completely stuck.  I don't want
to use the port, ignore the error, and have problems later.

Can someone help me out?

With thanks in advance,
boink

PS - I was unable to subscribe to the courier-mta list at Sourceforge
(no confirmation received), hence the post here.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hiding dot files with ftpd

2006-06-05 Thread Eric
Kyrre Nygard wrote:

 Hello guys!
 
 Well, I was just curious, since the option to hide dot files is widely
 available in most FTP daemons, like vsftpd:
 
 hide_file=.*
 
 However, it seems, not in FreeBSD's default ftpd?
 
 All the best,
 Kyrre
 

just switch over to vsftpd. its way better anyways =)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


dhcpd.leases not getting populated..

2006-06-05 Thread B. Cook

Hello all,

I have about 8 isc-dhcpd3-server installs out there and they all do 
everything they are supposed to.. all but one.


And of course it's the most complex of them all, (as compared to the rest)

I have a subnet defined with two pools inside.  The top pool is set to 
deny unknown clients; and the bottom pool is set to allow unknown 
clients;.  The problem is that the 'bottom' pool (allow unknow) is the 
only pool that gets logged to /var/db/dhcpd/dhcpd.leases.


These are my startup options:

# dhcpd
#dhcpd_flags=-q# command option(s)
dhcpd_enable=YES  # dhcpd enabled?
dhcpd_conf=/usr/local/etc/dhcpd.conf  # configuration file
dhcpd_ifaces=fxp0 # ethernet interface(s)
dhcpd_umask=022   # file creation mask
dhcpd_chuser_enable=YES   # runs w/o privileges?
dhcpd_withuser=dhcpd  # user name to run as
dhcpd_withgroup=dhcpd # group name to run as

and my build prefs:
[/var/db/ports]# 42  cat isc-dhcp3-server/options
# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for isc-dhcp3-server-3.0.4_2
_OPTIONS_READ=isc-dhcp3-server-3.0.4_2
WITH_DHCP_PARANOIA=true
WITHOUT_DHCP_JAIL=true
WITHOUT_DHCP_SOCKETS=true
WITHOUT_DHCP_LDAP=true
WITHOUT_DHCP_LDAP_SSL=true
WITH_OPENSSL_BASE=true
WITHOUT_OPENSSL_PORT=true
WITHOUT_DHCP_LQ=true

what I am trying to do is to use dnsmasq with the -l 
/var/db/dhcpd/dhcpd.leases option to read the leases file and assign 
hostnames in dns..


Obviously if I switch the pools the functionality will not be the same.. 
as allow unknown will be first and everyone will go there :|


We use this range for testing new machines and setting up new machines..

Any help is appreciated.

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


Re: dhcpd.leases not getting populated..

2006-06-05 Thread Nick Withers
On Mon, 05 Jun 2006 09:06:23 -0400
B. Cook [EMAIL PROTECTED] wrote:

 Hello all,
 
 I have about 8 isc-dhcpd3-server installs out there and they all do 
 everything they are supposed to.. all but one.
 
 And of course it's the most complex of them all, (as compared to the rest)
 
 I have a subnet defined with two pools inside.  The top pool is set to 
 deny unknown clients; and the bottom pool is set to allow unknown 
 clients;.  The problem is that the 'bottom' pool (allow unknow) is the 
 only pool that gets logged to /var/db/dhcpd/dhcpd.leases.

(snip)

Don't suppose you'd be able to post the configuration of the
subnet, would you?

Are you sure that leases are being handed out from the first
pool?
-- 
Nick Withers
email: [EMAIL PROTECTED]
Web: http://www.nickwithers.com
Mobile: +61 414 397 446
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Tomcat script

2006-06-05 Thread Aguiar Magalhaes
Hi list,

The tomcat 5.5 script isn't working on free 6. I need
to make a reboot on the machine to restart the tomcat.

Help me, please.

Aguiar



__
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: difference between deinstall and pkg_delete?

2006-06-05 Thread RW
On Monday 05 June 2006 12:07, Mikhail Goriachev wrote:
 RW wrote:
  On Friday 02 June 2006 08:53, Mikhail Goriachev wrote:
  Jon Falconer wrote:
  Greetings,
 
  I see in the man page for ports the following:
 
   reinstallUse this to restore a port after using
  pkg_delete(1) when you should have used deinstall.
 
  So I'm wondering what is the difference between pkg_delete and using
  make deinstall from within the ports directory? What does make
  deinstall do that pkg_delete does not do? What does pkg_delete do that
  make deinstall does not do?
 
  Hi,
 
  This will point you in the right direction:
 
  http://www.bsdforums.org/forums/archive/index.php/t-29467.html
 
  Actually I think that points in wrong direction. There is a lot of
  misinformation about this that is repeated ad-nauseum.
 
  Most ports use the standard deinstall target which calls pkg_delete;
  there is only one port in the whole tree that defines it own deinstall
  target, and that one installs its own versions of the pkg_* utilities.
 
  The port system uses a series of cookie files to keep track of what has
  been done. For example if you type make  make the port will only
  build once, because the first make sets the build cookie. There is also
  an Install cookie which leads to a problem when you go through the
  sequence
 
  make install
  pkg_delete
  make install
 
  because pkg_delete doesn't know about the port cookies. The deinstall and
  reinstall targets both delete the cookie and so using one or the other
  avoids the problem.
 
  In practice this is virtually a non-issue since most people, and all
  build tools, will do a make clean at some point in the sequence.

 Right, so pkg_deinstall is the way to go then, isn't? Logically, there
 is a difference between pkg_delete and pkg_deinstall. Personally, I use
 the latter.

The question was about the difference between make deinstall and pkg_delete.

pkg_deinstall  (installed by the portupgrade port) is simply a ruby wrapper 
for pkg_delete that provides globbing and recursion. There is no particular 
correpondence between pkg_deinstall and make deinstall except for the 
similar name. 





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


dmesg not working on new system

2006-06-05 Thread Chris Maness
I just installed 6.1 and upgraded to RELEASE-p1.  The command dmesg is 
not displaying any kernel messages, any suggestions?  I am running a 
SCSI hard drive on this box too.


Here is a snipit from the message log in case these issues have anything 
to do with it.



Timecounter TSC frequency 669103956 Hz quality 800
Jun  5 06:55:12 ns2 kernel: Timecounters tick every 1.000 msec
Jun  5 06:55:12 ns2 kernel: Waiting 5 seconds for SCSI devices to settle
Jun  5 06:55:12 ns2 kernel: acd0: CDROM CREATIVE CD5230E/C1.01 at 
ata1-master

PIO4
Jun  5 06:55:12 ns2 kernel: da0 at ahc0 bus 0 target 6 lun 0
Jun  5 06:55:12 ns2 kernel: da0: QUANTUM ATLAS 10K 18WLS UCP0 Fixed 
Direct Acc

ess SCSI-3 device
Jun  5 06:55:12 ns2 kernel: da0: 160.000MB/s transfers (80.000MHz, 
offset 31, 16

bit), Tagged Queueing Enabled
Jun  5 06:55:12 ns2 kernel: da0: 17518MB (35877972 512 byte sectors: 
255H 63S/T

2233C)
Jun  5 06:55:12 ns2 kernel: Trying to mount root from ufs:/dev/da0s1a
Jun  5 06:55:12 ns2 kernel: dc0: failed to force tx and rx to idle state
Jun  5 06:55:12 ns2 kernel: dc0: failed to force tx and rx to idle state
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Simultaneous portupgrade in 2 jails - compilation problem?

2006-06-05 Thread Kris Kennaway
On Mon, Jun 05, 2006 at 09:21:50AM +0200, Philippe Lang wrote:
 Hi,
 
 I'm running FreeBSD 6.0 / jails as a VPS server.
 
 I've just tried doing a portupgrade of mysql-server in 2 jails 
 simultaneously, and I noticed compilations problems. The problem must be due 
 to the fact ports are only available on the base machine, and mounted in 
 every jail, at /usr/ports.
 
 Is there a way to avoid that, without having to manage a private /usr/ports 
 in each jail?

Set WRKDIRPREFIX to build them outside of /usr/ports.

Kris


pgpzXjsPfFRwc.pgp
Description: PGP signature


Re: Makefile for rpm-4.0.4_4

2006-06-05 Thread Lowell Gilbert
RAW [EMAIL PROTECTED] writes:

 This question is about a FreeBSD port that I cannot automake.

 Dear FreeBSDers;

 Tried to obtain, make and install Port rpm-4.0.4_4, on my new FreeBSD
 6.0. Not there yet Looks like the Makefile program got down to
 post-patch:, became unhappy, informed me with error code 127, (???)
 and quit.Make claimed that it could not find the shell script
 configure (see log below), but when I follow the path to the file,
 there it is. It left an extract done.rpm-4 doc empty.

 How can I get the makefile to continue, find configure and finish
 the make job?

 P.S. I ran Make in a terminal window on my KDE desktop. Matters?

 Thanks for the help.


 Make log:

 /usr/rpm/rpm4
 # make install clean
 ===  Vulnerability check disabled, database not found
 = rpm-4.0.4.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
 = Attempting to fetch from ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/.
 fetch: ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/rpm-4.0.4.tar.gz: File
 unavailable (e.g., file not found, no access)
 = Attempting to fetch from
 ftp://ftp.mirrorservice.org/sites/ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/.
 rpm-4.0.4.tar.gz  100% of 5728 kB 2370
 Bps 00m00s
 ===  Extracting for rpm-4.0.4_4
 = Checksum OK for rpm-4.0.4.tar.gz.
 ===  Patching for rpm-4.0.4_4
 ===  Applying FreeBSD patches for rpm-4.0.4_4
 -e 's:%%LOCALBASE%%:/usr/local:'
 /usr/rpm/rpm4/work/rpm-4.0.4/configure
 /usr/rpm/rpm4/work/rpm-4.0.4/beecrypt/configure
 -e: not found
 *** Error code 127

 Stop in /usr/rpm/rpm4.

You have a patch in the port skeleton which isn't appropriate to the
source that had been un-tarred from rpm-4.0.4.tar.gz.

How did you get your ports skeleton anyway?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenOffice install

2006-06-05 Thread Lowell Gilbert
Pete C [EMAIL PROTECTED] writes:

 Trying to setup openoffice 1.1.5 on a FBSD6.1 box (pkg was added
 during install) and just wondering about where to install what . . .
 there a multiple accounts on the one machine that need access . . . do
 I do a Local Install as root (to /usr/local/bin ??? (pls
 confirm/suggest alt)) and then a Workstation Install as each user to
 their home dir ? ? ?

On OpenOffice 2, I just do a default install and the program takes
care of the user install on its own.  Back in the old days with
version 1, I think I remember doing what you're describing, but my
memory isn't exactly reliable.  I think the user install just runs
OO's setup program anyway.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IPSec tcp session stalling

2006-06-05 Thread Christopher Sean Hilton
I'm having a problem with aFreeBSD workstation that tried to connect
to a remote VPN via an IPSec tunnel. Here's my setup:

A FreeBSD workstation: W

An OpenBSD router: LR

And another OpenBSD router: RR

A remote FreeBSD server: S

LR and RR are connected via an IPSec tunnel. W shares the local
ethernet with LR and LR is W's default gateway. S shares the remote
ethernet with RR and RR is S's default gateway.

The problem comes when I use scp. If I try to send a file bigger than
1400 bytes or so from W to S or vice versa the connection stalls and I
seem to be left waiting for Godot. If I tcpdump the connection I see
that when sending a file from W to S, LR sends W an ICMP message which
states that the last tcp packet was too large and it should change
it's MTU. But the connection stalls right there. I noticed that
OpenBSD has a flag on scrub rules called no-df which strips the Don't
Fragment flag from the packet. Turning this bit on fixes the problem.

I'm wondering why FreeBSD doesn't send anything after it gets the ICMP
message which states that it needs to change it's mtu for that
connection?

-- Chris

-- 
Chris Hilton   chris-at-vindaloo-dot-com

All I was doing was trying to get home from work!
 -- Rosa Parks
___
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 avoid recompiling applications?

2006-06-05 Thread Lowell Gilbert
Jonathan Horne [EMAIL PROTECTED] writes:

 so, could i theoretically use 'make reinstall' on a fresh system where the 
 port had never been previously installed?

Maybe, maybe not.  If make install doesn't work because there's
already a .install_done...  file in the work directory, then reinstall
will be what you need.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: difference between deinstall and pkg_delete?

2006-06-05 Thread Ian A. Tegebo
On Thu, Jun 01, 2006 at 11:08:14AM -0700, Jon Falconer wrote:
 So I'm wondering what is the difference between pkg_delete and using make
 deinstall from within the ports directory? What does make deinstall do
 that pkg_delete does not do? What does pkg_delete do that make deinstall
 does not do?
After spending some time with /usr/ports/Mk/bsd.port.mk and the man page
for pkg_delete, I think I'm just as confused as you are.  As you
mention, the man page for ports seems to imply that pkg_delete is a bad
thing and that you should use 'make deinstall'.

My analysis of 'make deinstall' in bsd.port.mk concludes that the
deinstall target calls 'pkg_delete -f' on the package names supplied by
pkg_info.  I'm not entirely sure what implications this has for the
installation cookies.

If you were to only use pkg_delete, some things might go wrong.  For
example in the Technical Details section, it mentions the 'require' and
the 'deinstall' scripts that can fail during a pkg_delete.  A 
'pkg_delete -f' would force the issue (and that's what 'make deinstall' 
does).

Getting back to the 'make reinstall' target, it appears that all it does
is 'rm -f' the installation and package cookies before running install.
My conclusion is confusion.  I'm not sure what the man page author meant
by 
Use this to restore a port after using pkg_delete(1)
when you should have used deinstall.

Can someone with more experience give examples that might clarify the
situation?


--
Ian Tegebo
Residential Computing
University of California Berkeley
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: OpenOffice install

2006-06-05 Thread Pete C




Pete C [EMAIL PROTECTED] writes:


Trying to setup openoffice 1.1.5 on a FBSD6.1 box (pkg was added
during install) and just wondering about where to install what . . .
there a multiple accounts on the one machine that need access . . . do
I do a Local Install as root (to /usr/local/bin ??? (pls
confirm/suggest alt)) and then a Workstation Install as each user to
their home dir ? ? ?




Quoting Lowell Gilbert [EMAIL PROTECTED]:

On OpenOffice 2, I just do a default install and the program takes
care of the user install on its own.  Back in the old days with
version 1, I think I remember doing what you're describing, but my
memory isn't exactly reliable.  I think the user install just runs
OO's setup program anyway.


Thanks,

found TFM (http://documentation.openoffice.org/setup_guide2/) at  
openoffice.org, pretty much agrees with what you said and I was  
thinking . . . I've got some reading to do :)


Pete C

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


Re: difference between deinstall and pkg_delete?

2006-06-05 Thread RW
On Monday 05 June 2006 16:37, Ian A. Tegebo wrote:

  I'm not sure what the man page author meant
 by
   Use this to restore a port after using pkg_delete(1)
 when you should have used deinstall.

 Can someone with more experience give examples that might clarify the
 situation?

It's to do with the cookie. Read back through the thread, I've already given 
an example.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


sendmail client side smtp authentication problem

2006-06-05 Thread ������ ������
sendmail client side smtp authentication problem

My ISP wants my MTA authenticate itself from now on.
So, I read cf/README, added FEATURE(authinfo) in my localhost.mc,
created the file authinfo with one line

AuthInfo:mail.ukrpost.ua U:[EMAIL PROTECTED] P:password

where   mail.ukrpost.ua is my ISP smtp server,
[EMAIL PROTECTED] -- my id appoited by ISP;

made and installed cf, restarted sendmail (at 9:17),
and tried to send a mail with the command

sendmail -f [EMAIL PROTECTED] [EMAIL PROTECTED]

where [EMAIL PROTECTED] -- my mailbox on ISP directly.

The mail was rejected by server.

The next is in maillog:

Jun  5 09:18:07 localhost sendmail[1321]: k556I72R001321:
Authentication-Warning: localhost.my.domain: elisej set sender to
[EMAIL PROTECTED] using -f

Jun  5 09:18:17 localhost sendmail[1321]: k556I72R001321:
[EMAIL PROTECTED], size=5, class=0, nrcpts=1,
msgid=[EMAIL PROTECTED],
[EMAIL PROTECTED]

Jun  5 09:18:17 localhost sm-mta[1322]:
k556IHub001322: from=[EMAIL PROTECTED], size=443, class=0,
nrcpts=1,
msgid=[EMAIL PROTECTED],
proto=ESMTP, daemon=Daemon0, relay=localhost [127.0.0.1]

Jun  5 09:18:17 localhost sendmail[1321]: k556I72R001321:
[EMAIL PROTECTED], [EMAIL PROTECTED]
(1001/1001), delay=00:00:10, xdelay=00:00:00,
mailer=relay, pri=30005, relay=[127.0.0.1] [127.0.0.1],
dsn=2.0.0, stat=Sent (k556IHub001322 Message accepted for
delivery)

Jun  5 09:18:17 localhost sm-mta[1324]: k556IHub001322:
to=[EMAIL PROTECTED], delay=00:00:00, xdelay=00:00:00,
mailer=relay, pri=30443, relay=mail.ukrpost.ua. [195.5.6.41],
dsn=5.1.1, stat=User unknown

Jun  5 09:18:17 localhost sm-mta[1324]: k556IHub001322:
k556IHub001324: DSN: User unknown

Jun  5 09:18:22 localhost sm-mta[1324]: k556IHub001324:
to=[EMAIL PROTECTED], delay=00:00:05, xdelay=00:00:05,
mailer=relay, pri=31467, relay=mail.ukrpost.ua. [195.5.6.41],
dsn=2.0.0, stat=Sent (OK id=1Fn8Q0-0006J4-G5)

Then, I looked at the file authinfo with

ls -lu

and found that sendmail does not read it at all (see access
time):

-rw---  1 root  wheel 63 Jun  5 09:14 authinfo

What is a problem?

I have sendmail 8.13.6 on FreeBSD 6.1-RELEASE.

Thank you in advance.

Elisej Babenko

--
Zeos: интернет + callback с лучшим отношением цена/качество http://zeos.net

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


Re: dhcpd.leases not getting populated..

2006-06-05 Thread B. Cook

Nick Withers wrote:

On Mon, 05 Jun 2006 09:06:23 -0400
B. Cook [EMAIL PROTECTED] wrote:


Don't suppose you'd be able to post the configuration of the
subnet, would you?


http://www.poklib.org/~dhcpd/dhcpd.conf



Are you sure that leases are being handed out from the first
pool?


yes.

The rest of the 192.168.1.0/24 gets ips and routes as they should.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: difference between deinstall and pkg_delete?

2006-06-05 Thread Mikhail Goriachev
RW wrote:
 On Monday 05 June 2006 12:07, Mikhail Goriachev wrote:
 RW wrote:
 On Friday 02 June 2006 08:53, Mikhail Goriachev wrote:
 Jon Falconer wrote:
 Greetings,

 I see in the man page for ports the following:

  reinstallUse this to restore a port after using
 pkg_delete(1) when you should have used deinstall.

 So I'm wondering what is the difference between pkg_delete and using
 make deinstall from within the ports directory? What does make
 deinstall do that pkg_delete does not do? What does pkg_delete do that
 make deinstall does not do?
 Hi,

 This will point you in the right direction:

 http://www.bsdforums.org/forums/archive/index.php/t-29467.html
 Actually I think that points in wrong direction. There is a lot of
 misinformation about this that is repeated ad-nauseum.

 Most ports use the standard deinstall target which calls pkg_delete;
 there is only one port in the whole tree that defines it own deinstall
 target, and that one installs its own versions of the pkg_* utilities.

 The port system uses a series of cookie files to keep track of what has
 been done. For example if you type make  make the port will only
 build once, because the first make sets the build cookie. There is also
 an Install cookie which leads to a problem when you go through the
 sequence

 make install
 pkg_delete
 make install

 because pkg_delete doesn't know about the port cookies. The deinstall and
 reinstall targets both delete the cookie and so using one or the other
 avoids the problem.

 In practice this is virtually a non-issue since most people, and all
 build tools, will do a make clean at some point in the sequence.
 Right, so pkg_deinstall is the way to go then, isn't? Logically, there
 is a difference between pkg_delete and pkg_deinstall. Personally, I use
 the latter.
 
 The question was about the difference between make deinstall and pkg_delete.
 
 pkg_deinstall  (installed by the portupgrade port) is simply a ruby wrapper 
 for pkg_delete that provides globbing and recursion. There is no particular 
 correpondence between pkg_deinstall and make deinstall except for the 
 similar name.


Ah, now I see what you mean about cookies. I guess this is valid when
you don't want to clean a port. In my case, I install and clean it right
away... the cookie disappears in the process.

make install clean
pkg_deinstall
make install clean

Is this the only issue between pkg_delete and make deinstall?


Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: shmget: No space on device (sshit)

2006-06-05 Thread Bill Moran
On Sun, 4 Jun 2006 21:18:50 -0700
David King [EMAIL PROTECTED] wrote:

 I have all of the IPC-related sysctls listed below. I do see that  
 kern.ipc.shmmni is set to 192, and that kern.ipc.semmni is set to 10.  
 Are those the maximums? What does MNI mean in those names? Is there a  
 man page or recommended document that describes what these mean in  
 detail?

ipcs -M or /usr/src/sys/conf/NOTES

I believe the mni portion is maximum number of identifiers.

-- 
Bill Moran
Collaborative Fusion Inc.
___
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 avoid recompiling applications?

2006-06-05 Thread Donald J. O'Neill
On Monday 05 June 2006 09:49, Lowell Gilbert wrote:
 Jonathan Horne [EMAIL PROTECTED] writes:
  so, could i theoretically use 'make reinstall' on a fresh system
  where the port had never been previously installed?

 Maybe, maybe not.  If make install doesn't work because there's
 already a .install_done...  file in the work directory, then
 reinstall will be what you need.
 ___

I think a fresh system, where a port has never been installed, would not 
have a work directory in that port, so make install would work unless 
the port is broken. Using make reinstall in a port on a system that 
has been freshly reinstalled isn't going to save the OP anytime by 
avoiding recompiling ports, they'll be recompiled. How to save time is 
what he asked about, as he tends to experiment with this system and 
screw it up, requiring a reinstall from scratch. He also said that 
using pkg_add -r with, say kde, always tends to have something wrong 
with it.

The answer is: when he installs the ports, make a package using make 
package. Unfortunately, this doesn't make a package for ports required 
for that port, But, make package-recursive would, with the exception 
of certain ports, and he can get around that if he's clever enough. 

Another thing he can do is: use pkg_create -b 
some-port-already-installed and save it somewhere. Then he can 
do pkg_add that-saved-port.tbz and get that port and the required 
dependencies. If he's missing a dependency, oh well, guess what.

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


Acucorp AcuCobol GT + Workbench

2006-06-05 Thread Thomas
Hi there.
Although I am new to BSD I am not new to UNIX. I have extensive experience in 
SCO UNIX, DEC, SunOs And V.iv.
I am a Systems Engineer specializing in OS Suppot and Commercial Systems 
Development. I do all my development in Cobol - lately about 20% in Microfocus 
Level II and 80% using ACUCobol GT, with the workbench.
I am not too much concerned about Microfocus Cobol - am think it will run on 
BSD maybe with a little help).
However, I am unsure about AcuCobol, using the Vision filesystem. It runs on 
Linux but I am not a Linux-disciple.
I therefor would like to know (a) whther AcuCobol would run on BSD and (2) 
whether backward-reading (READ PREVIOUS) would work on BSD?
Regards and keep up the good work.

Thomas P. van Graan
---
U-Solve Systems
Mobile: +27 72 1 87 87 91
E-mail : [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dmesg not working on new system

2006-06-05 Thread Greg Barniskis

Chris Maness wrote:
I just installed 6.1 and upgraded to RELEASE-p1.  The command dmesg is 
not displaying any kernel messages, any suggestions?  


Suggests all is well?

dmesg outputs stuff from the current system message buffer, which 
contains your boot messages right after booting but those can get 
flushed over time. Boot messages are saved to a file though, for 
reference.


more /var/run/dmesg.boot


--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Tomcat script.

2006-06-05 Thread David Robillard

Hi list,

The tomcat 5.5 script isn't working on free 6. I need
to make a reboot on the machine to restart the tomcat.

Help me, please.

Aguiar


This is a known issue with the rc.subr(5) file.

Here's the fix:

[EMAIL PROTECTED] logs {513}$ rcsdiff -r1.1 /etc/rc.subr
===
RCS file: /etc/rc.subr,v
retrieving revision 1.1
diff -r1.1 /etc/rc.subr
3c3,12
 # $Id: rc.subr,v 1.1 2006/04/21 18:25:56 drobilla Exp $
---

# $Id: rc.subr,v 1.2 2006/04/21 18:32:32 drobilla Exp $
#
# Fixed for tomcat55.sh which was not working. See:
# 
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=85433+0+archive/2006/freebsd-java/20060219.freebsd-java
# Bad original line: 
$_procname|$_procnamebn|${_procnamebn}:|(${_procnamebn}))'

271c280
   $_procname|$_procnamebn|${_procnamebn}:|(${_procnamebn}))'
---

  
$_procname|$_procnamebn|${_procnamebn}:|(${_procnamebn})|[${_procnamebn}])'



Regards,

David

--
David Robillard
[EMAIL PROTECTED]
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dmesg not working on new system

2006-06-05 Thread Chris Maness



On Mon, 5 Jun 2006, Greg Barniskis wrote:


Chris Maness wrote:
I just installed 6.1 and upgraded to RELEASE-p1.  The command dmesg is not 
displaying any kernel messages, any suggestions? 


Suggests all is well?

dmesg outputs stuff from the current system message buffer, which contains 
your boot messages right after booting but those can get flushed over time. 
Boot messages are saved to a file though, for reference.


more /var/run/dmesg.boot


--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348



I just thought it was strange because every other system I have it at 
least displays dmesg.boot if there is no other messages.  Is this new 
behavior for 6.1?

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


Re: dmesg not working on new system

2006-06-05 Thread Greg Barniskis

Chris Maness wrote:



On Mon, 5 Jun 2006, Greg Barniskis wrote:


Chris Maness wrote:
I just installed 6.1 and upgraded to RELEASE-p1.  The command dmesg 
is not displaying any kernel messages, any suggestions? 


Suggests all is well?

dmesg outputs stuff from the current system message buffer, which 
contains your boot messages right after booting but those can get 
flushed over time. Boot messages are saved to a file though, for 
reference.


more /var/run/dmesg.boot





I just thought it was strange because every other system I have it at 
least displays dmesg.boot if there is no other messages.  Is this new 
behavior for 6.1?


Not new behavior. A dmesg on any of my running systems (4.x, 5.x) 
returns nothing after a time. You were just catching it before the 
buffer was flushed. I don't know what triggers that, and it is 
possible that the trigger/timing of it may have changed in 6.x (and 
as always, YMMV).


--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: shmget: No space on device (sshit)

2006-06-05 Thread David King

I have all of the IPC-related sysctls listed below. I do see that
kern.ipc.shmmni is set to 192, and that kern.ipc.semmni is set to 10.
Are those the maximums? What does MNI mean in those names? Is there a
man page or recommended document that describes what these mean in
detail?

ipcs -M or /usr/src/sys/conf/NOTES
I believe the mni portion is maximum number of identifiers.


ipcs -M shows:
shminfo:
shmmax: 134217728   (max shared memory segment size)
shmmin:   1 (min shared memory segment size)
shmmni: 192 (max number of shared memory identifiers)
shmseg: 128 (max shared memory segments per process)
shmall:8192 (max amount of shared memory in pages)

So yes, it had definitely reached its max.

So I used ipcrm to remove all of the shared memory segments, and the  
problem seems to have cleared up for now. A few rounds of simulating  
failed logins to sshit shows that it does allocate shared memory  
segments, and every time it adds an IP address it seems to allocate a  
new shared memory segment instead of finding the old one.


But from here it looks like an issue to take up with the developer,  
since it seems to be a bug. Thanks Bill for your help!

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


Re: dmesg not working on new system

2006-06-05 Thread Lowell Gilbert
Greg Barniskis [EMAIL PROTECTED] writes:

 Chris Maness wrote:


 On Mon, 5 Jun 2006, Greg Barniskis wrote:

 Chris Maness wrote:
 I just installed 6.1 and upgraded to RELEASE-p1.  The command
 dmesg is not displaying any kernel messages, any suggestions? 

 Suggests all is well?

 dmesg outputs stuff from the current system message buffer, which
 contains your boot messages right after booting but those can get
 flushed over time. Boot messages are saved to a file though, for
 reference.

 more /var/run/dmesg.boot



 I just thought it was strange because every other system I have it
 at least displays dmesg.boot if there is no other messages.  Is this
 new behavior for 6.1?

 Not new behavior. A dmesg on any of my running systems (4.x, 5.x)
 returns nothing after a time. You were just catching it before the
 buffer was flushed. I don't know what triggers that, and it is
 possible that the trigger/timing of it may have changed in 6.x (and as
 always, YMMV).

Interesting.  Does dmesg -a show anything different?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dmesg not working on new system

2006-06-05 Thread Chris Howells
On Monday 05 June 2006 19:08, Greg Barniskis wrote:

 Not new behavior. A dmesg on any of my running systems (4.x, 5.x)
 returns nothing after a time. You were just catching it before the
 buffer was flushed. I don't know what triggers that, and it is
 possible that the trigger/timing of it may have changed in 6.x (and
 as always, YMMV).

dmesg is not flushed here.

[EMAIL PROTECTED] dmesg | head
Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.1-PRERELEASE #0: Mon Feb 20 18:31:41 GMT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/LEGOLAS
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Sempron(tm) Processor 3000+ (1808.81-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x20fc2  Stepping = 2
  
Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
  Features2=0x1SSE3
[EMAIL PROTECTED] uptime
 7:57PM  up 92 days,  2:22, 2 users, load averages: 0.00, 0.00, 0.00
[EMAIL PROTECTED] uname -a
FreeBSD legolas.devrandom.org.uk 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Mon 
Feb 20 18:31:41 GMT 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/LEGOLAS  i386


-- 
Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED]
Web: http://www.chrishowells.co.uk, PGP ID: 0x33795A2C
KDE/Qt/C++/PHP Developer: http://www.kde.org


pgp3pL8JcC5hV.pgp
Description: PGP signature


Re: Makefile for rpm-4.0.4_4

2006-06-05 Thread solsyst

Hi LG:
Thanks for the tip.

I connected to www. Freebsd.org, sherched for rpm and got to a page 
with several rpm ports that can be downloaded. Since O have FreeBSD 6.0 
I figured I could go for the latehast rpm which is 4.0.4_4. So I first 
downloaded rpm4.tar, and put it in my /usr/rpm/rpm4/ dir. rpm4.tar 
contains the makefile.Then I downloaded rpm-4.0.4_4.tbz and put it in 
my /usr/ports/ dir. But I could see that the make file was not 
interested in a tbz file so I connected to the internet and started 
make so it coul;d go get the file it wanted. Make did so.


I think I also unzipped the rpm-4.0.4_4 tbz file. Somehow I ended up 
with two sub-directories to my /usr/rpm/rpm4 directory They are Files 
and Work. The files Dir contains a bunch of patch files.


From what you said about a patch in the port skeleton which isn't 
appropriate to the
source that had been un-tarred from rpm-4.0.4.tar.gz., perhaps I 
should delete everything and start over with just the rpm4.tar file in 
my /usr/rpm/rpm4/ dir. Am I correct in thinking that the only file I 
need to untar is rpm4.tar, and when I execute the extracted make file 
and there is no other rpm stuff in my directories, MAKE INSTALL should 
work?


Thanks,
RAW

Do I have any other options with the unzipped rpm-4.0.4_4.tbz mess I.ve 
already created?


-Original Message-
From: Lowell Gilbert [EMAIL PROTECTED]
To: RAW [EMAIL PROTECTED]
Cc: freebsd-questions@FreeBSD.org; [EMAIL PROTECTED]
Sent: Mon, 05 Jun 2006 10:32:49 -0400
Subject: Re: Makefile for rpm-4.0.4_4

 RAW [EMAIL PROTECTED] writes:


This question is about a FreeBSD port that I cannot automake.

Dear FreeBSDers;

Tried to obtain, make and install Port rpm-4.0.4_4, on my new FreeBSD
6.0. Not there yet Looks like the Makefile program got down to
post-patch:, became unhappy, informed me with error code 127, (???)
and quit.Make claimed that it could not find the shell script
configure (see log below), but when I follow the path to the file,
there it is. It left an extract done.rpm-4 doc empty.

How can I get the makefile to continue, find configure and finish
the make job?

P.S. I ran Make in a terminal window on my KDE desktop. Matters?

Thanks for the help.


Make log:

/usr/rpm/rpm4
# make install clean
===  Vulnerability check disabled, database not found
= rpm-4.0.4.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
= Attempting to fetch from ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/.
fetch: ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/rpm-4.0.4.tar.gz: File
unavailable (e.g., file not found, no access)
= Attempting to fetch from
ftp://ftp.mirrorservice.org/sites/ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/.
rpm-4.0.4.tar.gz  100% of 5728 kB 2370
Bps 00m00s
===  Extracting for rpm-4.0.4_4
= Checksum OK for rpm-4.0.4.tar.gz.
===  Patching for rpm-4.0.4_4
===  Applying FreeBSD patches for rpm-4.0.4_4
-e 's:%%LOCALBASE%%:/usr/local:'
/usr/rpm/rpm4/work/rpm-4.0.4/configure
/usr/rpm/rpm4/work/rpm-4.0.4/beecrypt/configure
-e: not found
*** Error code 127

Stop in /usr/rpm/rpm4.


You have a patch in the port skeleton which isn't appropriate to the
source that had been un-tarred from rpm-4.0.4.tar.gz.

How did you get your ports skeleton anyway?


___
Try the New Netscape Mail Today!
Virtually Spam-Free | More Storage | Import Your Contact List
http://mail.netscape.com

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


Weird apache problem

2006-06-05 Thread Paul Schmehl
I'm having a problem figuring out what the heck is wrong with a 
webserver.  Any suggestions would be welcomed.


It's running Apache and php4 (with Apache module selected using make 
config), and when you try to load a page (Squirrelmail) using Firefox, 
you get a popup asking you what to do with the file.  (You have chosen 
to open ..which is a: application/x-httpd-php from: 
https://webmail.stovebolt.com What should Firefox do with this file?


The page loads fine in Internet Explorer.

The load module and add module lines exist in the httpd.conf file and 
the webserver has been restarted repeatedly, with no errors.  There's no 
errors in the httpd-error log.  The libphp4.so file exists in the 
correct directory.


uname -a
FreeBSD stovebolt.stovebolt.com 5.4-SECURITY FreeBSD 5.4-SECURITY

httpd -V
Server version: Apache/1.3.36 (Unix)
Server built:   Jun  3 2006 11:20:12

php -v
PHP 4.4.2 (cli) (built: Jun  5 2006 13:56:53)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

grep php /usr/local/etc/apache/httpd.conf

LoadModule php4_modulelibexec/apache/libphp4.so
AddModule mod_php4.c
IfModule mod_php3.c
IfModule mod_php4.c
DirectoryIndex index.php index.php3 index.html index.htm
IfModule !mod_php4.c
DirectoryIndex index.php3 index.html index.htm
IfModule !mod_php3.c
IfModule mod_php4.c
DirectoryIndex index.php index.html index.htm
IfModule !mod_php4.c
DirectoryIndex index.html index.htm index.php
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Redirect / https://webmail.stovebolt.com/index.php
Files ~ \.(cgi|shtml|phtml|php|php3?|php4?)$
#Files ~ \.(cgi|shtml|phtml|php3?|php4?)$
Files ~ \.(cgi|shtml|phtml|php3?)$

The only thing that strikes me as odd is that there's no dependency for 
php related to apache:


pkg_info -r apache*
Information for apache+mod_ssl-1.3.36+2.8.27:

Depends on:
Dependency: mm-1.4.0
Dependency: expat-2.0.0_1

pkg_info -R apach*
Information for apache+mod_ssl-1.3.36+2.8.27:

Required by:
mod_perl-1.29_1
mod_security-1.9.2
squirrelmail-1.4.6

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


smime.p7s
Description: S/MIME Cryptographic Signature


Re: dmesg not working on new system

2006-06-05 Thread Greg Barniskis

Lowell Gilbert wrote:

Greg Barniskis [EMAIL PROTECTED] writes:


Chris Maness wrote:


On Mon, 5 Jun 2006, Greg Barniskis wrote:


Chris Maness wrote:

I just installed 6.1 and upgraded to RELEASE-p1.  The command
dmesg is not displaying any kernel messages, any suggestions? 

Suggests all is well?

dmesg outputs stuff from the current system message buffer, which
contains your boot messages right after booting but those can get
flushed over time. Boot messages are saved to a file though, for
reference.

more /var/run/dmesg.boot


I just thought it was strange because every other system I have it
at least displays dmesg.boot if there is no other messages.  Is this
new behavior for 6.1?

Not new behavior. A dmesg on any of my running systems (4.x, 5.x)
returns nothing after a time. You were just catching it before the
buffer was flushed. I don't know what triggers that, and it is
possible that the trigger/timing of it may have changed in 6.x (and as
always, YMMV).


Interesting.  Does dmesg -a show anything different?




Sure. On a mail server, -a reveals tons of SMTP timed out messages 
(primarily spammers who cut and run when 550'd). On a firewall, -a 
shows tons of ipfw log messages. On a web server, -a shows mainly 
ssh login (and su) success/failure.


Chris Howells wrote:

dmesg is not flushed here.


Hmmm interesting. It has always eventually flushed around here, 
which prompted me to read the dmesg man page, which pointed me at 
/var/run/dmesg.boot.


I never really thought about it much after that, and really still 
don't think it too odd... but if anyone thinks the behavior is 
erratic and in need of troubleshooting, I'll try to answer any other 
questions about my setup.


But I don't see anywhere that the man page says dmesg will always 
report the boot messages no matter what. It says it reads the 
system message buffer, and when something is a buffer I immediately 
think of it as a temporary thing. YMMV, obviously.



--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Weird apache problem

2006-06-05 Thread Derek Ragona

I just tried that page in firefox on a windows and it worked fine.

You may have your firefox install foobar, and might want to uninstall and 
reinstall it.


-Derek

At 02:14 PM 6/5/2006, Paul Schmehl wrote:
I'm having a problem figuring out what the heck is wrong with a 
webserver.  Any suggestions would be welcomed.


It's running Apache and php4 (with Apache module selected using make 
config), and when you try to load a page (Squirrelmail) using Firefox, you 
get a popup asking you what to do with the file.  (You have chosen to open 
..which is a: application/x-httpd-php from: https://webmail.stovebolt.com 
What should Firefox do with this file?


The page loads fine in Internet Explorer.

The load module and add module lines exist in the httpd.conf file and the 
webserver has been restarted repeatedly, with no errors.  There's no 
errors in the httpd-error log.  The libphp4.so file exists in the correct 
directory.


uname -a
FreeBSD stovebolt.stovebolt.com 5.4-SECURITY FreeBSD 5.4-SECURITY

httpd -V
Server version: Apache/1.3.36 (Unix)
Server built:   Jun  3 2006 11:20:12

php -v
PHP 4.4.2 (cli) (built: Jun  5 2006 13:56:53)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

grep php /usr/local/etc/apache/httpd.conf

LoadModule php4_modulelibexec/apache/libphp4.so
AddModule mod_php4.c
IfModule mod_php3.c
IfModule mod_php4.c
DirectoryIndex index.php index.php3 index.html index.htm
IfModule !mod_php4.c
DirectoryIndex index.php3 index.html index.htm
IfModule !mod_php3.c
IfModule mod_php4.c
DirectoryIndex index.php index.html index.htm
IfModule !mod_php4.c
DirectoryIndex index.html index.htm index.php
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Redirect / https://webmail.stovebolt.com/index.php
Files ~ \.(cgi|shtml|phtml|php|php3?|php4?)$
#Files ~ \.(cgi|shtml|phtml|php3?|php4?)$
Files ~ \.(cgi|shtml|phtml|php3?)$

The only thing that strikes me as odd is that there's no dependency for 
php related to apache:


pkg_info -r apache*
Information for apache+mod_ssl-1.3.36+2.8.27:

Depends on:
Dependency: mm-1.4.0
Dependency: expat-2.0.0_1

pkg_info -R apach*
Information for apache+mod_ssl-1.3.36+2.8.27:

Required by:
mod_perl-1.29_1
mod_security-1.9.2
squirrelmail-1.4.6

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




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

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


Re: how to avoid recompiling applications?

2006-06-05 Thread Alex Zbyslaw

Donald J. O'Neill wrote:


On Monday 05 June 2006 09:49, Lowell Gilbert wrote:
 


Jonathan Horne [EMAIL PROTECTED] writes:
   


so, could i theoretically use 'make reinstall' on a fresh system
where the port had never been previously installed?
 


Maybe, maybe not.  If make install doesn't work because there's
already a .install_done...  file in the work directory, then
reinstall will be what you need.
___
   



The answer is: when he installs the ports, make a package using make 
package. Unfortunately, this doesn't make a package for ports required 
for that port, But, make package-recursive would, with the exception 
of certain ports, and he can get around that if he's clever enough. 

Another thing he can do is: use pkg_create -b 
some-port-already-installed and save it somewhere. Then he can 
do pkg_add that-saved-port.tbz and get that port and the required 
dependencies. If he's missing a dependency, oh well, guess what.


 


portupgrade -pr works a treat:

-p
--package  Build a package when each specified port is
   installed or upgraded.  If a package is upgraded
   and its dependent packages are given from 
the com-

   mand line (including the case where -r is speci-
   fied), build packages for them as well.

combined with pkg_create -b for already installed stuff and you should 
never have to compile the same version of a port more than once.


--Alex



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


[RESOLVED] Re: How to get networker backup software

2006-06-05 Thread Donald Teed

Hi,

The trick of doing a ports cvsup from back
in time worked.  We have a working networker client again!

I'm even more concerned that the client version
is going to go stale.  I don't know how the package
was made for BSD, and I'm not sure if it
is legally possibly to port the current versions
of the networker client over.

Thanks for the assistance, Randy...

--Donald

On 6/2/06, Randy Pratt [EMAIL PROTECTED] wrote:

On Fri, 2 Jun 2006 19:01:38 -0300
Donald Teed [EMAIL PROTECTED] wrote:

 As far as I know, the security issues are moot.  The note
 I remember seeing said that the default configuration
 was problematic.  If our backup server is behind a firewall,
 and we always config things after installing, I can't
 see how the security issue is relevant enough to rip
 it out of ports.  It is far better to have a security issue
 awaiting resolution than to have zero backup capability.

 The ports skeleton we have is on one machine and
 shared by NFS to the rest. It is updated nightly so
 the old one is gone.  We do have the tarball
 in distfiles, but I don't see a Makefile, etc.

 How do I find it from CVS source?  Is there a pointer on
 where to find that?

You could get a complete tree just before the port was removed by
setting a date in a cvsup file.  Its been awhile since I've done
this but here's a modified example from an old file I still had:

*default host=cvsup4.FreeBSD.org(or whatever)
*default base=/usr/oldtree
*default prefix=/home/oldtree
*default release=cvs
*default delete use-rel-suffix
*default date=2006.03.31.00.00.00
*default compress
ports-all

I think that date is about 8 hours before the ports were removed
from the tree but you might want to check the dates of any other
ports you might need to be sure the date is correct for what you
need.  You can check these with cvsweb:

http://www.freebsd.org/cgi/cvsweb.cgi/

Note that the base and prefix are different so that you don't
clobber your existing ports tree.  Choose something appropriate
for your situation.

Instead of using ports-all, you might save some bandwidth by only
selecting the ports modules you need.  They are listed in:

/usr/share/examples/cvsup/ports-supfile

You would have selected entries in your supfile like:

ports-base
ports-sysutils

After that, just cvsup using the new supfile.  That should get what
is needed and then you'll be able to add them to your NFS tree.

It sounds like you're quite familar with these ports.  Perhaps if
you can get them security patched you might consider becoming the
maintainer for the ports and get them back in the tree.

Perhaps this will get you closer to where you need to be.  If
anyone spots anything I missed, be sure to comment.

Randy

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


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


Re: Weird apache problem

2006-06-05 Thread Mikhail Goriachev
Derek Ragona wrote:
 I just tried that page in firefox on a windows and it worked fine.
 
 You may have your firefox install foobar, and might want to uninstall
 and reinstall it.
 


Same here. Loads fine on Mac's Firefox.

Cheers,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: http://www.webanoide.org

PGP Key ID: 0x4E148A3B
PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot delete stubborn files - New Hint

2006-06-05 Thread Chris Whitehouse

Jack Stone wrote:

From: Chris Whitehouse [EMAIL PROTECTED]
CC: freebsd-questions@freebsd.org
Subject: Re: Cannot delete stubborn files - New Hint
Date: Sun, 04 Jun 2006 22:59:48 +0100


Update your locate database and see if there are any other instances 
of the file? Just a shot in the dark


Chris



Chris: Yes, there are others:

The one I can't delete:
/tmp2/local/lib/perl5/5.6.1/mach/Sys/Hostname.pm
and the others
/usr/libdata/perl/5.00503/Sys/Hostname.pm
/usr/local/lib/perl5/5.6.1/mach/Sys/Hostname.pm

What would be the issue if the above exists?


I am wondering if you can do something with the other link if there is 
one, eg delete it.

How many links does
ls -l /tmp2/local/lib/perl5/5.6.1/mach/Sys/Hostname.pm show. I'm 
guessing it is linked to the one in perl5/5.6.1.

Do you need perl 5.6.1? (sorry lost the earlier threads)
Can you delete /usr/local/lib/perl5/5.6.1/mach/Sys/Hostname.pm, then can 
you delete the one in tmp2?


Alternative this thread has instructions which which you might be able 
to adapt do what you want - see the response from Matthew Seaman 
involving clri(8)


http://groups.google.com/group/fa.freebsd.questions/browse_thread/thread/b031f4a77ccd26a3/0e8f61e4e58fd4a5?lnk=stq=group%3A*.freebsd.*+%22terminated+with+1+(non-zero)+status%3A+Cross-device+link%22rnum=3#0e8f61e4e58fd4a5

(sorry rather long line)

It relates to Fbsd 4.6 but clri is still around so could still work. It 
does say it is dangerous and this example relates to a msdos filesystem.


Chris

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


Re: Weird apache problem

2006-06-05 Thread Chris Hill

On Tue, 6 Jun 2006, Mikhail Goriachev wrote:


Derek Ragona wrote:

I just tried that page in firefox on a windows and it worked fine.

You may have your firefox install foobar, and might want to uninstall
and reinstall it.



Same here. Loads fine on Mac's Firefox.


Since nobody's mentioned it yet... The page loads fine on Firefox under 
FreeBSD. For me.


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


AC97 sound card on 6.1

2006-06-05 Thread Dave

Hello,
   I'm atempting to get an integrated AC97 sound card working under 6.1. I 
know this card works, loading the snd_driver module finds it, but i do not 
know which actual module works it over. I'd rather not have to load 26 sound 
modules just the ones i actually need. I've checked /boot/kernel/snd* but 
didn't find anything AC97 and googling showed that others had asked, but no 
clear answer. If anyone has this going i'd appreciate hearing about it, and 
also any difficulties with quality or getting applications going.

Thanks.
Dave.

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


Re: Weird apache problem

2006-06-05 Thread Paul Schmehl

Chris Hill wrote:

On Tue, 6 Jun 2006, Mikhail Goriachev wrote:


Derek Ragona wrote:

I just tried that page in firefox on a windows and it worked fine.

You may have your firefox install foobar, and might want to uninstall
and reinstall it.



Same here. Loads fine on Mac's Firefox.


Since nobody's mentioned it yet... The page loads fine on Firefox under 
FreeBSD. For me.



Yeah.  It was an ID 10 T problem.  :-(

I needed to clear the browser cache and history.

Thanks for checking, everyone.

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


smime.p7s
Description: S/MIME Cryptographic Signature


Session Menu xdm/gdm problem

2006-06-05 Thread Mike Hunter
Hey everybody,

I'm having a frustrating X problem.  I installed X via portupgrade and
hacked /etc/ttys to enable xdm.  I can log in successfully both as root
and as a non-priv user, but either way I get to a screen that says:

Session Menu

Load Session # Delete Session # Break Lock # Default/Fail Safe # Cancel

But if I disable xdm and simply use startx, it launches X and my window
manager fine.  I tried deleting my .xinitrc but that didn't help.

I have a feeling some X component isn't in place.  I tried compiling gdm
as a replacement but that didn't help (same symptoms).  I was able to run
gdmsetup (or was it gdmconfig?) by logging into gdm in fail-safe mode, and
I could change some of the GDM settings, but I didn't see anything that I
could twist to fix the problem.

FreeBSD 6.1-RELEASE May 12
xorg-6.9.0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: AC97 sound card on 6.1

2006-06-05 Thread Daniel Bye
On Mon, Jun 05, 2006 at 05:03:46PM -0400, Dave wrote:
 Hello,
I'm atempting to get an integrated AC97 sound card working under 6.1. I 
 know this card works, loading the snd_driver module finds it, but i do not 
 know which actual module works it over. I'd rather not have to load 26 
 sound modules just the ones i actually need. I've checked /boot/kernel/snd* 
 but didn't find anything AC97 and googling showed that others had asked, 
 but no clear answer. If anyone has this going i'd appreciate hearing about 
 it, and also any difficulties with quality or getting applications going.
 Thanks.
 Dave.

cat /dev/sndstat

will tell you which loaded driver actually attached to the device.

It's in the Multimedia section of the handbook.

Dan

-- 
Daniel Bye

PGP Key: http://www.slightlystrange.org/pgpkey-dan.asc
PGP Key fingerprint: D349 B109 0EB8 2554 4D75  B79A 8B17 F97C 1622 166A
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpdFQ12iqHjw.pgp
Description: PGP signature


Re: AC97 sound card on 6.1

2006-06-05 Thread Greg Barniskis

Dave wrote:

Hello,
   I'm atempting to get an integrated AC97 sound card working under 6.1. 
I know this card works, loading the snd_driver module finds it, but i do 
not know which actual module works it over. I'd rather not have to load 
26 sound modules just the ones i actually need. I've checked 
/boot/kernel/snd* but didn't find anything...


cat /dev/sndstat

after loading the snd_driver meta module, to see which module 
actually associates itself with your card.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html

That always worked for me with 5.x, but I haven't tried any 
GUI/media stuff on 6.x yet.


--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: AC97 sound card on 6.1

2006-06-05 Thread Don Hinton
Hi Dave:

On Monday 05 June 2006 16:03, Dave wrote:
 Hello,
 I'm atempting to get an integrated AC97 sound card working under 6.1. I
 know this card works, loading the snd_driver module finds it, but i do not
 know which actual module works it over. I'd rather not have to load 26
 sound modules just the ones i actually need. I've checked /boot/kernel/snd*
 but didn't find anything AC97 and googling showed that others had asked,
 but no clear answer. If anyone has this going i'd appreciate hearing about
 it, and also any difficulties with quality or getting applications going.

Try this (taken from the handbook):

// load all the sound drivers
# kldload snd_driver

// see which one worked
# cat /dev/sndstat

Here's what got loaded:
# kldstat
Id Refs AddressSize Name
 1   47 0xc040 3f4498   kernel
 22 0xc07f5000 5ec0 snd_ich.ko
 3   29 0xc07fb000 22ae8sound.ko
 41 0xc081e000 58554acpi.ko
 51 0xc4fe1000 16000linux.ko
 61 0xc531d000 1c000radeon.ko
 71 0xc533b000 e000 drm.ko
 81 0xc5349000 11000agp.ko
 91 0xc5f26000 2000 snd_driver.ko
101 0xc5f28000 4000 snd_vibes.ko
111 0xc5f2c000 4000 snd_via82c686.ko
121 0xc5f3 5000 snd_via8233.ko
131 0xc606e000 4000 snd_t4dwave.ko
141 0xc6072000 5000 snd_solo.ko
154 0xc6077000 4000 snd_sbc.ko
161 0xc607b000 4000 snd_sb8.ko
171 0xc607f000 4000 snd_sb16.ko
181 0xc60ce000 1snd_neomagic.ko
192 0xc6083000 9000 snd_mss.ko
201 0xc60de000 8000 snd_maestro3.ko
211 0xc60e6000 a000 snd_maestro.ko
221 0xc60f 4000 snd_fm801.ko
232 0xc60f4000 4000 snd_ess.ko
241 0xc60f8000 6000 snd_es137x.ko
251 0xc60fe000 6000 snd_emu10k1.ko
261 0xc6104000 b000 snd_ds1.ko
272 0xc610f000 6000 snd_csa.ko
281 0xc6118000 5000 snd_cs4281.ko
291 0xc611d000 4000 snd_cmi.ko
301 0xc6121000 5000 snd_atiixp.ko
311 0xc6126000 4000 snd_als4000.ko
321 0xc612a000 4000 snd_ad1816.ko

And here's what I needed:
#  cat /dev/sndstat
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: Intel ICH6 (82801FB) at io 0xc8000800, 0xc8000400 irq 22 bufsz 16384 
kld snd_ich (1p/1r/0v channels duplex default)

So, I added the following to loader.conf:
# cat /boot/loader.conf
...
#sound driver
snd_ich_load=YES

hth...
don


 Thanks.
 Dave.

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

-- 
Don Hinton don.hinton at vanderbilt.edu  tel: 615.480.5667
ISIS, Vanderbilt University  skype: donhinton
http://people.vanderbilt.edu/~don.hinton/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: AC97 sound card on 6.1

2006-06-05 Thread Duane Whitty
On Mon, Jun 05, 2006 at 05:03:46PM -0400, Dave wrote:
 Hello,
I'm atempting to get an integrated AC97 sound card working under 6.1. I 
 know this card works, loading the snd_driver module finds it, but i do not 
 know which actual module works it over. I'd rather not have to load 26 
 sound modules just the ones i actually need. I've checked /boot/kernel/snd* 
 but didn't find anything AC97 and googling showed that others had asked, 
 but no clear answer. If anyone has this going i'd appreciate hearing about 
 it, and also any difficulties with quality or getting applications going.
 Thanks.
 Dave.
 
Hi,

It's just a guess without seeing the output of
dmesg but I think the ICH driver is the one, YMMV.

In my /boot/loader.conf I have the entry
snd_ich_load=YES

For a more definitive answer post your dmesg.

Hth,

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


Re: dmesg not working on new system

2006-06-05 Thread Chris Maness



On Mon, 5 Jun 2006, Lowell Gilbert wrote:


Greg Barniskis [EMAIL PROTECTED] writes:


Chris Maness wrote:



On Mon, 5 Jun 2006, Greg Barniskis wrote:


Chris Maness wrote:

I just installed 6.1 and upgraded to RELEASE-p1.  The command
dmesg is not displaying any kernel messages, any suggestions?


Suggests all is well?

dmesg outputs stuff from the current system message buffer, which
contains your boot messages right after booting but those can get
flushed over time. Boot messages are saved to a file though, for
reference.

more /var/run/dmesg.boot





I just thought it was strange because every other system I have it
at least displays dmesg.boot if there is no other messages.  Is this
new behavior for 6.1?


Not new behavior. A dmesg on any of my running systems (4.x, 5.x)
returns nothing after a time. You were just catching it before the
buffer was flushed. I don't know what triggers that, and it is
possible that the trigger/timing of it may have changed in 6.x (and as
always, YMMV).


Interesting.  Does dmesg -a show anything different?

Yes, it does, but why would it not show anything without the flag right 
after a reboot?  Wierd.  I almost suspect hard drive issues.

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


Re: AC97 sound card on 6.1

2006-06-05 Thread cpghost

Dave wrote:

Hello,
   I'm atempting to get an integrated AC97 sound card working under 
6.1. I know this card works, loading the snd_driver module finds it, 
but i do not know which actual module works it over. I'd rather not 
have to load 26 sound modules just the ones i actually need. I've 
checked /boot/kernel/snd* but didn't find anything AC97 and googling 
showed that others had asked, but no clear answer. If anyone has this 
going i'd appreciate hearing about it, and also any difficulties with 
quality or getting applications going.


Just try to kldload each snd_* manually, one after the other (don't kldload
snd_driver though) from the console, until the right one writes something
out. I've had a similar problem with an AC97 chipset in a laptop which
turned out to be a snd_t4dwave.ko

Good luck,
-cpghost.

--
Cordula's Web. http://www.cordula.ws/

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


Re: AC97 sound card on 6.1

2006-06-05 Thread Gregory Nou

Dave wrote:

Hello,
   I'm atempting to get an integrated AC97 sound card working under 6.1. 
I know this card works, loading the snd_driver module finds it, but i do 
not know which actual module works it over. I'd rather not have to load 
26 sound modules just the ones i actually need. I've checked 
/boot/kernel/snd* but didn't find anything AC97 and googling showed that 
others had asked, but no clear answer. If anyone has this going i'd 
appreciate hearing about it, and also any difficulties with quality or 
getting applications going.

Thanks.
Dave.


Hi Dave,

I have this :
pcm0: Avance Logic ALC650 AC97 Codec

and in my kernel :
# sound device
device  sound
device  snd_via8233

Regarding quality, I had a lot of problems (meaning sound distorsion), 
but it disappeared all a sudden one day, and I don't know why. So now, 
it works really well.


Cheers,

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


Compiling samba3 port on 6.1

2006-06-05 Thread David Hisel

Tom,

run 'make config' and de-select SMBSH...that's what worked for me.

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


Re: dmesg not working on new system

2006-06-05 Thread Greg Barniskis

Chris Maness wrote:


Interesting.  Does dmesg -a show anything different?

Yes, it does, but why would it not show anything without the flag right 
after a reboot?  Wierd.  I almost suspect hard drive issues.


OK, THAT does not seem normal. Sorry, didn't catch that detail at first.

Right after booting you really should be able to review your boot 
messages with dmesg. While the dmesg on my servers typically goes 
empty after awhile, I've never had any problem reviewing kernel 
output from a fresh boot using the dmesg command.


Is /var/run/dmesg.boot populated correctly? What kinds of things are 
in the -a output? Same results booting with or without network 
attached? (asking because busy network w/ lots of system messages 
seems to be what's flushing the buffer for me).



Anybody else got suggestions? Kernel troubleshooting's not really my 
favorite thing, and as such my expertise in that area is close to 
/dev/null.



--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
gregb at scls.lib.wi.us, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dmesg not working on new system

2006-06-05 Thread doug
A couple of things you can try: turn on the all.log line in syslog.conf; and, 
mkae sure syslog.conf and newsyslog.conf match the source tree. If all that 
looks okay, do a boot verbose (I forget the syntax). If you are getting any 
warning or status messages that could cause this either the all.log or the boot 
should show them.



On Mon, 5 Jun 2006, Chris Maness wrote:




On Mon, 5 Jun 2006, Lowell Gilbert wrote:


Greg Barniskis [EMAIL PROTECTED] writes:


Chris Maness wrote:



On Mon, 5 Jun 2006, Greg Barniskis wrote:


Chris Maness wrote:

I just installed 6.1 and upgraded to RELEASE-p1.  The command
dmesg is not displaying any kernel messages, any suggestions?


Suggests all is well?

dmesg outputs stuff from the current system message buffer, which
contains your boot messages right after booting but those can get
flushed over time. Boot messages are saved to a file though, for
reference.

more /var/run/dmesg.boot





I just thought it was strange because every other system I have it
at least displays dmesg.boot if there is no other messages.  Is this
new behavior for 6.1?


Not new behavior. A dmesg on any of my running systems (4.x, 5.x)
returns nothing after a time. You were just catching it before the
buffer was flushed. I don't know what triggers that, and it is
possible that the trigger/timing of it may have changed in 6.x (and as
always, YMMV).


Interesting.  Does dmesg -a show anything different?

Yes, it does, but why would it not show anything without the flag right after 
a reboot?  Wierd.  I almost suspect hard drive issues.

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


portupgrade across NFS

2006-06-05 Thread Michael Collette
I've got a setup here where I need to run portupgrade on a different box 
from the one where the port is actually going to.  I have all the NFS 
exports setup on the target box and mount points on the installer. 
Almost everything is working... except the reason for this posting.


When portupgrade attempts to remove the entry in /var/db/pkg for the old 
port, it fails to remove the directory.  It does remove all the contents 
of the directory, but not the directory itself.


This problem only occurs when using portupgrade.  Both pkg_delete and 
pkg_deinstall work without error.  Also, everything else in the process 
that portupgrade goes through appears to work properly.  Just that 
/var/db/pkg directory won't delete when NFS mounted.


Apparently other folks have had this problem before as I discovered upon 
googling about.  The following PR touches on the matter.


http://www.freebsd.org/cgi/query-pr.cgi?pr=32668

Been staring at Ruby code I don't fully understand for the better part 
of 2 days now, and I don't understand why this glitch is happening.  It 
looks like portupgrade simply calls to pkg_deinstall, which is a wrapper 
for pkg_delete.  Logically if the last 2 work, then portupgrade should 
as well, but obviously it doesn't.


Anyone out there able to make any sense of that Ruby code?  Is there 
something we can patch in there to get this tid bit functional?


Thanks,
--
Michael Collette
IT Manager
TestEquity LLC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dmesg not working on new system

2006-06-05 Thread Chris Maness




Is /var/run/dmesg.boot populated correctly? 

Yes
What kinds of things are in the -a output? 

named error messages mostly (this is a name server)
Same results booting with or without network attached? 
Haven't tried, but there are no messages displayed by dmesg (without a 
flag) at the time
(asking because busy network w/ lots of system messages seems to be 
what's flushing the buffer for me). 


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


Re: dmesg not working on new system

2006-06-05 Thread Chris Maness



On Mon, 5 Jun 2006, doug wrote:

A couple of things you can try: turn on the all.log line in syslog.conf; and, 
mkae sure syslog.conf and newsyslog.conf match the source tree. If all that 
looks okay, do a boot verbose (I forget the syntax). If you are getting any 
warning or status messages that could cause this either the all.log or the 
boot should show them.




There are no deltas between the two files and there originals from the 
source tree.  I administer this box via remote shell (ssh).  Is there a 
way to boot in verbose mode via a remote connection?

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


RE: Session Menu xdm/gdm problem

2006-06-05 Thread Vitaly D

From: Mike Hunter [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Subject: Session Menu xdm/gdm problem Date: Mon, 5 Jun 2006 14:47:09 
-0700


Hey everybody,

I'm having a frustrating X problem.  I installed X via portupgrade and
hacked /etc/ttys to enable xdm.  I can log in successfully both as root
and as a non-priv user, but either way I get to a screen that says:

Session Menu

Load Session # Delete Session # Break Lock # Default/Fail Safe # Cancel

But if I disable xdm and simply use startx, it launches X and my window
manager fine.  I tried deleting my .xinitrc but that didn't help.

I have a feeling some X component isn't in place.  I tried compiling gdm
as a replacement but that didn't help (same symptoms).  I was able to run
gdmsetup (or was it gdmconfig?) by logging into gdm in fail-safe mode, and
I could change some of the GDM settings, but I didn't see anything that I
could twist to fix the problem.

FreeBSD 6.1-RELEASE May 12
xorg-6.9.0


you should place .xinitrc file in your home directory a model can be found 
in /etc/X11/xinitrc


simply copy it to .xinitrc in your homedir

_
Windows Live Mail : découvrez et testez la version bêta ! 
http://www.ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d


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


Replacement for Adaptec 2200s

2006-06-05 Thread Kent Ketell
All,

It has come to my attention, apparently a bit belatedly, that Adaptec
has discontinued the 2200s and the 2120s RAID controllers.  This really
bums me out as it is the controller that I have standardized all of my
FreeBSD 4.x systems on.

My question to you all is this:  What RAID controller is available for
use in FreeBSD 4.x that offers the same type of functionality as the AAC
family did?

Thanks in advance.

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


RE: Session Menu xdm/gdm problem

2006-06-05 Thread Vitaly D

From: Mike Hunter [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Subject: Session Menu xdm/gdm problem Date: Mon, 5 Jun 2006 14:47:09 
-0700


Hey everybody,

I'm having a frustrating X problem.  I installed X via portupgrade and
hacked /etc/ttys to enable xdm.  I can log in successfully both as root
and as a non-priv user, but either way I get to a screen that says:

Session Menu

Load Session # Delete Session # Break Lock # Default/Fail Safe # Cancel

But if I disable xdm and simply use startx, it launches X and my window
manager fine.  I tried deleting my .xinitrc but that didn't help.

I have a feeling some X component isn't in place.  I tried compiling gdm
as a replacement but that didn't help (same symptoms).  I was able to run
gdmsetup (or was it gdmconfig?) by logging into gdm in fail-safe mode, and
I could change some of the GDM settings, but I didn't see anything that I
could twist to fix the problem.

FreeBSD 6.1-RELEASE May 12
xorg-6.9.0



You should place .xinitrc in your home directory. simply copy 
/etc/X11/xinit/xinitrc to ~/.xinitrc

that should work

_
Retrouvez tout en un clin d'oeil avec la barre d'outil MSN Search ! 
http://desktop.msn.fr/


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


Re: dmesg not working on new system

2006-06-05 Thread doug
I am assuming you do not have a serial console but yes check out 'man 
loader.conf'.


I did not remember but got it pretty quickly by search 'boot+verbose'. The 
handbook is really pretty good these days. That said I have never tried the 
loader.conf option.


On Mon, 5 Jun 2006, Chris Maness wrote:




On Mon, 5 Jun 2006, doug wrote:

A couple of things you can try: turn on the all.log line in syslog.conf; 
and, mkae sure syslog.conf and newsyslog.conf match the source tree. If all 
that looks okay, do a boot verbose (I forget the syntax). If you are 
getting any warning or status messages that could cause this either the 
all.log or the boot should show them.




There are no deltas between the two files and there originals from the source 
tree.  I administer this box via remote shell (ssh).  Is there a way to boot 
in verbose mode via a remote connection?



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


Re: dmesg not working on new system

2006-06-05 Thread doug
Belay my last response about loader.conf. I did not read that what does closely 
enough. Without a serial console, turning all all.log is the best I know how to 
do


On Mon, 5 Jun 2006, Chris Maness wrote:




On Mon, 5 Jun 2006, doug wrote:

A couple of things you can try: turn on the all.log line in syslog.conf; 
and, mkae sure syslog.conf and newsyslog.conf match the source tree. If all 
that looks okay, do a boot verbose (I forget the syntax). If you are 
getting any warning or status messages that could cause this either the 
all.log or the boot should show them.




There are no deltas between the two files and there originals from the source 
tree.  I administer this box via remote shell (ssh).  Is there a way to boot 
in verbose mode via a remote connection?



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


Re: dhcpd.leases not getting populated..

2006-06-05 Thread Nick Withers
On Mon, 05 Jun 2006 12:35:44 -0400
B. Cook [EMAIL PROTECTED] wrote:

 Nick Withers wrote:
  On Mon, 05 Jun 2006 09:06:23 -0400
  B. Cook [EMAIL PROTECTED] wrote:
  
  
  Don't suppose you'd be able to post the configuration of the
  subnet, would you?
 
 http://www.poklib.org/~dhcpd/dhcpd.conf

Ta for that.

Found an archived message at
http://www.southwestern.edu/ITS/netreg/archive/0464.html; that
methinks has the answer:


Leases are not added to dhcpd.leases for fixed-address
clients. :-( There was a patch for a fairly recent release
candidate to log these to a separate file, but I haven't tried
it on the latest RC. The dhcpd.leases file is really there so
that state can be maintained between incarnations of dhcpd,
e.g. shutdown, restart of dhcpd, etc. The server has to keep
track of the promises it has already made. Since fixed-address
clients always get the same information, and DNS is not
updated, it's not really necessary to record these leases.


I looked at dhcpd.leases on my (ISC) DHCP server and indeed
leases for fixed-address clients were not included.

I personally use dynamic DNS with DHCP and have had no dramas
with it. Don't know if this is appropriate for your situation,
though.

  
  Are you sure that leases are being handed out from the first
  pool?
 
 yes.
 
 The rest of the 192.168.1.0/24 gets ips and routes as they should.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

-- 
Nick Withers
email: [EMAIL PROTECTED]
Web: http://www.nickwithers.com
Mobile: +61 414 397 446
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dmesg not working on new system

2006-06-05 Thread Reko Turja


- Original Message - 
From: Chris Maness [EMAIL PROTECTED]


Yes, it does, but why would it not show anything without the flag 
right after a reboot?  Wierd.  I almost suspect hard drive issues.


I got the exactly same happen to me with 6.1-RELEASE updated just after 
6.1 was released. Didn't think about the weirdness really until now 
seeing your messages. The symptoms were exactly the same, /var/dmesg 
file was empty right after the boot and of course dmesg command didn't 
print the booting messages either.


Things seems to be normalized for me with 6.1-STABLE from yesterday, but 
haven't booted since buildworld process after which I got proper dmesg 
output.


-Reko 


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


Re: dmesg not working on new system

2006-06-05 Thread Chris Maness

Reko Turja wrote:


- Original Message - From: Chris Maness [EMAIL PROTECTED]

Yes, it does, but why would it not show anything without the flag 
right after a reboot?  Wierd.  I almost suspect hard drive issues.


I got the exactly same happen to me with 6.1-RELEASE updated just 
after 6.1 was released. Didn't think about the weirdness really until 
now seeing your messages. The symptoms were exactly the same, 
/var/dmesg file was empty right after the boot and of course dmesg 
command didn't print the booting messages either.


Things seems to be normalized for me with 6.1-STABLE from yesterday, 
but haven't booted since buildworld process after which I got proper 
dmesg output.


-Reko
Well, that makes me feel better.  I thought my hardrive (old as hek) was 
going bad.  This is my slave name server so I'm not too terribly concerned.

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


Converting DocBook into PDF

2006-06-05 Thread Rico

Hi,

I am working on a documentation project and needs to convert some 
DocBook files into several formats.


I have installed xmlto amongst others and I can convert the DocBook 
into XHTML, TXT but not into PDF or PS.


Trying to do so I get the error:

$xmlto --skip-validation pdf My_DocBook.xml
Making portrait pages on USletter paper (8.5inx11in)
XPath error : Undefined variable
$ulink.footnotes != 0
 ^
error: file file:///usr/local/share/xsl/docbook/fo/footnote.xsl line 94 
element number

Failed to compile predicate
/usr/local/bin/xmlto: line 379: 17329 Segmentation fault: 11  (core 
dumped) xsltproc $XSLTOPTS -o $XSLT_PROCESSED $STYLESHEET $INPUT_FILE
/usr/local/share/xmlto/format/docbook/../fo/pdf: Can't open 
/usr/local/share/xmlto/format/docbook/../fo/pdf: No such file or directory


How can I make xmlto work? I used this on a GNU/Linux system with great 
succes and would like to use the same tool since it is very easy and it 
renderes greatly. If not possible how can it be done otherwise.


Best and kind regards,
Rico

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


Re: Replacement for Adaptec 2200s

2006-06-05 Thread Chad Leigh -- Shire.Net LLC


On Jun 5, 2006, at 5:56 PM, Kent Ketell wrote:


All,

It has come to my attention, apparently a bit belatedly, that Adaptec
has discontinued the 2200s and the 2120s RAID controllers.  This  
really

bums me out as it is the controller that I have standardized all of my
FreeBSD 4.x systems on.

My question to you all is this:  What RAID controller is available for
use in FreeBSD 4.x that offers the same type of functionality as  
the AAC

family did?


Something else in the AAC family?  You may have to back port specific  
device support for newer controllers but the 2230SLP and 2130SLP for  
example are supported with the aac(4) driver under 6.x and I don't  
know how much the driver has changed in the meantime between FBSD 4  
and FBSD 6 but it may be pretty easy to backup device support into  
4.  Worth a check


Chad



Thanks in advance.

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


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



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


Re: Replacement for Adaptec 2200s

2006-06-05 Thread Jahilliya

On 6/6/06, Kent Ketell [EMAIL PROTECTED] wrote:

All,

My question to you all is this:  What RAID controller is available for
use in FreeBSD 4.x that offers the same type of functionality as the AAC
family did?


I've had excellent success with the 2410SA and the AAC driver under
5.x and above (havn't ever needed to try them on the 4.x series).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dmesg not working on new system

2006-06-05 Thread Chris Maness

[EMAIL PROTECTED] wrote:
Belay my last response about loader.conf. I did not read that what 
does closely enough. Without a serial console, turning all all.log is 
the best I know how to do


On Mon, 5 Jun 2006, Chris Maness wrote:

Looks like another reader had the same issue.  I feel better about it 
now.  I thought maybe something was corrupt or mis configured.

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


QEMU - encrypted images

2006-06-05 Thread Norberto Meijome
Hello there,
this is a bit off topic (well, i'm running qemu under 6.1 and installing 6.1 in
the img... :) .not sure if I should email the port maintainer about this.

I created an image as follows:
qemu-img create -e -f qcow a.img 2GB

then i start qemu :
qemu -boot d -m 400  -cdrom /dev/cdrom -hda a.img

It goes straight into qemu's console, i enter a HD password as requested (*
chars replace everything i type). I press enter and the vm boots up as normal,
i can go to Ctrl-1 and Ctrl-2 with no problem.

BUT  the qemu console (ctrl-2) is completely useless. everything I type still
comes out as * , and there doesnt seem to be any actual response to what I type
(if I type help, and press enter. I would have expected at least a whole
screenfull of  coming up...not even that.. it seems like it's stuck in
password reading mode?

am I missing something ?

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


Re: Session Menu xdm/gdm problem

2006-06-05 Thread Eric Schuele

Mike Hunter wrote:

Hey everybody,

I'm having a frustrating X problem.  I installed X via portupgrade and
hacked /etc/ttys to enable xdm.  I can log in successfully both as root
and as a non-priv user, but either way I get to a screen that says:

Session Menu

Load Session # Delete Session # Break Lock # Default/Fail Safe # Cancel

But if I disable xdm and simply use startx, it launches X and my window
manager fine.  I tried deleting my .xinitrc but that didn't help.

I have a feeling some X component isn't in place.  I tried compiling gdm
as a replacement but that didn't help (same symptoms).  I was able to run
gdmsetup (or was it gdmconfig?) by logging into gdm in fail-safe mode, and
I could change some of the GDM settings, but I didn't see anything that I
could twist to fix the problem.

FreeBSD 6.1-RELEASE May 12
xorg-6.9.0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


For xdm:
copy your .xinitrc to .xsession and see if that helps.

gdm:
is a bit more complicated.

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


Running out of swap space????

2006-06-05 Thread pauls

I've got a server that is running out of swap space:

+pid 37308 (mysqld), uid 88, was killed: out of swap space
+swap_pager: out of swap space
+swap_pager_getswapspace(1): failed

The strange this is, this server has a 6GB swap partition!

swapinfo -h
Device  1K-blocks UsedAvail Capacity
/dev/da0s1b   6291456 2.6G 6.0G43%

This isn't exactly a resource-starved machine either:

CPU: AMD Opteron(tm) Processor 244 (1793.88-MHz K8-class CPU)
 Origin = AuthenticAMD  Id = 0xf5a  Stepping = 10

Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,S
SE,SSE2
 AMD Features=0xe0500800SYSCALL,NX,MMX+,LM,3DNow+,3DNow
real memory  = 2146893824 (2047 MB)
avail memory = 2065797120 (1970 MB)
ACPI APIC Table: PTLTD  APIC  
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1

FreeBSD hostname.utdallas.edu 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Mar 
30 19:25:18 CST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMPKERNEL  amd64


last pid: 52327;  load averages:  0.45,  0.46,  0.45 
up 11+03:42:04  03:32:15

63 processes:  1 running, 62 sleeping
CPU states:  5.3% user,  0.0% nice,  0.8% system,  3.9% interrupt, 90.1% 
idle

Mem: 1410M Active, 126M Inact, 190M Wired, 82M Cache, 214M Buf, 78M Free
Swap: 6144M Total, 2687M Used, 3457M Free, 43% Inuse

Any suggestions are welcome - what could cause this?  How to troubleshoot? 
Possible solutions/workarounds?


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


Re: Compile courier-imap 4.1.1 fails (/usr/bin/ld: cannot find -lpcre)

2006-06-05 Thread Juha Saarinen

On 6/6/06, boink [EMAIL PROTECTED] wrote:


Dear all,

I'm building a pop toaster, have qmail up and running, vpopmail too,
now trying to get courier-imap-4.1.1 working.

Platform: FreeBSD 6.0_RELEASE, GENERIC kernel.

Problem: when installing from source,



Why not use courier-imap from the ports collection?


--

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


Re: Converting DocBook into PDF

2006-06-05 Thread Bill Campbell
On Tue, Jun 06, 2006, Rico wrote:
Hi,

I am working on a documentation project and needs to convert some 
DocBook files into several formats.

This is normally done with openjade in conjunction with tex.

I would go to http://www.docbook.org for tools.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

``Good luck to all you optimists out there who think Microsoft can deliver
35 million lines of quality code on which you can operate your business.''
   -- John C. Dvorak
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 6.0, ThinkPad 600, dc0: watchdog timeout - ACPI?

2006-06-05 Thread Fred Koschara
I just purchased another ThinkPad 600 and installed FreeBSD 6.0, expecting 
it would go as smoothly as had my previous installations of FreeBSD on my 
Web, database and nameservers, on the desktop machine on which I'm 
experimenting with FreeBSD programming, and on the Dell Latitude where 
FreeBSD is one of the 5 operating systems I have installed.  The 
installation did, indeed, seem to go smoothly.  However, network 
connectivity is an issue:  Any time I try to do something that would 
connect to the network (ntpd checking for time servers, sendmail starting 
during the boot process, ftp, ping) I get dc0 watchdog timeout errors, and 
most of the time nothing else.  When I ping the network gateway, nothing 
happens for several seconds, then ping reports response times of 8.77~, 
7.77~, 6.77~, ..., 0.77~ seconds in a batch, then goes to sleep again, 
repeating the sequence.


I made the mistake of trying to start Gnome with this problem 
occurring.  When, over an hour later, I was able to *finally* get to where 
I could shut the desktop down gracefully, I resolved to not do *that* 
exercise again!


This laptop came with two PCMCIA network cards - an IBM 10/100 EtherJet 
CardBus 32-bit adapter, and a 3Com 3C574-TX 10/100Base-TX 16-bit 
adapter.  The EtherJet is the one I'm getting the dc0 watchdog timeout 
errors with.  When I try the 3Com, the boot process reports that it's 
detected the card, but it doesn't make a network connection.  I tried the 
D-Link DFE-690TXD I use all the time in my w98 ThinkPad.  FreeBSD 
recognized the card, but did not attempt to configure it or make a network 
connection.  I also tried a D-Link DWL-G630 AirPlus G wireless card, which 
FreeBSD didn't even know was there, as well as a D-Link DWL-AB650 AirPro 
A/B wireless card.  FreeBSD acknowledged the presence of the AB650, but 
said there was no driver attached.


The EtherJet works correctly with both w2K on my Lattitude, and under w98 
on my other ThinkPad (once I downloaded the drivers).


During the boot process, FreeBSD properly discovers the network card and 
seems to be configuring it, including negotiating the IP address with the 
DHCP server.  Immediately after printing the MAC address, a bold text line 
is written saying dc0: link state changed to DOWN and it writes the two 
remaining lines (media: Ethernet autoselect (none) and status: no 
carrier).  There have been times when another bold line was printed later 
saying dc0: link state changed to UP, but the condition did not persist, 
because I was getting dc0: watchdog timeout errors before the boot process 
was done in those cases as well.


I tried using ifconfig to force the EtherJet into 10Mbps mode, as well as 
full and half duplex, but none of those changes seem to have made any 
difference.  I also added media 100baseTX mediaopt full-duplex to the 
ifconfig_dc0 line in rc.conf.  This changed the reported Ethernet 
autoselect (none) to Ethernet 100baseTX full-duplex as expected, but 
the status: no carrier keeps coming up.


When I boot FreeBSD with ACPI disabled (option 2), it reports several 
unknown devices in the PCI PnP scan (not surprising) - and the EtherJet 
works correctly.  (Gnome comes up quickly, also.)  However, when I boot 
with ACPI enabled (option 1), the EtherJet cannot connect.  I booted with 
verbose logging, and noticed a couple of things:  There are 4 devices, in 
addition to the cardbus device, assigned to irq 9 (which is the irq being 
used for the network connection, from what I can see), and FreeBSD says the 
cardbus device is 16 bits, not 32 bits.


The man dc(4) page says the dc%d: watchdog timeout error can happen if the 
device is unable to deliver interrupts for some reason, or if there is a 
problem with the network connection.  If there was a problem with the 
network connection, I would expect to the lights on the switch (a D-Link 
DSS-8+) to not be showing a solid network connetion, but this isn't happening.


When Gnome is starting, it also reports No volume control elements and/or 
devices found.  I thought this might be related to whether ACPI was active 
or not, but the same error message is displayed in both cases.  I don't 
know if this is a related issue or not.


uname -a reports
FreeBSD London.FKEinternet.com 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 
2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


Please advise if any further information would be helpful in resolving this 
problem - should I send the verbose dmesg output?  dmesg with and without 
ACPI, for comparison?


Thanks for any suggestions and support!

-- Fred Koschara


Ignorance can easily be cured by knowledge, stupidity is generally only 
cured by death...


Truth and Falsehood were bathing. Falsehood came out of the water first and 
dressed herself in Truth's clothes. Truth, unwilling to put on the garments 
of Falsehood, went naked.

(Author Unknown)

The war on