Shared library not found after upgrade to 9.2-PRERELEASE

2013-09-02 Thread Jim Long
I recently upgraded a system to 

FreeBSD t42.umpquanet.com 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #0 r254977: Wed 
Aug 28 19:58:37 PDT 2013 
r...@t42.umpquanet.com:/usr/obj/usr/src/sys/GENERIC  i386

I then deleted all the installed ports, and am rebuilding the
ones I still use.

I've encountered several instances where although a required
port is already installed, a dependent port build will claim that
the required library isn't found, and attempt a (re-)install of
that port.

In this example, jbig2dec claims that shared library libpng15.so
is not found, although 'ls' says it is in /usr/local/lib, and
'make missing' reports no uninstalled dependencies.

What can I do to remedy this, short of setting FORCE_PKG_REGISTER
and spending a lot of time rebuilding ports that are already
installed?

Please Cc: me on replies.

Thank you!

Jim


# cd /usr/ports/graphics/jbig2dec
# ls -l /usr/local/lib/libpng15*
-rw-r--r--  1 root  wheel  202762 Sep  1 16:10 /usr/local/lib/libpng15.a
lrwxr-xr-x  1 root  wheel  14 Sep  1 16:10 /usr/local/lib/libpng15.so@ -> 
libpng15.so.15
-rwxr-xr-x  1 root  wheel  175596 Sep  1 16:10 /usr/local/lib/libpng15.so.15*
# make clean
===>  Cleaning for png-1.5.17
===>  Cleaning for jbig2dec-0.11_1
# make missing
# make
===>  License GPLv3 accepted by the user
===>  Found saved configuration for jbig2dec-0.11
===> Fetching all distfiles required by jbig2dec-0.11_1 for building
===>  Extracting for jbig2dec-0.11_1
=> SHA256 Checksum OK for jbig2dec-0.11.tar.xz.
===>  Patching for jbig2dec-0.11_1
===>  Applying extra patch /usr/ports/graphics/jbig2dec/files/simpler-test-patch
===>  Applying FreeBSD patches for jbig2dec-0.11_1
/usr/bin/sed -i.bak -E 's|SHA1_Final\( *([^,]+), *([^\)]+)\)|SHA1_Final(\2, 
\1)|'  /usr/ports/graphics/jbig2dec/work/jbig2dec-0.11/jbig2dec.c 
/usr/ports/graphics/jbig2dec/work/jbig2dec-0.11/sha1.c
===>   jbig2dec-0.11_1 depends on shared library: libpng15.so - not found
===>Verifying for libpng15.so in /usr/ports/graphics/png
===>  Found saved configuration for png-1.5.12
===> Fetching all distfiles required by png-1.5.17 for building
===>  Extracting for png-1.5.17
=> SHA256 Checksum OK for libpng-1.5.17.tar.xz.
=> SHA256 Checksum OK for libpng-1.5.17-apng.patch.gz.
/bin/cp /usr/ports/distfiles//libpng-1.5.17-apng.patch.gz 
/usr/ports/graphics/png/work/libpng-1.5.17/
/usr/bin/gzip -nf -9 -d 
/usr/ports/graphics/png/work/libpng-1.5.17/libpng-1.5.17-apng.patch.gz
===>  Patching for png-1.5.17
===>  Applying extra patch 
/usr/ports/graphics/png/work/libpng-1.5.17/libpng-1.5.17-apng.patch
===>  Applying FreeBSD patches for png-1.5.17
/usr/bin/sed -i.bak  -e 's|RELEASE}.0|RELEASE}|'  -e 
's|LIBDIR}/pkgconfig|LIBDIR}data/pkgconfig|'  
/usr/ports/graphics/png/work/libpng-1.5.17/CMakeLists.txt
===>   png-1.5.17 depends on file: /usr/local/bin/cmake - found
===>  Configuring for png-1.5.17
===>  Performing in-source build
/bin/mkdir -p /usr/ports/graphics/png/work/libpng-1.5.17
-- The C compiler identification is GNU 4.2.1
... snip ...
[100%] Built target pngvalid
/usr/local/bin/cmake -E cmake_progress_start 
/usr/ports/graphics/png/work/libpng-1.5.17/CMakeFiles 0
Running tests...
/usr/local/bin/ctest --force-new-ctest-process 
Test project /usr/ports/graphics/png/work/libpng-1.5.17
Start 1: pngtest
1/2 Test #1: pngtest ..   Passed0.02 sec
Start 2: pngvalid
2/2 Test #2: pngvalid .   Passed   43.20 sec

100% tests passed, 0 tests failed out of 2

Total Test time (real) =  43.23 sec
===>  Installing for png-1.5.17
===>   Generating temporary packing list
===>  Checking if graphics/png already installed
===>   png-1.5.17 is already installed
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of graphics/png
  without deleting it first, set the variable "FORCE_PKG_REGISTER"
  in your environment or the "make install" command line.
*** [check-already-installed] Error code 1

Stop in /usr/ports/graphics/png.
*** [lib-depends] Error code 1

Stop in /usr/ports/graphics/jbig2dec.
___
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"


Torrent Link Dead

2013-08-17 Thread Jim Dunn
Hey, I noticed that the http://torrents.freebsd.org:8080/ link is dead
(it's listed on http://distrowatch.com/table.php?distribution=freebsd)

Thx!
-- 

*Jim Dunn*
*jimd...@usa.net* <mailto:jimd...@usa.net>

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


sleepycat db VS MySQL or postgres

2013-07-01 Thread Jim Pazarena

I have a rather extensive series of databases created and in use all
with the very old sleepycat db3. I believe in the addage "don't fix
what ain't broken", but in the case of db3, it IS broken and my db
files get corrupted on occasion.

I could move to db5 or db6 OR MySQL, or even postgres.

I use simple primary key files, most entries are added from a CLI
or termcap/curses screen. Some programatically. With about the same
number of sequential dumps vs indexed random reads.

I have no experience with the c interface for postgres or mysql, but
also, do not know how much the c interface has changed for sleepycat
5/6 compared to the c interface for db3, which I understand quite well.
So I am prepared for a learning curve irrespective of which platform
I select. Records do not exceed much more than 10-20,000, with key sizes
not much wider than 16 bytes (ipv4), 13 (mac), 32 (ipv6). And various
smaller key sizes.

Suggestions would be very much appreciated.
--
Jim Pazarena fqu...@paz.bz
___
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"


mariadb-scripts conflict with mariadb-server

2013-05-23 Thread Jim Ballantine
When trying to do a clean/new install of mariadb, I first install
mariadb-server (which installs cleanly), and try to install mariadb-scripts
which fails with:
# make install
===>  Installing for mariadb-scripts-5.3.12
===>   mariadb-scripts-5.3.12 depends on file: /usr/local/bin/perl5.16.2 -
found
===>   mariadb-scripts-5.3.12 depends on shared library: mysqlclient.16 -
found
===>   Generating temporary packing list
===>  Checking if databases/mariadb-scripts already installed
Making install in scripts
make  install-am
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
 install  -o root -g wheel -m 555 msql2mysql mysql_fix_extensions
mysql_setpermission mysql_secure_installation mysql_zap mysqlaccess
mysql_convert_table_format mysql_find_rows mysqlhotcopy mytop mysqldumpslow
mysqld_multi '/usr/local/bin'
Making install in man
test -z "/usr/local/man/man1" || /bin/mkdir -p "/usr/local/man/man1"
 install  -o root -g wheel -m 444 msql2mysql.1 mysql_convert_table_format.1
mysql_find_rows.1 mysql_fix_extensions.1 mysql_secure_installation.1
mysql_setpermission.1 mysql_zap.1 mysqlaccess.1 mysqldumpslow.1
mysqlhotcopy.1 mysqld_multi.1 '/usr/local/man/man1'
make  install-data-hook
rm -f /usr/local/man/man1/make_win_*
make abi_headers="" do_abi_check
set -ex;  for file in ; do  cc -E -nostdinc -dI -DMYSQL_ABI_CHECK
-I./include  -I./include/mysql  -I./sql  -I./include  -I./include/mysql
-I./sql  $file 2>/dev/null |  /usr/bin/sed -e '/^# /d'  -e '/^[   ]*$/d'
-e '/^#pragma GCC set_debug_pwd/d'  -e '/^#ident/d' >  ./abi_check.out;
/usr/bin/diff -w $file.pp ./abi_check.out;  /bin/rm ./abi_check.out;  done
===>   Compressing manual pages for mariadb-scripts-5.3.12
===>   Registering installation for mariadb-scripts-5.3.12
Installing mariadb-scripts-5.3.12...pkg: mariadb-scripts-5.3.12 conflicts
with mariadb-server-5.3.12 (installs files into the same place).
Problematic file: /usr/local/bin/mysql_convert_table_format
*** [fake-pkg] Error code 70

Stop in /usr/ports/databases/mariadb-scripts.
___
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: Enlightenment, libcurl undefined references to SLL_CTX_set_srp_password/username

2013-04-02 Thread Jim Ballantine
# curl-config --libs
-L/usr/local/lib -lcurl -Wl,-rpath=/usr/local/lib -L/usr/local/lib
-L/usr/local/lib -lssh2 -lssl -lcrypto -lssl -lcrypto -lz -lssh2



On Tue, Apr 2, 2013 at 8:25 AM, Volodymyr Kostyrko wrote:

> 2013-04-02 15:12, Jim Ballantine wrote:
>
>> the config is the default
>>lq**q curl-7.24.0_2
>> qq**qqqk
>>   x
>> lq**qq**
>> qqqk
>> x
>>   x x [ ] CARESAsynchronous DNS resolution
>> via c-ares  x x
>>   x x [x] CA_BUNDLEInstall CA bundle for
>> OpenSSL   x x
>>   x x [ ] CURL_DEBUG   curl diagnostic
>> output  x x
>>   x x [x] DOCS Build and/or install
>> documentation  x x
>>   x x [x] EXAMPLES Build and/or install
>> examples   x x
>>   x x [x] IPV6 IPv6 protocol
>> support   x x
>>   x x [ ] KERBEROS4Kerberos 4
>> support  x x
>>   x x [ ] LDAP LDAP
>> supportx x
>>   x x [ ] LDAPSLDAPS
>> support   x x
>>   x x [ ] LIBIDN   Internationalized Domain
>> Names via libidn   x x
>>   x x [x] LIBSSH2  SCP/SFTP support via
>> libssh2x x
>>   x x [ ] NTLM NTLM
>> authentication x x
>>   x x [x] PROXYProxy
>> support   x x
>>   x x [ ] RTMP RTMP protocol support via
>> librtmp   x x
>>   x x [ ] TRACKMEMORY  curl memory diagnostic
>> output   x x
>>   x xqqq SSL protocol
>> support qx x
>>   x x (*) OPENSSL  SSL/TLS support via
>> OpenSSL x x
>>   x x ( ) GNUTLS   SSL/TLS support via
>> GnuTLS  x x
>>   x
>> mq**qq**
>> qqqj
>> x
>>
>> tq**qq**
>> qqqu
>>   x   <  OK  >
>>x
>>
>> mq**qq**
>> qqqj
>>
>> Yes, openssl is installed from ports.
>>
>
> Please, don't top post. And remember to add list to the recepients.
>
> What does curl-config --libs give you?
>
>
> --
> Sphinx of black quartz, judge my vow.
>
___
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: Enlightenment, libcurl undefined references to SLL_CTX_set_srp_password/username

2013-04-01 Thread Jim Ballantine
OK, I ran just pkg_libchk and the output is:

# pkg_libchk
xfce4-tumbler-0.1.27_1:
/usr/local/lib/tumbler-1/plugins/tumbler-poppler-thumbnailer.so misses
libpoppler.so.18

I'll install it and try again, but it doesn't seem like the cause.

Jim



On Mon, Apr 1, 2013 at 12:48 PM, Volodymyr Kostyrko wrote:

> 01.04.2013 19:47, Jim Ballantine пишет:
>
>  I believe I'm running it correctly, when I enter
>> pkg_libchk -vr enlightenment
>>
>
> Nope, just run pkg_libchk without any arguments. I don't think problem is
> in enlightenment or curl, by rather some library that depends on curl and
> is required by enlightenment.
>
>
> --
> Sphinx of black quartz, judge my vow.
>
___
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: Enlightenment, libcurl undefined references to SLL_CTX_set_srp_password/username

2013-04-01 Thread Jim Ballantine
I believe I'm running it correctly, when I enter
pkg_libchk -vr enlightenment
it prints nothing.

Jim


On Mon, Apr 1, 2013 at 11:21 AM, Volodymyr Kostyrko wrote:

> 2013-04-01 17:00, Jim Ballantine wrote:
>
>> I'm trying to re-build enlightenment and it fails with
>> /usr/local/lib/libcurl.so.6: undefined reference to
>> `SSL_CTX_set_srp_password'
>> /usr/local/lib/libcurl.so.6: undefined reference to
>> `SSL_CTX_set_srp_username'
>>
>
> You can further debug the issue by installing sysutils/bsdadminscripts and
> providing output of pkg_libchk.
>
> --
> Sphinx of black quartz, judge my vow.
>
___
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"


Enlightenment, libcurl undefined references to SLL_CTX_set_srp_password/username

2013-04-01 Thread Jim Ballantine
Hi,

I'm trying to re-build enlightenment and it fails with
/usr/local/lib/libcurl.so.6: undefined reference to
`SSL_CTX_set_srp_password'
/usr/local/lib/libcurl.so.6: undefined reference to
`SSL_CTX_set_srp_username'

I tried rebuilding ftp/curl to rebuild libcurl, but the build still fails
with the same
error.
The installed packages are curl-7.24.0_2 and openssl-1.0.1.8

What needs to be done to fix this problem?

Thanks

Jim Ballantine

The full end of the build is:
  CCLD   enlightenment_fm_op
  CC e_init_main.o
  CC e_xinerama.o
  CCLD   enlightenment_init
/usr/local/lib/libcurl.so.6: undefined reference to
`SSL_CTX_set_srp_password'
/usr/local/lib/libcurl.so.6: undefined reference to
`SSL_CTX_set_srp_username'
gmake[4]: *** [enlightenment_init] Error 1
gmake[4]: Leaving directory
`/usr/ports/x11-wm/enlightenment/work/enlightenment-0.17.1/src/bin'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/usr/ports/x11-wm/enlightenment/work/enlightenment-
0.17.1/src/bin'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/x11-wm/enlightenment/work/enlightenment-0.17.1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/x11-wm/enlightenment/work/enlightenment-0.17.1'
gmake: *** [all] Error 2
*** [do-build] Error code 1

Stop in /usr/ports/x11-wm/enlightenment.
___
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: Installing openssl from ports

2013-03-22 Thread Jim Ballantine
The port is newer than the base version:
port is 1.0.1_8 and the base is 0.9.2

Both openssl and heimdal install fine from the base system src,
it's only when I try to install openssl from the ports, with heimdal
installed by the base system that I get the error.

When I run make install, what I get before the conflict message is:

===>  Compressing manual pages for openssl-1.0.1_8zopenssl-1.0.1_8
===>  Running ldconfig
/sbin/ldconfig -m /usr/local/lib
Installing openssl-1.0.1_8...pkg: openssl-1.0.1_8 conflicts with
heimdal-1.5.2_4 (installs files into the same place).
Problematic files: /usr/local/man/man3/DH_generate_key.3.gz
*** [fale-pkg] Error code 70


On Fri, Mar 22, 2013 at 8:09 AM, Shane Ambler  wrote:

> On 22/03/2013 04:36, Jim Ballantine wrote:
>
>  But when I attempt to install the latest openssl for the
>> port system, it fails with a conflict (installs file in the same place)
>> with heimdal.
>>
>
> Take a close look at the message and what happens before. openssl only
> gives a conflict message if the base version is newer than the port.
>
> Heimdal conflicts with krb4 krb5 and srp
>
> Any other conflicts will be from dependencies, you'll need to check what
> port brings in a dependency that generates the conflict.
>
>
>
___
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"


Installing openssl from ports

2013-03-21 Thread Jim Ballantine
Hi,

I understand that heimdal and openssl are both port of the base system and
both install
fine with a system build/install.  But when I attempt to install the latest
openssl for the
port system, it fails with a conflict (installs file in the same place)
with heimdal.  I've search
the web for an answer but haven't found one and asked the port owner.

So my question is short of editing the Make file to remove the installation
of the file in
conflict, what do I need to do to install the openssl port?

Thanks
Jim Ballantine
___
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: NcFTPd on 9.1 64-bit

2013-02-07 Thread Jim Pazarena

On 2013-02-07 5:55 PM, Jim Pazarena wrote:

Jim Pazarena wrote, On 2013-01-27 7:58 PM:

I have found that on the two machines which I installed 9.1 on, NcFTPd
fails system logins for non-root attempts with "Password wrong for user
 from 192.168.1.51"

These are logins which previously on 9.0 worked as expected, and now
fail on 9.1.

Has anyone else experienced this? Any suggestions? Thanks!


No one has answered on this question, and supp...@ncftp.com
is also silent.

I *do* see an error go by during boot, which states
"unable to open /etc/auth.conf"

FreeBSD 9.1 does not HAVE auth.conf (9.0 DOES)


The creator of NcFTPd (Mike Gleason) provided me a 9.1 version,
and it works as expected. Kudos to Mike.
--
Jim Pazarena fqu...@paz.bz
___
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: NcFTPd on 9.1 64-bit

2013-02-07 Thread Jim Pazarena

Jim Pazarena wrote, On 2013-01-27 7:58 PM:

I have found that on the two machines which I installed 9.1 on, NcFTPd
fails system logins for non-root attempts with "Password wrong for user
 from 192.168.1.51"

These are logins which previously on 9.0 worked as expected, and now
fail on 9.1.

Has anyone else experienced this? Any suggestions? Thanks!


No one has answered on this question, and supp...@ncftp.com
is also silent.

I *do* see an error go by during boot, which states
"unable to open /etc/auth.conf"

FreeBSD 9.1 does not HAVE auth.conf (9.0 DOES)

failing getting NcFTPd working, what is the next ftpd recommended ?
___
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"


NcFTPd on 9.1 64-bit

2013-01-27 Thread Jim Pazarena

I have found that on the two machines which I installed 9.1 on, NcFTPd
fails system logins for non-root attempts with "Password wrong for user 
 from 192.168.1.51"


These are logins which previously on 9.0 worked as expected, and now 
fail on 9.1.


Has anyone else experienced this? Any suggestions? Thanks!
--
Jim Pazarena fqu...@paz.bz
___
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"


VPS FreeBSD Hosting

2012-11-25 Thread Jim Flowers
I gave up maintaining my own hardware for providing cloud computing
services about 10 years ago and have been using several dedicated server
services with root-access FreeBSD since about 6.0. with good results. At
the time VPS looked like too many problems.

Now, however, it looks like there are quite a number of mature VPS hosting
services that are FreeBSD-centric at very attractive prices. Most offer KVM
or VPS-instance access to allow rebooting and reinstallation.

Can anyone comment on the providers and the technology in the context of
having used them specifically for FreeBSD in the last few years?  Good?
Bad? Indifferent?

Fairly modest duty - spam filtering, mailboxes, websites, storage, reverse
proxy and the like.

Oh yeah, some development.

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: Problem upgrading

2012-10-18 Thread Jim Trigg
On Wed, Oct 17, 2012 at 02:14:10PM -0700, Timothy Snowberger wrote:
> On 10/17/2012 7:27 AM, Jim Trigg wrote:
> > Any suggestions on how to fix this?
> >
> > ---
> > argent(1) /usr/ports/ports-mgmt/portmaster# freebsd-update -r 9.0-RELEASE 
> > upgrade
> > Does this look reasonable (y/n)? y
> > ...
> > Fetching metadata signature for 9.0-RELEASE from update5.FreeBSD.org... 
> > done.
> > Fetching metadata index... done.
> > Fetching 1 metadata patches. done.
> > Applying metadata patches... done.
> > Fetching 1 metadata files... done.
> >
> > The update metadata is correctly signed, but
> > failed an integrity check.
> > Cowardly refusing to proceed any further.
> 
> sed -i '' -e 's/=_/=%@_/' /usr/sbin/freebsd-update
> 
> See http://lists.freebsd.org/pipermail/freebsd-stable/2011-October/064321.html
> 
> "First, a minor change must be made to the freebsd-update code in order
> for it to accept file names appearing in FreeBSD 9.0 which contain the '%'
> and '@' characters; without this change, freebsd-update will error out
> with the message "The update metadata is correctly signed, but failed an
> integrity check". "

This fixed it.

Thanks,
Jim
___
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"


Problem upgrading

2012-10-17 Thread Jim Trigg
Any suggestions on how to fix this?

---
argent(1) /usr/ports/ports-mgmt/portmaster# freebsd-update -r 9.0-RELEASE 
upgrade
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 8.2-RELEASE from update5.FreeBSD.org... done.
Fetching metadata index... done.
Fetching 1 metadata files... done.
Inspecting system... done.

The following components of FreeBSD seem to be installed:
kernel/generic src/base src/bin src/cddl src/contrib src/crypto src/etc
src/games src/gnu src/include src/krb5 src/lib src/libexec src/release
src/rescue src/sbin src/secure src/share src/sys src/tools src/ubin
src/usbin world/base world/dict world/doc world/games world/info
world/manpages world/proflibs

The following components of FreeBSD do not seem to be installed:
world/catpages

Does this look reasonable (y/n)? y

Fetching metadata signature for 9.0-RELEASE from update5.FreeBSD.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.

The update metadata is correctly signed, but
failed an integrity check.
Cowardly refusing to proceed any further.
---

Thanks,
Jim
___
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: cvsup of RELENG_8_1

2012-06-09 Thread Jim Nasby

On 6/9/12 2:43 PM, Lowell Gilbert wrote:

Jim Nasby  writes:


I keep getting this error when trying to update source on 8.1:

TreeList failed: Error in "/var/db/sup/src-all/checkouts.cvs:RELENG_8_1": 
13890: Could not parse status record.  Delete it and try again.


Have you tried deleting /var/db/sup/src-all/checkouts.cvs:RELENG_8_1 and
retrying cvsup?


Somehow I got it in my head that that was a file living on the cvsup server and 
not locally.

After deleting that file all is good. Thanks for your help!
--
Jim C. Nasby, Database Architect   j...@nasby.net
512.569.9461 (cell) http://jim.nasby.net
___
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"


cvsup of RELENG_8_1

2012-06-08 Thread Jim Nasby

I keep getting this error when trying to update source on 8.1:

TreeList failed: Error in "/var/db/sup/src-all/checkouts.cvs:RELENG_8_1": 
13890: Could not parse status record.  Delete it and try again.

I realize that 8.1 isn't formally supported anymore, but should cvsup still 
work? I can't upgrade right now because of the conflict between GPT and gmirror 
what was introduced in 8.2.
--
Jim C. Nasby, Database Architect   j...@nasby.net
512.569.9461 (cell) http://jim.nasby.net
___
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"


kde4 on 8.3 and laptop

2012-05-29 Thread Jim Pazarena

I had kde3 running just fine on 8.2 on my laptop.

I have now installed 8.3 -and- kde4 on my laptop, and the kde system
will not work as expected.

when I type kdm  (which is at /usr/local/kde4/bin/kdm)
I get the expected login screen (however the mouse dies), and after I login,
all I get is a small cli window in the top left corner. The mouse has gone
dead, and the keyboard doesn't respond, altho there is a prompt in the cli
window.

All I can do at this point is hold the power button in to reboot.
If I do not try running "kdm", the normal cli works 100%, the ethernet works,
and the mouse always seems alive (altho in the cli the mouse is of no value).

Suggestions would be very appreciated.
--
Jim Pazarena fqu...@paz.bz
___
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: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash

2012-03-30 Thread Jim Bryant

Mark Felder wrote:

On Thu, 29 Mar 2012 12:24:30 -0500,  wrote:



I just started reading this tread, but I am wondering if I missed
something here. What does this have to do with "Windows 7"?


I emailed him off-list but I'm guessing he thought this was on VMWare 
Workstation or another product that would virtualize FreeBSD on top of 
Windows as the host OS.

___


Correct...My bad.

jim

___
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: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash

2012-03-29 Thread Jim Bryant
This sounds just like a race condition that happens under Windows 7 on 
this laptop.  The race condition, as far as I can tell involves heavy 
disk access and heavy network access, and usually leaves the drive light 
on, while all activity monitors (alldisk, allcpu, allnetwork) are still 
active, although on this laptop disk takes priority, and network slows 
to a crawl.  occasionally, the mouse will stop working, along with 
everything else, but usually not.  keyboard is lower priority, and 
doesn't do anything.


You might want to check with mickeysoft, this might just be their 
problem.  This sounds so freaking similar to the issue I get, and I 
think it's a race condition (shared interrupts??).


This laptop is a Compaq Presario C300 series, with the 945GM chipset and 
a T7600 Core2 Duo CPU, with 3G of RAM.


Mark Felder wrote:
Alright guys, I'm at the end of my rope here. For those that haven't 
seen my previous emails here's the (not so) quick breakdown:


Overview:

FreeBSD ?? - 7.4 never crash
FreeBSD 8.0 - 8.2 crashes
FreeBSD 8-STABLE, 8.3, and 9.0 are untested (Sorry, not possible in 
our production at this time, and we were hoping we could base some 
stuff on 8.3 for long term stability...)
ESXi: Confirmed ESXi 4.0 - 5.0 has this problem. Haven't tested on 
others.



History:

Over the course of the last 2 years we've been banging our heads on 
the wall. VMWare is done debugging this. They claim it's not a VMWare 
issue. They can't identify what the heck happens. We had a glimmer of 
hope with ESXi 5.0 fixing it because we never saw any crashes in the 
handful of deployments, but our dreams were crushed today -- two days 
before an outage to begin migration to ESXi 5.0 -- when a customer's 
ESXi 5.0 server and FreeBSD 8.2 guest crashed.



Crash Details:

The keyboard/mouse usually stops responding for input on the console; 
normally we can't type in a username or password. However, we can 
switch VTs.


If there's a shell on the console and we can type, we can only run 
things in memory. Any time we try to access the disk it will hang 
indefinitely.


The server still has network access. We can ping it without issue. SSH 
of course kicks you out because it can't do any I/O.


If we were to serve a lightweight http server off a memory backed 
filesystem I'm confident it would run just fine as long as it wasn't 
logging or anything.


On ESXi you see that there is a CPU spike of 100% that goes on 
indefinitely. No idea what the FreeBSD OS itself thinks it is doing 
because we can't run top during the crash.


This crash can affect a server and happen multiple times a week. It 
can also not show up for 180 days or more. But it does happen. The 
server can be 100% idle and crash. We have servers that do more I/O 
than the ones that crash could ever attempt to do and these don't 
crash at all. Completely inexplicable.



Things we've looked into:

Nothing about the installed software matters. We've tried cross 
referencing the crashed servers by the programs they run but the base 
OS is the only common denominator due to the wide variety of servers 
it has affected.


Storage doesn't matter. We've tried different iSCSI SANs, we've tried 
different switches, we've tried local datastores on the ESXi servers 
themselves.


HP servers, Dell servers -- doesn't seem to matter either. (All with 
latest firmwares, BIOSes, etc)


VMWare gave us a ton of debugging tasks, and we've given them 
gigabytes of debugging info and data; they can't find anything.


VMWare tools -- with, without, using open-vm-tools makes no 
difference. I think we've done a fair job ruling out VMWare.



I think we've finally found enough data that this is definitely 
something in the FreeBSD world. I'm going to begin prepping some of 
the known crashy servers with more debugging. Any suggestions on what 
I should build the kernel with? They never do a proper panic, but I 
definitely want to at least *try* to get into the debugger the next 
time it crashes. And when it crashes, what the heck should I be 
running? I've never played with the KDB before...



Thank you for any suggestions and help you can give me
___
freebsd-hack...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to 
"freebsd-hackers-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"


swap space

2012-02-17 Thread Jim Pazarena

is there a command which can show the size of the hard drive swap?

A "df" seems to avoid the swap area.

This would be on a live production server.
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"


software raid

2012-02-07 Thread Jim Pazarena

Does FreeBSD support any type of software raid?
I have an old rack mount server which has 8 bays, but all SATA,
and NO raid. Sure would be nice to have a software raid
to create a NAS device.
--
Jim Pazarena fqu...@paz.bz
___
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"


dot snap folder

2012-01-15 Thread Jim Pazarena

Is it permissible to delete the dot snap folder which is created
in a filesystem?
--
Jim Pazarena fqu...@paz.bz
___
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"


freeradius on freebsd

2011-11-30 Thread Jim Pazarena

I am having issues with freeradius being told
system passwords are incorrect by freebsd, where I
know they are not wrong.

I think it relates to freeradius submitting crypt passwords
while freebsd defaults to MD5.

Has anyone encountered this issue on FreeBSD? Seems the
freeradius newsgroup doesn't have any freebsd active
participants.

Could someone suggest how to coax freeradius to submit
MD5 encrypted passwords to the system?
___
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"


radiusd-cistron

2011-11-19 Thread Jim Pazarena

I recently switched from FBSD 7.0 i386
to FBSD 8.2 amd64

my radius only sees garbage in place of the password, so no one
can authenticate.

Since I changed both OS (7.0->8.2) AND platform (i386->amd64), I am
unsure where to start looking for an encryption problem.

Any suggestions would be appreciated. Yes, I could switch to
freeradius, but would that change/help an encryption issue?

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"


can't find installed executables

2011-10-11 Thread Jim jim

Hallo,
I'm kind of new to FreeBSD and installed the latest version a few days ago, it 
gave me the option to install some packages and I chose some of them like 
'FlightGear' for example.But now I don't know how to execute this game or any 
other program I got installed. I can find the folder and it's like 
/usr/ports/games/flightgear but there is the Makefile so I think that is the 
installation folder and i also tried to install it but than it shows me that it 
is already installed.Could you tell me which one is the executable and how to 
run it or where I can find it?
Hope you can help me with this.
Yours Sincerely
Jim van Dooren.   
___
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"


enlarge a filesystem

2011-09-10 Thread Jim Pazarena

I have a drive with two filesystems.
/dev/da1s1d  412G  337G   42G  89%
and
/dev/da1s1e 130G   19M  119G   0%

I need the space on da1s1e.

Does FreeBSD have any mechanism to enlarge
s1d after I delete s1e ?

Would GParted be able to do this?
___
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: opening a shared object / failing with Undefined Symbol.

2011-03-29 Thread Jim
On Sat, Mar 26, 2011 at 11:31 PM, Giorgos Keramidas
 wrote:
> On Tue, Mar 22, 2011 at 2:28 PM, Jim  wrote:
>> I have an application that opens two .so files with dlopen(3):
>>  /usr/local/lib/libag_core.so
>>  /usr/local/lib/libag_gui.so
>>
>> Both files exist
>> Running nm(1) against each produces a lot of output, showing all the
>> symbols I know to exist in each library.
>>
>> My application gets a null return from dlopen on the libag_gui.so.
>>
>> dlerror produces the following string:
>>  "/usr/local/lib/libag_gui.so Undefined symbol "agTimingLock"
>>
>> $ nm /usr/local/lib/libag_gui.so | grep agTiming
>>                 U agTimingLock
>>
>> I'm guessing that means that agTimingLock is used in that library but
>> not defined?
>>
>> $ nm /usr/local/lib/libag_core.so | grep agTiming
>> 00141c00 B agTimingLock
>>
>> And this would mean that it is defined in libag_core.so?
>
> Yes, but it's in the uninitialized data section:
>
> % man nm
> ...
>           "B"
>           "b" The symbol is in the uninitialized data section (known as BSS).
>
> What is the "ag" library? Which version are you using? What sort of
> dlopen() call did you try to run?
>

The "ag" library is libagar ( http://libagar.org/ ):

The code amounts to the following:
void * coredl = dlopen("/usr/local/lib/libag_core.so", 0)
void * guidl = dlopen("/usr/local/lib/libag_gui.so", 0)

and the function:
int (*AG_InitCore)(const char * title, int flags);
int (*AG_InitGraphics)(const char * drv);

*((void *)AG_InitCore) = dlsym(coredl, "AG_InitCore");
*((void *)AG_InitGraphics) = dlsym(guidl, "AG_InitGraphics");


The prototypes for the AG_* functions match.


Thanks,
-Jim Stapleton
___
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"


opening a shared object / failing with Undefined Symbol.

2011-03-22 Thread Jim
I have an application that opens two .so files with dlopen(3):
  /usr/local/lib/libag_core.so
  /usr/local/lib/libag_gui.so

Both files exist
Running nm(1) against each produces a lot of output, showing all the
symbols I know to exist in each library.

My application gets a null return from dlopen on the libag_gui.so.

dlerror produces the following string:
  "/usr/local/lib/libag_gui.so Undefined symbol "agTimingLock"

$ nm /usr/local/lib/libag_gui.so | grep agTiming
 U agTimingLock

I'm guessing that means that agTimingLock is used in that library but
not defined?

$ nm /usr/local/lib/libag_core.so | grep agTiming
00141c00 B agTimingLock

And this would mean that it is defined in libag_core.so?

Given that libag_core.so gets loaded first, does anyone have any
suggestions on how to fix such an issue? (Note: I didn't write this
library, I did compile/install it)

Thanks,
-Jim Stapleton
___
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: Installation problem on AMD64

2011-02-22 Thread Jim Trigg
On Mon, Feb 21, 2011 at 8:37 PM, Jim Trigg  wrote:
> I do an installation from DVD on AMD64, and when I reboot it hangs
> before displaying anything from the standard boot loader.  How can I
> debug this?

I found my problem by accident -- I had a badly formatted USB stick
connected.  (I had tried to write the memstick image to a 1G stick --
not quite large enough.)

Thanks,
Jim
___
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"


Installation problem on AMD64

2011-02-21 Thread Jim Trigg
I do an installation from DVD on AMD64, and when I reboot it hangs
before displaying anything from the standard boot loader.  How can I
debug this?

Thanks,
Jim Trigg
___
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: Web mail for not local domains.

2010-11-28 Thread Jim Pazarena

On 2010-11-28 9:36 AM, Jorge Biquez wrote:

Hello all.

I was wondering if you can suggest the best application you consider for the 
following.


roundcube
--
Jim Pazarena fqu...@paz.bz
___
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"


i386 jail on AMD64 system not seeing network. AMD64 jails working fine.

2010-09-14 Thread Jim
I am trying to run a teamspeak server, so I need an i386 jail.
However, the jail seems to have issues with connecting to the network.

* I set up the jail (make clean buildworld install distribution
TARGET=i386 DESTDIR=/data/jail/speak/), and get no errors.
* I mount /data/jail/speak/dev and /data/jail/speak/proc as I would on
an AMD64 jail.
* I copy over my /etc/hosts file, with an entry added for the teamspeak jail
* I copy over my /etc/resolv.conf file
* I set up the rc.conf file with:
  defaultrouter="192.168.1.1"
  hostname="speak.mydomain"
  #the following are also set on my web and email jails
  amd_enable="NO"
  sshd_enable="YES"
  usbd_enable="NO"
  rpc_bind="NO"
* I nfs mounts /usr/ports to /data/jail/speak/usr/ports
* I start the jail with "jail -s 2 /data/jail/speak "speak.mydomain"
192.168.1.9 /bin/sh
** The shell starts
* I installed bash and lynx through ports - both have their distfiles
and those of dependencies already downloaded
* I left the jail and came back in with "jail -s 2 /data/jail/speak
"speak.mydomain" 192.168.1.9 /usr/local/bin/bash

Up to this point, there is no trouble.
* I tried installing teamspeak: cd /usr/ports/audio/teamspeak_server;
make install clean
=> Couldn't fetch it. Please try to retrieve this
=> port manually into /usr/ports/distfiles/teamspeak and try again
*** Error code 1
* I try to connect to either my router or the web server I have at
192.168.1.5 with lynx.
First I get: "Making HTTP connection to 192.168.1.1" (or 192.168.1.5),
and the browser sits there for a while.
This is followed by: Alert!: Unable to connect to remote host.
* From the base system or either of the other jails, I can connect to either.
* I try the jail again, this time with '-s 0', and I still can't
connect to either site.


The main system conf does not have the jails loaded specifically, I
start the jails manually. The ifconfig setups look like this:
  hostname="server.mydomain"
  ifconfig_nfe0="inet 192.168.1.2 netmask 255.255.255.0"
  #we are borg
  ifconfig_nfe0_alias0="inet 192.168.1.3 netmask 255.255.255.0"
  ifconfig_nfe0_alias1="inet 192.168.1.4 netmask 255.255.255.0"
  ifconfig_nfe0_alias2="inet 192.168.1.5 netmask 255.255.255.0"
  ifconfig_nfe0_alias3="inet 192.168.1.6 netmask 255.255.255.0"
  ifconfig_nfe0_alias4="inet 192.168.1.7 netmask 255.255.255.0"
  ifconfig_nfe0_alias5="inet 192.168.1.8 netmask 255.255.255.0"
  ifconfig_nfe0_alias6="inet 192.168.1.9 netmask 255.255.255.0"
  ifconfig_nfe0_alias7="inet 192.168.1.25 netmask 255.255.255.0"
  ifconfig_nfe0_alias8="inet 192.168.1.80 netmask 255.255.255.0"
  defaultrouter="192.168.1.1"



Anyone know what might be causing this?
Thanks,
-Jim Stapleton
___
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"


proper way to setup laptop with apache22

2010-09-04 Thread Jim Pazarena

I'm setting up a laptop with apache, just to play, basically.

But apache doesn't like the fact that it can't resolve the
lappy's hostname to an IP number and it will not load. The laptop
gets its IP # via DHCP so it changes at various locations.

I could use the localhost name & IP #, which should work.

My laptop is named 'laptop' (laptop.mydomain.com)

Is there a way to have the system utilize it's assigned IP #?
Or do I have to change my apache config to "localhost" ?

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: sockets stuck in use

2010-07-20 Thread Jim
On Mon, Jul 19, 2010 at 11:04 PM, Adam Vande More  wrote:
> On Mon, Jul 19, 2010 at 3:12 AM, Jim  wrote:
>>
>> I was working on an application I've been developing, and I closed the
>> last instance a bit over 12 hours ago, but some of the sockets are
>> still stuck in use:
>> [s...@elrond ~/dev/pipe/scripts]$ netstat | grep -e 'tcp' | grep 9612
>> tcp4       0      0 192.168.1.80.42464     192.168.1.2.9612       SYN_SENT
>> tcp4       0      0 192.168.1.80.35742     192.168.1.2.9612       CLOSED
>> tcp4       0      0 192.168.1.80.46116     192.168.1.2.9612       CLOSED
>> tcp4       0      0 192.168.1.80.36792     192.168.1.2.9612       CLOSED
>>
>>
>> Is there any way to get rid of them without restarting the machine? I
>> was playing with sockopt SO_KEEPALIVE and SO_LINGER when I caused this
>> issue..
>
> sockstat(1) will tell you process that has the socket open, can you kill it
> from there?
>
> --
> Adam Vande More
>


Thanks... That told me "who" to kill
___
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: sockets stuck in use

2010-07-19 Thread Jim
On Mon, Jul 19, 2010 at 10:20 AM, Anonymous  wrote:
> Jim  writes:
>
>> I was working on an application I've been developing, and I closed the
>> last instance a bit over 12 hours ago, but some of the sockets are
>> still stuck in use:
>> [s...@elrond ~/dev/pipe/scripts]$ netstat | grep -e 'tcp' | grep 9612
>> tcp4       0      0 192.168.1.80.42464     192.168.1.2.9612       SYN_SENT
>> tcp4       0      0 192.168.1.80.35742     192.168.1.2.9612       CLOSED
>> tcp4       0      0 192.168.1.80.46116     192.168.1.2.9612       CLOSED
>> tcp4       0      0 192.168.1.80.36792     192.168.1.2.9612       CLOSED
>>
>>
>> Is there any way to get rid of them without restarting the machine? I
>> was playing with sockopt SO_KEEPALIVE and SO_LINGER when I caused this
>> issue..
>
> Does tcpdrop(8) help?
>

No, the result (The first command is what I figured would be correct,
given the man page, the second was just to be paranoid - although this
machine is both the host and destination, having glommed onto several
ports. The .80 IPs are within the web server's jail. I cannot tcpdrop
within the jail

[s...@elrond ~/dev/pipe/scripts]$ netstat | grep -e 'tcp' | grep 9612
tcp4   0  0 192.168.1.80.42464 192.168.1.2.9612   SYN_SENT
tcp4   0  0 192.168.1.80.35742 192.168.1.2.9612   CLOSED
tcp4   0  0 192.168.1.80.46116 192.168.1.2.9612   CLOSED
tcp4   0  0 192.168.1.80.36792 192.168.1.2.9612   CLOSED
[s...@elrond ~/dev/pipe/scripts]$ sudo tcpdrop 192.168.1.80 46116
192.168.1.2 9612
tcpdrop: 192.168.1.80 46116 192.168.1.2 9612: No such process
[s...@elrond ~/dev/pipe/scripts]$ sudo tcpdrop 192.168.1.2 9612
192.168.1.80 46116
tcpdrop: 192.168.1.2 9612 192.168.1.80 46116: No such process
[s...@elrond ~/dev/pipe/scripts]$ netstat | grep -e 'tcp' | grep 9612
tcp4   0  0 192.168.1.80.42464 192.168.1.2.9612   SYN_SENT
tcp4   0  0 192.168.1.80.35742 192.168.1.2.9612   CLOSED
tcp4   0  0 192.168.1.80.46116 192.168.1.2.9612   CLOSED
tcp4   0  0 192.168.1.80.36792 192.168.1.2.9612   CLOSED


[s...@elrond ~/dev/pipe/scripts]$ cd /data/jail/
[s...@elrond /data/jail]$ sudo ./bilbo_web_shell
[r...@bilbo_web /data/jail]# tcpdrop 192.168.1.80 46116 192.168.1.2 9612
tcpdrop: 192.168.1.80 46116 192.168.1.2 9612: Operation not permitted


Thanks,
-Jim Stapleton
___
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"


sockets stuck in use

2010-07-19 Thread Jim
I was working on an application I've been developing, and I closed the
last instance a bit over 12 hours ago, but some of the sockets are
still stuck in use:
[s...@elrond ~/dev/pipe/scripts]$ netstat | grep -e 'tcp' | grep 9612
tcp4   0  0 192.168.1.80.42464 192.168.1.2.9612   SYN_SENT
tcp4   0  0 192.168.1.80.35742 192.168.1.2.9612   CLOSED
tcp4   0  0 192.168.1.80.46116 192.168.1.2.9612   CLOSED
tcp4   0  0 192.168.1.80.36792 192.168.1.2.9612   CLOSED


Is there any way to get rid of them without restarting the machine? I
was playing with sockopt SO_KEEPALIVE and SO_LINGER when I caused this
issue..

Thanks,
-Jim Stapleton
___
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"


free software for FreeBSD (JStrack and GTbrew2)

2010-06-25 Thread Jim Graham
Question:  I'd like to have these two applications that I wrote, and
continue to build and maintain as/when needed, and would like to have
them listed (no real need for a port, except, perhaps, to make sure
Tcl/Tk 8.4.x, various Tcl/Tk libs, and the netpbm/pbmplus/whatever
utils are available) as freeware that's available for FreeBSD.

JStrack is a hurricane tracking system:
see http://www.jstrack.org/jstrack/

GTbrew2 is a brewer's recipe formulation program:
see http://www.jstrack.org/brewing/

Any suggestions?

Thanks,
   --jim

-- 
73 DE N5IAL (/4)| Peter da Silva:  No, try "rm -rf /"
spooky1...@gmail.com| Dave Aronson:As your life flashes before
< Running FreeBSD 7.0 > |  your eyes, in the unit of time known as an
ICBM / Hurricane:   |  ohnosecond (alt.sysadmin.recovery)
   30.56226N 86.52008W  |

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


debian compatibility

2010-05-26 Thread Jim Pazarena
can I please be directed to any on-line reference as the
procedures involved in executing a Debian binary on FreeBSD 8?

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"


spamd update

2010-04-21 Thread Jim Pazarena

I recently upgraded p5-Mail-SpamAssassin on FreeBSD 8.0,
and now exim generates the following error message in
its logs:
spam acl condition: cannot parse spamd output

spamd and exim ran fine until I performed this update.
can anyone suggest where to commence fixing this?

I have already run "sa-update" which didn't fix the issue.

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"


spamd update

2010-04-21 Thread Jim Pazarena
I recently upgraded p5-Mail-SpamAssassin on FreeBSD 8.0,
and now exim generates the following error message in
its logs:
spam acl condition: cannot parse spamd output

spamd and exim ran fine until I performed this update.
can anyone suggest where to commence fixing this?

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"


Magento

2010-04-16 Thread Jim Bernstorf
I want to download and develop a Megento website.  The published OS
requirement is:

 "Supported Operating Systems: 

*   Linux x86, x86-64"

Will FreeBSD 8 work for this application?

Thanks,

Jim

______

Jim Bernstorf, EdD

Montessori Academy

6021 Cloverland Drive

Brentwood, TN 37027

615-833-3610 (Voice)

615-833-0323 (Fax)

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


detachable x session (X11 application that acts like sysutils/screen)

2010-04-12 Thread Jim
Has anyone done anything with a program that acts like sysutils/screen
but with an X11 screen instead of a terminal? x2x and xnest both look
like they have some promise. Basically I work on projects located on
one of two systems, but I may bounce between another set of
workstations where I am physically located. If I am handling something
that I can work on console-only without trouble, I use
sysutils/screen, however some times I either need X, or X would be a
bit more effective for me. I'd like to be able to leave a xsession
running somewhere and be able to detach it and reattach to it between
login sessions.

Has anyone had experience doing this? What programs do you use?

Thanks,
-Jim Stapleton
___
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: example C code for reading db hash files

2010-04-06 Thread Jim Sander

On Apr 5, 2010, at 8:51 PM, C. P. Ghost wrote:

  /usr/src/lib/libc/db/README
"This is version 1.85 of the Berkeley DB code."


I apologize for being imprecise in my original question. What you've  
provided is enough to give me progress. I think /usr/src/lib/libc/db/ 
tests/hash.tests will at least get me started. Thank you for the  
information.



___
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: example C code for reading db hash files

2010-04-05 Thread Jim Sander
Thank you - but unfortunately, that doesn't help (it was the first  
place I checked actually) - I assume because of historical changes,  
but possibly because I'm missing something obvious.


http://www.oracle.com/technology/documentation/berkeley-db/db/ 
api_reference/C/dbopen.html

vs.
man 3 dbopen

Things are *completely* different. Is the "stock BSD" db.h different  
than the Oracle db.h ?




On Apr 5, 2010, at 7:06 PM, C. P. Ghost wrote:


On Mon, Apr 5, 2010 at 10:28 PM, Jim Sander  wrote:
Is there a handy C code reference or examples for db files? (google  
has not been kind to me) I have a tied hash from Perl using  
DB_File, and need read only access in a C program.


You mean a reference... like this?

http://www.oracle.com/technology/documentation/berkeley-db/db/ 
index.html


There are C, C++ and other bindings for the Berkeley DB,
each of which comes with some examples.
Use the bindings you feel most comfortable with.

-cpghost.

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


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


example C code for reading db hash files

2010-04-05 Thread Jim Sander
Is there a handy C code reference or examples for db files? (google  
has not been kind to me) I have a tied hash from Perl using DB_File,  
and need read only access in a C program.


___
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: dovecot/jail question

2010-01-19 Thread Jim
On Tue, Jan 19, 2010 at 10:41 PM, Sam Fourman Jr.  wrote:
> On Tue, Jan 19, 2010 at 4:18 PM, Jim  wrote:
>> First, Thanks all for the help with my previous "sendmail" question. I
>> rebuilt the jail without postfix and that at least seems happy.
>
> So does this mean that you can NOT run postfix in a FreeBSD 8 Jail?
>
> I didn't know this, I just assumed postfix in a Jail would work. if
> possible could someone confirm this?
>
> Sam Fourman Jr.
>

No, it means I don't know how to configure postfix, and didn't realize
installing the postfix port also set it up to replace sendmail without
any further intervention. Since I was already familiar with sendmail,
I didn't want to bother figuring out postfix.
___
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"


dovecot/jail question

2010-01-19 Thread Jim
First, Thanks all for the help with my previous "sendmail" question. I
rebuilt the jail without postfix and that at least seems happy.

The main question; has anyone built/ran dovecot in a jail? It runs
fine on the host system fine, but if I put it in a jail, I get issues
with the !import_try command. I'm going to try some things to fix it,
and it could have been something I've done in my setup. I want to see
if this is a jail-specific issue.

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: sendmail issues - make fails to create aliases.db in /etc/mail

2010-01-12 Thread Jim
>        Yeah, that might work.  I had troubles with aliases and the database
>        and it didn't resolve itself until I ran newaliases.  But newaliases is
>        just a symlink to /usr/sbin/mailwrapper.  It calls /etc/mail/mail.conf
>        with newaliases which point to the *real* binary.  That's where things
>        disappear down the rabbit hole.
>
>        Are you trying to run sendmail as postfix?
>

I did install postgress, I didn't expect it to make any changes (I had
planned on potentially fiddling with it at some point, so I wanted it
in the jail template).

I'm assuming it must have made modifications to my system replacing
sendmail with it?

Thanks
-Jim Stapleton
___
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: sendmail issues - make fails to create aliases.db in /etc/mail

2010-01-12 Thread Jim
> Looks like you're using postfix pretending to be sendmail.  Evidently
> postfix doesn't build aliases.db the same way.  You might try newaliases.
>

I tried that, but it had an identical result.

-Jim Stapleton
___
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: sendmail issues - make fails to create aliases.db in /etc/mail

2010-01-12 Thread Jim
>        What happens if you do a grep aliases in /etc/mail?  In my sensmail
>        files I see references to aliases in the config *.cf and Makefile,
>        and the aliases file itself.

as in ls `/etc/mail | grep aliases` or `cat /etc/mail/* | grep aliases`
The former shows the file 'aliases' only. The latter (getting rid of
lines starting with # to clean up a bunch of crud)
[s...@elrond /data/jail/mail-jail/etc/mail]$ cat * | grep -a 'aliases'
| grep -avE '^#'
SENDMAIL_ALIASES?=  /etc/mail/aliases
all: cf maps aliases
aliases: ${SENDMAIL_ALIASES:%=%.db}
O AliasFile=/etc/mail/aliases
vrfyVerify an address.  If you want to see what it aliases
O AliasFile=/etc/mail/aliases
newaliases  /usr/libexec/sendmail/sendmail
O AliasFile=/etc/mail/aliases

Find shows the following files contain 'aliases' in non-comment lines:
./mailer.conf
./freebsd.cf
./freebsd.submit.cf
./helpfile
./sendmail.cf
./submit.cf
./Makefile
./aliases
./mail-jail.cf
./mail-jail.submit.cf


>        Did you edit any of these files?  Should work by default.
I edited: access, aliases, local-host-names, virtusertable.sample
(and apparantly forgot to copy the latter to virtualusertable, so it
shouldn't affect anything anyway)

-Jim Stapleton
___
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"


sendmail issues - make fails to create aliases.db in /etc/mail

2010-01-12 Thread Jim
make in /etc/mail fails (silently) to create aliases.db. I touched all
the source files I modified to make sure they would be rebuilt (since
the last rebuild failed). What I am finding is that the command
"/usr/sbin/sendmail -bi -OAliasFile=/etc/mail/aliases" is not creating
aliases.db, nor is it creating any errors. I tried running
`/usr/sbin/sendmail -v -bi -OAliasFile=/etc/mail/aliases`, but aw no
errors from that, either.

Anyone experienced something like this before and have suggestions on
what I should examine next?

Thanks,
-Jim Stapleton


[r...@mail-jail /etc/mail]# ls
Makefilefreebsd.mc  mail-jail.submit.cf
README  freebsd.submit.cf   mail-jail.submit.mc
access  freebsd.submit.mc   mailer.conf
access.db   helpfilemailertable.sample
access.sample   local-host-namessendmail.cf
aliases mail-jail.cfsubmit.cf
freebsd.cf  mail-jail.mcvirtusertable.sample
[r...@mail-jail /etc/mail]# touch aliases; touch access; touch
local-host-names ; touch sendmail.cf; touch virtusertable.sample
[r...@mail-jail /etc/mail]# make
/usr/sbin/makemap hash access.db < access
chmod 0640 access.db
/usr/sbin/sendmail -bi -OAliasFile=/etc/mail/aliases
chmod 0640 /etc/mail/aliases.db
chmod: /etc/mail/aliases.db: No such file or directory
*** Error code 1

Stop in /etc/mail.

[r...@mail-jail /etc/mail]# /usr/sbin/sendmail -v -bi
-OAliasFile=/etc/mail/aliases
sendmail: -O option ignored
postalias: dict_eval: const  mail
postalias: dict_eval: const  ipv4
postalias: dict_eval: const
postalias: dict_eval: const
postalias: dict_eval: const
postalias: dict_eval: const
postalias: name_mask: ipv4
postalias: dict_eval: const  mail-jail.localdomain
postalias: dict_eval: const  localdomain
postalias: dict_eval: const  Postfix
postalias: dict_eval: expand
${multi_instance_name:postfix}${multi_instance_name?$multi_instance_name}
-> postfix
postalias: dict_eval: const  postfix
postalias: dict_eval: const  maildrop
postalias: dict_eval: expand $myhostname, localhost.$mydomain,
localhost -> mail-jail.localdomain, localhost.localdomain, localhost
postalias: dict_eval: expand $myhostname -> mail-jail.localdomain
postalias: dict_eval: const
postalias: dict_eval: const  /usr/local/libexec/postfix
postalias: dict_eval: const  /var/db/postfix
postalias: dict_eval: const  /usr/local/sbin
postalias: dict_eval: const  /var/spool/postfix
postalias: dict_eval: const  pid
postalias: dict_eval: const  all
postalias: dict_eval: const
postalias: dict_eval: const  double-bounce
postalias: dict_eval: const  nobody
postalias: dict_eval: const  hash:/etc/aliases
postalias: dict_eval: const  20090828
postalias: dict_eval: const  2.6.5
postalias: dict_eval: const  hash
postalias: dict_eval: const  deferred, defer
postalias: dict_eval: const
postalias: dict_eval: expand $mydestination -> mail-jail.localdomain,
localhost.localdomain, localhost
postalias: dict_eval: expand $relay_domains -> mail-jail.localdomain,
localhost.localdomain, localhost
postalias: dict_eval: const  TZ MAIL_CONFIG LANG
postalias: dict_eval: const  MAIL_CONFIG MAIL_DEBUG MAIL_LOGTAG TZ
XAUTHORITY DISPLAY LANG=C
postalias: dict_eval: const  host
postalias: dict_eval: const
postalias: dict_eval: const  +=
postalias: dict_eval: const  -=+
postalias: dict_eval: const
debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,relay_domains,smtpd_access_maps
postalias: dict_eval: const
postalias: dict_eval: const  bounce
postalias: dict_eval: const  cleanup
postalias: dict_eval: const  defer
postalias: dict_eval: const  pickup
postalias: dict_eval: const  qmgr
postalias: dict_eval: const  rewrite
postalias: dict_eval: const  showq
postalias: dict_eval: const  error
postalias: dict_eval: const  flush
postalias: dict_eval: const  verify
postalias: dict_eval: const  trace
postalias: dict_eval: const  proxymap
postalias: dict_eval: const  proxywrite
postalias: dict_eval: const
postalias: dict_eval: const  2
postalias: dict_eval: const  100s
postalias: dict_eval: const  100s
postalias: dict_eval: const  100s
postalias: dict_eval: const  100s
postalias: dict_eval: const  3600s
postalias: dict_eval: const  3600s
postalias: dict_eval: const  5s
postalias: dict_eval: const  5s
postalias: dict_eval: const  1000s
postalias: dict_eval: const  1000s
postalias: dict_eval: const  10s
postalias: dict_eval: const  10s
postalias: dict_eval: const  1s
postalias: dict_eval: const  1s
postalias: dict_eval: const  1s
postalias: dict_eval: const  1s
postalias: dict_eval: const  500s
postalias: dict_eval: const  500s
postalias: dict_eval: const  18000s
postalias: dict_eval: const  18000s
postalias: dict_eval: const  1s
postalias: dict_eval: const  1s
postalias: name_mask: host
postalias: inet_addr_local: configured 1 IPv4 addresses
postalias: mynetworks: 192.168.1.4/32
postalias: dict_eval: con

Re: how to get rid of a character, 0x80?

2009-09-08 Thread Jim White
On Tue, Sep 8, 2009 at 7:43 AM, Jon Radel  wrote:

> Mark Stapper wrote:
>
>  besides.. 0x80!=0200
>> it's 0200 octal which is 128 decimal...
>> Might be why it doesn't work for you.
>>
>
> Don't mess with his head.  ;-)
>
> 0200 = 0x80 = 128
>
> 200 octal = 80 hex = 128 decimal
>
> --
>
> --Jon Radel
> j...@radel.com
>

You may want to check if your char type is signed.  If it is (and it just
happens to be 8 bits wide), (char)128 is a negative value.
___
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: 32 bit ports on an AMD64 system

2009-09-02 Thread Jim
On Tue, Sep 1, 2009 at 1:39 PM, b. f. wrote:
> You've given some of your reasons for using amd64 -- but are your
> reasons for using 32-bit binaries on amd64 strong enough to make all
> of this worthwhile?  Why not just use 64-bit binaries for all but the
> 32-bit-only ports?  Sure, some 32-bit applications will actually run
> faster (the opposite is also often true) or use fewer resources, but
> is it worth the hassle?

Mostly that's what I want to do. However I'd like to do some Python QT
development with PyQT4, and would like to test the performance using
py-psycho (i386 bit only). In that situation, I'm not sure if I'll
have to install QT4 as 32 bit or not, likewise for X...

It's a bit messy, but we'll see what happens.

Thanks for all the advice and help,
-Jim Stapleton
___
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: 32 bit ports on an AMD64 system

2009-09-01 Thread Jim
>> [...] but the ability to use extra memory *and* dynamically load
>> kernel modules is a bit more important to me.
>
> All FreeBSD supported platforms can dynamically load native kernel modules, so
> why should that be a factor in choosing between i386 and amd64?
>
> Roland

I didn't specify just loading modules, but extra memory as well (the
beyond 4GB addressable space). Using the options in i386 that allow
you to access memory beyond 4GB, also eliminates the ability to
dynamically load kernel modules.

-Jim Stapleton
___
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: 32 bit ports on an AMD64 system

2009-09-01 Thread Jim
> Well, this would certainly help with building the ports safely.  But I
> think we -- at least I was -- were thinking that you would actually
> leave them in the jail, and run them from the jailed environment, so
> there would be fewer run-time problems, and no work to transfer them
> over.  Remember that you've got to ensure that there is no problem
> with run-time linking of shared libraries, some of which (in your
> current scheme) will have both 32-bit and 64-bit versions with the
> same soname.  You can probably work around this problem as well, but
> it seems easier to leave them in the jail.
>

With only console stuff, that'd probably be fine, a jail wouldn't be
much more tedious than the environment shuffling I'd need to run the
32 bit stuff, however I'll want to do some X11 stuff..
I know you can access X between different users on a machine, but can
a jail'ed shell open a window on an X server running from the main
machine? I'm not even sure what terms I would use for searching on how
to get that working.

Thanks,
-Jim Stapleton
___
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: 32 bit ports on an AMD64 system

2009-09-01 Thread Jim
> Also note that it is possible to have an i386 port-building jail on an
> amd64 system.


So, make/build/run a normal jail using the 64 bit os "world", add -m32
to the make.conf CFLAGS and CXXFLAGS, build stuff in the jail, and
copy it to main (non-jailed) system, and run ldconfig on the library
directories? I'd probably also change PREFIX/LOCALBASE to prevent the
files from the ports from colling with the base system files when I
copy them over.

Thanks,
-Jim Stapleton
___
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: 32 bit ports on an AMD64 system

2009-09-01 Thread Jim
> First, I hope that you have a good reason for doing this, because it
> is going to be a PITA, and prone to all sorts of problems. [...]

Unfortunately I do. The 32 bit stuff is *would be really nice, but not
necessary*, but the ability to use extra memory *and* dynamically load
kernel modules is a bit more important to me.

> If you are just talking about unshadowed ports, you could try adding
> something like the following to /etc/make.conf:
>
> .ifdef(32BIT)
> PREFIX=/usr/local/32
> LOCALBASE=/usr/local/32
> LDCONFIG=/sbin/ldconfig -32
> CFLAGS+=-m32
> .endif
>
> and then wrapping your portupgrade, portmaster, or make commands with:
>
> env 32BIT=yes [insert rest of command here]
>
> If there is shadowing, you have to consider how to manage the
> environment PATH so that you can actually run the 32-bit binary
> executables without typing in fully-qualified pathnames every time,
> and maybe also using LD_RUN_PATH or LD_LIBRARY_PATH so that the right
> libraries are used --- you can see how problems crop up at every turn?

I was thinking of leaving the standard paths alone, and setting up one
or more [ba|c|]sh32 alias/scripts which would start up the appropriate
shell, with 32-bit directories at the front of the path. I know I'll
end up having both 32- and 64-bit of Python on my system (many of the
main apps I use require python - but I also want to be able to use
py-psyco), as well as a few copies of the various GUI toolkits in
32-bit.

Thanks for the info,
-Jim Stapleton

-Jim Stapleton
___
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"


32 bit ports on an AMD64 system

2009-08-31 Thread Jim
I want to compile some 32 bit ports on an AMD64 system. I know the GCC
has to receive the -m32 flag to compile the ports as 32 bit, but I
also want to change the install directory with 32 bit ports, I was
wondering which would be the most appropriate root given unix themes
and standard FreeBSD directory structure.

/usr/local/[same-as-before]-32 (i.e. [...]/bin32, [...]/lib32,
[...]/libexec32, etc)
/usr/32/
/usr/32bit/
/usr/FreeBSD32/
/usr/compat/32bit/
/usr/compat/FreeBSD32/


Also, would I be able to pass the appropriate flags through port
upgrade (or use environmental variables), or would I have to make
duplicates of the port directories and modify the makefiles?

Thanks,
-Jim Stapleton
___
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"


jail/system crash with mount_unionfs

2009-07-09 Thread Jim
OS: FreeBSD 7.2 release / Generic kernel
I used CSUP to download the source tree, and the RELENG_7_2, no date
specified. I didn't rebuild the base OS world/kernel.

I have installed a lot of ports on the main system, most of what the
jail would need is also already installed - so the distfiles and ports
directories are already setup to speed of the install process. I
figured I'd save time and effort and use unionfs to allow both systems
to use the same ports directory (to be safe, I won't compile things
from both systems at the same time, but keeping the same ports
directory was fine.

I followed the jail creation instructions in the handbook posted on
the www.freebsd.org

Once the jail was created, I made a script to union the ports directories:
ts.org_mount_ports
#!/bin/sh
mount_unionfs /usr/ports /data/jail/ts.org/usr/ports/

I also have my jail shell startup script:
ts.org_shell
#!/bin/sh
jail -s 2 /data/jail/ts.org/ ts.org.mydomain 192.168.1.83 /bin/sh


[s...@boromir /data/jail]$ ls ts.org/usr/ports
[s...@boromir /data/jail]$ sudo ./ts.org_mount_ports
[s...@boromir /data/jail]$ ls ts.org/usr/ports
... ports directory listing omitted
[s...@boromir /data/jail]$ sudo ./ts.org_shell
# cd /usr/ports
# ls
The base operating system hangs at this point.



later:
[s...@boromir /data/jail]$ ls ts.org/usr/ports
[s...@boromir /data/jail]$ cd ts.org/usr/ports
[s...@boromir /data/jail/ts.org/usr/ports]$ cp -rf /usr/ports/* .
[s...@boromir /data/jail/ts.org/usr/ports]$ cd /data/jail
[s...@boromir /data/jail]$ ls ts.org/usr/ports
... ports directory listing omitted
[s...@boromir /data/jail]$ sudo ./ts.org_shell
# cd /usr/ports
# ls
... ports directory listing omitted


As you can see, there is a work around, so I'm not that /bothered/ by
this, but it'd be nice to know what's up. Am I doing something wrong?
If not, can anyone replicate this? Should I file a bug report?

Thanks,
-Jim Stapleton
___
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"


QEMU + FreeBSD

2009-06-26 Thread Jim
I have installed FreeBSD 7.2 on my notebook in the last week, and
installed QEmu as well.

I cannot seem to get the network interface working. It works on my
desktop machine, but that is running 7.0

looking around, I tried to find some other options, and went here:
http://wiki.freebsd.org/qemu

and got stuck at this step:
 # sysctl net.link.ether.bridge_cfg=fxp0,tap0
 # sysctl net.link.ether.bridge.enable=1

because nothing matching "net.link.ether.bridge*" exists.

Does anyone know of a current good setup document?

thanks,
-Jim Stapleton
___
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"


at/batch subsystem time limit

2009-06-02 Thread Jim Pazarena

Is there a upper execution (or real) time limit that the system
enforces on at jobs?

I have an at job which would run for at least two hours .. IF it would
run to completion, but it always seems to die for unknown reasons.
I do not get an email or any advice of the reason the job has terminated.

So I was thinking that there may be a kernel timer which kills the job.

is this possible?
--
Jim Pazarena  fqu...@ccstores.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"


freebsd-update and 7.1-RELEASE-p5

2009-04-28 Thread Jim Vanderveen
I updated a fresh 7.1-RELEASE to (I thought) 7.1-RELEASE-p5 using
freebsd-update; however, uname shows me at 7.1-RELEASE-p4 after
rebooting:

$ uname -v
FreeBSD 7.1-RELEASE-p4 #0: Sun Mar 22 12:35:36 UTC 2009
r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
$ sudo freebsd-update fetch
Password:
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching metadata signature for 7.1-RELEASE from update2.FreeBSD.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 7.1-RELEASE-p5.
$ sudo freebsd-update install
No updates are available to install.
Run '/usr/sbin/freebsd-update fetch' first.
$

I was expecting uname to show "7.1-RELEASE-p5". Is this incorrect? Or
have I done something wrong?

--
Jim Vanderveen
___
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: 7.1 release / apache22 / php5

2009-01-05 Thread Jim Pazarena

Josh Carroll wrote:

On Mon, Jan 5, 2009 at 7:52 PM, Jim Pazarena  wrote:

for some odd reason, with this latest install (7.1), apache22 complains that
it cannot find libphp5.so
I usually compile php5 from ports
and apache22 from ports
after I think about it, I have never actually placed libphp5.so anywhere. I
am not even sure who/what
causes php5 module to be added to /usr/local/libexec/apache22/libphp5.so
it's present on my 7.0 system, and missing on my 7.1 system.
advice would be much appreciated.


Do you have something like:

LoadModule php5_modulelibexec/apache22/libphp5.so

in /usr/local/etc/apache22/httpd.conf ?  If not, that's the likely culprit.

You'd also need the  ...  block in
there as well (or in an included file).

Regards,
Josh


the httpd config file isn't the issue. it hasn't changed in a few years. yes,
I do have the correct entries.

what I do NOT have is the actual libphp5.so library file! it doesn't exist on 
my system,
so apache complains that it can't open it.

--
Jim Pazarena  fqu...@ccstores.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"


7.1 release / apache22 / php5

2009-01-05 Thread Jim Pazarena

for some odd reason, with this latest install (7.1), apache22 complains that it 
cannot find libphp5.so
I usually compile php5 from ports
and apache22 from ports
after I think about it, I have never actually placed libphp5.so anywhere. I am 
not even sure who/what
causes php5 module to be added to /usr/local/libexec/apache22/libphp5.so
it's present on my 7.0 system, and missing on my 7.1 system.
advice would be much appreciated.
--
Jim Pazarena  fqu...@ccstores.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: re changing from vista

2008-11-14 Thread Jim Pazarena

Wojciech Puchar wrote:
please can you help me i am totally confused i want to change from 
windows vista


but i cannot understand which system to use


maybe windows XP?



i am not sure if freebsd will work with my hardware and software


simply check it.


unless you think this may be a troll,
your comments seem a great way to chase away a potential convert to FreeBSD.
--
Jim Pazarena  [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: root /etc/csh

2008-11-10 Thread Jim Pazarena

Glen Barber wrote:

On Mon, Nov 10, 2008 at 4:46 PM, Pieter Donche <[EMAIL PROTECTED]> wrote:

FreeBSD 7.0 comes with the user root with start up shell /bin/csh
As normal user I use bash (/usr/local/bin/bash installed)
I would prefer to have bash also when working as root (su).


It is never recommended to change root's default shell to something
outside of the base install.

The main reason is, for example, if you update your non-base shell
(via ports), and it breaks, you can no longer log in as root.  If you
decide you still want to have a non-base shell for your root user,
keep root's shell default, and enable your toor user.


isn't the "main reason" because other shells may reside on a filesystem
which isn't necessarily mounted in maintenance/single user mode? Or, libraries
for the same?
--
Jim Pazarena  [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


port versions query

2008-10-31 Thread Jim Pazarena

I tried the 5.1 mysql port, and found that it was a 5.1.26-rc ... RC

so I rolled back to 5.0.67

Is there a way to tell in general what version is 'current' for FreeBSD 7?
How could I query any given port in general and see which version it would 
install?
--
Jim Pazarena  [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: string split, bash and IFS

2008-09-05 Thread Jim Hertzler

Go to:
http://www.linuxquestions.org/questions/programming-9/bash-shell-script-split-array-383848/?posted=1#post3270996
And see:
IP=1.2.3.4; IP=(${IP//./ }); Rev=${IP[3]}.${IP[2]}.${IP[1]}.${IP[0]}


Unga wrote:
> 
> Hi all
> 
> How to use bash and IFS to split a string?
> 
> eg. 
> $string = "Name:Surname:10"
> IFS=:
> echo "$string" | read name surname age
> 
> This does not work for some reason. The read does not create name, surname
> and age variables. Any idea why?
> 
> Appreciate your reply.
> 
> Kind regards
> Unga
> 
> 
>   
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 
> 

-- 
View this message in context: 
http://www.nabble.com/string-split%2C-bash-and-IFS-tp19140697p19340538.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: string split, bash and IFS

2008-09-05 Thread Jim Hertzler

#!/bin/bash
# Split the command line argument on the colon character.

SaveIFS=$IFS
IFS=":"
declare -a Array=($*)
IFS=SaveIFS

echo "Array[0]=${Array[0]}"
echo "Array[1]=${Array[1]}"
echo "Array[2]=${Array[2]}"
echo "Array[3]=${Array[3]}"


Unga wrote:
> 
> Hi all
> 
> How to use bash and IFS to split a string?
> 
> eg. 
> $string = "Name:Surname:10"
> IFS=:
> echo "$string" | read name surname age
> 
> This does not work for some reason. The read does not create name, surname
> and age variables. Any idea why?
> 
> Appreciate your reply.
> 
> Kind regards
> Unga
> 
> 
>   
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 
> 

-- 
View this message in context: 
http://www.nabble.com/string-split%2C-bash-and-IFS-tp19140697p19335104.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


brooktree 878[A?] + samsung S5H1411 + PCI

2008-09-04 Thread Jim
I'm looking at getting a card that has this, and this is the info I've
found. It looks like all of the tuner codes are in the driver. Could
anyone give me an estimate of how likely it would be that I could add
the tuners entry to "/usr/src/sys/dev/bktr/bktr_card.c"

i.e. add an entry in the "static const struct CARDTYPE cards[]" array?
What other arrays/values/files would I need to mess with? I'm guessing
I'd have to enter a card ID somewhere, a tuner ID somewhere, and that
array I listed *looks* like it has the card and tuner control
definitions. Am I correct?

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


Re: cannot make/mount ext2 partition

2008-09-03 Thread Jim
> I'm trying to create an EXT2 partition so I can share files between
> FreeBSD and any other operating system I put on the computer, without
> the limitations of FAT32.
>
> My kernel config is the generic kernel, with a bunch of SCSI, RAID and
> network drivers, MD_ROOT and NFS_ROOT commented out.
>
> However, once I'm done making the partition, I can't mount it. When I
> try mounting it, I get the following error.
> mount: /dev/ad8s1 : Operation not supported by device
>
[...]
> [EMAIL PROTECTED] ~]$ sudo mount -t ext2 /dev/ad8s1 /mnt


Solved, I needed to use ext2fs, not ext2.

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


cannot make/mount ext2 partition

2008-09-02 Thread Jim
I'm trying to create an EXT2 partition so I can share files between
FreeBSD and any other operating system I put on the computer, without
the limitations of FAT32.

My kernel config is the generic kernel, with a bunch of SCSI, RAID and
network drivers, MD_ROOT and NFS_ROOT commented out.

However, once I'm done making the partition, I can't mount it. When I
try mounting it, I get the following error.
mount: /dev/ad8s1 : Operation not supported by device


Can anyone tell me what I'm doing wrong?
I sync'ed the ports tree within the last week, and built the e2fsprogs
port this morning.

Thanks,
-Jim Stapleton


The process I went through to create/mount the partition is as follows:
[EMAIL PROTECTED] ~]$ uname -a
FreeBSD elrond.var-dev.net 7.0-STABLE FreeBSD 7.0-STABLE #1: Thu Jul
24 22:27:49 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/JIM20080722  i386
[EMAIL PROTECTED] ~]$ kldstat
Id Refs AddressSize Name
 1   13 0xc040 55c4d8   kernel
 21 0xc095d000 6ed8 snd_ich.ko
 32 0xc0964000 4a57csound.ko
 41 0xc09af000 75592c   nvidia.ko
 52 0xc1105000 285a8linux.ko
 61 0xc112e000 6a5d4acpi.ko
 71 0xc65fb000 1ext2fs.ko
[EMAIL PROTECTED] ~]$ ls /dev | grep '^ad8'
ad8
ad8s1
[EMAIL PROTECTED] ~]$ sudo mke2fs /dev/ad8s1
mke2fs 1.41.0 (10-Jul-2008)
Filesystem label=
OS type: FreeBSD
Block size=4096 (log=2)
Fragment size=4096 (log=2)
9773056 inodes, 39072080 blocks
1953604 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=0
1193 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 2048, 23887872

Writing inode tables: done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 29 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
[EMAIL PROTECTED] ~]$ fdisk /dev/ad8
*** Working on device /dev/ad8 ***
parameters extracted from in-core disklabel are:
cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl)

Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 131 (0x83),(Linux native)
start 63, size 312576642 (152625 Meg), flag 0
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:

The data for partition 3 is:

The data for partition 4 is:

[EMAIL PROTECTED] ~]$ sudo mount -t ext2 /dev/ad8s1 /mnt
mount: /dev/ad8s1 : Operation not supported by device
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Mysql Performance Question 4.1.22 vs 5.1.26.rc

2008-08-29 Thread Jim Pazarena

Abdullah Ibn Hamad Al-Marri wrote:

- Original Message 


From: Jim Pazarena <[EMAIL PROTECTED]>
To: FreeBSD 
Sent: Friday, August 29, 2008 8:34:14 PM
Subject: Mysql Performance Question  4.1.22 vs 5.1.26.rc

I changed from 4.1.22 to 5.1.26.rc and my performance in a very busy db,
tanked!

could the use of an 'rc' possibly be my issue?

is there any chance that the 'rc' has debugging enabled which is slowing me
down?
--
Jim Pazarena  [EMAIL PROTECTED]


Kris said MySQL 5.1.x has performance issues.

Why don't you try 5.0.x?

 Regards,
-Abdullah Ibn Hamad Al-Marri


I already 'updated' the databases to 5.1.26, and I do not think I can change
the databases to go 'back' to 5.0.

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


Mysql Performance Question 4.1.22 vs 5.1.26.rc

2008-08-29 Thread Jim Pazarena

I changed from 4.1.22 to 5.1.26.rc and my performance in a very busy db,
tanked!

could the use of an 'rc' possibly be my issue?

is there any chance that the 'rc' has debugging enabled which is slowing me 
down?
--
Jim Pazarena  [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: fairly low level - ld-elf.so.1/rtld_verify_versions() question

2008-08-26 Thread Jim
Disregard, I mistraced/read the output. I found the error.

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


fairly low level - ld-elf.so.1/rtld_verify_versions() question

2008-08-26 Thread Jim
I have a library that is failing to load. Eventually I managed to play
with ld-elf so I could figure out what was wrong (jail -> build the
ld-elf in the jail with some printfs)

Anyway, I have a lot of test cases that seem to compile/load fine, but
one compiles fine but always fails to load, I found /why/ it fails,
but I don't know what in my library would cause the issues.

It looks like a versioning failure for libc.so.7:
libc.so.7 => /lib/libc.so.7 (0x2807e000)

What would cause this, but not cause failures on other libraries I've
built on the same system?
* Between successes and failures I have not rebuilt anything other
than the successful and failing libraries.


Thanks,
-Jim Stapleton


In case it might be useful, below I have an output from my modified
ld-elf, Anything starting with ">>>" comes from the
"rtld_verify_versions" function, anything starting with ">>" comes
from the "dlopen" function. Anything starting with "##" is a comment
or interperetation I added after the fact.

#dlopen, prints name and mode arguments
>>Opening: 'libctypeless.so' : 513
#prints name and pointer to main passed to load_object if name is not null
>> Name not null, calling: load_object("libctypeless.so", 0x28078000 /*main*/)
#prints the pointer returned for obj
>> Found: 0x28078400
#tells the refcount on obj, immediately after the increment
>> opened, refcount inc'ed: 1
#this is the first thing done after the initial STAILQ_FOREACH(entry,
objlist, link) {
#in the function, the line printing it is:
# printf(">>> Checking version: %p (%p) --> \"%s\"\n", entry,
entry->obj, entry->obj->path);
>>> Checking version: 0x28079080 (0x28078400) --> "/usr/lib/libctypeless.so"
>>> Checking version: 0x280790a0 (0x28078600) --> "/lib/libgcc_s.so.1"
>>> Checking version: 0x280790c0 (0x28078200) --> "/lib/libc.so.7"
#these next two are printed by
#printf(">>> [shouldn't be null] strtab: \"%s\"\n", entry->obj->strtab);
#and
#printf(">>> [should be null] vertab: ");
#printf("%p: %d / %d / \"%s\" / \"%s\" \n", entry->obj->vertab,
#entry->obj->vertab->hash,entry->obj->vertab->flags,
#entry->obj->vertab->name,entry->obj->vertab->file);
#respectively
>>> [shouldn't be null] strtab: ""
>>> [should be null] vertab: 0x2807a080: 0 / 0 / "(null)" / "(null)"
>> versioning failure of dagmembers: 0,
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2818e000)
libc.so.7 => /lib/libc.so.7 (0x2807e000)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ATi & Intel graphics

2008-08-14 Thread Jim
On Wed, Aug 13, 2008 at 3:34 PM, Roland Smith <[EMAIL PROTECTED]> wrote:

> The last ATI chip with full open-source 3D accelleration support is the
> 2950 (RV280), but 3D and accelleration support for newer chips is
> actively being worked on. ATI is even going to provide the developers
> with documentation (could be that that has happened by now?).

Last I heard they got the documentation for card initialization and (I
think) power management. No acceleration docs yet. It still came to
over 900 pages. Hopefully there's been more since.

> The driver that you want for ATI cards is xf86-video-ati. But for the
> most features you'll have to compile it yourself from the code in a git
> repository. You'll probably need an updated DRM driver as well.

ok, it looks like the radeon (no HD) driver is part of the
xf86-video-ati driver, and by the size of the ati_drv.so file, I'm
guessing most of what ati_drv.so does is access and control the access
of radeon_drv, correct?

I wonder why there's no cutoff for the 3D functionality in the ATi
driver's man page. It just lists all supported cards without mention
of which have 3D implementations (try `man radeon`).

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


Re: ATi & Intel graphics

2008-08-13 Thread Jim
On Wed, Aug 13, 2008 at 3:25 PM, Steve Franks <[EMAIL PROTECTED]> wrote:
> I suppose it's naive to think that some tool like portupgrade could be
> bent to build all the depends with -m32 as well?  I guess you'd wind
> up with a bunch of things you didn't want as 32-bit (i.e. XOrg?) being
> re-installed as 32bit, right?  I don't suppose there's any
> infrastructure for simultaneously installing two versions of a port
> (one of the reasons BSD doesn't crash as much as win32, no doubt, and
> that we don't usually have .dll/.so hell)...still I might settle for a
> 32-bit X if I could have 64-bit disk & network still...
>
> Steve
>

Jail. I suspect I could build the base system plus X and copy
everything over to a jailed dir. Once there, I could set -m32 in the
CFLAGS and CXXFLAGS of the system make.conf. Build WINE in the jail,
add a /usr/local... bin32, lib32 and libexec32 to the main (non-jail)
part of the OS, and copy everything there. Then update the path and
libpath for my system... OK, not simple, but it'll be an interesting
experiment.

*Jeremy Clarkson* What could /possibly/ go wrong?

Not really had the issues you mentioned in Windows in the last few
years, but I still prefer FreeBSD - the KDE and Gnome user interfaces
(desktop management) are just much more efficient for getting work
done (for me anyway) than that of Windows, and I can have a lot more
control over my system.

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


Re: ATi & Intel graphics

2008-08-13 Thread Jim
On Wed, Aug 13, 2008 at 2:06 PM, John Nielsen <[EMAIL PROTECTED]> wrote:
> On Wednesday 13 August 2008, Jim wrote:
>> At some point fairly soon, I'll be rebuilding my computer, and I want
>> three things.
>>
>> 64 Bit for more memory, maybe a bit of performance boost as well -
>> it's mostly a multimedia machine
>> decent/good 3D acceleration (better than a GeForce 7300GS - a few
>> games in WINE in 1920x1080 - yes, believe it or not, the 7300GS
>> doesn't do /bad/ on many of the games, but it certainly could be
>> better).
>> FreeBSD.
>
> You may want to rethink this. The emulators/wine port is i386-only:
>
> %grep -i arch /usr/ports/emulators/wine/Makefile
> ONLY_FOR_ARCHS= i386
>

I was under the impression you could build it with -m32 set in CFLAGS
and CXXFLAGS and it worked fine.

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


ATi & Intel graphics

2008-08-13 Thread Jim
At some point fairly soon, I'll be rebuilding my computer, and I want
three things.

64 Bit for more memory, maybe a bit of performance boost as well -
it's mostly a multimedia machine
decent/good 3D acceleration (better than a GeForce 7300GS - a few
games in WINE in 1920x1080 - yes, believe it or not, the 7300GS
doesn't do /bad/ on many of the games, but it certainly could be
better).
FreeBSD.

I've used Solaris and Linux, and honestly, I'd rather go back to
Windows and use Cygwin for my *nix needs.
I'd rather use FreeBSD for the system than Windows.

64 Bit immediately knocks out the thoughts on using an nVidia card.

Has anyone had much experience with a 3600 series ATi card, it's the
best in the discreet-video category for my target price/performance,
but not listed in the man pages for the Radeon (non-HD) - only the
3400s and the 3800s). Aside from that, going for the really cheap end,
has anyone had much experience with the Intel 4500HD chipsets yet? I'm
lousy with other people's code (barely good with my own), but I could
test if needed, if/when I get the board.

Could anyone give me some of their experiences here? How are your
experiences with these pieces of hardware and their drivers in terms
of stability/reliability (in FreeBSD of course)? Are either of these
setups in a place where a tester would be needed/welcome?

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


terminology question - upgrading one port with another

2008-08-11 Thread Jim
I'm trying to update something (actually install KDE4), and In need to
make an 'update chain', but I can't remember the proper term. Namely I
have port found in 'foo/abc' (abc-12345) and want to replace it with
'var/xyz'. I know there are several ways to do this (one involving
entries in a file in etc?), but I cannot come up with the proper terms
to find what I'm looking for in a search?

Can anyone tell me a few terms that might help with this one? I've
tried compbinations of "port", "upgrade", "search" and "different",
but that (unsurprisingly) isn't getting anywhere.

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


reminder email notification utility

2008-08-05 Thread Jim Pazarena

Is there a utility available which can take a database of dates & events and 
email
out a reminder?

I know that I could create something using at, but seems to me that I saw a 
utility
already designed for this.

I have missed one too many birthdays
--
Jim Pazarena  [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


upgrade from MySQL 41 to MySQL 51 problems

2008-07-31 Thread Jim Pazarena

I de-installed mysql41-client / scripts / server from my FreeBSD 7.0 system, and
attempted to make and install MySQL51, and I have encountered the following 
error.

It appears that an empty field has defined mysql-client EVEN THO I have 
installed
mysql51-client without mishap.

Is there a fix for this?
Thanks!

Script started on Thu Jul 31 07:50:28 2008
server1# make
Unknown suffix '@' used for variable 'port' (value '@MYSQL_TCP_PORT@')
/usr/local/bin/mysql: Error while setting value '@MYSQL_TCP_PORT@' to 'port'
===>  mysql-scripts-5.1.26 cannot install: MySQL versions mismatch: 
mysql-client is installed and wanted version is mysql51-client.
*** Error code 1

Stop in /usr/ports/databases/mysql51-scripts.
Script done on Thu Jul 31 07:50:33 2008
--
Jim Pazarena  [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DNS troubles

2008-07-22 Thread Jim
On Mon, Jul 21, 2008 at 10:26 PM, Giorgos Keramidas
<[EMAIL PROTECTED]> wrote:
> On Mon, 21 Jul 2008 21:30:56 -0400, Jim <[EMAIL PROTECTED]> wrote:
>> I'm trying to get a machine working, but it can't seem to handle DNS
>> requests. I've just done a 7.0 install (from CD, usually I use net,
>> but it wasn't connecting to anything, now I know why).
>>
>> I have a machine with two built in NICs on the motheroboard, one using
>> nfe the other using bge. When I try to connect to anything, I get a
>> "cannot resolve host error". Both are set up to be static,
>> 192.168.1.84, and bge is 192.168.1.86. I have tried both "192.168.1.1"
>> (the router, which points to the ISPs DNS) and "4.2.2.1" in the
>> /etc/resolve.conf file, each separately, not both at once. The machine
>> can ping both of these addresses and gets a decent to rapid return
>> time (~.3ms for the former, <20ms for the latter) Neither works on
>> this machine. Both work on the other FreeBSD and Windows machines in
>> the house. I have the machine set to dual boot, and DNS works fine
>> under Windows.
>
> I hope you didn't create a "resolve.conf" file, because it is called
> "resolv.conf" without a final "e", i.e.:

indeed I did. I removed the 'e' and it works perfeclty. Amazing the
difference a byte can make. Still, I wonder why it wouldn't work
during install? I feel extremely silly at this point.


Anyway, anyone know how to turn off the typo daemon? I tried 'killall
-9 typod' and '/etc/rc.d/typod stop', but nothing seems to get rid of
it...

Thanks again for the help,
-Jim Stapleton
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


DNS troubles

2008-07-21 Thread Jim
I'm trying to get a machine working, but it can't seem to handle DNS
requests. I've just done a 7.0 install (from CD, usually I use net,
but it wasn't connecting to anything, now I know why).

I have a machine with two built in NICs on the motheroboard, one using
nfe the other using bge. When I try to connect to anything, I get a
"cannot resolve host error". Both are set up to be static,
192.168.1.84, and bge is 192.168.1.86. I have tried both "192.168.1.1"
(the router, which points to the ISPs DNS) and "4.2.2.1" in the
/etc/resolve.conf file, each separately, not both at once. The machine
can ping both of these addresses and gets a decent to rapid return
time (~.3ms for the former, <20ms for the latter) Neither works on
this machine. Both work on the other FreeBSD and Windows machines in
the house. I have the machine set to dual boot, and DNS works fine
under Windows.

I tried DHCP without an luck. The previous install on this machine just worked.

What I *SUSPECT* is the biggest clue (my guess, check an rc.d file, which?)
During boot up, after showing the network interfaces, until showing
the login prompt, the terminal gets spammed with "b: not found".

Up to this point:
-> I installed it once with a boot only CD and it worked fine, but
being absent minded, I reinstalled thinking it would be the
quickest/easiest way to fix an issue, and the install I had wasn't
really 'set-up' yet.
-> The DNS checker (bind?) wasn't working properly during the first
reinstall. Sadly, I found this out after reformatting the partitions.
-> I re-burned the CD with CD1 (not boot only), and tried again - DNS
still didn't work.
-> I installed from CD.

Process for current install:
-> I installed i386/7.0 from Install Disk 1, minimal install + dict,
man, info and doc
-> I set the root password during the install
-> I updated the /etc/ssh* files to the files from my old system (I
can ssh into the computer fine)
-> I copied over the rc.conf and modified the NIC and startup entries
(see below)
-> I added if_tap_load="YES" to /boot/loader.conf (this was AFTER the
DNS issues had started)
-> set the values in /etc/resolve.conf
-> I copied /etc/supfile-ports and /etc/supfile-src from the old
install. These are pretty boring supfiles for ports and src
respectively.
-> I added my non-root account (so I could ssh in)

That's it.

Any ideas? My suspicion is that my next step will be 'rebuild bind
from within /usr/src wherever it resides in there'. However, since it
wasn't working during install or now, I suspect that won't be enough.

Thanks,
-Jim Stapleton

/etc/resolve.conf

domain  var-dev.net
nameserver  4.2.2.1
nameserver  4.2.2.2
nameserver  4.2.2.3


/etc/rc.conf

hostname="elrond.var-dev.net"
ifconfig_bge0="inet 192.168.1.86 netmask 255.255.255.0"
#ifconfig_re0_alias0="192.168.1.85 netmask 255.255.255.255"
defaultrouter="192.168.1.1"

#for QEmu
ifconfig_nfe0="up polling"
autobridge_interfaces="bridge0"
autobridge_bridge0="tap0 nfe0"
cloned_interfaces="bridge0"
# the bridge gets the IP
#ifconfig_bridge0="inet 10.10.10.2 netmask 255.255.255.0"
ifconfig_bridge0="inet 192.168.1.84 netmask 255.255.255.0"
ifconfig_bridge0_alias0="192.168.1.85 netmask 255.255.255.0"

sshd_enable="YES"
usbd_enable="YES"
linux_enable="YES"
#ntpdate_enable="YES"
ntpd_enable="YES"
#cupsd_enable="YES"
#moused_enable="YES"

#for beryl and hardware autodetect stuff
#compat5_enable="YES"
#dbus_enable="YES"
#polkitd_enable="YES"
#hald_enable="YES"
#gdm_enable="YES"
bsdstats_enable="YES"

# -- sysinstall generated deltas -- # Tue Mar 25 08:22:19 2008
keymap="us.iso"

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


freebsd library loading question

2008-07-18 Thread Jim
I'm hoping this is the right place to ask: I'm working on something in
FreeBSD 7.0 (i386) and GCC:

I'm getting the following error when executing a program:
  dlerror -> Invalid shared object handle 0x0

the full context is:
  DEBUG: ../include/ctypeless_dyn_unix.h(00310) ->Loading library:
ctypeless.so
  Error loading ctypeless library: -1
dlerror -> Invalid shared object handle 0x0

which comes from the lines:
  int ret = 0;
  if(!dlname)
dlname = "ctypeless.so";
  CT_DEBUG1("Loading library: %s\n\n", dlname);
  void *dlhandle = dlopen(dlname, RTLD_NOW | RTLD_GLOBAL);
  if(dlerror())
  {
printf("Error loading ctypeless library: %d\n  dlerror -> %s\n",
test, dlerror());
return -1;
  }


Am I correct in assuming this is because the program is not finding
the library? I tried putting the ctypeless.so library in
/usr/local/lib, but that did not fix the issue.

Any suggestions on what I'm doing wrong (or a better place to ask)?

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


Re: filesystem information

2008-07-01 Thread Jim
> Just a thought, but in normal circumstances files *are* written to,
> even when they are just being read: the access time is updated (unless
> you mount the fs with the noatime flag).
>

quite true, but isn't that file metadata and not the actual file? I
thought most filesystems had a file-entry section, with all the
metadata, permissions, etc, and a file data section, which contains
the information of the actual file.

I guess I wouldn't be surprised if the metadata being edited were
corrupted, but to corrupt the file data/location seems odd to me.
Especially with soft updates; unless I'm mistaken, that's what it is
supposed to minimise.
-Jim
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: filesystem information

2008-06-30 Thread Jim
> If the files themselves are disappearing, then it could be the directory
> entry that's getting corrupted.

The files are there, but their content is corrupted.

> Even if you're
> not doing it directly, is your mp3 software writing temp or other
> status files to that directory?  If you're curious, you could run your
> mp3 software under ktrace and then grep the output for file creation
> and removal syscalls.

OK. The files are actually FLAC, and I use XMMS. I assume I trace XMMS
and not the FLAC library? I'll try when I get home. Thanks

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


Re: filesystem information

2008-06-30 Thread Jim
> In case of frequent power outages, I guess the right answer is "get a
> UPS". :)

Aye, I just got one. But for the longest time, it was a bit out of my
price range due to other priorities. Actually, the whole model line
was defective, so they are sending me a new one, and I have to wait
for it to arrive.

> Without a UPS nothing can protect you against power outages. Even when
> running the filesystem with the sync flag and setting ATA devices to
> write-through the cache cannot guarantee you won't lose data. If the
> power fails when a write is in progress, you're screwed.

I'm aware of nothing but a UPS can completely protect me from an
outage. I was just wondering why that ONE file system was misbehaving,
and the rest are prefectly fine - which seemed odd. Additionally, why
were files that are read, but not written, being lost? I can
understand losing files that are being written, but if there's a file
that has bene written several restarts ago, not written to thereafter,
and has been fine ever since, why is it being lost now?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: filesystem information

2008-06-30 Thread Jim
On Mon, Jun 30, 2008 at 7:30 AM, Bill Moran <[EMAIL PROTECTED]> wrote:
> In response to Jim <[EMAIL PROTECTED]>:
>
>> I have a computer that is in a situation where it is losing power
>> occasionally. All but one of the filesystems are going along fine.
>> Once file system seems to lose data on a power outage. Even if it only
>> reads a file, and doesn't write it, it may still lose a file (ex,
>> about half the audio files on my xmms playlist, a couple data files in
>> my wine directory that, to my knowledge, are unlikely to be written
>> after they are first installed).
>>
>> What I'd like to do is get an output of the flags and options on my
>> filesystems to see what is different between that filesystem and the
>> others. Any suggestion on how to do that? This particular FS has
>> lasted through several rebuilds since it doesn't hold OS critical
>> stuff, just data files.
>
> tunefs -p and/or dumpfs -m
>
>> Any suggestions?
>
> Sounds like you're on the right track with hunting this down.  Perhaps
> turn softupdates off and mount the filesystem sync if you're seeing
> lots of power outages.
>
> --
> Bill Moran
> http://www.potentialtech.com
>

Thanks, it looks like the 'good' filesystems have softupdates off
(except one), and the one the broke has it off. I thought softupdates
were supposed to fix this? Is gjournal a better solution? Is 'just use
neither' a better solution? Any reference material on the subject
would be appreciated (I'm about to use google now).

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


filesystem information

2008-06-30 Thread Jim
I have a computer that is in a situation where it is losing power
occasionally. All but one of the filesystems are going along fine.
Once file system seems to lose data on a power outage. Even if it only
reads a file, and doesn't write it, it may still lose a file (ex,
about half the audio files on my xmms playlist, a couple data files in
my wine directory that, to my knowledge, are unlikely to be written
after they are first installed).

What I'd like to do is get an output of the flags and options on my
filesystems to see what is different between that filesystem and the
others. Any suggestion on how to do that? This particular FS has
lasted through several rebuilds since it doesn't hold OS critical
stuff, just data files.

Also, to fix the problem, I have to delete the problematic files, and
then copy them over from backup or another computer. If I simply copy
them, for some reason the problem persists.

I don't think it's a bad disk, because all of the filesystems are on
the same disk, and this is the only one acting strange.

Any suggestions?

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


gcc cross compiling for CRIS

2008-06-27 Thread Jim Pazarena

The options available for cross compiling a CRIS binary
within gcc do not seem to work.

Is it possible that the base gcc doesn't have cross-compiling
built in?
--
Jim Pazarena  [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Best solution - mobile wifi hotspot

2008-06-05 Thread Jim Stapleton
On Fri, May 30, 2008 at 1:52 PM, Chris Whitehouse <[EMAIL PROTECTED]> wrote:
> Jim Stapleton wrote:
>>
>> My dad makes instruments and goes to a lot of festivals. They are
>> typically in the middle of nowhere, without internet. Many vendors
>> still bring notebooks as they provide quick & easy access to many
>> things, but there is no internet. For credit cards, many use their
>> cell phones to make the transaction. My dad wants to get a satellite
>> connection (pure sattelite, no phone), and set up something to offer a
>> wireless hotspot.
>> - Some shows will just pay a flat fee, and have the hotspot open.
>> - Some shows won't pay a fee, and so he'll want to charge to recover
>> some of the cost.
>>
>> For the open hotspots, a simple wireless router will do. For the
>> charge hotspots, we'd want something a little more flexible. My first
>> thought was 'FreeBSD can do that!'. The trick is that we will be using
>> battery power most of the time. Low power is the key. I'm thinknig
>> sub-20W max power drain worst case, SUB 10-15W is ideal.
>>
>>
>> With that background info, my questions are:
>> 1) Is building a low power computer based on FreeBSD the right way to
>> go? Or would you all recommend something else? What?
>> 2) Does anyone have experience with the GeodeNX or VIA C7 boards
>> available on NewEgg? Heads ups and pointers?
>> 3) Does anyone have experiences with these and a given wireless
>> adaptor, How good/bad is/was it?
>>
>> Thanks,
>> -Jim Stapleton
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "[EMAIL PROTECTED]"
>>
>
> This particular wheel has already been invented several ways :)
>
> http://psand.net/
>
> https://en.wiki.aktivix.org/SquatTelecoms

Well, my dad wants to provide something for cheaper than hiring a
third-party vendor to come out into the middle of nowhere and do this
(amongst other things, since he's out there, he doesn't have to use
hundreds of miles of gas + extra man hours).

As for the second, that seems to be 'how to get an ISP', which he
already has researched, he is more looking to /be/ the ISP.

> To keep power down you probably want to opt for a dedicated wireless router
> box not a computer (unless you are also saving bandwidth with squid etc).
> And to generate electricity use wind or solar.

Do you know of a wireless router that can provide individual user
authentication, without requiring a complex setup? Some places may not
want to pay for the internet connection, so he'll need to 'rent out'
connection bandwidth to other vendors.

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


Best solution - mobile wifi hotspot

2008-05-30 Thread Jim Stapleton
My dad makes instruments and goes to a lot of festivals. They are
typically in the middle of nowhere, without internet. Many vendors
still bring notebooks as they provide quick & easy access to many
things, but there is no internet. For credit cards, many use their
cell phones to make the transaction. My dad wants to get a satellite
connection (pure sattelite, no phone), and set up something to offer a
wireless hotspot.
- Some shows will just pay a flat fee, and have the hotspot open.
- Some shows won't pay a fee, and so he'll want to charge to recover
some of the cost.

For the open hotspots, a simple wireless router will do. For the
charge hotspots, we'd want something a little more flexible. My first
thought was 'FreeBSD can do that!'. The trick is that we will be using
battery power most of the time. Low power is the key. I'm thinknig
sub-20W max power drain worst case, SUB 10-15W is ideal.


With that background info, my questions are:
1) Is building a low power computer based on FreeBSD the right way to
go? Or would you all recommend something else? What?
2) Does anyone have experience with the GeodeNX or VIA C7 boards
available on NewEgg? Heads ups and pointers?
3) Does anyone have experiences with these and a given wireless
adaptor, How good/bad is/was it?

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


Re: periodic freeze and reset

2008-05-18 Thread Jim Capozzoli
On Mon, Sep 3, 2007 at 6:52 PM, Ghirai <[EMAIL PROTECTED]> wrote:
> Hello list,
>
> My desktop running 6.2-STABLE is freezing then resetting shortly after.
> This behaviour happens every couple hours, for no apparent reason.
>
> I checked messages, etc, there's nothing there.
>
> This is getting annoying... :/
>
> I'd appreciate any hints/where to look/what to look for.
>
> Thanks.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
Maybe the problem isn't freebsd but your hardware.  How long have you
been running 6.2-stable?  How long ago did this start occurring?  Is
it i386, amd64?  Maybe you have bad memory.  And as a good user, I'd
probably have to suggest that you upgrade to freebsd 7-release at
least.


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


Re: is my eyesight THAT bad?!

2008-04-25 Thread Jim Stapleton
>  Ah-Ha! *that's* what those funny green lines in my docs are. I
>  couldn't figure out what they were doing there. Thanks for solving
>  that little mystery for me.

MS Word, and I think Open Office do the same thing. Not sure about
other word processors. I figured that was the standard notation.

Yeah, yeah, standard and a MS or Sun product, I know, silly me.

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


RE: is my eyesight THAT bad?!

2008-04-24 Thread Jim Stapleton
> People,

Cats!

> I've installed everything-abiword i canbut don't see the
> grammar-checker.  Can anybody clue me in?  (failing eyesight, but not
> that bad *hopefully*)

I couldn't find a button/menu to perform a grammar check of a document
either. However, after installing the abiword-plugins port (grammar
was not turned on by default), a 'check grammar as you type' showed up
in the edit->preferences window. "I don't know to how check grammar",
had a green line under 'how' when I was done. That was the closest I
could find.

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


Re: QEMU networking quirkiness on 7.0

2008-04-24 Thread Jim Stapleton
On Thu, Apr 17, 2008 at 1:40 PM, Mario Lobo <[EMAIL PROTECTED]> wrote:
> On Thursday 17 April 2008, Jim Stapleton wrote:
>  > Sorry for the delayed reply, I didn't see this sent.
>  >
>  > On Thursday 10 April 2008 22:01:32 Mario Lobo wrote
>  >
>  > > I have a virtual Linux (Fedora 5) and winedows (XP) machines in QEMU and
>  > > they are both network functional. I use qemu-launch because it does
>  > > everything you need to create a virtual machine. Here are my pertinent
>  > > configs:
>  > >
>  > > 
>  > > 1) # rc.conf
>  > >
>  > > ifconfig_re0="up polling"   <- no IP here !
>  > > autobridge_interfaces="bridge0"
>  > > autobridge_bridge0="tap0 re0" <- important even if tap0 does not
>  > > exist yet cloned_interfaces="bridge0"
>  > > # the bridge gets the IP
>  > > ifconfig_bridge0="inet 10.10.10.2 netmask 255.255.255.0"
>  >
>  > To verify, the 10.10.10.2 is the IP that everyone sees my host as on
>  > the network, correct? That's the IP that used to be set on re0?
>
>  exactly !
>
>
>  >
>  > > 2) tell QEMU launch to open a tap device
>  >
>  > Open a TUN/TAP interface in the network interface configuration
>
>  yes
>
>
>  >
>  > > 3) tap up script to run when invoking the machine(s).
>  > >
>  > > # qemu-net
>  > >
>  > > #!/usr/local/bin/bash
>  > > $1 = tap ifac created
>  > > /sbin/ifconfig $1 up
>  > > # test if tap is already added
>  > > TEST=`ifconfig -a | grep -A 6 bridge | grep $1`
>  > > if [ "$TEST" == "" ]; then
>  > >/sbin/ifconfig bridge0 addm $1
>  > > fi
>  > > # add a route to the virtual machine
>  > > /sbin/route add -host 10.10.10.100 -iface bridge0
>  >
>  > This is the tun/tap configuration script, the IP on the last line is
>  > the IP I want the guest to look like to the network (i.e.
>  > 192.168.1.85)?
>
>  correct ! You will configure the guest's network interface with this IP.
>
>
>  >
>  >
>  > Thanks, I'll play with this more when I get home (I don't want to mess
>  > with my machine's network configuration while I've only got network
>  > access).
>  >
>
>  This worked so fine fine for me that I left the bridge as my main interface
>  for good. Even if QEMU is not up.  It works just as well as re0 itself.
>
>  >
>  > Thanks,
>  > -Jim Stapleton
>  > ___
>  > freebsd-questions@freebsd.org mailing list
>  > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>  > To unsubscribe, send any mail to
>  > "[EMAIL PROTECTED]"
>
>  You're welcome !


OK, I finally got to test it last night. It almost worked. I ran it
from the console, and it spit out the command line. Something on the
command line looked obviously off to me (I think it was the iface=
part of the network section), anyway, I copied & pasted it, added the
tap0 reference, and it works perfectly.

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


  1   2   3   4   5   6   7   8   >