syslog program data to remote loghost

2013-09-19 Thread Jeff DiNisco
I'm trying to send program specific logs to a remote host.

I get that logging to a remote server can be done with:
*.warn;*.notice;kern.* @loghost

And I get that logging a program can be done with:
!lwiod
audit.* /var/log/audit/smb.log

What I want to do is:
!lwiod
audit.*  @loghost

But for some reason this doesn't work.  Any advice would be greatly 
appreciated.  Thanks.

Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Bootloader/Replace GRUB

2013-05-13 Thread Jeff Tipton

On 05/13/2013 19:41, Louis Ciotti wrote:

Hello,

I replaced a Linux partition on my laptop with FreeBSD.  Now it will not
but giving me an GRUB error.  I assume I have to remove/replace GRUB, as I
will want to dual boot this with a windows partition.

So being the FreeBSD newbie that I am I am stumped on what to do to correct
this.

Thanks,

Lou
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Hi,

If it's an MBR partition, you can boot from a live CD (or installation 
CD and choose Live CD), log in as root and:


/sbin/gpart bootcode -b /boot/boot0 ada0

where ada0 is the HDD device. (Check gpart man page for more examples 
and parameters)


This will create a simple boot selector where you can choose between 
Windows/FreeBSD. There's also grub and grub2 in the ports but I've not 
tried.


-Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pwd.db/spwd.db file corupption when having unsafe system poweroff

2013-04-16 Thread Jeff Tipton
Hi,

I think if you hold down the power button for several seconds, it's the PSU you 
are switching off -- directly, without the operating system involved. Or else, 
it couldn't be the last resort when the OS hangs.

As for preventing such things to happen during power outages -- use UPS; it 
will protect from short power failures. For longer power failures, UPS control 
and monitoring systems can help you, such as sysutils/nut or sysutils/upsd 
(also depends on UPS model). They usually have a function of initiating 
graceful shutdown after user-predefined time of AC failure (you calculate the 
time depending on how long the batteries endure the load).

-Jeff
- Original Message -
From: Tak Tak
Sent: 04/16/13 12:06 PM
To: freebsd-questions@freebsd.org
Subject: pwd.db/spwd.db file corupption when having unsafe system poweroff

hi everyone, i wanna know what exactly happens for freebsd files and processes, 
when we shutdown system via pressing hardware power key for 3 seconds? here's 
what has happened to me, recently: i've faced a strange problem.. on one of my 
bsd servers, one of my coworkers had defined and edited some system users, and 
then, instead of safe shutdown, he kept pressing power-button for 3 seconds!.. 
after next startup, we couldn't login anymore! we had to replace pwd.db and 
spwd.db files, via bootable-freebsd Fixit mode, and then, everything was fine! 
we know that we are, for sure, better to use safe shutdown, but i can't 
guarantee it always happens. what if sudden power off makes same problem??so i 
can't leave my servers in such situations.. My questins are: what has happened 
exactly? just in-used corrupted files ?? is there any way to prevent this 
situation? (instead of having a read-only FS.. i can't apply it on this server 
for now..). i'm sorry if my question seems dummish! i'm t
 rying to
  increase my bsd knowledge, but i'm just on my way.. for sure, i appreciate 
any ideas or answers :) ___ 
freebsd-questions@freebsd.org mailing list 
http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, 
send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: When will binary packages be back?

2013-04-10 Thread Jeff Tipton

On 04/10/2013 20:39, Brett Glass wrote:
For many years, I've used FreeBSD binary packages to avoid long waits 
and/or having to set up a special build machine when creating small 
systems. But even though the development server security breach is now 
long past, there are no published binary packages for FreeBSD 9.1. 
When will they be back?


--Brett Glass

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org
There's a recent update on the compromise announcement page that 
promises the packages coming soon:


http://www.freebsd.org/news/2012-compromise.html

-Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: KDE4 package

2013-04-10 Thread Jeff Tipton

On 04/09/2013 19:40, Joshua Lokken wrote:

Hello, yesterday, I was happily installing kde4 from packages with:

pkg_add -r kde4

with $PACKAGESITE set to:

ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-stable/Latest/

I had to kill the install at the end of the work day, and when I attempt to
finish installing this morning, I get (and can verify via FTP) 'file not
found or no access'.  So, the kde4 package(s) was/were moved during the
night?  Any help is welcome, thanks.


JRL
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
The package is still there, of course (I just checked, in case). What is 
the value of $PACKAGESITE now?


# echo $PACKAGESITE

-Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: When will binary packages be back?

2013-04-10 Thread Jeff Tipton

On 04/10/2013 22:19, Mike. wrote:

On 4/10/2013 at 11:39 AM Brett Glass wrote:

|For many years, I've used FreeBSD binary packages to avoid long
|waits and/or having to set up a special build machine when creating
|small systems. But even though the development server security
|breach is now long past, there are no published binary packages for
|FreeBSD 9.1. When will they be back?
  =


Additionally, for me, building from ports for me has tended to pull in
many, many X-windows support files when they are not needed.

Specifically, I run a non-windowing system using command line tools.
When I tried to compile Samba from ports, I finally killed the 'make'
stage after three hours of compiling X-windows stuff.

Nowhere had I ever spcified that the system was running X or any other
windowing system.  Yet, there it was, three hours of wasted time.

I never had such issues when installing from packages.



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

@Mike

Then you must have selected some non-default options that have pulled in 
those as dependencies. You can remove them by:


make rmconfig

or, including all dependent ports:

make rmconfig-recursive

-Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: pkg search k3b returns nothing

2013-04-02 Thread Jeff Tipton

On 04/02/2013 11:35, Leslie Jensen wrote:


I've just changed to pkg and thought that I would try out how it works.

After copying the pkg.conf.sample to pkg.conf and doing

pkg update
Updating repository catalogue
repo.txz100% 1836 1.8KB/s   1.8KB/s 00:00

I tried the command pkg search k3b and it returned with nothing.

Is it so that not all ports are available as packages and that's why I 
don't get anything?


Thanks

/Leslie




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org
What repo are you using? According to the latest release announcement 
(http://www.freebsd.org/releases/9.1R/announce.html), no official repos 
hold pkgng, it's just a test environment with one package or so. The bad 
news is that pkg2ng conversion is irreversible:) I just googled and 
found an unofficial repo announced here:

http://lists.freebsd.org/pipermail/freebsd-stable/2013-February/072037.html

Or you can try to set up one yourself as explained here:
http://www.sysadmin-fr.org/fr/node/667

But I haven't tested how this works.

Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


[no subject]

2013-03-28 Thread Jeff Belyea
I have a new computer with windows 8, which I hate with a passion. I don't
play music and I don't do a lot of pictures. Basically I only search, some
EBay and games. Can I replace win8 with BSD?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Error: shared library mysqlclient.18 does not exist

2013-03-12 Thread Jeff Tipton

On 03/12/2013 17:03, Greg Larkin wrote:
Hi Jeff, Good news and thanks for the update. The maia Makefile seems 
to imply that RAR support can be provided either by archivers/rar or 
archivers/unrar, and if so, those options should likely be exclusive. 
I found some problems related to detecting the MySQL dependencies in 
general, too. I'll create a PR to fix these issues. In the mean time, 
can you test whether maia does what you want with just the UNRAR 
option enabled? Thank you, Greg -BEGIN PGP SIGNATURE- Version: 
GnuPG v1.4.13 (Darwin) Comment: Using GnuPG with Thunderbird - 
http://www.enigmail.net/ 
iEYEARECAAYFAlE/Q8kACgkQ0sRouByUApDjIwCgqujnwXRPxrNq4/ARjK6Tv98m 
5qsAn37lrANQqCp9op1Y4WPZXz1gcYn/ =NQdO -END PGP SIGNATURE- 
___ 
freebsd-questions@freebsd.org mailing list 
http://lists.freebsd.org/mailman/listinfo/freebsd-questions To 
unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org 

Hi Greg,

Thank you very much, your really helped me. Ok, I think I will test Maia 
with RARed eicar; only it will still take some time until I finish the 
whole mailsystem. I'll report back as soon as I get to the point of testing.


Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Jeff Tipton

Hi,

I'm trying to set up security/maia, and this is the error message I get:

Error: shared library mysqlclient.18 does not exist

Of course, the library does exist :(

# ls /usr/local/lib/mysql/
libmysqlclient.a   libmysqlclient_r.a libmysqld.a
libmysqlclient.so  libmysqlclient_r.solibmysqlservices.a
libmysqlclient.so.18   libmysqlclient_r.so.18 plugin

I googled about this, and I found 3 things to try but none of that was 
helpful here:


1. make a link:
ln -s /usr/local/lib/mysql/libmysqlclient.so.18 
/usr/local/lib/libmysqlclient.so.18


2. Check the root's umask and the directory permissions if they are 
correct, and they are:

# umask
22
#ll /usr/local/lib |grep mysql
lrwxr-xr-x   1 root  wheel41 Mar 11 16:25 libmysqlclient.so.18@ 
- /usr/local/lib/mysql/libmysqlclient.so.18

drwxr-xr-x   3 root  wheel   512 Mar 11 16:22 mysql/

# ll /usr/local/lib/mysql/
total 27276
-rw-r--r--  1 root  wheel   4844270 Mar 11 16:17 libmysqlclient.a
lrwxr-xr-x  1 root  wheel20 Mar 11 16:22 libmysqlclient.so@ - 
libmysqlclient.so.18

-rwxr-xr-x  1 root  wheel   3364688 Mar 11 16:22 libmysqlclient.so.18*
lrwxr-xr-x  1 root  wheel16 Mar 11 16:22 libmysqlclient_r.a@ - 
libmysqlclient.a
lrwxr-xr-x  1 root  wheel17 Mar 11 16:22 libmysqlclient_r.so@ - 
libmysqlclient.so
lrwxr-xr-x  1 root  wheel17 Mar 11 16:22 libmysqlclient_r.so.18@ 
- libmysqlclient.so

-rw-r--r--  1 root  wheel  20019340 Mar  7 15:08 libmysqld.a
-rw-r--r--  1 root  wheel  4598 Mar 11 16:17 libmysqlservices.a
drwxr-xr-x  2 root  wheel   512 Mar  8 19:01 plugin/

3. Update the ports tree. Ports tree is up to date.

Could someone, please, suggest what I could try to solve this?

Thanks,
Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Jeff Tipton

On 03/11/2013 20:00, Greg Larkin wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 12:59 PM, Jeff Tipton wrote:

Hi,

I'm trying to set up security/maia, and this is the error message I
get:

Error: shared library mysqlclient.18 does not exist

Of course, the library does exist :(

# ls /usr/local/lib/mysql/ libmysqlclient.a
libmysqlclient_r.a libmysqld.a libmysqlclient.so
libmysqlclient_r.solibmysqlservices.a libmysqlclient.so.18
libmysqlclient_r.so.18 plugin

I googled about this, and I found 3 things to try but none of that
was helpful here:

1. make a link: ln -s /usr/local/lib/mysql/libmysqlclient.so.18
/usr/local/lib/libmysqlclient.so.18

2. Check the root's umask and the directory permissions if they
are correct, and they are: # umask 22 #ll /usr/local/lib |grep
mysql lrwxr-xr-x   1 root  wheel41 Mar 11 16:25
libmysqlclient.so.18@ - /usr/local/lib/mysql/libmysqlclient.so.18
drwxr-xr-x   3 root  wheel   512 Mar 11 16:22 mysql/

# ll /usr/local/lib/mysql/ total 27276 -rw-r--r--  1 root  wheel
4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x  1 root  wheel
20 Mar 11 16:22 libmysqlclient.so@ - libmysqlclient.so.18
-rwxr-xr-x  1 root  wheel   3364688 Mar 11 16:22
libmysqlclient.so.18* lrwxr-xr-x  1 root  wheel16 Mar 11
16:22 libmysqlclient_r.a@ - libmysqlclient.a lrwxr-xr-x  1 root
wheel17 Mar 11 16:22 libmysqlclient_r.so@ -
libmysqlclient.so lrwxr-xr-x  1 root  wheel17 Mar 11 16:22
libmysqlclient_r.so.18@ - libmysqlclient.so -rw-r--r--  1 root
wheel  20019340 Mar  7 15:08 libmysqld.a -rw-r--r--  1 root  wheel
4598 Mar 11 16:17 libmysqlservices.a drwxr-xr-x  2 root  wheel
512 Mar  8 19:01 plugin/

3. Update the ports tree. Ports tree is up to date.

Could someone, please, suggest what I could try to solve this?

Thanks, Jeff

Hi Jeff,

At what point do you receive the error message?  Is it when you
attempt to run the executable built by the port?  If so, please run
the ldd command against the executable and post the output back here.

Thank you,
Greg


- -- 
Greg Larkin


http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlE+G8kACgkQ0sRouByUApCnLgCgwKZvBM7v60BXemWpG5v3k+IL
A2sAn2+xMhPf4x5bnqt02b+hds1inMUj
=nI5p
-END PGP SIGNATURE-
Thank you, Greg, for the reply. I get the error message while compiling 
security/maia port. mysql client itself is working ok, I can connect to 
my database server.


ldd output:
# ldd /usr/local/bin/mysql
/usr/local/bin/mysql:
libreadline.so.8 = /lib/libreadline.so.8 (0x800ab5000)
libz.so.6 = /lib/libz.so.6 (0x800cf5000)
libstdc++.so.6 = /usr/lib/libstdc++.so.6 (0x800f09000)
libm.so.5 = /lib/libm.so.5 (0x801219000)
libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x80143a000)
libthr.so.3 = /lib/libthr.so.3 (0x801647000)
libc.so.7 = /lib/libc.so.7 (0x801869000)
libncurses.so.8 = /lib/libncurses.so.8 (0x801bbc000)

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


Re: Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Jeff Tipton

On 03/11/2013 20:31, Greg Larkin wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 2:10 PM, Jeff Tipton wrote:

On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM, Jeff
Tipton wrote:

Hi,

I'm trying to set up security/maia, and this is the error
message I get:

Error: shared library mysqlclient.18 does not exist

Of course, the library does exist :(

# ls /usr/local/lib/mysql/ libmysqlclient.a
libmysqlclient_r.a libmysqld.a libmysqlclient.so
libmysqlclient_r.solibmysqlservices.a
libmysqlclient.so.18 libmysqlclient_r.so.18 plugin

I googled about this, and I found 3 things to try but none of
that was helpful here:

1. make a link: ln -s
/usr/local/lib/mysql/libmysqlclient.so.18
/usr/local/lib/libmysqlclient.so.18

2. Check the root's umask and the directory permissions if
they are correct, and they are: # umask 22 #ll /usr/local/lib
|grep mysql lrwxr-xr-x   1 root  wheel41 Mar 11
16:25 libmysqlclient.so.18@ -
/usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x   3 root
wheel   512 Mar 11 16:22 mysql/

# ll /usr/local/lib/mysql/ total 27276 -rw-r--r--  1 root
wheel 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x  1
root  wheel 20 Mar 11 16:22 libmysqlclient.so@ -
libmysqlclient.so.18 -rwxr-xr-x  1 root  wheel   3364688 Mar
11 16:22 libmysqlclient.so.18* lrwxr-xr-x  1 root  wheel
16 Mar 11 16:22 libmysqlclient_r.a@ - libmysqlclient.a
lrwxr-xr-x  1 root wheel17 Mar 11 16:22
libmysqlclient_r.so@ - libmysqlclient.so lrwxr-xr-x  1 root
wheel17 Mar 11 16:22 libmysqlclient_r.so.18@ -
libmysqlclient.so -rw-r--r--  1 root wheel  20019340 Mar  7
15:08 libmysqld.a -rw-r--r--  1 root  wheel 4598 Mar 11 16:17
libmysqlservices.a drwxr-xr-x  2 root  wheel 512 Mar  8 19:01
plugin/

3. Update the ports tree. Ports tree is up to date.

Could someone, please, suggest what I could try to solve
this?

Thanks, Jeff

Hi Jeff,

At what point do you receive the error message?  Is it when you
attempt to run the executable built by the port?  If so, please
run the ldd command against the executable and post the output back
here.

Thank you, Greg


-- Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me Thank
you, Greg, for the reply. I get the error message while compiling
security/maia port. mysql client itself is working ok, I can
connect to my database server.

ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql:
libreadline.so.8 = /lib/libreadline.so.8 (0x800ab5000) libz.so.6
= /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 =
/usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 = /lib/libm.so.5
(0x801219000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x80143a000)
libthr.so.3 = /lib/libthr.so.3 (0x801647000) libc.so.7 =
/lib/libc.so.7 (0x801869000) libncurses.so.8 =
/lib/libncurses.so.8 (0x801bbc000)


Hi Jeff,

Can you post the relevant bits of build output where the error message
shows up?  If it happens during the configure phase of the port build,
you'll also want to post the end of the config.log file found in the
port work directory.

Thank you,
Greg


- -- 
Greg Larkin


http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlE+IxoACgkQ0sRouByUApB5XQCfcFo9nRCtFzuWJB/yg7tB6W6O
h5MAnAqKEtOUuCwqlf0+HM5GSifo6PAk
=drjz
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
I tried to run make several times, and previously some build depends 
were compiled. But now the work directory doesn't even get created, 
and the process stops immediately:


/usr/ports/security/maia# make install clean
===   maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 - 
not found
===Verifying install for mysqlclient.18 in 
/usr/ports/databases/mysql55-client

===   Returning to build of maia-1.0.3.r1575_3
Error: shared library mysqlclient.18 does not exist
*** [lib-depends] Error code 1

Stop in /basejail/usr/ports/security/maia.
/usr/ports/security/maia#


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


Re: Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Jeff Tipton

On 03/11/2013 21:00, Greg Larkin wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 2:47 PM, Jeff Tipton wrote:

On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM, Jeff
Tipton wrote:

On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM,
Jeff Tipton wrote:

Hi,

I'm trying to set up security/maia, and this is the
error message I get:

Error: shared library mysqlclient.18 does not exist

Of course, the library does exist :(

# ls /usr/local/lib/mysql/ libmysqlclient.a
libmysqlclient_r.a libmysqld.a libmysqlclient.so
libmysqlclient_r.solibmysqlservices.a
libmysqlclient.so.18 libmysqlclient_r.so.18 plugin

I googled about this, and I found 3 things to try but
none of that was helpful here:

1. make a link: ln -s
/usr/local/lib/mysql/libmysqlclient.so.18
/usr/local/lib/libmysqlclient.so.18

2. Check the root's umask and the directory permissions
if they are correct, and they are: # umask 22 #ll
/usr/local/lib |grep mysql lrwxr-xr-x   1 root  wheel
41 Mar 11 16:25 libmysqlclient.so.18@ -
/usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x
3 root wheel   512 Mar 11 16:22 mysql/

# ll /usr/local/lib/mysql/ total 27276 -rw-r--r--  1
root wheel 4844270 Mar 11 16:17 libmysqlclient.a
lrwxr-xr-x  1 root  wheel 20 Mar 11 16:22
libmysqlclient.so@ - libmysqlclient.so.18 -rwxr-xr-x
1 root  wheel   3364688 Mar 11 16:22
libmysqlclient.so.18* lrwxr-xr-x  1 root  wheel 16 Mar
11 16:22 libmysqlclient_r.a@ - libmysqlclient.a
lrwxr-xr-x  1 root wheel17 Mar 11 16:22
libmysqlclient_r.so@ - libmysqlclient.so lrwxr-xr-x  1
root wheel17 Mar 11 16:22
libmysqlclient_r.so.18@ - libmysqlclient.so -rw-r--r--
1 root wheel  20019340 Mar  7 15:08 libmysqld.a
-rw-r--r--  1 root  wheel 4598 Mar 11 16:17
libmysqlservices.a drwxr-xr-x  2 root  wheel 512 Mar  8
19:01 plugin/

3. Update the ports tree. Ports tree is up to date.

Could someone, please, suggest what I could try to
solve this?

Thanks, Jeff

Hi Jeff,

At what point do you receive the error message?  Is it when
you attempt to run the executable built by the port?  If so,
please run the ldd command against the executable and post
the output back here.

Thank you, Greg


-- Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
Thank you, Greg, for the reply. I get the error message while
compiling security/maia port. mysql client itself is working
ok, I can connect to my database server.

ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql:
libreadline.so.8 = /lib/libreadline.so.8 (0x800ab5000)
libz.so.6 = /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 =
/usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 =
/lib/libm.so.5 (0x801219000) libgcc_s.so.1 =
/lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 =
/lib/libthr.so.3 (0x801647000) libc.so.7 = /lib/libc.so.7
(0x801869000) libncurses.so.8 = /lib/libncurses.so.8
(0x801bbc000)


Hi Jeff,

Can you post the relevant bits of build output where the error
message shows up?  If it happens during the configure phase of the
port build, you'll also want to post the end of the config.log file
found in the port work directory.

Thank you, Greg


I tried to run make several times, and previously some build
depends were compiled. But now the work directory doesn't even
get created, and the process stops immediately:

/usr/ports/security/maia# make install clean ===
maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 - not
found ===Verifying install for mysqlclient.18 in
/usr/ports/databases/mysql55-client ===   Returning to build of
maia-1.0.3.r1575_3 Error: shared library mysqlclient.18 does not
exist *** [lib-depends] Error code 1

Stop in /basejail/usr/ports/security/maia.
/usr/ports/security/maia#



Ok, it looks like something is messed up with your ldconfig search
path.  To confirm that, please run this command and post results back
here:

ldconfig -r| grep mysql

Thank you,
Greg
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlE+KdEACgkQ0sRouByUApBP3gCfalFeDTMflaCy+vnF3FMoTht8
+8sAn0oZBRgUlryNk21zzYZ0KMJYsGER
=3LRY
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

# ldconfig -r| grep mysql
search directories: 
/lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth

218:-lmysqlclient.18 = /usr/local/lib/libmysqlclient.so.18
219:-lmysqlclient.18 = /usr/local/lib/mysql/libmysqlclient.so.18
220:-lmysqlclient_r.18 = /usr/local/lib/mysql/libmysqlclient_r.so.18

I installed both mysql client and server from ports. The versions are:
mysql-client-5.5.30
mysql-server-5.5.30

Re: Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Jeff Tipton

On 03/11/2013 21:34, Jeff Tipton wrote:

On 03/11/2013 21:00, Greg Larkin wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 2:47 PM, Jeff Tipton wrote:

On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM, Jeff
Tipton wrote:

On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM,
Jeff Tipton wrote:

Hi,

I'm trying to set up security/maia, and this is the
error message I get:

Error: shared library mysqlclient.18 does not exist

Of course, the library does exist :(

# ls /usr/local/lib/mysql/ libmysqlclient.a
libmysqlclient_r.a libmysqld.a libmysqlclient.so
libmysqlclient_r.solibmysqlservices.a
libmysqlclient.so.18 libmysqlclient_r.so.18 plugin

I googled about this, and I found 3 things to try but
none of that was helpful here:

1. make a link: ln -s
/usr/local/lib/mysql/libmysqlclient.so.18
/usr/local/lib/libmysqlclient.so.18

2. Check the root's umask and the directory permissions
if they are correct, and they are: # umask 22 #ll
/usr/local/lib |grep mysql lrwxr-xr-x   1 root wheel
41 Mar 11 16:25 libmysqlclient.so.18@ -
/usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x
3 root wheel   512 Mar 11 16:22 mysql/

# ll /usr/local/lib/mysql/ total 27276 -rw-r--r-- 1
root wheel 4844270 Mar 11 16:17 libmysqlclient.a
lrwxr-xr-x  1 root  wheel 20 Mar 11 16:22
libmysqlclient.so@ - libmysqlclient.so.18 -rwxr-xr-x
1 root  wheel   3364688 Mar 11 16:22
libmysqlclient.so.18* lrwxr-xr-x  1 root  wheel 16 Mar
11 16:22 libmysqlclient_r.a@ - libmysqlclient.a
lrwxr-xr-x  1 root wheel17 Mar 11 16:22
libmysqlclient_r.so@ - libmysqlclient.so lrwxr-xr-x  1
root wheel17 Mar 11 16:22
libmysqlclient_r.so.18@ - libmysqlclient.so -rw-r--r--
1 root wheel  20019340 Mar  7 15:08 libmysqld.a
-rw-r--r--  1 root  wheel 4598 Mar 11 16:17
libmysqlservices.a drwxr-xr-x  2 root  wheel 512 Mar  8
19:01 plugin/

3. Update the ports tree. Ports tree is up to date.

Could someone, please, suggest what I could try to
solve this?

Thanks, Jeff

Hi Jeff,

At what point do you receive the error message?  Is it when
you attempt to run the executable built by the port?  If so,
please run the ldd command against the executable and post
the output back here.

Thank you, Greg


-- Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
Thank you, Greg, for the reply. I get the error message while
compiling security/maia port. mysql client itself is working
ok, I can connect to my database server.

ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql:
libreadline.so.8 = /lib/libreadline.so.8 (0x800ab5000)
libz.so.6 = /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 =
/usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 =
/lib/libm.so.5 (0x801219000) libgcc_s.so.1 =
/lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 =
/lib/libthr.so.3 (0x801647000) libc.so.7 = /lib/libc.so.7
(0x801869000) libncurses.so.8 = /lib/libncurses.so.8
(0x801bbc000)


Hi Jeff,

Can you post the relevant bits of build output where the error
message shows up?  If it happens during the configure phase of the
port build, you'll also want to post the end of the config.log file
found in the port work directory.

Thank you, Greg


I tried to run make several times, and previously some build
depends were compiled. But now the work directory doesn't even
get created, and the process stops immediately:

/usr/ports/security/maia# make install clean ===
maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 - not
found ===Verifying install for mysqlclient.18 in
/usr/ports/databases/mysql55-client ===   Returning to build of
maia-1.0.3.r1575_3 Error: shared library mysqlclient.18 does not
exist *** [lib-depends] Error code 1

Stop in /basejail/usr/ports/security/maia.
/usr/ports/security/maia#



Ok, it looks like something is messed up with your ldconfig search
path.  To confirm that, please run this command and post results back
here:

ldconfig -r| grep mysql

Thank you,
Greg
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlE+KdEACgkQ0sRouByUApBP3gCfalFeDTMflaCy+vnF3FMoTht8
+8sAn0oZBRgUlryNk21zzYZ0KMJYsGER
=3LRY
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org

# ldconfig -r| grep mysql
search directories: 
/lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth

218:-lmysqlclient.18 = /usr/local/lib/libmysqlclient.so.18
219:-lmysqlclient.18 = /usr/local/lib/mysql/libmysqlclient.so.18
220:-lmysqlclient_r.18 = /usr/local/lib/mysql/libmysqlclient_r.so.18

I installed both mysql client and server from ports. The versions are:
mysql-client-5.5.30
mysql

Re: Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Jeff Tipton

On 03/12/2013 00:07, Greg Larkin wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 5:42 PM, Jeff Tipton wrote:

On 03/11/2013 21:34, Jeff Tipton wrote:

On 03/11/2013 21:00, Greg Larkin wrote:

On 3/11/13 2:47 PM, Jeff Tipton wrote:

On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM,
Jeff Tipton wrote:

On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13
12:59 PM, Jeff Tipton wrote:

Hi,

I'm trying to set up security/maia, and this is
the error message I get:

Error: shared library mysqlclient.18 does not
exist

Of course, the library does exist :(

# ls /usr/local/lib/mysql/ libmysqlclient.a
libmysqlclient_r.a libmysqld.a
libmysqlclient.so libmysqlclient_r.so
libmysqlservices.a libmysqlclient.so.18
libmysqlclient_r.so.18 plugin

I googled about this, and I found 3 things to
try but none of that was helpful here:

1. make a link: ln -s
/usr/local/lib/mysql/libmysqlclient.so.18
/usr/local/lib/libmysqlclient.so.18

2. Check the root's umask and the directory
permissions if they are correct, and they are:
# umask 22 #ll /usr/local/lib |grep mysql
lrwxr-xr-x   1 root wheel 41 Mar 11 16:25
libmysqlclient.so.18@ -
/usr/local/lib/mysql/libmysqlclient.so.18
drwxr-xr-x 3 root wheel   512 Mar 11 16:22
mysql/

# ll /usr/local/lib/mysql/ total 27276
-rw-r--r-- 1 root wheel 4844270 Mar 11 16:17
libmysqlclient.a lrwxr-xr-x  1 root  wheel 20
Mar 11 16:22 libmysqlclient.so@ -
libmysqlclient.so.18 -rwxr-xr-x 1 root  wheel
3364688 Mar 11 16:22 libmysqlclient.so.18*
lrwxr-xr-x  1 root  wheel 16 Mar 11 16:22
libmysqlclient_r.a@ - libmysqlclient.a
lrwxr-xr-x  1 root wheel17 Mar 11
16:22 libmysqlclient_r.so@ - libmysqlclient.so
lrwxr-xr-x  1 root wheel17 Mar 11
16:22 libmysqlclient_r.so.18@ -
libmysqlclient.so -rw-r--r-- 1 root wheel
20019340 Mar  7 15:08 libmysqld.a -rw-r--r--  1
root  wheel 4598 Mar 11 16:17
libmysqlservices.a drwxr-xr-x  2 root  wheel
512 Mar  8 19:01 plugin/

3. Update the ports tree. Ports tree is up to
date.

Could someone, please, suggest what I could try
to solve this?

Thanks, Jeff

Hi Jeff,

At what point do you receive the error message?  Is
it when you attempt to run the executable built by
the port?  If so, please run the ldd command against
the executable and post the output back here.

Thank you, Greg


-- Greg Larkin

http://www.FreeBSD.org/   - The Power To
Serve http://www.sourcehosting.net/ - Ready. Set.
Code. http://twitter.com/cpucycle/  - Follow you,
follow me Thank you, Greg, for the reply. I get the
error message while compiling security/maia port.
mysql client itself is working ok, I can connect to
my database server.

ldd output: # ldd /usr/local/bin/mysql
/usr/local/bin/mysql: libreadline.so.8 =
/lib/libreadline.so.8 (0x800ab5000) libz.so.6 =
/lib/libz.so.6 (0x800cf5000) libstdc++.so.6 =
/usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 =
/lib/libm.so.5 (0x801219000) libgcc_s.so.1 =
/lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 =
/lib/libthr.so.3 (0x801647000) libc.so.7 =
/lib/libc.so.7 (0x801869000) libncurses.so.8 =
/lib/libncurses.so.8 (0x801bbc000)


Hi Jeff,

Can you post the relevant bits of build output where the
error message shows up?  If it happens during the configure
phase of the port build, you'll also want to post the end
of the config.log file found in the port work directory.

Thank you, Greg


I tried to run make several times, and previously some
build depends were compiled. But now the work directory
doesn't even get created, and the process stops
immediately:

/usr/ports/security/maia# make install clean ===
maia-1.0.3.r1575_3 depends on shared library:
mysqlclient.18 - not found ===Verifying install for
mysqlclient.18 in /usr/ports/databases/mysql55-client ===
Returning to build of maia-1.0.3.r1575_3 Error: shared
library mysqlclient.18 does not exist *** [lib-depends]
Error code 1

Stop in /basejail/usr/ports/security/maia.
/usr/ports/security/maia#



Ok, it looks like something is messed up with your ldconfig search
path.  To confirm that, please run this command and post results
back here:

ldconfig -r| grep mysql

Thank you, Greg

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

# ldconfig -r| grep mysql search directories:
/lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth




218:-lmysqlclient.18 = /usr/local/lib/libmysqlclient.so.18

219:-lmysqlclient.18 =
/usr/local/lib/mysql/libmysqlclient.so.18 220:-lmysqlclient_r.18
= /usr/local/lib/mysql/libmysqlclient_r.so.18

I installed both mysql client and server from ports. The versions
are: mysql-client-5.5.30 mysql-server-5.5.30

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

Re: Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Jeff Tipton

On 03/12/2013 00:36, Greg Larkin wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 6:21 PM, Jeff Tipton wrote:

On 03/12/2013 00:07, Greg Larkin wrote: On 3/11/13 5:42 PM, Jeff
Tipton wrote:

On 03/11/2013 21:34, Jeff Tipton wrote:

On 03/11/2013 21:00, Greg Larkin wrote:

On 3/11/13 2:47 PM, Jeff Tipton wrote:

On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13
2:10 PM, Jeff Tipton wrote:

On 03/11/2013 20:00, Greg Larkin wrote: On
3/11/13 12:59 PM, Jeff Tipton wrote:

Hi,

I'm trying to set up security/maia, and
this is the error message I get:

Error: shared library mysqlclient.18
does not exist

Of course, the library does exist :(

# ls /usr/local/lib/mysql/
libmysqlclient.a libmysqlclient_r.a
libmysqld.a libmysqlclient.so
libmysqlclient_r.so libmysqlservices.a
libmysqlclient.so.18
libmysqlclient_r.so.18 plugin

I googled about this, and I found 3
things to try but none of that was
helpful here:

1. make a link: ln -s
/usr/local/lib/mysql/libmysqlclient.so.18



/usr/local/lib/libmysqlclient.so.18

2. Check the root's umask and the
directory permissions if they are
correct, and they are: # umask 22 #ll
/usr/local/lib |grep mysql lrwxr-xr-x   1
root wheel 41 Mar 11 16:25
libmysqlclient.so.18@ -
/usr/local/lib/mysql/libmysqlclient.so.18



drwxr-xr-x 3 root wheel   512 Mar 11 16:22

mysql/

# ll /usr/local/lib/mysql/ total 27276
-rw-r--r-- 1 root wheel 4844270 Mar 11
16:17 libmysqlclient.a lrwxr-xr-x  1 root
wheel 20 Mar 11 16:22 libmysqlclient.so@
- libmysqlclient.so.18 -rwxr-xr-x 1 root
wheel 3364688 Mar 11 16:22
libmysqlclient.so.18* lrwxr-xr-x  1 root
wheel 16 Mar 11 16:22 libmysqlclient_r.a@
- libmysqlclient.a lrwxr-xr-x  1 root
wheel17 Mar 11 16:22
libmysqlclient_r.so@ -
libmysqlclient.so lrwxr-xr-x  1 root
wheel17 Mar 11 16:22
libmysqlclient_r.so.18@ -
libmysqlclient.so -rw-r--r-- 1 root
wheel 20019340 Mar  7 15:08 libmysqld.a
-rw-r--r--  1 root  wheel 4598 Mar 11
16:17 libmysqlservices.a drwxr-xr-x  2
root  wheel 512 Mar  8 19:01 plugin/

3. Update the ports tree. Ports tree is
up to date.

Could someone, please, suggest what I
could try to solve this?

Thanks, Jeff

Hi Jeff,

At what point do you receive the error message?
Is it when you attempt to run the executable
built by the port?  If so, please run the ldd
command against the executable and post the
output back here.

Thank you, Greg


-- Greg Larkin

http://www.FreeBSD.org/   - The Power
To Serve http://www.sourcehosting.net/ -
Ready. Set. Code. http://twitter.com/cpucycle/
- Follow you, follow me Thank you, Greg, for
the reply. I get the error message while
compiling security/maia port. mysql client
itself is working ok, I can connect to my
database server.

ldd output: # ldd /usr/local/bin/mysql
/usr/local/bin/mysql: libreadline.so.8 =
/lib/libreadline.so.8 (0x800ab5000) libz.so.6
= /lib/libz.so.6 (0x800cf5000) libstdc++.so.6
= /usr/lib/libstdc++.so.6 (0x800f09000)
libm.so.5 = /lib/libm.so.5 (0x801219000)
libgcc_s.so.1 = /lib/libgcc_s.so.1
(0x80143a000) libthr.so.3 = /lib/libthr.so.3
(0x801647000) libc.so.7 = /lib/libc.so.7
(0x801869000) libncurses.so.8 =
/lib/libncurses.so.8 (0x801bbc000)


Hi Jeff,

Can you post the relevant bits of build output where
the error message shows up?  If it happens during the
configure phase of the port build, you'll also want
to post the end of the config.log file found in the
port work directory.

Thank you, Greg


I tried to run make several times, and previously
some build depends were compiled. But now the work
directory doesn't even get created, and the process
stops immediately:

/usr/ports/security/maia# make install clean ===
maia-1.0.3.r1575_3 depends on shared library:
mysqlclient.18 - not found ===Verifying install
for mysqlclient.18 in
/usr/ports/databases/mysql55-client === Returning to
build of maia-1.0.3.r1575_3 Error: shared library
mysqlclient.18 does not exist *** [lib-depends]
Error code 1

Stop in /basejail/usr/ports/security/maia.
/usr/ports/security/maia#



Ok, it looks like something is messed up with your ldconfig
search path.  To confirm that, please run this command and
post results back here:

ldconfig -r| grep mysql

Thank you, Greg

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

# ldconfig -r| grep mysql search directories:
/lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth





218:-lmysqlclient.18 = /usr/local/lib/libmysqlclient.so.18

219:-lmysqlclient.18 =
/usr/local/lib/mysql/libmysqlclient.so.18
220:-lmysqlclient_r.18 =
/usr/local/lib/mysql/libmysqlclient_r.so.18

I installed both mysql client and server from ports. The
versions are: mysql-client-5.5.30 mysql-server-5.5.30

___
freebsd-questions@freebsd.org mailing list
http

Re: Cannot install on HP Pavilion

2013-02-25 Thread Jeff Tipton

On 02/25/2013 22:39, Russell Murphy wrote:

ERROR: No boot disk has been detected or the disk has failed

Isn't this a BIOS message about a failing harddisk?

http://h30434.www3.hp.com/t5/Desktop-Operating-Systems-e-g-Windows-8-Software-Recovery/Error-no-boot-disk-has-been-detected-or-the-disk-has-failed/td-p/1495065
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: jail and networking

2013-02-20 Thread Jeff Tipton

On 02/20/2013 19:42, Bernt Hansson wrote:

On 2013-02-20 17:23, Teske, Devin wrote:

On Wed, 20 Feb 2013, Bernt Hansson wrote:


Hello list!

I dont seem to get net working in a test jail.

These I've tried;

ftp, fetch, telnet

They time out.

Ssh sort of work.

32bit# ssh 10.0.0.3
ssh_askpass: exec(/usr/local/bin/ssh-askpass): No such file or 
directory

Host key verification failed.

jail is 8.3-STABLE i386 GENERIC

host is FreeBSD 8.3-STABLE amd64 GENERIC

I'm sure you want more info so just tell me what info.


Commonly the problem is that you are jexec'd into the jail and I 
find that tools like ssh, ftp, telnet, etc. don't work when you're in 
the jail via jexec but instead what works way better is if you ssh 
into the jail (via the jail'd ssh process of course).


Does that seem to be the case in your situation?


If you mean this sshd  IsJ0:00,00 /usr/sbin/sshd

Then no.

%ssh 10.0.0.10 ssh: connect to host 10.0.0.10 port 22: Operation timed 
out


I did have an alias on the host to the jail's ip.
Tried to restart the jail it went fine, but now I can't jexec in to 
the jail.


testbox# jexec 1 tcsh
jexec: jail_attach(1): Invalid argument

Sooo... I'm kind of out of ideas.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org
What does jls command say? If you have restarted your jail, it's ID 
most likely has changed.

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


Re: jail and networking

2013-02-20 Thread Jeff Tipton

On 02/20/2013 20:59, Teske, Devin wrote:

On Wed, 20 Feb 2013, Bernt Hansson wrote:


On 2013-02-20 19:07, Jeff Tipton wrote:

On 02/20/2013 19:42, Bernt Hansson wrote:

On 2013-02-20 17:23, Teske, Devin wrote:

On Wed, 20 Feb 2013, Bernt Hansson wrote:


Hello list!

I dont seem to get net working in a test jail.

These I've tried;

ftp, fetch, telnet

They time out.

Ssh sort of work.

32bit# ssh 10.0.0.3
ssh_askpass: exec(/usr/local/bin/ssh-askpass): No such file or
directory
Host key verification failed.

jail is 8.3-STABLE i386 GENERIC

host is FreeBSD 8.3-STABLE amd64 GENERIC

I'm sure you want more info so just tell me what info.

Commonly the problem is that you are jexec'd into the jail and I
find that tools like ssh, ftp, telnet, etc. don't work when you're in
the jail via jexec but instead what works way better is if you ssh
into the jail (via the jail'd ssh process of course).

Does that seem to be the case in your situation?

If you mean this sshd  IsJ0:00,00 /usr/sbin/sshd

Then no.

%ssh 10.0.0.10 ssh: connect to host 10.0.0.10 port 22: Operation timed
out

I did have an alias on the host to the jail's ip.
Tried to restart the jail it went fine, but now I can't jexec in to
the jail.

testbox# jexec 1 tcsh
jexec: jail_attach(1): Invalid argument

Sooo... I'm kind of out of ideas.

What does jls command say? If you have restarted your jail, it's ID
most likely has changed.

The ID did change, didn't know about that, thank you.

But still, sshd isn't running in the jail

32bit# ps ax
PID  TT  STAT  TIME COMMAND
   2385  ??  IsJ0:00,00 sendmail: Queue runner@00:30:00 for
/var/spool/clientmqueue (sendmail)
   2391  ??  SsJ0:00,00 /usr/sbin/cron -s
   2464   0  SJ 0:00,01 tcsh
   2482   0  R+J0:00,00 ps ax

testbox# ps ax | grep J
   2385  ??  IsJ0:00,00 sendmail: Queue runner@00:30:00 for
/var/spool/clientmqueue (sendmail)
   2391  ??  SsJ0:00,00 /usr/sbin/cron -s
   2488   0  S+ 0:00,00 grep J

testbox is the host.

A stab in the dark, but...

Did you add sshd_enable=YES to the jail's rc.conf(5)?

Or, from within the jail, what does

service sshd status

say?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cdrecord: Please report.

2013-02-20 Thread Jeff Tipton

On 02/21/2013 01:52, Ronald F. Guilmette wrote:


I am not a happy camper.

Now that I've ``upgraded'' from 8.3-RELEASE to 9.1-RELEASE it appears that
good old burncd no longer works, apparently because the CD/DVD drive is
now exclusively handled as an ATAPICAM device.

So I try to use cdrecord and I get this:

# cdrecord dev=0,0,0 driveropts=burnfree FreeBSD-9.1-RELEASE-i386-disc1.iso
cdrecord: No write mode specified.
cdrecord: Assuming -sao mode.
cdrecord: If your drive does not accept -sao, try -tao.
cdrecord: Future versions of cdrecord may have different drive dependent 
defaults.
Cdrecord-ProDVD-ProBD-Clone 3.00 (amd64-unknown-freebsd9.1) Copyright (C) 
1995-2010 J�rg Schilling
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Using libscg version 'schily-0.9'.
Device type: Removable CD-ROM
Version: 0
Response Format: 2
Capabilities   :
Vendor_info: '_NEC'
Identifikation : 'DVD_RW ND-3550A '
Revision   : '1.05'
Device seems to be: Generic mmc2 DVD-R/DVD-RW/DVD-RAM.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96R RAW/R96R
cdrecord: Warning: Cannot read drive buffer.
cdrecord: Warning: The DMA speed test has been skipped.
Starting to write CD/DVD/BD at speed 48 in real SAO mode for single session.
Last chance to quit, starting real write0 seconds. Operation starts.
cdrecord: WARNING: Drive returns wrong startsec (0) using -150
cdrecord: Input/output error. write_g1: scsi sendcmd: retryable error
CDB:  2A 00 00 00 02 80 00 00 20 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 21 02 00 00 00 00 00 00 00 00 
00 00 00 00 00 00 00 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x21 Qual 0x02 (invalid address for write) Fru 0x0
Sense flags: Blk 0 (not valid)
resid: 65536
cmd finished after 4.257s timeout 200s
write track data: error after 1310720 bytes
cdrecord: The current problem looks like a buffer underrun.
cdrecord: It looks like 'driveropts=burnfree' does not work for this drive.
cdrecord: Please report.
cdrecord: Make sure that you are root, enable DMA and check your HW/OS set up.


So, um, WTF?  To whom am supposed to report this failure?

And more to the point, how can I burn a simple damn CD now?


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
How did you install cdrecord? I had a similar problem year ago when I 
installed it from a 9.0-RELEASE package that turned out to have been 
compiled against an earlier base. So compiling from ports solved the 
problem. I actually had to compile other cd-related progs, too.

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


Re: Ports Packages [Stable] in sync

2013-02-17 Thread Jeff Tipton

On 02/17/2013 13:13, Damien Fleuriot wrote:

On 16 Feb 2013, at 16:56, Jeff Tipton jef...@mail.com wrote:


Hi,

I upgraded 9.0 - 9.1 on my netbook and only then found out that there are no 
packages for 9.1-RELEASE. On my desktops, I keep ports and packages at the RELEASE 
versions, so I only have to compile when I need non-default options or when there 
are no packages. Would it be possible to get the ports snapshot that was used to 
compile the 9-STABLE packages? I think I could use subversion but then I need to 
know the revision number of that snapshot. What do you suggest?

Thanks,
Jeff


Hi Jeff,

I think you might be confused here.

It is my understanding that there are ports for:
- HEAD
- x.y-RELEASE

I don't think you're going to be able to get a snapshot from 9-STABLE, because 
-STABLE is a continuing work.

What version do you consider to be 9-STABLE ?
Every time there's a new commit you get a new 9-STABLE.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Thank you, Damien, for the reply. AFAIK, STABLE gets updated every 2 
weeks but not every day, and it seems to be that because of the 
intrusion, it has not been updated for long. The versions of the ports 
that come with the 9.1-RELEASE are even slightly newer than those of 
9-STABLE packages. I think if I don't get the revision number from which 
the 9-STABLE was updated last time I'll use the ports tree that comes 
with 9.1-RELEASE. I hope it won't cause much version incompatibilities.

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


Ports Packages [Stable] in sync

2013-02-16 Thread Jeff Tipton

Hi,

I upgraded 9.0 - 9.1 on my netbook and only then found out that there 
are no packages for 9.1-RELEASE. On my desktops, I keep ports and 
packages at the RELEASE versions, so I only have to compile when I need 
non-default options or when there are no packages. Would it be possible 
to get the ports snapshot that was used to compile the 9-STABLE 
packages? I think I could use subversion but then I need to know the 
revision number of that snapshot. What do you suggest?


Thanks,
Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: user specific xorg.conf?

2012-08-19 Thread Jeff Tipton

On 08/19/2012 20:51, Polytropon wrote:

On Sun, 19 Aug 2012 11:44:15 -0600, Gary Aitken wrote:

In attempting to zero in on my system crash problem,
I need to customize xorg.conf.
As I read the documentation,
there is no way for an ordinary user to provide an xorg.conf;
Xorg looks for files in the normal server search path,
which does not include any user directories --
unless the user is root.

What if you do (as a user) the startx command and try
to hand the -configfile  to the program, like this:

% Xorg -file /home/user/test/xorg.conf

I haven't tried that myself, but according to man Xorg
this option does exist. However, I'm not sure if xinit
or startx honors this option if you use them (to make
use of ~/.xinitrc).




Am I missing something?
Is this because of the security vulnerabilities in X?

A valid consideration. With a malfunctioning X server, you
can easily crash a system. That's why a user should not be
able to have access to such files.


Gary, why do you need user-specific xorg.conf? By default, there's no 
xorg.conf file, so if you generate one and put it in /etc/X11/xorg.conf, 
your file will be used instead of the default options. And before 
putting the file there, you can test it, as suggested in the Manual:


X -config /root/xorg.conf.new -retro
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can a jail have link to outside of the jail?

2012-08-16 Thread Jeff Tipton

On 08/16/2012 21:51, Len Conrad wrote:

I have an ssh user who needs only to search some log files not in his jail. The 
jail required because I don't want the user seeing the rest the machine.  If 
the dirs were linked to his jail, would that work?

What I'd really like is something like ftpchroot for but ssh.

suggestions?

Len


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
It's not clear from what you are writing whether you mean JAIL(8) (a 
secure, virtual FreeBSD OS on top of host OS) or chrooted directories. 
Anyway, ssh can be set up very easily to have some chrooted sftp users. 
Read this:


https://calomel.org/sftp_chroot.html

You will probably have to think about where to place the log directory 
it if it's important to have no other logs in it.


-Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: can't build Samba 35 on FreeBSD 9.0

2012-08-15 Thread Jeff Tipton

On 08/16/2012 04:59, James D. Parra wrote:

Hello,

I am trying to install Samba35 on FreeBSD 9.0 but I keep getting a build error.

portsnap extract  portsnap fetch update
cd /usr/ports/devel/libtool  make deinstall  make install clean
cd /usr/ports/security/krb5  make deinstall
make KRB5_HOME=/usr/local install clean

and finally;
cd /usr/ports/net/samba35  make KRB5_HOME=/usr/local install clean

With my fingers crossed I hoped for the best and yet I received the following 
error during compiling;

snip
Compiling libsmb/libsmb_setget.c
libsmb/libsmb_setget.c: In function 'smbc_getOptionUseCCache':
libsmb/libsmb_setget.c:427: error: 'SMB_CTX_FLAG_USE_CCACHE' undeclared (first 
use in this function)
libsmb/libsmb_setget.c:427: error: (Each undeclared identifier is reported only 
once
libsmb/libsmb_setget.c:427: error: for each function it appears in.)
libsmb/libsmb_setget.c: In function 'smbc_setOptionUseCCache':
libsmb/libsmb_setget.c:435: error: 'SMB_CTX_FLAG_USE_CCACHE' undeclared (first 
use in this function)
The following command failed:
cc -I/usr/local/include -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -I. 
-I/usr/ports/net/samba35/work/samba-3.5.15/source3 
-I/usr/ports/net/samba35/work/samba-3.5.15/source3/iniparser/src -Iinclude 
-I./include  -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns 
-I./librpc -I./.. -DHAVE_CONFIG_H  -I/usr/local/include -I/usr/local/include 
-Iinclude -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./libaddns 
-I./librpc -I./.. -I./../lib/popt -I/usr/local/include -DLDAP_DEPRECATED  
-I/usr/ports/net/samba35/work/samba-3.5.15/source3/lib -I.. -I../source4 
-D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3  -fPIC -DPIC -c libsmb/libsmb_setget.c -o 
libsmb/libsmb_setget.o
gmake: *** [libsmb/libsmb_setget.o] Error 1
*** Error code 1

Stop in /usr/ports/net/samba35.
*** Error code 1

Stop in /usr/ports/net/samba35.
snip


Does anyone have any solutions on how I can get Samba installed and resolve the 
above error?

Many thanks in advance.


James



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

Did you already have a ports tree?
If so, you only needed to

#portsnap fetch update

By portsnap extract you are overwriting the existing ports tree, not 
updating. And I don't think it's a good idea to make deinstall from 
the ports tree other than the one from which you did make install. 
Better use pkg_delete (add -f, if it doesn't want to remove the 
package/port). You may now have leftover from the older installation 
(say, some libraries). And you reinstalled libtool this way, which is 
invoked when building libraries. I would first make sure there are no 
leftovers, all the dependencies are up to date, and then deal with the 
build problem (if it still exists). And why do you set KRB5_HOME? Will 
you have kerberos?


-Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Trying to install fusefs-ntfs

2012-08-13 Thread Jeff Tipton

On 08/13/2012 09:34, Leslie Jensen wrote:


I get this error and I'm not sure how to fix it.

Any suggestions?

My system is 8.2-RELEASE-p9 with all src downloaded via csup.


Thanks

/Leslie



===   Returning to build of fusefs-kmod-0.3.9.p1.20080208_10
===  Configuring for fusefs-kmod-0.3.9.p1.20080208_10
cp: /usr/local/include/fuse/fuse_kernel.h: No such file or directory
*** Error code 1

So, you don't have this file? fusefs-libs port should have provided it:
#pkg_info -L fusefs-libs-2.7.4
Information for fusefs-libs-2.7.4:

Files:
/usr/local/include/fuse/fuse.h
/usr/local/include/fuse/fuse_compat.h
/usr/local/include/fuse/fuse_common.h
/usr/local/include/fuse/fuse_common_compat.h
/usr/local/include/fuse/fuse_lowlevel.h
/usr/local/include/fuse/fuse_lowlevel_compat.h
/usr/local/include/fuse/fuse_opt.h
/usr/local/include/fuse/fuse_kernel.h
/usr/local/include/fuse.h
/usr/local/include/ulockmgr.h
/usr/local/lib/libfuse.a
/usr/local/lib/libfuse.la
/usr/local/lib/libfuse.so
/usr/local/lib/libfuse.so.2
/usr/local/lib/libulockmgr.la
/usr/local/lib/libulockmgr.a
/usr/local/lib/libulockmgr.so
/usr/local/lib/libulockmgr.so.1
/usr/local/libdata/pkgconfig/fuse.pc
/usr/local/share/doc/fusefs/libs/how-fuse-works
/usr/local/share/doc/fusefs/libs/kernel.txt


Do you have that port installed? It's among dependencies of fusefs-ntfs.


Stop in /usr/ports/sysutils/fusefs-kmod.
*** Error code 1

Stop in /usr/ports/sysutils/fusefs-kmod.
*** Error code 1

Stop in /usr/ports/sysutils/fusefs-ntfs.
*** Error code 1

Stop in /usr/ports/sysutils/fusefs-ntfs.

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


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


Re: mac powerpc ibook g3 blank screen on start up

2012-08-12 Thread Jeff Tipton

On 08/12/2012 07:00, Andy Recker wrote:

thanks for the help but there is no CD icon there is no anything to click
on my computer is very unresponsive let e know if u have any other ideas?

On Thu, Aug 9, 2012 at 12:50 AM, Jamie Paul Griffinja...@kode5.net  wrote:


== Jeff Tipton wrote on Thu  9.Aug'12 at  8:36:12 +0300 ==


On 08/09/2012 06:22, Andy Recker wrote:

i installed the power PC version of free BSD and put it on my mac i

book g3

i was in the insulation process when i couldn't get it to work because

of a

few errors and i decided to turn it off and restart when i turned it

back

on it only booted to a blank white screen it has nothing on it and

nothing

is responsive i have tried to reboot the same CD i had the first thing

and

still just a blank screen what can i do to get BSD to work on my

computer?

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

freebsd-questions-unsubscr...@freebsd.org

When you are trying to reboot into the installation CD, are you sure
you have the right boot sequence selected (CD, not HDD)? I guess on
your mac it might mean restarting, holding down the option key,
choosing the CD icon and the arrow on the right side.

-Jeff

Yes, it's either the 'option' key or the 'C' key; can' recall which.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Try to understand what's going on. You were installing FreeBSD on your 
harddisk, interrupted the process somewhere in the middle because you 
had errors, restarted and booted from that harddisk (right?) with 
half-installed operating system, and now you have a blank screen, which 
is no wonder. If your hardware isn't damaged per se (hopefully), then 
you may try once more to boot from the FreeBSD installation CD instead 
of harddisk, and you need to find a way how to do that. Of cource, your 
blank screen  doesn't have any icons to click or command line prompts. 
The boot choice should be done at the first moments of your computer 
startup. If the boot menu is gone, you may still try to enter Open 
Firmware and type your boot command from there (see, for example, 
http://mac.linux.be/content/booting-open-firmware).

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


Re: Linux-firefox does not start

2012-08-09 Thread Jeff Tipton

On 08/09/2012 11:02, Manish Jain wrote:


Hi,

I installed www/linux-firefox from ports (FreeBSD 8.2/amd64). The 
first time it ran, it did some checks. During this time there was an 
unexpected power loss. Since then whenever I try to start 
linux-firefox, I get the error message An instance of firefox is 
already. Close it or restart your system. But no solution works. I 
even did a 'make deinstall' followed by 'make install clean' a couple 
of times. All of no avail.


Can anyone please point out what I need to do to get linux-firefox to 
start ?



Thank you 

If firefox is really running, you may try killing it. To see if it's 
running, as root:

ps aux |grep firefox

One way of killing it (a dirty one):
killall firefox

OR look up the PID number for firefox (the first number from the left) 
that the above ps command shows you and


kill PID-number-of-firefox

Still struggling with getting Flash to work and that's why you installed 
linux-firefox instead of the native one? Sorry I didn't tell you last 
time more specifics than just following the Handbook, I thought it was 
detailed enough. How did you install the linux layer? Do you have linux 
kernel module loaded and the linproc filesystem mounted?


-Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can't write to NTFS file system

2012-08-09 Thread Jeff Tipton

On 08/09/2012 13:37, Leslie Jensen wrote:

Hi List.


I'm using

fusefs_enable=YES

in /etc/rc.conf

And

/dev/ad4s2  /home/mnt/windows   ntfs rw,noauto  0   0

in /etc/fstab

I can read the NTFS file system and copy from it but I can't copy to it.

When I try copying I get

No such file or directory

Is that default behaviour?

Thanks

/Leslie
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org

I think your /etc/fstabrecord should rather be:
/dev/ad4s2  /home/mnt/windows   ntfs-3g rw  0   0

The ntfs is not from the FUSE project, it's native and read-only. And 
the noauto is for keeping the file system from being mounted 
automatically at boot.


-Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mac powerpc ibook g3 blank screen on start up

2012-08-08 Thread Jeff Tipton

On 08/09/2012 06:22, Andy Recker wrote:

i installed the power PC version of free BSD and put it on my mac i book g3
i was in the insulation process when i couldn't get it to work because of a
few errors and i decided to turn it off and restart when i turned it back
on it only booted to a blank white screen it has nothing on it and nothing
is responsive i have tried to reboot the same CD i had the first thing and
still just a blank screen what can i do to get BSD to work on my computer?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
When you are trying to reboot into the installation CD, are you sure you 
have the right boot sequence selected (CD, not HDD)? I guess on your mac 
it might mean restarting, holding down the option key, choosing the CD 
icon and the arrow on the right side.


-Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem with pkgconf and glib.

2012-07-31 Thread Jeff Tipton

On 07/30/2012 21:55, Jeff Tipton wrote:

On 07/30/2012 20:32, Christopher Hilton wrote:

On Jul 30, 2012, at 1:21 PM, Jeff Tipton wrote:


On 07/30/2012 19:46, Bas Smeelen wrote:

On 07/30/12 18:21, Michael Powell wrote:

Jeff Tipton wrote:


On 07/30/2012 17:19, Christopher Hilton wrote:

[snip]

Yes, but try now to rebuild X, or emacs (as Christopher). For me, it 
dies at devel/gobject-introspection with the following:


GISCAN GLib-2.0.gir
g-ir-scanner: GLib: warning: 484 warnings suppressed (use --warn-all 
to see them)

  GISCAN GObject-2.0.gir
g-ir-scanner: GObject: warning: 27 warnings suppressed (use 
--warn-all to see them)

  GISCAN GModule-2.0.gir
g-ir-scanner: GModule: warning: 1 warnings suppressed (use 
--warn-all to see them)
gmake[2]: *** No rule to make target 
`/usr/local/include/usr/local/include/usr/local/include/usr/local/include/gio-unix-2.0/gio/*.h', 
needed by `Gio-2.0.gir'.  Stop.
gmake[2]: Leaving directory 
`/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'

gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'

gmake: *** [all] Error 2
*** Error code 1

I don't know what to do with this, I'm already considering ports 
downgrade.


I traced through the Makefiles in devel/gobject-introspection. They 
are relying on pkg-config, devel/pkgconf in the newer code, to 
provide the location. That's how you end up with:


  
/usr/local/include/usr/local/include/usr/local/include/usr/local/include/gio-unix-2.0/gio/*.h


Which clearly shouldn't be there as a path. I added the line:

  date=2012.07.21.00.00.00

to my ports supconfig and then did

  csup /etc/ports-supfile

That pulled my ports collection back to 2012/07/21 which restored 
pkg-config and removed pkgconf. It probably reverted some other stuff 
too but I can wait a week for this thing to play out.


-- Chris


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

Thanks, Chris, for sharing this. I'll, too, try it this way.

-Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org

BTW,

While we were talking, pkgconf was changed. I just refreshed the ports 
tree, and devel/gobject-introspection builds fine now.


-Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem with pkgconf and glib.

2012-07-30 Thread Jeff Tipton

On 07/30/2012 17:19, Christopher Hilton wrote:

I'm trying to build emacs with gtk2 on my build box and I'm running into 
trouble with pkgconf from /usr/ports/devel/pkgconf. The build process dies in 
devel/gobject-introspection and complains that it cannot find header files for 
gio-unix-2.0. From what I can see the problem looks like the fact that pkgconf 
is returning the wrong include path for these header files, running:

  # pkg-config --variable=includedir gio-unix-2.0 returns:

  /usr/local/include/usr/local/include/usr/local/include

I'm not sure if this is part of the problem but it appears that pkgconf returns one 
instance of /usr/local/include for each dependency listed in the package. E.g.

  # pkg-config --variable=includedir glib-2.0

returns: /usr/local/include

To repeat this problem I started with a fresh FreeBSD virtual machine built 
from 8-STABLE, an empty /usr/local tree and an empty /var/db/pkg directory. 
Then I traversed to /usr/ports/devel/gobject-introspection and did:

  # make install

Any help would be appreciated.

-- Chris




Chris Hilton  e: chris /at/ vindaloo /dot/ com

 All I was doing was trying to get home from work!
  -- Rosa Parks

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
I have the same problem with devel/gobject-introspection. It's also a 
dependecy for Xorg.


A couple of days ago devel/pkg-config was removed from ports as 
deprecated, and replaced with devel/pkgconf, and consequently the build 
dependencies of many ports were changed. Maybe this recent change is not 
thoroughly worked out?


Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Resolvconf with FreeBSD jails

2012-07-30 Thread Jeff Tipton

On 07/30/2012 18:03, Grzegorz Junka wrote:
FreeBSD 9 uses resolvconf tool to manage the resolv.conf file. How can 
I make it working with FreeBSD jails?


In my case I am moving my laptop between networks and every time I 
boot FreeBSD it gets assigned a different DNS server. The file 
/etc/resolv.conf gets updated but the same file in each of the jails 
is not. I need resolv.conf in each jail in order for that jail to 
connect to the external network.
If you really need your resolv.conf for connecting to an external 
network (and not to resolve local machine names), why not just add 
public DNS servers there and let them stay the same all he time?


I tried to make a link from resolv.conf in a jail to the same file in 
the host system, but inside jail the link doesn't work. I could copy 
the resolv.conf every time I boot FreeBSD after the DHCP obtained new 
DNS and updated resolv.conf but before ezjail starts any of the jails, 
but where I would need to put such copying?


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


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


Re: Problem with pkgconf and glib.

2012-07-30 Thread Jeff Tipton

On 07/30/2012 19:46, Bas Smeelen wrote:

On 07/30/12 18:21, Michael Powell wrote:

Jeff Tipton wrote:


On 07/30/2012 17:19, Christopher Hilton wrote:
I'm trying to build emacs with gtk2 on my build box and I'm running 
into

trouble with pkgconf from /usr/ports/devel/pkgconf. The build process
dies in devel/gobject-introspection and complains that it cannot find
header files for gio-unix-2.0. From what I can see the problem 
looks like

the fact that pkgconf is returning the wrong include path for these
header files, running:

[snip]

I have the same problem with devel/gobject-introspection. It's also a
dependecy for Xorg.

A couple of days ago devel/pkg-config was removed from ports as
deprecated, and replaced with devel/pkgconf, and consequently the build
dependencies of many ports were changed. Maybe this recent change is 
not

thoroughly worked out?


When I first saw it in UPDATING and did the command I believe it was not
completely correct, as it did nothing. That was something on the 
order of 3

or 4 days ago. Just csup'd today and the command in UPDATING I think
contained something slightly different, and is now correct.

Before, it did not remove/replace pkg-config. Today it did. Perhaps a 
ports

tree refresh and if using portupgrade do this:

portupgrade -fo devel/pkgconf pkg-config-\*

This did remove pkg-config and replace it with pkgconf, like I 
expected it to

do 3-4 days ago and didn't.

-Mike
I had about the same issues on a fresh RELENG_9 laptop wih xfce4, 
firefox and thunderbird. Just removing pkg-config (pkg_delete -f) then 
installing pkgconf and do a portmaster --check-depends solved it for me.




Disclaimer: http://www.ose.nl/email

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org
Yes, but try now to rebuild X, or emacs (as Christopher). For me, it 
dies at devel/gobject-introspection with the following:


GISCAN GLib-2.0.gir
g-ir-scanner: GLib: warning: 484 warnings suppressed (use --warn-all to 
see them)

  GISCAN GObject-2.0.gir
g-ir-scanner: GObject: warning: 27 warnings suppressed (use --warn-all 
to see them)

  GISCAN GModule-2.0.gir
g-ir-scanner: GModule: warning: 1 warnings suppressed (use --warn-all to 
see them)
gmake[2]: *** No rule to make target 
`/usr/local/include/usr/local/include/usr/local/include/usr/local/include/gio-unix-2.0/gio/*.h', 
needed by `Gio-2.0.gir'.  Stop.
gmake[2]: Leaving directory 
`/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'

gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'

gmake: *** [all] Error 2
*** Error code 1

I don't know what to do with this, I'm already considering ports downgrade.

-Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Problem with pkgconf and glib.

2012-07-30 Thread Jeff Tipton

On 07/30/2012 20:32, Christopher Hilton wrote:

On Jul 30, 2012, at 1:21 PM, Jeff Tipton wrote:


On 07/30/2012 19:46, Bas Smeelen wrote:

On 07/30/12 18:21, Michael Powell wrote:

Jeff Tipton wrote:


On 07/30/2012 17:19, Christopher Hilton wrote:

[snip]


Yes, but try now to rebuild X, or emacs (as Christopher). For me, it dies at 
devel/gobject-introspection with the following:

GISCAN GLib-2.0.gir
g-ir-scanner: GLib: warning: 484 warnings suppressed (use --warn-all to see 
them)
  GISCAN GObject-2.0.gir
g-ir-scanner: GObject: warning: 27 warnings suppressed (use --warn-all to see 
them)
  GISCAN GModule-2.0.gir
g-ir-scanner: GModule: warning: 1 warnings suppressed (use --warn-all to see 
them)
gmake[2]: *** No rule to make target 
`/usr/local/include/usr/local/include/usr/local/include/usr/local/include/gio-unix-2.0/gio/*.h',
 needed by `Gio-2.0.gir'.  Stop.
gmake[2]: Leaving directory 
`/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
`/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.10.8'
gmake: *** [all] Error 2
*** Error code 1

I don't know what to do with this, I'm already considering ports downgrade.


I traced through the Makefiles in devel/gobject-introspection. They are relying 
on pkg-config, devel/pkgconf in the newer code, to provide the location. That's 
how you end up with:

  
/usr/local/include/usr/local/include/usr/local/include/usr/local/include/gio-unix-2.0/gio/*.h

Which clearly shouldn't be there as a path. I added the line:

  date=2012.07.21.00.00.00

to my ports supconfig and then did

  csup /etc/ports-supfile

That pulled my ports collection back to 2012/07/21 which restored pkg-config 
and removed pkgconf. It probably reverted some other stuff too but I can wait a 
week for this thing to play out.

-- Chris


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

Thanks, Chris, for sharing this. I'll, too, try it this way.

-Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Flash in Firefox

2012-07-30 Thread Jeff Tipton

On 07/31/2012 05:18, Polytropon wrote:

On Mon, 30 Jul 2012 14:55:46 -0600 (MDT), Warren Block wrote:

On Tue, 31 Jul 2012, Manish Jain wrote:

Okay, so can you please go to the URL below and see whether the bubbles work
for you ?

http://news.discovery.com/human/games-lumosity-word-bubbles.html

[...]

Works here.  amd64,

firefox-14.0.1,1
linux-f10-flashplugin-11.2r202.236_1

Set up as the Handbook describes.

Also works here, FreeBSD/i386 8.2-STABLE of August 2011, setup
according to the Handbook, with the difference that I'm using
Opera here with the following ports:

opera-11.50
opera-linuxplugins-11.50
linux-f10-flashplugin-10.3r183.5




And it works here.
chromium-15.0.874.121 OR midori-0.4.2
linux-f10-flashplugin-11.1r102.55

Setup as per Handbook.
I also have IcedTea-Web Plugin (using IcedTea-Web 1.1.4) (for Java 
applets, also following setup according to Handbook) but I don't think 
it makes difference here.


-Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to get Huawei EC1561 USB modem working under FreeBSD, 8.2? Moving on to the next problem :-) - Flash in Firefox

2012-07-29 Thread Jeff Tipton

On 07/29/2012 21:31, Jerry wrote:

On Sun, 29 Jul 2012 23:35:06 +0530
Manish Jain articulated:


Thanks for your inputs. I have finally got FreeBSD to speak to the
internet. Now I have one more problem before I can live in peace. I
am fond of a game hosted via the Discovery channel's website :

http://news.discovery.com/human/games-lumosity-word-bubbles.html

The game needs Adobe flash player. So I installed
linux-f10-flashplugin11. But firefox 5.0 does not seem to integrate
with it well. I then tried installing a couple of more ports,
including swfdec and gnash. Still firefox won't play the game.

Is there something special I need to do ? Thanks for any help.

I feel your pain. I have had less than stellar success with getting a
large number of sites to interact correctly with Firefox on FreeBSD when
flash was involved, and sometimes even when it wasn't. I have heard
that Opera works better but I have no personal knowledge of it. I
finally gave up awhile ago. I just use my Windows machine when I
absolutely, positively have to get a site working correctly. Life is
too short to sweat the small stuff and golf is a lot more fun.

I have chromium-15.0.874.121 with linux-f10-flashplugin-11.1r102.55, and 
I set them up as described in the FreeBSD Handbook, and they work OK for 
me. True, I'm not much into games (don't use online games at all) but 
otherwise I've not experienced any problem with sites that use Flash, 
including Youtube.

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


Re: How to get Huawei EC1561 USB modem working under FreeBSD, 8.2? Moving on to the next problem :-) - Flash in Firefox

2012-07-29 Thread Jeff Tipton

On 07/29/2012 22:23, Jeff Tipton wrote:

On 07/29/2012 21:31, Jerry wrote:

On Sun, 29 Jul 2012 23:35:06 +0530
Manish Jain articulated:


Thanks for your inputs. I have finally got FreeBSD to speak to the
internet. Now I have one more problem before I can live in peace. I
am fond of a game hosted via the Discovery channel's website :

http://news.discovery.com/human/games-lumosity-word-bubbles.html

The game needs Adobe flash player. So I installed
linux-f10-flashplugin11. But firefox 5.0 does not seem to integrate
with it well. I then tried installing a couple of more ports,
including swfdec and gnash. Still firefox won't play the game.

Is there something special I need to do ? Thanks for any help.

I feel your pain. I have had less than stellar success with getting a
large number of sites to interact correctly with Firefox on FreeBSD when
flash was involved, and sometimes even when it wasn't. I have heard
that Opera works better but I have no personal knowledge of it. I
finally gave up awhile ago. I just use my Windows machine when I
absolutely, positively have to get a site working correctly. Life is
too short to sweat the small stuff and golf is a lot more fun.

I have chromium-15.0.874.121 with linux-f10-flashplugin-11.1r102.55, 
and I set them up as described in the FreeBSD Handbook, and they work 
OK for me. True, I'm not much into games (don't use online games at 
all) but otherwise I've not experienced any problem with sites that 
use Flash, including Youtube.

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

P.S. And yes, my midori-0.4.2, too, works well with Flash.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: mc-light with tcsh receives segfault

2012-07-27 Thread Jeff Tipton

On 07/26/2012 18:17, Jeff Tipton wrote:

Hi,

My mc-light doesn't work with tcsh. When I try to launch it:
mc
Segmentation fault (core dumped)


uname -a
FreeBSD jeff-netf 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 
01:47:53 UTC 2012 
r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386



System and ports are all up to date.
 mc -V
The Midnight Commander 4.1.40-pre9
with mouse support on xterm.
Edition: text mode.
Virtual File System: tarfs, extfs, ftpfs, mcfs.
With builtin Editor
Using S-lang library with termcap database
With subshell support: as default
With DUSUM command
With support for background operations


It works with sh and csh but doesn't with tcsh. Actually, it even 
works within tcsh, if the SHELL variable is arbitrarily set to 
/bin/csh. Doesn't matter whether root or a regular user. Any ideas of 
what might be wrong?


Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org

So, no ideas of how to fix mc-light in tcsh?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


mc-light with tcsh receives segfault

2012-07-26 Thread Jeff Tipton

Hi,

My mc-light doesn't work with tcsh. When I try to launch it:
mc
Segmentation fault (core dumped)


uname -a
FreeBSD jeff-netf 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 
01:47:53 UTC 2012 
r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386



System and ports are all up to date.
 mc -V
The Midnight Commander 4.1.40-pre9
with mouse support on xterm.
Edition: text mode.
Virtual File System: tarfs, extfs, ftpfs, mcfs.
With builtin Editor
Using S-lang library with termcap database
With subshell support: as default
With DUSUM command
With support for background operations


It works with sh and csh but doesn't with tcsh. Actually, it even works 
within tcsh, if the SHELL variable is arbitrarily set to /bin/csh. 
Doesn't matter whether root or a regular user. Any ideas of what might 
be wrong?


Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Working openvpn/pf configuration broken on upgrade from 8.3 to 9.0

2012-07-08 Thread Jeff Hedges


Hi.

I'm running a small VPN for ~10 office users. Upon upgrading the machine from 
8.3 to 9.0 yesterday, it became
impossible for users to connect to the VPN. I've tried everything I can think 
of to track down the problem and it
seems (although I may be mistaken) to be something to do with pf and a redirect 
rule. Here is the pf.conf on
the machine:

--%--

nic_wan = fxp0
nic_dmz = fxp2
nic_tun = tun0 
# Perform NAT for outgoing connections from the DMZ
nat log on $nic_wan from $nic_dmz:network to any - ($nic_wan)

# Redirect incoming openvpn clients from the WAN to the openvpn server
rdr log on $nic_wan proto udp from any to any port 11940 - 10.2.0.1 port 11940

pass log all

--%--

The fxp0 interface is connected directly so a small DSL modem that simply 
forwards everything
to this machine (no NAT, no filtering, etc). The fxp0 has one address: 1.0.0.2.

The openvpn daemon is listening on 10.2.0.1, which is the only IP bound to the 
fxp2 interface.

Here is where the madness starts:

Running tcpdump on fxp0 and pflog0 shows the following when a remote user 
x.x.x.x connects:

fxp0: 00:00:00.443090 00:50:7f:21:67:94  00:d0:b7:40:4b:31, IPv4, length 96: 
x.x.x.x.11940  10.0.0.2.11940: UDP, length 54
pflog0: 00:00:16.820380 rule 0..16777216/0(match): pass in on fxp0: 
x.x.x.x.11940  10.2.0.1.11940: UDP, length 54 
So, packets come in fxp0 from x.x.x.x and then after the rdr rule, they're sent 
to 1.2.0.1:11940.

However, the openvpn server log shows nothing, even at the highest verbosity 
settings. The connecting
client eventually receives a handshake timed out message and either gives up 
or tries again.

Using nc, it's possible to see that packets *are* getting through:

$ nc -u -vvv example.com 11940
Connection to example.com 11940 port [udp/*] succeeded!

The openvpn server log then shows a TLS handshake error (as expected, as nc 
obviously isn't performing a TLS
handshake).

If I, from inside the DMZ, try to connect an openvpn client to the server, the 
connection immediately
succeeds and everything works correctly. Therefore, I believe that the 'rdr' 
rule in the pf.conf
is probably to blame and that something pretty fundamental has changed between 
8.3 and 9.0. From
the bizarre behaviour (letting packets through but apparently damaged in some 
way), I'm guessing
that this is a bug.

Does anyone have any idea how I can track down what's going on?

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


setting gcc46 as default compiler?

2012-06-07 Thread Jeff Hamann
I've built and installed the gcc46 compiler(s) - need gfortran - and I can't 
seem to find the correct documentation on how to update /etc/make.conf for 
including the gfortran46. 

This is what mine currently looks like:

$ cat make.conf
# added by use.perl 2012-06-07 03:03:21
PERL_VERSION=5.10.1
.if !empty(.CURDIR:M/usr/ports/*)  exists(/usr/local/bin/gcc46)
CC=gcc46
CXX=g++46
CPP=cpp46
FC=gfortran46
.endif

FFLAGS=-O2 -mtune=athlon64
CC=gcc46
CXX=g++46
CPP=cpp46
FC=gfortran46

$ 

Am I close? Help?

Respectfully,
Jeff.


Jeff Hamann, PhD
PO Box 1421
Corvallis, Oregon 97339-1421
230 SW 3rd Street Suite #310
Corvallis, Oregon 97333
541-602-5438 (c)
541-754-2457 (h)
jeff.hamann[at]forestinformatics[dot]com
jeff.d.hamann[at]gmail[dot]com
http://www.forestinformatics.com
http://en.wikipedia.org/wiki/Forest_informatics

To ensure that your email is processed, include a subject entry in your email.




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


xfburn and k3b on FreeBSD9.0-RELEASE can't find LITE-ON DVDRW

2012-04-07 Thread Jeff Tipton

Hi,

I can't get any GUI tool working with my LITE-ON DVDRW SHW-160P6S (IDE) 
on 9.0-RELEASE (packages and ports tree are in sync from the release date).


atapicam is compiled in GENERIC kernel now, so no need for this module.

I recompiled cdrtools, dvd+rw-tools, and hal.

cdrecord works after that (tried to blank some CDs and burn some ISOs).

But xfburn crashes:
(process:6957): GLib-WARNING **: goption.c:2132: ignoring no-arg, 
optional-arg or filename flags (8) on option of type 0


(process:6957): GLib-WARNING **: goption.c:2132: ignoring no-arg, 
optional-arg or filename flags (8) on option of type 0

** Message: Using Thunar-VFS 1.2.0
** Message: Using HAL
xfburn: error sending CAMIOCOMMAND ioctl: Inappropriate ioctl for device
xfburn: error sending CAMIOCOMMAND ioctl: Inappropriate ioctl for device
xfburn: error sending CAMIOCOMMAND ioctl: Inappropriate ioctl for device

** ERROR **: Device address does not lead to a burner '/dev/cd0' (ret=0).
aborting...

[1]Abort xfburn (core dumped)

Exactly the same result when run as root.

k3b starts but shows a warning message in a popup window:
No optical drive found.
K3b did not find any optical device in your system.
Solution: Make sure HAL daemon is running, it is used by K3b for finding 
devices.


Of course, HAL is running.

brasero starts ok and doesn't complain at all; it just doesn't show any 
devices.


camcontrol devlist output:

SAMSUNG SP80A4H RT100-07 at scbus0 target 0 lun 0 (pass0,ada0)
SAMSUNG HD400LD WQ100-15 at scbus0 target 1 lun 0 (pass1,ada1)
LITE-ON DVDRW SHW-160P6S PS08at scbus1 target 0 lun 0 (cd0,pass2)

This is what I tried to set to make it work:

/etc/devfs.conf:
# CDROM
own cd0 root:operator
perm cd0 0660

own pass2  root:operator
permpass2  0666

own xpt0   root:operator
permxpt0   0666

/etc/devfs.rules:
[system=5]
#CD/DVD
add path 'cd*' mode 0666 group operator
add path 'pass*' mode 0666 group operator
add path 'xpt*' mode 0666 group operator

/etc/rc.conf:
devfs_system_ruleset=system

No CD-related entries in /etc/fstab.
Added myself to the operator group.
SUID flags:
ll /usr/local/bin | grep cdr
-rws--x---   1 root  operator578088 Dec  3 02:30 cdrdao
-rws--x---   1 root  operator402768 Feb 22 15:33 cdrecord
-rws--x---   1 root  operator136428 Dec  3 10:08 cdrskin

Permissions on /dev files:
#ll /dev |grep cd
crw-rw  1 rootoperator 0,  91 Apr  6 15:18 cd0
# ll /dev | grep pass
crw-rw  1 rootoperator 0,  83 Apr  6 15:18 pass0
crw-rw  1 rootoperator 0,  84 Apr  6 15:18 pass1
crw-rw  1 rootoperator 0,  85 Apr  6 15:18 pass2
# ll /dev | grep xpt
crw-rw  1 rootoperator 0,  68 Apr  6 15:18 xpt0

# sysctl hw.ata.atapi_dma
hw.ata.atapi_dma: 1

What could be wrong?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: xfburn and k3b on FreeBSD9.0-RELEASE can't find LITE-ON DVDRW

2012-04-07 Thread Jeff Tipton

On 04/07/2012 09:13, Jeff Tipton wrote:

Hi,

I can't get any GUI tool working with my LITE-ON DVDRW SHW-160P6S 
(IDE) on 9.0-RELEASE (packages and ports tree are in sync from the 
release date).


atapicam is compiled in GENERIC kernel now, so no need for this module.

I recompiled cdrtools, dvd+rw-tools, and hal.

cdrecord works after that (tried to blank some CDs and burn some ISOs).

But xfburn crashes:
(process:6957): GLib-WARNING **: goption.c:2132: ignoring no-arg, 
optional-arg or filename flags (8) on option of type 0


(process:6957): GLib-WARNING **: goption.c:2132: ignoring no-arg, 
optional-arg or filename flags (8) on option of type 0

** Message: Using Thunar-VFS 1.2.0
** Message: Using HAL
xfburn: error sending CAMIOCOMMAND ioctl: Inappropriate ioctl for device
xfburn: error sending CAMIOCOMMAND ioctl: Inappropriate ioctl for device
xfburn: error sending CAMIOCOMMAND ioctl: Inappropriate ioctl for device

** ERROR **: Device address does not lead to a burner '/dev/cd0' (ret=0).
aborting...

[1]Abort xfburn (core dumped)

Exactly the same result when run as root.

k3b starts but shows a warning message in a popup window:
No optical drive found.
K3b did not find any optical device in your system.
Solution: Make sure HAL daemon is running, it is used by K3b for 
finding devices.


Of course, HAL is running.

brasero starts ok and doesn't complain at all; it just doesn't show 
any devices.


camcontrol devlist output:

SAMSUNG SP80A4H RT100-07 at scbus0 target 0 lun 0 (pass0,ada0)
SAMSUNG HD400LD WQ100-15 at scbus0 target 1 lun 0 (pass1,ada1)
LITE-ON DVDRW SHW-160P6S PS08at scbus1 target 0 lun 0 (cd0,pass2)

This is what I tried to set to make it work:

/etc/devfs.conf:
# CDROM
own cd0 root:operator
perm cd0 0660

own pass2  root:operator
permpass2  0666

own xpt0   root:operator
permxpt0   0666

/etc/devfs.rules:
[system=5]
#CD/DVD
add path 'cd*' mode 0666 group operator
add path 'pass*' mode 0666 group operator
add path 'xpt*' mode 0666 group operator

/etc/rc.conf:
devfs_system_ruleset=system

No CD-related entries in /etc/fstab.
Added myself to the operator group.
SUID flags:
ll /usr/local/bin | grep cdr
-rws--x---   1 root  operator578088 Dec  3 02:30 cdrdao
-rws--x---   1 root  operator402768 Feb 22 15:33 cdrecord
-rws--x---   1 root  operator136428 Dec  3 10:08 cdrskin

Permissions on /dev files:
#ll /dev |grep cd
crw-rw  1 rootoperator 0,  91 Apr  6 15:18 cd0
# ll /dev | grep pass
crw-rw  1 rootoperator 0,  83 Apr  6 15:18 pass0
crw-rw  1 rootoperator 0,  84 Apr  6 15:18 pass1
crw-rw  1 rootoperator 0,  85 Apr  6 15:18 pass2
# ll /dev | grep xpt
crw-rw  1 rootoperator 0,  68 Apr  6 15:18 xpt0

# sysctl hw.ata.atapi_dma
hw.ata.atapi_dma: 1

What could be wrong?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org
Some news. I found out that xfburn depends on libburn, so I recompiled 
libburn, too. Now xfburn seems to work (could blank a disk, write an ISO 
image, write files to a disk).


As for k3b (which I would prefer), nothing changed. Only I found that 
when I insert a disk before launching k3b, it finds the drive as 
read-only. Now the popup window says:

No CD/DVD/BD writer found.
K3b did not find an optical writing device in your system. Thus, you 
will not be able to burn CDs or DVDs. However, you can still use other 
K3b features such as audio track extraction, audio transcoding or 
ISO9660 image creation.


In Settings  Devices dialog, Writers are shown as none, and 
/dev/cd0 is under Read-only Drives. There are blank squares against 
Vendor and Firmware, and Error against Write Capabilities:.

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


Re: xfburn and k3b on FreeBSD9.0-RELEASE can't find LITE-ON DVDRW

2012-04-07 Thread Jeff Tipton

On 04/08/2012 03:33, Robert wrote:

On Sat, 07 Apr 2012 18:57:09 +0300
Jeff Tiptonjef...@mail.com  wrote:


On 04/07/2012 09:13, Jeff Tipton wrote:

Hi,

I can't get any GUI tool working with my LITE-ON DVDRW SHW-160P6S
(IDE) on 9.0-RELEASE (packages and ports tree are in sync from the
release date).

atapicam is compiled in GENERIC kernel now, so no need for this
module.

I recompiled cdrtools, dvd+rw-tools, and hal.

cdrecord works after that (tried to blank some CDs and burn some
ISOs).

But xfburn crashes:
(process:6957): GLib-WARNING **: goption.c:2132: ignoring no-arg,
optional-arg or filename flags (8) on option of type 0

(process:6957): GLib-WARNING **: goption.c:2132: ignoring no-arg,
optional-arg or filename flags (8) on option of type 0
** Message: Using Thunar-VFS 1.2.0
** Message: Using HAL
xfburn: error sending CAMIOCOMMAND ioctl: Inappropriate ioctl for
device xfburn: error sending CAMIOCOMMAND ioctl: Inappropriate
ioctl for device xfburn: error sending CAMIOCOMMAND ioctl:
Inappropriate ioctl for device

** ERROR **: Device address does not lead to a burner
'/dev/cd0' (ret=0). aborting...

[1]Abort xfburn (core dumped)

Exactly the same result when run as root.

k3b starts but shows a warning message in a popup window:
No optical drive found.
K3b did not find any optical device in your system.
Solution: Make sure HAL daemon is running, it is used by K3b for
finding devices.

Of course, HAL is running.

brasero starts ok and doesn't complain at all; it just doesn't show
any devices.

camcontrol devlist output:

SAMSUNG SP80A4H RT100-07  at scbus0 target 0 lun 0
(pass0,ada0)SAMSUNG HD400LD WQ100-15  at scbus0 target 1
lun 0 (pass1,ada1)LITE-ON DVDRW SHW-160P6S PS08 at scbus1
target 0 lun 0 (cd0,pass2)

This is what I tried to set to make it work:

/etc/devfs.conf:
# CDROM
own cd0 root:operator
perm cd0 0660

own pass2  root:operator
permpass2  0666

own xpt0   root:operator
permxpt0   0666

/etc/devfs.rules:
[system=5]
#CD/DVD
add path 'cd*' mode 0666 group operator
add path 'pass*' mode 0666 group operator
add path 'xpt*' mode 0666 group operator

/etc/rc.conf:
devfs_system_ruleset=system

No CD-related entries in /etc/fstab.
Added myself to the operator group.
SUID flags:
ll /usr/local/bin | grep cdr
-rws--x---   1 root  operator578088 Dec  3 02:30 cdrdao
-rws--x---   1 root  operator402768 Feb 22 15:33 cdrecord
-rws--x---   1 root  operator136428 Dec  3 10:08 cdrskin

Permissions on /dev files:
#ll /dev |grep cd
crw-rw  1 rootoperator 0,  91 Apr  6 15:18 cd0
# ll /dev | grep pass
crw-rw  1 rootoperator 0,  83 Apr  6 15:18 pass0
crw-rw  1 rootoperator 0,  84 Apr  6 15:18 pass1
crw-rw  1 rootoperator 0,  85 Apr  6 15:18 pass2
# ll /dev | grep xpt
crw-rw  1 rootoperator 0,  68 Apr  6 15:18 xpt0

# sysctl hw.ata.atapi_dma
hw.ata.atapi_dma: 1

What could be wrong?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org

Some news. I found out that xfburn depends on libburn, so I
recompiled libburn, too. Now xfburn seems to work (could blank a
disk, write an ISO image, write files to a disk).

As for k3b (which I would prefer), nothing changed. Only I found that
when I insert a disk before launching k3b, it finds the drive as
read-only. Now the popup window says:
No CD/DVD/BD writer found.
K3b did not find an optical writing device in your system. Thus, you
will not be able to burn CDs or DVDs. However, you can still use
other K3b features such as audio track extraction, audio transcoding
or ISO9660 image creation.

In Settings  Devices dialog, Writers are shown as none, and
/dev/cd0 is under Read-only Drives. There are blank squares against
Vendor and Firmware, and Error against Write Capabilities:.


For what it is worth, I had a similar problem with FreeBSD 9 back in
the Beta days. IIRC I had to rebuild cdparanoia and then K3B and all
was working again.

YMMV

Good Luck

Robert

Thank you, it works now!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 8 LiveFS - How To Start SSHD?

2011-12-25 Thread Jeff Tipton

On 12/25/2011 07:42 AM, Drew Tomlinson wrote:

On 12/24/2011 9:05 PM, Adam Vande More wrote:
On Sat, Dec 24, 2011 at 4:35 PM, Drew Tomlinson 
d...@mykitchentable.net mailto:d...@mykitchentable.net wrote:



I can do the Configure the network connection, the  setup login
shell for root, and the Prepare SSH part.  However the Enable,
configure, and start sshd part doesn't seem to apply and really
doesn't make sense.

Bottom line is that after running /mnt2/use/sbin/sshd, I can see
the process in ps output.  However when I attempt to connect to
sshd as root, my connection is immediately closed.



ssh -vv


Thank you.  That led me to know that my host.allow file wasn't right.  
Fixed that.  Now failing when keyboard-interactive packet is sent.  
Thinking it's the PermitRootLogin yes problem.  Have created a 
sshd_config file set to yes and used the -f /path/to/file switch when 
starting sshd.  Have also tried using -o 'PermitRootLogin yes' when 
starting.  Still not


Thanks for your help.

Drew

It is the default behavior of sshd to reject root, and the reason is 
security. I, personally (and I think most of the guys there out), just 
leave it that way. Just access your server with ssh 
your-login-name@your-server-ip-or-dns-address, and then issue su 
command to become root. It will ask you the root password which you 
should know if you installed the system. When you have done all the 
system maintenance that you wanted, press ctrl-d. It will move you 
back to your personal shell and environment, out of root privileges. 
Press the ctrl-d the second time, and you are disconnected from your 
server.

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


HP LaserJet Pro P1102 stops responding after a while

2011-12-18 Thread Jeff Tipton

Hi,

I put HP LaserJet Pro P1102 on a CUPS server with Samba. I followed the 
steps as shown here:

http://forums.freebsd.org/showthread.php?t=21312

except I have 7.4-RELEASE, so I recompiled the kernel without ulpt 
device as suggested in foo2zjs site (INSTALL notes on FreeBSD 7), and 
the printer is now on ugen0.1.


After installation, the printer became available in CUPS, I could print 
a test page, then I exported CUPS and WINDOWS postscript drivers to 
Samba with cupsaddsmb.


Then I added the printer on some Windows XP workstations, and the shared 
driver installed automatically as expected.


The problem is that after some idle minutes, the printer stops 
responding. The job just disappears from the queue, but nothing prints. 
The same thing on the CUPS web interface. If I restart cupsd, the 
printer prints again. But as soon as try printing from another 
workstation, it's again silent. Really weird.


I found in the HP manual that it has an economic usage feature that by 
default is set to switch the printer off after 5 minutes being idle. The 
printer should switch on again when a new job is sent. This can be 
disabled but only with a native HP driver (don't really understand where 
it happens -- on the host the printer is attached to or within the 
printer's firmware). I tried to install the HP Windows driver on a 
workstation, attached the printer directly to it, disabled the switching 
off, sent a job from there as told in the manual but it didn't help. But 
maybe the 'economic usage feature' isn't the reason.


Any ideas of what could be wrong?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Alternative windowmanagers

2011-08-16 Thread Jeff Laine
On Fri,05-08-2011 [21:12:14], Christian Barthel wrote:
 Hello, 
 
 I read on slashdot that Linus Torvalds moved from Gnome 2.3x to Xfce. It
 seems that he isn't thrilled by xfce, but it's far better than Gnome3. 
 
 As a Gnome 2.3x user too, I am also a bit nervouse. Gnome 3 is a big
 mistake. And there are also rumors that Gnome will be Linux only. Maybe,
 we will never see Gnome3 under FreeBSD, but this is not a tragedy :)
 
 I am not very interested in eyecandy: I want a stable and fast wm (less
 memory and cpu, quick access to important places), different workspaces,
 and it should be configurable with ordinary files. Of course, It must
 run under FreeBSD. 
 
 I sniffed into AfterStep, fvwm2 and fluxbox (I don't want to use KDE). I
 think, fluxbox is a nice wm and for my future, it will be the default wm
 for me. It's also very fast and easy to configure. 
 
 Are there any other window manager worth looking? 
 
 What is your window manager? 
 
 
 -- 
 Christian Barthel 

Whenever I need simple, fast, neat and bloat-free working environment, I 
usually go with openbox.

Cheers!

--
Jeff L.

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


devel/pear doesn't install (segfault)

2011-08-16 Thread Jeff Tipton

devel/pear doesn't install (segfault)

Hi all,

When I try to install pear from ports on my server, it spits out a whole 
bunch of messages like:


Preparing installer..
PHP Deprecated:  Assigning the return value of new by reference is 
deprecated in /go-pear/PEAR/Config.php on line 650

(...)
PHP Deprecated:  Assigning the return value of new by reference is 
deprecated in /go-pear/PEAR/Registry.php on line 322

(...)
PHP Deprecated:  Assigning the return value of new by reference is 
deprecated in /go-pear/PEAR/Command.php on line 137

(...)
PHP Warning:  date(): It is not safe to rely on the system's timezone 
settings. You are *required* to use the date.timezone setting or the 
date_default_timezone_set() function. In case you used any of those 
methods and you are still getting this warning, you most likely 
misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no 
DST' instead in /go-pear/PEAR/Registry.php on line 1012

(...)

And then ends up like this:

PHP Deprecated:  Function set_magic_quotes_runtime() is deprecated in 
/go-pear/PEAR/DependencyDB.php on line 583

install ok: channel://pear.php.net/Console_Getopt-1.2.3
PHP Deprecated:  Function set_magic_quotes_runtime() is deprecated in 
/go-pear/PEAR/Registry.php on line 1140
PHP Deprecated:  Function set_magic_quotes_runtime() is deprecated in 
/go-pear/PEAR/Registry.php on line 1144

Segmentation fault (core dumped)
*** Error code 139

Stop in /basejail/usr/ports/devel/pear.
*** Error code 1

Stop in /basejail/usr/ports/devel/pear.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portinstall20110816-14452-1w1lpn0-0 env make reinstall

** Fix the installation problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! devel/pear(install error)

First, beause the messages start with PHP Deprecated, I thought it's 
about my php being outdated. Some extensions really were, so I upgraded 
them, but nothing changed.


I found, on FreeBSD Forums, a thread about PHP Deprecated messages, 
and there the issue was to set open_basedir properly in php.ini. But 
mine was not set (commented out) -- so, default value (/tmp) which, as 
they say, doesn't cause problems.


Then I tried to install pear on my FreeBSD 8.2 desktop, it again printed 
all the PHP Deprecated messages, but it installed and I even could do 
pear upgrade PEAR.


Then I tried to install pear from 7-stable packages on my server, pear 
installed but when I tried to upgrade PEAR:


#pear upgrade PEAR
Error getting channel info from pear.php.net: No cached content 
available for http://pear.php.net/rest/p/packages.xml;

Nothing to upgrade
Segmentation fault (core dumped)
#
The server is an ezjail on 7.4-RELEASE.

Any ideas of how to get pear installed? Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: devel/pear doesn't install (segfault)

2011-08-16 Thread Jeff Tipton

On 08/16/11 16:10, Jeff Tipton wrote:

devel/pear doesn't install (segfault)

Hi all,

When I try to install pear from ports on my server, it spits out a 
whole bunch of messages like:


Preparing installer..
PHP Deprecated:  Assigning the return value of new by reference is 
deprecated in /go-pear/PEAR/Config.php on line 650

(...)
PHP Deprecated:  Assigning the return value of new by reference is 
deprecated in /go-pear/PEAR/Registry.php on line 322

(...)
PHP Deprecated:  Assigning the return value of new by reference is 
deprecated in /go-pear/PEAR/Command.php on line 137

(...)
PHP Warning:  date(): It is not safe to rely on the system's timezone 
settings. You are *required* to use the date.timezone setting or the 
date_default_timezone_set() function. In case you used any of those 
methods and you are still getting this warning, you most likely 
misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no 
DST' instead in /go-pear/PEAR/Registry.php on line 1012

(...)

And then ends up like this:

PHP Deprecated:  Function set_magic_quotes_runtime() is deprecated in 
/go-pear/PEAR/DependencyDB.php on line 583

install ok: channel://pear.php.net/Console_Getopt-1.2.3
PHP Deprecated:  Function set_magic_quotes_runtime() is deprecated in 
/go-pear/PEAR/Registry.php on line 1140
PHP Deprecated:  Function set_magic_quotes_runtime() is deprecated in 
/go-pear/PEAR/Registry.php on line 1144

Segmentation fault (core dumped)
*** Error code 139

Stop in /basejail/usr/ports/devel/pear.
*** Error code 1

Stop in /basejail/usr/ports/devel/pear.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portinstall20110816-14452-1w1lpn0-0 env make reinstall

** Fix the installation problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! devel/pear(install error)

First, beause the messages start with PHP Deprecated, I thought it's 
about my php being outdated. Some extensions really were, so I 
upgraded them, but nothing changed.


I found, on FreeBSD Forums, a thread about PHP Deprecated messages, 
and there the issue was to set open_basedir properly in php.ini. But 
mine was not set (commented out) -- so, default value (/tmp) which, as 
they say, doesn't cause problems.


Then I tried to install pear on my FreeBSD 8.2 desktop, it again 
printed all the PHP Deprecated messages, but it installed and I even 
could do pear upgrade PEAR.


Then I tried to install pear from 7-stable packages on my server, pear 
installed but when I tried to upgrade PEAR:


#pear upgrade PEAR
Error getting channel info from pear.php.net: No cached content 
available for http://pear.php.net/rest/p/packages.xml;

Nothing to upgrade
Segmentation fault (core dumped)
#
The server is an ezjail on 7.4-RELEASE.

Any ideas of how to get pear installed? Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org
I just tried to recompile php5 with DEBUG enabled as someone told this 
helped him here:

http://lists.freebsd.org/pipermail/freebsd-ports/2006-July/033794.html

Strange it seemed to him, but it also helped me. When I reinstalled pear 
after this, it rebuilt textproc/php5-xml and asked me to 
deinstall/reinstall that port first which it didn't do before. Now pear 
seems to work (installed, upgraded via its channel). Hope it won't 
trouble me anymore, don't know whether there is any issue with pear's port.

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


Re: devel/pear doesn't install (segfault)

2011-08-16 Thread Jeff Tipton

On 08/16/11 18:24, Jeff Tipton wrote:

On 08/16/11 16:10, Jeff Tipton wrote:

devel/pear doesn't install (segfault)

Hi all,

When I try to install pear from ports on my server, it spits out a 
whole bunch of messages like:


Preparing installer..
PHP Deprecated:  Assigning the return value of new by reference is 
deprecated in /go-pear/PEAR/Config.php on line 650

(...)
PHP Deprecated:  Assigning the return value of new by reference is 
deprecated in /go-pear/PEAR/Registry.php on line 322

(...)
PHP Deprecated:  Assigning the return value of new by reference is 
deprecated in /go-pear/PEAR/Command.php on line 137

(...)
PHP Warning:  date(): It is not safe to rely on the system's timezone 
settings. You are *required* to use the date.timezone setting or the 
date_default_timezone_set() function. In case you used any of those 
methods and you are still getting this warning, you most likely 
misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no 
DST' instead in /go-pear/PEAR/Registry.php on line 1012

(...)

And then ends up like this:

PHP Deprecated:  Function set_magic_quotes_runtime() is deprecated in 
/go-pear/PEAR/DependencyDB.php on line 583

install ok: channel://pear.php.net/Console_Getopt-1.2.3
PHP Deprecated:  Function set_magic_quotes_runtime() is deprecated in 
/go-pear/PEAR/Registry.php on line 1140
PHP Deprecated:  Function set_magic_quotes_runtime() is deprecated in 
/go-pear/PEAR/Registry.php on line 1144

Segmentation fault (core dumped)
*** Error code 139

Stop in /basejail/usr/ports/devel/pear.
*** Error code 1

Stop in /basejail/usr/ports/devel/pear.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portinstall20110816-14452-1w1lpn0-0 env make reinstall

** Fix the installation problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! devel/pear(install error)

First, beause the messages start with PHP Deprecated, I thought 
it's about my php being outdated. Some extensions really were, so I 
upgraded them, but nothing changed.


I found, on FreeBSD Forums, a thread about PHP Deprecated messages, 
and there the issue was to set open_basedir properly in php.ini. But 
mine was not set (commented out) -- so, default value (/tmp) which, 
as they say, doesn't cause problems.


Then I tried to install pear on my FreeBSD 8.2 desktop, it again 
printed all the PHP Deprecated messages, but it installed and I 
even could do pear upgrade PEAR.


Then I tried to install pear from 7-stable packages on my server, 
pear installed but when I tried to upgrade PEAR:


#pear upgrade PEAR
Error getting channel info from pear.php.net: No cached content 
available for http://pear.php.net/rest/p/packages.xml;

Nothing to upgrade
Segmentation fault (core dumped)
#
The server is an ezjail on 7.4-RELEASE.

Any ideas of how to get pear installed? Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org
I just tried to recompile php5 with DEBUG enabled as someone told this 
helped him here:

http://lists.freebsd.org/pipermail/freebsd-ports/2006-July/033794.html

Strange it seemed to him, but it also helped me. When I reinstalled 
pear after this, it rebuilt textproc/php5-xml and asked me to 
deinstall/reinstall that port first which it didn't do before. Now 
pear seems to work (installed, upgraded via its channel). Hope it 
won't trouble me anymore, don't know whether there is any issue with 
pear's port.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org
No, it doesn't go much further... When i try pear install 
horde/horde_role, it can't verify the downloaded package and complains 
that php must have been compiled with --disable-tokenizer. But 
tokenizer is a separete package, and is installed on my system, and 
isn't mentioned in UPDATING as others that are no longer supplied as 
extension but as compiled in the core.


Tried to rebuild php without debug, and then pear install 
horde/horde_role complains that there is no XML extension, but it's 
there -- as a registered package, and in the 
/usr/local/etc/php/extensions.ini


# ls /var/db/pkg | grep xml
libxml2-2.7.8_1
php5-simplexml-5.3.6_1
php5-xml-5.3.6_1
php5-xmlreader-5.3.6_1
php5-xmlwriter-5.3.6_1
#

# cat /usr/local/etc/php/extensions.ini
extension=intl.so
extension=ldap.so
extension=pspell.so
extension=sqlite3.so
extension=tidy.so
extension=imagick.so
extension=calendar.so
extension=bz2.so
extension=sockets.so
extension=json.so
extension=mysqli.so
extension=hash.so
extension=filter.so
extension=mysql.so
extension=zlib.so
extension=gd.so
extension=dom.so
extension=xmlreader.so
extension=xmlwriter.so
extension=simplexml.so

Re: devel/pear doesn't install (segfault)

2011-08-16 Thread Jeff Tipton

On 08/16/11 20:07, Jeff Tipton wrote:

On 08/16/11 18:24, Jeff Tipton wrote:

On 08/16/11 16:10, Jeff Tipton wrote:

devel/pear doesn't install (segfault)

Hi all,

When I try to install pear from ports on my server, it spits out a 
whole bunch of messages like:


Preparing installer..
PHP Deprecated:  Assigning the return value of new by reference is 
deprecated in /go-pear/PEAR/Config.php on line 650

(...)
PHP Deprecated:  Assigning the return value of new by reference is 
deprecated in /go-pear/PEAR/Registry.php on line 322

(...)
PHP Deprecated:  Assigning the return value of new by reference is 
deprecated in /go-pear/PEAR/Command.php on line 137

(...)
PHP Warning:  date(): It is not safe to rely on the system's 
timezone settings. You are *required* to use the date.timezone 
setting or the date_default_timezone_set() function. In case you 
used any of those methods and you are still getting this warning, 
you most likely misspelled the timezone identifier. We selected 
'UTC' for 'UTC/0.0/no DST' instead in /go-pear/PEAR/Registry.php on 
line 1012

(...)

And then ends up like this:

PHP Deprecated:  Function set_magic_quotes_runtime() is deprecated 
in /go-pear/PEAR/DependencyDB.php on line 583

install ok: channel://pear.php.net/Console_Getopt-1.2.3
PHP Deprecated:  Function set_magic_quotes_runtime() is deprecated 
in /go-pear/PEAR/Registry.php on line 1140
PHP Deprecated:  Function set_magic_quotes_runtime() is deprecated 
in /go-pear/PEAR/Registry.php on line 1144

Segmentation fault (core dumped)
*** Error code 139

Stop in /basejail/usr/ports/devel/pear.
*** Error code 1

Stop in /basejail/usr/ports/devel/pear.
** Command failed [exit code 1]: /usr/bin/script -qa 
/tmp/portinstall20110816-14452-1w1lpn0-0 env make reinstall

** Fix the installation problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! devel/pear(install error)

First, beause the messages start with PHP Deprecated, I thought 
it's about my php being outdated. Some extensions really were, so I 
upgraded them, but nothing changed.


I found, on FreeBSD Forums, a thread about PHP Deprecated 
messages, and there the issue was to set open_basedir properly in 
php.ini. But mine was not set (commented out) -- so, default value 
(/tmp) which, as they say, doesn't cause problems.


Then I tried to install pear on my FreeBSD 8.2 desktop, it again 
printed all the PHP Deprecated messages, but it installed and I 
even could do pear upgrade PEAR.


Then I tried to install pear from 7-stable packages on my server, 
pear installed but when I tried to upgrade PEAR:


#pear upgrade PEAR
Error getting channel info from pear.php.net: No cached content 
available for http://pear.php.net/rest/p/packages.xml;

Nothing to upgrade
Segmentation fault (core dumped)
#
The server is an ezjail on 7.4-RELEASE.

Any ideas of how to get pear installed? Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org
I just tried to recompile php5 with DEBUG enabled as someone told 
this helped him here:

http://lists.freebsd.org/pipermail/freebsd-ports/2006-July/033794.html

Strange it seemed to him, but it also helped me. When I reinstalled 
pear after this, it rebuilt textproc/php5-xml and asked me to 
deinstall/reinstall that port first which it didn't do before. Now 
pear seems to work (installed, upgraded via its channel). Hope it 
won't trouble me anymore, don't know whether there is any issue with 
pear's port.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
freebsd-questions-unsubscr...@freebsd.org
No, it doesn't go much further... When i try pear install 
horde/horde_role, it can't verify the downloaded package and 
complains that php must have been compiled with --disable-tokenizer. 
But tokenizer is a separete package, and is installed on my system, 
and isn't mentioned in UPDATING as others that are no longer supplied 
as extension but as compiled in the core.


Tried to rebuild php without debug, and then pear install 
horde/horde_role complains that there is no XML extension, but it's 
there -- as a registered package, and in the 
/usr/local/etc/php/extensions.ini


# ls /var/db/pkg | grep xml
libxml2-2.7.8_1
php5-simplexml-5.3.6_1
php5-xml-5.3.6_1
php5-xmlreader-5.3.6_1
php5-xmlwriter-5.3.6_1
#

# cat /usr/local/etc/php/extensions.ini
extension=intl.so
extension=ldap.so
extension=pspell.so
extension=sqlite3.so
extension=tidy.so
extension=imagick.so
extension=calendar.so
extension=bz2.so
extension=sockets.so
extension=json.so
extension=mysqli.so
extension=hash.so
extension=filter.so
extension=mysql.so
extension=zlib.so
extension=gd.so
extension=dom.so
extension=xmlreader.so

Zero results for Thunderbird addressbook client quering OpenLDAP server

2011-08-12 Thread Jeff Tipton
Hi,

I installed an OpenLDAP server for an office LAN, and the first thing I wanted 
it do is a shared address book for e-mail clients. My OpenLDAP server responds 
ok on ldapsearch, it also can be browsed with phpldapadmin and jxplorer (from a 
LAN desktop) but I can't get anything from it with Thunderbird and Claws mail 
addressbooks.

The server OS is 7.4-RELEASE, OpenLDAP is 2.4.26.

To trace the problem, I stripped down all the configuration to a bare minimum, 
removed all ACLs, and opened the port 389 on the router, so that I can continue 
remotely (hope I won't need this hole for long). Here's my slapd.conf:

modulepath   /usr/local/libexec/openldap
moduleload   back_bdb.la
moduleload   back_hdb.la
include         /usr/local/etc/openldap/schema/core.schema
include       /usr/local/etc/openldap/schema/cosine.schema
include       /usr/local/etc/openldap/schema/inetorgperson.schema
database        hdb
suffix          dc=domainname,dc=tld
rootdn          cn=Manager,dc=domainname,dc=tld
directory       /var/db/openldap-data
index   objectClass,uid,uidNumber,gidNumber   eq
index   cn,mail,surname,givenname             eq,subinitial
rootpw {SSHA}95A/ZTBigrkvH349C6pM6WtI1TMoZRDe
loglevel 256

The database structure:

ldapsearch -W -H ldap://localhost/ -D cn=Manager,dc=domainname,dc=tld -b 
'dc=domainname,dc=tld' '(objectclass=*)'
Enter LDAP Password: 
# extended LDIF
#
# LDAPv3
# base dc=domainname,dc=tld with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# domainname.tld
dn: dc=domainname,dc=tld
objectClass: dcObject
objectClass: organization
o: domainname.tld
dc: domainname

# Manager, domainname.tld
dn: cn=Manager,dc=domainname,dc=tld
objectClass: organizationalRole
cn: Manager

# TBabook, domainname.tld
dn: ou=TBabook,dc=domainname,dc=tld
objectClass: organizationalUnit
objectClass: top
ou: TBabook

# John User, TBabook, domainname.tld
dn: cn=John User,ou=TBabook,dc=domainname,dc=tld
objectClass: inetOrgPerson
objectClass: top
objectClass: person
cn: John User
givenName: John
mail: j...@domainname.tld
sn: User


# search result
search: 2
result: 0 Success

# numResponses: 5
# numEntries: 4

Now, on  thunderbird-3.1.11. FreeBSD 8.2 8.2-RELEASE (also tried from other 
OSes with Thunderbird 3 and Claws):
-made an account j...@domainname.tld
-created a New LDAP directory with these settings:
Name: MyCompany Public
Hostname: mail.domainname.tld
Base DN: cn=TBabook,dc=domainname,dc=tld
Port number: 389 (that's open on the company's router, pointing to the OpenLDAP 
server, and I can make a remote ldapsearch successfully)
Bind DN: cn=Manager,dc=domainname,dc=tld
When, after these settings, I press OK, nothing happens. When I go to the 
Offline tab and press Download, Thunderbird prompts for a password. I fill 
in the Manager's (rootdn) password, check the Remember box, then Ok, and 
Thunderbird responds with Replication succeeded. But nothing appears in the 
addressbook. Meanwhile these rows were appended to the server's 
/var/log/debug.log:

Aug 12 12:04:36 server slapd[54734]: conn=1018 fd=14 ACCEPT from 
IP=xx.xx.xx.xx:65161 (IP=0.0.0.0:389)
Aug 12 12:04:36 server slapd[54734]: conn=1018 op=0 BIND 
dn=cn=Manager,dc=domainname,dc=tld method=128
Aug 12 12:04:36 server slapd[54734]: conn=1018 op=0 BIND 
dn=cn=Manager,dc=domainname,dc=tld mech=SIMPLE ssf=0
Aug 12 12:04:36 server slapd[54734]: conn=1018 op=0 RESULT tag=97 err=0 text=
Aug 12 12:04:36 server slapd[54734]: conn=1018 op=1 SRCH 
base=ou=TBabook,dc=domainname,dc=tld scope=2 deref=0 filter=(objectClass=*)
Aug 12 12:04:36 server slapd[54734]: conn=1018 op=1 SEARCH RESULT tag=101 err=0 
nentries=2 text=
Aug 12 12:04:38 server slapd[54734]: conn=1018 op=2 UNBIND
Aug 12 12:04:38 server slapd[54734]: conn=1018 fd=14 closed

I also tried to add mozillaAbPersonAlpha.schema to my OpenLDAP and its 
objectClass to the John User but that didn't change anything. There's also a 
perhaps unrelated thing: the /usr/local/etc/rc.d/slapd script is only able to 
start openldap. In order to stop it, I have to kill it by PID.

So, very simple situation, but I can't get it work. Anyone has ideas of how to 
find the cause? Thanks in advance.


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


Re: Zero results for Thunderbird addressbook client quering OpenLDAP server

2011-08-12 Thread Jeff Tipton

On 08/12/11 13:32, Jeff Tipton wrote:

Hi,

I installed an OpenLDAP server for an office LAN, and the first thing I wanted 
it do is a shared address book for e-mail clients. My OpenLDAP server responds 
ok on ldapsearch, it also can be browsed with phpldapadmin and jxplorer (from a 
LAN desktop) but I can't get anything from it with Thunderbird and Claws mail 
addressbooks.

The server OS is 7.4-RELEASE, OpenLDAP is 2.4.26.

To trace the problem, I stripped down all the configuration to a bare minimum, 
removed all ACLs, and opened the port 389 on the router, so that I can continue 
remotely (hope I won't need this hole for long). Here's my slapd.conf:

modulepath   /usr/local/libexec/openldap
moduleload   back_bdb.la
moduleload   back_hdb.la
include /usr/local/etc/openldap/schema/core.schema
include   /usr/local/etc/openldap/schema/cosine.schema
include   /usr/local/etc/openldap/schema/inetorgperson.schema
databasehdb
suffix  dc=domainname,dc=tld
rootdn  cn=Manager,dc=domainname,dc=tld
directory   /var/db/openldap-data
index   objectClass,uid,uidNumber,gidNumber   eq
index   cn,mail,surname,givenname eq,subinitial
rootpw {SSHA}95A/ZTBigrkvH349C6pM6WtI1TMoZRDe
loglevel 256

The database structure:

ldapsearch -W -H ldap://localhost/ -D cn=Manager,dc=domainname,dc=tld -b 
'dc=domainname,dc=tld' '(objectclass=*)'
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# basedc=domainname,dc=tld  with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# domainname.tld
dn: dc=domainname,dc=tld
objectClass: dcObject
objectClass: organization
o: domainname.tld
dc: domainname

# Manager, domainname.tld
dn: cn=Manager,dc=domainname,dc=tld
objectClass: organizationalRole
cn: Manager

# TBabook, domainname.tld
dn: ou=TBabook,dc=domainname,dc=tld
objectClass: organizationalUnit
objectClass: top
ou: TBabook

# John User, TBabook, domainname.tld
dn: cn=John User,ou=TBabook,dc=domainname,dc=tld
objectClass: inetOrgPerson
objectClass: top
objectClass: person
cn: John User
givenName: John
mail: j...@domainname.tld
sn: User


# search result
search: 2
result: 0 Success

# numResponses: 5
# numEntries: 4

Now, on  thunderbird-3.1.11. FreeBSD 8.2 8.2-RELEASE (also tried from other 
OSes with Thunderbird 3 and Claws):
-made an account j...@domainname.tld
-created a New LDAP directory with these settings:
Name: MyCompany Public
Hostname: mail.domainname.tld
Base DN: cn=TBabook,dc=domainname,dc=tld
Port number: 389 (that's open on the company's router, pointing to the OpenLDAP 
server, and I can make a remote ldapsearch successfully)
Bind DN: cn=Manager,dc=domainname,dc=tld
When, after these settings, I press OK, nothing happens. When I go to the Offline tab and press 
Download, Thunderbird prompts for a password. I fill in the Manager's (rootdn) password, check the Remember box, 
then Ok, and Thunderbird responds with Replication succeeded. But nothing appears in the addressbook. Meanwhile 
these rows were appended to the server's /var/log/debug.log:

Aug 12 12:04:36 server slapd[54734]: conn=1018 fd=14 ACCEPT from 
IP=xx.xx.xx.xx:65161 (IP=0.0.0.0:389)
Aug 12 12:04:36 server slapd[54734]: conn=1018 op=0 BIND 
dn=cn=Manager,dc=domainname,dc=tld method=128
Aug 12 12:04:36 server slapd[54734]: conn=1018 op=0 BIND 
dn=cn=Manager,dc=domainname,dc=tld mech=SIMPLE ssf=0
Aug 12 12:04:36 server slapd[54734]: conn=1018 op=0 RESULT tag=97 err=0 text=
Aug 12 12:04:36 server slapd[54734]: conn=1018 op=1 SRCH 
base=ou=TBabook,dc=domainname,dc=tld scope=2 deref=0 filter=(objectClass=*)
Aug 12 12:04:36 server slapd[54734]: conn=1018 op=1 SEARCH RESULT tag=101 err=0 
nentries=2 text=
Aug 12 12:04:38 server slapd[54734]: conn=1018 op=2 UNBIND
Aug 12 12:04:38 server slapd[54734]: conn=1018 fd=14 closed

I also tried to add mozillaAbPersonAlpha.schema to my OpenLDAP and its objectClass to the 
John User but that didn't change anything. There's also a perhaps unrelated 
thing: the /usr/local/etc/rc.d/slapd script is only able to start openldap. In order to 
stop it, I have to kill it by PID.

So, very simple situation, but I can't get it work. Anyone has ideas of how to 
find the cause? Thanks in advance.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
I just analyzed my Thunderbird-OpenLDAP session with wireshark, and it 
shows an ideal conversation! Here's an outline:


T  bindRequest(1) cn=Manager,dc=domainname,dc=tld simple
O  bindResponse(1) success
T  searchRequest(2) ou=TBabook,dc=domainname,dc=tld wholeSubtree
O  searchResEntry(2) ou=TBabook,dc=domainname,dc=tld
O  searchResEntry(2) cn=John User,ou=TBabook,dc=domainname,dc=tld
O  searchResEntry(2) cn=Jane User,ou=TBabook,dc=domainname,dc=tld
O  searchResDone(2) success
T  unbindRequest(3)

I also browsed the contents of responses deeper, and all

/usr/ports/textproc/flex port didn't replace existing flex install

2011-07-18 Thread Jeff Hamann
I'm running:

FreeBSD freebsd-82-amd64.localdomain 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu 
Feb 17 02:41:51 UTC 2011 
r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

I need to update flex for building postgresql-9.0.3 from source.

I installed the latest port (flex-2.5.35_4) from /usr/ports/textproc/flex. 

When I flex --version, I still get the old version of flex (2.5.4).

Is there some other place I need to set the path to flex?

Respectfully,
Jeff.


Jeff Hamann, PhD
PO Box 1421
Corvallis, Oregon 97339-1421
541-754-2457
jeff.hamann[at]forestinformatics[dot]com
http://www.forestinformatics.com
http://forufus.blogspot.com/
http://en.wikipedia.org/wiki/Forest_informatics

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


can't build teTeX port in FreeBSD 8.2 amd64

2011-07-13 Thread Jeff Hamann
I've tried to install the teTeX port (for pdflatex, etc.) and keep running into 
this error.

I can't seem to find a solution on the web and I could really use the help.

freebsd-82-amd64# uname -a
FreeBSD freebsd-82-amd64.localdomain 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu 
Feb 17 02:41:51 UTC 2011 
r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
freebsd-82-amd64# cd /usr/ports/print/teTeX
freebsd-82-amd64# make install
===  Installing for teTeX-3.0_4
===   teTeX-3.0_4 depends on file: /usr/local/share/texmf-local/ls-R - found
===   teTeX-3.0_4 depends on file: /usr/local/share/texmf-dist/LICENSE.texmf - 
not found
===Verifying install for /usr/local/share/texmf-dist/LICENSE.texmf in 
/usr/ports/print/teTeX-texmf
===   teTeX-texmf-3.0_6 depends on file: /usr/local/share/texmf-local/ls-R - 
found
===   teTeX-texmf-3.0_6 depends on file: 
/usr/local/share/fonts/cmpsfont/README - not found
===Verifying install for /usr/local/share/fonts/cmpsfont/README in 
/usr/ports/print/cmpsfont
===  Vulnerability check disabled, database not found
===  License check disabled, port has not defined LICENSE
= cmps-unix.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
= Attempting to fetch http://cvsup.theplanet.com/distfiles//cmps-unix.tar.gz
fetch: http://cvsup.theplanet.com/distfiles/cmps-unix.tar.gz: Connection refused
= Attempting to fetch http://ftp.ctex.org/pub/tex/fonts/type1//cmps-unix.tar.gz
fetch: http://ftp.ctex.org/pub/tex/fonts/type1/cmps-unix.tar.gz: size mismatch: 
expected 1915486, actual 1917739
= Attempting to fetch 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles//cmps-unix.tar.gz
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/cmps-unix.tar.gz: size 
mismatch: expected 1915486, actual 1917739
= Couldn't fetch it - please try to retrieve this
= port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/ports/print/cmpsfont.
*** Error code 1

Stop in /usr/ports/print/teTeX-texmf.
*** Error code 1

Stop in /usr/ports/print/teTeX.
*** Error code 1

Stop in /usr/ports/print/teTeX.



Respectfully,
Jeff.


Jeff Hamann, PhD
PO Box 1421
Corvallis, Oregon 97339-1421
541-754-2457
jeff.hamann[at]forestinformatics[dot]com
jeff.d.hamann[at]gmail[dot]com
http://www.forestinformatics.com
http://forufus.blogspot.com/
http://en.wikipedia.org/wiki/Forest_informatics








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


startup postgresql 9.0.3

2011-06-16 Thread Jeff Hamann
I've installed and tested postgresql just fine on FreeBSD 8.2.

I've been trying to get postgresql (the server) to start on bootup using 
/etc/rc.conf system.

I'm using the script from the tarball (found in the 
contrib/start-scripts/freebsd of postreges tarball)

I can't seem to get it to work on FreeBSD 8.2 amd64 (I don't think the arch is 
important here, but you never know).

As instructed in the script, I've moved the file to 
/usr/local/etc/rc.d/postgresql

I've added the postgresql_enable=YES to /etc/rc/conf.

I know I'm missing some magic here 
(http://www.freebsd.org/doc/en_US.ISO8859-1/articles/rc-scripting/index.html 
perhaps?)

I've /usr/local/pgsql/bin./postgres --help'd too and can't seem to get traction.

Can you please help? I'm sure this is something simple I'm neglecting.

Please don't respond with Why don't you just use the ports collection? 
There's reasons - like: 1) need to build from source, 3) it's for a tutorial, 
and 3) postgresql90-server isn't building.

Respectfully,
Jeff.


Jeff Hamann, PhD
PO Box 1421
Corvallis, Oregon 97339-1421
541-754-2457
jeff.hamann[at]forestinformatics[dot]com
http://www.forestinformatics.com
http://forufus.blogspot.com/

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


Exhibiting in June

2011-05-10 Thread Jeff Andrews
Exhibiting in June?  I'd love to help and its what I do best.   I help 
exhibitors with banner stands, portable displays, custom displays, and shipping 
or freight coordination.

I can always be reached on my cell phone: 818-519-2336.

Please check out our website, but more importantly if you have any questions 
please feel free to call me or send a message and I will stand ready to help 
from start to finish.

www.productionprints.com


Thanks!

Jeff Andrews
Important Sales Guy
(866) 398-5938
Production Prints, Inc
150 Wood Rd, Ste G
Camarillo, CA
93010

To No longer Receive Emails from me, please click the link below and enter your 
email: 
http://productionprints.wufoo.com/forms/unsubscribe/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Swap Space

2011-01-05 Thread Jeff Whitman
I will be installing 8.1 on a Dell Poweredge 2850, with dual 3 GHz XEON
processors and 6GB RAM.  

 

What is the recommended swap space?  

 

I'm finding conflicting data on this.  Some say 0, some say 1 times RAM,
others say stay with 2 x RAM.

 

Thank you

 

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


Samba3

2010-09-22 Thread Jeff Molofee
 Need to get any variation of Samba 3 installed on a dedicated server. 
Using FreeBSD 6.X, get an error about buffer size being unknown and 
random errors on every version from 3.0 to 3.4. Anyone able to help me out?


Error is [smbd/statvfs.o] Error 1

Some people are saying it's a Samba issue, others are saying it's BSD 
6.x, and some even say it's autoconf 2.67


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


Python cdll.LoadLibrary() Segfault

2010-08-25 Thread Jeff Aigner
Hello,

I am trying to use ctypes in python to load some external libs, and
python segfaults when I try to load libc.so.6. This error occurs with
both python 2.5.5 and python 2.6.5. Here's what happens:

jeffdev# python
Python 2.5.5 (r255:77872, Aug 25 2010, 12:17:48)
[GCC 4.2.1 20070719  [FreeBSD]] on freebsd7
Type help, copyright, credits or license for more information.
 from ctypes import *
 cdll.LoadLibrary(/usr/compat/linux/lib/ld-linux.so.2)
CDLL '/usr/compat/linux/lib/ld-linux.so.2', handle 28516400 at 284178ec
 cdll.LoadLibrary(/usr/compat/linux/lib/libc.so.6)
Segmentation fault (core dumped)
jeffdev#

Also note that I have to give the full path to the libraries, even when
I try to set the environment variable $LD_LIBRARY_PATH

Some more info:

FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

Any idea as to what is happening here, or what I can do to try and get
around this issue?

Jeff Aigner

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


freebsd.org maillist mx discard policy

2010-08-19 Thread Jeff Laine

Hello list,

My question is regarding official maillist smtp servers. I'm trying to 
subscribe on security-notifications, but (for some reasons) our 
outgoing MX has no PTR record and mx1.freebsd.org rejects my message:



Reporting-MTA: dns; xxx
Arrival-Date: Mon, 16 Aug 2010 17:18:39 +0400 (MSD)

Final-Recipient: RFC822; 
freebsd-security-notifications-requ...@freebsd.org

Action: delayed
Status: 4.7.1
Remote-MTA: DNS; mx1.freebsd.org
Diagnostic-Code: SMTP; 450 4.7.1 Client host rejected: cannot find 
your hostname, [x.x.x.x]

Last-Attempt-Date: Mon, 16 Aug 2010 21:24:36 +0400 (MSD)


I have the SPF record set up for our domain which designates our 
external IP as a valid sender address for the domain, but I still get 
rejected.


So, the question is: do the freebsd.org maillist servers follow SPF 
records or PTR record is mandatory?



TIA.

--
Best regards,
Jeff

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


Re: how to run task periodically

2010-08-18 Thread Jeff Laine

On 08/18/2010 10:58, Mark Stapper wrote:

  Hi,

I have a system that doesn't run 24/7/365.
I would like to make sure that some tasks (like updating the ports tree)
run weekly/monthly etc.
As the system isn't on 24/7 the cron job I usually run for these tasks
doesn't work as the machine isn't always running on the scheduled time.

So I need a utility that enable me to say: if a week has passed since
the last run, run this command.
Is there such a utlility?
Cheers,
Mark



Maybe @reboot action of standard crontab will suit your needs.
Also it wouldn't be that hard to write a simple shell-script which will 
check dates and perform needed actions.




--
Best regards,
Jeff
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


adding postgresql_enable=YES by hand

2010-08-03 Thread Jeff Hamann
Hi, 

I'm sure this is a newbie question, but I can't seem to get traction via web 
searches...

In the past, when I've installed postgresql using the ports collection, I 
haven't had to worry about this. 

I've built postgresql from source on FreeBSD (not using the ports collection) 
and now need to add:

postgresql_enable=YES to the rc.conf file so that when the machine is booted, 
the postmaster will start. 

Now, I need to understand the mechanics between:

blah_blah_blah_enable=YES 

and 

$ /usr/local/blah_blah_blah/bin/thingy_ctl -D /usr/blah_blah_blah/data 
start/stop/restart

Since I need to be able to build outside the ports collection (other OSes 
apply), can someone please point me in the right direction for hooking this up

Please?
Jeff. 



Jeff Hamann
jeff.d.ham...@gmail.com



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


Re: Is software update in a working state yet?

2010-07-22 Thread Jeff Molofee

 packagekit... moreso gnome-packagekit

On 7/22/2010 1:23 PM, Lowell Gilbert wrote:

Jeff Molofeen...@telus.net  writes:


I've noticed software update pop up on the screen quite a bit lately.
Initially it popped up and did nothing.  Now in 8.1-RC2 it pops up and
shows me that I actually have updates.  When I click update, it seems
like it's actually attempting to upgrade the listed packages, but the
entire process always ends with command 'update-packages' is not
known.

Do I have something misconfigured or is it still incomplete?

Pardon my naivete, but:

What is software update?
It sounds like a GUI-ish thing;
Is it a part of some desktop manager?
Do you know what it uses as a backend?

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


Is software update in a working state yet?

2010-07-21 Thread Jeff Molofee
I've noticed software update pop up on the screen quite a bit lately.  
Initially it popped up and did nothing.  Now in 8.1-RC2 it pops up and 
shows me that I actually have updates.  When I click update, it seems 
like it's actually attempting to upgrade the listed packages, but the 
entire process always ends with command 'update-packages' is not known.


Do I have something misconfigured or is it still incomplete?

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


bindtextdomain

2010-05-16 Thread Jeff Molofee
Sorry guys, didn't notice if this has come up yet... did a big 
portupgrade (-af) and now I'm having issues with quite a few programs 
failing to run.


In time tracker I always get:

AttributeError: 'module' object has no attribute '*bindtextdomain*'

A few of the built in games... like chess and sudoku:

 File /usr/local/lib/python2.6/site-packages/glchess/defaults.py, 
line 46, in module

locale.bind_textdomain_codeset(DOMAIN, UTF-8) # See Bug 608425
AttributeError: 'module' object has no attribute '*bind_textdomain_codeset*'

===

I was also wondering if someone could explain packagekit... I read that 
it's a work in progress... but every time I boot I see two updates show 
up... I then try to upgrade using the upgrade now button, and receive a 
few errors.  The first error states that packages for these items can 
not be found, the second error stats that upgrade-packages can not be 
found (sorry, going from memory), but basically it can't find the actual 
program or script required to do the upgrade.  Is Packagekit broken at 
the moment or am I missing something?


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


setting sendmail.mc options?

2010-04-05 Thread Jeff Hamann
I'm sure this isn't the correct place for this question, but I'm not sure where 
to go as I only use my FreeBSD Unleashed to admin my sendmail. 

I'm a newbie at this and could use a little help. 

I'm trying to configure sendmail, using the freebsd port, to only relay mail 
once a day (I hate emails every few minutes), and if possible to hold outbound 
mail in the que (I think there's some que) until some fixed time (like 7am) so 
that all my mail is transferred then. 

I've tried adding:

#sendmail_flags=-bp -q480m and
#sendmail_flags=-q120m

after my 

sendmail_enable=YES

and that didn't seem to work. 

I've tried adding the following to my .mc file, 

define( 'confMIN_QUEUE_AGE', '360m' ) 

to my mc files. I then typed, make, make install, make restart from command 
line and it doesn't seem to change the behavior.

I'm sure this is a trivial config, but I'm a newbie at this and could use a 
little help. 


Thanks,
Jeff.


Jeff Hamann, PhD
PO Box 1421
Corvallis, Oregon 97339-1421
541-754-2457
jeff.hamann[at]forestinformatics[dot]com
http://www.forestinformatics.com

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


Re: Flash sometimes freezes firefox, also many npviewer.bin processes left running around

2010-03-23 Thread Jeff Laine
On Mon,22-03-2010 [17:41:16], Steve Franks wrote:
 /usr/ports/www/xpi-noscript is another option, not without caveats...
 
 Steve
 
 
 On Thu, Mar 18, 2010 at 6:47 PM, Yuri y...@rawbw.com wrote:
  Sometimes after some flash object is displayed firefox gets frozen for many
  few seconds,maybe ~20sec.
  Do you see the same? Is there anyfix for this?
 
  In additions I have 54 processes like this one
  50006  ??  I      0:00.00
  /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin --plugin
  /usr/local/lib/linux-mozilla/plugins/libflashplayer.so --connection
  hanging around even after firefox process exits.
 
  linux-f10-flashplugin-10.0r45
  nspluginwrapper-1.2.2_5
  firefox-3.5.8,1
 
  Yuri

Hi!

There was a workaround for this issue published by DutchDaemon on 
forums.freebsd.org. 
I'm too lazy today to seek for that thread, sorry :) 
What he suggested is a simple cronjob script intended to constantly check 
process list and 
kill any single remaining proccess of npviewer.bin
It works, but you should check every minute or so.


-- 
Best regards,
Jeff

| Nobody wants to say how this works.  |
|  Maybe nobody knows ...  |
|   Xorg.conf(5)|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


I want to submit a solution to solve a bug

2010-02-17 Thread Jeff Mo
Hello,

I found the solution about why this bug occurs.
http://www.freebsd.org/cgi/query-pr.cgi?pr=125239cat=
I would like to contribute my knowledge to FreeBSD website but do not
know where to start.
Can you let me know what's the next step if I want to submit a solution?

Thank,
-- 
Jeff Mo
Santa Clara University
Linux+, SCJP, SCWCD, MCSD
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Help! Upgrade from fbsd 5.4 to 8.x

2010-02-01 Thread Jeff Mitchell
On Mon, 1 Feb 2010, Ruben de Groot wrote:

#  The GENERIC kernel in 8.0 comes with the COMPAT_FREEBSD5 option by default, 
so
#  the only thing you need to do is to install the misc/compat5x port.
# 
# That is, if the executables weren't dependent on compat[2-4] options in the 
kernel on the old server ;)

Hahahahaha haha   h ... erm :/ We'll see :)

# Yes, you could even try coying the entire old disk to a subdirectory and
# running that as a jail. Should bring you up quickly, giving you more time
# to migrate all applications proper.

I considered this (or just VMing the whole box), but I'd still be 
going through to trim out the union of ports (ie: ssh common port etc), so 
heck with it.

I do think I'm going to jail like mad this time through though; 
ie: stick apache into a jail, stick groupware server into a jail, stick 
mailing list into a jail, etc; for things that are well defined and should 
be something considered for peeling to another server some day, just jail 
them outright from the onset .. better security and help keep me from 
bleeding lines between services. Good tip :)

Not that I've set up a jail before, but nows as good a time as any 
to learn :)

jeff

--
If everyone would put barbecue sauce on their food, there would be no war.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


How far to go with jailing?

2010-02-01 Thread Jeff Mitchell


	Strikes me that setting up jails for bloody-well-every-other 
service might be 'fun' ..


	Jail the webserver; seems a logical break, and keep you honest for 
your partitioning. No more ~/public_html to access it I suppose, but much 
mroe secure for when people attack your wordpress etc.


	Jail the 'email services'; use fetchmail to pull down to the jail, 
and IMAP and POP3 to serve the mail even to local clients; nice clean 
email mini-server right there in the jail?


	Jail SMB-serving, so if attacked it still can only serve the 
content in the very well defined area.


Jail the mailing list (mailman etc) .. keep things nice and clean.

	But is setting up a whole stack of jails a pain? a performance 
problem? or just un-necessary overkill? Or a good idea?


jeff

--
If everyone would put barbecue sauce on their food, there would be no war.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Shutdown

2010-02-01 Thread Jeff Molofee
I have completely lost the ability to shutdown/reboot/logout... I've 
found a few pages on this issue, and nothing seems to resolve the 
issue.  I'm in wheel, operator groups, hal, dbus, gnome_enable all 
set... consolekit showing a token, proc mounted... and still nothing... 
what else could be wrong?


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


Re: Help! Upgrade from fbsd 5.4 to 8.x

2010-01-31 Thread Jeff Mitchell
On Sun, 31 Jan 2010, Volodymyr Kostyrko wrote:

# Not totally true. 5.4 was released in 2005 whereas newest motherboard with
# which I faced personally problems booting from USB was from 2003. And it
# actually declares that it can boot from USB.

5.4 seemed to actually have many issues with USB; some devices 
work, others cause kernel panics as soon as they hit the socket, so I 
generally avoid them on the machine (which causes no end of trouble for 
backups :)

# However it's quite possible the hardware would not boot from USB stick. This

An interesting idea to boot from USB here; I've often flirted with 
the idea of using the local-disk for storage, and the OS from flash media, 
and thus being able to swap easily without a hypervisor/etc.

Anyway, as this box is a shell, mailserver, low end webserver etc, 
fairly dedicated in function, I think my best route will be to buy another 
disk (I mean, theyu're cheap right?) and do the jump straight to a fresh-8 
install, harden it up, and do the piecemeal migration. Worst case is I go 
back to the existing drive for a few days until I get it all working.

Thanks for the many tips my friends,

jeff

--
If everyone would put barbecue sauce on their food, there would be no war.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


fstab syntax

2010-01-30 Thread Jeff Laine
Hello,

My question is regarding /etc/fstab synax. 
How can I use spaces and quote symbols in my device name? 
I tried to use double quotes and backslash, but no luck so far.
I.e. I'd like to put the following line:

/dev/msdosfs/MY FLASH /mnt/flash msdosfs rw,noauto 0 0

Any ideas?


-- 
Best regards,
Jeff

| Nobody wants to say how this works.  |
|  Maybe nobody knows ...  |
|   Xorg.conf(5)|

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


Re: fstab syntax

2010-01-30 Thread Jeff Laine
On Sat,30-01-2010 [19:33:37], krad wrote:
 On 30 January 2010 19:05, Jeff Laine wtf.jla...@gmail.com wrote:
 
  Hello,
 
  My question is regarding /etc/fstab synax.
  How can I use spaces and quote symbols in my device name?
  I tried to use double quotes and backslash, but no luck so far.
  I.e. I'd like to put the following line:
 
  /dev/msdosfs/MY FLASH /mnt/flash msdosfs rw,noauto 0 0
 
  Any ideas?
 
 
  --
  Best regards,
  Jeff
 
  | Nobody wants to say how this works.  |
  |  Maybe nobody knows ...  |
  |   Xorg.conf(5)|
 
 
 /dev/msdosfs/MY\ FLASH /mnt/flash msdosfs rw,noauto 0 0
 
 or
 
 /dev/msdosfs/MY FLASH /mnt/flash msdosfs rw,noauto 0 0
 
 should work, but i guess you tried these?
 
 The alternative way would be to use the UUID of the drive, as that wont have
 spaces in, and is more versatile than /dev/das1a type syntax


Yep, neither is working. 

After all I used glabel to generate a new label and avoid reformatiing my 
volume.


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


Help! Upgrade from fbsd 5.4 to 8.x

2010-01-30 Thread Jeff Mitchell


Hello my friends,

	I've just noticed one of my beloved headless shell boxen is 
FreeBSD 5.4; its a workhorse I've been neglecting far too long and I'd 
really like to bring it up to 'current' (say fbsd 8.x). For awhile it was 
held back by very specific applications I had to support, but I'm in the 
clear now.


	Given the age of the installation, I'm wondering what the 
recommended upgrade path would be.


	ie: This machine has a lot going on .. wiki's (ie: apache et al), 
mysql databases, mailing lists, and a dozen hand rolled applications. 
(Hey, someone has to write custom emulators of ancient systems to keep 
BBSes alive, right?) Naturally, /etc is modified all to hell, and I'm 
terrified of any automated upgrades for fear random things would just not 
work later. Especially with the age... Things work great, but I worry 
about security naturally, and keeping up with patches or installing 
anything new is a nightmare due to dependancies.


	o I should be able to identify most important changes and data; 
/etc, /home, the kernel build path so I've got the old kernel conf files I 
used for this machine (yay!), /usr/local was used instead of polluting 
/usr-proper, etc.


	o I'd love if I coudl do an upgrade, and things would still work; 
I mean, from samba configuration etc and so on, eveyrthign is great. I 
realize this is unlikely though .. upgrading services likely means conf 
changes all over the random place, etc.


	o Some of the executables on this box are without source but I 
still need them to run; short of moving them to a VM and doing some 
voodoo, what are the chances a binary built for fbsd 5.x works fine in 
8.x? (earlier fbsd's had the break between gcc versions, but I'm rather 
hoping thats not a problem here.)

gcc (GCC) 3.4.2 [FreeBSD] 20040728

The obvious options are..

	1 - upgrade step by step; go from fbsd 5.4 to 6.4 (say) to 7.2 
(say) to 8.0


2 - one big-ass upgrade from 5.4 to 8 (*fear*)

	3 - yank the drive, slap a giant new fat drive in there, do a full 
fbsd 8.0 install, and then migration from old drive as needed


	Strikes me most people will recommend (3) -- nice big new drive, 
no risk of destroying a working machine (can always slap old drive back 
in), easy migration of service by service, etc and so on. Strikes me as a 
PITA, but then again .. the others are probably all PITAs as well given 
the age of the box. Something will break, so maybe its best to just start 
fresh with a nice new install and go from there.


*ugh* but that'll teach me to stay on top of it more :)

	Aside -- whats the recommended way to stay on top of upgrades 
anyway? It used to be a tortuous process back 5 years ago, but hopefully 
things are much more streamlined now .. nightly 'make upgrade' ftw :)


jeff

--
If everyone would put barbecue sauce on their food, there would be no war.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Where is gfortran in FreeBSD 7.2 Release (i386)?

2009-12-21 Thread Jeff Hamann
I've been trying to figure out where gfortran went since it doesn't appear in 
the /usr/ports collection in FreeBSD 7.2 (i386).

I need it to build plots of numerical things and use the following lots:

./configure \
 CC=gcc -arch i386 \
 CXX=g++ -arch i386 \
 OBJC=gcc -arch i386 \
 F77=gfortran -arch i386 \
 FC=gfortran -arch i386 \
 --with-python \
 --with-openssl 

My web searches turn up lots of on-responses (i.e. you shouldn't be using 
fortran anway's it's dead...), and I seem to have gcc42 installed.

$ gcc -v
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070719  [FreeBSD]
$ 

A little help please?

Thanks,
Jeff.


Jeff Hamann, PhD
PO Box 1421
Corvallis, Oregon 97339-1421
541-754-2457
jeff.hamann[at]forestinformatics[dot]com
http://www.forestinformatics.com

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


Re: FreeBSD vs Russian's laws

2009-10-31 Thread Jeff Laine
On Sat,31-10-2009 [17:56:22], Vagner wrote:
 Good day! I wanted to share with you the situation in Russia and hear
 advice. In Russia introduced a law On personal data and the
 corresponding standarts. In accordance with these standarts process
 personal data (ie 80% of all data in the enterprise) can only by
 certified operating systems and software.
 Certified happening in the Federal Security Service in Russia (FSB in USA). 
 But FreeBSD doesn't certify anyone.
 That  is, in Russia are trying to ban the use os Freebsd and similar.
 For the use of face criminal liability. What do i do not kwow, but
   refuse to use FreeBSD, i don't intend to. How do you fight
   against corruption  bureaucraty in the government itself? Thks
 


It would be really interesting to hear the opinion of some Russian ISPs and 
major web services providers 
on this point. I.e. yandex.ru or rambler.ru which are known to run their 
services on freebsd in a rather
large scale.



-- 
Best regards,
Jeff

| Nobody wants to say how this works.  |
|  Maybe nobody knows ...  |
|   Xorg.conf(5)|




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


Re: Graphics card recommendation

2009-10-15 Thread Jeff Laine
On Wed,14-10-2009 [23:48:26], Polytropon wrote:
 On Wed, 14 Oct 2009 10:55:05 -0600 (MDT), Warren Block wbl...@wonkity.com 
 wrote:
  All of my cards are ATI and I don't know of the mtrr problem you're 
  talking about.  This X1650 works fine on i386 with both 7-STABLE and 
  8-STABLE.
 
 I had an old-fashioned ATI Radeon 9200 RV250 AGP with both a VGA
 and a VGA-on-DVI monitor. With also old-fashioned XFree86 this
 setting worked good performance-wise, which was in FreeBSD 5,
 but I haven't tested this in FreeBSD 7 with Xorg yet because
 I'm very upset about the speed-loss of modern software. :-(
 Furthermore, I don't have the second 21 CRT anymore, so no
 dual-head for me at the moment.
 
 I am nearly sure that for today's requirements, Intel GPUs
 seem to be the most fitting ones, but as I don't own any of
 them, I can't give you clues from a user's point of view.
 In the past, ATI always was my first choice, but today, I
 would triple-check anything.
 


Having had a _lot_ of troubles with Intel video recently I'd not recommend 
using it.
Poor performance (both 2D and 3D) and various glitches after several updates of 
intel-video driver.
And still having that bug with broken xv out driver of mplayer. :(


-- 
Best regards,
Jeff

| Nobody wants to say how this works.  |
|  Maybe nobody knows ...  |
|   Xorg.conf(5)|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How can I get 100 connections in FIN_WAIT_2 state from the same IP?

2009-10-13 Thread Jeff Laine
On Tue,13-10-2009 [17:50:00], Michael Powell wrote:
 Chuck Swiger wrote:
 
  On Oct 13, 2009, at 10:33 AM, Martin Turgeon wrote:
  I would like to know if anyone knows the reason why I get a lot of
  connections (more than 100) from the same IP in FIN_WAIT_2 state.
  
  That IP is probably running a web proxy or possibly some kind of
  spider.  It could also be malicious, trying to exploit webserver
  vulnerabilities, etc-- search your logs for that IP and see what it is
  doing.
  
  In this case the connections are on port 80. Is it a problem with the
  client's browser or OS? Is it possible that some mobile devices
  doesn't
  close their connections correctly to save bandwidth and battery?
  
  Yes, it's not uncommon for various platforms to simply drop
  connections rather than closing them properly.  You can run tcpdrop to
  forcibly get rid of them, but they should time out within a few
  minutes anyway.  If you believe the remote IP is being abusive,
  consider firewalling it
  
 
 This is also common from the differences in TCP/IP stacks across various 
 platforms. Windows, Linux, Solaris, etc are all slightly different in this 
 regard.
 
 If you're running a web server you can set the following in /etc/sysctl.conf 
 in an attempt to mitigate. Don't know if the timeout period can be altered.
 
 net.inet.tcp.fast_finwait2_recycle=1
 
 This won't stop it from happening but it will trim the pool down some.


Hi,

maybe you'll find this info useful as well:


From man pf.conf:


[...]
 Options
   tcp.finwait
 The state after both FINs have been exchanged and the connec-
 tion is closed.  Some hosts (notably web servers on Solaris)
 send TCP packets even after closing the connection.  Increas-
 ing tcp.finwait (and possibly tcp.closing) can prevent block-
 ing of such packets.
[...]


It looks like  this pf tunable has a 45s default value:

#pfctl -st
[...]

tcp.finwait  45s

[...]

Setting pf optimization to 'aggressive' changes it to 30s value.




-- 
Best regards,
Jeff

| Nobody wants to say how this works.  |
|  Maybe nobody knows ...  |
|   Xorg.conf(5)|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Miro - BSD 8.X

2009-10-11 Thread Jeff Molofee
Has anyone had luck getting Miro to run in BSD 8.X... I can see up to 
checking movies folder... no error... nothing... it just stops... and 
drops back to the prompt... don't see any errors in the logs.


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


Re: Tcpwrappers, sendmail, and unknown hosts...

2009-10-10 Thread Jeff Laine
On Sat,10-10-2009 [12:31:01], Kevin Kinsey wrote:
 Seems like a lot of the spam we fight comes from
 hosts with no DNS entries.  What about using this?
 
 --
 
 $grep sendmail /etc/hosts.allow
 
 sendmail : KNOWN : allow
 sendmail : UNKNOWN : deny
 
 -
 
 Comments?  anyone tried it?
 

Hi Kevin!

What you need is 'require_rdns' feature.
Also from my own expirience, dnsbl feature of Sendmail works great for spammers 
scum.



-- 
Best regards,
Jeff

| Nobody wants to say how this works.  |
|  Maybe nobody knows ...  |
|   Xorg.conf(5)|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Opera 10.00 (native) flash

2009-09-07 Thread Jeff Laine
On Mon,07-09-2009 [18:44:54], Tom Mende wrote:
 Running on 7.2-RELEASE, Opera 10.00 build 4585 (native) and would like to 
 view flash enabled websites. Anyone with a howto? Have googled extensively 
 and followed a variety of methods all unsuccessful to date. Like to here from 
 someone who has it running?
 
 Cheers,
 -- 
 Tom Mende tme...@optusnet.com.au
 ___

Hi,

I'm using graphics/gnash. It works good enough to watch youtube clips at least.
Ok for both ffox and opera.


-- 
Best regards,
Jeff

| Nobody wants to say how this works.  |
|  Maybe nobody knows ...  |
|   Xorg.conf(5)|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


linux_base installation - missing rpm binary

2009-08-28 Thread Jeff Laine
Hello,


I've just installed the emulators/linux_base-f10 port in order to run some 
rpm-based applications.
Various online manuals told me that one should not use the native freebsd rpm 
binary (archivers/rpm), but instead use the /compat/linux/bin/rpm. But there's 
no such rpm binary under /compat/linux tree. What am I doing wrong? XD

I'm running vanilla FreeBSD-7.2-RELEASE, fresh ports tree.


TIA.

-- 
Best regards,
Jeff

| Nobody wants to say how this works.  |
|  Maybe nobody knows ...  |
|   Xorg.conf(5)|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: linux_base installation - missing rpm binary

2009-08-28 Thread Jeff Laine
On Fri,28-08-2009 [14:57:04], Boris Samorodov wrote:
 On Fri, 28 Aug 2009 13:06:28 +0400 Jeff Laine wrote:
 
  I've just installed the emulators/linux_base-f10 port in order to run some 
  rpm-based applications.
  Various online manuals told me that one should not use the native freebsd 
  rpm 
  binary (archivers/rpm), but instead use the /compat/linux/bin/rpm. But 
  there's 
  no such rpm binary under /compat/linux tree. What am I doing wrong? XD
 
 FreeBSD has it's own package manager and it is used to track
 all ports (linux ports as well). So we don't use linux rpm
 database (it is not supported). Said that I might add that it
 doesn't mean that this won't work if you try. But you'll be at 
 your own here.
 
 If you need to install a linux rpm archieve you should do
 as root:
 # cd /compat/linux
 # rpm2cpio -q  linux.rpm.archieve | cpio -id
 Then brandelf any binary executable (not libraries!).
 
 Sure you won't be able to do a clean uninstall. But that
 may help you to do your tests.
 
 The best way is to create an apropriate port and use it.
 Creating a linux port is not hard task. Please take a look
 at the ports tree (audio ports may be a good starting points
 as examples).
 
 HTH
 
  I'm running vanilla FreeBSD-7.2-RELEASE, fresh ports tree.
 
 BTW, I'm sure you have read /usr/ports/UPDATING and do have an
 apropriate variables at /etc/make.conf. ;-)
 

Sure, I did. ;) Thanks for the answer, I've used cpio to unpack my rpms.


And another related question if you don't mind. 

I've unpacked my apps under /compat/linux tree but my binary requires 
shared X libraries:


nsdexec: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot 
  open shared object file: No such file or directory
error while loading shared libraries: libXt.so.6: cannot open shared 
 object file: No such file or directory

I've tried to install x11/linux-f10-xorg-libs port but brandelf tells me 
they are BSD-binaries incompatible with my linux stuff. And thus my app
can't start complaining on incompatibilities if I tune lib paths.

Any hints?

TIA.






-- 
Best regards,
Jeff

| Nobody wants to say how this works.  |
|  Maybe nobody knows ...  |
|   Xorg.conf(5)|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: netbooks for freebsd?

2009-08-24 Thread Jeff Hamann

thanks.

i've looked at both an acer and lenovo models and like the lenovo  
model better.


as for linux... no way.. had too many hack experiences during the  
early years. that's why i made the switch to bsd. i would like to make  
my own port (super-port?), build a distro, and dump it onto a machine.  
haven't tested on virtual machine yet, but think that would be the  
smartest method.


thanks again.

On Aug 23, 2009, at 11:39 AM, ill...@gmail.com wrote:


2009/8/19 Jeff Hamann jeff.ham...@forestinformatics.com:
I would like to try some experimental software on a netbook. Can  
somebody

recommend a netbook that can do FreeBSD.



Late to the discussion, sorry I can't give positive
advice, but:

I can explicity UNADVISE the (ee?)pc 1005ha

Networking (atheros 9285, iirc) might work under
ndis, wired (I forget which chipset) doesn't work.

I put ubuntu on it, and even _that_ took some hacks.

--
--


Jeff Hamann, PhD
PO Box 1421
Corvallis, Oregon 97339-1421
541-754-2457
jeff.hamann[at]forestinformatics[dot]com
http://www.forestinformatics.com




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


Punkbuster

2009-08-23 Thread Jeff Molofee
Can anyone tell me how to update punkbuster ... seems pbweb.x86 doesn't 
work anymore (302 errors) and I'm unable to run pbsetup.run it gives me 
a float point error, even after unpacking it with upx -d


Specifically for enemy territory.

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


netbooks for freebsd?

2009-08-19 Thread Jeff Hamann
I would like to try some experimental software on a netbook. Can  
somebody recommend a netbook that can do FreeBSD.


Requirements:

1) Need to able to wipe out any ms-windows stuff, get installed, boot  
up and running within 60 minutes of my time. Download, svn checkouts,  
etc. not included. I've tired of spending weekend marathons for fun
2) Normal user will boot up in graphical interface, connect to net,  
etc. without anything other than one finger (touchpad?) I'm thinking  
this is a normal end-user requirement.

3) $200 even possible?
4) hook up gps units? cronjobs?

Am I dreaming?


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


Re: Looking for fast graphical web browser

2009-08-10 Thread Jeff Laine
On Fri,08/07/09 [09:32:38], Daniel Underwood wrote:
 I'd really love to see chromium ported over.

ditto. But now I'm pretty happy with that new firefox-3.5 which seems pretty 
faster than previous version and still light enough for my old 1.6G 
celeron-powered laptop.


-- 
Best regards,
Jeff

| Nobody wants to say how this works.  |
|  Maybe nobody knows ...  |
|   Xorg.conf(5)|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


freebsd.org/ports site seems to have lost its style sheet

2009-07-20 Thread Jeff Dickens

Do a search and see what I mean.

Any idea who to tell?

__
 Scanned by Google Message Security  - Leaving Seaman Paper
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: 5000' ethernet?

2009-07-17 Thread Jeff Dickens

Check www.gnswireless.com (this from a satisfied customer)

That said, I also use the method of placing mini ethernet switches or 
hubs (electrically a multiport repeater and damned hard to find now) 
every so often to reach distant parts of our warehouses.  These are 
powered, of course.  POE might work if you only needed one or two repeaters.



mikel.k...@olivent.com wrote:

20090715202734.gh29...@tamay-dogan.net 
20090715210752.ge16...@grumpy.dyndns.org
From: Mikel mikel.k...@olivent.com
Date: Wed, 15 Jul 2009 17:38:21 -0400
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit

David,

 
You can run upto 1.5 miles on a lx fiber based solution but will likely 
require a skilled installer to setup that much cable for you.


Depending on your locale I am may be able to put connect you to a supplier.

Have you considered a wireless direct beam solution?  Especially 
considering the 'temporary' nature of this install.


___
Cheers,
Mikel King
CEO, Olivent Technologies

follow-me http://twitter.com/mikelking

.. Original Message ...
On Wed, 15 Jul 2009 16:07:52 -0500 David Kelly dke...@hiwaay.net wrote:
  

On Wed, Jul 15, 2009 at 10:27:35PM +0200, Michelle Konzack wrote:


Hello David,

Am 2009-07-15 14:47:18, schrieb David Kelly:
  
Not directly FreeBSD related, but how much of a chance is there that 


two
  

machines could communicate directly over 5,000 feet of cat5 with no
special hardware?


I do not know hoe much a feet is in meters but AFAIK arround 0,3 which
mean, you are talking about 1.5km or 1 mile ?
  

Yes, roughly a mile which is 5280 feet. Maybe less, but no more than a
mile. Won't really know until I get there and start running cable.



There are inexpensive FiberOptic Transponder (I am using a bunch  of
it from Transmode for my CWDM 1GE and DWDM 10GE network)

The 100 Mbit Transponder cost  arround  600 Euro  (each)  and  for
your 5000 feets you need only  an  inexpensive  FiberOptic  cable.
EVEN  the cheapes one would transfer 1 Gbit at this distance.
  

What I'm not (yet) seeing is a fiber optic transceiver listed with
matching fiber optic cable. The transceivers seem inexpensive vs the cost
of the cable.



Are there any particular range extenders you have used and would
recommend for making this task a sure thing on the first try?
Perhaps I should put an inexpensive ethernet switch at each junction
to serve as a regenerative repeater?


You have to use at least 3 Repeaters which NEED electricity. Do you
know this?
  

Yes, of course.



5000 feet CAT5, 3 Repeater plus electric installation  cost  more,
then the FiberOptic Cable with two Transponder.  And of course,  no
one  can sniff traffic on FiberOptic and you have no worry about
magnetic  fields disturbing your 5000 feet...
  

No one is going to sniff *this* one.

Am not finding sources of fiber optic cable as easily as I can find
fiber optic transceivers.

100baseT ethernet switches are about $25 each if one will serve as a
regenerative repeater.

Did I mention this is a temporary installation?

--
David Kelly N4HHE, dke...@hiwaay.net

Whom computers would destroy, they must first drive mad.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




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


__
 Scanned by Google Message Security  - Leaving Seaman Paper
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

network appliance question

2009-07-15 Thread Jeff Hamann
I would like to take a ton of apps I've compiled from source, plus  
gobs of my own source, build a distro of that super solid freebsd I  
love,  and hermetically seal it up in a box that can be plugged into a  
network hub, so that users don't have to use anything but a web  
browser, sftp, or ssh to access the contents. My questions are as  
follows:


1) Is this possible?

2) If so, is there a network appliance starter kit I can play with  
first to prove the concept, and


3) If so, where? I haven't been too successful searching for network  
appliance building for dummies


Thanks,
Jeff.

Jeff Hamann, PhD
PO Box 1421
Corvallis, Oregon 97339-1421
541-754-2457
jeff.hamann[at]forestinformatics[dot]com
http://www.forestinformatics.com




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


Re: how to do a live migration of a freebsd box to another box with rsync

2009-07-06 Thread Jeff Laine
 Hi,
 I'm used to migrate GNU/Linux system from one box to another by booting the
 second box with a liveCD (like systemrescueCD for example) and by copying
 the / filesystem (using the ssh transport)  with rsync.
 I would like to do the same for BSD system but i have two issues:
 - as the UFS write support is still experimental in the Linux kernel, it
 seems that i've to use a BSD liveCD but i can't find one :-/ I heard about
 frenzy ( http://frenzy.org.ua/en/ ) but the homepage says that the project
 is no longer maintained !
 - i'm wondering how to restore the bootloader after copying the files on the
 second box. On linux, i can use the grub-install script to do the job but
 i'm a bit lost on FreeBSD :-)

Hello. The Frenzy distro is still quite usable albeit it was abandoned. ;) 
Also you can find official FreeBSD liveCD iso here: 
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i.386/ISO-IMAGES/7.2/7.2-RELEASE-i386-livefs.iso
(change arch type according to you platform).



-- 
Best regards,
Jeff

| Nobody wants to say how this works.  |
|  Maybe nobody knows ...  |
|   Xorg.conf(5)|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Best practices for securing SSH server

2009-06-23 Thread Jeff Laine
On Mon,06/22/09 [21:16:35], Daniel Underwood wrote:
 On a BSD box at work (at an extremely fast connection and static IP),
 I run an SSH server.  I am the only person who uses the server, but I
 use it from some locations that are behind a dynamic IP (so I can't
 set pf rules to filter by IP).  I will always, however, use the same
 laptop to connect to the server.  Due to the speed and location of the
 connection, it's a relatively high-risk target.
 
 What are some good practices for securing this SSH server.  Is using a
 stored key safer than a password in this instance? I have no
 experience with port-knocking, but I'd appreciate some tips or
 suggested beginning references... I welcome any and all advice.
 
 Note: I do require X11 forwarding (not sure whether that's relevant 
 information)
 
 TIA,
 Daniel

To block bruteforce probes on ssh I use pf with it's great function 
'max-src-conn-rate'.
man pf.conf provides some useful hints.



-- 
Best regards,
Jeff

| Nobody wants to say how this works.  |
|  Maybe nobody knows ...  |
|   Xorg.conf(5)|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: off topic: unmanageable switch?

2009-06-20 Thread Jeff Laine
A vote for C-net devices. Pretty cheap and I can't recall any troubles caused 
by 'em.

-- 
Best regards,
Jeff

| Nobody wants to say how this works.  |
|  Maybe nobody knows ...  |
|   Xorg.conf(5)|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Audio

2009-06-20 Thread Jeff Molofee
Just wondering what changed with the sound on BSD? My system way back in 
the 4.x days sounded not too bad... good bass, etc.


After dropping my audio cards for on board audio (intel hda) I noticed 
the sound was really BAD... tin can, bad separation, no bass at all.


Some time this past week, my audio went from sounding like crap to 
absolutely phenomenal!!! My sub works again, audio is coming out of the 
center channel, left and right speakers are not putting out ALL of the 
sound.


Is it just me? Did I miss a notice about upgrades to the sound drivers? 
Whatever it is... AMAZING!!!


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


Re: off topic: unmanageable switch?

2009-06-19 Thread Jeff Laine
On Fri,06/19/09 [17:31:49], Olivier Nicole wrote:
 Nikos,
 
  My list of priorities, with 1 being the most important.
  1. Price
  2. Stability
 
 As the price is the most important for you, buy any cheap switch.
 
 Now I have had satisfaction with Dlink and Compex, maybe not among the
 cheapest, but still cheap. I have had some working for 6 or 7 years
 non stop. I would not use them as core switch, but as satellite
 switches they do OK.
 
  3. No smart features
  4. STP support
 
 STP is definitely a smart feature, it comes with higher models only.
 
 Bests,
 
 Olivier
 
I'd choose 3com. Their low-end unmanaged models are pretty cheap as well
as some smarter officeconnect models.

-- 
Best regards,
Jeff

| Nobody wants to say how this works.  |
|  Maybe nobody knows ...  |
|   Xorg.conf(5)|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Named ignoring forward-only zones?

2009-06-05 Thread Jeff Laine
On Thu, Jun 04, 2009 at 11:53:38AM -0500, Kirk Strauser wrote:
 For some reason, BIND 9 (FreeBSD 7.2-RELEASE) isn't properly forwarding 
 queries.  A snippet of named.conf:
 
 acl clients {
 localnets;
 localhost;
 ::1;  
 10.45.12/19;
 }; 
 
 view internal {
 match-clients { clients; };
 zone 5.0.10.in-addr.arpa {
 type forward;
 forward only;
 forwarders { 10.0.5.16; };
 };
 };
 
 
 Now, I can query the forwarder directly to get the right answer:
 
 $ dig +noall +answer -t ptr -x 10.0.5.16 @10.0.5.16
 16.5.0.10.in-addr.arpa. 86400   IN  PTR kanga.honeypot.net.
 
 But I can't get the same from named:
 
 $ dig -t ptr -x 10.0.5.16
 
 ;; -HEADER- opcode: QUERY, status: NXDOMAIN, id: 56485
 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
 
 ;; QUESTION SECTION:
 ;16.5.0.10.in-addr.arpa.IN  PTR
 
 ;; AUTHORITY SECTION:
 10.in-addr.arpa.10800   IN  SOA 10.in-addr.arpa. 
 nobody.localhost. 42 86400 43200 604800 10800
 
 So, why isn't named directing that query to the configured forwarder?  I'm 
 99.9% certain this has been working recently.


Hi, Kirk.

I had the similar issue with forward type zones yesterday. 
Though I'm not quite sure, but it started to work after I put 127.0.0.1 
to /etc/resolv.conf on our bind server.


My named.conf entries look like this:

...
zone need2.frwd.zone {
type forward;
forward only;
forwarders { 10.xx.xx.xx; 10.xx.xx.yy; };
};

zone 10.in-addr.arpa {
type forward;
forward only;
forwarders { 10.xx.xx.xx; 10.xx.xx.yy; };
};
...



-- 
Best regards,
Jeff

| Nobody wants to say how this works.  |
|  Maybe nobody knows ...  |
|   Xorg.conf(5)|
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: cyrus-imapd spawning multiple processes

2009-06-03 Thread Jeff Laine
On Tue, Jun 02, 2009 at 10:19:01PM +0200, Erik Norgaard wrote:
 Jeff Laine wrote:
 The troublemaker is the cyrus. It starts and opens it's sockets, but 
 whenever
 I try to establish a connection to pop3 or imap ports (i.e. via telnet or 
 cyradm) cyrus goes nuts and spawns child processes in endless manner, 
 trashing logs with this:
 
 tail /var/log/debug.log
 
 Jun  2 23:27:35 free master[49269]: about to exec 
 /usr/local/cyrus/bin/pop3d
 Jun  2 23:27:35 free master[43639]: process 49269 exited, status 1
 Jun  2 23:27:35 free master[49270]: about to exec 
 /usr/local/cyrus/bin/pop3d
 Jun  2 23:27:35 free master[43639]: process 49270 exited, status 1
 Jun  2 23:27:35 free master[49271]: about to exec 
 /usr/local/cyrus/bin/pop3d
 Jun  2 23:27:35 free master[43639]: process 49271 exited, status 1
 Jun  2 23:27:35 free master[49272]: about to exec 
 /usr/local/cyrus/bin/pop3d
 Jun  2 23:27:35 free master[43639]: process 49272 exited, status 1
 Jun  2 23:27:35 free master[49281]: about to exec 
 /usr/local/cyrus/bin/pop3d
 Jun  2 23:27:35 free master[43639]: process 49281 exited, status 1
 ...
 
 ...until I stop the master process.
 
 It seems that when you try to connect with pop3 a child process is 
 spawned as it should, but it dies unexpectedly so a new is spawned. 
 Could it be something as simple as permissions to access the mailbox files?
 
 Rather than relying on log files, try to launch the master manually with 
 the -D flag, it may give you a more verbose output.
 
 I tried both cyrus-imapd23 and 22 with default configurations but it
 gives the same problem every time.
 
 I have similar configuration on 6.4-RELEASE without such troubles.
 
 Similar but not the same? Sounds like you should review again your 
 config files, also, the versions of cyrus-imapd on your working 
 installation, is that the same as the new one? Consider posting your 
 configs in next post.
 
 
 BR, Erik

Thanks for your reply, Eric.
Running master in debugging mode helped to find out that I had 640 permissions 
on libdb* files. Doh.


Thanks!


-- 
Best regards,
Jeff


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


  1   2   3   4   5   6   7   8   >