apache20 with mod_ssl segfaults

2006-01-13 Thread Adrian Schlegel
Hi,

After (re)installing apache-2.0.55_2 from the ports tree, it segfaults when
trying to start it with SSL. I installed as follows:
cd /usr/ports/www/apache20
make WITH_SSL_MODULES=yes build 
make deinstall  make WITH_SSL_MODULES=yes reinstall
apachectl stop  apachectl startssl

output in /var/log/messages:
pid 50069 (httpd), uid 0: exited on signal 11 (core dumped)

output from gdb:
#0  0x281a4e57 in X509_NAME_set () from /lib/libcrypto.so.3

System: FreeBSD 5.3-RELEASE-p2 i386

Starting it without SSL works fine.

Any help appreciated.

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


php5 and apache2?

2006-01-13 Thread Andrew L. Gould
I just finished upgrading via portupgrade and found that I now have
both apache13 and apache2 installed. Upon examination of the php5 port, I've 
found
that the WITH_APACHE2=YES option is no longer available.

I'd like to stick with apache2 since I had everything working nicely
(php5, webdav, ssl, etc).

Any advice?

Thanks,

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


Re: php5 and apache2?

2006-01-13 Thread gandalf

Andrew L. Gould wrote:


I just finished upgrading via portupgrade and found that I now have
both apache13 and apache2 installed. Upon examination of the php5 port, I've 
found
that the WITH_APACHE2=YES option is no longer available.

I'd like to stick with apache2 since I had everything working nicely
(php5, webdav, ssl, etc).

Any advice?
 

I had the same problem before. I suppose you used portupgrade to install 
binary packages, right?
The php5 package depends on apache13, this is why portupgrade installed 
apache13.
You should deinstall php5 and apache13. Then refresh your ports tree. 
Finally, reinstall php5 from the ports:


cd /usr/ports/lang/php5
make
make install
cd /usr/ports/lang/php5-extensions
make
make install

This will detect your apache2 installation and will compile with apache2.

Best,

  Les

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


Re: freeradius freebsd-6.0

2006-01-13 Thread Riemer Palstra
On Thu, Jan 12, 2006 at 10:26:57AM +0700, Beastie wrote:
 main: pidfile = /var/run/radiusd/radiusd.pid

Is /var/run/radiusd/ owned by radius:radius?

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


Re: Syntax of dhclient.conf(5)

2006-01-13 Thread Dick Davies
There should be semicolons after each line.

On 13/01/06, Parv [EMAIL PROTECTED] wrote:
 I failed to find detailed syntax layout in dhclient.conf(5) man page,
 via web search, or be able to deduce from files in
 /misc/src/sbin/dhclient.  I was looking for something like as given in
 (i)pf.conf(5) man pages.

 Could somebody point me to a detailed document documenting the syntax?
 Alternatively, please help me understand what am i missing from the
 dhclient.conf listed below which results in following parsing error
 messages ...

   /etc/dhclient.conf line 11: expecting identifier after option keyword.
 {
 ^
   /etc/dhclient.conf line 18: expecting a statement.
   }
   ^
   /etc/dhclient.conf line 32: semicolon expected.

   ^

 ... dhclient.conf ...

1
2  #  FreeBSD 6.0-STABLE's dhclient empties /etc/resolv.conf  default 
 route is
3  #  not being assigned.  Remedy this by having sane entries here in 
 dhclient.conf.
4
5  request subnet-mask , routers , domain-name-servers;
6  require routers , domain-name-servers;
7
8  interface em0
9  {
   10default
   11{
   12  fixed-address 192.168.2.100
   13, option subnet-mask 0xff00
   14, option routers 192.168.2.1
   15}

(if you're setting all these yourself, why are you bothering to
do dhcp on that interface?)

There should be semicolons after each line in the braces,
and the leading dots before option aren't something I recognize.

It's a pity there isn't a simple (but not blank!) one in
/usr/share/examples, I could
have sworn there used to be.

--
Rasputin :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Slow 2d performance in X / opera / nvidia drivers

2006-01-13 Thread Martin Tournoy
Don't see any XOrg log file, you forgot to attatch it?

And what is Xinerama, i thought it was a window manager like KDE or gnome...?

Try loading from the open-source driver, or generic vga or vesa, will
that improve preformance?

You said problems started to occur with Opera 8 and later, did you try
using opera 7.x or 6.x? it those work alright I think opera support
would be the best place to be

On 12/01/06, Josh Paetzel [EMAIL PROTECTED] wrote:
 On Thursday 12 January 2006 04:25 am, Joseph Kerian wrote:
  On 1/11/06, Martin Tournoy [EMAIL PROTECTED] wrote:
   On 10/01/06, Josh Paetzel [EMAIL PROTECTED] wrote:
 
  *many helpful attachments snipped*
 
I've been having terrible 2d performance with opera
(linux-opera and native 8.51 and 9.0) using the nvidia drivers.
 When I windowshade it and then restore it there is a sizeable
delay while it redraws the window.  If I rapidly shade and
restore the window my idle CPU time goes to 0% and mp3 playback
will occassionally skip.
   
The problem first started when Opera 8 was released, I hoped
that further releases would address it but so far that has not
been the case.  Any suggestions for a fix welcome.
   
(Yes, I have been seeking support on opera.com but this feels
like a FreeBSD mis-configuration of some sort on my end. :)
  
   You might try turning the twinview of, it takes up heaps of
   resources on my machine, then again, your machine has 300% more
   RAM and clockspeed, so it should be able to handle it fine
  
   Try using freebsd AGP, the nvidia should work better but you
   might want to try it anyway...
 
  The other useful file for this might be your Xorg log.
 
   Which window manager do you use, I noted that KDE can be really,
   really slow even on newer machines (Krap Desktop Enviorment)
 
  *bites the troll*
 
   Is this problem ONLY with opera? or with other applications to?
   if you have another QT application you might want try how that
   runs. Also check you QT version, maybe it's ancient?
  
   Did you try using both the static/shared QT versions? If not, it
   might make a diffrence.
 
  I haven't had this problem at all with Opera on the ports KDE,
  using a far inferior nvidia card.
  I have had a bit of shared library wierdness, but Opera simply
  refused to run until I fixed that.
 
  If this is a PCI-Express card, note the discussion of 3d
  performance here:
  http://www.nvnews.net/vbulletin/showthread.php?t=59981

 Well, I think I may have found the problem but can't seem to find a
 fix to test my theory.  Xorg is loading Xinerama and I've found some
 noise via google that there is a 'nvidia-xinerama' that is faster
 than the native 'xorg-xinerama'.  I've tried disabling xinerama in my
 Xorg conf file but it loads anyways.

 Attached is my xorg.log

 --
 Thanks,

 Josh Paetzel


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


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


Re: portupgrade and portversion seg-fault in freebsd 6.0

2006-01-13 Thread Pietro Cerutti
On 1/13/06, TuxGirl [EMAIL PROTECTED] wrote:
 [amon-re /root] portupgrade -aP
 [Updating the pkgdb format:dbm_hash in /var/db/pkg ... - 320
 packages found (-1 +0)
 (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:466: [BUG]
 Segmentation fault
 ruby 1.8.2 (2004-12-25) [i386-freebsd6]

The first thing I would do is de/re-install ruby, have you tried it?

 ~TuxGirl

--
Pietro Cerutti
[EMAIL PROTECTED]

   Non lasciar calpestare i TUOI diritti!
   Don't let 'em take YOUR rights!

   NO al Trusted Computing!
   Say NO to Trusted Computing!

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


Re: php5 and apache2?

2006-01-13 Thread Crispy Beef
I had the same problem before. I suppose you used portupgrade to install 
binary packages, right?
The php5 package depends on apache13, this is why portupgrade installed 
apache13.
You should deinstall php5 and apache13. Then refresh your ports tree. 
Finally, reinstall php5 from the ports:


cd /usr/ports/lang/php5
make
make install
cd /usr/ports/lang/php5-extensions
make
make install


Might also be a good idea to delete the php5 options file first too.  It's 
located here:


/var/db/ports/php5/options

There's one for php5-extensions too.

Normally the settings in these files are taken from doing a 'make config' so 
if you want to start totally from scratch you probably want to ditch those too.


Hope this helps a little.

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


Re: portupgrade and portversion seg-fault in freebsd 6.0

2006-01-13 Thread Adi Pircalabu
On Thu, 12 Jan 2006 21:50:58 -0700
TuxGirl [EMAIL PROTECTED] wrote:

 [amon-re /root] portupgrade -aP
 [Updating the pkgdb format:dbm_hash in /var/db/pkg ... - 320
 packages found (-1 +0)
 (...)/usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb:466: [BUG]
 Segmentation fault

Quick, dirty and effective:
# rm -f /var/db/pkg/pkgdb.db  pkgdb -u

-- 
Adi Pircalabu (PGP Key ID 0x04329F5E)


-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://www.bitdefender.com/

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


fdisk: Geom not found

2006-01-13 Thread Wojciech Puchar

.
.
.
parameters to be used for BIOS calculations are:
cylinders=125 heads=255 sectors/track=63 (16065 blks/cyl)

Information from DOS bootblock is:
1: sysid 6 (0x06),(Primary 'big' DOS (= 32MB))
start 63, size 2008062 (980 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 124/ head 254/ sector 63
2: UNUSED
3: UNUSED
4: UNUSED
Should we write new partition table? [n] y
fdisk: Geom not found
^



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


(no subject)

2006-01-13 Thread Susanka Kodisinghe

hi
this regarding Midicart  PHP Shopping Cart  
i have used your demo s/w and i am happy with your shopping cart 
solution. i nead clear some infomation befor buy that s/w.


doest it support order processing feature and stock control feature in 
complete solution.


thank you.
susanka



-- Disclaimer --

This e-mail and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the sender by replying to 
this e-mail containing this attachment. Replies to this email may be monitored 
by Wisematch Services Limited for operational or business reasons. Whilst every 
endeavor is taken to ensure that e-mails are free from viruses, no liability 
can be accepted and the recipient is requested to use their own virus checking 
software.

This email has been scanned for viruses using ClamAv available from 
http://www.clamav.net/ under the GPL licence.

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


Re: (no subject)

2006-01-13 Thread Svein Halvor Halvorsen
On 1/13/06, Susanka Kodisinghe [EMAIL PROTECTED] wrote:
 this regarding Midicart  PHP Shopping Cart
 i have used your demo s/w and i am happy with your shopping cart
 solution. i nead clear some infomation befor buy that s/w.

FreeBSD is an operating system. Also, it's free.
You might be thinking of something else.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: (no subject)

2006-01-13 Thread Ceri Davies


On 13 Jan 2006, at 11:11, Susanka Kodisinghe wrote:


hi
this regarding Midicart  PHP Shopping Cart  i have used your demo s/ 
w and i am happy with your shopping cart solution. i nead clear  
some infomation befor buy that s/w.


doest it support order processing feature and stock control feature  
in complete solution.


thank you.
susanka


Hi Susanka,

I think you have the wrong email address; we don't make this kind of  
software.


Ceri



PGP.sig
Description: This is a digitally signed message part


XFree86 on FreeBSD 5.4

2006-01-13 Thread offbyone

My problem:
Running FreeBSD_5.4-RELEASE with XFree86-4.5.0, there is a mis-match: 
the underlying o.s. and newly installed and upgraded ports expect X.org
After portupgrade of an X-supported port, this mis-match shows up as 
stale dependency(ies) It's a bore repeatedly to point new and upgraded 
 ports to XFree86-libraries-4.5.0, etc. (and there is no XFree86 
component that corresponds directly to X.org-TrueType, or is there?)

My questions:
0.) How to change the underlying o.s. default expectation to XFree86 AND 
 is this a good idea for the present and future of 5.x?
1.) Is a better solution to bite the bullet, deinstall all XFree86 
components and install X.org, since FreeBDS is 5.x?
(N.B. I do not want to start a flame over XFree86 vs. X.org. That's a 
too-old and pointless debate, and I have no inherent reason to prefer 
one over the other.)

Thanks, very much. for more info, suggestions.
Jake

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


dhclient fixed leases

2006-01-13 Thread Maxim Vetrov

Hi to all,

I can't configure dhclient to use fixed lease on a network with no dhcp 
server. I use my notebook to connect to several different networks. Some 
of them have dhcp servers, some do not. Just tired of manual config on 
the latter. I've done man dhclient.conf and found that I can cope with 
that. so there is my dhclient.conf:


timeout 15;
retry 180;
reboot 5;

lease {
   interface sis0;
   fixed-address 10.0.1.4;
   option routers 10.0.1.5;
   option host-name mobile;
   option subnet-mask 255.255.255.248;
   expire 5 2010/1/1 00:00:00;
   renew 5 2010/1/1 0:0:0;
   rebind 5 2010/1/1 0:0:0;
}

interface sis0 {
   send dhcp-lease-time 600;
   send host-name mobile;
   request 
broadcast-address,routers,subnet-mask,domain-name,domain-name-servers,time-servers,netbios-name-servers;

}

When it boots these messages are displayed:
Trying recorded lease 10.0.1.4
bound: renewal in 125116757 seconds.
and nothing happen.

The peer's address on the othe side of cross-wired cable is 10.0.1.5 
netmask 255.255.255.248. When I

 ifconfig sis0 inet 10.0.1.4 netmask 255.255.255.248 up
and ping connection is alive.

What do I do wrong?

Muxas

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


Re: XFree86 on FreeBSD 5.4

2006-01-13 Thread Andrew P.
On 1/13/06, offbyone [EMAIL PROTECTED] wrote:
 My problem:
 Running FreeBSD_5.4-RELEASE with XFree86-4.5.0, there is a mis-match:
 the underlying o.s. and newly installed and upgraded ports expect X.org
 After portupgrade of an X-supported port, this mis-match shows up as
 stale dependency(ies) It's a bore repeatedly to point new and upgraded
   ports to XFree86-libraries-4.5.0, etc. (and there is no XFree86
 component that corresponds directly to X.org-TrueType, or is there?)
 My questions:
 0.) How to change the underlying o.s. default expectation to XFree86 AND
   is this a good idea for the present and future of 5.x?

Look at /usr/local/etc/pkgtools.conf

 1.) Is a better solution to bite the bullet, deinstall all XFree86
 components and install X.org, since FreeBDS is 5.x?

Sure. There's no debate about it whatsoever. You are also
avdised to bite another bullet and upgrade to FreeBSD 6,
it's a painless/seamless procedure now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ueagle driver on FreeBSD 6.0 Stable

2006-01-13 Thread Pablo de León Belloc
Hi,

Does anybody have success stories about using eagle-based adsl modems with
only USB interface and PPPoE on FreeBSD 6.0 Stable ?

It says in:
http://damien.bergamini.free.fr/ueagle/

That ueagle2 Should support PPPoE (though not tested) and I know you have
to patch it up for it to build because of some renamings in
sys/net/if_var.h.  I managed to build the uegale1.5 driver (didn't realize
about the difference between 1.5 and 2 then...) and I guess I'll try again
when I have time before moving to another alternative.  Maybe somebody
already managed to make this work or knows it won't work ?

Thanks,

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


Re: dhclient fixed leases

2006-01-13 Thread Ceri Davies


On 13 Jan 2006, at 21:41, Maxim Vetrov wrote:


Hi to all,

I can't configure dhclient to use fixed lease on a network with no  
dhcp server. I use my notebook to connect to several different  
networks. Some of them have dhcp servers, some do not. Just tired  
of manual config on the latter. I've done man dhclient.conf and  
found that I can cope with that. so there is my dhclient.conf:


timeout 15;
retry 180;
reboot 5;

lease {
   interface sis0;
   fixed-address 10.0.1.4;
   option routers 10.0.1.5;
   option host-name mobile;
   option subnet-mask 255.255.255.248;
   expire 5 2010/1/1 00:00:00;
   renew 5 2010/1/1 0:0:0;
   rebind 5 2010/1/1 0:0:0;
}

interface sis0 {
   send dhcp-lease-time 600;
   send host-name mobile;
   request broadcast-address,routers,subnet-mask,domain- 
name,domain-name-servers,time-servers,netbios-name-servers;

}

When it boots these messages are displayed:
Trying recorded lease 10.0.1.4
bound: renewal in 125116757 seconds.
and nothing happen.

The peer's address on the othe side of cross-wired cable is  
10.0.1.5 netmask 255.255.255.248. When I

 ifconfig sis0 inet 10.0.1.4 netmask 255.255.255.248 up
and ping connection is alive.

What do I do wrong?


Pass, but I found the same when I tried this a few weeks ago.
Then Santa gave me a new access point which came free with a whole bunch
of other problems so I didn't look into it too hard.  I'm glad it's not
just me, though.

Ceri


PGP.sig
Description: This is a digitally signed message part


Re: defaultroute not loading

2006-01-13 Thread Ceri Davies


On 13 Jan 2006, at 06:46, Igor Robul wrote:


On Thu, Jan 12, 2006 at 11:37:27PM +, Michael Zimmer wrote:

  rc.subr

Why?


  hostname=#.com
  defaultrouter=1.2.3.4  # previously 1.2.3.4;  
removed
You need 1.2.3.4, because in manual page for rc.conf it is marked  
as (str).


Yes, but it's just a shell script so that should be fine.

Ceri


PGP.sig
Description: This is a digitally signed message part


Re: defaultroute not loading

2006-01-13 Thread Ceri Davies


On 12 Jan 2006, at 23:37, Michael Zimmer wrote:



  I just updated a i386 gateway to 6.0-STABLE - using my backed-up
  versions [from 5.1] of:

  rc.conf
  rc.firewall
  rc.resume
  rc.sendmail
  rc.shutdown
  rc.subr
  rc.suspend
  resolv.conf
  sysctl.conf
  ipnat.rules
  ipf.rules

  ...and the default route won't load on boot, although it is  
specified

  in rc.conf (replace all non-comment #'s and 1.2.3.4 with appropriate
  numbers)

  hostname=#.com
  defaultrouter=1.2.3.4  # previously 1.2.3.4;  
removed



Could you post the output of sh -x /etc/rc.d/routing start?
Please try to resist editing it too.

Is this working for anyone on 6.0-STABLE?  I don't see anywhere
in /etc where the default route is actually installed.

Ceri


PGP.sig
Description: This is a digitally signed message part


Re: XFree86 on FreeBSD 5.4

2006-01-13 Thread Robert Slade
On Fri, 2006-01-13 at 11:21, offbyone wrote:
 My problem:
 Running FreeBSD_5.4-RELEASE with XFree86-4.5.0, there is a mis-match: 
 the underlying o.s. and newly installed and upgraded ports expect X.org
 After portupgrade of an X-supported port, this mis-match shows up as 
 stale dependency(ies) It's a bore repeatedly to point new and upgraded 
   ports to XFree86-libraries-4.5.0, etc. (and there is no XFree86 
 component that corresponds directly to X.org-TrueType, or is there?)
 My questions:
 0.) How to change the underlying o.s. default expectation to XFree86 AND 
   is this a good idea for the present and future of 5.x?
 1.) Is a better solution to bite the bullet, deinstall all XFree86 
 components and install X.org, since FreeBDS is 5.x?
 (N.B. I do not want to start a flame over XFree86 vs. X.org. That's a 
 too-old and pointless debate, and I have no inherent reason to prefer 
 one over the other.)
 Thanks, very much. for more info, suggestions.
 Jake
 

Jake,

I am sorry I do not have an answer. but when I installed 5.4 not long
ago it installed Xorg as the default from the iso. Did you update to 5.4
from an earlier version?

Rob

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


Re: defaultroute not loading

2006-01-13 Thread Christer Solskogen

Michael Zimmer wrote:


  I just updated a i386 gateway to 6.0-STABLE - using my backed-up
  versions [from 5.1] of:



You didn't forget running mergemaster?

--
chs

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


Re: dhclient fixed leases

2006-01-13 Thread Erik Norgaard

Maxim Vetrov wrote:

I can't configure dhclient to use fixed lease on a network with no dhcp 
server. I use my notebook to connect to several different networks. Some 
of them have dhcp servers, some do not. Just tired of manual config on 
the latter. I've done man dhclient.conf and found that I can cope with 
that. so there is my dhclient.conf:


timeout 15;
retry 180;
reboot 5;

lease {
   interface sis0;
   fixed-address 10.0.1.4;
   option routers 10.0.1.5;
   option host-name mobile;
   option subnet-mask 255.255.255.248;
   expire 5 2010/1/1 00:00:00;
   renew 5 2010/1/1 0:0:0;
   rebind 5 2010/1/1 0:0:0;
}

interface sis0 {
   send dhcp-lease-time 600;
   send host-name mobile;
   request 
broadcast-address,routers,subnet-mask,domain-name,domain-name-servers,time-servers,netbios-name-servers; 


}

When it boots these messages are displayed:
Trying recorded lease 10.0.1.4
bound: renewal in 125116757 seconds.
and nothing happen.

The peer's address on the othe side of cross-wired cable is 10.0.1.5 
netmask 255.255.255.248. When I

  ifconfig sis0 inet 10.0.1.4 netmask 255.255.255.248 up
and ping connection is alive.

What do I do wrong?


1st: Which version of FreeBSD do you use? There is significant 
difference between 5.x and prior and 6.x and posterior.


There was a discussion a few weeks ago, see Wireless NIC in FreeBSD 
6.0, I suggested to try to include a default section in the interface 
section, but the I never got an answer if this worked.


Regards, Erik

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


Re: php5 and apache2? -- Resolved

2006-01-13 Thread Andrew L. Gould
On Fri, 13 Jan 2006 09:59:48 +
Crispy Beef [EMAIL PROTECTED] wrote:

  I had the same problem before. I suppose you used portupgrade to
  install binary packages, right?
  The php5 package depends on apache13, this is why portupgrade
  installed apache13.
  You should deinstall php5 and apache13. Then refresh your ports
  tree. Finally, reinstall php5 from the ports:
  
  cd /usr/ports/lang/php5
  make
  make install
  cd /usr/ports/lang/php5-extensions
  make
  make install
 
 Might also be a good idea to delete the php5 options file first too.
 It's located here:
 
 /var/db/ports/php5/options
 
 There's one for php5-extensions too.
 
 Normally the settings in these files are taken from doing a 'make
 config' so if you want to start totally from scratch you probably
 want to ditch those too.
 
 Hope this helps a little.
 
 --
 Paul

I rebooted and deleted the php options file. The packages for php5,
php5-extensions and apache13 have been deleted. Apache2 is still
installed. When I go to /usr/ports/lang/php5 and do 'make config',
there is not an option for using apache2. When I do 'make', the port
begins to make the apache13 port.

The php5 MAKEFILE includes the line:
USE_APACHE= 1.3+

Changing the 13+ in that line to 2+ breaks the MAKEFILE. Changing
the line to 2.0+ works; but the port started building the version of
apache2 that was already installed. I stopped the process, deleted
the installed apache2 and executed the make install clean process in
php5 again. 

Php5 and apache2 are now installed without apache13. I am now installing
the extensions.

Thanks for the help.

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


Re: defaultroute not loading

2006-01-13 Thread Stijn Hoop
Hi,

On Fri, Jan 13, 2006 at 12:49:07PM +, Ceri Davies wrote:
 On 12 Jan 2006, at 23:37, Michael Zimmer wrote:
   hostname=#.com
   defaultrouter=1.2.3.4  # previously 1.2.3.4; removed

 Could you post the output of sh -x /etc/rc.d/routing start?
 Please try to resist editing it too.
 
 Is this working for anyone on 6.0-STABLE?  I don't see anywhere
 in /etc where the default route is actually installed.

[EMAIL PROTECTED] ~ grep defaultrouter /etc/rc.conf
defaultrouter=131.155.68.1
[EMAIL PROTECTED] ~ netstat -rn | grep default
default131.155.68.1   UGS 0   484325xl0
[EMAIL PROTECTED] ~ bsdver
FreeBSD 6.0-RELEASE-p1 #2: Mon Jan  2 12:07:31 CET 2006

No other interfaces, so I'd say it works for me.

--Stijn

-- 
I really hate this damned machine
I wish that they would sell it.
It never does quite what I want
But only what I tell it.


pgpBWQ3eUzT06.pgp
Description: PGP signature


Re: defaultroute not loading

2006-01-13 Thread Ceri Davies


On 13 Jan 2006, at 14:16, Stijn Hoop wrote:


Hi,

On Fri, Jan 13, 2006 at 12:49:07PM +, Ceri Davies wrote:

On 12 Jan 2006, at 23:37, Michael Zimmer wrote:

 hostname=#.com
 defaultrouter=1.2.3.4  # previously 1.2.3.4;  
removed


Could you post the output of sh -x /etc/rc.d/routing start?
Please try to resist editing it too.

Is this working for anyone on 6.0-STABLE?  I don't see anywhere
in /etc where the default route is actually installed.


[EMAIL PROTECTED] ~ grep defaultrouter /etc/rc.conf
defaultrouter=131.155.68.1
[EMAIL PROTECTED] ~ netstat -rn | grep default
default131.155.68.1   UGS 0   484325xl0
[EMAIL PROTECTED] ~ bsdver
FreeBSD 6.0-RELEASE-p1 #2: Mon Jan  2 12:07:31 CET 2006

No other interfaces, so I'd say it works for me.


Thank the gods for that.  Could you send me the output of
sh -x /etc/rc.d/routing start privately?

I'm rather confused regarding where this happens.

Ceri


PGP.sig
Description: This is a digitally signed message part


Re: XFree86 on FreeBSD 5.4

2006-01-13 Thread offbyone

Robert Slade wrote:

On Fri, 2006-01-13 at 11:21, offbyone wrote:


My problem:
Running FreeBSD_5.4-RELEASE with XFree86-4.5.0, there is a mis-match: 
the underlying o.s. and newly installed and upgraded ports expect X.org
After portupgrade of an X-supported port, this mis-match shows up as 
stale dependency(ies) It's a bore repeatedly to point new and upgraded 
 ports to XFree86-libraries-4.5.0, etc. (and there is no XFree86 
component that corresponds directly to X.org-TrueType, or is there?)

My questions:
0.) How to change the underlying o.s. default expectation to XFree86 AND 
 is this a good idea for the present and future of 5.x?
1.) Is a better solution to bite the bullet, deinstall all XFree86 
components and install X.org, since FreeBDS is 5.x?
(N.B. I do not want to start a flame over XFree86 vs. X.org. That's a 
too-old and pointless debate, and I have no inherent reason to prefer 
one over the other.)

Thanks, very much. for more info, suggestions.
Jake




Jake,

I am sorry I do not have an answer. but when I installed 5.4 not long
ago it installed Xorg as the default from the iso. Did you update to 5.4
from an earlier version?

Rob





Yes, from 5.1-RELEASE on CD-ROM; cvsup to 5.4-STABLE and built from source.

# uname -a is:
FreeBSD localhost.localdomain 5.4-RELEASE-p8 FreeBSD 5.4-RELEASE-p8 
#0: Sun Jan  8 15:26:20 CET 2006


X.org is included in the distribution, and I knew about the changed 
default. I just reflexively went with XFree86 during the install, out of 
long-established habit with FreeBSD.


- Jake

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


Re: dhclient fixed leases

2006-01-13 Thread Maxim Vetrov

Erik Norgaard wrote:


Maxim Vetrov wrote:

I can't configure dhclient to use fixed lease on a network with no 
dhcp server. I use my notebook to connect to several different 
networks. Some of them have dhcp servers, some do not. Just tired of 
manual config on the latter. I've done man dhclient.conf and found 
that I can cope with that. so there is my dhclient.conf:


timeout 15;
retry 180;
reboot 5;

lease {
   interface sis0;
   fixed-address 10.0.1.4;
   option routers 10.0.1.5;
   option host-name mobile;
   option subnet-mask 255.255.255.248;
   expire 5 2010/1/1 00:00:00;
   renew 5 2010/1/1 0:0:0;
   rebind 5 2010/1/1 0:0:0;
}

interface sis0 {
   send dhcp-lease-time 600;
   send host-name mobile;
   request 
broadcast-address,routers,subnet-mask,domain-name,domain-name-servers,time-servers,netbios-name-servers; 


}

When it boots these messages are displayed:
Trying recorded lease 10.0.1.4
bound: renewal in 125116757 seconds.
and nothing happen.

The peer's address on the othe side of cross-wired cable is 10.0.1.5 
netmask 255.255.255.248. When I

  ifconfig sis0 inet 10.0.1.4 netmask 255.255.255.248 up
and ping connection is alive.

What do I do wrong?



1st: Which version of FreeBSD do you use? There is significant 
difference between 5.x and prior and 6.x and posterior.


There was a discussion a few weeks ago, see Wireless NIC in FreeBSD 
6.0, I suggested to try to include a default section in the 
interface section, but the I never got an answer if this worked.


Regards, Erik

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



I'm on 6.0 release. The default will not help - I have several 
networks without dhcpd. So 'default option routers 10.0.1.5;' will work 
only for one and fail for others.


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


mysql backups (was Re: Remote backups, reading from and writing to the same file)

2006-01-13 Thread N.J. Thomas
* Hans Nieser [EMAIL PROTECTED] [2006-01-13 00:25:14 +0100]:
 Among the things being backed up are my mysql database tables. This
 made me wonder wether the backup could possibly get borked when mysql
 writes to any of the mysql tables while tar is reading from them.

Yes. While MySQL is writing to the the database, it will put the files
on the disk in an inconsistent state. If you happen to copy those files
while they are in that state, MySQL will see a corrupted database.

 Do I really have to use MySQL's tools to do a proper SQL dump or stop
 MySQL (and any other services that may write to files included in my
 backup) before doing a backup? Do any of the more involved
 remote-backup solutions have ways of working around this? Or is it
 simply not possible to write to a file while it is being read?

Here are some methods that people use that I am aware of:

- Turn off the MySQL db the entire time you are backing up. No new
  software/hardware needed, but you incur db downtime.

- Use replication: have a slave that is a copy of the master,
  whenever you want to back up, break the replication for a little
  while, copy the slave, and then resume the replication. No
  downtime, but you will need another box for this, so you have the
  cost of new hardware.

- Use OS snapshotting. On Linux systems with LVM, it is possible
  to take an exact snapshot of the filesystem at any point in time
  without too much disk usage (assuming the lifetime that the
  snapshot exists is relatively short).

  So what you do in this case is write a script that tells MySQL to
  write lock the entire database and flush the cache, this takes a
  second or two and will bring the db files on disk to a consistent
  state. You then take a snapshot of the filesystem, and immediately
  resume MySQL when you have done that. Now, you just backup off of
  the snapshot, destroying it when you are done.

  No new hardware, but you will need a snapshot capable filesystem
  and write the script to do this. I'm not sure exactly what
  snapshotting features FreeBSD has...perhaps someone else could
  fill in this information. Also, you will have a short period of
  downtime during which the MySQL db is write locked. This may or
  may not be acceptable for you.

hth,
Thomas

-- 
N.J. Thomas
[EMAIL PROTECTED]
Etiamsi occiderit me, in ipso sperabo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: help me!

2006-01-13 Thread Andrew P.
On 1/13/06, Andrey Slusar [EMAIL PROTECTED] wrote:
 Fri, 13 Jan 2006 17:26:36 +0300, you wrote:

   Where I can download mgetty 1.1.30 for FreeBSD 4.9?

  mgetty+sendfax есть в портах. Что именно тебе нужно?
  Все сорцы есть здесь:
  ftp://mgetty.greenie.net/pub/mgetty/source/1.1/

   Maybe mgetty package for 4.9-RELEASE.

 --
 Regards,
 Andrey.


ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/4.9-RELEASE/packages/comms/mgetty-1.1.30.12.16_2.tgz
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Help with panic: vm_fault

2006-01-13 Thread Lowell Gilbert
N.J. Thomas [EMAIL PROTECTED] writes:

 * Brad Marsh [EMAIL PROTECTED] [2006-01-12 11:09:29 -0800]:

  or singly, not in pairs...
 
 This should never be the case. If your memory is acceptable one module
 at a time, why wouldn't the system accept two?

Capacitive loading, for one reason.  Not common, but I've certainly
seen it (particularly with lower-end machines a couple or so years
back).  And since different brands of memory modules will have
different capacitances (and there may be some variation even among
identical units), it may not be easy to reproduce.

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


Re: subversion looking for libmysqlclient_r in the wrong path?

2006-01-13 Thread David Raison
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ok, I take it you people don't like my question?
Could you then be so kind and tell me to post my message to the bugs
mailinglist or simply tell me to stfw.
Simply some feedback would be very appreciated!

David

David Raison wrote:

 Hi folks,

 This is my first post to this mailing list, so please be kind :)

 I've tried installing subversion, but at some point of the
 compilation, I got an error message like:

 /usr/sbin/ld: cannot find -lmysqlclient_r

 I did a little research on the net and looked at gcc's output which
 stated that it was looking for the library in /usr/local/lib
 instead of /usr/local/lib/mysql, where all of the mysql librairies
 are. So I fixed the problem by symlinking the librairie into
 /usr/local/lib and subversion compiled alright.

 Now my question is.. (finally :) ) is that a bug with subversion or
 have I done something wrong during a portinstall process? Has
 somebody experienced the same kind of problem?

 cheers, David


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

!DSPAM:43c6b698610707916818953!

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDx8AJ/sLffsMilEkRAtXmAJ4n8Z5HN4TFLDEF3WQHTmUS2UGOiQCfW4Lx
BXAOZOgIdJOC/5hLDNqCzyU=
=PyqR
-END PGP SIGNATURE-

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


Re: XFree86 on FreeBSD 5.4

2006-01-13 Thread offbyone

Andrew P. wrote:

On 1/13/06, offbyone [EMAIL PROTECTED] wrote:


My problem:
Running FreeBSD_5.4-RELEASE with XFree86-4.5.0, there is a mis-match:
the underlying o.s. and newly installed and upgraded ports expect X.org
After portupgrade of an X-supported port, this mis-match shows up as
stale dependency(ies) It's a bore repeatedly to point new and upgraded
 ports to XFree86-libraries-4.5.0, etc. (and there is no XFree86
component that corresponds directly to X.org-TrueType, or is there?)
My questions:
0.) How to change the underlying o.s. default expectation to XFree86 AND
 is this a good idea for the present and future of 5.x?



Look at /usr/local/etc/pkgtools.conf



1.) Is a better solution to bite the bullet, deinstall all XFree86
components and install X.org, since FreeBDS is 5.x?



Sure. There's no debate about it whatsoever. You are also
avdised to bite another bullet and upgrade to FreeBSD 6,
it's a painless/seamless procedure now.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]





Andrew P. -
Thanks for the reminder about pkgtools.conf.
But about FreeBSD 6...
I still see a lot of complaints of headaches from people using 6, here 
and on the -Stable mailing list, so I'm dubious.

- Jake

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


cups at bootup

2006-01-13 Thread Andrew L. Gould
After a complete system and port upgrade, cups does not start at
bootup. During bootup, I see the following line:

Usage: cups {reload|restart|start|status|stop}

The command 'ps ax | grep cups' returns nothing. If I start cups as
root manually ('/usr/local/etc/rc.d/cups.sh start'), the cupsd
scheduler is started successfully and I can print.

Where should I look for the problem during bootup?

Thanks,

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


Re: defaultroute not loading

2006-01-13 Thread Ceri Davies


On 13 Jan 2006, at 12:49, Ceri Davies wrote:



On 12 Jan 2006, at 23:37, Michael Zimmer wrote:



  I just updated a i386 gateway to 6.0-STABLE - using my backed-up
  versions [from 5.1] of:

  rc.conf
  rc.firewall
  rc.resume
  rc.sendmail
  rc.shutdown
  rc.subr
  rc.suspend
  resolv.conf
  sysctl.conf
  ipnat.rules
  ipf.rules

  ...and the default route won't load on boot, although it is  
specified
  in rc.conf (replace all non-comment #'s and 1.2.3.4 with  
appropriate

  numbers)

  hostname=#.com
  defaultrouter=1.2.3.4  # previously 1.2.3.4;  
removed



Could you post the output of sh -x /etc/rc.d/routing start?
Please try to resist editing it too.

Is this working for anyone on 6.0-STABLE?  I don't see anywhere
in /etc where the default route is actually installed.


Ignore me, there's nothing wrong.  At least not with FreeBSD... :-/

Ceri



PGP.sig
Description: This is a digitally signed message part


Re: cups at bootup

2006-01-13 Thread Robert Slade
On Fri, 2006-01-13 at 15:00, Andrew L. Gould wrote:
 After a complete system and port upgrade, cups does not start at
 bootup. During bootup, I see the following line:
 
 Usage: cups {reload|restart|start|status|stop}
 
 The command 'ps ax | grep cups' returns nothing. If I start cups as
 root manually ('/usr/local/etc/rc.d/cups.sh start'), the cupsd
 scheduler is started successfully and I can print.
 
 Where should I look for the problem during bootup?
 
 Thanks,
 
 Andrew Gould

Check the cups entry in /etc/rc.conf

Rob

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


Re: XFree86 on FreeBSD 5.4

2006-01-13 Thread Andrew P.
On 1/13/06, offbyone [EMAIL PROTECTED] wrote:

 Andrew P. -
 Thanks for the reminder about pkgtools.conf.
 But about FreeBSD 6...
 I still see a lot of complaints of headaches from people using 6, here
 and on the -Stable mailing list, so I'm dubious.

The -stable mailing list has a purpose of diminishing the
dubiousness, yet it has an opposite effect on some people.
If you really feel uncertain because of it, I'd advise to
unsubcribe.

Besides, I'm not asking you to run -current or -stable and
help community with any precious input. I just say that
there was enough effort to make 6.0-RELEASE a better
thing to run for almost all of us.

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


What does this message mean (watchdog timeout DC0)?

2006-01-13 Thread Thomas T. Veldhouse
I am seeing the following in my security logs.  Can anybody tell me what 
this means?  Perhaps I should consider a new NIC?


+dc0: watchdog timeout
+dc0: link state changed to DOWN
+dc0: link state changed to UP


Thanks in advance,

Tom Veldhouse

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


Re: cups at bootup

2006-01-13 Thread Andrew L. Gould
On Fri, 13 Jan 2006 15:30:01 +
Robert Slade [EMAIL PROTECTED] wrote:

 On Fri, 2006-01-13 at 15:00, Andrew L. Gould wrote:
  After a complete system and port upgrade, cups does not start at
  bootup. During bootup, I see the following line:
  
  Usage: cups {reload|restart|start|status|stop}
  
  The command 'ps ax | grep cups' returns nothing. If I start cups as
  root manually ('/usr/local/etc/rc.d/cups.sh start'), the cupsd
  scheduler is started successfully and I can print.
  
  Where should I look for the problem during bootup?
  
  Thanks,
  
  Andrew Gould
 
 Check the cups entry in /etc/rc.conf
 
 Rob
 

Okay, I have 'cupsd_enable=YES' in /etc/rc.conf, and cups starts at
bootup; but in addition to cups: started scheduler, I still get the
message mentioned above.

The cups: started scheduler message appears after Local package
initialization:.

The Usage: cups {reload|restart|start|status|stop} message appears
after Starting usbd. and Starting ddclient., but prior to Local
package initialization:.

'Curiouser and curiouser, said Alice'

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


Re: kbdmux: unable to work with dual keyboard

2006-01-13 Thread Eugeny Kuzakov

Maksim Yevmenkin wrote:


3. shell script (from man kbdcontrol):

kbdcontrol -K  /dev/console
kbdcontrol -a /dev/ukbd0  /dev/kbdmux0
kbdcontrol -a /dev/atkbd0  /dev/kbdmux0
kbdcontrol -k /dev/kbdmux0  /dev/console
   



please read the man page carefully. you should use

kbdcontrol -a ukbd0  /dev/kbdmux0
kbdcontrol -a atkbd0  /dev/kbdmux0
 



I have tried that as you said:
kbdcontrol -K  /dev/console
kbdcontrol -a ukbd0  /dev/kbdmux0
kbdcontrol -a atkbd0  /dev/kbdmux0
kbdcontrol -k /dev/kbdmux0  /dev/console


output below(it's same) sh -x:

---13-01-2006 19:49:11
[EMAIL PROTECTED]:~/tmp$cat mmm.log
+ kbdcontrol -K
kbd0
   atkbd0, type:AT 101/102 (2)
+ kbdcontrol -a ukbd0
kbdcontrol: unable to (un)mux the keyboard: Operation not supported by 
device

kbd1
   kbdmux0, type:AT 101/102 (2)
+ kbdcontrol -a atkbd0
kbdcontrol: unable to (un)mux the keyboard: Operation not supported by 
device

kbd1
   kbdmux0, type:AT 101/102 (2)
+ kbdcontrol -k /dev/kbdmux0
kbd1
   kbdmux0, type:AT 101/102 (2)
---13-01-2006 19:49:31


thank you.

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


Re: cups at bootup

2006-01-13 Thread Robert Slade
On Fri, 2006-01-13 at 16:03, Andrew L. Gould wrote:
 On Fri, 13 Jan 2006 15:30:01 +
 Robert Slade [EMAIL PROTECTED] wrote:
 
  On Fri, 2006-01-13 at 15:00, Andrew L. Gould wrote:
   After a complete system and port upgrade, cups does not start at
   bootup. During bootup, I see the following line:
   
   Usage: cups {reload|restart|start|status|stop}
   
   The command 'ps ax | grep cups' returns nothing. If I start cups as
   root manually ('/usr/local/etc/rc.d/cups.sh start'), the cupsd
   scheduler is started successfully and I can print.
   
   Where should I look for the problem during bootup?
   
   Thanks,
   
   Andrew Gould
  
  Check the cups entry in /etc/rc.conf
  
  Rob
  
 
 Okay, I have 'cupsd_enable=YES' in /etc/rc.conf, and cups starts at
 bootup; but in addition to cups: started scheduler, I still get the
 message mentioned above.
 
 The cups: started scheduler message appears after Local package
 initialization:.
 
 The Usage: cups {reload|restart|start|status|stop} message appears
 after Starting usbd. and Starting ddclient., but prior to Local
 package initialization:.
 
 'Curiouser and curiouser, said Alice'
 
 Andrew Gould

Andrew,

I think the entry in /etc/rc.conf should be cups_enable=YES rather
than cupsd.

Rob

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


Re: defaultroute not loading

2006-01-13 Thread Michael Zimmer


  When I got in this morning I reinstalled base/doc/man/ports from the
  6.0 CD and ... suddenly it seems to be working.

  I don't really understand why, but I'm in no position to complain. : )

  Thanks for your help, everyone.
_

From:  Ceri Davies [EMAIL PROTECTED]
To:  Ceri Davies [EMAIL PROTECTED]
CC:  Michael Zimmer [EMAIL PROTECTED],
freebsd-questions@freebsd.org
Subject:  Re: defaultroute not loading
Date:  Fri, 13 Jan 2006 15:09:37 +

On 13 Jan 2006, at 12:49, Ceri Davies wrote:


On 12 Jan 2006, at 23:37, Michael Zimmer wrote:


   I just updated a i386 gateway to 6.0-STABLE - using my
backed-up
   versions [from 5.1] of:

   rc.conf
   rc.firewall
   rc.resume
   rc.sendmail
   rc.shutdown
   rc.subr
   rc.suspend
   resolv.conf
   sysctl.conf
   ipnat.rules
   ipf.rules

   ...and the default route won't load on boot, although it is
specified
   in rc.conf (replace all non-comment #'s and 1.2.3.4 with
appropriate
   numbers)

   hostname=#.com
   defaultrouter=1.2.3.4  # previously
1.2.3.4;
removed

Could you post the output of sh -x /etc/rc.d/routing start?
Please try to resist editing it too.

Is this working for anyone on 6.0-STABLE?  I don't see anywhere
in /etc where the default route is actually installed.

Ignore me, there's nothing wrong.  At least not with FreeBSD...
:-/

Ceri


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


How to get best results from FreeBSD-questions

2006-01-13 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2006-01-13 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Have you found a problem with the book, or maybe something confusing?  Please
let me know: I'm constantly updating it.

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


Re: cups at bootup

2006-01-13 Thread Andrew L. Gould
On Fri, 13 Jan 2006 16:55:50 +
Robert Slade [EMAIL PROTECTED] wrote:

 On Fri, 2006-01-13 at 16:03, Andrew L. Gould wrote:
  On Fri, 13 Jan 2006 15:30:01 +
  Robert Slade [EMAIL PROTECTED] wrote:
  
   On Fri, 2006-01-13 at 15:00, Andrew L. Gould wrote:
After a complete system and port upgrade, cups does not start at
bootup. During bootup, I see the following line:

Usage: cups {reload|restart|start|status|stop}

The command 'ps ax | grep cups' returns nothing. If I start
cups as root manually ('/usr/local/etc/rc.d/cups.sh start'),
the cupsd scheduler is started successfully and I can print.

Where should I look for the problem during bootup?

Thanks,

Andrew Gould
   
   Check the cups entry in /etc/rc.conf
   
   Rob
   
  
  Okay, I have 'cupsd_enable=YES' in /etc/rc.conf, and cups starts
  at bootup; but in addition to cups: started scheduler, I still
  get the message mentioned above.
  
  The cups: started scheduler message appears after Local package
  initialization:.
  
  The Usage: cups {reload|restart|start|status|stop} message appears
  after Starting usbd. and Starting ddclient., but prior to Local
  package initialization:.
  
  'Curiouser and curiouser, said Alice'
  
  Andrew Gould
 
 Andrew,
 
 I think the entry in /etc/rc.conf should be cups_enable=YES rather
 than cupsd.
 
 Rob
 

That did it!

Much thanks,

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


httpd could not be started

2006-01-13 Thread Steven Narmontas
I'm entirely new to FreeBSD, but have a fair amount of Linux 
experience.

I installed FreeBSD 6.0 (Production Release) on an oldish i386 
system.  During the install, I asked to install ALL.  The 
install went flawlessly.

I need Apache on this system for some software development, so I 
followed these instructions I found at:  
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html 
:

# pkg_add -r cvsup-without-gui
# cvsup -L 2 -h cvsup.FreeBSD.org 
/usr/share/examples/cvsup/ports-supfile
# cd /usr/ports/www/apache13
# make
# make install

Everything to this point went smoothly!  I edited 
/usr/local/etc/apache/httpd.conf ONLY to set the ServerName to the 
IP address of the machine. However, when I try to start apache I 
get:

#/usr/local/sbin/apachectl start
/usr/local/sbin/apachectl start: httpd could not be started

I can't start apache.  Here's a configtest:

#/usr/local/sbin/apachectl configtest
Syntax OK


Apache also won't start if I bypass the apachectl script and start 
it directly. However it doesn't report any errors either:

# /usr/local/sbin/httpd
#


Everything up above is with a completely fresh install of FreeBSD 
6.  I didn't mess around with anything on the system.  I followed 
the above steps exactly. (As I side note, I've struggled with this 
for two days, and have installed FreeBSD at least 6 times trying 
differnet things.  I can't get Apache to start. On previous 
installs, I tried using apache22 with the same results.)

Does anyone have any suggestions on how to get ANY version of 
Apache running on a new install of FreeBSD 6?

Thanks,
Steven Narmontas






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

Re: httpd could not be started

2006-01-13 Thread Kiffin Gish
On Fri, 2006-01-13 at 09:55 -0800, Steven Narmontas wrote:
 I'm entirely new to FreeBSD, but have a fair amount of Linux 
 experience.
 
 I installed FreeBSD 6.0 (Production Release) on an oldish i386 
 system.  During the install, I asked to install ALL.  The 
 install went flawlessly.
 
 I need Apache on this system for some software development, so I 
 followed these instructions I found at:  
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html 
 :
 
 # pkg_add -r cvsup-without-gui
 # cvsup -L 2 -h cvsup.FreeBSD.org 
 /usr/share/examples/cvsup/ports-supfile
 # cd /usr/ports/www/apache13
 # make
 # make install
 
 Everything to this point went smoothly!  I edited 
 /usr/local/etc/apache/httpd.conf ONLY to set the ServerName to the 
 IP address of the machine. However, when I try to start apache I 
 get:
 
 #/usr/local/sbin/apachectl start
 /usr/local/sbin/apachectl start: httpd could not be started
 

Maybe httpd-error.log contains some suspicious-looking error messages?

[snip]

-- 
Kiffin Gish [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: httpd could not be started

2006-01-13 Thread kalin mintchev

what does the httpd log say?

 I'm entirely new to FreeBSD, but have a fair amount of Linux
 experience.

 I installed FreeBSD 6.0 (Production Release) on an oldish i386
 system.  During the install, I asked to install ALL.  The
 install went flawlessly.

 I need Apache on this system for some software development, so I
 followed these instructions I found at:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html
 :

 # pkg_add -r cvsup-without-gui
 # cvsup -L 2 -h cvsup.FreeBSD.org
 /usr/share/examples/cvsup/ports-supfile
 # cd /usr/ports/www/apache13
 # make
 # make install

 Everything to this point went smoothly!  I edited
 /usr/local/etc/apache/httpd.conf ONLY to set the ServerName to the
 IP address of the machine. However, when I try to start apache I
 get:

 #/usr/local/sbin/apachectl start
 /usr/local/sbin/apachectl start: httpd could not be started

 I can't start apache.  Here's a configtest:

 #/usr/local/sbin/apachectl configtest
 Syntax OK


 Apache also won't start if I bypass the apachectl script and start
 it directly. However it doesn't report any errors either:

 # /usr/local/sbin/httpd
 #


 Everything up above is with a completely fresh install of FreeBSD
 6.  I didn't mess around with anything on the system.  I followed
 the above steps exactly. (As I side note, I've struggled with this
 for two days, and have installed FreeBSD at least 6 times trying
 differnet things.  I can't get Apache to start. On previous
 installs, I tried using apache22 with the same results.)

 Does anyone have any suggestions on how to get ANY version of
 Apache running on a new install of FreeBSD 6?

 Thanks,
 Steven Narmontas






 ___
 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: httpd could not be started

2006-01-13 Thread Luke Bakken
 #/usr/local/sbin/apachectl start
 /usr/local/sbin/apachectl start: httpd could not be started

 Apache also won't start if I bypass the apachectl script and start
 it directly. However it doesn't report any errors either:

Some ideas, I may be off base here:

1. Is there anything being written to the error_log file?
2. Can you start Apache with the -F argument to make it stay in the
foreground? Any output there?

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


Re: httpd could not be started

2006-01-13 Thread Greg Barniskis

Steven Narmontas wrote:
I'm entirely new to FreeBSD, but have a fair amount of Linux 
experience.


I installed FreeBSD 6.0 (Production Release) on an oldish i386 
system.  During the install, I asked to install ALL.  The 
install went flawlessly.


I need Apache on this system for some software development, so I 
followed these instructions I found at:  
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html 
:


# pkg_add -r cvsup-without-gui
# cvsup -L 2 -h cvsup.FreeBSD.org 
/usr/share/examples/cvsup/ports-supfile

# cd /usr/ports/www/apache13
# make
# make install

Everything to this point went smoothly!  


As well it should have, since you followed correct procedure. =)

 I edited
/usr/local/etc/apache/httpd.conf ONLY to set the ServerName to the 
IP address of the machine. However, when I try to start apache I 
get:


#/usr/local/sbin/apachectl start
/usr/local/sbin/apachectl start: httpd could not be started


[snip]

Does anyone have any suggestions on how to get ANY version of 
Apache running on a new install of FreeBSD 6?


Apache and most other add-on daemons on FreeBSD require that you 
explicitly enable them to run in /etc/rc.conf. Have you got a line


apache2_enable=YES

in your rc.conf?

The need for this as well as the proper syntax should be noted in 
the file /usr/ports/www/apache2/pkg-msg. For any other port you 
install there's probably gold nuggets of info in its pkg-msg file. 
This stuff displays during the make install, but then so does 
several K of other info so it's not hard to miss these things.


--
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: httpd could not be started

2006-01-13 Thread Frank Staals

Greg Barniskis wrote:


Steven Narmontas wrote:


I'm entirely new to FreeBSD, but have a fair amount of Linux experience.

I installed FreeBSD 6.0 (Production Release) on an oldish i386 
system.  During the install, I asked to install ALL.  The install 
went flawlessly.


I need Apache on this system for some software development, so I 
followed these instructions I found at:  
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html 
:


# pkg_add -r cvsup-without-gui
# cvsup -L 2 -h cvsup.FreeBSD.org 
/usr/share/examples/cvsup/ports-supfile

# cd /usr/ports/www/apache13
# make
# make install

Everything to this point went smoothly!  



As well it should have, since you followed correct procedure. =)

 I edited

/usr/local/etc/apache/httpd.conf ONLY to set the ServerName to the IP 
address of the machine. However, when I try to start apache I get:


#/usr/local/sbin/apachectl start
/usr/local/sbin/apachectl start: httpd could not be started



[snip]

Does anyone have any suggestions on how to get ANY version of Apache 
running on a new install of FreeBSD 6?



Apache and most other add-on daemons on FreeBSD require that you 
explicitly enable them to run in /etc/rc.conf. Have you got a line


apache2_enable=YES

in your rc.conf?

The need for this as well as the proper syntax should be noted in the 
file /usr/ports/www/apache2/pkg-msg. For any other port you install 
there's probably gold nuggets of info in its pkg-msg file. This stuff 
displays during the make install, but then so does several K of other 
info so it's not hard to miss these things.


In fact, it doesn't realy matter if you add apache_enable=YES to 
rc.conf ( since het installed apache13 adding apache2_enable=YES would 
be quite useless ... ) when you start it manually from commandline, 
adding it to rc.conf is only usefull when you want to start apache from 
boot, which can be quite usefull, but it can't be the reason why apache 
wouldn't start.


Try adding '127.0.0.1   full name machine localhost' to 
/etc/hosts that might help. You should also check your apache log ( 
probably in /var/log/  when at default settings ) for a more detailed 
message of what went wrong


Good luck,

--
-Frank Staals


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


Re: httpd could not be started

2006-01-13 Thread Jerry McAllister
 
 I'm entirely new to FreeBSD, but have a fair amount of Linux 
 experience.
 
 I installed FreeBSD 6.0 (Production Release) on an oldish i386 
 system.  During the install, I asked to install ALL.  The 
 install went flawlessly.
 
 I need Apache on this system for some software development, so I 
 followed these instructions I found at:  
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html 
 :
 
 # pkg_add -r cvsup-without-gui
 # cvsup -L 2 -h cvsup.FreeBSD.org 
 /usr/share/examples/cvsup/ports-supfile
 # cd /usr/ports/www/apache13
 # make
 # make install
 
 Everything to this point went smoothly!  I edited 
 /usr/local/etc/apache/httpd.conf ONLY to set the ServerName to the 
 IP address of the machine. However, when I try to start apache I 
 get:
 
 #/usr/local/sbin/apachectl start
 /usr/local/sbin/apachectl start: httpd could not be started

You need to look for error messages in at least two places.

One would be the error_log file for apache which may be in:
  /var/log/httpd-error.log
if you did everything in the default way.

The other would be the system error log file which is:
  /var/log/messages
again, if you are using defaults.

One of those may have a message telling you why it could not be
started.   Error messages get put in those places because then
they are saved for you to check up on later if needed - like the
present situation.

Generally httpd-error.log will contain error messages for things
that go wrong while Apache is running.   Messages concerning
problems that make it unable to start will most often go in to
the system error log - /var/log/messages.

If there are no error messages in those files at about the time 
apache is starting up, then you may need to try and run Apache
interactively.

jerry


 
 I can't start apache.  Here's a configtest:
 
 #/usr/local/sbin/apachectl configtest
 Syntax OK
 
 
 Apache also won't start if I bypass the apachectl script and start 
 it directly. However it doesn't report any errors either:
 
 # /usr/local/sbin/httpd
 #
 
 
 Everything up above is with a completely fresh install of FreeBSD 
 6.  I didn't mess around with anything on the system.  I followed 
 the above steps exactly. (As I side note, I've struggled with this 
 for two days, and have installed FreeBSD at least 6 times trying 
 differnet things.  I can't get Apache to start. On previous 
 installs, I tried using apache22 with the same results.)
 
 Does anyone have any suggestions on how to get ANY version of 
 Apache running on a new install of FreeBSD 6?
 
 Thanks,
 Steven Narmontas
 
 
 
 
 
 
 
 --=_Part_982_24986631.1137174942886
 Content-Type: text/plain; charset=us-ascii
 MIME-Version: 1.0
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 --=_Part_982_24986631.1137174942886--
 
 

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


Re: kbdmux: unable to work with dual keyboard

2006-01-13 Thread Maksim Yevmenkin
 3. shell script (from man kbdcontrol):
 
 kbdcontrol -K  /dev/console
 kbdcontrol -a /dev/ukbd0  /dev/kbdmux0
 kbdcontrol -a /dev/atkbd0  /dev/kbdmux0
 kbdcontrol -k /dev/kbdmux0  /dev/console
 
 please read the man page carefully. you should use
 
 kbdcontrol -a ukbd0  /dev/kbdmux0
 kbdcontrol -a atkbd0  /dev/kbdmux0

 I have tried that as you said:
 kbdcontrol -K  /dev/console
 kbdcontrol -a ukbd0  /dev/kbdmux0
 kbdcontrol -a atkbd0  /dev/kbdmux0
 kbdcontrol -k /dev/kbdmux0  /dev/console

 output below(it's same) sh -x:

no, its not the same as in your previous email. you got different
error. did you run your script in console or xterm window?

also, just to be on the safe side, you might want to replace
/dev/console with /dev/ttyv0, i.e.

kbdcontrol -K  /dev/ttyv0
kbdcontrol -a ukbd0  /dev/kbdmux0
kbdcontrol -a atkbd0  /dev/kbdmux0
kbdcontrol -k /dev/kbdmux0  /dev/ttyv0

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


Re: httpd could not be started

2006-01-13 Thread Steven Narmontas
On Fri Jan 13 10:05:52 PST 2006, Kiffin Gish 
[EMAIL PROTECTED] wrote:

 On Fri, 2006-01-13 at 09:55 -0800, Steven Narmontas wrote:
 ...
 
 Everything to this point went smoothly!  I edited 
 /usr/local/etc/apache/httpd.conf ONLY to set the ServerName to 
 the IP address of the machine. However, when I try to start 
 apache I get:
 
 #/usr/local/sbin/apachectl start
 /usr/local/sbin/apachectl start: httpd could not be started
 
 
 Maybe httpd-error.log contains some suspicious-looking error 
 messages?
 


Of course it does! duh!

For the record, the error messages in httpd-error.log read:

 [alert] mod_unique_id:unable to gethostbyname(x)

where  was the made-up host name I used during the install.

I edited /etc/rc.conf to change hostname to a valid name, and 
apache now starts fine.

Thank you!

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

Re: httpd could not be started

2006-01-13 Thread Greg Barniskis

Frank Staals wrote:

Greg Barniskis wrote:

apache2_enable=YES

in your rc.conf?

The need for this as well as the proper syntax should be noted in the 
file /usr/ports/www/apache2/pkg-msg. For any other port you install 
there's probably gold nuggets of info in its pkg-msg file. This stuff 
displays during the make install, but then so does several K of other 
info so it's not hard to miss these things.


In fact, it doesn't realy matter if you add apache_enable=YES to 
rc.conf ( since het installed apache13 adding apache2_enable=YES would 
be quite useless ... ) 


Duh. Sorry, the later line about him trying apache22 got stuck in my 
mind.


when you start it manually from commandline, 
adding it to rc.conf is only usefull when you want to start apache from 
boot, which can be quite usefull, but it can't be the reason why apache 
wouldn't start.


Oh. I was sure that I'd read in a previous thread that the lack of 
an enable flag would stop it from being started at all, but that 
must have been for a different port or in a different context. 
Anyway, thanks for the correction, always glad to have my 
misconceptions destroyed.



--
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: What does this message mean (watchdog timeout DC0)?

2006-01-13 Thread Corey Brune
It may be hardware related. Have you made any system changes lately?
How often does this occur?

On 1/13/06, Thomas T. Veldhouse [EMAIL PROTECTED] wrote:
 I am seeing the following in my security logs.  Can anybody tell me what
 this means?  Perhaps I should consider a new NIC?

 +dc0: watchdog timeout
 +dc0: link state changed to DOWN
 +dc0: link state changed to UP


 Thanks in advance,

 Tom Veldhouse

 ___
 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: httpd could not be started

2006-01-13 Thread Tofik Suleymanov

Steven Narmontas wrote:

On Fri Jan 13 10:05:52 PST 2006, Kiffin Gish 
[EMAIL PROTECTED] wrote:


 


On Fri, 2006-01-13 at 09:55 -0800, Steven Narmontas wrote:
   


...

Everything to this point went smoothly!  I edited 
/usr/local/etc/apache/httpd.conf ONLY to set the ServerName to 
the IP address of the machine. However, when I try to start 
apache I get:


#/usr/local/sbin/apachectl start
/usr/local/sbin/apachectl start: httpd could not be started

 

Maybe httpd-error.log contains some suspicious-looking error 
messages?


   




Of course it does! duh!

For the record, the error messages in httpd-error.log read:

[alert] mod_unique_id:unable to gethostbyname(x)

where  was the made-up host name I used during the install.

I edited /etc/rc.conf to change hostname to a valid name, and 
apache now starts fine.


Thank you!

 




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


You could just add it to /etc/hosts :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: httpd could not be started

2006-01-13 Thread Frank Staals

Greg Barniskis wrote:


Frank Staals wrote:


Greg Barniskis wrote:


apache2_enable=YES

in your rc.conf?

The need for this as well as the proper syntax should be noted in 
the file /usr/ports/www/apache2/pkg-msg. For any other port you 
install there's probably gold nuggets of info in its pkg-msg file. 
This stuff displays during the make install, but then so does 
several K of other info so it's not hard to miss these things.


In fact, it doesn't realy matter if you add apache_enable=YES to 
rc.conf ( since het installed apache13 adding apache2_enable=YES 
would be quite useless ... ) 



Duh. Sorry, the later line about him trying apache22 got stuck in my 
mind.


when you start it manually from commandline, adding it to rc.conf is 
only usefull when you want to start apache from boot, which can be 
quite usefull, but it can't be the reason why apache wouldn't start.



Oh. I was sure that I'd read in a previous thread that the lack of an 
enable flag would stop it from being started at all, but that must 
have been for a different port or in a different context. Anyway, 
thanks for the correction, always glad to have my misconceptions 
destroyed.



If I recall correctly you can only start the services in /etc/rc.d/ if 
you have them in /etc/rc.conf with '/etc/rc.d/service-name start'.  ( 
But off-course there is a way to start them without adding them to 
rc.conf : '/etc/rc.d/service-name forcestart' ). You must have mixed 
up the two ( /etc/rc.d/ and /usr/local/etc/rc.d/ )


--
-Frank Staals


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


System hangs for 30 minutes before booting normally into freebsd 6.0

2006-01-13 Thread Ravi Kumar
Hello,
   I am a new convert to freebsd 6.0. I installed it
on one of my old machine - a celeron 333 MHz, 98 MB
RAM, with ISA slots. While installing it on my system,
I faced a problem that it took a long time to load the
freebsd installer menu. So I rebooted and selected the
FreeBSD installation in verbose mode. 

This is the verbose output snippet I recieved:

...
pci0: bridge at device 73 (no drivers attached)
pci0: display, VGA at device 16.0 (no driver
attached)
ex_isa_identify()
ata: ata0 already exists; skipping it
ata: ata1 already exists; skipping it

pnp_identify: Trying Read_Port at 203
pnp_identify: Trying Read_Port at 243
pnp_identify: Trying Read_Port at 283
pnp_identify: Trying Read_Port at 2c3
pnp_identify: Trying Read_Port at 303
pnp_identify: Trying Read_Port at 343
pnp_identify: Trying Read_Port at 383
...

The problem is the last 8 lines above. It is I believe
scanning some ports and is taking such a long time.
After this the normal booting is quite fast. 

Is there any way I can disable this process of
scanning that is taking place? After installing
freebsd, each time I boot into it, it hangs for 30
minutes at the code snippet above.

My uname -a command gave the following output.

FreeBSD 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3
09:36:13 UTC 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386


Looking forward to a reply to this problem.

Kind regards
Ravi



___ 
Yahoo! Photos – NEW, now offering a quality print service from just 8p a photo 
http://uk.photos.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


BUg on latest mysql40-client portupgrade.

2006-01-13 Thread Jack Raats
Since the latest mysql40-client port upgrade, I'm getting a mysql error:

Jan 13 20:04:33 orac kernel: Starting gld.
Jan 13 20:04:33 orac kernel: /libexec/ld-elf.so.1:
Jan 13 20:04:33 orac kernel: Shared object libmysqlclient.so.12 not found, 
required by gld

Can anyone help me or give me a clue?

FreeBSD 6.0-STABLE and mysql-client-4.0.26_1
GLD 1.6 gives the error

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


canned distribution's i86 disk space requirements?

2006-01-13 Thread Kael Fischer
Hi all:

I am curious as to the disk space requirements of the various canned
distribution sets on i86 hardware.

While the following excerpt from the Handbook
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-pre.html)
was accurate back in the day (I've been using FreeBSD since 2.2.X), it
doesn't seem to have much relationship to the Minimal canned
distributions in 6.0-Release.  It certainly seems that X has grown
larger than the 100 MB suggested.

 A minimal installation of FreeBSD takes as little as 100 MB of disk
 space. However, that is a very minimal install, leaving almost no
 space for your own files. A more realistic minimum is 250 MB without
 a graphical environment, and 350 MB or more if you want a graphical
 user interface. If you intend to install a lot of third party software as
 well, then you will need more space.

Does anyone know how much space Minimal, User and X-User take to
install?  This would be excellent information to have available for
the user and sysinstall itself.

What would be almost too much to hope for, would be some error
checking where the diskspace requirements of the selected packages are
compared to the requested partitioning scheme before the commit.  It
was a dream I had once...  The current failure mode is inelegant.

[this is not a flame about sysinstall...  i find it easy to use, most
of the time, and it has improved over the years.]

If someone knows the answer, let's get it into the handbook.  Or
perhaps someone has hooks for sysinstall/dist.h and dist.c that can
pull out the tar file names (e.g. base.am,...) for various sets?  I
imagine that a basic understanding of the install process would be all
that is really needed to figure out what files are used for what sets.

--
Kael Fischer, Ph.D
DeRisi Lab - Univ. Of California San Francisco
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What does this message mean (watchdog timeout DC0)?

2006-01-13 Thread Thomas T. Veldhouse

Corey Brune wrote:


It may be hardware related. Have you made any system changes lately?
How often does this occur?
 

No changes since about last April.  I did move from FBSD 5.x to FBSD 6.x 
(RELENG_6_0) at the time that 6.0 was released.   Nothing since.


I have seen the issue a couple of times this week, but I have not had 
any network problems that I have noticed.  I have noticed this problem 
for years on and off (so to speak) with DC cards.  But lately, I seem to 
be seeing it more.


Tom Veldhouse

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


NIC bonding/teaming

2006-01-13 Thread jim feldman
Does 6.x have a nic bonding/teaming/failover feature like the linux bond 
(rnd robin, failover, ld bal, trunking)?  I'm thinking multiple nics, 
one server, same lan/vlan.  I've read up on CARP and one2many, but they 
don't seem to do what bond does.


thanks

jim


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


Re: BUg on latest mysql40-client portupgrade.

2006-01-13 Thread Kris Kennaway
On Fri, Jan 13, 2006 at 08:50:31PM +0100, Jack Raats wrote:
 Since the latest mysql40-client port upgrade, I'm getting a mysql error:
 
 Jan 13 20:04:33 orac kernel: Starting gld.
 Jan 13 20:04:33 orac kernel: /libexec/ld-elf.so.1:
 Jan 13 20:04:33 orac kernel: Shared object libmysqlclient.so.12 not found, 
 required by gld
 
 Can anyone help me or give me a clue?
 
 FreeBSD 6.0-STABLE and mysql-client-4.0.26_1
 GLD 1.6 gives the error

You forgot to portupgrade the things that depend on mysql, such as gld.

Kris


pgpzsN3XuQSvr.pgp
Description: PGP signature


Re: XFree86 on FreeBSD 5.4

2006-01-13 Thread Kris Kennaway
On Fri, Jan 13, 2006 at 12:21:54PM +0100, offbyone wrote:
 My problem:
 Running FreeBSD_5.4-RELEASE with XFree86-4.5.0, there is a mis-match: 
 the underlying o.s. and newly installed and upgraded ports expect X.org
 After portupgrade of an X-supported port, this mis-match shows up as 
 stale dependency(ies) It's a bore repeatedly to point new and upgraded 
  ports to XFree86-libraries-4.5.0, etc. (and there is no XFree86 
 component that corresponds directly to X.org-TrueType, or is there?)
 My questions:
 0.) How to change the underlying o.s. default expectation to XFree86 AND 
  is this a good idea for the present and future of 5.x?
 1.) Is a better solution to bite the bullet, deinstall all XFree86 
 components and install X.org, since FreeBDS is 5.x?
 (N.B. I do not want to start a flame over XFree86 vs. X.org. That's a 
 too-old and pointless debate, and I have no inherent reason to prefer 
 one over the other.)
 Thanks, very much. for more info, suggestions.

See /usr/ports/UPDATING or the FAQ

Kris


pgpxM6WqbK6wb.pgp
Description: PGP signature


Re: XFree86 on FreeBSD 5.4

2006-01-13 Thread Kris Kennaway
On Fri, Jan 13, 2006 at 03:49:32PM +0100, offbyone wrote:

 Thanks for the reminder about pkgtools.conf.
 But about FreeBSD 6...
 I still see a lot of complaints of headaches from people using 6, here 
 and on the -Stable mailing list, so I'm dubious.

What about all the people you don't see complaining because it just
works (or works better) for them? :-)

Kris


pgpONWOdP19pQ.pgp
Description: PGP signature


Re: 5.3 Kernel module with 6.0

2006-01-13 Thread Kris Kennaway
On Tue, Jan 10, 2006 at 11:10:21PM +0100, Rainer Hungershausen wrote:
 Hi there!
 
 I've got a Highpoint RocketRAID 454 Controller running under FreeBSD 5.3.
 It needs a binary only driver (hpt374.ko) to run.
 I'd like to upgrade to 6.0 for several reasons, but the latest driver
 module from highpoint is for 5.3.
 So here's my question:
 Is it possible to simply run the 5.3 kernel module under 6.x? In
 theory this could work if the kernel interfaces haven't changed,
 right?

Yes, but they did, so you can't.

Kris


pgpU0GluTWbuQ.pgp
Description: PGP signature


Re: 4.6-RELEASE to 6.0-RELEASE...

2006-01-13 Thread Kris Kennaway
On Thu, Jan 12, 2006 at 10:00:50AM +, Crispy Beef wrote:
 There have been major changes in processes such as threads. You also 
 have to boot the 5.3 update in single user mode to have a kernel that 
 accepts the new arrangement and then install the userland. Before 5.1 
 or 5.2 it didn't matter much but there was an fs change that you update 
 in single user mode or boot the fix disc to finish the botched update.
 
 You also have the problem that probably none of your ports from 4.x will 
 work at 6.0. This could take quite a bit of time to upgrade.
 
 One advantage is that I didn't really bother with the ports on that server, 
 I rolled my own apps as I wasn't totally up with the ports system at the 
 time, just seemed easier until I go the hang of it, so I probably would go 
 for a fresh install of ports and get the latest versions of software 
 installed that way.

You'll need to delete them all by hand somehow, of course.  Otherwise
you'll have conflicts between your old and new stuff.

 The server is used for web hosting so I only really need to save out a few 
 config files for virtual hosts etc. and the email directories.
 
 It's sounding as though it might be easier just to have an hour or two of 
 downtime late one night and do a fresh install...

Yes, this will be easiest (or use sysinstall's 'upgrade' mode).
Unless you have a serial console, doing the src upgrade will be hard
and prone to dramatic failure.

Kris


pgpI4xaDsqnS4.pgp
Description: PGP signature


Re: 4.6-RELEASE to 6.0-RELEASE...

2006-01-13 Thread Kris Kennaway
On Wed, Jan 11, 2006 at 02:08:11PM -0500, fbsd_user wrote:
 There is a new and faster file system which is introduced in
 release-5.4.

Performance benefits weren't a goal of UFS2.  If your disk hardware is
fast enough (i.e. not crappy ATA hardware) you might see a small
performance boost, as I did in my tests.  The cause of this isn't
well-understood, i.e. it seems to be a side-effect of something else.
The cost is that UFS2 performs more disk I/O than UFS1, which means
that if your disk hardware is already saturated (see: aforementioned
crappy ATA hardware), it may actually be slower.

Kris


pgpVr9w6lN5nN.pgp
Description: PGP signature


Re: SIOCFRENB: Invalid argument when attempt to stop Ipfirewall

2006-01-13 Thread Parv
in message [EMAIL PROTECTED],
wrote Jose Borquez thusly...

 I am attempting to stop Ipfirewall using ipf -D, but I keep getting the 
 following error:
 SIOCFRENB: Invalid argument

One thing to keep in mind: IP Firewall corresponds to ipfw(8) and
IPFilter to ipf(8).

Looking at the ipf(8) man page, -D option disables ipf only if it is
compiled in the kernel.  Could it be that you have ipf module loaded
instead of being compiled in the kernel?


  - Parv

-- 

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


Re: BUg on latest mysql40-client portupgrade.

2006-01-13 Thread Barry Pederson

Kris Kennaway wrote:

On Fri, Jan 13, 2006 at 08:50:31PM +0100, Jack Raats wrote:

Since the latest mysql40-client port upgrade, I'm getting a mysql error:

Jan 13 20:04:33 orac kernel: Starting gld.
Jan 13 20:04:33 orac kernel: /libexec/ld-elf.so.1:
Jan 13 20:04:33 orac kernel: Shared object libmysqlclient.so.12 not found, required by 
gld

Can anyone help me or give me a clue?

FreeBSD 6.0-STABLE and mysql-client-4.0.26_1
GLD 1.6 gives the error


You forgot to portupgrade the things that depend on mysql, such as gld.


Yeah, but normally doesn't portupgrade move any old libraries to 
/usr/local/lib/compat/pkg , so you're covered for backwards library 
compatibility normally?


If you haven't rebooted since installing portupgrade, your ldconfig might not 
know about where portupgrade copies those old libraries.  You could try running 
/usr/local/etc/rc.d/000.pkgtools.sh to straighten that out.


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


RE: BUg on latest mysql40-client portupgrade.

2006-01-13 Thread Zimmerman, Eric
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kris Kennaway
Sent: Friday, January 13, 2006 2:31 PM
To: Jack Raats
Cc: FreeBSD Stable; FreeBSD Questions
Subject: Re: BUg on latest mysql40-client portupgrade.

On Fri, Jan 13, 2006 at 08:50:31PM +0100, Jack Raats wrote:
 Since the latest mysql40-client port upgrade, I'm getting a mysql
error:
 
 Jan 13 20:04:33 orac kernel: Starting gld.
 Jan 13 20:04:33 orac kernel: /libexec/ld-elf.so.1:
 Jan 13 20:04:33 orac kernel: Shared object libmysqlclient.so.12 not
found, required by gld
 
 Can anyone help me or give me a clue?
 
 FreeBSD 6.0-STABLE and mysql-client-4.0.26_1
 GLD 1.6 gives the error

You forgot to portupgrade the things that depend on mysql, such as gld.


Use portmanager and you wont ever have to worry about these things
again. Check it out
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Script to lock the state of my MP3 files

2006-01-13 Thread Kristian Vaaf

Hello!

I use this script to generate simple verification files (SFV) and MP3 playlist 
files (M3U)
based on the info file (NFO) that I create for every album that I digitalize.

If this is an album:

./dj_antoine-arabian_adventure-sessp010-vinyl-2005:
00-dj_antoine-arabian_adventure-sessp010-vinyl-2005.nfo
00-dj_antoine-arabian_adventure-sessp010-vinyl-2005-cover.jpg
a1-dj_antoine-arabian_adventure_2-original_mix.mp3
b1-dj_antoine-arabian_adventure_2-chriss_ortega_and_thomas_gold_vocal_mix.mp3
b2-dj_antoine-arabian_adventure_2-chriss_ortega_and_thomas_gold_dub_mix.mp3

Then the script makes it into:

./dj_antoine-arabian_adventure-sessp010-vinyl-2005:
00-dj_antoine-arabian_adventure-sessp010-vinyl-2005.m3u
00-dj_antoine-arabian_adventure-sessp010-vinyl-2005.nfo
00-dj_antoine-arabian_adventure-sessp010-vinyl-2005.sfv
00-dj_antoine-arabian_adventure-sessp010-vinyl-2005-cover.jpg
a1-dj_antoine-arabian_adventure_2-original_mix.mp3
b1-dj_antoine-arabian_adventure_2-chriss_ortega_and_thomas_gold_vocal_mix.mp3
b2-dj_antoine-arabian_adventure_2-chriss_ortega_and_thomas_gold_dub_mix.mp3

My script is made for regular sh though.
If it were to be bashed -- how would it look like?

#!/bin/sh
#
#   Generate SFV and M3U files for MP3 albums.
#   $URBAN: mp3_archive.sh,v 1.0 2005/10/24 15:09:05 vaaf Exp $
#

for file in `find $(pwd) -name \*.nfo`; do

directory=`dirname ${file}`
prefix=`basename ${file} | sed 's/.nfo//g'`
current=`basename ${directory}`

sfv=${directory}/${prefix}.sfv
m3u=${directory}/${prefix}.m3u

cd ${directory}

rm -f *.sfv; rm -f *.m3u
touch ${sfv}; cfv -Cq *.mp3
cat ${current}.sfv | awk '! /^;/'  ${sfv}
rm -f ${current}.sfv

for mp3 in *.mp3; do echo ${mp3}  ${m3u}; done

echo $current: Done

done

Thanks guys,
Kristian


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


Re: Script to lock the state of my MP3 files

2006-01-13 Thread pete wright
On 1/13/06, Kristian Vaaf [EMAIL PROTECTED] wrote:

 Hello!

 I use this script to generate simple verification files (SFV) and MP3 
 playlist files (M3U)
 based on the info file (NFO) that I create for every album that I digitalize.

 If this is an album:

 ./dj_antoine-arabian_adventure-sessp010-vinyl-2005:
 00-dj_antoine-arabian_adventure-sessp010-vinyl-2005.nfo
 00-dj_antoine-arabian_adventure-sessp010-vinyl-2005-cover.jpg
 a1-dj_antoine-arabian_adventure_2-original_mix.mp3
 b1-dj_antoine-arabian_adventure_2-chriss_ortega_and_thomas_gold_vocal_mix.mp3
 b2-dj_antoine-arabian_adventure_2-chriss_ortega_and_thomas_gold_dub_mix.mp3

 Then the script makes it into:

 ./dj_antoine-arabian_adventure-sessp010-vinyl-2005:
 00-dj_antoine-arabian_adventure-sessp010-vinyl-2005.m3u
 00-dj_antoine-arabian_adventure-sessp010-vinyl-2005.nfo
 00-dj_antoine-arabian_adventure-sessp010-vinyl-2005.sfv
 00-dj_antoine-arabian_adventure-sessp010-vinyl-2005-cover.jpg
 a1-dj_antoine-arabian_adventure_2-original_mix.mp3
 b1-dj_antoine-arabian_adventure_2-chriss_ortega_and_thomas_gold_vocal_mix.mp3
 b2-dj_antoine-arabian_adventure_2-chriss_ortega_and_thomas_gold_dub_mix.mp3

 My script is made for regular sh though.
 If it were to be bashed -- how would it look like?

should be the same syntax for sh and bash as bash is a decendant of
sh.  i would keep the #! line /bin/sh as this will make the script
more portable.

-pete


 #!/bin/sh
 #
 #   Generate SFV and M3U files for MP3 albums.
 #   $URBAN: mp3_archive.sh,v 1.0 2005/10/24 15:09:05 vaaf Exp $
 #

 for file in `find $(pwd) -name \*.nfo`; do

 directory=`dirname ${file}`
 prefix=`basename ${file} | sed 's/.nfo//g'`
 current=`basename ${directory}`

 sfv=${directory}/${prefix}.sfv
 m3u=${directory}/${prefix}.m3u

 cd ${directory}

 rm -f *.sfv; rm -f *.m3u
 touch ${sfv}; cfv -Cq *.mp3
 cat ${current}.sfv | awk '! /^;/'  ${sfv}
 rm -f ${current}.sfv

 for mp3 in *.mp3; do echo ${mp3}  ${m3u}; done

 echo $current: Done

 done

 Thanks guys,
 Kristian


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



--
~~o0OO0o~~
Pete Wright
www.nycbug.org
NYC's *BSD User Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NIC bonding/teaming

2006-01-13 Thread Ceri Davies


On 13 Jan 2006, at 20:22, jim feldman wrote:

Does 6.x have a nic bonding/teaming/failover feature like the linux  
bond (rnd robin, failover, ld bal, trunking)?  I'm thinking  
multiple nics, one server, same lan/vlan.  I've read up on CARP and  
one2many, but they don't seem to do what bond does.




I think you want ng_one2many(4).

Ceri


PGP.sig
Description: This is a digitally signed message part


Re: kbdmux: unable to work with dual keyboard

2006-01-13 Thread Eugeny Kuzakov

Maksim Yevmenkin wrote:


no, its not the same as in your previous email. you got different
error. did you run your script in console or xterm window?

also, just to be on the safe side, you might want to replace
/dev/console with /dev/ttyv0, i.e.

kbdcontrol -K  /dev/ttyv0
kbdcontrol -a ukbd0  /dev/kbdmux0
kbdcontrol -a atkbd0  /dev/kbdmux0
kbdcontrol -k /dev/kbdmux0  /dev/ttyv0
 



there are no good sounds:(

kbdcontrol -K  /dev/ttyv0
kbdcontrol -a ukbd0  /dev/kbdmux0
kbdcontrol -a atkbd0  /dev/kbdmux0
kbdcontrol -k /dev/kbdmux0  /dev/ttyv0



output:

[EMAIL PROTECTED]:/add/home/coredumped/tmp$cat mmm.log
+ kbdcontrol -K
kbd0
   atkbd0, type:AT 101/102 (2)
+ kbdcontrol -a ukbd0
kbdcontrol: unable to (un)mux the keyboard: Operation not supported by 
device

kbd1
   kbdmux0, type:AT 101/102 (2)
+ kbdcontrol -a atkbd0
kbdcontrol: unable to (un)mux the keyboard: Operation not supported by 
device

kbd1
   kbdmux0, type:AT 101/102 (2)
+ kbdcontrol -k /dev/kbdmux0
kbd1
   kbdmux0, type:AT 101/102 (2)
---14-01-2006 00:53:15



thanks.


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


Re: NIC bonding/teaming

2006-01-13 Thread Ian Lord

At 16:47 2006-01-13, Ceri Davies wrote:


On 13 Jan 2006, at 20:22, jim feldman wrote:


Does 6.x have a nic bonding/teaming/failover feature like the linux
bond (rnd robin, failover, ld bal, trunking)?  I'm thinking
multiple nics, one server, same lan/vlan.  I've read up on CARP and
one2many, but they don't seem to do what bond does.


I think you want ng_one2many(4).

Ceri


Hi,

I did a lot of tests with carp (was not appropriate at all), and ng_one2many

I was able to make two nics appears at one with ng_one2many, but 
after severals days of tests and research, dropped it because it 
caused bad side effects and when I was pulling one nic out, it was 
stopping to transmit/receive for some moment. Also on the switch, 
both nics were registering the same mac address so my cisco was 
sending me warning about it every minute.


If you find a way to make it work that works perfectly, let me know, 
I think a lot of people will benefit from it cause there is a bunch 
of people asking for nic teaming and no real solution...


personnally, I ended up doing the redundancy at layer 3 instead of layer 2.

I used quagga (or zebra) and put one nic in a separate subnet. I then 
used ospf to share routes. basically, my website is on an ip I binded 
to my loopback adapter and there is two gateways (both nics) to the 
rest of the network. It's not a solution I'm proud of because I wish 
I would have succeed to team the nic like I could have done on 
windows or linux, but I didn't find a working solution...


Good luck

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


Re: NIC bonding/teaming

2006-01-13 Thread Dan Nelson
In the last episode (Jan 13), Ian Lord said:
 At 16:47 2006-01-13, Ceri Davies wrote:
 On 13 Jan 2006, at 20:22, jim feldman wrote:
 Does 6.x have a nic bonding/teaming/failover feature like the linux
 bond (rnd robin, failover, ld bal, trunking)?  I'm thinking
 multiple nics, one server, same lan/vlan.  I've read up on CARP and
 one2many, but they don't seem to do what bond does.
 
 I think you want ng_one2many(4).
 
 I did a lot of tests with carp (was not appropriate at all), and
 ng_one2many

 I was able to make two nics appears at one with ng_one2many, but
 after severals days of tests and research, dropped it because it
 caused bad side effects and when I was pulling one nic out, it was
 stopping to transmit/receive for some moment. Also on the switch,
 both nics were registering the same mac address so my cisco was
 sending me warning about it every minute.

That's because you forgot to configure your cisco and tell it those two
ports were trunked together :)

Another alternative to ng_one2many is ng_fec, which despite its name
does not actually negotiate the FEC protocol with the remote end (you
have to hardcode it on the switch), but does do mac/ip port hashing. 
That prevents packet reordering within flows.  Patches to add LACP
negotiation (FEC is obsolete) are welcome though :)

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


Re: kbdmux: unable to work with dual keyboard

2006-01-13 Thread Maksim Yevmenkin
 no, its not the same as in your previous email. you got different
 error. did you run your script in console or xterm window?
 
 also, just to be on the safe side, you might want to replace
 /dev/console with /dev/ttyv0, i.e.

 kbdcontrol -K  /dev/ttyv0
 kbdcontrol -a ukbd0  /dev/kbdmux0
 kbdcontrol -a atkbd0  /dev/kbdmux0
 kbdcontrol -k /dev/kbdmux0  /dev/ttyv0

 output:

 [EMAIL PROTECTED]:/add/home/coredumped/tmp$cat mmm.log
 + kbdcontrol -K
 kbd0
 atkbd0, type:AT 101/102 (2)
 + kbdcontrol -a ukbd0
 kbdcontrol: unable to (un)mux the keyboard: Operation not supported by
 device
 kbd1
 kbdmux0, type:AT 101/102 (2)
 + kbdcontrol -a atkbd0
 kbdcontrol: unable to (un)mux the keyboard: Operation not supported by
 device
 kbd1
 kbdmux0, type:AT 101/102 (2)
 + kbdcontrol -k /dev/kbdmux0
 kbd1
 kbdmux0, type:AT 101/102 (2)
 ---14-01-2006 00:53:15

well, you are doing something wrong. stupid questions: did you kldload
kbdmux? is your userland and kernel in sync? i just tried

beetle# uname -a
FreeBSD beetle.digisle.com 7.0-CURRENT FreeBSD 7.0-CURRENT #47: Thu
Jan  5 14:20:02 PST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

beetle# ls -la /dev/*kbd*
crw---  1 root  wheel0,  39 Jan  6 12:21 /dev/atkbd0
lrwxr-xr-x  1 root  wheel 6 Dec 31  1969 /dev/kbd0 - atkbd0
lrwxr-xr-x  1 root  wheel 5 Jan  6 04:21 /dev/kbd1 - ukbd0
lrwxr-xr-x  1 root  wheel 7 Jan 13 09:46 /dev/kbd2 - kbdmux0
crw---  1 root  wheel0, 124 Jan  6 12:21 /dev/kbdmux0
crw---  1 root  wheel0,  89 Jan  6 12:21 /dev/ukbd0

beetle# cat k.sh
#!/bin/sh -x

kbdcontrol -K  /dev/ttyv0
kbdcontrol -a atkbd0  /dev/kbdmux0
kbdcontrol -a ukbd0  /dev/kbdmux0
kbdcontrol -k /dev/kbdmux0  /dev/ttyv0

beetle# sh -x k.sh
+ kbdcontrol -K
kbd0
atkbd0, type:AT 101/102 (2)
+ kbdcontrol -a atkbd0
kbd2
kbdmux0, type:AT 101/102 (2)
+ kbdcontrol -a ukbd0
kbd2
kbdmux0, type:AT 101/102 (2)
+ kbdcontrol -k /dev/kbdmux0
kbd2
kbdmux0, type:AT 101/102 (2)

and both keyboards work.

you might want to try other way, i.e.

1) connect usb keyboard and make sure it is _NOT_ default, i.e.
comment out ubkd section in /etc/devd.conf and restart devd

2) kbdcontrol -a ukbd0  /dev/kbdmux0 -- this should add ukbd0 to
kbdmux0 but it will _NOT_ switch the keyboards.

3) if (3) above was succesful, then kbdcontrol -k /dev/kbdmux0 
/dev/ttyv0 -- this should switch the keyboard to kbdmux0 (and ukbd0).
it should also cut out atkbd0.

4) add atkbd0 to kbdmux0 kbdcontrol -a atkbd0  /dev/ttyv0

if everything above worked then you should have both keyboards working.

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


Re: NIC bonding/teaming

2006-01-13 Thread Ian Lord

At 17:14 2006-01-13, Dan Nelson wrote:

In the last episode (Jan 13), Ian Lord said:
 At 16:47 2006-01-13, Ceri Davies wrote:
 On 13 Jan 2006, at 20:22, jim feldman wrote:
 Does 6.x have a nic bonding/teaming/failover feature like the linux
 bond (rnd robin, failover, ld bal, trunking)?  I'm thinking
 multiple nics, one server, same lan/vlan.  I've read up on CARP and
 one2many, but they don't seem to do what bond does.
 
 I think you want ng_one2many(4).

 I did a lot of tests with carp (was not appropriate at all), and
 ng_one2many

 I was able to make two nics appears at one with ng_one2many, but
 after severals days of tests and research, dropped it because it
 caused bad side effects and when I was pulling one nic out, it was
 stopping to transmit/receive for some moment. Also on the switch,
 both nics were registering the same mac address so my cisco was
 sending me warning about it every minute.

That's because you forgot to configure your cisco and tell it those two
ports were trunked together :)

Another alternative to ng_one2many is ng_fec, which despite its name
does not actually negotiate the FEC protocol with the remote end (you
have to hardcode it on the switch), but does do mac/ip port hashing.
That prevents packet reordering within flows.  Patches to add LACP
negotiation (FEC is obsolete) are welcome though :)


Oups :) Forgot to mention I was looking for switch redundancy also... 
So each nics were plugged into 2 separate switches so I was not able 
to configure the switch as trunk or etherchannel...


On windows, I am able to team the nics on two different switches 
without problem with the hp or Intel teaming software, I guess only 
one nic works at the same time and register it's mac address in the 
switch tcam...


For the original question, it should work with ng_one2Many :)



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


Re: BUg on latest mysql40-client portupgrade.

2006-01-13 Thread Kris Kennaway
On Fri, Jan 13, 2006 at 02:58:29PM -0600, Zimmerman, Eric wrote:
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Kris Kennaway
 Sent: Friday, January 13, 2006 2:31 PM
 To: Jack Raats
 Cc: FreeBSD Stable; FreeBSD Questions
 Subject: Re: BUg on latest mysql40-client portupgrade.
 
 On Fri, Jan 13, 2006 at 08:50:31PM +0100, Jack Raats wrote:
  Since the latest mysql40-client port upgrade, I'm getting a mysql
 error:
  
  Jan 13 20:04:33 orac kernel: Starting gld.
  Jan 13 20:04:33 orac kernel: /libexec/ld-elf.so.1:
  Jan 13 20:04:33 orac kernel: Shared object libmysqlclient.so.12 not
 found, required by gld
  
  Can anyone help me or give me a clue?
  
  FreeBSD 6.0-STABLE and mysql-client-4.0.26_1
  GLD 1.6 gives the error
 
 You forgot to portupgrade the things that depend on mysql, such as gld.
 
 
 Use portmanager and you wont ever have to worry about these things
 again. Check it out

A grand claim indeed ;-)

Kris


pgpka1LuUrfKP.pgp
Description: PGP signature


Re: apache2.0.55 w/ mod_ldap tls

2006-01-13 Thread Brent Kearney
Hi again,

To follow up on my own question, in case others upgrade from 2.0.54 and
run into this problem, 2.0.55 requires these two directives before SSL 
is enabled in mod_ldap: 
 

LDAPTrustedCA /etc/ssl/CA/cacert.pem
   
LDAPTrustedCAType BASE64_FILE   
   

   
The debug logs now produce:

[Fri Jan 13 18:34:17 2006] [notice] LDAP: SSL support available 

Cheers,
Brent


On Thu, Jan 12, 2006 at 07:56:14PM -0700, Brent Kearney wrote:
 Hello,
 
 I'm having some trouble getting apache's ldap module to connect to my 
 openldap server 
 using TLS.  The reason it won't initiate an SSL connection is evident in the 
 logs:
 
 [Thu Jan 12 20:45:49 2006] [debug] util_ldap.c(1341): LDAP: SSL trusted 
 certificate authority file type - BASE64_FILE
 [Thu Jan 12 20:45:49 2006] [notice] SIGHUP received.  Attempting to restart
 [Thu Jan 12 20:45:50 2006] [debug] util_ldap.c(1341): LDAP: SSL trusted 
 certificate authority file type - BASE64_FILE
 [Thu Jan 12 20:45:51 2006] [notice] Digest: generating secret for digest 
 authentication ...
 [Thu Jan 12 20:45:51 2006] [notice] Digest: done
 [Thu Jan 12 20:45:51 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
 [Thu Jan 12 20:45:51 2006] [notice] LDAP: SSL support unavailable
 [Thu Jan 12 20:45:51 2006] [notice] Apache/2.0.55 (FreeBSD) mod_ssl/2.0.55 
 OpenSSL/0.9.7e DAV/2 PHP/5.1.1 configured -- resuming normal operations
 
 
 I found this bug report, which details what looks like the same problem:
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/86416
 
 However, it also mentions that the bug was supposed to be fixed in Apache 
 2.0.55, 
 which I'm running.  As in that bug report, I am also using FreeBSD 5.4.  I 
 added
 LDAPTrustedCAType BASE64_FILE to my httpd.conf file as suggested, but it 
 makes
 no difference.
 
 Ironically, it was working before I upgraded from apache 2.0.54.
 
 Any suggestions are welcome.
 
 Thanks,
 
 Brent
 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


External USB drive on Sun HW

2006-01-13 Thread Aaron Burruss
Hi there,

I'm looking for some help on a problem I'm having with a new setup I've
got... I'm running sparc64 6.0 and also have an external USB drive enclosure
with a 250GB IDE drive in it.  The drive is formatted as a BSD partition
(formatting done on another box).

I've got the following in my kernel:

# USB support
device uhci # UHCI PCI-USB interface
device ohci # OHCI PCI-USB interface
device usb # USB Bus (required)
device ugen # Generic
device uhid # Human Interface Devices
device umass # Disks/Mass storage - Requires scbus and da

I.m seeing this in dmesg:


[EMAIL PROTECTED] dmesg |grep -i umass
umass0: vendor 0x05e3 USB TO IDE, rev 2.00/0.33, addr 2
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
[EMAIL PROTECTED] dmesg|grep -i usb
ohci0: Sun PCIO-2 USB controller mem 0xe200-0xe2007fff at device
12.3on pci1
usb0: OHCI version 1.0, legacy support
usb0: Sun PCIO-2 USB controller on ohci0
usb0: USB revision 1.0
ohci1: Sun PCIO-2 USB controller mem 0xe500-0xe5007fff at device
5.3on pci1
usb1: OHCI version 1.0, legacy support
usb1: Sun PCIO-2 USB controller on ohci1
usb1: USB revision 1.0
umass0: vendor 0x05e3 USB TO IDE, rev 2.00/0.33, addr 2

I see this in usbdevs output:

[EMAIL PROTECTED] dmesg|grep -i usb
ohci0: Sun PCIO-2 USB controller mem 0xe200-0xe2007fff at device
12.3on pci1
usb0: OHCI version 1.0, legacy support
usb0: Sun PCIO-2 USB controller on ohci0
usb0: USB revision 1.0
ohci1: Sun PCIO-2 USB controller mem 0xe500-0xe5007fff at device
5.3on pci1
usb1: OHCI version 1.0, legacy support
usb1: Sun PCIO-2 USB controller on ohci1
usb1: USB revision 1.0
umass0: vendor 0x05e3 USB TO IDE, rev 2.00/0.33, addr 2

My primary hard drives are da0 and da1 (all the how-to's say that daX should
be where I mount.. but /dev only has my two primary drives:

-su-2.05b# ls -la /dev/da*
crw-r- 1 root operator 4, 16 Dec 20 20:11 /dev/da0
crw-r- 1 root operator 4, 18 Dec 20 12:11 /dev/da0a
crw-r- 1 root operator 4, 19 Dec 20 20:11 /dev/da0b
crw-r- 1 root operator 4, 20 Dec 20 20:11 /dev/da0c
crw-r- 1 root operator 4, 17 Dec 20 20:11 /dev/da1
crw-r- 1 root operator 4, 21 Dec 20 20:11 /dev/da1c
crw-r- 1 root operator 4, 22 Dec 20 12:11 /dev/da1d

-su-2.05b# dmesg|grep da.:
da0: FUJITSU MAN3367M SUN36G 1502 Fixed Direct Access SCSI-2 device
da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing
Enabled
da0: 34732MB (71132959 512 byte sectors: 255H 63S/T 4427C)
da1: FUJITSU MAN3367M SUN36G 1502 Fixed Direct Access SCSI-2 device
da1: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing
Enabled
da1: 34732MB (71132959 512 byte sectors: 255H 63S/T 4427C)

I can plug this into my AMD64 running FreeBSD 6, and it comes up with no
problems.

I THINK I'm probably missing something totally dumb... Anyone got any help
for me on this?

Yah.. I know.. get an i386 box with IDE drives.  :) This is a small 1U box,
and fits in my closet well. so I'd like to use it if possible.

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


Re FreeBSD v 6.0 (boxed cd set)

2006-01-13 Thread je killen

(On e-Machine with Intel Sempron processor and 256 mb memory).
I'm not able to log into x via kdm as root and not able to su to root 
when in Gnome (or KDE for that matter).
It also goes through what seem to be excessive sleep cycles (two 
lasting at least a minute apiece) during the boot process

to establish the system's name.
It refused ssh from my Mac OSX machine (It starts sshd on boot, which 
also takes a noticeable amount of time)
What ftp server is recommended for FreeBSD? (There doesn't seem to be 
any provided by default install)
How do I tell it who it really is? (Is it trying to contact a DNS 
server and/or /etc/hosts ?)
How can I get set up to su to root in a console window? (Or do I have 
to learn to live with it?)
If I can't get set up to su to root in a console window, how can I log 
into an x session as root?
(Does it have to do with security levels, or who is a member of the 
'wheel' group? Even Mac OSX only allows sudo -- and it is based on 
FreeBSD, isn't it?)


Thanks
JK
This is definitely the most active list I've subscribed to (203 total 
e-mail load yesterday when usually 30 -50 per day with 3 other tech 
related list subscriptions)


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


Getting latest files with cvsweb for a given tag

2006-01-13 Thread RW
Is there a cvsweb URL that will give me the latest version of a given file, 
given a specific tag? ie  without specifying a explicit revision.

What I am trying to do is write a script that will download the latest version 
of  src/sys/conf/newvers.sh for RELENG_6_0, so it can parse out the version 
information and compare it with the output of uname -r.

Or is there a better way of determining whether the  installed world has been 
superceded by a new point-release (aside from reading mailing lists).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Native voip software for FreeBSD

2006-01-13 Thread Eric Kjeldergaard
水曜日 11 1月 2006 01:30、User Gandalf さんは書きました:
   Hello,

 Do you know any native voip software for FreeBSD?
 I hate to install Linux compatibility mode just to have skype working.
 Thanks,

Les

[EMAIL PROTECTED] [/usr/ports/net] #ls | grep phone
cphone
kphone
linphone
linphone-base
ohphone

Those as well as kiax seem good options, I think.  I've been meaning to see if 
openwengo can compile and run on freebsd.  Best of luck,

Eric

-- 
The signature is a location used to give a personalised feel to each E-mail 
without having to personalise each E-mail.


pgpS5qBVm7k5p.pgp
Description: PGP signature


Ummm... Why can't I find the FreeBSD 6.0 ISO images?

2006-01-13 Thread David Benfell
Hello all,

It seems like no matter which site I try, I get a message that
pub/FreeBSD/releases/i386/ISO-IMAGES/6.0 doesn't exist.

So I guess I've got two questions:

1) Where are the ISOs really?
2) Why is the website wrong?

-- 
David Benfell, LCP
[EMAIL PROTECTED]
---
Resume available at http://www.parts-unknown.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ummm... Why can't I find the FreeBSD 6.0 ISO images?

2006-01-13 Thread Chuck Swiger

David Benfell wrote:

It seems like no matter which site I try, I get a message that
pub/FreeBSD/releases/i386/ISO-IMAGES/6.0 doesn't exist.

So I guess I've got two questions:

1) Where are the ISOs really?


They are right here:

ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.0/

...specificly, you probably want:

ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.0/6.0-RELEASE-i386-disc1.iso


2) Why is the website wrong?


DNS not working right for you, perhaps?
Bad proxy?  Path MTU lossage?  PEBCAK?  :-)

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


Re: Ummm... Why can't I find the FreeBSD 6.0 ISO images?

2006-01-13 Thread David Benfell
On Fri, 13 Jan 2006 23:28:33 -0500, Chuck Swiger wrote:
 
 2) Why is the website wrong?
 
 DNS not working right for you, perhaps?
 Bad proxy?  Path MTU lossage?  PEBCAK?  :-)
 
[Sigh]  This is what I get for failing to post the *entire* error
message.  My DNS and network are working fine, but...

16% wget 
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.0/6.0-RELEASE-i386-disc1.iso
--21:08:33--
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.0/6.0-RELEASE-i386-disc1.iso
   = `6.0-RELEASE-i386-disc1.iso'
Resolving ftp.freebsd.org... done.
Connecting to ftp.freebsd.org[204.152.184.73]:21... connected.
Logging in as anonymous ... Logged in!
== SYST ... done.== PWD ... done.
== TYPE I ... done.  == CWD
/pub/FreeBSD/releases/i386/ISO-IMAGES/6.0 ... 
No such directory `pub/FreeBSD/releases/i386/ISO-IMAGES/6.0'.

-- 
David Benfell, LCP
[EMAIL PROTECTED]
---
Resume available at http://www.parts-unknown.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ummm... Why can't I find the FreeBSD 6.0 ISO images?

2006-01-13 Thread Kris Kennaway
On Fri, Jan 13, 2006 at 09:11:11PM -0800, David Benfell wrote:
 On Fri, 13 Jan 2006 23:28:33 -0500, Chuck Swiger wrote:
  
  2) Why is the website wrong?
  
  DNS not working right for you, perhaps?
  Bad proxy?  Path MTU lossage?  PEBCAK?  :-)
  
 [Sigh]  This is what I get for failing to post the *entire* error
 message.  My DNS and network are working fine, but...
 
 16% wget 
 ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.0/6.0-RELEASE-i386-disc1.iso
 --21:08:33--
 ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.0/6.0-RELEASE-i386-disc1.iso
= `6.0-RELEASE-i386-disc1.iso'
 Resolving ftp.freebsd.org... done.
 Connecting to ftp.freebsd.org[204.152.184.73]:21... connected.
 Logging in as anonymous ... Logged in!
 == SYST ... done.== PWD ... done.
 == TYPE I ... done.  == CWD
 /pub/FreeBSD/releases/i386/ISO-IMAGES/6.0 ... 
 No such directory `pub/FreeBSD/releases/i386/ISO-IMAGES/6.0'.

Unable to confirm:

wget 
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.0/6.0-RELEASE-i386-disc1.iso
--00:13:59--  
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/6.0/6.0-RELEASE-i386-disc1.iso
   = `6.0-RELEASE-i386-disc1.iso'
Resolving ftp.freebsd.org... 62.243.72.50, 204.152.184.73, 2001:4f8:0:2::e, ...
Connecting to ftp.freebsd.org|62.243.72.50|:21... connected.
Logging in as anonymous ... Logged in!
== SYST ... done.== PWD ... done.
== TYPE I ... done.  == CWD /pub/FreeBSD/releases/i386/ISO-IMAGES/6.0 ... 
done.
== PASV ... done.== RETR 6.0-RELEASE-i386-disc1.iso ... done.
Length: 578,408,448 (552M) (unauthoritative)

 0% [] 
88,32879.57K/s 
^C

Neither if I use the other IP address, which you used:

wget 
ftp://204.152.184.73/pub/FreeBSD/releases/i386/ISO-IMAGES/6.0/6.0-RELEASE-i386-disc1.iso
--00:15:02--  
ftp://204.152.184.73/pub/FreeBSD/releases/i386/ISO-IMAGES/6.0/6.0-RELEASE-i386-disc1.iso
   = `6.0-RELEASE-i386-disc1.iso.1'
Connecting to 204.152.184.73:21... connected.
Logging in as anonymous ... Logged in!
== SYST ... done.== PWD ... done.
== TYPE I ... done.  == CWD /pub/FreeBSD/releases/i386/ISO-IMAGES/6.0 ... 
done.
== PASV ... done.== RETR 6.0-RELEASE-i386-disc1.iso ... done.
Length: 578,408,448 (552M) (unauthoritative)

 0% [] 
153,240  168.66K/s ^C

Kris


pgpoi5anHpWdu.pgp
Description: PGP signature


Re: Ummm... Why can't I find the FreeBSD 6.0 ISO images?

2006-01-13 Thread ravi pina
On Fri, Jan 13, 2006 at 08:15:24PM -0800, David Benfell said at one point in 
time:
 Hello all,
 
 It seems like no matter which site I try, I get a message that
 pub/FreeBSD/releases/i386/ISO-IMAGES/6.0 doesn't exist.
 
 So I guess I've got two questions:
 
 1) Where are the ISOs really?
 2) Why is the website wrong?

[EMAIL PROTECTED]:[ttypc][12:19am](4):101:~ ftp ftp.freebsd.org
Trying 62.243.72.50...
Connected to ftp.freebsd.org.
220 ftp.FreeBSD.org NcFTPd Server (licensed copy) ready.
Name (ftp.freebsd.org:ravi): anonymous
331 Guest login ok, send your complete e-mail address as password.
Password:
230-You are user #143 of 1000 simultaneous users allowed.
230-
230 Logged in anonymously.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp cd /pub/FreeBSD/releases/i386/ISO-IMAGES/6.0/
250 /pub/FreeBSD/releases/i386/ISO-IMAGES/6.0 is new cwd.
ftp ls
227 Entering Passive Mode (62,243,72,50,213,75)
150 Data connection accepted from 208.48.232.100:2935; transfer starting.
-rw-r--r--   1 ftpuser  ftpusers  45936640 Nov  3 15:25 
6.0-RELEASE-i386-bootonly.iso
-rw-r--r--   1 ftpuser  ftpusers 578408448 Nov  3 17:13 
6.0-RELEASE-i386-disc1.iso
-rw-r--r--   1 ftpuser  ftpusers 682371072 Nov  3 18:45 
6.0-RELEASE-i386-disc2.iso
-rw-r--r--   1 ftpuser  ftpusers   207 Nov  3 18:45 CHECKSUM.MD5
-rw-r--r--   1 ftpuser  ftpusers   312 Nov  3 18:45 CHECKSUM.SHA256
226 Listing completed.
ftp bye
221 Goodbye.

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


Re: Ummm... Why can't I find the FreeBSD 6.0 ISO images?

2006-01-13 Thread David Benfell
On Sat, 14 Jan 2006 00:15:59 -0500, Kris Kennaway wrote:
 
 Unable to confirm:
 
snip

Okay.  Now I'm really bewildered.  But apparently the problem is on my
Mac.

On a lark, I tried another system.  This one is my OpenBSD system that
I use for routing.  It's pulling down the ISO just fine.

This system is, where I originally tried it, is:

Darwin thunder.cybernude.org 8.4.0 Darwin Kernel Version 8.4.0: Tue Jan  3 
18:22:10 PST 2006; root:xnu-792.6.56.obj~1/RELEASE_PPC Power Macintosh unknown 
PowerBook5,1 Darwin

And this is where it failed.  It has wget version:

GNU Wget 1.8.1

Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001 Free Software Foundation, Inc.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

Originally written by Hrvoje Niksic [EMAIL PROTECTED].

But ncftp and Safari's invocation of Finder also failed.

-- 
David Benfell, LCP
[EMAIL PROTECTED]
---
Resume available at http://www.parts-unknown.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


The best you may make for is to be the #1 lover.

2006-01-13 Thread wvbrpxqmp
The objective of this guide is to save you time and money. 
http://vzhjdn.r2fbf6wmemxhr9rkwrrkwrrr.passkeyih.com/?etsz


I don't care where I sit, as long as I get fed. 
The man who makes no mistakes does not usually make anything.  
Temper gets you into trouble. Pride keeps you there.
Marriage is a triumph of habit over hate. 
The ultimate security is your understanding of reality. 
INJURY, n. An offense next in degree of enormity to a slight. 
Make service your first priority, not success and success will follow.  


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


Problem setting up PPPoE in Release 6.0

2006-01-13 Thread Barbara La-Scala

I have a Netcomm NB1300 modem and a Realtek 8029 ethernet card and was
successful at configuring PPPoE for this combination under R5.3.  I've
recently upgraded to R6.0 and cannot get things to work any more.

I've played with all the options in the ppp.conf that looked relevant
(and several that didn't) and I've compiled the NETGRAPH stuff into my
kernel but still no go.  I've googled but without success.  I've
tripled checked that I've got my username and password entered
correctly.  I know the modem is OK as I'm using it to post this
(hooked up to a laptop with Windoze).

I'm reluctant to return to R5.3 as I'm enjoying having a working sound
card.  However, I need internet access more.  Any help would be
greatly appreciated as I'm all out of ideas.  

Configuration details are below.

Thanks
Barbara

FreeBSD reports my Ethernet card is

 ed0: NE2000 PCI Ethernet (RealTek 8029) port 0xd000-0xd01f irq 12 at device 
9.0 on pci0
  ed0: type NE2000 (16 bit)

My /etc/rc.conf looks like

  ifconfig_ed0=up
  ppp_enable=YES
  ppp_mode=ddial
  ppp_profile=netspace

My /etc/ppp/ppp.conf  (with password deleted) is

  default:
   set log All
 
  netspace:
   set device PPPoE:ed0
   set authname [EMAIL PROTECTED]
   set authkey 
   set dial
   set login
   set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
   add default HISADDR

The ppp.log file reports

 Phase: Using interface: tun0
 Phase: deflink: Created in closed state
 tun0: ID0: 0x282e62c0 = fopen(/etc/ppp/ppp.conf, r)
 tun0: Debug: ReadSystem: Checking netspace (/etc/ppp/ppp.conf).
 tun0: Command: netspace: set device PPPoE:ed0
 tun0: Command: netspace: set authname [EMAIL PROTECTED]
 tun0: Command: netspace: set authkey 
 tun0: Command: netspace: set dial
 tun0: Command: netspace: set login
 tun0: Command: netspace: set ifaddr 10.0.0.1/0 10.0.0.2/0
 255.255.255.0 0.0.0.0
 tun0: Command: netspace: add default HISADDR
 tun0: ID0: 9 = socket(17, 3, 0)
 tun0: ID0: -1 = write(9, data, 140)
 tun0: TCP/IP: rt_Set failure:
 tun0: TCP/IP: rt_Set:  Cmd = Add
 tun0: TCP/IP: rt_Set:  Dst = 0.0.0.0/0
 tun0: TCP/IP: rt_Set:  Gateway = 10.0.0.2
 tun0: Debug: wrote -1: cmd = Add, dst = 0.0.0.0/0, gateway = 10.0.0.2
 tun0: ID0: 0x282e62c0 = fopen(/var/run/tun0.pid, w)
 tun0: Phase: PPP Started (ddial mode).
 tun0: Phase: bundle: Establish
 tun0: Phase: deflink: closed - opening
 tun0: ID0: 0 = NgMkSockNode(, cs, ds)
 tun0: Debug: List of netgraph node ``ed0:'' (id 1) hooks:
 tun0: Debug:   Found orphans - ethernet
 tun0: Debug: Connecting netgraph socket .:tun0 - [3]::tun0
 tun0: ID0: 2 = socket(2, 2, 0)
 tun0: ID0: 0 = ioctl(2, 3223349521, 0xbfbfde10)
 tun0: ID0: 0 = ioctl(2, 2149607696, 0xbfbfde10)
 tun0: Debug: Sending PPPOE_CONNECT to .:tun0
 tun0: Debug: Found the following interfaces:
 tun0: Debug:  Index 1, name ed0
 tun0: Debug:  Index 2, name plip0
 tun0: Debug:  Index 3, name lo0
 tun0: Debug:  Index 4, name tun0
 tun0: Timer: timer_Start: Inserting physical throughput
 timer[0x80bc068]
 tun0: Phase: deflink: Connected!
 tun0: Phase: deflink: opening - dial
 tun0: Phase: deflink: dial - carrier
 tun0: Debug: Waiting for carrier
 tun0: Timer: Select returns -1
 tun0: Timer:  Begin of Timer Service List---
 tun0: Timer: physical throughput timer[0x80bc068]: freq = 1.00s, next
 = 0.00s, state = running
 tun0: Timer:  End of Timer Service List ---
 tun0: Timer: timer_Start: Inserting physical throughput
 timer[0x80bc068]
 tun0: Debug: Waiting for carrier
 tun0: Timer: Select returns -1
 tun0: Timer:  Begin of Timer Service List---
 tun0: Timer: physical throughput timer[0x80bc068]: freq = 1.00s, next
 = 0.00s, state = running
 tun0: Timer:  End of Timer Service List ---
 tun0: Timer: timer_Start: Inserting physical throughput
 timer[0x80bc068]
 tun0: Debug: Waiting for carrier
 tun0: Timer: Select returns -1
 tun0: Timer:  Begin of Timer Service List---
 tun0: Timer: physical throughput timer[0x80bc068]: freq = 1.00s, next
 = 0.00s, state = running
 tun0: Timer:  End of Timer Service List ---
 tun0: Timer: timer_Start: Inserting physical throughput
 timer[0x80bc068]
 tun0: Debug: Waiting for carrier
 tun0: Timer: Select returns -1
 tun0: Timer:  Begin of Timer Service List---
 tun0: Timer: physical throughput timer[0x80bc068]: freq = 1.00s, next
 = 0.00s, state = running
 tun0: Timer:  End of Timer Service List ---
 tun0: Timer: timer_Start: Inserting physical throughput
 timer[0x80bc068]
 tun0: Debug: Waiting for carrier
 tun0: Timer: Select returns -1
 tun0: Timer:  Begin of Timer Service List---
 tun0: Timer: physical throughput timer[0x80bc068]: freq = 1.00s, next
 = 0.00s, state = running
 tun0: Timer:  End of Timer Service List ---
 tun0: Timer: timer_Start: Inserting physical throughput
 timer[0x80bc068]
 tun0: Phase: deflink: Disconnected!
 tun0: Phase: deflink: carrier - hangup
 tun0: Debug: deflink: Close
 tun0: Phase: deflink: Connect time: 5 secs: 0 octets in, 0 octets out
 tun0: Phase: 

Re: Ummm... Why can't I find the FreeBSD 6.0 ISO images?

2006-01-13 Thread Kris Kennaway
On Fri, Jan 13, 2006 at 09:38:50PM -0800, David Benfell wrote:
 On Sat, 14 Jan 2006 00:15:59 -0500, Kris Kennaway wrote:
  
  Unable to confirm:
  
 snip
 
 Okay.  Now I'm really bewildered.  But apparently the problem is on my
 Mac.
 
 On a lark, I tried another system.  This one is my OpenBSD system that
 I use for routing.  It's pulling down the ISO just fine.
 
 This system is, where I originally tried it, is:
 
 Darwin thunder.cybernude.org 8.4.0 Darwin Kernel Version 8.4.0: Tue Jan  3 
 18:22:10 PST 2006; root:xnu-792.6.56.obj~1/RELEASE_PPC Power Macintosh 
 unknown PowerBook5,1 Darwin
 
 And this is where it failed.  It has wget version:
 
 GNU Wget 1.8.1
 
 Copyright (C) 1995, 1996, 1997, 1998, 2000, 2001 Free Software Foundation, 
 Inc.
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 Originally written by Hrvoje Niksic [EMAIL PROTECTED].
 
 But ncftp and Safari's invocation of Finder also failed.

Try to verify with e.g. tcpdump on another machine on the LAN segment
that it is actually communicating with the right machine, and it (or
something like a transparent proxy in between) is not somehow
rewriting the FTP stream.

Kris


pgpa6tx3QvrcR.pgp
Description: PGP signature


Re: Problem setting up PPPoE in Release 6.0

2006-01-13 Thread Rowdy

Barbara La-Scala wrote:

I have a Netcomm NB1300 modem and a Realtek 8029 ethernet card and
was successful at configuring PPPoE for this combination under R5.3.
I've recently upgraded to R6.0 and cannot get things to work any
more.

I've played with all the options in the ppp.conf that looked relevant
 (and several that didn't) and I've compiled the NETGRAPH stuff into
my kernel but still no go.  I've googled but without success.  I've 
tripled checked that I've got my username and password entered 
correctly.  I know the modem is OK as I'm using it to post this 
(hooked up to a laptop with Windoze).


I'm reluctant to return to R5.3 as I'm enjoying having a working
sound card.  However, I need internet access more.  Any help would be
 greatly appreciated as I'm all out of ideas.

Configuration details are below.

Thanks Barbara


snip

I have a similar setup: FreeBSD 6, Netcomm NB1300 Plus 4, Netspace.

Occasionally it fails to connect while waiting for carrier, as yours
seems to have done.  If I try to connect again, it usually succeeds.

I would suggest making a second attempt to connect, if that fails,
power cycle the modem and try again.

If it still won't connect, then there might be a bigger problem.

I also have option set cd 10 in my ppp.conf that sets a 10 second
delay waiting for carrier (FreeBSD checks for carrier once per second
until timeout) - I don't know if that makes any difference.

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


Re: Re FreeBSD v 6.0 (boxed cd set)

2006-01-13 Thread Robert Slade
On Sat, 2006-01-14 at 01:01, je killen wrote:
 (On e-Machine with Intel Sempron processor and 256 mb memory).
 I'm not able to log into x via kdm as root and not able to su to root 
 when in Gnome (or KDE for that matter).
 It also goes through what seem to be excessive sleep cycles (two 
 lasting at least a minute apiece) during the boot process
 to establish the system's name.

Sounds like it is trying to contact a dhcp server and then timing out.
What does messages or your error logs say? They are in /var/logs

 It refused ssh from my Mac OSX machine (It starts sshd on boot, which 
 also takes a noticeable amount of time)

Check your sshd setup, see man sshd, there are some defaults set in the
conf file there which are causing the restriction.
   
 What ftp server is recommended for FreeBSD? (There doesn't seem to be 
 any provided by default install)

You should have been asked if you wanted a ftp server during
installation. The default is ftp. There are others in the ports though.
See the handbook.

 How do I tell it who it really is? (Is it trying to contact a DNS 
 server and/or /etc/hosts ?)

The host name etc is set in /etc/rc.conf. Again you should have set this
during installation. You can re run the installation process just type
sysinstall.

 How can I get set up to su to root in a console window? (Or do I have 
 to learn to live with it?)

The default allows only members of the wheel group to su to root.

 If I can't get set up to su to root in a console window, how can I log 
 into an x session as root?

You should be able to log on as root and run an x session as root (not
recommended).
 
 (Does it have to do with security levels, or who is a member of the 
 'wheel' group? Even Mac OSX only allows sudo -- and it is based on 
 FreeBSD, isn't it?)

See above. There could also be an issue with security, it depends how
you set it during install.

 
 Thanks
 JK
 This is definitely the most active list I've subscribed to (203 total 
 e-mail load yesterday when usually 30 -50 per day with 3 other tech 
 related list subscriptions)

JK Welcome,

From your questions you are new :-), I was some 5 months ago.  Most of
the answers can be got from the handbook. I've tried to give you some
pointers to help, but not too much as you do need to become familiar
with the basics. There are a number of resources about, Google helps
too. Be prepared for a number of reinstalls :-).

A couple of pointers - try asking one question at a time and use a
meaningful subject. That way your problem is likely to standout in the
number of messages.

I would also suggest that we you get the basic system working, you
update it, your CDs are likely to be at 6.0R there has been some updates
since. I would suggest that you stay with the 6.0 branch for now.

Good luck.

Rob   

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


Re: Ummm... Why can't I find the FreeBSD 6.0 ISO images?

2006-01-13 Thread Chuck Swiger

David Benfell wrote:

On Sat, 14 Jan 2006 00:15:59 -0500, Kris Kennaway wrote:

Unable to confirm:


snip

Okay.  Now I'm really bewildered.  But apparently the problem is on my
Mac.

On a lark, I tried another system.  This one is my OpenBSD system that
I use for routing.  It's pulling down the ISO just fine.

[ ... ]

But ncftp and Safari's invocation of Finder also failed.


Your wget attempt seemed to use active-mode FTP, which doesn't traverse some 
firewalls; you might also try ifconfig en0 mtu 1400 and see whether that does 
anything helpful...


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