The FreeBSD Diary: 2006-01-01 - 2006-01-21

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

These are the articles posted during this period:

16-Jan : The Technical BSD Conference
 The CFP ends soon - get your paper in now! 
 http://freebsddiary.org/bsdcan-2006-cfp.php?2


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

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


WebDav for Apache

2006-01-22 Thread Jose Borquez

Is there a WebDav module for Apache?

Thanks in advance,
Jose

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


Re: user accounts messed up

2006-01-22 Thread Jona Joachim

Jona Joachim wrote:

On 21/01/06, Jona Joachim [EMAIL PROTECTED] wrote:
(...)

I created a master.passwd file from the backup file in /var/backups
and emptied the password field. Then I updated the database with
pwd_mkdb but I still can't login.


In fact it has nothing to do with the user database or the passwd file.
I reinstalled the base system and I found out the following: If I boot
with the newly installed /usr in place I can login. Then I can move the
/usr folder and mount my old /usr partition, set the lib paths with
ldconfig and then everything works fine. If I boot using the old /usr
partition I can't login and I am told my password is wrong.
I don't get it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


NFS trouble

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

Hi folks,

I need to set up an nfs server on one of my machines, and so far I've
been pretty unsuccessful ;(
I'd like to access the nfs shares with some macOSX and a linux box.
I followed the guidelines in both the linux and freeBSD nfs howtos,
but to no avail.

This is my setup:
- 
/etc/exports:

/mnt/music -mapall=nobody -alldirs,quiet -network 192.168.1.0 -mask
255.255.255.0
/mnt/wd2 -mapall=nobody -alldirs,quiet -network 192.168.1.0 -mask
255.255.255.0
/mnt/wd1 -mapall=nobody -alldirs,quiet stilgar lusitania localhost

- 
[EMAIL PROTECTED] rpcinfo -p
   program vers proto   port  service
104   tcp111  rpcbind
103   tcp111  rpcbind
102   tcp111  rpcbind
104   udp111  rpcbind
103   udp111  rpcbind
102   udp111  rpcbind
104 local111  rpcbind
103 local111  rpcbind
102 local111  rpcbind
151   udp976  mountd
153   udp976  mountd
151   tcp761  mountd
153   tcp761  mountd
132   udp   2049  nfs
133   udp   2049  nfs
132   tcp   2049  nfs
133   tcp   2049  nfs
- -
- -
those are the error messages I receive from either the localhost or
the linux box (stilgar)
[EMAIL PROTECTED] mount localhost:/mnt/wd1 /mnt/stick/
[udp6] localhost:/mnt/wd1: Permission denied
[udp] localhost:/mnt/wd1: Permission denied
- --
stilgar ~ # mount -t nfs lusitania:/mnt/wd1/ /mnt/tmp/
mount: lusitania:/mnt/wd1/ failed, reason given by server: Permission
denied
- -
and finally /var/log/messages:
Jan 22 11:00:11 lusitania mountd[413]: mount request denied from
192.168.1.104 for /mnt/wd1
Jan 22 11:01:29 lusitania mountd[413]: mount request denied from ::1
for /mnt/wd1
Jan 22 11:01:29 lusitania mountd[413]: mount request denied from
127.0.0.1 for /mnt/wd1
- -

everything described in the linux nfs howto
(http://nfs.sourceforge.net/nfs-howto/troubleshooting.html) under
section 7.3.a works fine though.

does anybody have an idea what could be the cause for this behaviour?

many thanks in advance, cheers
David
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFD01wg/sLffsMilEkRApY2AJ9nB4k6Pu7on2wC19cjnvtDqmh3EACeMcf7
HHtABSlUKQ/YgCB2MqzRZXo=
=zaI7
-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: String variable expansion routine wanted

2006-01-22 Thread Alexander Pohoyda
 Well If I understood well you need printf()

No, I am looking for the function which will parse the input string,
find variables and invoke my callback function with the name of the
variable to get it's value.

This functionality is used in all shells and make utilities, so I'm
wondering why there is no common implementation for it.


-- 
Alexander Pohoyda [EMAIL PROTECTED]
PGP Key fingerprint: 7F C9 CC 5A 75 CD 89 72  15 54 5F 62 20 23 C6 44
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: WebDav for Apache

2006-01-22 Thread Matthew Seaman
Jose Borquez wrote:
 Is there a WebDav module for Apache?

Yes.  It's called mod_dav and it's part of the default Apache install
for apache 2.0.x or above.  Apache 1.3.x users should install
www/mod_dav

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: upgrade ssl, ssh

2006-01-22 Thread Adam Nealis

Playnet wrote:

Hello freebsd-questions,

  portupgrade openssl
** No such installed package: openssl


portupgrade -N openssl

If something is not installed, you can't upgrade it! But the -N flag 
will make portupgrade behave like portinstall.



whereis openssl
openssl: /usr/bin/openssl /usr/share/openssl/man/man1/openssl.1.gz 
/usr/ports/security/openssl

If upgrade ssl from ports, it unstalls into /usr/local and it doesn-t
correct.


That's right. ports stuff always gets installed to /usr/local.


How i need upgrade ssl and ssh?





___ 
Win a BlackBerry device from O2 with Yahoo!. Enter now. http://www.yahoo.co.uk/blackberry

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


Re: WebDav for Apache

2006-01-22 Thread Adam Nealis

Jose Borquez wrote:

Is there a WebDav module for Apache?


Not as a port for apache 2. But there is one for apache 1.3:

/usr/ports/www/mod_dav


___ 
Win a BlackBerry device from O2 with Yahoo!. Enter now. http://www.yahoo.co.uk/blackberry

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


wait(2) does not return after SIGCONT

2006-01-22 Thread Peter

Hello,

I call waitpid() with the WUNTRACED|WCONTINUED options set in order 
to know when the child process receives SIGSTOP's and SIGCONT's. The 
SIGSTOP is not the problem, but I can't get the SIGCONTs to work. The 
appended code illustrates the problem: SIGCONTs to the child do 
continue the child process but waitpid() remains blocked and the 
SIGCONT is just not noticed by the parent.


The code is however fully functional under Sparc Solaris 2 (can't 
remember the exact version). Under FreeBSD it only works when the 
SIGCONT is sent directly from the parent (see the line in the example 
code that is commented-out). But this is not what I want.


What am I missing? Thanks!

(problem seen with FreeBSD 5.3, 5.4 and 6.0, i386 and adm64)

#include sys/types.h
#include sys/wait.h
#include unistd.h
#include signal.h

main() {
pid_t pid;

if ( (pid = fork()) == -1 )
printf(could not fork);
else if ( pid == 0 ) { /* child */
sleep(1); /* wait for the parent to prepair */
kill(getpid(),SIGSTOP); /* send SIGSTOP to myself */
while(1); /* loop */
}
else { /* parent */
int stat;
waitpid(pid,stat,WUNTRACED|WCONTINUED);
while ( WIFSTOPPED(stat) || WIFCONTINUED(stat) ) {
if ( WIFSTOPPED(stat) ) {
printf(child was stopped\n);
/* if the next line is uncommented, SIGCONT is 
caught property */
/* kill(pid,SIGCONT); */
}
if ( WIFCONTINUED(stat) ) {
/* this part is never reached */
printf(child was continued\n);
kill(pid,SIGTERM); /* terminate child */
}
waitpid(pid,stat,WUNTRACED|WCONTINUED);
}
}
}

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


Re: Sound driver for Compaq Presario?

2006-01-22 Thread Gerard Seibert
On Sun, 22 Jan 2006 01:15:09 +0100 (CET), Andreas Davour wrote:

  Have you tried contacting the technical support staff for the PC? They
  should be able to tell you what is installed.
 
 No, but I might have to do that after all. I'm afraid I have very bad 
 experiences from similar support staff.
 
 /andreas

I am sorry to hear that. Over the years, I have found that if I provide
all the pertinent information that could be required; i.e., serial and
model numbers as well as anything else that might be available on the
machine's name or identification plate, or stamped into the machine's
case, I have been able to get virtually any information that I required.
It occasionally takes a few days however.

-- 
Gerard Seibert
[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: NFS trouble

2006-01-22 Thread Andrew P.
`showmount -e lusitania`?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NFS trouble

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

Hi Andrew

Right, that's a point I had forgotten to post, although not a very
surprising one

[EMAIL PROTECTED] showmount -e lusitania
Exports list on lusitania:
[EMAIL PROTECTED]

Andrew P. wrote:

 `showmount -e lusitania`?


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

iD8DBQFD05sM/sLffsMilEkRAvNrAJ9Tpa/FX0sd8R2sUB19V9+/EYz2GACfcEcD
jQoXG3IfoW+u7VOqpTIQJWc=
=JR37
-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: strange error with NFS on freebsd

2006-01-22 Thread Danial Thom


--- Brent [EMAIL PROTECTED] wrote:

 I have a 4.11 server runing nfs server and a
 nfs client running freebsd 5.4
 ive setup both according to the freebsd
 handbook
 

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html
 
 When i go to mount the nfs share onto the
 client by doing 
 
 loqtis# mount 10.10.25.2:/user3 /user3
 
 i get the following output
 [udp] 10.10.25.2:/user3: RPCPROG_NFS: RPC:
 Program not registered
 
 what does this mean ?
 
 any help is greatly appreciated
 --
 Brent 
 
 ___
 freebsd-questions@freebsd.org mailing list

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

It means you don't have portmapper running

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


Re: Post-Install update steps?

2006-01-22 Thread Andrew P.
On 1/22/06, Xn Nooby [EMAIL PROTECTED] wrote:
 After installing FreeBSD, I would like to follow some simple steps to get it
 fully up-to-date.  The Handbook and other online instructions seem a bit
 overwhelming.  I developed some instructions when I was experiementing with
 5.x, and I'm not sure if the are still valid for 6.x.  Do these instructions
 look okay, or should I be using something else?

You might want to do portsnap fetch  portsnap extract
before doing anything with ports on a fresh system. It will
download and extract the latest ports tree in just a few
minutes.

 cd /usr/ports/editors/nano
 make install clean

 cd /usr/ports/net/cvsup
 make all install clean

Why do you install net/cvsup? cvsup-without-gui is
actually cvsup itself, just without gui.

 cd /usr/ports/net/cvsup-without-gui
 make all install clean

 cd /usr/ports/sysutils/portupgrade
 make install clean

 rehash

 cd /usr/src
 cp /usr/share/examples/cvsup/stable-supfile .

You'd be better off keeping your supfiles somewhere
in /root

 cp /usr/share/examples/cvsup/refuse .

/usr/src is not the place for a refuse file. Just skip this,
it won't really harm you in any way.

 nano -w stable-supfile
   *host = cvsup10.FreeBSD.org
   *default release=cvs tag=RELENG_6

Reconsider using -stable. If you're not that familiar
with FreeBSD, stay on the safe side (i.e. security
updates branch) and change RELENG_6 to
RELENG_6_0

 ...
   ports-all tag=.

You'd better keep ports updated with portsnap(8)

   doc-all tag=.

 cvsup -g -L 2 stable-supfile

 less UPDATING

 make buildworld
 make buildkernel KERNCONF=GENERIC
 make installkernel

Just make kernel instead of these 2 lines

 shutdown -r now

I'm under impression that this reboot is superfluous

 shutdown now
 cd /usr/src
 make installworld
 mergemaster
   delete hosts file !

Delete it? Just do not let mergemaster change it

   run MAKEDEV at end !

Nope, you don't run it now that we have devfs

 shutdown -r now

 portsdb -Uu

If you followed my advice and use portsnap instead
of cvsup for ports, you'll need just portsdb -u

 portversion -l 

I like portversion -L= more

 portupgrade -arR

Just portupgrade -a. -r and -R are ignored if -a is set.

 reboot

You'll be on the safe side using shutdown -r now until
you know exactly how reboot differs. I still don't :-)

And - last but not least - read the Handbook. If you really
really can't, save yourself a great deal of time and use
Linux or Windows. [ You'll save yourself an even greater
deal of time if you read the docs and forget about the
two latter OSes ]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: NFS trouble

2006-01-22 Thread Andrew P.
On 1/22/06, David Raison [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Hi Andrew

 Right, that's a point I had forgotten to post, although not a very
 surprising one

 [EMAIL PROTECTED] showmount -e lusitania
 Exports list on lusitania:
 [EMAIL PROTECTED]

Look for mountd log messages on the server (`dmesg -a`
should contain them, if you're lucky). Just run
/etc/rc.d/mountd reload and see what gets into syslog.

The problem is probably in /etc/exports. Start with something
simple, like '/mnt/music -ro'
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ahd scsi adapter problem on 5.4-STABLE

2006-01-22 Thread Ludo Koren

Hello all,

could somebody help me to identify problem on FreeBSD 5.4-STABLE? I am
not sure if it is SCSI adapter problem or disk problem. 

Thank you very much.

Regards,

lk


# dmesg

LQIRetry for LQICRCI_LQ to release ACK
ahd0: Transmission error detected
LQISTAT1[0x10] LASTPHASE[0x1] SCSISIGI[0x60] PERRDIAG[0x4] 
 Dump Card State Begins 
ahd0: Dumping Card State at program address 0x1 Mode 0x33
Card was paused
INTSTAT[0x8] SELOID[0x9] SELID[0x30] HS_MAILBOX[0x0] 
INTCTL[0x80] SEQINTSTAT[0x0] SAVED_MODE[0x11] DFFSTAT[0x30] 
SCSISIGI[0x76] SCSIPHASE[0x0] SCSIBUS[0x51] LASTPHASE[0x1] 
SCSISEQ0[0x0] SCSISEQ1[0x12] SEQCTL0[0x10] SEQINTCTL[0x0] 
SEQ_FLAGS[0x0] SEQ_FLAGS2[0x0] QFREEZE_COUNT[0x0] 
KERNEL_QFREEZE_COUNT[0x0] MK_MESSAGE_SCB[0xff00] MK_MESSAGE_SCSIID[0xff] 
SSTAT0[0x0] SSTAT1[0x0] SSTAT2[0x0] SSTAT3[0x0] PERRDIAG[0x0] 
SIMODE1[0xa4] LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x80] 
LQOSTAT0[0x0] LQOSTAT1[0x0] LQOSTAT2[0x81] 

SCB Count = 16 CMDS_PENDING = 1 LASTSCB 0x6 CURRSCB 0x6 NEXTSCB 0x0
qinstart = 6 qinfifonext = 6
QINFIFO:
WAITING_TID_QUEUES:
Pending list:
  5 FIFO_USE[0x0] SCB_CONTROL[0x40] SCB_SCSIID[0x3f] 
Total 1
Kernel Free SCB list: 6 12 1 2 3 4 7 8 9 10 11 13 14 15 0 
Sequencer Complete DMA-inprog list: 
Sequencer Complete list: 
Sequencer DMA-Up and Complete list: 
Sequencer On QFreeze and Complete list: 


ahd0: FIFO0 Free, LONGJMP == 0x829e, SCB 0x6
SEQIMODE[0x3f] SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89] 
SG_CACHE_SHADOW[0x2] SG_STATE[0x0] DFFSXFRCTL[0x0] 
SOFFCNT[0x0] MDFFSTAT[0x5] SHADDR = 0x00, SHCNT = 0x0 
HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10] 

ahd0: FIFO1 Free, LONGJMP == 0x809e, SCB 0x0
SEQIMODE[0x3f] SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89] 
SG_CACHE_SHADOW[0x2] SG_STATE[0x0] DFFSXFRCTL[0x0] 
SOFFCNT[0x0] MDFFSTAT[0x5] SHADDR = 0x00, SHCNT = 0x0 
HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10] 
LQIN: 0x4 0x8 0x0 0x5 0x0 0x2 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x24 0x0 0x0 
0x0 0x0 
ahd0: LQISTATE = 0x2b, LQOSTATE = 0x0, OPTIONMODE = 0x42
ahd0: OS_SPACE_CNT = 0x1f MAXCMDCNT = 0x1
ahd0: SAVED_SCSIID = 0x0 SAVED_LUN = 0x0
SIMODE0[0xc] 
CCSCBCTL[0x0] 
ahd0: REG0 == 0x6, SINDEX = 0x133, DINDEX = 0x114
ahd0: SCBPTR == 0xff06, SCB_NEXT == 0xff00, SCB_NEXT2 == 0x0
CDB 6 1 0 0 0 0
STACK: 0x140 0x1b 0x140 0x1b 0x140 0x1b 0x140 0x1
 Dump Card State Ends 
LQIRetry for LQICRCI_LQ to release ACK
ahd0: Transmission error detected
LQISTAT1[0x10] LASTPHASE[0x1] SCSISIGI[0x60] PERRDIAG[0x4] 
 Dump Card State Begins 
ahd0: Dumping Card State at program address 0xa9 Mode 0x33
Card was paused
INTSTAT[0x8] SELOID[0x9] SELID[0x30] HS_MAILBOX[0x0] 
INTCTL[0x80] SEQINTSTAT[0x0] SAVED_MODE[0x11] DFFSTAT[0x30] 
SCSISIGI[0x76] SCSIPHASE[0x0] SCSIBUS[0x51] LASTPHASE[0x1] 
SCSISEQ0[0x0] SCSISEQ1[0x12] SEQCTL0[0x10] SEQINTCTL[0x80] 
SEQ_FLAGS[0x0] SEQ_FLAGS2[0x0] QFREEZE_COUNT[0x0] 
KERNEL_QFREEZE_COUNT[0x0] MK_MESSAGE_SCB[0xff00] MK_MESSAGE_SCSIID[0xff] 
SSTAT0[0x0] SSTAT1[0x0] SSTAT2[0x0] SSTAT3[0x0] PERRDIAG[0x0] 
SIMODE1[0xa4] LQISTAT0[0x0] LQISTAT1[0x0] LQISTAT2[0x80] 
LQOSTAT0[0x0] LQOSTAT1[0x0] LQOSTAT2[0x81] 

SCB Count = 16 CMDS_PENDING = 1 LASTSCB 0x6 CURRSCB 0x6 NEXTSCB 0x0
qinstart = 6 qinfifonext = 6
QINFIFO:
WAITING_TID_QUEUES:
Pending list:
  5 FIFO_USE[0x0] SCB_CONTROL[0x40] SCB_SCSIID[0x3f] 
Total 1
Kernel Free SCB list: 6 12 1 2 3 4 7 8 9 10 11 13 14 15 0 
Sequencer Complete DMA-inprog list: 
Sequencer Complete list: 
Sequencer DMA-Up and Complete list: 
Sequencer On QFreeze and Complete list: 


ahd0: FIFO0 Free, LONGJMP == 0x829e, SCB 0x6
SEQIMODE[0x3f] SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89] 
SG_CACHE_SHADOW[0x2] SG_STATE[0x0] DFFSXFRCTL[0x0] 
SOFFCNT[0x0] MDFFSTAT[0x5] SHADDR = 0x00, SHCNT = 0x0 
HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10] 

ahd0: FIFO1 Free, LONGJMP == 0x809e, SCB 0x0
SEQIMODE[0x3f] SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89] 
SG_CACHE_SHADOW[0x2] SG_STATE[0x0] DFFSXFRCTL[0x0] 
SOFFCNT[0x0] MDFFSTAT[0x5] SHADDR = 0x00, SHCNT = 0x0 
HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10] 
LQIN: 0x4 0x8 0x0 0x5 0x0 0x2 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x24 0x0 0x0 
0x0 0x0 
ahd0: LQISTATE = 0x2b, LQOSTATE = 0x0, OPTIONMODE = 0x42
ahd0: OS_SPACE_CNT = 0x1f MAXCMDCNT = 0x1
ahd0: SAVED_SCSIID = 0x0 SAVED_LUN = 0x0
SIMODE0[0xc] 
CCSCBCTL[0x0] 
ahd0: REG0 == 0x6, SINDEX = 0x133, DINDEX = 0x114
ahd0: SCBPTR == 0xff06, SCB_NEXT == 0xff00, SCB_NEXT2 == 0x0
CDB 6 1 0 0 0 0
STACK: 0x1 0x140 0x1b 0x140 0x1b 0x140 0x1b 0x140
 Dump Card State Ends 
LQIRetry for LQICRCI_LQ to release ACK
ahd0: Transmission error detected
LQISTAT1[0x10] LASTPHASE[0x1] SCSISIGI[0x60] PERRDIAG[0x4] 
 Dump Card State Begins 
ahd0: Dumping Card State at program address 0xaa Mode 0x33
Card was paused
INTSTAT[0x8] SELOID[0x9] SELID[0x30] HS_MAILBOX[0x0] 
INTCTL[0x80] SEQINTSTAT[0x0] SAVED_MODE[0x11] DFFSTAT[0x30] 
SCSISIGI[0x76] SCSIPHASE[0x0] SCSIBUS[0x51] LASTPHASE[0x1] 
SCSISEQ0[0x0] SCSISEQ1[0x12] SEQCTL0[0x10] SEQINTCTL[0x80] 
SEQ_FLAGS[0x0] SEQ_FLAGS2[0x0] QFREEZE_COUNT[0x0] 
KERNEL_QFREEZE_COUNT[0x0] 

Re: NFS trouble

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


Sadly even that simple example doesn't work.
There's no output of mountd in the syslog and showmount -e doesn't
list any shares either.

David

Andrew P. wrote:

 On 1/22/06, David Raison [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

 Hi Andrew

 Right, that's a point I had forgotten to post, although not a
 very surprising one

 [EMAIL PROTECTED] showmount -e lusitania Exports list on lusitania:
 [EMAIL PROTECTED]


 Look for mountd log messages on the server (`dmesg -a` should
 contain them, if you're lucky). Just run /etc/rc.d/mountd reload
 and see what gets into syslog.

 The problem is probably in /etc/exports. Start with something
 simple, like '/mnt/music -ro'

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

iD8DBQFD06qn/sLffsMilEkRAqm1AKCGsecn6yTHLZqbfOaDndor2wwPIACgoWtk
v2fVju7DvuecpHwpQBVyke8=
=EKUM
-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]


S-Video to TV

2006-01-22 Thread E. J. Cerejo
Is it possible, using FreeBSD stable, to see my Desktop in my TV using a 
S-Video cable?  How would one go about it?

Thank you.


EJC
www.only7bucks.com

-
 Yahoo! doce lar. Faça do Yahoo! sua homepage.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


trouble with KDE 3.4-3.5 and xorg - 6.9.0

2006-01-22 Thread Per olof Ljungmark
On 6.0-STABLE, after doing a portupgrade of KDE and xorg according to 
UPDATING, I cannot start X as non-root. I've cleared /tmp, removed old 
files in home directory created by to KDE and xorg but problem persists.


I'm currently out of ideas and would really appriciate a hint, thanks.

X hangs forever here:
Build Date: 21 January 2006
   Before reporting problems, check http://wiki.X.Org
   to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Sun Jan 22 16:44:34 2006
(==) Using config file: /etc/X11/xorg.conf
(EE) MGA: Failed to load module mga_hal (module does not exist, 0)
xset:  bad font path element (#76), possible causes are:
   Directory does not exist or has wrong permissions
   Directory missing fonts.dir
   Incorrect font server address or syntax
xset:  bad font path element (#76), possible causes are:
   Directory does not exist or has wrong permissions
   Directory missing fonts.dir
   Incorrect font server address or syntax
startkde: Starting up...
kbuildsycoca running...
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol init_kdnssd
KWrited - Listening on Device /dev/ttyp0

running as realtime process now (priority 15)

QFont::setPointSize: Point size = 0 (-3)

Last lines of Xorg.log.0 are:
(II) XINPUT: Adding extended input device Keyboard0 (type: KEYBOARD)
(II) XINPUT: Adding extended input device Mouse0 (type: MOUSE)
(II) Mouse0: SetupAuto: hw.iftype is 4, hw.model is 0
(II) Mouse0: SetupAuto: protocol is SysMouse


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


trouble with KDE 3.4-3.5 and xorg - 6.9.0

2006-01-22 Thread Per olof Ljungmark
On 6.0-STABLE, after doing a portupgrade of KDE and xorg according to 
UPDATING, I cannot start X as non-root. I've cleared /tmp, removed old 
files in home directory created by to KDE and xorg but problem persists.


I'm currently out of ideas and would really appriciate a hint, thanks.

X hangs forever here:
Build Date: 21 January 2006
   Before reporting problems, check http://wiki.X.Org
   to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Sun Jan 22 16:44:34 2006
(==) Using config file: /etc/X11/xorg.conf
(EE) MGA: Failed to load module mga_hal (module does not exist, 0)
xset:  bad font path element (#76), possible causes are:
   Directory does not exist or has wrong permissions
   Directory missing fonts.dir
   Incorrect font server address or syntax
xset:  bad font path element (#76), possible causes are:
   Directory does not exist or has wrong permissions
   Directory missing fonts.dir
   Incorrect font server address or syntax
startkde: Starting up...
kbuildsycoca running...
kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol init_kdnssd
KWrited - Listening on Device /dev/ttyp0

running as realtime process now (priority 15)

QFont::setPointSize: Point size = 0 (-3)

Last lines of Xorg.log.0 are:
(II) XINPUT: Adding extended input device Keyboard0 (type: KEYBOARD)
(II) XINPUT: Adding extended input device Mouse0 (type: MOUSE)
(II) Mouse0: SetupAuto: hw.iftype is 4, hw.model is 0
(II) Mouse0: SetupAuto: protocol is SysMouse


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


Re: NFS trouble

2006-01-22 Thread Danial Thom


--- David Raison [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 
 Sadly even that simple example doesn't work.
 There's no output of mountd in the syslog and
 showmount -e doesn't
 list any shares either.
 
 David
 
 Andrew P. wrote:
 
  On 1/22/06, David Raison [EMAIL PROTECTED]
 wrote:
 
  -BEGIN PGP SIGNED MESSAGE- Hash:
 SHA1
 
  Hi Andrew
 
  Right, that's a point I had forgotten to
 post, although not a
  very surprising one
 
  [EMAIL PROTECTED] showmount -e lusitania
 Exports list on lusitania:
  [EMAIL PROTECTED]
 
 
  Look for mountd log messages on the server
 (`dmesg -a` should
  contain them, if you're lucky). Just run
 /etc/rc.d/mountd reload
  and see what gets into syslog.
 
  The problem is probably in /etc/exports.
 Start with something
  simple, like '/mnt/music -ro'
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.2 (GNU/Linux)
 Comment: Using GnuPG with Thunderbird -
 http://enigmail.mozdev.org
 

iD8DBQFD06qn/sLffsMilEkRAqm1AKCGsecn6yTHLZqbfOaDndor2wwPIACgoWtk
 v2fVju7DvuecpHwpQBVyke8=
 =EKUM
 -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]
 

/mnt is usually a mount point, are you sure you
don't have it backwards?

/etc/exports on server1: 

/usr -alldirs -mapall=root:bin 10.1.1.1

mount with:

mount server1:/mnt /usr

This allows a client at 10.1.1.1 to mount /usr
and any decendents.

DT

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


Re: NFS trouble

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

Sure thing, but I wish to share my external usb hdds which are mounted
@ those mountpoints.

 /mnt is usually a mount point, are you sure you don't have it
 backwards?

 /etc/exports on server1:

 /usr -alldirs -mapall=root:bin 10.1.1.1

 mount with:

 mount server1:/mnt /usr

this one's wrong though, isn't it? if you export /usr, you'd mount
server1:/usr, wouldn't you?

 This allows a client at 10.1.1.1 to mount /usr and any decendents.

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

iD8DBQFD07qm/sLffsMilEkRAhlPAJ4v6306hE83BmU0V2VzG8f5/asxXgCgrqye
G7KlUbMCaT/R00c4MOcxXF0=
=XsJM
-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: trouble with KDE 3.4-3.5 and xorg - 6.9.0

2006-01-22 Thread Don Hinton
Hi Peter:

On Sunday 22 January 2006 10:43, Per olof Ljungmark wrote:
 On 6.0-STABLE, after doing a portupgrade of KDE and xorg according to
 UPDATING, I cannot start X as non-root. I've cleared /tmp, removed old
 files in home directory created by to KDE and xorg but problem persists.

 I'm currently out of ideas and would really appriciate a hint, thanks.

I ran into this the other day.  I can't remember all the steps I took, most 
were probably unneccesary anyway, but I think the key was forcefully 
rebuilding/reinstalling kdebase.  Try portupgrade -fN kdebase and see if that 
works for you.  I ended up rebuilding practically everything, but that 
shouldn't be necessary.

hth...
don

 X hangs forever here:
...
 kdecore (KLibLoader): WARNING: KLibrary: Undefined symbol init_kdnssd

-- 
Don Hinton don.hinton at vanderbilt.edu  tel: 615.480.5667
ISIS, Vanderbilt University  skype: donhinton
http://people.vanderbilt.edu/~don.hinton/


pgpRgA58oGpai.pgp
Description: PGP signature


Re: strange error with NFS on freebsd

2006-01-22 Thread David Stanford
Brent,

Just yesterday I had this same problem with a 6.0 box attempting to mount an
NFS share off a 5.4 box. Although I couldn't tell you why this happened, my
solution was to kill rpcbind, mountd, and nfsd and then restart them on the
5.4 box. That got it to work. However, I also noticed that when I was
researching the error online I found many threads (as Danial already
mentioned) stating that this is error is usually indicative of portmapper
not running (for those running 4.x series). Try restarting the services and
then look into portmapper.

-David

On 1/21/06, Brent [EMAIL PROTECTED] wrote:

 I have a 4.11 server runing nfs server and a nfs client running freebsd
 5.4
 ive setup both according to the freebsd handbook

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-nfs.html

 When i go to mount the nfs share onto the client by doing

 loqtis# mount 10.10.25.2:/user3 /user3

 i get the following output
 [udp] 10.10.25.2:/user3: RPCPROG_NFS: RPC: Program not registered

 what does this mean ?

 any help is greatly appreciated
 --
 Brent

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


[Fwd: Re: S-Video to TV]

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

sorry, forgot to CC

-  Original Message 
Subject: Re: S-Video to TV
Date: Sun, 22 Jan 2006 17:58:36 +0100
From: David Raison [EMAIL PROTECTED]
To: E. J. Cerejo [EMAIL PROTECTED]
References: [EMAIL PROTECTED]



Kind of like this:

in your xorg.conf:
- --
# **
# Screen sections.
# **

Section Screen
Identifier TV
Device  Geforce
Monitor TV
Option  TVStandardPAL-B
Option  ConnectedMonitor  TV
DefaultDepth24
SubSection Display
Viewport 0 0
Depth   24
Modes   800x600
EndSubSection
EndSection

# **
# ServerLayout sections.
# **

## The first layout is used by default, to select a different one, use
## 'startx -- -layout name'

Section ServerLayout
Identifier  TV
Screen  TV
InputDevice Mouse0 CorePointer
InputDevice Keyboard0 CoreKeyboard
EndSection

- 

simply add the TV ServerLayout and startx with the --layout parameter
replace the device with your driver of course


E. J. Cerejo wrote:

 Is it possible, using FreeBSD stable, to see my Desktop in my TV
 using a S-Video cable? How would one go about it?

 Thank you.


 EJC www.only7bucks.com - Yahoo!
 doce lar. Faça do Yahoo! sua homepage.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions To
 unsubscribe, send any mail to
 [EMAIL PROTECTED]

 !DSPAM:43d3b1a2716841329013994!

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

iD8DBQFD0759/sLffsMilEkRAogtAJ0ZtwIi9xf/l4Gwv6nCeJwhg/DPigCfQRk0
VGj5A3WjDKQiGlltQCJ8uWw=
=6HNR
-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]


samba mount by name

2006-01-22 Thread Aivaras

How to get to samba share by name?

On windows mashine typing in explorer \\192.168.0.1 opens shares and 
\\server doesnt.


Mounting localy on server:

mount_smbfs -I 192.168.0.1 //server/data /mnt/samba - works
mount_smbfs //server/data /mnt/samba - mount_smbfs: can't get server 
address: syserr = Operation timed out

ping server - I get good response - ping works to that name.

/etc/hosts:
192.168.0.1 server.domain.com server

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


Re: trouble with KDE 3.4-3.5 and xorg - 6.9.0

2006-01-22 Thread Per olof Ljungmark

Quoting Don Hinton [EMAIL PROTECTED]:


Hi Peter:

On Sunday 22 January 2006 10:43, Per olof Ljungmark wrote:

On 6.0-STABLE, after doing a portupgrade of KDE and xorg according to
UPDATING, I cannot start X as non-root. I've cleared /tmp, removed old
files in home directory created by to KDE and xorg but problem persists.

I'm currently out of ideas and would really appriciate a hint, thanks.


I ran into this the other day.  I can't remember all the steps I took, most
were probably unneccesary anyway, but I think the key was forcefully
rebuilding/reinstalling kdebase.  Try portupgrade -fN kdebase and see if that
works for you.  I ended up rebuilding practically everything, but that
shouldn't be necessary.

hth...
don


I already rebuilt kdelibs but will try your advice anyway, thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Help getting wordpress working oon 4.11

2006-01-22 Thread stan
I'm trying to set up wordpress on a fairly current 4.11 machine.

I've installed the wordpress port, and the mysql 1.41 port. I've created a
mysql database called wordpress, and I can access it from the command line
with mysql.

I'm able to access the setup instructions from apache on that machine. They
say to run the ~/admin/install.php script. The problem is that when I do
that, instead of executing it, it is just displayed.

I suspect that I need to change the apache config to _execute_ php code,
but I can't figure out how.

Any digestions?

-- 
U.S. Encouraged by Vietnam Vote - Officials Cite 83% Turnout Despite Vietcong 
Terror 
- New York Times 9/3/1967
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: S-Video to TV

2006-01-22 Thread E. J. Cerejo
Because I live in the US and here we have a different TV Standard which is  
NTCS, should I change this PAL-B to NTCS   (TVStandardPAL-B) also?

Also I'm a bit confused about Section ServerLayout, can I have more than one? 
 Or can I create a new xorg.conf just for my TV and have startx starting with 
it?

Right now my xorg.conf looks like this:


Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
RgbPath  /usr/X11R6/lib/X11/rgb
ModulePath   /usr/X11R6/lib/modules
FontPath /usr/X11R6/lib/X11/fonts/webfonts/
FontPath /usr/X11R6/lib/X11/fonts/misc/
FontPath /usr/X11R6/lib/X11/fonts/TTF/
FontPath /usr/X11R6/lib/X11/fonts/Type1/
#FontPath /usr/X11R6/lib/X11/fonts/CID/
FontPath /usr/X11R6/lib/X11/fonts/75dpi/
FontPath /usr/X11R6/lib/X11/fonts/100dpi/
FontPath /usr/X11R6/lib/X11/fonts/URW/
FontPath /usr/X11R6/lib/X11/fonts/bitstream-vera/
FontPath /usr/X11R6/lib/X11/fonts/cyrillic/

EndSection

Section Module
Load  extmod
Load  glx
Load  dri
Load  dbe
Load  record
Load  xtrap
Load  type1
Load  freetype
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
OptionProtocol auto
OptionDevice /dev/sysmouse
Option  ZAxisMapping 4 5
EndSection

Section Monitor
#DisplaySize  320   240# mm
Identifier   Monitor0
VendorName   SAM
ModelNameSyncMaster
 ### Uncomment if you don't want to default to DDC:
HorizSync30.0 - 70.0
#HorizSync13111.0 - 0.0
VertRefresh  50.0 - 160.0
#OptionDPMS
EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option NoAccel# [bool]
#Option SWcursor   # [bool]
#Option Dac6Bit# [bool]
#Option Dac8Bit# [bool]
#Option BusType# [str]
#Option CPPIOMode  # [bool]
#Option CPusecTimeout  # i
#Option AGPMode# i
#Option AGPFastWrite   # [bool]
#Option AGPSize# i
#Option GARTSize   # i
#Option RingSize   # i
#Option BufferSize # i
#Option EnableDepthMoves   # [bool]
#Option EnablePageFlip # [bool]
#Option NoBackBuffer   # [bool]
#Option PanelOff   # [bool]
#Option DDCMode# [bool]
#Option MonitorLayout  # [str]
#Option IgnoreEDID # [bool]
#Option UseFBDev   # [bool]
#Option VideoKey   # i
#Option MergedFB   # [bool]
#Option CRT2HSync  # [str]
#Option CRT2VRefresh   # [str]
#Option CRT2Position   # [str]
#Option MetaModes  # [str]
#Option MergedDPI  # [str]
#Option NoMergedXinerama   # [bool]
#Option MergedXineramaCRT2IsScreen0 # [bool]
#Option DisplayPriority# [str]
#Option PanelSize  # [str]
#Option ForceMinDotClock   # freq
#Option RenderAccel# [bool]
#Option SubPixelOrder  # [str]
#Option ShowCache  # [bool]
#Option DynamicClocks  # [bool]
Identifier  Card0
Driver  nv
VendorName  nVidia Corporation
BoardName   Chaintech
BusID   PCI:1:0:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth 24
SubSection Display
Viewport   0 0
Depth 1
EndSubSection
SubSection Display
Viewport   0 0
Depth 4
EndSubSection
SubSection Display
Viewport   0 0
Depth 8
EndSubSection
SubSection Display
Viewport   0 0
Depth 15
EndSubSection
SubSection Display
Viewport   0 0
Depth 16
EndSubSection
SubSection Display
Viewport   0 0
Depth 24
Modes 1152x864
EndSubSection
EndSection


Thanks.




David Raison [EMAIL PROTECTED] escreveu: -BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

sorry, forgot to CC

-  Original Message 
Subject: Re: S-Video to TV
Date: Sun, 22 Jan 2006 17:58:36 +0100
From: David Raison 

Re: samba mount by name

2006-01-22 Thread Mike Hernandez
On  Sun, Jan 22, 2006 at 07:24:00PM +0200, Aivaras wrote:
 How to get to samba share by name?
 
 On windows mashine typing in explorer \\192.168.0.1 opens shares and 
 \\server doesnt.
 
 Mounting localy on server:
 
 mount_smbfs -I 192.168.0.1 //server/data /mnt/samba - works
 mount_smbfs //server/data /mnt/samba - mount_smbfs: can't get server 
 address: syserr = Operation timed out
 ping server - I get good response - ping works to that name.
 
 /etc/hosts:
 192.168.0.1 server.domain.com server
 

You'll either need a DNS server or you'll have to edit your hosts
files. To include the names and ip's of the machines you want to
connect to by name. Windows has a hosts file that works very
similar to /etc/hosts. You need to add the ip address and name
of the machine to it.

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


Re: Help getting wordpress working oon 4.11

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

Hi Stan,

add the following to your httpd.conf

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

And index.php to the DirectoryIndex (so your index.php file gets
loaded automatically if no filename is supplied)

IfModule dir_module
DirectoryIndex index.php index.html
/IfModule

but I'm not sure if this is the same with apache 1.3 (I'm using 2.2)
you may also need to add the following:

LoadModule php5_modulelibexec/apache22/libphp5.so #
php4_module if you're using php4

stan wrote:

 I'm trying to set up wordpress on a fairly current 4.11 machine.

 I've installed the wordpress port, and the mysql 1.41 port. I've
 created a mysql database called wordpress, and I can access it from
 the command line with mysql.

 I'm able to access the setup instructions from apache on that
 machine. They say to run the ~/admin/install.php script. The
 problem is that when I do that, instead of executing it, it is just
 displayed.

 I suspect that I need to change the apache config to _execute_ php
 code, but I can't figure out how.

 Any digestions?

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

iD8DBQFD08ym/sLffsMilEkRAv9tAJ9wsLppp6Y8/A7YzSNkwscv7rRtUACghMBe
m0GUE0yORXnU01z9qXxCqcc=
=I1Y2
-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: S-Video to TV

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



E. J. Cerejo wrote:

 Because I live in the US and here we have a different TV Standard
 which is NTCS, should I change this PAL-B to NTCS (TVStandard
 PAL-B) also?

Yeah, sure


 Also I'm a bit confused about Section ServerLayout, can I have
 more than one? Or can I create a new xorg.conf just for my TV and
 have startx starting with it?

You can do both. You can either have separate ServerLayout Sections
and select one of them using ~ # startx --layout layoutname
or create a separate xorg.conf with only the tv sections, which means
you can start your X server without having to give any special params.
(i.e. using xdm)

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

iD8DBQFD081Q/sLffsMilEkRArG7AKDJyW/qYbCk24ysCEfYcUpo51LLVACgwpwN
1YUkOicIa7BSCeMxExSy00g=
=dOuK
-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: samba mount by name

2006-01-22 Thread David Stanford
Aivaras,

I had this problem a while back too. If I remember correctly, I didn't have
nmbd running. Also, as a quicker workaround, you could just add the host map
to your Windows hosts file located in C:\WINDOWS\system32\drivers\etc\hosts.

-David

On 1/22/06, Aivaras [EMAIL PROTECTED] wrote:

 How to get to samba share by name?

 On windows mashine typing in explorer \\192.168.0.1 opens shares and
 \\server doesnt.

 Mounting localy on server:

 mount_smbfs -I 192.168.0.1 //server/data /mnt/samba - works
 mount_smbfs //server/data /mnt/samba - mount_smbfs: can't get server
 address: syserr = Operation timed out
 ping server - I get good response - ping works to that name.

 /etc/hosts:
 192.168.0.1 server.domain.com server

 ___
 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: samba mount by name

2006-01-22 Thread Playnet
Hello Aivaras,

Sunday, January 22, 2006, 8:24:00 PM, you wrote:

A How to get to samba share by name?

A On windows mashine typing in explorer \\192.168.0.1 opens shares and 
A \\server doesnt.
Check netmask in these computers...

-- 
Best regards,
 Playnetmailto:[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: S-Video to TV

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

Oh, and you most probably have to use the nvidia driver, not the
generic nv driver.
But I'm not sure about this, might be possible that the nv driver is
able to use the tvout mode...

D.

 Section Device ### Available Driver options are:- ### Values:
 i: integer, f: float, bool: True/False, ### string:
 String, freq: f Hz/kHz/MHz ### [arg]: arg optional [...]

 Identifier Card0 Driver nv VendorName nVidia
 Corporation BoardName Chaintech BusID PCI:1:0:0
 EndSection

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

iD8DBQFD083t/sLffsMilEkRAjZOAJsFUcFa8n+HZBIdE5YV4W/i1YoHbgCfWf2p
Q7R3+F/8foQ8ZNaZ3yHyNdM=
=3TxI
-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: samba mount by name

2006-01-22 Thread Aivaras

Thank you a lot. When started nmbd no problems left.

David Stanford wrote:

Aivaras,

I had this problem a while back too. If I remember correctly, I didn't 
have nmbd running. Also, as a quicker workaround, you could just add 
the host map to your Windows hosts file located in 
C:\WINDOWS\system32\drivers\etc\hosts.


-David

On 1/22/06, *Aivaras* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:

How to get to samba share by name?

On windows mashine typing in explorer \\192.168.0.1 opens shares and
\\server doesnt.

Mounting localy on server:

mount_smbfs -I 192.168.0.1 http://192.168.0.1 //server/data
/mnt/samba - works
mount_smbfs //server/data /mnt/samba - mount_smbfs: can't get server
address: syserr = Operation timed out
ping server - I get good response - ping works to that name.

/etc/hosts:
192.168.0.1 http://192.168.0.1 server.domain.com
http://server.domain.com server

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

2006-01-22 Thread Garrett Cooper

David Raison wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Sadly even that simple example doesn't work.
There's no output of mountd in the syslog and showmount -e doesn't
list any shares either.

David

Andrew P. wrote:

 


On 1/22/06, David Raison [EMAIL PROTECTED] wrote:

   


-BEGIN PGP SIGNED MESSAGE- Hash: SHA1

Hi Andrew

Right, that's a point I had forgotten to post, although not a
very surprising one

[EMAIL PROTECTED] showmount -e lusitania Exports list on lusitania:
[EMAIL PROTECTED]
 


Look for mountd log messages on the server (`dmesg -a` should
contain them, if you're lucky). Just run /etc/rc.d/mountd reload
and see what gets into syslog.

The problem is probably in /etc/exports. Start with something
simple, like '/mnt/music -ro'

   


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

iD8DBQFD06qn/sLffsMilEkRAqm1AKCGsecn6yTHLZqbfOaDndor2wwPIACgoWtk
v2fVju7DvuecpHwpQBVyke8=
=EKUM
-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]
 


David,
   Could you do ls -l /mnt, and include your fstab as well as your 
/etc/exports file? This is very important because maybe the issue lies 
with permissions of the files and directories, as well as whether or not 
those are the actual mountpoints for the drives, symlinks, or the like 
(at least in my case).

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


Re: Java Virtual Machine

2006-01-22 Thread martinko

Micah wrote:

Porpoise Power wrote:


Which Java VM is the best for freebsd 5.4, running gnome2, and firefox?

James Best



Both the native jdk14 and jdk15 provide good Java VMs.  jdk15 is newer 
and might be unstable (hasn't been for me).  jdk14 is more tested and is 
the default java for FreeBSD on i386.


HTH,
Micah


can you have both versions installed ?
and how do you choose which one of them to use (for instance in mozilla) ?

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


Re: NFS trouble

2006-01-22 Thread Danial Thom


--- David Raison [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Sure thing, but I wish to share my external usb
 hdds which are mounted
 @ those mountpoints.
 
  /mnt is usually a mount point, are you sure
 you don't have it
  backwards?
 
  /etc/exports on server1:
 
  /usr -alldirs -mapall=root:bin 10.1.1.1
 
  mount with:
 
  mount server1:/mnt /usr
 
 this one's wrong though, isn't it? if you
 export /usr, you'd mount
 server1:/usr, wouldn't you?
 
  This allows a client at 10.1.1.1 to mount
 /usr and any decendents.

yes, or course.

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


Re: Java Virtual Machine

2006-01-22 Thread Micah

martinko wrote:

Micah wrote:

Porpoise Power wrote:


Which Java VM is the best for freebsd 5.4, running gnome2, and firefox?

James Best



Both the native jdk14 and jdk15 provide good Java VMs.  jdk15 is newer 
and might be unstable (hasn't been for me).  jdk14 is more tested and 
is the default java for FreeBSD on i386.


HTH,
Micah


can you have both versions installed ?
and how do you choose which one of them to use (for instance in mozilla) ?

m.


Yes, you can have both installed at the same time. 
/usr/ports/java/javavmwrapper makes switching JVMs easy using 
environment variables, however it doesn't seem to support switching 
browser plugins.  For that you'd probably have to switch the symlink in 
/usr/X11R6/lib/browser_plugins and restart the browser.


HTH,
Micah

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


Apache 2.0.55_2 mod_dav not working

2006-01-22 Thread Brent Kearney
Hello,

After upgrading apache from 2.0.54 to the latest version, 2.0.55_2, WebDAV 
has stopped working.  The mod_dav and mod_dav_fs modules load OK, but the 
lock file that is specified in the DavLockDB directive does not get created, 
and WebDAV clients cannot connect.

The /server-info page provided by mod_info shows that the DAV modules are 
active:

Module Name: mod_dav.c
Content handlers: yes
Configuration Phase Participation: Create Directory Config, Merge Directory 
Configs, Create Server Config, Merge Server Configs
Request Phase Participation: Fixups
Module Directives:
DAV - specify the DAV provider for a directory or location
DAVMinTimeout - specify minimum allowed timeout
DAVDepthInfinity - allow Depth infinity PROPFIND requests
Current Configuration:
Location /davtest
  DAV on
/Location


Module Name: mod_dav_fs.c
Content handlers: none
Configuration Phase Participation: Create Server Config, Merge Server Configs
Request Phase Participation: none
Module Directives:
DAVLockDB - specify a lock database
Current Configuration:
DAVLockDB /tmp/DAVLock 


The Location container that I set up is simplified for testing purposes.  
The only indicator that something is wrong on the server side is that no
files get created in /tmp, despite the DAVLockDB directive.

I have LogLevel set to debug, and it doesn't show any errors.  WebDAV was 
working fine before the upgrade to 2.0.55.  Does anyone have any ideas as 
to what might be going wrong?

Thanks,
Brent


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


Re: Help getting wordpress working oon 4.11

2006-01-22 Thread stan
On Sun, Jan 22, 2006 at 07:19:18PM +0100, David Raison wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Hi Stan,
 
 add the following to your httpd.conf
 
 AddType application/x-httpd-php .php
 AddType application/x-httpd-php-source  .phps
 
 And index.php to the DirectoryIndex (so your index.php file gets
 loaded automatically if no filename is supplied)
 
 IfModule dir_module
 DirectoryIndex index.php index.html
 /IfModule
 
 but I'm not sure if this is the same with apache 1.3 (I'm using 2.2)
 you may also need to add the following:
 
 LoadModule php5_modulelibexec/apache22/libphp5.so #
 php4_module if you're using php4
 
A quick check of my httpd.conf looks like all of these have been done. I'm
using Apache 1.3 BTW.

Here's the file, in case anyone can see the error of my ways.

Thanks for any help.


##
## httpd.conf -- Apache HTTP server configuration file
##

#
# Based upon the NCSA server configuration files originally by Rob McCool.
#
# This is the main Apache server configuration file.  It contains the
# configuration directives that give the server its instructions.
# See URL:http://httpd.apache.org/docs/ for detailed information about
# the directives.
#
# Do NOT simply read the instructions in here without understanding
# what they do.  They're here only as hints or reminders.  If you are unsure
# consult the online docs. You have been warned.  
#
# After this file is processed, the server will look for and process
# /usr/local/etc/apache/srm.conf and then /usr/local/etc/apache/access.conf
# unless you have overridden these with ResourceConfig and/or
# AccessConfig directives here.
#
# The configuration directives are grouped into three basic sections:
#  1. Directives that control the operation of the Apache server process as a
# whole (the 'global environment').
#  2. Directives that define the parameters of the 'main' or 'default' server,
# which responds to requests that aren't handled by a virtual host.
# These directives also provide default values for the settings
# of all virtual hosts.
#  3. Settings for virtual hosts, which allow Web requests to be sent to
# different IP addresses or hostnames and have them handled by the
# same Apache server process.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with / (or drive:/ for Win32), the
# server will use that explicit path.  If the filenames do *not* begin
# with /, the value of ServerRoot is prepended -- so logs/foo.log
# with ServerRoot set to /usr/local/apache will be interpreted by the
# server as /usr/local/apache/logs/foo.log.
#

### Section 1: Global Environment
#
# The directives in this section affect the overall operation of Apache,
# such as the number of concurrent requests it can handle or where it
# can find its configuration files.
#

#
# ServerType is either inetd, or standalone.  Inetd mode is only supported on
# Unix platforms.
#
ServerType standalone

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# NOTE!  If you intend to place this on an NFS (or otherwise network)
# mounted filesystem then please read the LockFile documentation
# (available at URL:http://www.apache.org/docs/mod/core.html#lockfile);
# you will save yourself a lot of trouble.
#
ServerRoot /usr/local

#
# The LockFile directive sets the path to the lockfile used when Apache
# is compiled with either USE_FCNTL_SERIALIZED_ACCEPT or
# USE_FLOCK_SERIALIZED_ACCEPT. This directive should normally be left at
# its default value. The main reason for changing it is if the logs
# directory is NFS mounted, since the lockfile MUST BE STORED ON A LOCAL
# DISK. The PID of the main server process is automatically appended to
# the filename. 
#
#LockFile /var/run/httpd.lock

#
# PidFile: The file in which the server should record its process
# identification number when it starts.
#
PidFile /var/run/httpd.pid

#
# ScoreBoardFile: File used to store internal server process information.
# Not all architectures require this.  But if yours does (you'll know because
# this file will be  created when you run Apache) then you *must* ensure that
# no two invocations of Apache share the same scoreboard file.
#
ScoreBoardFile /var/run/httpd.scoreboard

#
# In the standard configuration, the server will process httpd.conf (this 
# file, specified by the -f command line option), srm.conf, and access.conf 
# in that order.  The latter two files are now distributed empty, as it is 
# recommended that all directives be kept in a single file for simplicity.  
# The commented-out values below are the built-in defaults.  You can have the 
# server ignore these files altogether by using /dev/null (for Unix) or
# nul (for Win32) for the arguments to the directives.
#
#ResourceConfig /usr/local/etc/apache/srm.conf
#AccessConfig /usr/local/etc/apache/access.conf

#
# Timeout: The number of seconds before 

Re: Java Virtual Machine

2006-01-22 Thread Garrett Cooper

Micah wrote:


martinko wrote:


Micah wrote:


Porpoise Power wrote:

Which Java VM is the best for freebsd 5.4, running gnome2, and 
firefox?


James Best




Both the native jdk14 and jdk15 provide good Java VMs.  jdk15 is 
newer and might be unstable (hasn't been for me).  jdk14 is more 
tested and is the default java for FreeBSD on i386.


HTH,
Micah



can you have both versions installed ?
and how do you choose which one of them to use (for instance in 
mozilla) ?


m.



Yes, you can have both installed at the same time. 
/usr/ports/java/javavmwrapper makes switching JVMs easy using 
environment variables, however it doesn't seem to support switching 
browser plugins.  For that you'd probably have to switch the symlink 
in /usr/X11R6/lib/browser_plugins and restart the browser.


HTH,
Micah


   Good rules of thumb: Use j2sdk 1.4 (not everything compiles under 
1.5 I've heard from several people) for compiling, use j2sre 1.5 for 
browser/applet stuff (for compatibility with all Java stuff).

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


Re: urgent, agir vite

2006-01-22 Thread Ceri Davies


On 18 Jan 2006, at 10:47, Roland Romero wrote:


on dirait qu'il y a un bug là :
http://www.fr.freebsd.org/cgi/search.cgi? 
max=25source=ords=TurboGXsubmit=Rechercher

ça affiche tout le code perl !


Rol,

My French has withered to nothing since I studied it 12 years
ago, so I hope you can understand my reply,

We generally don't expect our mirror sites to run the CGI scripts.
The code is not sensitive as it is publicly available in CVS, and
this situation is actually very common on our mirrors.  However,
the mirrors are supposed to point all CGI links to www.FreeBSD.org;
if you could us know where the link to the above was found, then
we can work on fixing the misdirection.

Cheers,

Ceri
--
That must be wonderful!  I don't understand it at all.
  -- Moliere





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


Re: NFS trouble

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


 David,

 Could you do ls -l /mnt, and include your fstab as well as your
/etc/exports file? This is very important because maybe the issue lies
with permissions of the files and directories, as well as whether or
not those are the actual mountpoints for the drives, symlinks, or the
like (at least in my case).

 Thanks,

 -Garrett



Hi Garrett,

I've been aware of the symlink problem, but that shouldn't be the cause.
However:

etc/exports:
- --
/mnt/music -mapall=nobody -alldirs,quiet -network 192.168.1.0 -mask
255.255.255.0
/mnt/wd2 -mapall=nobody -alldirs,quiet -network 192.168.1.0 -mask
255.255.255.0
/mnt/wd1 -alldirs,quiet stilgar lusitania localhost
- ---
- ---

/etc/fstab:
- ---
# DeviceMountpoint  FStype  Options  
DumpPass#
/dev/ar0s1b noneswapsw  0   0
/dev/ar0s1a /   ufs rw  1   1
/dev/ar0s1e /tmpufs rw  2   2
/dev/ar0s1f /usrufs rw  2   2
/dev/ar0s1d /varufs rw  2   2
/dev/acd0   /cdrom  cd9660  ro,noauto,user  0   0


#D.R.  FreeBSD does not support user as an argument for ext2fs
/dev/da0s1  /mnt/music  ext2fs  rw,noauto   0   0
/dev/da1s5  /mnt/wd1ext2fs  rw,noauto   0   0
/dev/da1s6  /mnt/wd2ext2fs  rw,noauto   0   0
- ---
- ---

ls -l /mnt:
- ---
[EMAIL PROTECTED] ls -l /mnt/
total 54
drwxrwxr-x  31 nobody   users   4096 Jan 17 18:47 music
drwxr-xr-x   2 root wheel512 Jan  5 17:07 stick
drwxr-xr-x   9 kwisatz  users  45056 Jan 19 22:51 wd1
drwxrwxr-x  12 nobody   users   4096 Jan 21 21:38 wd2

which reminds me of the fact, that I cannot mount ext2fs devices as a
regular user. Maybe that is the problem? I'll try a non-external hdd share

D.

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

iD8DBQFD0+fi/sLffsMilEkRAuVhAJ9oJiezHTq3L4nV2Q/XhL/suZZMigCfcfa2
+YW6sqytwiLdxMkcUUJyJnQ=
=2BL2
-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: make.conf Question

2006-01-22 Thread Chris
On 22/01/06, Adam Stroud [EMAIL PROTECTED] wrote:

 All:

 I have been playing around with make.conf and I see that it is possible to
 to use the NO_OPENSSH variable to not build openssh when updating fbsd
 from source.  I also noticed in the /etc/defaults/rc.conf file that there
 is
 a sshd_program entry that can be used to adjust where the installation
 of
 sshd is.  I am assuming that this means that I can install openssh from
 the
 ports exclusively and use the rc.conf file to launch the ports sshd on
 startup.  Here are my questions about this:

 1.  Is my assumption correct?
 2.  Does this also apply to things like kerberos and openssl
 3.  Does this impose any notable side effects to the system (possibly with
 stability/security)?

 Thanks
 A
 ___


Yes it should be fine I use it but I keep kerberos and openssl base enabled
since it is used by various things within the base system, make sure prior
to doing this if you are remote administrating the system you already have
the ports version of openssh installed enabled and configured.

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


Re: NFS trouble

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

Ok, first time I tried to export something different than an ext2fs
device.
It works. Now what I don't know is whether this has something to do
with it being an ext2 fs or with the permissions. (regular users not
being able to mount ext2 filesystems)

D.


 David, Could you do ls -l /mnt, and include your fstab as well as
 your /etc/exports file? This is very important because maybe the
 issue lies with permissions of the files and directories, as well
 as whether or not those are the actual mountpoints for the drives,
 symlinks, or the like (at least in my case). Thanks, -Garrett
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions To
 unsubscribe, send any mail to
 [EMAIL PROTECTED]

 !DSPAM:43d3d4b9422851469518719!

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

iD8DBQFD0+qI/sLffsMilEkRAqxLAJwIX4h9rNK7yrwsrKTC7a8G2jdJAgCgz42I
ZBsnHxGZ+ivUikT1RUCPmrY=
=SA1G
-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: information about distribution

2006-01-22 Thread Ceri Davies


On 19 Jan 2006, at 15:20, Martin Rolinec wrote:


Hello.

I would like to make a web page on which I would like to sale Linux  
distibution to people, who don´t have an opportunity to download it  
from internet.


So I have few questions about a licence:

1. I would like to ask, if I can download the CD images from your
   distribution (iso-cd-dvd, live iso and so on) and offer them for
   sale on my web page, thus if I can spread your distibution legaly
   for a minimal charges?

2. CDs and DVDs I would like to sale with CD printing.../with Buble
   Jet printer/. So I would like to ask you, if I can use your LOGO
   and the LOGO of distibution and a color combination of your
   distribution on the CD printing.

PS: Of course with using of your LOGO and the color combination I  
regard all rights and duties involved in copyright.


So, every customer, who will buy your distribution will be notified  
in writing, that:


1. distribution is dowloaded from web, from your ISO images

2. distribution is burned

3. the price of CD or DVD does not include the technical support in
   all forms from you .

4. customer will be informed, that your LOGO, color and the name of
   distribution is subject to your author´s right

5. customer will be informed, that the CD was burned by me, so I will
   bear all problems coupled with its malfuncion.


Thank you for your answers and I hope, that I will be able to  
spread your distribution without biggest problems.




Martin,

You can use the ISOs as long as you follow the terms at
http://www.freebsd.org/copyright/license.html.

Use of the daemon mascot requires that you obtain permission
from Marshall Kirk McKusick, as per the entry at
http://www.freebsd.org/copyright/daemon.html.

The spacehopper logo should be considered off-limits for now,
as we are still awaiting legal work regarding it.

We would appreciate it if you contributed a percentage of the proceeds
to the FreeBSD Foundation (http://www.freebsdfoundation.org/) in order
to help with further work, but you do not have to.

As another poster pointed out, please don't call FreeBSD Linux; it's
a different beast altogether.

Ceri
--
That must be wonderful!  I don't understand it at all.
  -- Moliere





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


Re: FreeBSD vs Linux

2006-01-22 Thread Ceri Davies


On 18 Jan 2006, at 17:17, Nikolas Britton wrote:


On 1/17/06, Philip Hallstrom [EMAIL PROTECTED] wrote:

The computer is currently without keyboard, mouse or monitor.  I am
adding applications to the computer via ssh while I work.  As  
soon as I

get openbox and tightvnc installed, I'll switch to tightvnc so I can
disconnect without disrupting jobs.  (Hmm, I wonder if I'll have  
to add

a mouse or keyboard at that point.)


/usr/ports/sysutils/screen

Screen is a full-screen window manager that multiplexes a physical
terminal between several processes (typically interactive shells).  
Each
virtual terminal provides the functions of a DEC VT100 terminal  
and, in
addition, several control functions from the ANSI X3.64 (ISO 6429)  
and ISO
2022 standards (e.g. insert/delete line and support for multiple  
character
sets). There is a scrollback history buffer for each virtual  
terminal and

a copy-and-paste mechanism that allows moving text regions between
windows.


nohup foobar  ~/foobar.log tail -f ~/foobar.log


If you think that is even vaguely equivalent to screen, then I cannot
suggest strongly enough that you actually try it.

Ceri
--
That must be wonderful!  I don't understand it at all.
  -- Moliere





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


DRAC 4 - ugen

2006-01-22 Thread Grant Peel

Hi all,

A little more on the ongoing saga to get my dracs working.

It seems the the PE1850 with the DRAC 4 wants to use an (internal) USB 
connection to the keyboard-console.


Through some investigation, when I start the remote session I see this in my 
messages log:


Jan 22 15:24:27 s1 kernel: ugen0: at uhub0 port 1 (addr 2) disconnected
Jan 22 15:24:27 s1 kernel: All threads purged from ugen0.2
Jan 22 15:24:27 s1 kernel: All threads purged from ugen0.1
Jan 22 15:24:27 s1 kernel: All threads purged from ugen0
Jan 22 15:24:27 s1 kernel: ugen0: detached

Any idea why it would attach  then immdiately detach?

As it stand know, I still have no remote console on this machine. Also, I 
did add the 0x1 flag to the device hints to stop the atkb from loading.


FreeBSD 6.0
DRAC 4/I

-GRant


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


cmucl crashes on 6.0-RELEASE i386

2006-01-22 Thread Gautham Ganapathy
Hi,

I am unable to get cmucl to work in freebsd 6.0-release for i386. When I
run it, there is a lot of disk usage for a few seconds (allocating too
much memory?) and then cmucl core dumps. Has anyone seen this before?
Can it be fixed? I have tried installation through ports and packages
and they both show this problem. It used to work properly before on
previous versions

Regards
Gautham Ganapathy


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


package tools out of date?

2006-01-22 Thread Robert Fitzpatrick
Trying to 'portupgrade openldap-sasl-server-2.2.29' and get the 
following errors. Does this mean my FreeBSD 54. package tools? Which 
ports or how do I upgrade?


pkg_create: read_plist: unknown command '@dirrmtry etc/openldap/schema' 
(package tools out of date?)
pkg_create: read_plist: unknown command '@dirrmtry %D/etc/openldap' 
(package tools out of date?)

pkg_create: write_plist: unknown command type -1 (etc/openldap/schema)
*** Error code 2

Stop in /usr/ports/net/openldap22-sasl-server.
*** Error code 1

Stop in /usr/ports/net/openldap22-sasl-server.

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


Xorg 6.9.0 xkb problem

2006-01-22 Thread Albert Shih
Hi all

I've problem with Xorg 6.9.0. I think it's problem with Xorg and not with
FreeBSD ports. But maybe someone can help me.

On all my pc I use US-Keyboard, and because I'm french guys I need some
caractere like : éèà etc...

On my Xorg config I have

Section InputDevice
Identifier  Keyboard0
Driver  keyboard
Option  AutoRepeat500 30
Option  XkbRules  xfree86
Option  XkbModel  pc105
Option  XkbSymbolsfr
Option  XkbLayout us_intl
EndSection

and when I want type é I just need to type '+e,
and when I really need ' I need to use '+_space_

Well after my upgrade from 6.8 to 6.9 this thing don't work. I've try many
combinaison with all (not all of course) files in
/usr/X11R6/lib/X11/xkb/
but nothing work, my ',^,` etc... is not deadkeys.

I've don't find elegant solution. I solve this problem by reinstalling the
old directory
/usr/X11R6/lib/X11/xkb

in the new installation.


I've similary message on [EMAIL PROTECTED] but I don't know if
that's problem is on the ports or on the new release. Or maybe it's not a
problem but only a new kind of configuration.

Anyone can help me ?

Regards.



--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
7 ième étage, plateau D, bureau 10
Heure local/Local time:
Sun Jan 22 22:52:03 CET 2006
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: package tools out of date?

2006-01-22 Thread Tamouh H.
 
Hi Robert,

Do CVSUP on all your ports, this will upgrade the package tools. Funny to ask 
because I just had this problem today.

For info on how to use CVSUP and upgrade ports:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html

Tamouh

 
 Trying to 'portupgrade openldap-sasl-server-2.2.29' and get 
 the following errors. Does this mean my FreeBSD 54. package 
 tools? Which ports or how do I upgrade?
 
 pkg_create: read_plist: unknown command '@dirrmtry 
 etc/openldap/schema' 
 (package tools out of date?)
 pkg_create: read_plist: unknown command '@dirrmtry %D/etc/openldap' 
 (package tools out of date?)
 pkg_create: write_plist: unknown command type -1 (etc/openldap/schema)
 *** Error code 2
 
 Stop in /usr/ports/net/openldap22-sasl-server.
 *** Error code 1
 
 Stop in /usr/ports/net/openldap22-sasl-server.
 
 --
 Robert
 ___
 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]


Encrypted volume - how?

2006-01-22 Thread Norberto Meijome

Hi all,
I'm looking for a way to recreate the functionality of PGP Disk (under 
Win32). Basically, create an encrypted file, which contains a filesystem 
which can then be mounted in any mount point.


I know I can use GELI in FreeBSD 6 - as I understand, it performs the 
encryption at the partition level (the whole partition is encrypted). 
I'd like to be able to simply unmount my 'secure volume', and be able to 
back it up as a whole, or move it to another computer without having to 
repartition the destination. I think GELI wouldn't be good for this.


I think I've read somewhere that you could use openssl to generate an 
encrypted volume and then mount it. I searched for a while and can't 
find any reference to this. Does anyone know how to do this with 
openssl, OR any other tool ?


thanks in advance,
Beto

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


Re: Encrypted volume - how?

2006-01-22 Thread Ivan Voras

Norberto Meijome wrote:

Hi all,
I'm looking for a way to recreate the functionality of PGP Disk (under 
Win32). Basically, create an encrypted file, which contains a filesystem 
which can then be mounted in any mount point.


Is this: http://www.freebsd.org/cgi/man.cgi?query=mdconfig what you are 
looking for?


(see -t vnode option; you can apply any GEOM class, including GELI, on 
such devices)


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


Re: Encrypted volume - how?

2006-01-22 Thread Brooks Davis
On Mon, Jan 23, 2006 at 09:39:52AM +1100, Norberto Meijome wrote:
 Hi all,
 I'm looking for a way to recreate the functionality of PGP Disk (under 
 Win32). Basically, create an encrypted file, which contains a filesystem 
 which can then be mounted in any mount point.
 
 I know I can use GELI in FreeBSD 6 - as I understand, it performs the 
 encryption at the partition level (the whole partition is encrypted). 
 I'd like to be able to simply unmount my 'secure volume', and be able to 
 back it up as a whole, or move it to another computer without having to 
 repartition the destination. I think GELI wouldn't be good for this.

GELI or GBDE are probably what you're looking for, you just need to use
mdconfig to create a vnode (file) backed disk image which you will
encrypt and then create a file system on.

-- Brooks

-- 
Any statement of the form X is the one, true Y is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4


pgpgs981Mczyi.pgp
Description: PGP signature


Re: Encrypted volume - how?

2006-01-22 Thread Arne Woerner
--- Norberto Meijome [EMAIL PROTECTED] wrote:
 openssl, OR any other tool ?
 
I have heard of gbde(8), which might be a few years old, than
geli(8)...

-Arne


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


Re: Encrypted volume - how?

2006-01-22 Thread Kees Plonß
Norberto Meijome wrote on Sunday 22 January 2006 23:39:

 Hi all,
 I'm looking for a way to recreate the functionality of PGP Disk (under
 Win32). Basically, create an encrypted file, which contains a filesystem
 which can then be mounted in any mount point.
 
Why don't you use gbde. It is in your distro at /sbin/gbde
Make a file with dd and format is with gbde and newfs:

dd if=/dev/random of=file bs=1k count=1000
gbde init /dev/md0
mdconfig -a -t vnode -f file
gbde init /dev/md0
gbde attach /dev/md0
newfs /dev/md0.bde
mount /dev/md0.bde /mnt

#and you are ready to use the filesystem at /mnt
#watch out for the sequence of umounting:

umount /dev/md0.bde
gbde detach /dev/md0

#for mounting you do:

gbde attach /dev/md0
mount /dev/md0.bde /mnt

-- 
Key-ID = 0xA6581435E-mail address is valid but ipv6 only

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


Re: C/C++ call to detect cpu?

2006-01-22 Thread Nicolas Blais
On Saturday 21 January 2006 15:33, John Levine wrote:
 Other than 'grep'ing dmesg, is there a way to know the current cpu such as
  a struct with the machine's cpu and cpu feature (kinda like a time_t
  struct)?

 $ sysctl hw.model
 hw.model: AMD Athlon(tm) 64 Processor 3000+

 If you want more details write a tiny assembler routine that does a
 CPUID instruction and decode the result.  Intel has a detailed application
 note about it at
 http://developer.intel.ru/design/xeon/applnots/241618.htm

 R's,
 John

Thanks, that was great help, I was able to get the Processor Name string using 
info from that pdf.  Using asm instead of sysctl will ensure a bit more 
portability.  
Unfortunatly, getting the actual processor speed (in Mhz) is more complicated 
according to that pdf, would you have any suggestions?

Thanks,
Nicolas.
-- 
FreeBSD 7.0-CURRENT #0: Sat Jan 21 11:33:22 EST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
PGP? (updated 16 Nov 05) : http://www.clkroot.net/security/nb_root.asc


pgp0D90kwoQcw.pgp
Description: PGP signature


Re: Encrypted volume - how?

2006-01-22 Thread Norberto Meijome

Brooks Davis wrote:

On Mon, Jan 23, 2006 at 09:39:52AM +1100, Norberto Meijome wrote:


Hi all,
I'm looking for a way to recreate the functionality of PGP Disk (under 
Win32). Basically, create an encrypted file, which contains a filesystem 
which can then be mounted in any mount point.


I know I can use GELI in FreeBSD 6 - as I understand, it performs the 
encryption at the partition level (the whole partition is encrypted). 
I'd like to be able to simply unmount my 'secure volume', and be able to 
back it up as a whole, or move it to another computer without having to 
repartition the destination. I think GELI wouldn't be good for this.



GELI or GBDE are probably what you're looking for, you just need to use
mdconfig to create a vnode (file) backed disk image which you will
encrypt and then create a file system on.



Thanks Brooks and everyone else who kindly pointed me in the right 
direction :) I think I will use GELI (i like the 2 key system, and it 
seems to be newer technology.)


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


Re: C/C++ call to detect cpu?

2006-01-22 Thread Derek Ragona

Nicolas,

I have commented assembler code for the intel family of CPU's.  This code 
goes back to the i386 and also takes into account the CPU string, and will 
calculate the clock speed.  I do call this as a library function from c/c++ 
programs.


Unfortunately this is written for Microsoft's MASM, and I have never ported 
it to gas.


If you want a copy I can send you the assembler source code and/or the 
commented listing as well.


-Derek


At 05:50 PM 1/22/2006, Nicolas Blais wrote:

On Saturday 21 January 2006 15:33, John Levine wrote:
 Other than 'grep'ing dmesg, is there a way to know the current cpu such as
  a struct with the machine's cpu and cpu feature (kinda like a time_t
  struct)?

 $ sysctl hw.model
 hw.model: AMD Athlon(tm) 64 Processor 3000+

 If you want more details write a tiny assembler routine that does a
 CPUID instruction and decode the result.  Intel has a detailed application
 note about it at
 http://developer.intel.ru/design/xeon/applnots/241618.htm

 R's,
 John

Thanks, that was great help, I was able to get the Processor Name string 
using

info from that pdf.  Using asm instead of sysctl will ensure a bit more
portability.
Unfortunatly, getting the actual processor speed (in Mhz) is more complicated
according to that pdf, would you have any suggestions?

Thanks,
Nicolas.
--
FreeBSD 7.0-CURRENT #0: Sat Jan 21 11:33:22 EST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A
PGP? (updated 16 Nov 05) : http://www.clkroot.net/security/nb_root.asc

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


Re: C/C++ call to detect cpu?

2006-01-22 Thread Nicolas Blais
On Sunday 22 January 2006 19:53, Derek Ragona wrote:
 Nicolas,

 I have commented assembler code for the intel family of CPU's.  This code
 goes back to the i386 and also takes into account the CPU string, and will
 calculate the clock speed.  I do call this as a library function from c/c++
 programs.

 Unfortunately this is written for Microsoft's MASM, and I have never ported
 it to gas.

 If you want a copy I can send you the assembler source code and/or the
 commented listing as well.

  -Derek


Certainly, that would be of great help! Under what license would you be 
releasing the source ? :)

Nicolas.
-- 
FreeBSD 7.0-CURRENT #0: Sat Jan 21 11:33:22 EST 2006 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
PGP? (updated 16 Nov 05) : http://www.clkroot.net/security/nb_root.asc


pgpilr8wlaw2e.pgp
Description: PGP signature


Re: Encrypted volume - how?

2006-01-22 Thread Giorgos Keramidas
On 2006-01-23 09:39, Norberto Meijome [EMAIL PROTECTED] wrote:
 Hi all,
 I'm looking for a way to recreate the functionality of PGP Disk (under
 Win32). Basically, create an encrypted file, which contains a
 filesystem which can then be mounted in any mount point.

 I know I can use GELI in FreeBSD 6 - as I understand, it performs the
 encryption at the partition level (the whole partition is encrypted).
 I'd like to be able to simply unmount my 'secure volume', and be able
 to back it up as a whole, or move it to another computer without
 having to repartition the destination. I think GELI wouldn't be good
 for this.

If the destination computer runs FreeBSD too, you shouldn't need to
repartition at all.

 I think I've read somewhere that you could use openssl to generate an
 encrypted volume and then mount it. I searched for a while and can't
 find any reference to this. Does anyone know how to do this with
 openssl, OR any other tool ?

A simple way to do this is to create a file, mount it, then encrypt it
with openssl after it's unmounted and remove the unencrypted file.

# truncate -s 30m /tmp/file
# mdconfig -a -t vnode -f /tmp/file -u 10
# newfs_msdos /dev/md10
# mount -t msdosfs /dev/md10

...

# umount /dev/md10
# openssl enc -bf  /tmp/file  /tmp/file.encrypted
enter bf-cbc encryption password:
Verifying - enter bf-cbc encryption password:
# rm -f /tmp/file

This has the advantage that, if you use a file as a `block device' that
holds a single FAT filesystem, without any partitions at all, you can
then use it in other operating systems too, i.e. in Solaris you could
use openssl to decrypt the encrypted file, use lofiadm(1M) to create a
/dev/lofi/XXX device and mount it as a FAT filesystem too.

This is not as safe as using GELI or GBDE though.

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


Re: package tools out of date?

2006-01-22 Thread Kris Kennaway
On Sun, Jan 22, 2006 at 05:30:38PM -0500, Tamouh H. wrote:
  
 Hi Robert,
 
 Do CVSUP on all your ports, this will upgrade the package tools.

No, package tools means things like pkg_create(1).  It's not the
problem here, although the solution is to cvsup again since it was
already fixed.

Kris


pgpEmesbARJiO.pgp
Description: PGP signature


can't build jdk15 on 6.0

2006-01-22 Thread Chad Leigh -- Shire.Net LLC



Am trying to build jdk15 form ports on 6.0.  Happens to be inside a  
jail with linux emulation running etc.  I previously was able to  
build jdk142 in s similar environment.  The linux jdk14 is installed  
(I believe the port itself did that).  Any thoughts or help appreciated.


gmake[5]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/ 
sun/javac/javac'
gmake /usr/ports/java/jdk15/work/control/build/bsd-i586/bin/javac  
VARIANT=OPT
gmake[6]: Entering directory `/usr/ports/java/jdk15/work/j2se/make/ 
sun/javac/javac'
rm -f /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/sun/ 
com.sun.tools.javac/javac/.classes.list
/usr/ports/java/jdk15/work/control/build/bsd-i586/bin/java - 
classpath ../../../tools/CompileProperties  
CompileProperties ../../../../src/share/classes/com/sun/tools/javac/ 
resources/compiler.properties /usr/ports/java/jdk15/work/control/ 
build/bsd-i586/gensrc/com/sun/tools/javac/resources/compiler.java

Error: could not find libjava.so
Error: could not find Java 2 Runtime Environment.
gmake[6]: *** [/usr/ports/java/jdk15/work/control/build/bsd-i586/ 
gensrc/com/sun/tools/javac/resources/compiler.java] Error 2
gmake[6]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/ 
javac/javac'

gmake[5]: *** [optimized] Error 2
gmake[5]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/ 
javac/javac'

gmake[4]: *** [all] Error 1
gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/sun/ 
javac'

gmake[3]: *** [all] Error 2
gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/ 
java/javac'

gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make/java'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk15.
utah# locate libjava.so
/stubs/usr_local/linux-sun-jdk1.4.2/jre/lib/i386/libjava.so
/usr/ports/java/jdk15/work/control/build/bsd-i586/lib/i386/libjava.so
/usr/ports/java/linux-sun-jdk14/work/j2sdk1.4.2_10/jre/lib/i386/ 
libjava.so

utah#

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



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


Re: cannot install freebsd 6.0

2006-01-22 Thread Stephen Krauth

On Wed, 18 Jan 2006, Kris Kennaway wrote:


On Wed, Jan 18, 2006 at 07:49:12PM -0800, Stephen Krauth wrote:

I'm unable to even boot the FreeBSD 6.0 install CD (i386 version).  I have
an AMD64 with an Nvidia nForce 3 250Gb based motherboard (MSI K8N Neo
Platinum), currently running 4.10-RELEASE. The 6.0 boot cd dies with:

  panic: pmap_mapdev: couldn't alloc kernel virtual memory

This happens right after the agp0 load message.  I tried disabling ACPI
with no luck.

Please help!  I've been a FreeBSD user for almost 10 years and it would be
disappointing to give up now...


Did you

a) Verify the checksum of your iso image,


No but that's a good idea.  I just checked the image and it's fine.  I 
also did md5 checks between the image and the CD to see if it burned 
properly and all looks good.



and/or

b) Try the amd64 version?


No...  I tried the amd64 version over a year ago (maybe 5.2 release?) 
and had loads of problems building ports.  Since I use FreeBSD for my
desktop machine, I depend on lots of them.  It seems doubtful that all 
those ports now build without problems under amd64, but what do you 
think?


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


Re: WebDav for Apache

2006-01-22 Thread Foo Ji-Haw
That's an Apache question, not a FreeBSD thing.

WebDAV comes standard with Apache2.

- Original Message - 
From: Jose Borquez [EMAIL PROTECTED]
To: FreeBSD Questions group freebsd-questions@freebsd.org
Sent: Sunday, January 22, 2006 4:26 PM
Subject: WebDav for Apache


 Is there a WebDav module for Apache?

 Thanks in advance,
 Jose

 ___
 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: WebDav for Apache

2006-01-22 Thread fbsd_user
For the rest of us who use apache 13 what is webdav??

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Foo Ji-Haw
Sent: Sunday, January 22, 2006 9:52 PM
To: Jose Borquez; FreeBSD Questions group
Subject: Re: WebDav for Apache


That's an Apache question, not a FreeBSD thing.

WebDAV comes standard with Apache2.

- Original Message -
From: Jose Borquez [EMAIL PROTECTED]
To: FreeBSD Questions group freebsd-questions@freebsd.org
Sent: Sunday, January 22, 2006 4:26 PM
Subject: WebDav for Apache


 Is there a WebDav module for Apache?

 Thanks in advance,
 Jose

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

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

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


Re: WebDav for Apache

2006-01-22 Thread Foo Ji-Haw
Check out
http://www.google.com/search?hl=enhs=n5rlr=client=firefox-arls=org.mozilla:en-US:official_soi=defmoredefl=enq=define:WebDAV

In a nutshell, WebDAV, uses the HTTP protocol to manage files, pretty
similar to FTP. Do note that while it sounds like fun, it is sometimes a
security issue as well, so be sure to read up on that aspect if you're
planning on using WebDAV.

- Original Message - 
From: fbsd_user [EMAIL PROTECTED]
To: Foo Ji-Haw [EMAIL PROTECTED]; Jose Borquez
[EMAIL PROTECTED]; FreeBSD Questions group
freebsd-questions@freebsd.org
Sent: Monday, January 23, 2006 11:30 AM
Subject: RE: WebDav for Apache


 For the rest of us who use apache 13 what is webdav??

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Foo Ji-Haw
 Sent: Sunday, January 22, 2006 9:52 PM
 To: Jose Borquez; FreeBSD Questions group
 Subject: Re: WebDav for Apache


 That's an Apache question, not a FreeBSD thing.

 WebDAV comes standard with Apache2.

 - Original Message -
 From: Jose Borquez [EMAIL PROTECTED]
 To: FreeBSD Questions group freebsd-questions@freebsd.org
 Sent: Sunday, January 22, 2006 4:26 PM
 Subject: WebDav for Apache


  Is there a WebDav module for Apache?
 
  Thanks in advance,
  Jose
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
 [EMAIL PROTECTED]

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

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


linux_base-8 fetch # of ports errors

2006-01-22 Thread Anthony M. Agelastos

Hello everyone,

Several hours ago, I tried to upgrade linux_base-8 on my 6.0-STABLE  
box and it ran into many fetch problems, which can be seen below.  
Prior to this upgrading, I upgraded xorg without problems and after  
the failed troubleshooting, I had the machine install Firefox and it  
fetched it and built it without problems. Does anyone have any  
suggestions? I checked the archives and did not find anything. I  
CVSup'd from cvsup13.us if that has anything to do with it. While on  
the topic, I noticed earlier today that when I first issued the  
portupgrade command, it rebuilt the package database and it mentioned  
that there were 13,3xx packages... last time I checked the website it  
listed over 14,000 and I have my cvsup file set to d/l all groups.  
Any ideas? Thank you all for your continued assistance.


Script started on Sun Jan 22 23:06:36 2006
dell# portupgrade -arR

---  Upgrading 'linux_base-8-8.0_6' to  
'linux_base-8-8.0_11' (emulators/linux_base-8)

---  Building '/usr/ports/emulators/linux_base-8'
===  Cleaning for rpm-3.0.6_10
===  Cleaning for gmake-3.80_2
===  Cleaning for automake-1.4.6_2
===  Cleaning for autoconf-2.13.000227_5
===  Cleaning for libtool-1.3.5_2
===  Cleaning for popt-1.7
===  Cleaning for gettext-0.14.5
===  Cleaning for perl-5.8.7_2
===  Cleaning for m4-1.4.4
===  Cleaning for libtool-1.5.22_1
===  Cleaning for libiconv-1.9.2_1
===  Cleaning for linux_base-8-8.0_11
= bash-2.05b-5.1.i386.rpm doesn't seem to exist in /usr/ports/ 
distfiles/rpm/i386/8.0.
= Attempting to fetch from http://mirrors.usc.edu/pub/linux/ 
distributions/redhat/redhat/linux/8.0/os/i386/.
fetch: http://mirrors.usc.edu/pub/linux/distributions/redhat/redhat/ 
linux/8.0/os/i386/bash-2.05b-5.1.i386.rpm: Not Found
= Attempting to fetch from http://mirrors.usc.edu/pub/linux/ 
distributions/redhat/redhat/linux/8.0/updates/i386/.
fetch: http://mirrors.usc.edu/pub/linux/distributions/redhat/redhat/ 
linux/8.0/updates/i386/bash-2.05b-5.1.i386.rpm: Not Found
= Attempting to fetch from http://mirrors.usc.edu/pub/linux/ 
distributions/redhat/redhat/linux/8.0/os/SRPMS/.
fetch: http://mirrors.usc.edu/pub/linux/distributions/redhat/redhat/ 
linux/8.0/os/SRPMS/bash-2.05b-5.1.i386.rpm: Not Found
= Attempting to fetch from http://mirrors.usc.edu/pub/linux/ 
distributions/redhat/redhat/linux/8.0/updates/SRPMS/.
fetch: http://mirrors.usc.edu/pub/linux/distributions/redhat/redhat/ 
linux/8.0/updates/SRPMS/bash-2.05b-5.1.i386.rpm: Not Found
= Attempting to fetch from http://www.gtlib.cc.gatech.edu/pub/redhat/ 
linux/8.0/os/i386/.
fetch: http://www.gtlib.cc.gatech.edu/pub/redhat/linux/8.0/os/i386/ 
bash-2.05b-5.1.i386.rpm: Not Found
= Attempting to fetch from http://www.gtlib.cc.gatech.edu/pub/redhat/ 
linux/8.0/updates/i386/.
fetch: http://www.gtlib.cc.gatech.edu/pub/redhat/linux/8.0/updates/ 
i386/bash-2.05b-5.1.i386.rpm: Not Found
= Attempting to fetch from http://www.gtlib.cc.gatech.edu/pub/redhat/ 
linux/8.0/os/SRPMS/.
fetch: http://www.gtlib.cc.gatech.edu/pub/redhat/linux/8.0/os/SRPMS/ 
bash-2.05b-5.1.i386.rpm: Not Found
= Attempting to fetch from http://www.gtlib.cc.gatech.edu/pub/redhat/ 
linux/8.0/updates/SRPMS/.
fetch: http://www.gtlib.cc.gatech.edu/pub/redhat/linux/8.0/updates/ 
SRPMS/bash-2.05b-5.1.i386.rpm: Not Found
= Attempting to fetch from ftp://mirror.cs.wisc.edu/pub/mirrors/ 
linux/redhat/8.0/os/i386/.
fetch: ftp://mirror.cs.wisc.edu/pub/mirrors/linux/redhat/8.0/os/i386/ 
bash-2.05b-5.1.i386.rpm: File unavailable (e.g., file not found, no  
access)
= Attempting to fetch from ftp://mirror.cs.wisc.edu/pub/mirrors/ 
linux/redhat/8.0/updates/i386/.
fetch: ftp://mirror.cs.wisc.edu/pub/mirrors/linux/redhat/8.0/updates/ 
i386/bash-2.05b-5.1.i386.rpm: File unavailable (e.g., file not found,  
no access)
= Attempting to fetch from ftp://mirror.cs.wisc.edu/pub/mirrors/ 
linux/redhat/8.0/os/SRPMS/.
fetch: ftp://mirror.cs.wisc.edu/pub/mirrors/linux/redhat/8.0/os/SRPMS/ 
bash-2.05b-5.1.i386.rpm: File unavailable (e.g., file not found, no  
access)
= Attempting to fetch from ftp://mirror.cs.wisc.edu/pub/mirrors/ 
linux/redhat/8.0/updates/SRPMS/.
fetch: ftp://mirror.cs.wisc.edu/pub/mirrors/linux/redhat/8.0/updates/ 
SRPMS/bash-2.05b-5.1.i386.rpm: File unavailable (e.g., file not  
found, no access)
= Attempting to fetch from ftp://ftp.nluug.nl/site/ftp.redhat.com/ 
redhat/linux/8.0/os/i386/.
fetch: ftp://ftp.nluug.nl/site/ftp.redhat.com/redhat/linux/8.0/os/ 
i386/bash-2.05b-5.1.i386.rpm: File unavailable (e.g., file not found,  
no access)
= Attempting to fetch from ftp://ftp.nluug.nl/site/ftp.redhat.com/ 
redhat/linux/8.0/updates/i386/.
fetch: ftp://ftp.nluug.nl/site/ftp.redhat.com/redhat/linux/8.0/ 
updates/i386/bash-2.05b-5.1.i386.rpm: File unavailable (e.g., file  
not found, no access)
= Attempting to fetch from ftp://ftp.nluug.nl/site/ftp.redhat.com/ 
redhat/linux/8.0/os/SRPMS/.
fetch: ftp://ftp.nluug.nl/site/ftp.redhat.com/redhat/linux/8.0/os/ 
SRPMS/bash-2.05b-5.1.i386.rpm: File unavailable 

securelevel doc?

2006-01-22 Thread Joel Hatton
Hi,

I may be confused, but istr that man security[7] used to document the
results of different kernel securelevels; this no longer seems to be the
case. Is this still documented in the base system without recourse to
online help? (I'm OK with securelevels, btw, I'd just like to know where
to point someone to this information)

cheers,

-- Joel Hatton --
Security Analyst| Hotline: +61 7 3365 4417
AusCERT - Australia's national CERT | Fax: +61 7 3365 7031
The University of Queensland| WWW: www.auscert.org.au
Qld 4072 Australia  | Email:   [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: securelevel doc?

2006-01-22 Thread Gayn Winters
 [mailto:[EMAIL PROTECTED] On Behalf Of Joel Hatton
 Sent: Sunday, January 22, 2006 8:52 PM
 To: freebsd-questions@freebsd.org
 Subject: securelevel doc?
 
 
 Hi,
 
 I may be confused, but istr that man security[7] used to document the
 results of different kernel securelevels; this no longer 
 seems to be the
 case. Is this still documented in the base system without recourse to
 online help? (I'm OK with securelevels, btw, I'd just like to 
 know where
 to point someone to this information)
 
 cheers,
 
 -- Joel Hatton --

I'd point to:

man security
man securelevel = man init
man sysctl

in this order.  On my 5.3 system (the oldest I have running) the
securelevels aren't fully explained until man init.  I don't know about
4.x.

-gayn

Bristol Systems Inc.
714/532-6776
www.bristolsystems.com 


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


Can FreeBSD play DVD movies?

2006-01-22 Thread Peter
I tried playing a DVD movie with mplayer today but the sound was just a
hiss.  Does anyone know why?  Here is my version:

MPlayer 1.0pre7try2-3.4.2 (C) 2000-2005 MPlayer Team

Here is the STDOUT:

DVD successfully opened.
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  9800.0 kbps (1225.0
kbyte/s)
==
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Cannot find codec 'dts' in libavcodec...
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
No accelerated IMDCT transform found
hwac3: switched to DTS, 768000 bps, 48000 Hz
AUDIO: 48000 Hz, 2 ch, ac3, 768.0 kbit/50.00% (ratio: 96000-192000)
Selected audio codec: [hwdts] afm:hwac3 (DTS through S/PDIF)
==
==
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred csp: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG-1 or 2 (libmpeg2))
==
Checking audio filter chain for 48000Hz/2ch/ac3 - 48000Hz/2ch/ac3...
AF_pre: 48000Hz/2ch/ac3
[AO OSS] Can't set audio device /dev/dsp to ac3 output, trying s16le...
AO: [oss] 48000Hz 2ch s16le (2 bps)
Building audio filter chain for 48000Hz/2ch/ac3 - 48000Hz/2ch/s16le...
[format] Sample format big-endian AC3 not yet supported 
[libaf] Reinitialization did not work, audio filter 'format' returned
error code -2
Couldn't find matching filter/ao format!






__ 
Find your next car at http://autos.yahoo.ca
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


gtk library for linux application?

2006-01-22 Thread John
I am trying to run a Linux application on my 5.3-STABLE FreeBSD
system, but it needs a gtk library.  Having the equivalent native
FreeBSD library is apparently of no consequence.  I can find Linux
RPM source bundles for this all over the place, but I can't seem
to find the binaries anywhere.  I'm not sure I'm ready to try
creating Linux-compatible libraries on my FreeBSD machine, nor
learning the ins and outs of RPM.

Does anyone have a libgtk-1.2.so.0 (and any dependent libraries)
that they could send me so that I can drop it (them) into
/usr/compat/linux/usr/lib and hope to run this thing?

Thanks!
-- 

John Lind
[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: Can FreeBSD play DVD movies?

2006-01-22 Thread Jonathan Chen
On Mon, Jan 23, 2006 at 12:47:27AM -0500, Peter wrote:
 I tried playing a DVD movie with mplayer today but the sound was just a
 hiss.  Does anyone know why?

Dunno, but multimedia/vlc works great for me.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
  Opportunity does not knock,
   it presents itself when you beat down the door - W.E. Channing
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can FreeBSD play DVD movies?

2006-01-22 Thread David Wilhelm
On 01/22/06 21:47, Peter wrote:
 I tried playing a DVD movie with mplayer today but the sound was just a
 hiss.  Does anyone know why?

Does this occur for every dvd that you've tried?

I'm not sure about the audio decoder errors, but I've had the sound hiss
with a few dvds. Try explicitly setting -aid 128 (or 129, or whatever);
that has always fixed the hiss for me.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


portupgrade and dialog boxes.

2006-01-22 Thread Luke Bakken
Hello all,

I'm in the process of doing a mega-portupgrade and I've noticed that
certain ports use the dialog command to collect options from the user.
I've searched for a way to ensure that these dialogs won't show up and
the closest I've come to an answer is the 'make rmconfig' command in
the port Makefile, which doesn't help me when using the portupgrade
command.

Is there any way to tell portupgrade to not show these dialog boxes
and to use the default options for a port?

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