Re: Backup HD running ZFS

2006-06-27 Thread Ian Pulsford

Kyrre Nygard wrote:


Hey!

I just bought me one of these to back up all my stuff to: 
http://www.wdmybook.com


Is there any way of getting ZFS running on it?
And using it along with FreeBSD as well as Windows XP?

That would be incredible.



Don't know, but if you were looking for backup solutions here is a cool 
FreeBSD based project for turning PCs into NAS devices.


http://www.freenas.org/

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


Abiword importers behaving oddly

2006-06-27 Thread Lennon Cook

I have Abiword compiled from the editors/abiword port, with plugins
from the editors/abiword-plugins to (in addition to the default)
import and export ODF and SXW. Unfortunately, the importers appear to
not be working properly: they reliably loose metadata such as page
orientation, and randomly loose styles (only as applied to text -
additional defined styles are preserved), and page breaks. Manually
formatting such as newlines and bold, italic, etc. appear to be
preserved. I say 'randomly' loose these things because in some
documents I'll loose all of it, whereas in some only some of these
things are lost (for example, one particular document looses all but
the first page bread, all styles applied to the first page, remembers
all other headings, and remembers all but the first application of a
style I created speciifically for this document).
I have tested this and get the same symtoms on an ODF that I created,
and was working, using the same set of plugins a few months ago on a
Linux From Scratch system, leading me to blame the importer rather
than the exporter.  I am, however, not currently able to test this on
any other word processor to confirm this.
I am running FreeBSD 6.1-BETA4 (as reported by uname), but ports
appear to be coming from the directory 6-STABLE (I'm not familiar
enough with the ports system to know if this is to be expected).

Has anyone experienced similar problems? Is there any know cause and
workaround or solution for it? If necesary, I can provide a sample
file which shows these problems.

--
Lennon Victor Cook
He who receives an idea from me receives without lessening, as he who
lights his candle at mine receives light without darkening - Thomas
Jefferson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Crashing with HP/Compaq DL360 G3 [paging kernel developer]

2006-06-27 Thread Ted Mittelstaedt
Your broadcom is one of the problem chips, you can probably see
the workarounds in the driver.  So I would not rule out a problem
with the ethernet controller.  If you have money to burn on this
then install an Intel pci express or 64 bit pci card and disable the
onboard ethernet chip and see what happens.

However what you really need to do at this time is get your
seemingly-random panics to become repeatable.  We start with
the assumption that this is a hardware problem.  PC's in general
have 4 areas of hardware that cause problems:

ethernet
disk IO
memory
cpu

sometimes video is a problem but you can check for this
by simply not logging into the console and doing all your access
over the network.

What you need to do now is go into the ports directories
and build some of the stress-testing utilities then run them.
Start by running a disk stresser, see if that causes it to panic.
Next run a network stresser, see if that causes a panic, next
run a cpu stresser, etc.etc.  I think you get the idea here.  What
we are trying to do is find a program that can cause the system
to panic on demand, that is a program that really mostly does
only 1 thing, either disk, network, memory, etc.

Once you got that then you can start hardware substitution on
the affected area (if possible)

Ted

- Original Message - 
From: Jeremy Kister [EMAIL PROTECTED]
To: Ted Mittelstaedt [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Sunday, June 25, 2006 10:16 PM
Subject: Re: Crashing with HP/Compaq DL360 G3 [paging kernel developer]


 On 6/25/2006 5:51 PM, Ted Mittelstaedt wrote:
  Please post a dmesg output.

 two of them have now crashed:

 http://jeremy.kister.net/tmp/unix32.dmesg
 http://jeremy.kister.net/tmp/unix35.dmesg


 Thanks for your interest

 -- 

 Jeremy Kister
 http://jeremy.kister.net./
 ___
 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: Dual DVI, PCI-Express, xorg and FreeBSD

2006-06-27 Thread Paul Chvostek
On Mon, Jun 26, 2006 at 10:35:14AM -0700, Kelsey Cummings wrote:
 
 Can anyone recommend a PCI Express graphics card with functional dual DVI
 output on FreeBSD for use with X to drive a pair of 1600x1200 displays?  I
 don't care at all about 3d performance.  Just something that works.

I just got a cheap MSI card:

http://www.msicomputer.com/product/p_spec.asp?model=NX7600GS-T2D256Eclass=vga

Works fine on a pair of 1600x1200 LCDs with either of the nvidia drivers
available (default or from ports).  I'm not using its TV-out or any of
the crazy nvidia options, but the card definitely works.

$154 Cdn.  You can probably find it cheaper South of the border.

p

-- 
  Paul Chvostek [EMAIL PROTECTED]
  it.canadahttp://www.it.ca/

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


need help w/ simple bash script

2006-06-27 Thread dw

Hi all,

I am trying to write a simple bash script that will collate pkg_version 
reports from all of my servers to generate centralized HTML reports. To 
format the output, I am trying:


# REPORT=`pkg_version -v`

But when I echo $REPORT, I get:

Xaw3d-1.5E_1 = up-to-date with port apr-db42-1.2.7_1 = up-to-date with 
port autoconf-2.13.000227_5 = up-to-date with port autoconf-2.59_2 = 
up-to-date with port automake-1.9.6 = up-to-date with port bash-3.1.17 = 
up-to-date with port cvsup-without-gui-16.1h_2 = up-to-date with port 
db41-4.1.25_3 = up-to-date with port.


When what I want is:

Xaw3d-1.5E_1 = up-to-date with port
apr-db42-1.2.7_1 = up-to-date with port
autoconf-2.13.000227_5 = up-to-date with port
autoconf-2.59_2 = up-to-date with port
automake-1.9.6 = up-to-date with port
bash-3.1.17 = up-to-date with port
cvsup-without-gui-16.1h_2 = up-to-date with port
db41-4.1.25_3 = up-to-date with port
...
...
...


I've also tried:

for LINE in `pkg_version -v`; do echo $LINE; done

but that's even worse; then I get:

Xaw3d-1.5E_1
=
up-to-date
with
port
apr-db42-1.2.7_1
=
up-to-date
with
port
autoconf-2.13.000227_5
=
up-to-date
with
port
autoconf-2.59_2
=
up-to-date
with
port
...
...
...

I know I figured out a technique once before, but I'm banging my head 
against a wall right now. Thanks for any help.


-DW



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


named: invalid rndc key

2006-06-27 Thread Kyrre Nygard


Hello!

I just tried reloading my nameserver after adding a new domain (zonefile).

But then this happened:

$ rndc reload
rndc: connection to remote host closed
This may indicate that the remote server is using an older version of
the command protocol, this host is not authorized to connect,
or the key is invalid.

I've tried using rndc-confgen to create a new rndc.key, as well as
rndc.conf and references in named.conf, but the problem is still there.

I've been using my nameserver setup for months and it's all been
working smooth. I've made no incremental changes that would result
in this thing either.

Thanks,
Kyrre

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


Re: need help w/ simple bash script

2006-06-27 Thread Paul Chvostek
Hiya.

I've been working on a web front-end to aggregate multiple servers'
package update requirements as well.  I'll probably have it ready to
present in another few weeks, if ${DAYJOB} doesn't get in the way.

On Tue, Jun 27, 2006 at 08:01:49AM -0400, dw wrote:
 
 # REPORT=`pkg_version -v`
 
 But when I echo $REPORT, I get:
 
 Xaw3d-1.5E_1 = up-to-date with port apr-db42-1.2.7_1 = up-to-date with 
...
 When what I want is:
 
 Xaw3d-1.5E_1 = up-to-date with port
 apr-db42-1.2.7_1 = up-to-date with port
...

Use more quotes.

  REPORT = `pkg_version -v`

will protect the newlines.

 for LINE in `pkg_version -v`; do echo $LINE; done

If you feel adventurous, you could to try something like this:

  tmpfile=/tmp/`basename $0`.$$
  trap rm -f $tmpfile $tmpfile.? 0 1 2 3 5 15
  pkg_version -v | while read package status text; do
echo $package $text  $tmpfile.$status
  done

Now you have tempfiles with package lists for the various stati, which
you can parse as you see fit.

Note that you may get better (i.e. more useful) mileage out of something
like:

  pkg_version -vL=

which will show you only what needs to be updated.

-- 
  Paul Chvostek [EMAIL PROTECTED]
  it.canadahttp://www.it.ca/

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


bacula question

2006-06-27 Thread Eric
hello,

i have bacula set up and its working great, but i haven't been able to
figure out how to clear out the 'Terminated jobs' list. I thought
dropping the tables and recreating them would do the trick, but it did
not. I deleted the state files, restarted the daemons, etc.

does anyone know where those records live? if its the state files, ill
kill the daemons, delete, then restart and see if that makes things go
away.  perhaps this was my error

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


Re: bacula question

2006-06-27 Thread Bill Moran
In response to Eric [EMAIL PROTECTED]:

 hello,
 
 i have bacula set up and its working great, but i haven't been able to
 figure out how to clear out the 'Terminated jobs' list. I thought
 dropping the tables and recreating them would do the trick, but it did
 not. I deleted the state files, restarted the daemons, etc.
 
 does anyone know where those records live? if its the state files, ill
 kill the daemons, delete, then restart and see if that makes things go
 away.  perhaps this was my error

They're in the database.  It would seem as if you dropped/recreated the
wrong database.

For general/ongoing maintenance, Bacula will automagically clear out those
terminated jobs when they reach their retention time, assuming autoprune
is enabled.  Occasionally, messing about with the configuration will cause
Bacula to end up with jobs, files, etc that it can't prune because it
no longer has configuration information on how to prune them.  In that
case, run Bacula's dbcheck program to clean those up.

If you continue to have trouble, I recommend subscribing to the bacula-users
mailing list and asking future questions there.  They're a pretty helpful
group.

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


RE: need help w/ simple bash script

2006-06-27 Thread [EMAIL PROTECTED]@mgedv.net
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of dw
 Sent: Tuesday, June 27, 2006 2:02 PM
 To: freebsd-questions@freebsd.org
 Subject: need help w/ simple bash script
 
 Hi all,
 
 I am trying to write a simple bash script that will collate 
 pkg_version 
 reports from all of my servers to generate centralized HTML 
 reports. To 
 format the output, I am trying:
 
 # REPORT=`pkg_version -v`
 
 But when I echo $REPORT, I get:
 
 Xaw3d-1.5E_1 = up-to-date with port apr-db42-1.2.7_1 = 
 up-to-date with 
 port autoconf-2.13.000227_5 = up-to-date with port autoconf-2.59_2 = 
 up-to-date with port automake-1.9.6 = up-to-date with port 
 bash-3.1.17 = 
 up-to-date with port cvsup-without-gui-16.1h_2 = up-to-date with port 
 db41-4.1.25_3 = up-to-date with port.
 
 When what I want is:
 
 Xaw3d-1.5E_1 = up-to-date with port
 apr-db42-1.2.7_1 = up-to-date with port
 autoconf-2.13.000227_5 = up-to-date with port
 autoconf-2.59_2 = up-to-date with port
 automake-1.9.6 = up-to-date with port
 bash-3.1.17 = up-to-date with port
 cvsup-without-gui-16.1h_2 = up-to-date with port
 db41-4.1.25_3 = up-to-date with port
 ...
 ...
 ...
 
 
 I've also tried:
 
 for LINE in `pkg_version -v`; do echo $LINE; done
 
 but that's even worse; then I get:
 
 Xaw3d-1.5E_1
 =
 up-to-date
 with
 port
 apr-db42-1.2.7_1
 =
 up-to-date
 with
 port
 autoconf-2.13.000227_5
 =
 up-to-date
 with
 port
 autoconf-2.59_2
 =
 up-to-date
 with
 port
 ...
 ...
 ...
 
 I know I figured out a technique once before, but I'm banging my head 
 against a wall right now. Thanks for any help.
 
 -DW
 
 
 


why not just try

pkg_version -v |while read h_line
do
echo $h_line TO SOMEWHERE
done;


you'd be even able to do something like
pkg_version -v |grep -v 'up-to-date with port'|while read h_line
do
blah
done;


have fun ;-)

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


support for SCTP protocol in bsdSocket

2006-06-27 Thread mariajothi.velankanni

Hi,



I would like to know whether there is support for SCTP protocol in
bsdSocket or not

Please let me know ASAP.



Thanks  Regards

Maria






The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

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


New install, rebuilding world

2006-06-27 Thread AB
I'm new to FreeBSD, but I've been reading alot in the
Handbook about building custom kernels and rebuilding
world, and still can't seem to find what I'm looking
for.

I want to be able to recompile my whole system so that
it's optimized for my hardware, but I'd rather not
track -Stable and have to rebuild a whole slew of
stuff every few days.

Can someone give me some advice (or point me to some
documentation) on recompiling the -Release6.1 and then
doing light maintenance (bug fixes, security updates)
afterwards?


Thanks,
Adam

__
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: New install, rebuilding world

2006-06-27 Thread Reko Turja

From: AB [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Tuesday, June 27, 2006 5:31 PM
Subject: New install, rebuilding world



I'm new to FreeBSD, but I've been reading alot in the
Handbook about building custom kernels and rebuilding
world, and still can't seem to find what I'm looking
for.

I want to be able to recompile my whole system so that
it's optimized for my hardware, but I'd rather not
track -Stable and have to rebuild a whole slew of
stuff every few days.


Track RELEASE security fix branch - the brach you want to cvsup is for 
example RELENG_6_1 for the bugfix and maintenance release for 6.1 
(cvsupping RELENG_6 would get you stable from 6 branch, which is at 
the moment 6.1 stable).


For the hardware etc - just tweak the make.conf and kernel config file 
to suit your needs.



Can someone give me some advice (or point me to some
documentation) on recompiling the -Release6.1 and then
doing light maintenance (bug fixes, security updates)
afterwards?


The rest of if goes by the handbook - you can cvsup by hand or just 
make a script running once a week or so and alerting you if there are 
changes in release sources. Basically the regular buildworld - 
buildkernel - installkernel - installworld process is the recommended 
way to update, but now and then you can do smaller fixes just going to 
directory and doing a make install from there (but doing that you're 
on your own).


-Reko 


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


Re: New install, rebuilding world

2006-06-27 Thread Derek Ragona

Read the Makefile in /usr/src, and UPDATING in /usr/src as well.

What you will want to do is track the security branch, and subscribe to the 
security list to get any reports of issues.  If an issue arises, you can 
choose to cvsup and rebuild, or not.  If the issue is not in a subsystem 
you use, you can ignore it.


-Derek

At 09:31 AM 6/27/2006, AB wrote:

I'm new to FreeBSD, but I've been reading alot in the
Handbook about building custom kernels and rebuilding
world, and still can't seem to find what I'm looking
for.

I want to be able to recompile my whole system so that
it's optimized for my hardware, but I'd rather not
track -Stable and have to rebuild a whole slew of
stuff every few days.

Can someone give me some advice (or point me to some
documentation) on recompiling the -Release6.1 and then
doing light maintenance (bug fixes, security updates)
afterwards?


Thanks,
Adam

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

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


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

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


linux emu, libmap and OracleCalendar (FBSD 5.4)

2006-06-27 Thread Mike Hunter
Hey everybody,

I got Oracle Calendar installed, but I did some majorly nasty stuff
(over-writing linux libraries with stuff on knoppix CDs, etc.)  I had
hoped to use libmapI had to get a knoppix CD to run the installer to
get past java issues (which I won't detail here).  I copied the resulting
installed directory over to my FBSD box and went to launch (after fixing a
hard-coded string in the ocal launch script) but I got unhappiness:

./ocal 
Starting Oracle Calendar for Linux
/home/mhunter/OracleCalendar/bin/Ocal: /usr/lib/libstdc++.so.5: version 
`GLIBCPP_3.2.2' not found (required by /home/mhunter/OracleCalendar/bin/Ocal)
/home/mhunter/OracleCalendar/bin/Ocal: /usr/lib/libstdc++.so.5: version 
`GLIBCPP_3.2.2' not found (required by 
/home/mhunter/OracleCalendar/lib/core/libctlst.so)
/home/mhunter/OracleCalendar/bin/Ocal: /usr/lib/libstdc++.so.5: version 
`GLIBCPP_3.2.2' not found (required by 
/home/mhunter/OracleCalendar/lib/core/libctimpexp.so)
/home/mhunter/OracleCalendar/bin/Ocal: /usr/lib/libstdc++.so.5: version 
`GLIBCPP_3.2.2' not found (required by 
/home/mhunter/OracleCalendar/lib/core/libctcalcli.so)
/home/mhunter/OracleCalendar/bin/Ocal: /usr/lib/libstdc++.so.5: version 
`GLIBCPP_3.2.2' not found (required by 
/home/mhunter/OracleCalendar/lib/core/libctccli_cpp.so)
/home/mhunter/OracleCalendar/bin/Ocal: /usr/lib/libstdc++.so.5: version 
`GLIBCPP_3.2.2' not found (required by 
/home/mhunter/OracleCalendar/lib/core/libctgt_cpp.so)

I located the library on knoppix and copied it over to my home directory
and did some libmap hacking:

[/home/mhunter/OracleCalendar/bin/Ocal]
libstdc++.so.5 /home/mhunter/lib/libstdc++.so.5.0.7

[/home/mhunter/OracleCalendar/lib/core/libctcalcli.so]
libstdc++.so.5 /home/mhunter/lib/libstdc++.so.5.0.7

[/home/mhunter/OracleCalendar/lib/core/libctlst.so]
libstdc++.so.5 /home/mhunter/lib/libstdc++.so.5.0.7

[/home/mhunter/OracleCalendar/lib/core/libctimpexp.so]
libstdc++.so.5 /home/mhunter/lib/libstdc++.so.5.0.7

[/home/mhunter/OracleCalendar/lib/core/libctcalcli.so]
libstdc++.so.5 /home/mhunter/lib/libstdc++.so.5.0.7

[/home/mhunter/OracleCalendar/lib/core/libctccli_cpp.so]
libstdc++.so.5 /home/mhunter/lib/libstdc++.so.5.0.7

[/home/mhunter/OracleCalendar/lib/core/libctgt_cpp.so]
libstdc++.so.5 /home/mhunter/lib/libstdc++.so.5.0.7

But it doesn't work...it's like it's not seeing the libmap stuff at all, I
see the same error messages.  Does the libmap stuff not work at all for
Linux binaries, or did I miss something?

I'm using 5.4-STABLE.

Thanks!

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


How to debug in freebsd for all bad condition ?

2006-06-27 Thread Basheer Faith
Hello

I use Freebsd6. My server sometimes reboots by itself. As the server rebooted I 
was not near it so I could not see on its display that  what the server wrote 
on display. 
I want to see what the server gave an error. I could not find any error message 
in /var/log/message.

How can I see concerning message?
How can I active debug for this case?

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


Re: New install, rebuilding world

2006-06-27 Thread Nick Withers
On Tue, 27 Jun 2006 07:31:20 -0700 (PDT)
AB [EMAIL PROTECTED] wrote:

 I'm new to FreeBSD,

Welcome!

 but I've been reading alot in the Handbook about building
 custom kernels and rebuilding world, and still can't seem to
 find what I'm looking for.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html;
should sort you out, but please feel free to ask if you'd like
a trimmed-down, dot-point, step-by-step guide, just to get that
first one under the belt!

 I want to be able to recompile my whole system so that
 it's optimized for my hardware, but I'd rather not
 track -Stable and have to rebuild a whole slew of
 stuff every few days.

Fair enough, though do keep in mind that ports aren't covered
by a buildworld et al. procedure.

As Reko suggested, you'll want to track the RELENG_6_1 CVS
branch at this point, to keep up-to-date with 6.1-RELEASE and
its security updates.

 Can someone give me some advice (or point me to some
 documentation) on recompiling the -Release6.1 and then
 doing light maintenance (bug fixes, security updates)
 afterwards?

See the URL given above.

Security updates can often be applied in a variety of ways
(for instance, an issue in tcsh(1) might mean you can get away
with simply rebuilding and reinstalling tcsh(1), rather than
world), but for now, until at least you're pretty comfortable
with rebuilding world, it's probably best to simply rebuild
world and the kernel each time a security update for
6.1-RELEASE comes out.

Rebuilding world can seem pretty scary at first, but you'll
soon be able to do it almost without thinking about it!

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


24/7/365 commercial support wanted

2006-06-27 Thread [EMAIL PROTECTED]
Could somebody recommend a company that does 24/7/365 commercial support 
of FreeBSD server and has expertise in PostgreSQL, Apache, PHP and mail 
server as well.


The company should be able to offer installation, all necessary upgrades 
and 1 hour emergency response.


Thank you,
Iv

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


Booting problem

2006-06-27 Thread Winston

I tried to boot via a serial console, so I modified/added the
following config files:
---
/boot/loader.conf:
boot_multicons=YES
boot_serial=YES
console=comconsole
---
/boot.config
# wyt: added
-Dh
---
Changed /etc/ttys:
ttyd0   /usr/libexec/getty std.9600   dialup  off secure
to
ttyd0   /usr/libexec/getty std.9600   xterm  on secure

However, I got the following messages while booting:
/boot.config: #
FreeBSD/i386 boot
Default: 0:ad(0,a)boot
boot:

I think I prob. made a mistake by putting a line of comment #wyt:
added at the beginning of /boot.conf and the boot loader doesn't like
it.

But if I specify /boot/kernel/kernel after the line boot:
I got a bunch of reg dumps and finally:
BTX halted

The kernel was booting fine before I make the changes. I now have the
chicken and egg problem: I need to get rid of the line of comment in
boot.conf for it to boot, but I can't access it without booting into
it.

Any hint?

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


Boot problem

2006-06-27 Thread Winston

I tried to boot via a serial console, so I modified/added the
following config files:
---
/boot/loader.conf:
boot_multicons=YES
boot_serial=YES
console=comconsole
---
/boot.config
# wyt: added
-Dh
---
Changed /etc/ttys:
ttyd0   /usr/libexec/getty std.9600   dialup  off secure
to
ttyd0   /usr/libexec/getty std.9600   xterm  on secure

However, I got the following messages while booting:
/boot.config: #
FreeBSD/i386 boot
Default: 0:ad(0,a)boot
boot:

I think I prob. made a mistake by putting a line of comment #wyt:
added at the beginning of /boot.conf and the boot loader doesn't like
it.

But if I specify /boot/kernel/kernel after the line boot:
I got a bunch of reg dumps and finally:
BTX halted

The kernel was booting fine before I make the changes. I now have the
chicken and egg problem: I need to get rid of the line of comment in
boot.conf for it to boot, but I can't access it without booting into
it.

Any hint?

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


Re: Boot problem

2006-06-27 Thread Steve Kargl
On Tue, Jun 27, 2006 at 11:49:59AM -0700, Winston wrote:
 
 Any hint?
 

Find a live cd and boot it.  Mount partition and edit files
that you munged.

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


Re: firefox with flash and java!

2006-06-27 Thread Duane Whitty
On Mon, Jun 26, 2006 at 10:36:43PM -0700, Chris Maness wrote:
 On Tue, 23 May 2006 23:40:37 +
 Marwan Sultan dead_l... 
 http://groups.google.com/groups/unlock?msg=695fbeab0c2a56e4_done=/group/list.freebsd.questions/browse_thread/thread/220f6510efe41d89/6e9a9d715460864c%3Fq%3Drtld_dlsym_hack.diff%26rnum%3D1@hotmail.com
  
 wrote:
  hello everyone!
 
I'm really sorry to ask over here, but sick and tired browsing and 
 asking
  around.
 
I'm on latest FreeBSD 6.1R latest KDE and latest firefox 1.5.3
I cannot find the flash plugins for Konqueror because no more port 
 for it,
  (linux-flashplgin6)
 
So i have installed Firefox, now i'm lost, which in port is the flash
  plugin?
 
I have linux-flashplugin7 installed, linuxpluginwrapper,
 
 looks ok
 
 $ pkg_info | grep -i flash  pkg_info | grep -i firefox
 linux-flashplugin-7.0r63 The official Macromedia Flash Player for 
 Linux Mozilla
 
  firefox-1.5.0.3,1   Web browser based on the browser portion of Mozilla
 firefox-remote-20040803 Wrapper scripts for firefox web browser
 
But flash still not workin in firefox, i dont know what to do now?
Will someone kindly guied me for this? how to install flash, for 
 firefox?
  and enable it.
 
 from someone else's kind instructions, which worked great for me:
 
 - modify your libmap.conf , following what is shown in
 what  /usr/local/share/examples/linuxpluginwrapper/libmap.conf-FreeBSD6
 
 - Finally edit /usr/X11R6/lib/firefox/run-mozilla.sh and add
  /usr/X11R6/lib/linux-flashplugin6 to MOZ_PLUGIN_PATH
  (near the end of the script) (colon-separated path components)
 
 - path your kernel:
 Please get and apply a dlsym(3) hook patch (apply in /usr/src ; then cd
 libexec/rtld-elf and do make rtld)
 http://people.FreeBSD.org/~nork/*rtld_dlsym_hack.diff* 
 http://people.FreeBSD.org/%7Enork/rtld_dlsym_hack.diff This provides 
 _dlsym(3)
 function to fix dynamic-link error can't find gtk_major_version 
 ad-hoc-ly.
 
 $cd /usr/src
 $fetch http://people.FreeBSD.org/~nork/*rtld_dlsym_hack.diff* 
 http://people.FreeBSD.org/%7Enork/rtld_dlsym_hack.diff
 $patch  *rtld_dlsym_hack.diff*
 $ cd libexec/rtld-elf
 $sudo make rtld
 $ sudo make install
 
Also How to install java? on firefox? it would be my next step.
 
Is there by any chance away to run flash for Konqueror? or better to
  delete this package if im
having firefox?
 
 i dont know, dont use kde.
 good luck,
 Beto
 I have followed all of the instructions for patching the src (from 
 above), and firefox still crashes with the error: /libexec/ld-elf.so.1: 
 /usr/local/lib/pluginwrapper/flash7.so: Undefined symbol _dlsym  when 
 a flash page is loaded.  What have I missed?

Hi,

I'm using flash on 6-STABLE so I don't know if it works on 6.1R or not.

Make sure you linux_base ports and linuxpluginwrapper are up-to-date.
I'll assume your linux-flashplugin-7 is up-to-date.  My version is
linux-flashplugin-7.0r63.

A directory listing of /usr/X11R6/lib/firefox/plugins might also help.
Here is what my listing looks like:

dwpc@ /etc# ll /usr/X11R6/lib/firefox/plugins
total 32
lrwxr-xr-x  1 root  wheel 49 Jun 26 23:39 flashplayer.xpt - 
/usr/X11R6/lib/linux-flashplugin7/flashplayer.xpt
lrwxr-xr-x  1 root  wheel 51 Jun 26 23:40 libflashplayer.so - 
/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so
-rwxr-xr-x  1 root  wheel  19216 Jun 19 17:45 libnullplugin.so
-rwxr-xr-x  1 root  wheel  11632 Jun 19 17:45 libunixprintplugin.so


Also here is what my /etc/libmap.conf looks like:

# [ALPHA SUPPORT] Flash7 with Mozilla
[/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so]
libpthread.so.0 libpthread.so.2
libdl.so.2  pluginwrapper/flash7.so
libz.so.1 libz.so.3
libm.so.6 libm.so.4
libc.so.6 pluginwrapper/flash7.so


BTW, there is a discussion concerning this on current@
which is very interesting and I recommend as good reading.
As that discussion implies and as the linuxpluginwrapper
states explicitly, this is unsupported.

Hope this helps. YMMV

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


Re: firefox with flash and java!

2006-06-27 Thread Chris Maness

Duane Whitty wrote:

I have followed all of the instructions for patching the src (from 
above), and firefox still crashes with the error: /libexec/ld-elf.so.1: 
/usr/local/lib/pluginwrapper/flash7.so: Undefined symbol _dlsym  when 
a flash page is loaded.  What have I missed?



Hi,

I'm using flash on 6-STABLE so I don't know if it works on 6.1R or not.

Make sure you linux_base ports and linuxpluginwrapper are up-to-date.
I'll assume your linux-flashplugin-7 is up-to-date.  My version is
linux-flashplugin-7.0r63.

A directory listing of /usr/X11R6/lib/firefox/plugins might also help.
Here is what my listing looks like:

dwpc@ /etc# ll /usr/X11R6/lib/firefox/plugins
total 32
lrwxr-xr-x  1 root  wheel 49 Jun 26 23:39 flashplayer.xpt - 
/usr/X11R6/lib/linux-flashplugin7/flashplayer.xpt
lrwxr-xr-x  1 root  wheel 51 Jun 26 23:40 libflashplayer.so - 
/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so
-rwxr-xr-x  1 root  wheel  19216 Jun 19 17:45 libnullplugin.so
-rwxr-xr-x  1 root  wheel  11632 Jun 19 17:45 libunixprintplugin.so


Also here is what my /etc/libmap.conf looks like:

# [ALPHA SUPPORT] Flash7 with Mozilla
[/usr/X11R6/lib/linux-flashplugin7/libflashplayer.so]
libpthread.so.0 libpthread.so.2
libdl.so.2  pluginwrapper/flash7.so
libz.so.1 libz.so.3
libm.so.6 libm.so.4
libc.so.6 pluginwrapper/flash7.so


BTW, there is a discussion concerning this on current@
which is very interesting and I recommend as good reading.
As that discussion implies and as the linuxpluginwrapper
states explicitly, this is unsupported.

Hope this helps. YMMV

--Duane
  
I was able to get it to work by following different instructions on 
patching the /usr/src tree.


# cd /usr/src
# fetch http://people.FreeBSD.org/~nork/rtld_dlsym_hack.diff 
http://people.FreeBSD.org/%7Enork/rtld_dlsym_hack.diff

# patch  rtld_dlsym_hack.diff
# cd libexec/rtld-elf/
# make clean
# make obj
# make depend
# make
# make install

worked like a charm ;o)

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


Re: SSHD errors: will not forward X11 connections

2006-06-27 Thread Andrew
On Tue, 2006-06-27 at 09:32 +0200, [EMAIL PROTECTED] wrote:
 El día Monday, June 26, 2006 a las 09:47:45PM -0500, Andrew escribió:
 
   ...
  30098: mprotect(0x28271000,786432,(0x5)PROT_READ|PROT_EXEC) = 0 (0x0)
  30098: mmap(0x0,808,(0x3)PROT_READ|PROT_WRITE,(0x1000)MAP_ANON,-1,0x0) = 
  674590720 (0x28357000)
  30098: munmap(0x28357000,0x328)  = 0 (0x0)
  30098: sigprocmask(0x1,0x2808d820,0xbfbfeaf0)= 0 (0x0)
  30098: sigprocmask(0x3,0x2808d830,0x0)   = 0 (0x0)
  30098: readlink(/etc/malloc.conf,0xbfbfdc60,63) ERR#2 'No such file or 
  directory'
  30098: issetugid()   = 0 (0x0)
  30098: 
  mmap(0x0,4096,(0x3)PROT_READ|PROT_WRITE,(0x1002)MAP_ANON|MAP_PRIVATE,-1,0x0)
   = 674590720 (0x28357000)
  30098: break(0x8075000)  = 0 (0x0)
  30098: break(0x8076000)  = 0 (0x0)
  30098: geteuid() = 0 (0x0)
 
 the truss output looks somewhat not complete; there is nothing
 to be seen about entering a user shell...
 
   matthias
 
Yes, I see that. But it is complete; I passed the '-o' flag to truss
to write _all_ output to a file. Just to be sure, I ran it again, and
diff'ed the output files; they are the same. To be clear, I do get a
shell prompt when I login via SSH.

I'm thinking that trying to this out is going to turn into a large waste
of time...

-Andrew

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


multiple links with single ln command

2006-06-27 Thread sara lidgey
Hi All,

I've read the man page for ln but can't find a way to do this.  I want to 
create multiple links to a single directory with one command.  Consider the 
following example.  I have a directory structure like this:
test/a/
test/b/
test/c/
 I want to create a symbolic link called clink in test/a/ and test/b/ which 
points to test/c/

The only way I know to do this is with two commands:
ln -s test/c test/a/clink
ln -s test/c test/b/clink

Can it be done with a single command?

thanks.  sorry if this is a no-brainer,
S


-
Now you can have a huge leap forward in email: get the new Yahoo! Mail. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 24/7/365 commercial support wanted

2006-06-27 Thread Kevin Kinsey

[EMAIL PROTECTED] wrote:
Could somebody recommend a company that does 24/7/365 commercial support 
of FreeBSD server and has expertise in PostgreSQL, Apache, PHP and mail 
server as well.


The company should be able to offer installation, all necessary upgrades 



Check the FreeBSD website.  A list of consulting firms is there.



and 1 hour emergency response.

Thank you,
Iv


To where??

Kevin Kinsey


--
... and furthermore ... I don't like your trousers.

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


Re: 24/7/365 commercial support wanted

2006-06-27 Thread very small technologies
 Check the FreeBSD website. A list of consulting firms is there.

Did that. The list is far too long. Just thought people who are happy with
their support would be happy to recommend them.

 and 1 hour emergency response.
 To where??

On-line.

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


Re: SSHD errors: will not forward X11 connections

2006-06-27 Thread Bill Campbell
On Tue, Jun 27, 2006, Andrew wrote:
...
Yes, I see that. But it is complete; I passed the '-o' flag to truss
to write _all_ output to a file. Just to be sure, I ran it again, and
diff'ed the output files; they are the same. To be clear, I do get a
shell prompt when I login via SSH.

I'm thinking that trying to this out is going to turn into a large waste
of time...

I haven't been following this thread, but from the Subject I would guess
that there's may be problems with the client machine's ssh_config file, the
target machines sshd_config file, or the command being executed.

To enable X11 forwarding on the client side on recent versions of openssh,
either the ``ssh -Y'' command or the ssh_config options ``ForwardX11'' and
``ForwardX11Trusted'' must be set to ``yes''.

On the server side, the sshd_config file must have ``X11Forwarding'' set to
``yes'' to allow any client X11 forwarding.

On older versions of openssh, the ``-X'' option was sufficient, but now
``-Y'' is necessary (although ``-X'' might work if ``X11Forwarding'' is
``yes'' in the ssh_config file).

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

The Constitution is a written instrument.  As such, its meaning
does not alter.  That which it meant when it was adopted, it
means now.
-- SOUTH CAROLINA v. US, 199 U.S. 437, 448 (1905)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: multiple links with single ln command

2006-06-27 Thread Brian O'Shea
Unfortunately, it is impossible with the current syntax of the
ln command.  It does allow you to specify multiple sources as
arguments though, with a final argument naming a target directory
in which to create the links to the source files.  For example:

$ mkdir test
$ mkdir test/a
$ mkdir test/b
$ mkdir test/c
$ mkdir links
$ cd ./links
$ ln -s ../test/* .
$ ls -l
lrwxr-xr-x  1 boshea  boshea  9 Jun 27 15:50 a - ../test/a
lrwxr-xr-x  1 boshea  boshea  9 Jun 27 15:50 b - ../test/b
lrwxr-xr-x  1 boshea  boshea  9 Jun 27 15:50 c - ../test/c

However, this is not exactly what you are trying to do in your
example; you are trying to create multiple target links with the
same name in different directories.  Unfortunately, because the ln
command's syntax allows you to specify multiple source files, it
would be ambiguous to try to make it also allow you to specify
multiple targets.

Hope that helps.
-brian

--- sara lidgey [EMAIL PROTECTED] wrote:

 Hi All,
 
 I've read the man page for ln but can't find a way to do this.  I want to
 create multiple links to a single directory with one command.  Consider the
 following example.  I have a directory structure like this:
 test/a/
 test/b/
 test/c/
  I want to create a symbolic link called clink in test/a/ and test/b/ which
 points to test/c/
 
 The only way I know to do this is with two commands:
 ln -s test/c test/a/clink
 ln -s test/c test/b/clink
 
 Can it be done with a single command?
 
 thanks.  sorry if this is a no-brainer,
 S
 
   
 -
 Now you can have a huge leap forward in email: get the new Yahoo! Mail. 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 


__
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: multiple links with single ln command

2006-06-27 Thread Paul Chvostek
Hiya.

On Tue, Jun 27, 2006 at 02:14:22PM -0400, sara lidgey wrote:
 
 I've read the man page for ln but can't find a way to do this.  I want to 
 create multiple links to a single directory with one command.  Consider the 
 following example.  I have a directory structure like this:
 test/a/
 test/b/
 test/c/
  I want to create a symbolic link called clink in test/a/ and test/b/ which 
 points to test/c/
 
 The only way I know to do this is with two commands:
 ln -s test/c test/a/clink
 ln -s test/c test/b/clink
 
 Can it be done with a single command?

No.  Well, it depends on what you consider a single command.  :)

Consider that your command line uses fileglob expansion to determine the
full command line *before* the command is run.  The notation you're
looking at is this:

ln [-fhinsv] source_file ... target_dir

which means the `ln` command takes a left-hand-side (the source,
possibly multiple sources) and a right-hand-side (the target).

But you're asking to go the other way around, with a single source being
created in multiple targets.  If you have ALOT of these links to make,
or need to do this on an regular basis, I suggest making a small script
that does what you want; perhaps something like this:

  #!/bin/sh
  if [ $# -lt 2 ]; then
echo Usage: altln source_file target_dir ...
exit 1
  fi
  source_file=$1; shift
  for target_dir in $*; do
ln -svi $source_file $target_dir
  done

... which you can run with a command line like:

# ls -F test/
a/  b/  c/
# altln ../c test/a test/b
# ls -l test/*/*
lrwxr-xr-x  1 root  wheel  4 Jun 27 17:28 test/a/c - ../c
lrwxr-xr-x  1 root  wheel  4 Jun 27 17:28 test/b/c - ../c
#

(Bear in mind that the symbolic link you create will be evaluated
relative to ITS location, not your cwd when you create the link.)

-- 
  Paul Chvostek [EMAIL PROTECTED]
  it.canadahttp://www.it.ca/

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


Re: CUPS, USB printers Permission Denied

2006-06-27 Thread Anthony Agelastos
OOPS! I apologize to everyone on this list for not compressing my  
error_log file and wasting your time and bandwidth downloading it.


On Jun 27, 2006, at 7:43 PM, Anthony Agelastos wrote:



On Jun 25, 2006, at 11:37 PM, Nicolas Blais wrote:


On Sunday 25 June 2006 23:32, John Nielsen wrote:

On Sunday 25 June 2006 20:04, Anthony Agelastos wrote:

On Jun 25, 2006, at 7:35 PM, John Nielsen wrote:

On Sunday 25 June 2006 19:28, Anthony Agelastos wrote:
I updated CUPS and I cannot print to my USB laser printer. The  
web

interface shows the following:

hp_LaserJet_1160Le (Default Printer) Unable to open USB device
usb:/dev/ulpt0: Permission denied
Description: Hewlett-Packard LaserJet 1160Le
Location: Den
Make and Model: HP LaserJet 1160 Foomatic/hpijs (recommended)
Printer State: stopped, accepting jobs, published.
Device URI: usb:/dev/ulpt0

Doing a `dmesg | grep ulpt0`, I get

ulpt0: Hewlett-Packard hp LaserJet 1160 series, rev 1.10/1.00,
addr 2,
iclass 7/1
ulpt0: using bi-directional mode

The printer itself works (I plugged it directly into my MacBook
and it
printed fine). To ensure it wasn't an awkward build error, I  
issued a


`portupgrade -fR cups`

and rebuilt it and everything it is dependent upon. Does anyone
else have
any ideas? I am running an early 6.1-STABLE (FreeBSD dell.home.iq
6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 01:04:32 EDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/IQKERNEL  i386).


Just a me too so far with an el cheapo Lexmark USB laser printer
(E210).
Are you using the foomatic script? I am, with a PPD from
linuxprinting.org.


I am not sure, actually (it was so long ago, I do not remember  
how I

got it working). I installed hpijs and Make and Model mentions
Foomatic/hpijs, so perhaps. I am sorry I could not be of more
assistance with this question.


I'm going to try backing up and blowing away my etc/cups dir, re-
updating
the port, reinstalling foomatic and my ppd, and see if that  
makes any

difference. I'll post whatever I learn.


Thank you for posting your findings and for your quick reply.


No luck. I basically re-installed everything (including config  
files and

the foomatic filters) from scratch. I also changed the permissions
on /dev/ulpt0 to be 0664 for root:cups. That prevents the  
permissions
error, but I still get nothing from the printer. The message that  
comes up

in the cups web interface when I try to print a test page is:

/usr/local/libexec/cups/backend/usb failed

I did get my other printer (on a different machine) working with  
cups 1.2.0
by just changing the permissions on the device node. I hadn't  
ever set this

printer up with cups before today, though. It's using gutenprint.



After playing with the permissions on ulpt, I can print a test  
page, though

half of it comes out after I manually feed my printer.

After that half-printed page, anything I try to print after will  
get me a USB

port busy; will retry in 30 seconds... message and it never prints.
My system essentially does the same thing (the 30 second message  
that is). After changing my  LogLevel and killing and resubmitting  
a test page, here is my error_log file. Does anyone else have any  
idea what I can try next? Everyone on this list has been wonderful  
with this thread. Thanks again.


error_log




--
FreeBSD 7.0-CURRENT #4: Sun Jun 25 12:13:31 EDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A
PGP? : 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]


problems installing 6.1-RELEASE on Dell PowerEdge 1855

2006-06-27 Thread FBSD
I’m trying to do a fresh install of FreeBSD 6.1-RELEASE on a new
Dell PowerEdge 1855 blade server.  The hardware notes for 6.1 say
the Dell PERC 4/IM SCSI raid controller is supported by the amr
driver.  The problem I’m having is that the kernel on the install cd
is trying to load the mpt driver, which sees the controller and then
fails to load with a timeout error.  How do I install FreeBSD with
just the amr driver and not the mpt driver?

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


Re: CUPS, USB printers Permission Denied

2006-06-27 Thread Anthony Agelastos


On Jun 25, 2006, at 11:37 PM, Nicolas Blais wrote:


On Sunday 25 June 2006 23:32, John Nielsen wrote:

On Sunday 25 June 2006 20:04, Anthony Agelastos wrote:

On Jun 25, 2006, at 7:35 PM, John Nielsen wrote:

On Sunday 25 June 2006 19:28, Anthony Agelastos wrote:

I updated CUPS and I cannot print to my USB laser printer. The web
interface shows the following:

hp_LaserJet_1160Le (Default Printer) Unable to open USB device
usb:/dev/ulpt0: Permission denied
Description: Hewlett-Packard LaserJet 1160Le
Location: Den
Make and Model: HP LaserJet 1160 Foomatic/hpijs (recommended)
Printer State: stopped, accepting jobs, published.
Device URI: usb:/dev/ulpt0

Doing a `dmesg | grep ulpt0`, I get

ulpt0: Hewlett-Packard hp LaserJet 1160 series, rev 1.10/1.00,
addr 2,
iclass 7/1
ulpt0: using bi-directional mode

The printer itself works (I plugged it directly into my MacBook
and it
printed fine). To ensure it wasn't an awkward build error, I  
issued a


`portupgrade -fR cups`

and rebuilt it and everything it is dependent upon. Does anyone
else have
any ideas? I am running an early 6.1-STABLE (FreeBSD dell.home.iq
6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 01:04:32 EDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/IQKERNEL  i386).


Just a me too so far with an el cheapo Lexmark USB laser printer
(E210).
Are you using the foomatic script? I am, with a PPD from
linuxprinting.org.


I am not sure, actually (it was so long ago, I do not remember how I
got it working). I installed hpijs and Make and Model mentions
Foomatic/hpijs, so perhaps. I am sorry I could not be of more
assistance with this question.


I'm going to try backing up and blowing away my etc/cups dir, re-
updating
the port, reinstalling foomatic and my ppd, and see if that  
makes any

difference. I'll post whatever I learn.


Thank you for posting your findings and for your quick reply.


No luck. I basically re-installed everything (including config  
files and

the foomatic filters) from scratch. I also changed the permissions
on /dev/ulpt0 to be 0664 for root:cups. That prevents the permissions
error, but I still get nothing from the printer. The message that  
comes up

in the cups web interface when I try to print a test page is:

/usr/local/libexec/cups/backend/usb failed

I did get my other printer (on a different machine) working with  
cups 1.2.0
by just changing the permissions on the device node. I hadn't ever  
set this

printer up with cups before today, though. It's using gutenprint.



After playing with the permissions on ulpt, I can print a test  
page, though

half of it comes out after I manually feed my printer.

After that half-printed page, anything I try to print after will  
get me a USB

port busy; will retry in 30 seconds... message and it never prints.

My system essentially does the same thing (the 30 second message that  
is). After changing my  LogLevel and killing and resubmitting a test  
page, here is my error_log file. Does anyone else have any idea what  
I can try next? Everyone on this list has been wonderful with this  
thread. Thanks again.




error_log.bz2
Description: Binary data




--
FreeBSD 7.0-CURRENT #4: Sun Jun 25 12:13:31 EDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A
PGP? : 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: multiple links with single ln command

2006-06-27 Thread Brian O'Shea
It can be done with a shell for-loop:

$ mkdir a b c
$ for dir in a b ; do (cd $dir ; ln -s ../c clink) ; done

But this is technically not a single command, and it assumes that
you are using the Bourne Shell (/bin/sh) or a Bourne-compatible shell
(ksh, zsh, bash, etc.).  If you are a csh or tcsh user, may God help
you. (I mean look up the syntax in the appropriate man page.)

-brian

--- sara lidgey [EMAIL PROTECTED] wrote:
 
 Hi All,
 
 I've read the man page for ln but can't find a way to do this.  I want to
 create multiple links to a single directory with one command.  Consider the
 following example.  I have a directory structure like this:
 test/a/
 test/b/
 test/c/
  I want to create a symbolic link called clink in test/a/ and test/b/ which
 points to test/c/
 
 The only way I know to do this is with two commands:
 ln -s test/c test/a/clink
 ln -s test/c test/b/clink
 
 Can it be done with a single command?
 
 thanks.  sorry if this is a no-brainer,
 S



__
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: CUPS, USB printers Permission Denied

2006-06-27 Thread Micah

Anthony Agelastos wrote:


On Jun 25, 2006, at 11:37 PM, Nicolas Blais wrote:


On Sunday 25 June 2006 23:32, John Nielsen wrote:

On Sunday 25 June 2006 20:04, Anthony Agelastos wrote:

On Jun 25, 2006, at 7:35 PM, John Nielsen wrote:

On Sunday 25 June 2006 19:28, Anthony Agelastos wrote:

I updated CUPS and I cannot print to my USB laser printer. The web
interface shows the following:

hp_LaserJet_1160Le (Default Printer) Unable to open USB device
usb:/dev/ulpt0: Permission denied
Description: Hewlett-Packard LaserJet 1160Le
Location: Den
Make and Model: HP LaserJet 1160 Foomatic/hpijs (recommended)
Printer State: stopped, accepting jobs, published.
Device URI: usb:/dev/ulpt0

Doing a `dmesg | grep ulpt0`, I get

ulpt0: Hewlett-Packard hp LaserJet 1160 series, rev 1.10/1.00,
addr 2,
iclass 7/1
ulpt0: using bi-directional mode

The printer itself works (I plugged it directly into my MacBook
and it
printed fine). To ensure it wasn't an awkward build error, I issued a

`portupgrade -fR cups`

and rebuilt it and everything it is dependent upon. Does anyone
else have
any ideas? I am running an early 6.1-STABLE (FreeBSD dell.home.iq
6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 01:04:32 EDT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/IQKERNEL  i386).


Just a me too so far with an el cheapo Lexmark USB laser printer
(E210).
Are you using the foomatic script? I am, with a PPD from
linuxprinting.org.


I am not sure, actually (it was so long ago, I do not remember how I
got it working). I installed hpijs and Make and Model mentions
Foomatic/hpijs, so perhaps. I am sorry I could not be of more
assistance with this question.


I'm going to try backing up and blowing away my etc/cups dir, re-
updating
the port, reinstalling foomatic and my ppd, and see if that makes any
difference. I'll post whatever I learn.


Thank you for posting your findings and for your quick reply.


No luck. I basically re-installed everything (including config files and
the foomatic filters) from scratch. I also changed the permissions
on /dev/ulpt0 to be 0664 for root:cups. That prevents the permissions
error, but I still get nothing from the printer. The message that 
comes up

in the cups web interface when I try to print a test page is:

/usr/local/libexec/cups/backend/usb failed

I did get my other printer (on a different machine) working with cups 
1.2.0
by just changing the permissions on the device node. I hadn't ever 
set this

printer up with cups before today, though. It's using gutenprint.



After playing with the permissions on ulpt, I can print a test page, 
though

half of it comes out after I manually feed my printer.

After that half-printed page, anything I try to print after will get 
me a USB

port busy; will retry in 30 seconds... message and it never prints.

My system essentially does the same thing (the 30 second message that 
is). After changing my  LogLevel and killing and resubmitting a test 
page, here is my error_log file. Does anyone else have any idea what I 
can try next? Everyone on this list has been wonderful with this thread. 
Thanks again.




I'm not seeing any errors in the log - assuming that the section that 
contains the job you mention starts at 19:29:47 on Jun 27th. I see job 9 
start and I see job 9 canceled but I don't see any errors in between.


A completely random thing: have you tried using /dev/unltp0 instead of 
/dev/ulpt0? It shows up as USB Printer # (no reset) in the cups web 
interface on my system.


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


Re: named: invalid rndc key

2006-06-27 Thread Olivier Nicole
 $ rndc reload
 rndc: connection to remote host closed
 This may indicate that the remote server is using an older version of
 the command protocol, this host is not authorized to connect,
 or the key is invalid.

Did you check that named was still listeing on port tcp 953? What does
netstat -Sa|grep rndc tells you?

Can you telnet localhost 953?

Did you check that rndc and named are of the same version? Calling
rndc with no argument should give you the version, and any dig request
should give you the version of named. Do they have the same
installation date?

Best regards,

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


Re: named: invalid rndc key

2006-06-27 Thread Dennis Olvany

Kyrre Nygard wrote:

$ rndc reload
rndc: connection to remote host closed
This may indicate that the remote server is using an older version of
the command protocol, this host is not authorized to connect,
or the key is invalid.


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


Re: vgetty Help

2006-06-27 Thread Robert McIntosh

Thanks fbsd,

It seems that the init string command gives to this modem (which has a 
Conexant chipset, according to Creative's website) is incorrect.


This init-string handed to the modem via mgetty.config: (again, this is 
for vgetty)


ATS0=0Q0D3C1

I'm not familiar with Hayes compatible commands and hoping someone has 
some tips for me out there.


Thanks again,
Robert

fbsd wrote:

you have to use your modems native AT commands to tell it to
answer inbound calls and then save that config on the modem and set
it as the default config to use when the modem is powered on.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Robert
McIntosh
Sent: Monday, June 26, 2006 2:49 PM
To: freebsd-questions@freebsd.org
Subject: vgetty Help


Hi,

I'm running into problems getting vgetty to function as an answering
machine.  I've got a Creative ModemBlaster V.92 Serial DE5621 on
/dev/cuaa1

I'll call my number and the modem simply does not pick up.

I the modem reports to be a voice modem from minicom, so I know it
has
this capability.

Here's my configuration and log sample.

Thanks in advance for any pointers,
Robert

#cat /usr/local/etc/mgetty+send/voice.conf (comments removed)


part generic
###
voice_log_level 4
voice_shell_log /var/log/vgetty_voice_shell.%s
voice_dir /var/spool/voice
phone_owner root
phone_group phone
phone_mode 0660
message_flag_file .flag
receive_dir incoming
message_dir messages
message_list Index
backup_message standard.rmd
port_speed 38400
voice_shell /bin/sh
port_timeout 10
dial_timeout 90
command_delay 100
dtmf_len 30
dtmf_threshold 40
dtmf_wait 7
ignore_fax_dle false
raw_data false
rec_compression 0
rec_speed 0
rec_silence_len 70
rec_silence_threshold 40
rec_remove_silence false
rec_max_len 300
rec_min_len 0
do_hard_flow true
beep_frequency 933
beep_length 1500
max_tries 3
retry_delay 5
watchdog_timeout 60
receive_gain -1
transmit_gain -1
enable_command_echo false
poll_interval 10
enable_compression_mapping_querry TRUE
compression_8bit_linear_signed 0
compression_16bit_linear_signed 0
compression_8bit_linear_unsigned 1
compression_8bit_ulaw4
compression_8bit_alaw5
compression_2bit_adpcm 140
compression_4bit_adpcm 141
compression_4bit_ima_adpcm 129

program vgetty
###
rings 3
answer_mode voice:fax:data
force_autodetect false
toll_saver_rings 0
rec_always_keep true
button_program
call_program
dtmf_program dtmf.sh
message_program
do_message_light false
ring_report_delay 15

program vm
###
voice_devices cuaa1
dialout_timeout 90
ringback_goes_away 70
ringback_never_came 100

program pvf
###
port cuaa1
rings 3
ring_type ring
answer_mode voice:fax:data


Output from the log...
#tail -f /var/log/vgetty.cuaa1
06/26 11:38:52 aa1  waiting...
06/26 11:39:11 aa1  wfr: waiting for ``RING''
06/26 11:39:11 aa1  wfr: waiting for ``RING''
06/26 11:39:17 aa1  wfr: waiting for ``RING''
06/26 11:39:23 aa1  reading ring_type ring configuration from config
file /usr/local/etc/mgetty+sendfax/voice.conf
06/26 11:40:04 aa1  vgetty: timeout while reading character from
voice modem
06/26 11:40:15 aa1  vgetty: timeout while reading character from
voice modem
06/26 11:40:15 aa1  vgetty: Could not answer the phone. Strange...
--
06/26 11:40:15 aa1  vgetty: experimental test release 0.9.32 / with
duplex patch
06/26 11:40:15 aa1  mgetty: interim release 1.1.34-Nov30
06/26 11:40:15 aa1  reading generic configuration from config file
/usr/local/etc/mgetty+sendfax/voice.conf
06/26 11:40:15 aa1  reading program vgetty configuration from config
file /usr/local/etc/mgetty+sendfax/voice.conf
06/26 11:40:15 aa1  reading port cuaa1 configuration from config
file
/usr/local/etc/mgetty+sendfax/voice.conf
06/26 11:40:15 aa1  check for lockfiles
06/26 11:40:15 aa1  locking the line
06/26 11:40:15 aa1  lowering DTR to reset Modem
06/26 11:40:16 aa1  send: ATS0=0Q0D3C1[0d]
06/26 11:40:16 aa1  waiting for ``OK'' ** found **
06/26 11:40:16 aa1  mdm_send: 'ATI'
06/26 11:40:16 aa1  Generic Rockwell modem (56000)
06/26 11:40:16 aa1  mdm_send: 'ATI3'
06/26 11:40:16 aa1  mdm_send: 'ATI4'
06/26 11:40:16 aa1  additional info: 'a007040284C6002F'
06/26 11:40:16 aa1  modem quirks: 0004
06/26 11:40:16 aa1  mdm_send: 'AT+FCLASS=2' - OK
06/26 11:40:16 aa1  mdm_send: 'AT+FCLASS=0' - OK
06/26 11:40:16 aa1  mdm_send: 'AT+FAA=1;+FCR=1' - OK
06/26 11:40:16 aa1  mdm_send: 'AT+FBOR=0' - OK
06/26 11:40:16 aa1  mdm_send: 'AT+FLID=503.244.7197' - OK
06/26 11:40:17 aa1  mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0' - OK
06/26 11:40:17 aa1  detecting voice modem type
06/26 11:40:18 aa1  Rockwell detected
06/26 11:40:30 aa1  vgetty: timeout while reading character from
voice modem
06/26 11:40:30 aa1  initializing ROCKWELL voice modem
06/26 11:40:30 aa1  vgetty: Modem returned ERROR
06/26 11:40:30 aa1  can't set silence period
06/26 11:40:30 aa1  vgetty: Modem returned ERROR
06/26 11:40:30 aa1  can't set transmit gain
06/26 11:40:30 aa1  vgetty: Modem returned ERROR
06/26 11:40:30 aa1  can't set record gain
06/26 11:40:30 

PCMCIA lan card

2006-06-27 Thread horn
i try to connect PCMCIA LAN card. It's name
3Com Ethernet adapter, model 3CCFE574BT. It not detect.

In dmseg it looks:
---
CIS is too long -- truncating
pccard1: Card has no no functions!
cbb1: PC Card activation failed
---

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


Re: 24/7/365 commercial support wanted

2006-06-27 Thread Ted Mittelstaedt

Companies that service exclusively Microsoft installations cannot even
manage
that.  For that kind of support you have to go to Sun or IBM and pay
the big bucks.

Ted


- Original Message - 
From: [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Tuesday, June 27, 2006 9:41 AM
Subject: 24/7/365 commercial support wanted


 Could somebody recommend a company that does 24/7/365 commercial support
 of FreeBSD server and has expertise in PostgreSQL, Apache, PHP and mail
 server as well.

 The company should be able to offer installation, all necessary upgrades
 and 1 hour emergency response.

 Thank you,
 Iv

 ___
 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: SSHD errors: will not forward X11 connections

2006-06-27 Thread m . apitz
El día Tuesday, June 27, 2006 a las 04:05:52PM -0500, Andrew escribió:

 Yes, I see that. But it is complete; I passed the '-o' flag to truss
 to write _all_ output to a file. Just to be sure, I ran it again, and
 diff'ed the output files; they are the same. To be clear, I do get a
 shell prompt when I login via SSH.

Try it with strace, does this produce more?

matthias

-- 
Matthias Apitz
Manager Technical Support - OCLC PICA GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclcpica.org/ http://guru.UnixLand.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]