PMAP_SHPGPERPROC

2006-12-30 Thread Ian Moore
Hi,
Since I upgraded to KDE 3.5.5 the other day, I've been getting the following 
messages after KDE starts:
kernel: collecting pv entries -- suggest increasing PMAP_SHPGPERPROC
I've noticed the system seems a bit unstable, it often locks up when KDE 
starts and I guess that is the reason for the instability.
I did a bit of hunting on the mailing list archives, but could only come up 
with one question that didn't shed much light on the matter. Does anyone know 
what I should do to increase PMAP_SHPGPERPROC?

I'm running 5.5-RELEASEp9 on i386.
Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpevOQRJz1s5.pgp
Description: PGP signature


Re: Cups USB workaround was working but now fails

2006-08-06 Thread Ian Moore
On Sunday 06 August 2006 02:50, Apatewna wrote:
> O/H Ian Moore έγραψε:
> > It seems that cups now won't recognise the file: setting, yet previously
> > it did. I checked back through my logs to see if a newer cups port had
> > come out & I'd inadvertently upgraded to it, but it seems that's not the
> > case - it's still 1.2.0
> > Using the usb: URI always gives the same result - the job starts printing
> > but stops after about 12% and won't go any further.
> >
> > Any ideas as to why my cups no longer accepts the file: URI?
> > I'm running FreeBSD 5.11-Release-p2 and my printer is an Epson Stylus C61
> > on a USB port.
> >
> > Cheers,
>
> I just checked http://www.cups.org/articles.php?L397 and CUPS is at
> 1.2.2 already.
> I also remember a major problem with 1.2.0. See these threads :
>
> http://forums.pcbsd.org/viewtopic.php?t=4173&highlight=cups
> http://www.bsdforums.org/forums/showthread.php?t=42391
>
> I remember that the severity of the bug was so great that the 1.2.1
> update was in the ports in a week or so.
> I'm not in front of a BSD machine to be sure, but have you upgraded
> your ports lately? Cups 1.2.1 should at least be there.
>
> Also, I don't think you are running FreeBSD 5.11-Release-p2 yet! :)

:-) Oops - that's what happens when I send emails late at night - It's 5.5-p2.

As someone mentioned below, 1.2.0 has been the latest version of CUPS in 
ports, but I'll try the new commit that was made today and see how things go!

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpFSNUiUBZZZ.pgp
Description: PGP signature


Cups USB workaround was working but now fails

2006-08-05 Thread Ian Moore
Hi,
When CUPS 1.2.0 came out, I had the same problem as others with port 
permissions and the USB backend, so I changed my usb device permissions:
crw-rw-rw-  1 root  cups  227,   0 Aug  5 22:36 /dev/ulpt0
crw-rw-rw-  1 root  cups  227,  64 Aug  5 22:39 /dev/unlpt0

I also edited printers.conf and changed the URI from usb: to file: and I was 
able to print without any trouble.

Today, I tried to print something and my printer printed a small amount of the 
page and then just hung with it's power/status light flashing. CUPS reported 
the printer was printing. 

After trying to get it going, I checked printers.conf and found the URI line 
was set back to usb:, so I changed it to file: again restarted cupsd, but it 
wouldn't start.
Looking at the error log, I see:

d [05/Aug/2006:23:18:42 +0930] start_job: filterfds[1]=[ 17 20 ]
d [05/Aug/2006:23:18:42 +0930] 
cupsdStartProcess("/usr/local/libexec/cups/filter/pstoraster", 0x80e1b60, 
0xbfbef790, 18, 20, 16)
d [05/Aug/2006:23:18:42 +0930] start_job: Closing filter pipes for slot 0 [ 18 
19 ]...
I [05/Aug/2006:23:18:42 +0930] Started 
filter /usr/local/libexec/cups/filter/pstoraster (PID 5358) for job 18.
E [05/Aug/2006:23:18:42 +0930] Unable to open output file "file:/dev/unlpt0" - 
Device not configured.
D [05/Aug/2006:23:18:42 +0930] Discarding unused job-completed event...
d [05/Aug/2006:23:18:42 +0930] start_job: Closing filter pipes for slot 0 
[ -1 -1 ]...
d [05/Aug/2006:23:18:42 +0930] start_job: Closing filter pipes for slot 1 [ 17 
20 ]...
d [05/Aug/2006:23:18:42 +0930] start_job: Closing status pipes [ 15 16 ]...
d [05/Aug/2006:23:18:42 +0930] cupsdStopJob: id = 18, force = 0
D [05/Aug/2006:23:18:42 +0930] Discarding unused printer-state-changed 
event...
d [05/Aug/2006:23:18:42 +0930] cupsdStopJob: printer state is 3
d [05/Aug/2006:23:18:42 +0930] cupsdStopJob: Closing print pipes [ -1 -1 ]...
d [05/Aug/2006:23:18:42 +0930] cupsdStopJob: Closing back pipes [ 13 14 ]...
d [05/Aug/2006:23:18:42 +0930] cupsdStopJob: Removing fd 15 from InputSet...
d [05/Aug/2006:23:18:42 +0930] cupsdStopJob: Closing status pipes [ -1 -1 ]...

It seems that cups now won't recognise the file: setting, yet previously it 
did. I checked back through my logs to see if a newer cups port had come out 
& I'd inadvertently upgraded to it, but it seems that's not the case - it's 
still 1.2.0
Using the usb: URI always gives the same result - the job starts printing but 
stops after about 12% and won't go any further.

Any ideas as to why my cups no longer accepts the file: URI?
I'm running FreeBSD 5.11-Release-p2 and my printer is an Epson Stylus C61 on a 
USB port.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpnVDB83Jb0H.pgp
Description: PGP signature


Re: Possible to go from 5.5 to 5.4?

2006-06-17 Thread Ian Moore
On Sunday 18 June 2006 08:37, Tuc at T-B-O-H.NET wrote:
>   Complete recompile of X, and anything supporting X, as
> well as nvidia driver and reboot
>
>
>   Still happening..

Have you done portupgrade -fr libglut\* ?
If it still won't work, a portupgrade -fa is an option I guess.


pgpVFw6b7SfMi.pgp
Description: PGP signature


Re: Possible to go from 5.5 to 5.4?

2006-06-16 Thread Ian Moore
On Saturday 17 June 2006 07:04, Tuc at T-B-O-H.NET wrote:
> > On Fri, Jun 16, 2006 at 05:08:30PM -0400, Scott Tuc Ellentuch at T-B-O-H 
wrote:
> > > 6) portupgrade -Ri of anything that was xorg*, nvidia*
> >
> > If you didn't use -f for nvidia-driver then it may not have rebuilt.
>
>   Well, my nvidia-driver was out of date as is. So I didn't
> need to do an "-f". Same with alot of my xorg*. I probably should
> have been smarter (TOO LATE!!) to upgrade my nvidia first, run for
> a while THEN go to 5.5 .
>
>   So it did get rebuilt. And when I portdowngraded and then
> portupgraded -f'd it, (I did mention that, right?) it would have
> re-installed it anyway.

Are you running an opengl screensaver? If so, I'd suspect it's opengl that's 
causing the problem.
I do the following in such cases:
portupgrade -f nvidia-driver\* xorgclients\* 
portupgrade -fr libglut\*

A portupgrade -f xorg\* wouldn't go astray either!

Cheers,
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpBC5suZWLTM.pgp
Description: PGP signature


Re: GUI mail client recommendations ...

2006-05-06 Thread Ian Moore
On Sunday 07 May 2006 09:10, Marc G. Fournier wrote:
> I've been using pine *forever* now and am finding it really hard to find a
> good GUI to replace it :(  Tried kmail, didn't like it ...
>
> Off the top of my head, the only thing(s) it needs to do is:
>
> multiple identities
> IMAP
> PGP
>
> As much as I hate admitting doing things under Windows, I have used Eudora
> in the past and like its interface, but, alas, there is no Eudora for Unix
>

I use kmail (part of kde) which is also very nice and will do all the above.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgp1i909akkzc.pgp
Description: PGP signature


Re: video players broken

2006-05-06 Thread Ian Moore
On Tuesday 02 May 2006 07:50, Brian John wrote:
> Gerard Seibert wrote:
> > Kris Kennaway wrote:
> >> On Thu, Apr 27, 2006 at 09:22:45PM -0500, Brian John wrote:
> >>> Kris Kennaway wrote:
>  On Thu, Apr 27, 2006 at 08:59:42PM -0500, Brian John wrote:
> > Hi, I just upgraded my ports and now all of my video players either
> > won't install, or they won't start up.  I've tried 4 different ones,
> > here is what happens with each:
> >
> > vlc: won't install
> > /usr/local/lib/libmatroska.so: undefined reference to
> > `libebml::CodedSizeLength(unsigned long long, unsigned int)'
> > gmake[2]: *** [vlc] Error 1
> > gmake[2]: Leaving directory
> > `/usr/ports/multimedia/vlc/work/vlc-0.8.4a' gmake[1]: ***
> > [all-recursive] Error 1
> > gmake[1]: Leaving directory
> > `/usr/ports/multimedia/vlc/work/vlc-0.8.4a' gmake: *** [all] Error 2
> > *** Error code 2
> >
> > totem: won't start up
> > [EMAIL PROTECTED] /usr/ports/multimedia/totem]$ totem &
> > [1] 8150
> > [EMAIL PROTECTED] /usr/ports/multimedia/totem]$ /libexec/ld-elf.so.1:
> > Shared object "libglib-2.0.so.600" not found, required by
> > "libgnome-keyring.so.0"
> >
> > xine: this one starts up, but then closes right away, with no error
> >
> > mplayer: won't install, get several errors similar to this
> > /usr/X11R6/lib/libxmms.so: undefined reference to
> > `gtk_widget_get_type' /usr/X11R6/lib/libxmms.so: undefined reference
> > to `gtk_vbox_new' gmake: *** [mencoder] Error 1
> > *** Error code 2
> >
> > Can someone please help me out?
> 
>  You didn't upgrade your ports completely; you have an inconsistent mix
>  of old and new libraries on your system.  portupgrade -a, or if that
>  fails, portupgrade -fa.
> 
>  Kris
> >>>
> >>> I was using portmanager to upgrade.  I've always used this before and
> >>> it's worked fine.  I just type portmanager -u.  Does that not work
> >>> anymore?
> >>
> >> No idea, I don't use portmanager.
> >>
> >> Kris
> >
> > Assuming you have an updated ports collection, it should work fine It
> > does on my system.
> >
> > I would recommend that you update your ports again and then run
> > 'portmanager -u -f -y -l' and see if that fixes the problem. At the very
> > least, a log file will  be created '/var/log/portmanager.log' that might
> > help track down the problem.
> >
> > HTH
>
> Hi, thanks for the advice.  I tried that command and it's been updating
> for a couple of days (takes so long because of the prompts that come up
> that stop the installs).  Anyway, now portmanager always gets to a
> certain point and my computer reboots.  I looked in the logfile and
> there isn't much there, this is at the end of the file:
> Sun Apr 30 16:36:17 2006
>  kdelibs-3.4.2_1 /x11/kdelibs3
> OLD
> kdelibs-3.5.2_1 /x11/kdelibs3
>
> Any idea what could be causing this?
>
> Thanks again for the help
>
> /Brian

I'm no expert, but I wonder if doing what it says in /usr/ports/UPDATING entry 
20060108 might help:

  AFFECTS: users of x11/kdelibs3, x11/kdebase3, deskutils/superkaramba,
x11-themes/kde-windeco-smoothblend, irc/kvirc,
editors/vimpart
  AUTHOR: [EMAIL PROTECTED]

  A number of files have been moved from kdebase to kdelibs between
  KDE 3.4.3 and KDE 3.5.0 and some applications which used to be
  distributed separately from KDE have been included in the release.

  This means that you will have to take some precautions in order to
  update your KDE installation without interruptions.

  We recommend sticking to the following procedure. This procedure requires
   you to have sysutils/portupgrade installed and to be the superuser (or
   using sudo)
.

  1.) Delete installed packages which conflict with the updated KDE
  ports.

pkg_deinstall -f kdebase-\[0-9\]\* superkaramba-\[0-9\]\* \
kde-windeco-smoothblend-\[0-9]\* kvirc-\[0-9\]\* \
kdeaddons-vimpart-\[0-9\]\*

  2.) Now update the remaining KDE ports.

portupgrade -O arts\* kde\* \*kde-i18n\*

  or, if you want to update KDE along with other updated ports:

portupgrade -a

  3.) Reinstall the KDE ports you deleted in step 1.

portinstall -O kdebase

  Superkaramba is now included in misc/kdeutils3.

  The smoothblend window decoration is now included in x11-themes/kdeartwork3.

  Vimpart is being discontinued and no longer part of KDE.
  
KNOWN ISSUES:
  =

  Just like KDE 3.4, KDE 3.5 does not play nice with openssl-0.9.8. In
  particular it breaks kwallet, some of the SSL handling in konqueror and
  SSL/TLS support in kmail/kontact.

  If you're using the openssl ports rather than the base-system openssl,
  make sure to use security/openssl-stable.

  You can put WITH_OPENSSL_STABLE=yes into /etc/make.conf to automatically
  make ports depend on that rather than on security/open

Re: A portupgrade question

2006-04-24 Thread Ian Moore
On Monday 24 April 2006 23:56, Matthew Seaman wrote:
> Ian Moore wrote:
> > Hi, I've got a question about portupgrade and something that's happened
> > with it a couple of times now. The last 2 times libgda has been upgraded,
> > I've run portupgrade -a to upgrade a bunch of ports, including libgda.
> >
> > The libgda upgrade has caused a re-install of  mysql-client-4, but when
> > portupgrade has tried to install mysql-client, it's failed because
> > mysql-client is already installed.
> >
> > The workaround for this is simple enough, delete mysql-client and then
> > run portupgrade again, but I'm wondering why this situation occurs -
> > portupgrade should see that mysql-client is already installed and not try
> > to install it again (or if it needs upgrading, it should deinstall the
> > old version and build & install the new version).
> >
> > /etc/ports/UPDATING doesn't seem to help, there's no mention of either
> > port in it.
>
> The reason the ports system can't detect that you've already got
> mysql-client software installed is because you haven't got
> libmysqlclient.so in your loader cache.  Try this command -- you should get
> similar output:
>
> lack-of-gravitas:~:% ldconfig -r | grep mysqlclient
> 441:-lmysqlclient_r.14 =>
> /usr/local/lib/mysql/libmysqlclient_r.so.14 442:-lmysqlclient.14 =>
> /usr/local/lib/mysql/libmysqlclient.so.14

Nope, I get no output at all!
>
> ldconfig(8) needs to be told to scan /usr/local/lib/mysql for shared
> libraries, as that's not one of the default directories.  This is generally
> handled through the ldconfig_compat port which installs precisely one file:
>
> sisyphus:~:% pkg_info -L ldconfig_compat-1.0_7
> Information for ldconfig_compat-1.0_7:
>
> Files:
> //etc/rc.d/ldconfig_compat
>

Yes, that's what my system shows.

> although you can also add /usr/local/lib/mysql to the set of stuff scanned
> by ldconfig by modifying variables in /etc/rc.conf (but that's the old and
> unfashionable way of doing this...).  Re-installing that port and running
>
> /etc/rc.d/ldconfig_compat start
>
> should sort out the problem you're seeing.

Yes, that sorted things out - libgda installed without trying to re-install 
mysql40-client this time.
>
> Note that mergemaster(1) will ask you to delete that file because it's in
> /etc/rc.d and it's  not one of the one installed by the system.  You should
> resist the suggestion to do that, or put up with various MySQL (and certain
> other port) related things not working in the way you might expect.

I'll remember that one.
>
> Note too: this is system version number dependant -- recent 6.1-STABLE or
> above will have the ldconfig_compat script installed in /usr/local/etc/rc.d

So to sum up, it's a problem with the way the ports system detects wether the 
mysql-client port is installed that caused the problem (I thought it just 
used the ports database), and/or it's a problem with the mysql-client port 
not registering libmysqlclient.so ?

Thanks for your help in sorting that out, I knew it was something more than 
just not using the recursion switches with portupgrade.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpu7JjmqUBDX.pgp
Description: PGP signature


Re: A portupgrade question

2006-04-24 Thread Ian Moore
On Monday 24 April 2006 22:38, Kevin Kinsey wrote:
> Ian Moore wrote:
> >Yes, that would fix the problem, but I'm just curious about what causes
> > the problem in the first place, given that portupgrade rarely seems to
> > have these kind of problems.
> >
> >Cheers,
>
> ls -l /var/db/pkg/mysql-client*??

total 28
-rw-r--r--  1 root  wheel36B Feb 26 09:08 +COMMENT
-rw-r--r--  1 root  wheel   4.0K Apr 23 09:39 +CONTENTS
-rw-r--r--  1 root  wheel   167B Feb 26 09:08 +DESC
-r--r--r--  1 root  wheel15K Feb 26 09:08 +MTREE_DIRS
-rw-r--r--  1 root  wheel57B Apr 23 23:50 +REQUIRED_BY

-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpggKDD0WYNd.pgp
Description: PGP signature


Re: A portupgrade question

2006-04-24 Thread Ian Moore
On Monday 24 April 2006 21:20, Richard Collyer wrote:
> On Mon, April 24, 2006 12:16 pm, Ian Moore wrote:
> >> Hi, I've got a question about portupgrade and something that's happened
> >> with it a couple of times now. The last 2 times libgda has been
> >> upgraded,
> >> I've run portupgrade -a to upgrade a bunch of ports, including libgda.
> >>
> >>  
>
> I always use portupgrade -aR to make sure dependencies are done. However
> with mysql I find that portupgrade is not the best.
>
> Personally I would update ports tree (cvsup), cd to mysql ports directory,
> make clean && make && make deinstall && make reinstall
>
> Never had a problem doing it that way.

Yes, that would fix the problem, but I'm just curious about what causes the 
problem in the first place, given that portupgrade rarely seems to have these 
kind of problems.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpxZwzPaKJ9q.pgp
Description: PGP signature


Re: A portupgrade question

2006-04-24 Thread Ian Moore
On Monday 24 April 2006 20:43, Ian Moore wrote:
> Hi, I've got a question about portupgrade and something that's happened
> with it a couple of times now. The last 2 times libgda has been upgraded,
> I've run portupgrade -a to upgrade a bunch of ports, including libgda.
>
Sorry, I forgot to add the output of the portupgrade sessions:

The first time it happened:
--->  Upgrading 'libgda2-1.9.100_2' to 'libgda3-1.9.102' (databases/libgda3)
--->  Building '/usr/ports/databases/libgda3'
===>  Cleaning for gmake-3.80_2
===>  Cleaning for intltool-0.34.2
===>  Cleaning for pkgconfig-0.20
===>  Cleaning for popt-1.7_1
===>  Cleaning for gettext-0.14.5_2
===>  Cleaning for mysql-client-4.0.26_1
===>  Cleaning for glib-2.8.6_1
===>  Cleaning for libxml2-2.6.23_1
===>  Cleaning for libxslt-1.1.15_1
===>  Cleaning for xorg-libraries-6.9.0
===>  Cleaning for gnomehier-2.0_7
===>  Cleaning for perl-5.8.8
===>  Cleaning for p5-XML-Parser-2.34_2
===>  Cleaning for libiconv-1.9.2_2
===>  Cleaning for libtool-1.5.22_2
===>  Cleaning for ldconfig_compat-1.0_6
===>  Cleaning for libgcrypt-1.2.2
===>  Cleaning for imake-6.9.0
===>  Cleaning for libdrm-2.0_1
===>  Cleaning for freetype2-2.1.10_3
===>  Cleaning for fontconfig-2.3.2_3,1
===>  Cleaning for expat-2.0.0_1
===>  Cleaning for libgpg-error-1.1
===>  Cleaning for libgda3-1.9.102
You can enable support for LDAP databases by defining WITH_LDAP.
You can enable support for TDS databases by defining WITH_FREETDS.
You can enable support for Sybase databases by defining WITH_SYBASE.
You can enable support for MDB databases by defining WITH_MDB.
You can enable support for ODBC databases by defining WITH_ODBC.
You can enable support for SQLITE databases by defining WITH_SQLITE.
===>  Extracting for libgda3-1.9.102
=> MD5 Checksum OK for gnome2/libgda-1.9.102.tar.bz2.
===>  Patching for libgda3-1.9.102
===>  Applying FreeBSD patches for libgda3-1.9.102
===>   libgda3-1.9.102 depends on executable: gmake - found
===>   libgda3-1.9.102 depends on file: /usr/local/bin/intltool-extract - 
found
===>   libgda3-1.9.102 depends on executable: pkg-config - found
===>   libgda3-1.9.102 depends on shared library: popt.0 - found
===>   libgda3-1.9.102 depends on shared library: intl - found
===>   libgda3-1.9.102 depends on shared library: mysqlclient.12 - not found
===>Verifying install for mysqlclient.12 
in /usr/ports/databases/mysql40-client
===>  Extracting for mysql-client-4.0.26_1
=> MD5 Checksum OK for mysql-4.0.26.tar.gz.
===>  Patching for mysql-client-4.0.26_1
===>  Applying FreeBSD patches for mysql-client-4.0.26_1
===>   mysql-client-4.0.26_1 depends on file: /usr/local/bin/libtool - found
===>  Configuring for mysql-client-4.0.26_1
checking build system type... i386-portbld-freebsd5.4
checking host system type... i386-portbld-freebsd5.4



/bin/mv mysqlshow.1-t mysqlshow.1
===>  Installing for mysql-client-4.0.26_1
===>   mysql-client-4.0.26_1 depends on file: /usr/local/libdata/ldconfig - 
found
===>   Generating temporary packing list
===>  Checking if databases/mysql40-client already installed
===>   mysql-client-4.0.26_1 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 databases/mysql40-client
  without deleting it first, set the variable "FORCE_PKG_REGISTER"
  in your environment or the "make install" command line.
*** Error code 1


And the second time (sorry, I only have the last part)
/bin/mv mysqlshow.1-t mysqlshow.1
===>  Installing for mysql-client-4.0.26_1
===>   mysql-client-4.0.26_1 depends on file: /usr/local/libdata/ldconfig - 
foun
d
===>   Generating temporary packing list
===>  Checking if databases/mysql40-client already installed
===>   mysql-client-4.0.26_1 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 databases/mysql40-client
  without deleting it first, set the variable "FORCE_PKG_REGISTER"
  in your environment or the "make install" command line.

-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgp8fdpUwrPMz.pgp
Description: PGP signature


A portupgrade question

2006-04-24 Thread Ian Moore
Hi, I've got a question about portupgrade and something that's happened with 
it a couple of times now. The last 2 times libgda has been upgraded, I've run 
portupgrade -a to upgrade a bunch of ports, including libgda.

The libgda upgrade has caused a re-install of  mysql-client-4, but when 
portupgrade has tried to install mysql-client, it's failed because 
mysql-client is already installed.

The workaround for this is simple enough, delete mysql-client and then run 
portupgrade again, but I'm wondering why this situation occurs - portupgrade 
should see that mysql-client is already installed and not try to install it 
again (or if it needs upgrading, it should deinstall the old version and 
build & install the new version).

/etc/ports/UPDATING doesn't seem to help, there's no mention of either port in 
it. 

Perhaps my ports db is screwed up?

Cheers,
--  
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpw2ttWn06DJ.pgp
Description: PGP signature


Re: Ctrl+Alt+number terminal switching stopped working

2006-01-30 Thread Ian Moore
On Monday 30 January 2006 13:16, Parv wrote:
> in message <[EMAIL PROTECTED]>, wrote Ian
> Moore thusly...
>
> > I've just noticed I can't switch from my X session back to the
> > other vtty screens using Ctrl+Alt+1, Ctrl+Alt+2 etc.  I can't seem
> > to find any info on this - is it a known issue or is it just my
> > system?
>
> I can't say if "XkbDisable" would help in your case ...
>
>   Section "ServerFlags"
> Option "DontZap""false"
> Option "AllowMouseOpenFail" "true"
>
> #  XFree86 4.[34].x - Add "DontVTSwitch" to be false (for console
> #  switching).
> Option "DontVTSwitch"   "false"
>
> Option "HandleSpecialKeys"  "Always"
>
> #  Xorg 6.8.(2|99.903) - Add "XkbDisable" to be true (for console
> #  switching).
> Option "XkbDisable"  "true"
>   EndSection
>
>
> ... but try it.
>
>
>   - Parv

I've never had to specify any of those before - they always defaulted to those 
values, but I guess the default has changed in 6.9 - VT Switching works again 
now.

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


Ctrl+Alt+number terminal switching stopped working

2006-01-28 Thread Ian Moore
Hi,
I've just noticed I can't switch from my X session back to the other vtty 
screens using Ctrl+Alt+1, Ctrl+Alt+2 etc.
I can't seem to find any info on this - is it a known issue or is it just my 
system? It seems to happen when running both kde & twm, so it's not window 
manger related.

I'm running 5.4-RELEASE and Xorg6.9 built from ports about a week ago. All 
ports up to date as of 3 nights ago.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ports security branch

2005-12-22 Thread Ian Moore
On Tuesday 20 December 2005 16:54, rihad wrote:
> Is there a security branch for the FreeBSD ports collection? 
No, there isn't.

> Let's say, 
> I installed FreeBSD 6.0 together with all needed -RELEASE ports/packages
> (i.e., those on the CD). Running security/portaudit after a while
> reveals that some of the installed packages have vulnerabilities. Am I
> on my own to go grab the fresh ports tree, and upgrade the affected
> software, suffering all the intricacies of the move by myself? 

CVSUP & Portupgrade or portupdate makes this process very simple, they manage 
all the intricacies for you. Check out Dru Lavigne's article on protupgrade 
for a simple portupgrade how-to:
http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html
I update my ports with it all the time and rarely have problems. 

If you only want to track security vulnerabilities, just portupgrade the ports 
that have vulnerabilities - that would be roughly equivalent to tracking a 
security branch.

> Debian 
> GNU/Linux has its security package updates, OpenBSD has a separately
> maintained "errata" ports branch (it's very likely you still get to
> download a newer release of the software, though).
>
> Sorry if this is a bit OT. I've already asked this on freebsd-questions@
> but they told me there's no such thing at all.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpEFZiuYaARM.pgp
Description: PGP signature


Re: Patching a port

2005-12-16 Thread Ian Moore
On Friday 16 December 2005 18:18, Markus Trippelsdorf wrote:
> On 2005-12-16, Ian Moore <[EMAIL PROTECTED]> wrote:
> > I'm having some trouble with the www/sarg port. The writer has sent me
> > a=20 couple of .patch files to apply and I'm wondering if there's some
> > way to=20 apply those patches and still use the ports system to build &
> > install the=20 port.
> > I know the source code installs stuff in places that aren't the standard
> > FB= SD=20
> > locations - I assume they are the norm for Linux. The port fixes that
> > and=20 puts stuff where we expect it to be.
> > It would make life easier if I could apply the patches and then build the
> > p= ort=20
>
> make patch
> -apply your patches-
> make install clean

Thanks, I'll knew it would be something really easy.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpRFLxdNOSXw.pgp
Description: PGP signature


Re: KDE 3.5 status?

2005-12-15 Thread Ian Moore
On Friday 16 December 2005 02:11, Kirk Strauser wrote:
> On Thursday 15 December 2005 09:18, Louis J. LeBlanc wrote:
> > Perhaps here:
> > http://freebsd.kde.org/
>
> Nothing there...
>
> > Try updating your ports directory, and if it's not there, you might try
> > the port maintainer.
>
> ...and it's not in ports yet.  I'd rather the maintainer be spending his
> time on the port than answer my emails, so I'll go back to waiting
> patiently.

Latest news from the kde-freebsd list:

> Porting is progressing, but slowly (for a number of technical and
> non-technical reasons).
> 
> It is possible that we might end up skipping KDE 3.5 completely and go
> with KDE 3.5.1 when it's released - judging from what problems have
> surfaced during porting already and the steady stream of bugs being
> discovered on other platforms which already ship KDE 3.5, it seems that
> this release might just not be worth the trouble.

According to an earlier post, Michael (the port maintainer) has been sick and 
was only able to start work on it a few days after the release date. It looks 
like this release is going to be a lot slower than normal.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpOqZOp4oal4.pgp
Description: PGP signature


Patching a port

2005-12-15 Thread Ian Moore
Hi,
I'm having some trouble with the www/sarg port. The writer has sent me a 
couple of .patch files to apply and I'm wondering if there's some way to 
apply those patches and still use the ports system to build & install the 
port.
I know the source code installs stuff in places that aren't the standard FBSD 
locations - I assume they are the norm for Linux. The port fixes that and 
puts stuff where we expect it to be.
It would make life easier if I could apply the patches and then build the port 
in the normal way so everything ends up in the same place & I won't have 
stuff left over when I update next time.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgp8CpQJD0RqW.pgp
Description: PGP signature


Re: Removing a port without upsetting dependencies

2005-12-12 Thread Ian Moore
On Monday 12 December 2005 14:24, Kent Stewart wrote:
> On Sunday 11 December 2005 06:10 pm, RW wrote:
> > On Saturday 10 December 2005 22:46, Ian Moore wrote:
> > > Hi,
> > > I have mplayer installed and at one stage I installed the
> > > mplayer-skins port as well. Then I got sick of dealing with the
> > > skins port being broken a lot because the source files are often
> > > unfetchable, so I removed the port (I can't remember what method I
> > > used to do that now).
> >
> > A much better solution is to:
> >
> >  cd /usr/ports/multimedia/mplayer-skins && make config
> >
> > then deselect everything, but the default skin.
> >
> > Since I did that I haven't had any problem with unfetchable skins.
>
> If you go into distfiles/mplayer and rm all of the files that are out of
> date, you won't have any problem either. IIRC, the names haven't
> changed but the MD5 and sizes have and it won't refetch them until you
> remove them. The skins aren't broken. There is something slightly out
> of whack with the Makefile.
>
> There may be an easier way but cd and rm * works just fine.
>
> Kent

Thanks for the suggestions. I'm going with the "choose the default skin only" 
idea - that way I don't have to editi the make file each time the port is 
updated.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpNPP5cGxxbJ.pgp
Description: PGP signature


Removing a port without upsetting dependencies

2005-12-10 Thread Ian Moore
Hi,
I have mplayer installed and at one stage I installed the mplayer-skins port 
as well. Then I got sick of dealing with the skins port being broken a lot 
because the source files are often unfetchable, so I removed the port (I 
can't remember what method I used to do that now).

Ever since,  when I do a portupgrade & mplayer or various ports that it is a 
dependency of get updated, my ports database gets upset because those ports 
are marked as having mplayer-skins as a stale dependency.

For example, today I have:
Stale dependency: mplayerplug-in-3.17 --> mplayer-skins-1.1.2_1 -- manually 
run 'pkgdb -F' to fix, or specify -O to force.

I generally either delete the dependency or link it to mplayer-gtk-esound, but 
the dependency comes back next time mplayerplug-in gets updated.

I assume I've just used the wrong method for deleting the mplayer-skins port & 
I need to re-install & delete it the correct way. If I'm right, how should I 
do that?

If not, is there a way I can permanently remove the mplayer-skins port and not 
have it appear as a dependency of other ports?

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpbRysYmUBDh.pgp
Description: PGP signature


Re: thunderbird file locations

2005-12-09 Thread Ian Moore
On Thursday 08 December 2005 07:53, RW wrote:
> On Wednesday 07 December 2005 11:36, eoghan wrote:
> > On 7 Dec 2005, at 11:24, Erik Norgaard wrote:
> > > Have you looked in ~/.thunderbird?
> >
> > ...
> > this is in /root/.thunderbird
>
> I can't think of any good reason to run thunderbird as root.
>
Edit /etc/aliases and add a line like

root:   
where  is  a local user you want to redirect root's mail to. 
Then run newaliases to put the change into effect.
Then login as that user and run thunderbird.
You won't have any existing mail, but all the new mail will be sent to that 
address.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpkKq9d9I9Ec.pgp
Description: PGP signature


Re: Changing maximum number of groups in FBSD - is it feasible?

2005-12-09 Thread Ian Moore
On Thursday 08 December 2005 19:00, Igor Robul wrote:
> On Wed, Dec 07, 2005 at 01:48:04PM -0500, Michael P. Soulier wrote:
> > On 12/7/05, Ian Moore <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > I'm toying with the idea of increasing the maximum number of groups a
> > > user can belong to on one of my servers - we have a rather complex
> > > organisation and we're hitting the 15 group limit for some people.
> >
> > Have you considered cascading groups? That's the normal workaround on
> > Enterprise Unix systems like HP-UX and Solaris.
> >
> > Instead of putting everyong in "group", do this instead.
> >
> > group:*:100:group1,group2
> > group1:*:101:user1,user2
> > group2:*:102:user3, user4
>
> AFAIK FreeBSD (and Linux) does not support nested groups (I'm not sure
> about POSIX) :-(

Well, there goes that idea!

> So you can use ACLs (as I do now), or you can recompile world/kernel
> with changed syslimits.h:
> syslimits.h:#define NGROUPS_MAX16
>
> as I did with FreeBSD-4.X. But be careful on system upgrading.
> You need compile both world and kernel because these limits get compiled
> to libc, kernel and some static linked utilite and some static linked
> utilites..

So it actually does work! And there's no need to adjust or re-compile any 
ports, just world and kernel?

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpiFlMAqSVK4.pgp
Description: PGP signature


Re: Changing maximum number of groups in FBSD - is it feasible?

2005-12-07 Thread Ian Moore
On Wednesday 07 December 2005 17:41, Ian Moore wrote:
> Hi,
>
> I'm toying with the idea of increasing the maximum number of groups a user
> can belong to on one of my servers - we have a rather complex organisation
> and we're hitting the 15 group limit for some people.
>
> There seems to be differing opinions on how to do this and if it's actually
>
> feasible. One post I found said:
> > in src/sys/sys/syslimits.h there is a constant named 'NGROUPS_MAX'.
> > change it to however many you need (within reason), rebuild/install world
> > and kernel.
>
> Another said you have to change all sorts of things in the source, modify a
> kernel parameter, rebuild world and rebuild any port that uses NGROUPS -
> which probably means a portupgrade -fa.
>
> There is talk of a maxgroups() parameter in the kernel, but NOTES makes no
> mention of this.
>
> I wonder too if some apps would need their own configuration altered to
> allow them to work with the higher limit.
>
> So I just wanted to ask if anyone has successfully raised the NGROUPS_MAX
> limit, especially when running samba & nfs on the system?
>
> If not, I'll work around the problem a different way.
>
> (BTW I'm running 5.4-RELEASE)
>
> Cheers,
> Ian,
> 
> Since you are running FreeBSD 5.x, have you considered using ACLs? See the
> handbook section 14.12.
> 
> Have you considered cascading groups? That's the normal workaround on
> Enterprise Unix systems like HP-UX and Solaris.
> 
> Instead of putting everyong in "group", do this instead.
> 
> group:*:100:group1,group2
> group1:*:101:user1,user2
> group2:*:102:user3, user4
> 
> Thus, the users are all transitively in group, and you work around the 
limit.
> 
> Mike

Thanks for the suggestions guys. I had considered ACLs as one possible 
workaround and I'd said to a mate of mine "gee, it'd be really good if you 
could make a group a member of another group", not thinking you actually 
could do that! That's very handy.

Since there doesn't seem to be anyone so far that's saying they have 
successfully increased the group limit, it looks like I'll be using one of 
those workarounds

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpdlQUdmJnl0.pgp
Description: PGP signature


Changing maximum number of groups in FBSD - is it feasible?

2005-12-06 Thread Ian Moore
Hi,

I'm toying with the idea of increasing the maximum number of groups a user can 
belong to on one of my servers - we have a rather complex organisation and 
we're hitting the 15 group limit for some people.

There seems to be differing opinions on how to do this and if it's actually 
feasible. One post I found said:

> in src/sys/sys/syslimits.h there is a constant named 'NGROUPS_MAX'. 
> change it to however many you need (within reason), rebuild/install world 
> and kernel. 

Another said you have to change all sorts of things in the source, modify a 
kernel parameter, rebuild world and rebuild any port that uses NGROUPS - 
which probably means a portupgrade -fa.

There is talk of a maxgroups() parameter in the kernel, but NOTES makes no 
mention of this.

I wonder too if some apps would need their own configuration altered to allow 
them to work with the higher limit.

So I just wanted to ask if anyone has successfully raised the NGROUPS_MAX 
limit, especially when running samba & nfs on the system?

If not, I'll work around the problem a different way.

(BTW I'm running 5.4-RELEASE)

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpX2ngKgxYU9.pgp
Description: PGP signature


Re: Incremental backup!

2005-10-08 Thread Ian Moore
On Saturday 08 October 2005 16:07, Carstea Catalin wrote:
> i want to back-up  on cd my www -directory. i want to use for this, cd
> -media. At some intervals i want to make incremental backup and put the
> result on cd. .
> i use kde and i want a grafical tool for write cd.

K3B (/usr/ports/sysutils/k3b) is a great gui CD burning app for KDE.
Dump will do incremental backups for you which you can then burn to CD with 
K3B.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgplRois7ij82.pgp
Description: PGP signature


Re: xine / kaffeine core dumps with bus error

2005-10-07 Thread Ian Moore
On Friday 07 October 2005 18:34, you wrote:

>
> I have the same problem, but I used gdb. I figured I had to learn how to
> use it sooner or later and had nothing else on my hands yesterday
> afternoon, so...
>
> Anyway, what you can try is open a terminal window and do the following:
>
> [EMAIL PROTECTED] ~% gdb
> (gdb) file xine
> Reading symbols from xine...done.
> (gdb) r
> Starting program: /usr/X11R6/bin/xine
> This is xine (X11 gui) - a free video player v0.99.4.
> (c) 2000-2004 The xine Team.
>
To do this, I need to use a kernel build with debugging turned on - correct?
I guess it's time I learnt how to do this stuff too, so perhaps I'll give it a 
go next week when I have some time. I can always keep the debug kernel around 
for doing this then & just boot with it when necessary.
>
> As you can see, xineplug_dmx_audio.so is the last plugin loaded before
> the SIGBUS. Simply removing that file did the trick for me. However,
> I'm not sure whether there's really a problem with that plugin. The
> problem could be more fundamental and is perhaps only triggered by that
> plugin...

Perhaps I'll find something different when I do it, since my problem doesn't 
appear to be related to the plugins.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpGcG8UMV4cb.pgp
Description: PGP signature


Re: Playing Flash and video media in Firefox

2005-10-06 Thread Ian Moore
On Friday 07 October 2005 08:24, edward wrote:
> Hi,
> I'm not quite sure how to get Firefox (on 5.4-Stable, Xorg 6.8.2 and KDE
> 3.4.2) to play the following media :
> - Flash
> - Quicktime
> - Windows Media
> Any clue ?
> Thanks all,
> Edward
>

Try installing www/plugger and also www/linux-flashplugin-6.0r79_3 and 
www/linuxpluginwrapper. 
Don't forget to read the port message for each port when you install them and 
do what they say.!

Configuring the flash plugin has been discussed in the last week on this list 
if you get stuck.

-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgp1KJDjstBeX.pgp
Description: PGP signature


Re: xine / kaffeine core dumps with bus error

2005-10-06 Thread Ian Moore
On Friday 07 October 2005 02:40, Tijl Coosemans wrote:
> On Wednesday 05 October 2005 01:45, Ian Moore wrote:
> > On Wednesday 05 October 2005 00:44, Brian John wrote:
> > > I think I'm having a similar problem with totem (which uses xine)
> > > and vlc. Can you try installing /usr/ports/multimedia/vlc and see
> > > what that does? If that gives a bus error as well then I think we
> > > might have the same issue.  I haven't been able to find a solution
> > > to this yet...
> >
> > Yep, vlc gives a bus error too. Looks like we have the same problem!
>
> I don't know what the exact problem is, but the bus error occurs when
> loading "/usr/X11R6/lib/xine/plugins/1.1.0/xineplug_dmx_audio.so". When
> you remove that file or rename it such that there's no longer ".so" in
> the file name, then xine should work.

It doesn't work for me - it still core dumps and kdump gives a very similar 
trace to the previous one:

 37294 xine RET   read 4096/0x1000
 37294 xine CALL  mmap(0,0x5e000,0x5,0x20002,0x6,0,0,0)
 37294 xine RET   mmap 704172032/0x29f8d000
 37294 xine CALL  mprotect(0x29fbb000,0x1000,0x7)
 37294 xine RET   mprotect 0
 37294 xine CALL  mprotect(0x29fbb000,0x1000,0x5)
 37294 xine RET   mprotect 0
 37294 xine CALL  mmap(0x29fbc000,0x3000,0x3,0x12,0x6,0,0x2e000,0)
 37294 xine RET   mmap 704364544/0x29fbc000
 37294 xine CALL  mmap(0x29fbf000,0x2c000,0x3,0x1012,0x,0,0,0)
 37294 xine RET   mmap 704376832/0x29fbf000
 37294 xine CALL  close(0x6)
 37294 xine RET   close 0
 37294 xine CALL  access(0x2816a000,0)
 37294 xine NAMI  "/usr/X11R6/lib/libstdc++.so.4"
 37294 xine RET   access -1 errno 2 No such file or directory
 37294 xine CALL  access(0x2816a000,0)
 37294 xine NAMI  "/usr/local/lib/libstdc++.so.4"
 37294 xine RET   access -1 errno 2 No such file or directory
 37294 xine CALL  access(0x2816a000,0)
 37294 xine NAMI  "/lib/libstdc++.so.4"
 37294 xine RET   access -1 errno 2 No such file or directory
 37294 xine CALL  access(0x2816a000,0)
 37294 xine NAMI  "/usr/lib/libstdc++.so.4"
 37294 xine RET   access 0
 37294 xine CALL  access(0x2816a000,0)
 37294 xine NAMI  "/usr/X11R6/lib/libm.so.3"
 37294 xine RET   access -1 errno 2 No such file or directory
 37294 xine CALL  access(0x2816a000,0)
 37294 xine NAMI  "/usr/local/lib/libm.so.3"
 37294 xine RET   access -1 errno 2 No such file or directory
 37294 xine CALL  access(0x2816a000,0)
 37294 xine NAMI  "/lib/libm.so.3"
 37294 xine RET   access 0
 37294 xine CALL  mprotect(0x29f74000,0xf000,0x7)
 37294 xine RET   mprotect 0
 37294 xine CALL  mmap(0,0x348,0x3,0x1000,0x,0,0,0)
 37294 xine RET   mmap 704557056/0x29feb000
 37294 xine CALL  munmap(0x29feb000,0x348)
 37294 xine RET   munmap 0
 37294 xine CALL  mprotect(0x29f74000,0xf000,0x5)
 37294 xine RET   mprotect 0
 37294 xine CALL  mmap(0,0xb48,0x3,0x1000,0x,0,0,0)
 37294 xine RET   mmap 704557056/0x29feb000
 37294 xine CALL  munmap(0x29feb000,0xb48)
 37294 xine RET   munmap 0
 37294 xine PSIG  SIGBUS SIG_DFL
 37294 xine CALL  kse_thr_interrupt(0,0x4,0xa)
 37294 xine NAMI  "xine.core"

I'm not sure how you figured out it was that plugin - I guess you are having 
the same problem and that file was appearing in your ktrace? 

Just in case there was some cruft in my plugins, I tried moving the whole 
1.1.0 dir somewhere else and rebuilt libxine and xine.
Then I tried running xine again and it crashed with the same trace as before.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpMkd8gONjD0.pgp
Description: PGP signature


Re: xine / kaffeine core dumps with bus error

2005-10-04 Thread Ian Moore
On Wednesday 05 October 2005 12:41, Ian Moore wrote:
> On Wednesday 05 October 2005 11:25, David Kirchner wrote:
> > On 10/4/05, Brian John <[EMAIL PROTECTED]> wrote:
> > > It probably is.  However, I'm not sure how to go about figuring out
> > > which one of these dependencies it is, let alone how to fix it.  Could
> > > you help us troubleshoot this?  BTW, I used portmanager to upgrade my
> > > ports.
> >
> > I don't know if I can be much help, as I haven't used xine or vlc, or
> > portmanager. What I would do in your case is run 'ktrace -i -d vlc'
> > (along with whatever other arguments) to trace the process and its
> > dependencies, and then run 'kdump' to view the trace (the output will
> > be enormous). You might see something interesting near the end, like a
> > file not found that it was expecting, or it opening a file just prior
> > to dumping core. It may be possible the other programs would have the
> > same last few lines.
> >
> > This is generic advice, I'm afraid, and may not even be valid in this
> > case. But who knows.

And vlc gives the same errors too:

  6585 vlc  RET   read 4096/0x1000
  6585 vlc  CALL  mmap(0,0x5e000,0x5,0x20002,0x5,0,0,0)
  6585 vlc  RET   mmap 687357952/0x28f84000
  6585 vlc  CALL  mprotect(0x28fb2000,0x1000,0x7)
  6585 vlc  RET   mprotect 0
  6585 vlc  CALL  mprotect(0x28fb2000,0x1000,0x5)
  6585 vlc  RET   mprotect 0
  6585 vlc  CALL  mmap(0x28fb3000,0x3000,0x3,0x12,0x5,0,0x2e000,0)
  6585 vlc  RET   mmap 687550464/0x28fb3000
  6585 vlc  CALL  mmap(0x28fb6000,0x2c000,0x3,0x1012,0x,0,0,0)
  6585 vlc  RET   mmap 687562752/0x28fb6000
  6585 vlc  CALL  close(0x5)
  6585 vlc  RET   close 0
  6585 vlc  CALL  access(0x28198000,0)
  6585 vlc  NAMI  "/lib/libstdc++.so.4"
  6585 vlc  RET   access -1 errno 2 No such file or directory
  6585 vlc  CALL  access(0x28198000,0)
  6585 vlc  NAMI  "/usr/lib/libstdc++.so.4"
  6585 vlc  RET   access 0
  6585 vlc  CALL  access(0x28198000,0)
  6585 vlc  NAMI  "/lib/libm.so.3"
  6585 vlc  RET   access 0
  6585 vlc  CALL  mmap(0,0x190,0x3,0x1000,0x,0,0,0)
  6585 vlc  RET   mmap 687742976/0x28fe2000
  6585 vlc  CALL  munmap(0x28fe2000,0x190)
  6585 vlc  RET   munmap 0
  6585 vlc  CALL  mmap(0,0xb48,0x3,0x1000,0x,0,0,0)
  6585 vlc  RET   mmap 687742976/0x28fe2000
  6585 vlc  CALL  munmap(0x28fe2000,0xb48)
  6585 vlc  RET   munmap 0
  6585 vlc  CALL  sigprocmask(0x3,0x281882f0,0)
  6585 vlc  RET   sigprocmask 0
  6585 vlc  PSIG  SIGBUS SIG_DFL
  6585 vlc  NAMI  "vlc.core"


-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpmO1npQljpc.pgp
Description: PGP signature


Re: xine / kaffeine core dumps with bus error

2005-10-04 Thread Ian Moore
On Wednesday 05 October 2005 11:25, David Kirchner wrote:
> On 10/4/05, Brian John <[EMAIL PROTECTED]> wrote:
> > It probably is.  However, I'm not sure how to go about figuring out
> > which one of these dependencies it is, let alone how to fix it.  Could
> > you help us troubleshoot this?  BTW, I used portmanager to upgrade my
> > ports.
>
> I don't know if I can be much help, as I haven't used xine or vlc, or
> portmanager. What I would do in your case is run 'ktrace -i -d vlc'
> (along with whatever other arguments) to trace the process and its
> dependencies, and then run 'kdump' to view the trace (the output will
> be enormous). You might see something interesting near the end, like a
> file not found that it was expecting, or it opening a file just prior
> to dumping core. It may be possible the other programs would have the
> same last few lines.
>
> This is generic advice, I'm afraid, and may not even be valid in this
> case. But who knows.

OK, I've done that for xine, here's the last bit:
  1935 xine RET   read 4096/0x1000
  1935 xine CALL  mmap(0,0x5e000,0x5,0x20002,0x6,0,0,0)
  1935 xine RET   mmap 692838400/0x294be000
  1935 xine CALL  mprotect(0x294ec000,0x1000,0x7)
  1935 xine RET   mprotect 0
  1935 xine CALL  mprotect(0x294ec000,0x1000,0x5)
  1935 xine RET   mprotect 0
  1935 xine CALL  mmap(0x294ed000,0x3000,0x3,0x12,0x6,0,0x2e000,0)
  1935 xine RET   mmap 693030912/0x294ed000
  1935 xine CALL  mmap(0x294f,0x2c000,0x3,0x1012,0x,0,0,0)
  1935 xine RET   mmap 693043200/0x294f
  1935 xine CALL  close(0x6)
  1935 xine RET   close 0
  1935 xine CALL  access(0x2816a000,0)
  1935 xine NAMI  "/usr/X11R6/lib/libstdc++.so.4"
  1935 xine RET   access -1 errno 2 No such file or directory
  1935 xine CALL  access(0x2816a000,0)
  1935 xine NAMI  "/usr/local/lib/libstdc++.so.4"
  1935 xine RET   access -1 errno 2 No such file or directory
  1935 xine CALL  access(0x2816a000,0)
  1935 xine NAMI  "/lib/libstdc++.so.4"
  1935 xine RET   access -1 errno 2 No such file or directory
  1935 xine CALL  access(0x2816a000,0)
  1935 xine NAMI  "/usr/lib/libstdc++.so.4"
  1935 xine RET   access 0
  1935 xine CALL  access(0x2816a000,0)
  1935 xine NAMI  "/usr/X11R6/lib/libm.so.3"
  1935 xine RET   access -1 errno 2 No such file or directory
  1935 xine CALL  access(0x2816a000,0)
  1935 xine NAMI  "/usr/local/lib/libm.so.3"
  1935 xine RET   access -1 errno 2 No such file or directory
  1935 xine CALL  access(0x2816a000,0)
  1935 xine NAMI  "/lib/libm.so.3"
  1935 xine RET   access 0
  1935 xine CALL  mprotect(0x294ae000,0xf000,0x7)
  1935 xine RET   mprotect 0
  1935 xine CALL  mmap(0,0x348,0x3,0x1000,0x,0,0,0)
  1935 xine RET   mmap 693223424/0x2951c000
  1935 xine CALL  munmap(0x2951c000,0x348)
  1935 xine RET   munmap 0
  1935 xine CALL  mprotect(0x294ae000,0xf000,0x5)
  1935 xine RET   mprotect 0
  1935 xine CALL  mmap(0,0xb48,0x3,0x1000,0x,0,0,0)
  1935 xine RET   mmap 693223424/0x2951c000
  1935 xine CALL  munmap(0x2951c000,0xb48)
  1935 xine RET   munmap 0
  1935 xine PSIG  SIGBUS SIG_DFL
  1935 xine CALL  kse_thr_interrupt(0,0x4,0xa)
  1935 xine NAMI  "xine.core"

Looks like it can't see lib files that really are there:
%ll /lib/libm*
-r--r--r--  1 root  wheel  108400 Feb 24  2004 /lib/libm.so.2
-r--r--r--  1 root  wheel  120004 Jul 29 17:38 /lib/libm.so.3
-r--r--r--  1 root  wheel   41096 Jul 29 17:38 /lib/libmd.so.2
%ll /usr/lib/libstdc++.*
-r--r--r--  1 root  wheel  1754130 Jul 29 17:39 /usr/lib/libstdc++.a
lrwxr-xr-x  1 root  wheel   14 Jul 29 17:39 /usr/lib/libstdc++.so -> 
libstdc++.so.4
-r--r--r--  1 root  wheel   881208 Jul 29 17:39 /usr/lib/libstdc++.so.4

So I don't know what's going on there.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpxBISvR8yol.pgp
Description: PGP signature


Re: xine / kaffeine core dumps with bus error

2005-10-04 Thread Ian Moore
On Wednesday 05 October 2005 00:44, Brian John wrote:
> I think I'm having a similar problem with totem (which uses xine) and vlc.
>  Can you try installing /usr/ports/multimedia/vlc and see what that does?
> If that gives a bus error as well then I think we might have the same
> issue.  I haven't been able to find a solution to this yet...
>
> /Brian

Yep, vlc gives a bus error too. Looks like we have the same problem!

Cheers,
Ian

>
> - Original Message -
>
> > Hi,
> > I went to play a video file today & with kaffeine and it crashed
>
> when trying
>
> > to open the file. I decided to do a portupgrade -fR kaffeine\* to
>
> rebuild it
>
> > and it's dependencies in the hope that would fix the problem, but it
>
> made no
>
> > difference.
> > Then I tried running xine by itself and found it gave a bus error and
> > core dumped every time I tried to start it (not opening a file or
> > anything). The splash screen appears, then the GUI, then both close and
> > in the xterm I
>
> start
>
> > it from, I just bus error.
> >
> > I've tried doing a portupgrade -f xine just in case, though it should
> > have been re-built along with kaffeine. None of the above seems to fix
> > the problem.
> > I'm running FBSD 5.4-RELEASE p6 and my ports tree was updated last
>
> night. Port
>
> > versions are:
> > kaffeine-0.7.1
> > xine-0.99.4
> >
> >  Xine/Kaffeine used to work, evidently a recent portupgrade has broken
> > it, though I'm not sure exactly when it last worked.
> >
> > Just hoping someone can suggest a fix!
> >
> > Cheers,
> > --
> > Ian

gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgp9bCoo38VFU.pgp
Description: PGP signature


xine / kaffeine core dumps with bus error

2005-10-04 Thread Ian Moore
Hi,
I went to play a video file today & with kaffeine and it crashed when trying 
to open the file. I decided to do a portupgrade -fR kaffeine\* to rebuild it 
and it's dependencies in the hope that would fix the problem, but it made no 
difference.
Then I tried running xine by itself and found it gave a bus error and core 
dumped every time I tried to start it (not opening a file or anything). The 
splash screen appears, then the GUI, then both close and in the xterm I start 
it from, I just bus error.

I've tried doing a portupgrade -f xine just in case, though it should have 
been re-built along with kaffeine. None of the above seems to fix the 
problem.
I'm running FBSD 5.4-RELEASE p6 and my ports tree was updated last night. Port 
versions are:
kaffeine-0.7.1
xine-0.99.4

 Xine/Kaffeine used to work, evidently a recent portupgrade has broken it, 
though I'm not sure exactly when it last worked.

Just hoping someone can suggest a fix!

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpHdsvsqpzVP.pgp
Description: PGP signature


Re: themes

2005-08-18 Thread Ian Moore
On Thursday 18 August 2005 12:20, [EMAIL PROTECTED] wrote:
> Hey everyone,
>
> I downloaded some themes from freshmeat hoping to get the entire theme but
> realised that they don't come with the cool background images.  Where is a
> good place to get background images, like the 3D arty ones?
>
> Thanks
>
> Gareth

http://wallpapers.neo5k.de/index.shtml
http://www.kde-look.org/


-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpdWAlNSG3qB.pgp
Description: PGP signature


Re: xorg crashing with kde

2005-08-10 Thread Ian Moore
On Wednesday 10 August 2005 22:25, RW wrote:
> Since the kde update went into ports about a week ago, I've been having a
> problem with xorg crashing.
>
> The problem occurs when a kde session is left in the "background" by a
> switch to either another x-server or to a virtual terminal, and it's left
> there long enough for the monitor standby timer to expire. The crash
> actually happens on switching back to the kde session.
>
> According to the system console the crash follows a stray irq13, and the
> xorg log indicates it died with signal 8. I cant find any other relevent
> logging. I installed xscreensaver  to see if it could be reproduced under
> xfce, and it couldn't. I can work around the problem  by turning off
> display power management in kde.

This is a bit of a stab in the dark, but perhaps re-building your xorg-server 
port might fix it. When I update my xserver, I have to rebuild my nvidia 
driver or x will crash when any opengl app runs.
So in your case, it may be some part of X causeing the crash.
I'm running kde & haven't had that problem though.
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpSxw37AcQj4.pgp
Description: PGP signature


Getting session details from a dump tape

2005-07-28 Thread Ian Moore

Hi,
I've done a level 0 dump of a server which is spanned over several 
tapes. Somehow, when I was labelling the tapes, I did something wrong 
and have an extra tape in there. I'm wondering if there is some way to 
find out what is on the tapes? I know I could do an ls to look at the 
files, but that won't really tell me what dump level it was and when it 
was dumped.


Things I've tried:
1. On the first tape, I can just run
#restore -i
#what
and that gives me the info I need for that tape, however, when I do the 
same for the next tape, it just says it's not the first tape of the set.


2. Try to read from /dev/sa0 directly:
#head /dev/sa0

That didn't give any output, except in the log file, where is says:
10240-byte tape record bigger than supplied buffer.


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


Re: py24-numeric upgrade woes

2005-07-24 Thread Ian Moore
On Sunday 24 July 2005 10:37, Björn König wrote:
> You can fix this temporarily if you add the line
>
>WRKSRC=  ${WRKDIR}/Numeric-${PORTVERSION}
>
> to Makefile, e.g. just before
>
>.include 
>
> in line 28. I sent a mail to the maintainer yesterday.
>
> Björn

Thanks, that allows it to build now, but it falls over during the install:

-->  Installing the new version via the port
===>  Installing for py24-numeric-23.8

MA Version 12.2.0
Numeric Version 23.8
install  -o root -g wheel -m 
444 /usr/ports/math/py-numeric/work/Numeric-23.8/Demo/*.py 
/usr/local/share/examples/py-numeric
install  -o root -g wheel -m 
444 /usr/ports/math/py-numeric/work/Numeric-23.8/Demo/NumTut/* 
/usr/local/share/examples/py-numeric/NumTut
install  -o root -g wheel -m 
444 /usr/ports/math/py-numeric/work/numpy.pdf /usr/local/share/doc/py-numeric
install: /usr/ports/math/py-numeric/work/numpy.pdf: No such file or directory
*** Error code 71

Stop in /usr/ports/math/py-numeric.
*** Error code 1

Stop in /usr/ports/math/py-numeric.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade2187.0 
make reinstall
egrep: /var/db/pkg/py24-numeric-23.7/+CONTENTS: No such file or directory
--->  Restoring the old version
** Fix the installation problem and try again.


numpy.pdf is actually in /usr/ports/math/py-numeric/work/Numeric-23.8
By editing line 48 of the Makefile to:
 ${INSTALL_DATA} ${WRKDIR}/Numeric-23.8/numpy.pdf ${DOCSDIR}
the port installs correctly.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpjyh24Tg4jm.pgp
Description: PGP signature


Re: py24-numeric upgrade woes

2005-07-23 Thread Ian Moore
On Saturday 23 July 2005 21:49, Anthony M. Agelastos wrote:
> Hello everyone,
>
> I CVSup'd my tree and did a portupgrade -arR and noticed that
> py24-numeric failed to update. To make a long story short, it unpacks
> Numeric into /usr/ports/math/py-numeric/work/Numeric-23.8, where the
> Makefile (or something) expects the first letter in Numeric to be
> lowercase (there is a file inside of the work directory named
> numeric-23.8 that is 1234555 bytes). See below for my output. I checked
> the mailing list and the bug reports to see if this had been previously
> mentioned and I could not find any evidence supporting that, so if it
> has been mentioned, I do apologize.
>

Hi,
I have a problem compiling this port too, after last night's cvsup. Here's the 
output of my build:

--->  Upgrading 'py24-numeric-23.7' to 'py24-numeric-23.8' (math/py-numeric)
--->  Building '/usr/ports/math/py-numeric'
===>  Cleaning for python-2.4.1_2
===>  Cleaning for py24-numeric-23.8
===>  Extracting for py24-numeric-23.8
=> Checksum OK for Numeric-23.8.tar.gz.
=> Checksum OK for numpy.pdf.
===>  Patching for py24-numeric-23.8
===>  Applying FreeBSD patches for py24-numeric-23.8
patch:  can't cd to /usr/ports/math/py-numeric/work/numeric-23.8: Not a 
directory
=> Patch patch-Src_umathmodule.c failed to apply cleanly.
*** Error code 1

Stop in /usr/ports/math/py-numeric.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade40145.0 
make
** Fix the problem and try again.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpNZd4pkyXNy.pgp
Description: PGP signature


Re: Firebird 1.5.2 install

2005-07-21 Thread Ian Moore
On Friday 22 July 2005 02:15, Darryl Hoar wrote:
> Greetings,
> I have a system running 5.1.  I want to install firebird 1.5.2.  The ports
> tree
> has firebird 1.0.
>
> has anybody installed firebird 1.5.2 on a Freebsd 5.1 system ?  If so,
> what steps do I need to accomplish this ?

Sounds like you haven't cvsup'ed your ports for some time 
firebird-client-1.5.2_2  and firebird-server-1.5.2_2 are the current 
versions.
>
Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgp0atqemt6SZ.pgp
Description: PGP signature


Re: Questions FreeBSD NOT SPAM!!!!!!!!!!!!!!!!!!!!!!

2005-07-21 Thread Ian Moore
On Friday 22 July 2005 13:37, zick-1 wrote:
> Hello.
>
> Recently has ordered disks with Free BSD and has decided to establish on
> the computer. At once I shall tell, that with FreeBSD it is familiar
> very little and consequently.
> There were many questions. Before from Unix similar
> established and started Debian Linux. But in FreeBSD all differently...
>
> 1) I can not establish BSD atop Windows NT. The disk is broken into two
> parts С:/and D:/. On With: it is established Windows (FAT32), D empty
> (FAT32). And in my opinion BSD does not see the second disk. At
> installation BSD then it is impossible to start Windows.

Someone else can probably answer this better than I can..

> 2) Whether has BSD the graphic interface? Or all works through #root?

Yes, FreeBSD uses X for a graphical interface, just like Linux. Unlike most 
linux distributions, FreeBSD doesn't install X by default, so you need to 
install X and configure your choice of window manager/desktop environment. 

You can do this from the install program (/stand/sysinstall), but I'd 
recommend reading the handbook - it will tell you how do do all of this. You 
can access the handbook at 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html

Once you have a web browser installed, you can also use the local copy 
at /usr/share/doc/handbook/handbook.html

Section 5 tells you how to install & configure X (you should use Xorg, not 
XFree86 if you are using FreeBSD 5.3 or later).

> 3) Whether means that the system is established presence:
> login: root
> #
Yes, the # prompt mean you are logged on correctly as root.

You shouldn't normally login as root though - see section 13 of the handbook 
for information on how to create a normal user. Use root only for tasks that 
really need it.
>
>
> In the literature on a disk very few concrete explanations.

Check out the handbook - it's a great source of information on most aspects of 
installing and running FreeBSD. If you still have trouble, you can always ask 
on this list.

Good luck!

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpVYUp1Mhw0T.pgp
Description: PGP signature


Re: flash plugin not working after port"upgraded"

2005-07-19 Thread Ian Moore
On Tuesday 19 July 2005 05:07, Jorge Mario G. Mazo wrote:
> Hi there
> I had the www/linuxpluginwrapper flash plugin working
> yesterday I used portupgraded to upgrade and after
> that
> flash is not working anymore
>
> I tried removing the port and installing again
> buck no luck
> any tips?
> my libmap.conf is the old one
> and every thing else is the same old stuff
>
>
> thanks
>

Last time I upgraded that port, I found the location of the flash plugin had 
changed. I meant to email the maintainer to suggest an entry in UPDATING 
about it, but I don't think I got around to doing that.
Anyway, check that the plugin really exists where your libmap.conf says it is.
I found it had changed from /usr/local/lib to /usr/X11R6/lib so the flash 
section of my libmap.conf now looks like:

# Flash6 with Konqueror (temporary setting)
# old setting:- [/usr/local/lib/linux-flashplugin6/libflashplayer.so]
[/usr/X11R6/lib/linux-flashplugin6/libflashplayer.so]
libpthread.so.0 pluginwrapper/flash6.so
libdl.so.2  pluginwrapper/flash6.so
libz.so.1   libz.so.2
libstdc++-libc6.2-2.so.3libstdc++.so.4
libm.so.6   libm.so.3
libc.so.6   pluginwrapper/flash6.so

Hope that helps.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpgQFLqIC76Q.pgp
Description: PGP signature


Re: Nvidia Driver

2005-07-15 Thread Ian Moore
On Friday 15 July 2005 20:59, Adam Stroud wrote:
>
> On 7/15/05, Ian Moore <[EMAIL PROTECTED]> wrote:
> > On Friday 15 July 2005 12:37, Adam Stroud wrote:
> > > All:
> > >
> > > I am having a problem getting my nvidia video card to work since I
> > > portupgraded to the latest nvidia driver in the port.  I had
> > > everything working find using many of the old verions.  Then I
> > > upgraded to the latest version and now when I attempt tp startx, I
> > > get:
> > >

> >
> > What card do you have - nvidia have dropped support for older chipsets -
> > take a look at /usr/ports/UPDATING for details.
> > That might be the cause of your problem.

> I am using the GeForce2 GTS

There's your problem then, it's not supported by the new drivers according to 
the list at http://www.nvidia.com/object/IO_18897.html

Look at /usr/ports/UPDATING for instructions on how to keep the older driver 
on your system.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgppKc5OrLz0L.pgp
Description: PGP signature


Re: Nvidia Driver

2005-07-14 Thread Ian Moore
On Friday 15 July 2005 12:37, Adam Stroud wrote:
> All:
>
> I am having a problem getting my nvidia video card to work since I
> portupgraded to the latest nvidia driver in the port.  I had
> everything working find using many of the old verions.  Then I
> upgraded to the latest version and now when I attempt tp startx, I
> get:
>
> X Window System Version 6.8.2
>
> Release Date: 9 February 2005
>
> X Protocol Version 11, Revision 0, Release 6.8.2
>
> Build Operating System: FreeBSD 5.4 i386 [ELF]
>
> Current Operating System: FreeBSD osirus.stronet.dyndns.org 5.4-STABLE
> FreeBSD 5.4-STABLE #0: Fri Jun 24 23:25:37 EDT 2005
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/APS_KERN i386
>
> Build Date: 24 June 2005
>
>   Before reporting problems, check http://wiki.X.Org
>
>   to make sure that you have the latest version.
>
> Module Loader present
>
> Markers: (--) probed, (**) from config file, (==) default setting,
>
>   (++) from command line, (!!) notice, (II) informational,
>
>   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
>
> (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jul 14 22:50:09 2005
>
> (==) Using config file: "/etc/X11/xorg.conf"
>
> (EE) Failed to load module "speedo" (module does not exist, 0)
>
> (EE) No devices detected.
>
>
>
> Fatal server error:
>
> no screens found
>
>
>
> Please consult the The X.Org Foundation support
>
>at http://wiki.X.Org
>
>  for help.
>
> Please also check the log file at "/var/log/Xorg.0.log" for additional
> information.
>
>
>
> X connection to :0.0 broken (explicit kill or server shutdown).
>
>
> [EMAIL PROTECTED]:/boot>exit
>
> exit
>
> I looked and /var/log/messages, and FreeBSD sees the video card and  I
> verified that the module is loaded with kldinfo.  As I said,
> everything worked fine with the older version of the port.  Does
> anyone have any ideas?
>
> Thanks
> A

What card do you have - nvidia have dropped support for older chipsets - take 
a look at /usr/ports/UPDATING for details.
That might be the cause of your problem.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpdqtA6c3jDr.pgp
Description: PGP signature


Re: FreeBSD locks up when X-windows running (LONG)

2005-07-10 Thread Ian Moore
On Sunday 10 July 2005 20:34, Andreas Kohn wrote:
> I'm using the nvidia-provided drivers because of the speed increase they
> give. nv works fine, yes...but too slow :)
>
> I spent some time reading through the posts, and yes, there were some
> very interesting things said there. Thanks for the pointer.
> For some reason, my system now works with 7667. No hangs, no NVRM
> messages.
> The only things I changed:
> - a lot of reinstalling 6113/7667, perhaps somewhere there was a
>   corrupted file that now got mysteriously replaced by a correct
>   version?
> - playing with modelines. I changed the resolution from 1920x1200 to
>   1600x1000, to gain a higher refresh rate. Before, I also saw
> NVRM: Xid: 17, Head=0 X=1920 Y=1200 Refresh=75
>   which I regarded as simple information items from nvidia-driver. I
>   don't get these messages with 1600x1000 anymore.
>
> So whatever it was, it looks gone. Unfortunately, I can't give any tips
> on what to try :/
>

I don't know if this is relevant to your problem, but whenever I update X, I 
have to portupgrade -f my nvidia driver because it causes X to crash whenever 
any opengl apps  are run (eg glxgears, opengl screen savers).
If you had updated part of X recently, it may have been the source of your 
problem.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgp1FizrhoJ9C.pgp
Description: PGP signature


Re: Problems since 5.3-RELEASE-p15

2005-06-23 Thread Ian Moore
On Tuesday 21 June 2005 08:34, Tuc at T-B-O-H wrote:

> > If you have upgraded to 5.3-RELEASE-p15 why not just upgrade to
> > 5.4-RELEASE-p*?
>
>   I'm always nervous going up a release due to my NVIDIA card
>
>   Thanks, Tuc

I use the nvidia-driver port with xorg for my nvidia card and it doesn't cause 
problems when upgrading the base system. The only "trouble" I ever have is 
when X is upgraded. After upgrading X, I also have to re-build my nvidia 
drver. That's not a drama though, you just do do a portupgrade -f 
nvidia-driver and it's fine.
My current system started as 5.2.1-Release & is now on 5.4-p1. Even the change 
from XFree86 to X.org didn't cause problems with the driver.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpm8KrY79TkZ.pgp
Description: PGP signature


Perl problem upgrading net-snmp

2005-06-12 Thread Ian Moore
Hi, I'm trying to upgrade net-mgmt/net-snmp-5.2.1_1 to 
net-mgmt/net-snmp-5.2.1_2
I'm running 5.4p2 on this machine, which started life as 5.2.1-RELEASE & has 
been tracking 5.3-RELEASE & now 5.4-RELEASE.
My perl version is 5.8.6

I update my ports tree every night and update my installed ports at least once 
a week. I've had this build  problem with net-snmp ever since it was updated 
to 5.2.1_2, but I've only just got around to trying to solve the problem.
The build output is very long, so I've only pasted the last bit below - I can 
post the whole thing if required though.

I assume it's a perl problem and have tried googling for a solution. I found 
some stuff about the Undefined symbol "perl_get_sv" error, but haven't found 
anything that's helped me fix it so far.

A possible solution I thought might be to  pkg_delete perl, delete everything 
in /usr/local/lib/perl and then rebuild perl. Or is that not a good idea?

Here's the net-snmp build output:


Checking if your kit is complete...
Looks good
Warning: -L../../snmplib/.libs changed to 
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/../../snmplib/.libs
Warning: -L../../snmplib/ changed to 
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/../../snmplib/
Warning: -L../../agent/.libs changed to 
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/../../agent/.libs
Warning: -L../../agent/ changed to 
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/../../agent/
Warning: -L../../agent/helpers/.libs changed to 
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/../../agent/helpers/.libs
Warning: -L../../agent/helpers/ changed to 
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/../../agent/helpers/
Unrecognized argument in LIBS ignored: '-rpath=/usr/local/lib'
Unrecognized argument in LIBS ignored: '-Wl,-E'
Unrecognized argument in LIBS ignored: 
'/usr/local/lib/perl5/5.8.6/mach/auto/DynaLoader/DynaLoader.a'
Warning: -L../../../snmplib/.libs changed to -L/usr/ports/net-mgmt/Undefined 
symbol 
"perl_get_sv"net-snmp/work/net-snmp-5.2.1/perl/agent/default_store/../../../snmplib/.libs
Warning: -L../../../snmplib/ changed to 
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/default_store/../../../snmplib/
Unrecognized argument in LIBS ignored: '-rpath=/usr/local/lib'
Writing Makefile for NetSNMP::agent::default_store
Writing Makefile for NetSNMP::agent
Checking if your kit is complete...
Looks good
Warning: -L../../snmplib/.libs changed to 
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/SNMP/../../snmplib/.libs
Warning: -L../../snmplib/ changed to 
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/SNMP/../../snmplib/
Unrecognized argument in LIBS ignored: '-rpath=/usr/local/lib'
Writing Makefile for SNMP
Checking if your kit is complete...
Looks good
/libexec/ld-elf.so.1: 
/usr/local/lib/perl5/site_perl/5.8.6/mach/auto/SNMP/SNMP.so: 
Undefined symbol "perl_get_sv"
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1.
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade39989.0 
make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! net-mgmt/net-snmp (net-snmp-5.2.1_1)  (new compiler error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgp1whGUIaRng.pgp
Description: PGP signature


Problems with recording since upgrading from 5.4-release to 5.4p2

2005-06-10 Thread Ian Moore
Hi,
I've got a strange problem with recording on my system. The problem appears to 
have started since I upgraded my 5.4-Release system today to 5.4p2.

I'm using a Vibra128 soundcard & have the following devices:
daemon:~ % ll /dev/dsp*
crw-rw-rw-  1 root  wheel   30,   3 Jun 10 20:12 /dev/dsp0.0
crw-rw-rw-  1 root  wheel   30, 0x00010003 Jun 10 19:23 /dev/dsp0.1
crw-rw-rw-  1 root  wheel   30, 0x00020003 Jun 10 20:37 /dev/dsp0.2
crw-rw-rw-  1 root  wheel   30, 0x00030003 Jun 10 19:23 /dev/dsp0.3
crw-rw-rw-  1 root  wheel   30,   5 Jun 10 19:23 /dev/dspW0.0
crw-rw-rw-  1 root  wheel   30, 0x00010005 Jun 10 19:23 /dev/dspW0.1
crw-rw-rw-  1 root  wheel   30, 0x00020005 Jun 10 19:23 /dev/dspW0.2
crw-rw-rw-  1 root  wheel   30, 0x00030005 Jun 10 19:23 /dev/dspW0.3
crw-rw-rw-  1 root  wheel   30,  11 Jun 10 19:23 /dev/dspr0.0

Also, I have the following in /boot/loader.conf:
snd_es137x_load="YES" #ESS1370 (VIBRA128) sound card driver
hw.snd.pcm0.vchans="4"
hw.snd.maxautovchans="4"


Sound playback is working fine - I use kde & have artsd set to use /dev/dsp0.2
I use Audacity to record with and this is where I have trouble - playback in 
it works, but today, I can't record. Starting it from the commandline, it 
gives the following output:
PaHost_OpenStream: could not open /dev/dsp for O_RDWR
PaHost_OpenStream: ERROR - result = -1
PaHost_OpenStream: could not open /dev/dsp for O_RDONLY
PaHost_OpenStream: ERROR - result = -1

and the record device selection is disabled & no recording is possible.
In the audacity preferences dialogue, you can only ever choose /dev/dsp as the 
device for playback & for recording. However, in my .audacity file, I had:
PlaybackDevice=/dev/dsp0.1
RecordingDevice=/dev/dsp0.1

Until today, this has always worked, now suddenly I can't record!
I noticed there is no /dev/dsp file - I thought there was one before. So I 
tried the following:

#cd /dev
# rm /dev/dsp
rm: /dev/dsp: No such file or directory
 # ln -s /dev/dsp0 /dev/dsp
ln: /dev/dsp: File exists
# sudo rm /dev/dsp
rm: /dev/dsp: No such file or directory
# sudo ln -s /dev/dsp0 /dev/dsp
ln: /dev/dsp: File exists

That doesn't seem to make any sense at all!

I guess this might be an audacity issue (I have tried rebuilding it, but it 
made no difference), but I'm pretty sure it's only since I upgraded to 5.4p2 
that the problem has occurred.

I can use the artsdsp audacity command to run audacity & record, but I prefer 
not to because the waveform display misbehaves when I do that & it worked 
just fine the other way before.

Any suggestions?

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpnNifu7miEZ.pgp
Description: PGP signature


correct make switch syntax for Hylafax

2005-05-25 Thread Ian Moore
Hi,
I want to build Hylafax with a default page size of A4. The Makefile says:
# Defaults to "North American Letter".  Use "ISO A4" for A4.
.if defined(PAGESIZE)
CONFIGURE_ARGS+=--with-PAGESIZE="${PAGESIZE}"
.endif

So what exactly should I put after make to get A4?
Usually these options are straightforward ( like  -DWITH_)but 
sometimes I find it really hard to figure out what to use. I've tried various 
options but they don't seem to be correct.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgp47TdExhFDB.pgp
Description: PGP signature


Re: NSSwitch settings on 5.4.

2005-05-23 Thread Ian Moore
On Monday 23 May 2005 20:52, Julien Gabel wrote:
> >> AFAIK there never  was a "default" nsswitch.conf in FreeBSD 5.4, I
> >> always had to create a new one from scratch.
> >
> > Well there was one sitting on my system in /etc & I certainly didn't
> > create it! This system started life as 5.2-RELEASE, so maybe it crept
> > in earlier on?
>
> If you have a file named /etc/host.conf (as previously used before 5.X),
> a corresponding file /etc/nsswitch.conf may be created automatically from
> the firts one.  This can explain why you didn't create it.

Actually, I've just checked a 5.4 system I'm building from scratch at the 
moment and it has host.conf & nsswitch.conf on it. host.conf says
"Auto-generated from nsswitch.conf"
Is this a circular argument? :-)

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpAAaYBTIjXV.pgp
Description: PGP signature


Re: web-based ldap user administration

2005-05-23 Thread Ian Moore
On Friday 20 May 2005 01:15, Tony Shadwick wrote:
>
> As a side note, i've been looking to learn how to use openldap for auth to
> go along with what I know about NIS.  Could you suggest some good reading?
>
I'm trying to do that myself. Have a look at 
http://books.blurgle.ca/read/chapter/1 - it's what I've been using as a 
guide.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpQc1Nw73fhq.pgp
Description: PGP signature


Re: NSSwitch settings on 5.4

2005-05-23 Thread Ian Moore
On Monday 16 May 2005 18:41, Uwe Laverenz wrote:
> On Mon, May 16, 2005 at 09:18:09AM +0930, Ian Moore wrote:
> > passwd: files ldap
> > group: files ldap
>
> This is correct and sufficient for local files + ldap.
>
> > On my 5.4-Release system, the default nsswitch.conf is:
>
> AFAIK there never  was a "default" nsswitch.conf in FreeBSD 5.4, I always
> had to create a new one from scratch.

Well there was one sitting on my system in /etc & I certainly didn't create 
it! This system started life as 5.2-RELEASE, so maybe it crept in earlier on?
>
> > group: compat
> > group_compat: nis
> > hosts: files dns
> > networks: files
> > passwd: compat
> > passwd_compat: nis
> > shells: files
>
> Nope, delete this.
>

Thanks, that got rid of the error messages.

> > Using the 'compat ldap' version, I get errors in /var/log/messages:
> >   May 13 22:42:26 daemon -csh: NSSWITCH(nsparser): /etc/nsswitch.conf 
> > line 1: 'compat' used with other sources
> >   May 13 22:42:26 daemon -csh: NSSWITCH(nsparser): /etc/nsswitch.conf 
> > line 5: 'compat' used with other sources
>
> man nsswitch.conf
Duh! I forgot to check for a man page for the conf file.
Thanks for your help,

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgp7nkyxcCZYd.pgp
Description: PGP signature


NSSwitch settings on 5.4

2005-05-15 Thread Ian Moore
Hi,
I'm trying to configure an openldap server on 5.4 and I'm unsure of what the 
correct settings in nsswitch.conf should be for a 5.4-Release system, since 
the default seems to be different to previous releases.
Perhaps someone here might know?

I've been using the guide at http://books.blurgle.ca/read/chapter/1 as a 
reference.
This document says you have these lines in your nsswitch.conf:
passwd: files ldap
group: files ldap

On my 5.4-Release system, the default nsswitch.conf is:
group: compat
group_compat: nis
hosts: files dns
networks: files
passwd: compat
passwd_compat: nis
shells: files

So should I have

group: compat ldap
passwd: compat ldap

or 

group: files ldap
passwd: files ldap

or some other combination?

Using the 'compat ldap' version, I get errors in /var/log/messages:
  May 13 22:42:26 daemon -csh: NSSWITCH(nsparser): /etc/nsswitch.conf  line 1:
  'compat' used with other sources
  May 13 22:42:26 daemon -csh: NSSWITCH(nsparser): /etc/nsswitch.conf  line 5:
  'compat' used with other sources

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpfcufap6TdC.pgp
Description: PGP signature


Re: upgrading net-snmp-5.2.1 gives error

2005-04-30 Thread Ian Moore
On Monday 28 March 2005 08:01, gustaaf wijnands wrote:
> Thomas Foster wrote:
> > Does it compile WITH_PERL="NO" ?
>
> It doesn't compile WITHOUT_PERL=yes
>
> > what version of autoconf and libtool are you using?
>
> pkg_info |grep autoconf
> autoconf-2.13.000227_5 Automatically configure source code on many Un*x
> platforms
> autoconf-2.59_2 Automatically configure source code on many Un*x
> platforms
>
> pkg_info |grep libtool
> libtool-1.3.5_2 Generic shared library support script (version 1.3)
> libtool-1.5.10_1Generic shared library support script (version 1.5)
>
> > and perl -v returns what version?
>
> perl -v
>
> This is perl, v5.8.6 built for i386-freebsd-64int
>
> perl -V
> Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
>Platform:
>  osname=freebsd, osvers=5.3-release-p5, archname=i386-freebsd-64int
>  uname='freebsd laptop.intern 5.3-release-p5 freebsd 5.3-release-p5
> #7: wed ja
> n 26 21:10:23 cet 2005
> [EMAIL PROTECTED]:usrobjusrsrcsysmykernel i386 '
>  config_args='-sde -Dprefix=/usr/local
> -Darchlib=/usr/local/lib/perl5/5.8.6/mach
> -Dprivlib=/usr/local/lib/perl5/5.8.6
> -Dman3dir=/usr/local/lib/perl5/5.8.6/perl
>/man/man3
> -Dman1dir=/usr/local/man/man1 -Dsitearch=/usr/local/lib/perl5/site_perl
>
>   /5.8.6/mach -Dsitelib=/usr/local/lib/perl5/site_perl/5.8.6
> -Dscriptdir=/usr/local
> /bin
> -Dsiteman3dir=/usr/local/lib/perl5/5.8.6/man/man3
> -Dsiteman1dir=/usr/local/m
> an/man1 -Ui_malloc -Ui_iconv
> -Uinstallusrbinperl -Dcc=cc -Doptimize=-O -pipe  -Du
>
> seshrplib -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.6/BSDPAN"
> -Ud_dosuid
>  -Ui_gdbm -Dusethreads=n -Dusemymalloc=y
> -Duse64bitint'
>  hint=recommended, useposix=true, d_sigaction=define
>  usethreads=undef use5005threads=undef useithreads=undef
> usemultiplicity=undef
>  useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
>  use64bitint=define use64bitall=undef uselongdouble=undef
>  usemymalloc=y, bincompat5005=undef
>Compiler:
>  cc='cc', ccflags
> ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.6/BSDPAN" -DHAS_FP
>
>SETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
> -I/usr/local/include',
>  optimize='-O -pipe ',
>  cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.6/BSDPAN"
> -DHAS_FPSETMASK -
>DHAS_FLOATINGPOINT_H -fno-strict-aliasing
> -pipe -I/usr/local/include'
>  ccversion='', gccversion='3.4.2 [FreeBSD] 20040728', gccosandvers=''
>  intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
>  d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
>  ivtype='long long', ivsize=8, nvtype='double', nvsize=8,
> Off_t='off_t', lseek
>   size=8
>  alignbytes=4, prototype=define
>Linker and Libraries:
>  ld='cc', ldflags =' -Wl,-E -L/usr/local/lib'
>  libpth=/usr/lib /usr/local/lib
>  libs=-lm -lcrypt -lutil
>  perllibs=-lm -lcrypt -lutil
>  libc=, so=so, useshrplib=true, libperl=libperl.so
>  gnulibc_version=''
>Dynamic Linking:
>  dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='
> -Wl,-R/usr/local/
>lib/perl5/5.8.6/mach/CORE'
>  cccdlflags='-DPIC -fPIC', lddlflags='-shared  -L/usr/local/lib'
>
>
> Characteristics of this binary (from libperl):
>Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
>Locally applied patches:
>  SUIDPERLIO0 - fix PERLIO_DEBUG local root exploit (CAN-2005-0155)
>  SUIDPERLIO1 - fix PERLIO_DEBUG buffer overflow (CAN-2005-0156)
>Built under freebsd
>Compiled at Feb  6 2005 20:47:58
>@INC:
>  /usr/local/lib/perl5/site_perl/5.8.6/mach
>  /usr/local/lib/perl5/site_perl/5.8.6
>  /usr/local/lib/perl5/site_perl/5.8.5
>  /usr/local/lib/perl5/site_perl/5.6.1
>  /usr/local/lib/perl5/site_perl
>  /usr/local/lib/perl5/5.8.6/BSDPAN
>  /usr/local/lib/perl5/5.8.6/mach
>  /usr/local/lib/perl5/5.8.6
>  .
>
> > what happens after running ldconfig -R
>
> still the same error. Any idea? Thank for helping me

Hi Gustaaf,
I'm having exactly the same problem upgrading net-snmp as you. Have you 
managed to fix the problem yet?
My system is pretty much identical to your's, except for autoconf:

%pkg_info | grep autoconf
autoconf-2.13.000227_5 Automatically configure source code on many Un*x 
platforms
autoconf-2.53_3 Automatically configure source code on many Un*x platforms
autoconf-2.59_2 Automatically configure source code on many Un*x platforms

Here's the output when I try to build it without perl:
daemon:/usr/ports/net-mgmt/net-snmp % sudo make -DWITHOUT_PERL="YES"
===>  Building for net-snmp-5.2.1_2
making all in /usr/ports/net-mgmt/net-snmp/work/net-

Re: Quicktime Plugin

2005-03-28 Thread Ian Moore
On Mon, 28 Mar 2005 19:42, dick hoogendijk wrote:
> On Mon, 28 Mar 2005 18:00:42 +0930
>
> Ian Moore <[EMAIL PROTECTED]> wrote:
> > On Mon, 28 Mar 2005 17:46, Warren wrote:
> > > Warren <[EMAIL PROTECTED]>
> >
> > Plugger (/usr/ports/www/plugger) will open some quicktime files,
> > though not  the nwer ones (last time I tried anyway).
>
> mplayer-plugin does a nice job though.

Yes it does! Just installed it & it plays trailers off apple's website, which 
plugger never did.

Thanks,
-- 
Ian

GPG Key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgp5iLaO8z05C.pgp
Description: PGP signature


Re: Quicktime Plugin

2005-03-28 Thread Ian Moore
On Mon, 28 Mar 2005 17:46, Warren wrote:
> Warren <[EMAIL PROTECTED]>

Plugger (/usr/ports/www/plugger) will open some quicktime files, though not 
the nwer ones (last time I tried anyway).

Cheers,
-- 
Ian

GPG Key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpwKma9MpgZl.pgp
Description: PGP signature


Re: /boot like linux!

2005-03-03 Thread Ian Moore
On Fri, 4 Mar 2005 10:09, Jesse Guardiani wrote:
> On Thursday 03 March 2005 5:41 pm, you wrote:
> > Jesse Guardiani wrote:
> > >Hello,
> > >
> > >I'm a FreeBSD 5.3 user as well as a Gentoo Linux user.
> > >In Gentoo linux, you only have to create 3 partitions:
> > >
> > >/boot
> > >swap
> > >/
> > >
> > >In FreeBSD, you seem to have to create many more:
> > >
> > >/
> > >swap
> > >/usr
> > >/var
> > >/tmp
> > >
> > >In particular, it seems that /boot MUST be on the same
> > >partition as /. This stinks, as now you have to create
> > >separate partitions for /usr and /var, which wastes space.
> > >
> > >I tried to make /boot it's own partition, and I succeeded,
> > >to a certain extent. I actually made /boot/boot, because
> > >the FreeBSD 5.3 boot manager wants to look under the /boot
> > >directory for "loader". If /boot is it's own partition, then
> > >you need a /boot/boot/loader.
> > >
> > >Anyway, that worked. The kernel boots now, but it prompts
> > >me at the beginning of the rc process for the root device.
> > >I give it:
> > >
> > >ufs:ad1s1d
> > >
> > >Which is my / partition, and it boots successfully.
> > >Is it possible to automate this process so that the loader
> > >knows to use ad1s1d as my root device?
> > >
> > >Thanks!
> >
> > I'm not sure I understand the problem. If you don't want to create more
> > partitions, then don't. You can make an 80gb (or 300gb, or whatever)
> > drive into two partitions - a swap partition (2gig) and a / partition
> > (78 gig) and install FreeBSD just fine.
>
> Doesn't the boot partition have to NOT have soft updates though?
> I created the setup you described about a year ago with 5.2.1, and
> I had serious problems if the system ever hard rebooted after a
> power failure. Single user manual fsck's and all that.
If that is true, then why not create /, /usr & /swap & symlink /var to 
somewhere on /usr (or vice versa).
>
> > It's *best* to make more
> > partitions (esp for /var) so that if something goes out of control
> > logging, or you just neglect your logs, it doesn't go and fill up your
> > only (ie / ) partition. Like most *nix OS's, it can be as simple or as
> > complicated as you want it to be.
>
> I want / + /boot. It's that simple.

-- 
Ian

GPG Key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpdt1kRDM6ML.pgp
Description: PGP signature


Re: Sendmail masquerading configuration

2005-02-23 Thread Ian Moore
On Sat, 19 Feb 2005 18:01, Ted Mittelstaedt wrote:
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Ian Moore
> > Sent: Wednesday, February 16, 2005 2:10 AM
> > To: Ted Mittelstaedt
> > Cc: Ruben de Groot; freebsd-questions@freebsd.org
> > Subject: Re: Sendmail masquerading configuration
> >
> > On Thu, 10 Feb 2005 22:14, Ted Mittelstaedt wrote:
> > > Ian Moore wrote:
> > > > On Wed, 9 Feb 2005 17:21, Ted Mittelstaedt wrote:
> > > >> I would probably install src/usr.sbin/ and recompile cron to use
> > > >> the -f flag.  The flags are settible in cron/config.h in
> >
> > the source,
> >
> > > >> FreeBSD uses
> > > >>
> > > >> #define MAILARGS "%s -FCronDaemon -odi -oem -oi -t"
> >
> >   /*-*/
> >
> > > >> just change this to
> > > >>
> > > >> #define MAILARGS "%s -FCronDaemon [EMAIL PROTECTED] -odi -oem -oi
> > > >> -t" /*-*/
> > > >>
> > > >> Ted
> > > >
> > > > Thanks, I'll give that a go.
> >
> > Hi,
> > Sorry, I'm still having trouble with this - my changes don't seem to
> > have had any effect, cron is still sending mail as
> > [EMAIL PROTECTED] (Cron Daemon)
> > I think I've done something wrong!
> >
> > What I did was:
> >
> > #cd /usr/src/usr.sbin/cron/cron
> > #ee config.h:
> > and I changed the line
> >   #define MAILARGS "%s -FCronDaemon -odi -oem -oi -t"
> > /*-*/
> >   to
> >   #define MAILARGS "%s [EMAIL PROTECTED] -odi -oem -oi
> > -t"  /*-*/
> >
> > (I assume the # at the beginning is correct?)
>
> Yes.  But, the line is incorrect - it needs to be the following:
>
> #define MAILARGS "%s -FCronDaemon [EMAIL PROTECTED] -odi -oem -oi
>
> See my earlier posting for this.   "man sendmail" also will explain the
> flags a bit as well.
>
> The rest of the stuff is fine.
>
> Ted

Thanks Ted, - I should have read more carefully.

Well that sort of works - cron jobs get sent from [EMAIL PROTECTED] 
except for the periodic jobs, which are still sent from 
root@.hamcoll.sa.edu.au. Perhaps periodic sends the emails itself 
instead of cron, though looking at it's source I can't see how.

Also, I still need to adjust my sendmail config on the server that is our 
local smtp server. It seems to be putting the hostname back in cron's emails.

Cheers,
-- 
Ian

GPG Key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpMM3BdU9mV8.pgp
Description: PGP signature


Problem re-compiling ogmrip

2005-02-18 Thread Ian Moore
Hi,
I'm trying to complete the update of perl on my 5.3R system and I'm having 
trouble with multimedia/ogmrip (ogmrip-0.6.2). When I ran the portupgrade 
command as specified in UPDATING, it all went ok until it got to ogmrip, 
where it just hung. Eventually I pressed Ctrl+C and it skipped it and 
continued with the upgrade.
At the end several ports had failed:
** Listing the failed packages (*:skipped / !:failed)
removed  ! print/teTeX-latex2e (teTeX-latex2e-1.0.20031201)  (port 
directoryerror)
! www/firefox (firefox-1.0_7,1) (unknown build error)
* www/flashplugin-firefox (flashplugin-firefox-0.4.12)
! graphics/librsvg2 (librsvg2-2.8.1_1)  (unknown build error)
* x11-fm/nautilus2 (nautilus2-2.8.2_1)
! multimedia/ogmrip (ogmrip-0.6.2)  (interrupted by user)
* graphics/gimp (gimp-gnome-2.2.3,1)
* sysutils/gnomecontrolcenter2 (gnomecontrolcenter2-2.8.1_2)
! misc/xfce4-panel-themes (xfce4-panel-themes-4.0.6_1)  (invalid 
package name)
* x11-wm/xfce4 (xfce-4.0.6_1)

So I then  tried to update those by hand. I've succeeded with some, but ogmrip 
just hangs every time at the same place. (See below for the build output). 
Can anyone suggest a way around this? I looked for a package to install 
instead, but there is none.
My make.conf has:
NO_PF=true
CPUTYPE=athlon-xp
CFLAGS= -O -pipe
COPTFLAGS= -O -pipe
NOPROFILE= true# Avoid compiling profiled libraries
X_WINDOW_SYSTEM=xorg
CUPS_OVERWRITE_BASE=yes
NO_LPR=yes
# added by use.perl 2005-02-13 09:28:53
PERL_VER=5.8.6
PERL_VERSION=5.8.6

Here is the output of the build:

daemon:~ % sudo portupgrade -f ogmrip-0.6.2
Password:
--->  Reinstalling 'ogmrip-0.6.2' (multimedia/ogmrip)
--->  Building '/usr/ports/multimedia/ogmrip'

===>  Cleaning for ogmrip-0.6.2
===>  Extracting for ogmrip-0.6.2
=> Checksum OK for ogmrip-0.6.2.tar.gz.
===>  Patching for ogmrip-0.6.2
===>   ogmrip-0.6.2 depends on executable: mencoder - found
===>   ogmrip-0.6.2 depends on executable: oggenc - found
===>   ogmrip-0.6.2 depends on executable: ogmmerge - found
===>   ogmrip-0.6.2 depends on executable: lame - found
===>   ogmrip-0.6.2 depends on executable: gocr - found
===>   ogmrip-0.6.2 depends on file: /usr/local/bin/libtool15 - found
===>   ogmrip-0.6.2 depends on 
file: /usr/X11R6/libdata/pkgconfig/gnome-mime-data-2.0.pc - found
===>   ogmrip-0.6.2 depends on executable: pkg-config - found
===>   ogmrip-0.6.2 depends on file: /usr/local/bin/intltool-extract - found
===>   ogmrip-0.6.2 depends on shared library: xvidcore - found
===>   ogmrip-0.6.2 depends on shared library: dvdread - found
===>   ogmrip-0.6.2 depends on shared library: enchant - found
===>   ogmrip-0.6.2 depends on shared library: X11.6 - found
===>   ogmrip-0.6.2 depends on shared library: esd.2 - found
===>   ogmrip-0.6.2 depends on shared library: glib-2.0.400 - found
===>   ogmrip-0.6.2 depends on shared library: atk-1.0.800 - found
===>   ogmrip-0.6.2 depends on shared library: pango-1.0.600 - found
===>   ogmrip-0.6.2 depends on shared library: gtk-x11-2.0.400 - found
===>   ogmrip-0.6.2 depends on shared library: linc.1 - found
===>   ogmrip-0.6.2 depends on shared library: IDL-2.0 - found
===>   ogmrip-0.6.2 depends on shared library: ORBit-2.0 - found
===>   ogmrip-0.6.2 depends on shared library: glade-2.0.0 - found
===>   ogmrip-0.6.2 depends on shared library: xml2.5 - found
===>   ogmrip-0.6.2 depends on shared library: xslt.2 - found
===>   ogmrip-0.6.2 depends on shared library: bonobo-2.0 - found
===>   ogmrip-0.6.2 depends on shared library: gconf-2.5 - found
===>   ogmrip-0.6.2 depends on shared library: gnomevfs-2.800 - found
===>   ogmrip-0.6.2 depends on shared library: gnomecanvas-2.800 - found
===>   ogmrip-0.6.2 depends on shared library: art_lgpl_2.5 - found
===>   ogmrip-0.6.2 depends on shared library: gnome-2.800 - found
===>   ogmrip-0.6.2 depends on shared library: bonoboui-2.0 - found
===>   ogmrip-0.6.2 depends on shared library: gnomeui-2.800 - found
===>   ogmrip-0.6.2 depends on shared library: X11.6 - found
===>  Configuring for ogmrip-0.6.2
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking build sy

Re: Sendmail masquerading configuration

2005-02-16 Thread Ian Moore
On Thu, 10 Feb 2005 22:14, Ted Mittelstaedt wrote:
> Ian Moore wrote:
> > On Wed, 9 Feb 2005 17:21, Ted Mittelstaedt wrote:
> >> I would probably install src/usr.sbin/ and recompile cron to use
> >> the -f flag.  The flags are settible in cron/config.h in the source,
> >> FreeBSD uses
> >>
> >> #define MAILARGS "%s -FCronDaemon -odi -oem -oi -t" /*-*/
> >>
> >> just change this to
> >>
> >> #define MAILARGS "%s -FCronDaemon [EMAIL PROTECTED] -odi -oem -oi
> >> -t" /*-*/
> >>
> >> Ted
> >
> > Thanks, I'll give that a go.
> > BTW, using C{E} instead if C{E}root plus the MASQUERADE_AS
> > macro doesn't seem
> > to work.  I didn't try the MASQUERADE_ENVELOPE macro with it though.
> > Actually, even sending mail as my own local user on the system
> > ends up with
> > the hostname added in. Perhaps I'm doing something wrong.
> > Anyway, from what you've both said, rebuilding cron sounds
> > like a better
> > solution. Once I've modified the source, do I just do a make install
> > from the /usr/src/usr.sbin/cron directory?
>
> It would be better to mv the existing cron binary to cron.backup, then
> copy the cron binary from the build directory.  No point in changing
> anything else, the binary is the only thing that changes.

Hi,
Sorry, I'm still having trouble with this - my changes don't seem to 
have had any effect, cron is still sending mail as 
[EMAIL PROTECTED] (Cron Daemon)
I think I've done something wrong!

What I did was:

#cd /usr/src/usr.sbin/cron/cron
#ee config.h:
and I changed the line
  #define MAILARGS "%s -FCronDaemon -odi -oem -oi -t"  /*-*/
  to
  #define MAILARGS "%s [EMAIL PROTECTED] -odi -oem -oi -t"  /*-*/

(I assume the # at the beginning is correct?)

then I did:
/usr/src/usr.sbin/cron/cron# cd ..
/usr/src/usr.sbin/cron# make
===> lib
Warning: Object directory not changed from original 
/usr/src/usr.sbin/cron/lib
cc -O -pipe  -I/usr/src/usr.sbin/cron/lib/../cron -DLOGIN_CAP  -c entry.c
cc -O -pipe  -I/usr/src/usr.sbin/cron/lib/../cron -DLOGIN_CAP  -c env.c
cc -O -pipe  -I/usr/src/usr.sbin/cron/lib/../cron -DLOGIN_CAP  -c misc.c
building static cron library
ranlib libcron.a
===> cron
Warning: Object directory not changed from original 
/usr/src/usr.sbin/cron/cron
cc -O -pipe  -DLOGIN_CAP  -c cron.c
cc -O -pipe  -DLOGIN_CAP  -c database.c
cc -O -pipe  -DLOGIN_CAP  -c do_command.c
cc -O -pipe  -DLOGIN_CAP  -c job.c
cc -O -pipe  -DLOGIN_CAP  -c user.c
cc -O -pipe  -DLOGIN_CAP  -c popen.c
cc -O -pipe  -DLOGIN_CAP   -o cron cron.o database.o do_command.o job.o 
user.o popen.o /usr/src/usr.sbin/cron/cron/../lib/libcron.a -lutil
gzip -cn cron.8 > cron.8.gz
===> crontab
Warning: Object directory not changed from original 
/usr/src/usr.sbin/cron/crontab
cc -O -pipe  -I/usr/src/usr.sbin/cron/crontab/../cron  -c crontab.c
cc -O -pipe  -I/usr/src/usr.sbin/cron/crontab/../cron   -o crontab 
crontab.o /usr/src/usr.sbin/cron/crontab/../lib/libcron.a -lutil
gzip -cn crontab.1 > crontab.1.gz
gzip -cn crontab.5 > crontab.5.gz

(Are the warnings are harmless?)
Then:
# /etc/rc.d/cron stop
# cp /usr/src/usr.sbin/cron/cron/cron /usr/sbin
# chmod 555 /usr/sbin/cron
# /etc/rc.d/cron start

Cheers,
-- 
Ian

GPG Key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpGkcNWxl2Ag.pgp
Description: PGP signature


Re: Dumb question about ports/packages

2005-02-11 Thread Ian Moore
On Fri, 11 Feb 2005 17:50, Matt Rechkemmer wrote:
> On Tue, Feb 08, 2005 at 09:45:07AM -0500, Lowell Gilbert wrote:
> These are probably RTFM questions, but I didn't seem to find a mention of
> the base system packages in the UPGRADING document.  So how would one
> update a base package, check it out of CVS and just compile/install like
> normal?

There are 2 UPDATING files - /usr/ports/UPDATING for the ports collection 
& /usr/src/UPDATING for the base system.

> Should upgrading the entire system become a necessity (say 4.10 to 4.11),
> would a reboot be *absolutely* necessary?
Yes, if you update your kernel, you can't load it except by re-booting.
The 'correct' and safest way to update is to do the update, as the handbook 
says, involves doing

# mergemaster -p
# make installworld
# mergemaster
# reboot
in single user mode.

>
> Final question :-), is there anyway to determine if a base package is out
> of date? Or is just wise to leave the base alone and upgrade when a new
> release comes along.

You should at least update your system when security vulnerabilities occur in 
the base system. To minimise upgrades, follow the security  branch for your 
release - this only has security fixes, not new features. See the handbook 
for details. Subscribe to the Security Notifications list to get notification 
of base system vunerabilities.

Cheers,
-- 
Ian

GPG Key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpCYVlBgi3rG.pgp
Description: PGP signature


Re: Sendmail masquerading configuration

2005-02-10 Thread Ian Moore
On Wed, 9 Feb 2005 17:21, Ted Mittelstaedt wrote:
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Ruben de Groot
> > Sent: Tuesday, February 08, 2005 4:47 AM
> > To: Ted Mittelstaedt
> > Cc: Ian Moore; freebsd-questions@freebsd.org
> > Subject: Re: Sendmail masquerading configuration
> >
> > > X-Authentication-Warning: myhost.foo.bar: root set sender to
> > > someuser using -f
> >
> > Sorry, but this simply isn't true. I have just tested this. Warnings
> > like this might get generated when you remove root from the
> > TRUSTED_USERS macro; *NOT* when you remove it from EXPOSED_USERS.
>
> Your right, me bad!
>
> > > It also makes it harder to troubleshoot when someone external to
> > > your system is sending bogus junk to you.
> >
> > I agree. As I said in the part of my message you snipped:
> >
> > "BTW, I agree that masquerading is NOT the proper way to do
> > these things."
> >
> > > And while it's not applicable now, with older versions of sendmail
> > > this would definitely break all your scripts that used e-mail.
> > >
> > > Use of the -f flag is what he needs to do.
> >
> > Fine. But the OP's problem concerned mail send by cron. How would you
> > instruct cron to use the -f flag? (There's a MAILTO environment
> > variable in cron, but no MAILFROM)
>
> I would probably install src/usr.sbin/ and recompile cron to use
> the -f flag.  The flags are settible in cron/config.h in the source,
> FreeBSD uses
>
> #define MAILARGS "%s -FCronDaemon -odi -oem -oi -t" /*-*/
>
> just change this to
>
> #define MAILARGS "%s -FCronDaemon [EMAIL PROTECTED] -odi -oem -oi -t"
> /*-*/
>
> Ted
>
Thanks, I'll give that a go.
BTW, using C{E} instead if C{E}root plus the MASQUERADE_AS macro doesn't seem 
to work.  I didn't try the MASQUERADE_ENVELOPE macro with it though. 
Actually, even sending mail as my own local user on the system ends up with 
the hostname added in. Perhaps I'm doing something wrong.
Anyway, from what you've both said, rebuilding cron sounds like a better 
solution. Once I've modified the source, do I just do a make install from 
the /usr/src/usr.sbin/cron directory?

Cheers,
-- 
Ian

GPG Key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpHntFKYxYAy.pgp
Description: PGP signature


Re: Sendmail masquerading configuration

2005-02-06 Thread Ian Moore
On Sun, 6 Feb 2005 20:58, Ted Mittelstaedt wrote:
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of Ian Moore
> > Sent: Sunday, February 06, 2005 2:07 AM
> > To: freebsd-questions@freebsd.org
> > Subject: Sendmail masquerading configuration
> >
> >
> > Hi,
> > I'm hoping someone can help me with this.
> >
> > I want to make sendmail (on a 5.3-Release server) leave the
> > host name out of
> > the sender address when sending mail from that machine.
> > I.E. mail from root currently has a sender address of
> > [EMAIL PROTECTED], I
> > want it to be [EMAIL PROTECTED] instead.
>
> Not possible, I think, as I recall masquerading only works on
> users not in the T macro. (ie: Trusted Users)  root is
> most definitely in this macro.

I guess even if I redirect root's mail to another user & forward that to my 
account on the ISP's server, it wouldn't work for the same reason.

> Masquerading is a bullshit way of doing this kind of
> thing anyhow.  Use the -f switch if your calling the sendmail
> binary directly from programs.  If your using /bin/mail
> as a MUA, then get a better one like Elm or Pine that
> lets you do this.

It's mail from cron, periodic etc. that I want to redirect to my work email 
account, so i can tell if my server is still alive when I'm on holidays.
This wasn't a problem until a few days ago when our ISP started blocking mail 
with a hostname attached.

Cheers,
-- 
Ian

GPG Key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpH60brefiAZ.pgp
Description: PGP signature


Sendmail masquerading configuration

2005-02-06 Thread Ian Moore
Hi,
I'm hoping someone can help me with this.

I want to make sendmail (on a 5.3-Release server) leave the host name out of 
the sender address when sending mail from that machine.
I.E. mail from root currently has a sender address of [EMAIL PROTECTED], I 
want it to be [EMAIL PROTECTED] instead.

I need to do this because our "smart host" mail server (over which I have no 
control) rejects mail from our domain if it has a hostname in it. Since my 
server is in a VPN, I forward root's mail to my own account on the 'smart 
host' server to make it accessible from outside the VPN.

I think that the masquerading settings have changed somewhat since I last did 
this. I read http://www.sendmail.org/m4/masquerading.html, it suggests 
MASQUERADE_AS(`host.domain') but when I tried that, it didn't work.

I believe it used to be just a matter of adding Dmfoo.bar to sendmail.cf & 
restart sendmail, but that doesn't work.
I have commented out the C{E}root line so that doesn't override the Dm setting 
for root.

Sorry this OT, I did try to find somewhere else to ask this question, but the 
newsgroup listed on the sendmail site doesn't seem to exist (according to my 
news reader) so I'm asking here instead.

Cheers,

-- 
Ian
GPG Key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgp8N5V6qQPzd.pgp
Description: PGP signature


Re: realplay-10

2005-02-02 Thread Ian Moore
On Thu, 3 Feb 2005 09:09, Gary Kline wrote:
> On Tue, Feb 01, 2005 at 09:52:56PM +1030, Ian Moore wrote:
> > On Tue, 1 Feb 2005 19:32, Gary Kline wrote:
> > > On Tue, Feb 01, 2005 at 04:59:40PM +1030, Ian Moore wrote:
> > > > On Tue, 1 Feb 2005 10:16, Gary Kline wrote:
> >
> > from man fc-cache:
> > NAME
> >fc-cache,  fonts.cache  -  create  an index of FreeType font files
> > in a directory
> >
> > It's normally run when you add new fonts to your system. Of course if you
> > use kde's font control panel or something similar, it runs fc-cache for
> > you. It's part of X & lives in /usr/X11R6/bin/
> >
> > When you install linux-base, is installs a linux version too
> > (under /usr/compat/linux), but it appears to use the FBSD configuration
> > somehow, since running fc-cache fixes the cache for linux apps as well as
> > native ones.
>
>   Thanks for the datapoint.  Where do I chdir to to run fc-cache?
>   (There seem to be font files scattered all over the place.)
>
>   gary
You don't have to chdir anywhere, just run it.
The man pages says:
   If directory arguments are not given, fc-cache uses each  directory  in
   the  current  font  configuration.   Each directory is scanned for font
   files readable by FreeType.  A cache is created which contains  proper-
   ties  of  each font and the associated filename.  This cache is used to
   speed application startup when using the fontconfig library.
So it must look at your X config file & finds out where the font directories 
are from that.

Cheers,
-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpBVM7OM2WE9.pgp
Description: PGP signature


Re: realplay-10

2005-02-01 Thread Ian Moore
On Tue, 1 Feb 2005 19:32, Gary Kline wrote:
> On Tue, Feb 01, 2005 at 04:59:40PM +1030, Ian Moore wrote:
> > On Tue, 1 Feb 2005 10:16, Gary Kline wrote:
> > > Folks,
> > >
> > > I never got any responses over the weekend; maybe people
> > > who knew were of skiing or whatever.
> > >
> > > Does realplay-10 work on FBSD-4.10?  I have it successfully
> > > installed, almost push-button, on my two 5.3 platforms.
> > > But here on "tao",  no-joy.  I get a strange error message
> > > about fontconfig.  No more.
> > >
> > > Anybody??
> > >
> > > gary
> >
> > I had that problem last week - all you need to do is run fc-cache as
> > root.
>
>   Not to e rude or anything, but what the heck is 'fc-cache'?
>   What is it? what's it do? where is the binary amd assoc files?
>
>   gary

from man fc-cache:
NAME
   fc-cache,  fonts.cache  -  create  an index of FreeType font files in a
   directory

It's normally run when you add new fonts to your system. Of course if you use 
kde's font control panel or something similar, it runs fc-cache for you.
It's part of X & lives in /usr/X11R6/bin/

When you install linux-base, is installs a linux version too 
(under /usr/compat/linux), but it appears to use the FBSD configuration 
somehow, since running fc-cache fixes the cache for linux apps as well as 
native ones.

Cheers,
-- 
Ian Moore

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpKiA9kyS6U6.pgp
Description: PGP signature


Re: realplay-10

2005-01-31 Thread Ian Moore
On Tue, 1 Feb 2005 10:16, Gary Kline wrote:
> Folks,
>
> I never got any responses over the weekend; maybe people
> who knew were of skiing or whatever.
>
> Does realplay-10 work on FBSD-4.10?  I have it successfully
> installed, almost push-button, on my two 5.3 platforms.
> But here on "tao",  no-joy.  I get a strange error message
> about fontconfig.  No more.
>
> Anybody??
>
> gary

I had that problem last week - all you need to do is run fc-cache as root.

Cheers,
-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpHdUSFr07Rt.pgp
Description: PGP signature


Re: SSH suddenly giving pam error for existing user

2005-01-31 Thread Ian Moore
On Mon, 24 Jan 2005 19:12, Ian Moore wrote:
> On Wed, 19 Jan 2005 18:33, Ian Moore wrote:
> > Hi,
> > I can normally ssh to my home computer (using password authentication),
> > but today it's stopped working. The last time I did it was about 9 days
> > ago from work & it worked then.
> > The console log shows:
> > Jan 19 17:04:25 daemon sshd[61084]: error: PAM: authentication error for
> > imoore from firewall.
> >
> > I've tried connecting from 2 different remote hosts, one at work &
> > another elsewhere - same result.
> >
> > When I got home today, I tried creating a new user & then ssh'ed to a
> > remote machine & ssh'ed back to mine with the new username.
> > I was able to log in OK as the new user.
> >
> > I then changed the password for my normal user & tried to ssh back with
> > the new password, but I still can't login.
> >
> > I'm running 5.3-RELEASE-p2. I have upgraded a few ports since ssh last
> > worked - openoffice and a few bit & pieces - I'm not sure what exactly.
> > I haven't altered my ipfw config in that time, nor have I upgraded the
> > base system or kernel.
> >
> > Can anyone think what might have caused this?
> >
> > Cheers,
>
> Hi, I'm still having trouble with this.
> I figured I should be able to fix it by renaming my home directory, then
> use rmuser to delete my account & create a new account with the same uid.
>
> Well I figured wrongly! I still couldn't ssh to my new account.
>
> Then I tried deleting that account & creating a new one with the same name
> but a different UID - still no joy. I just get "error: PAM: authentication
> error for imoore" every time.
>
> So why does it work for new user with a different username? Is PAM somehow
> keeping the old password somewhere?
>
> Cheers,

Just for the record, I found the problem - I'd added 
-:wheel:ALL EXCEPT LOCAL
to /etc/login.access


-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgp9vDFsxfE0E.pgp
Description: PGP signature


Re: FreeBSD browsers...

2005-01-30 Thread Ian Moore
I forgot to check this was forwarded to the list too!
On Mon, 31 Jan 2005 17:30, Ian Moore wrote:
> On Mon, 31 Jan 2005 02:22, you wrote:
> > On Sunday 30 January 2005 05:40 am, you wrote:
> > > Are you using the native firefox or the linux version? I would suggest
> > > you use the native version (and mybe remove any linux versions you have
> > > installed to avoid any confusion).
> > >
> > > If you have the native one, have you installed the linuxpluginwrapper
> > > port?
> > >
> > > If you have done all that, it should now just be a matter of installing
> > >  - acroread
> > >  - linux-flashplugin
> > >  - linux-realplayer
> >
> > After sending the email, I kept working on it and discovered the info
> > from linuxpluginwrapper about libmap.conf.
> >
> > Using /etc/libmap.conf, I can run native mozilla and native firefox from
> > a command line and get no messages about missing libraries.
> >
> > I have the following ports:
> > mozilla-1.7.5_1,2
> > firefox-1.0_7,1
> > firefox-remote-20040803
> > linux-flashplugin-6.0r79_2
> > linuxpluginwrapper-20050119
> > linux-realplayer-10.0.2_1
> > acroread-5.10_1
> >
> >
> > I removed flashplugin-firefox because it only supports really old flash
> > version.  The linux-flashplugin correctly displayed flash on
> > http://www.t-zones.co.uk/newsexpress for example.
> >
> > I don't know if linux-realplayer is actually found by mozilla or firefox
> > because about:plugins says:
> > Helix DNA Plugin: RealPlayer G2 Plug-In Compatible
> >
> > File name: nphelix.so
> > Helix DNA Plugin: RealPlayer G2 Plug-In Compatible version 0.4.0.404
> > built with gcc 3.2.0 on Dec 14 2004
> >
> > If that's player 10, it won't play anything I've found goint to real
> > player's home page.
>
> Yes, Helix is the open source developer for realplayer
> https://helixcommunity.org/
>
> Try the sample real audio files at
> http://www.linspire.com/file_types/filetypes.php
>
> They work on my system. Does realplayer open when you click on a streaming
> audio link, or do you just get a "missing plugin" type of message? If
> realplayer opens, then the plugin part works, even if realplayer can't play
> a particular file or stream.
>
> > When I try to open a pdf with firefox, it launches acrobat, but it
> > freezes "Initializing ewh.api". This pdf is in my home directory and is a
> > version 1.2 pdf. No error is displayed on the console.
> >
> > When I try to open that same pdf with mozilla, I get:
> > /usr/local/Acrobat5/Reader/intellinux/bin/acroread: error while loading
> > shared libraries: /usr/local/lib/libartsdsp.so.0: ELF file OS ABI invalid
>
> Acrobat Reader works fine on my 5.3 system. I gather from your other posts
> that you can open your pdf in acrobat directly. All I can suggest with this
> one is to try another file, but I don't expect it would be any different.
> Admittedly I only use firefox when Konqueror can't open a web page properly
> & it uses kpdf or something to open pdfs.
>
>
> BTW, I actually have /usr/ports/www/plugger installed too - forgot to
> mention that one. It allows firefox to open access all sorts of file types.
> And you can test them at http://fredrik.hubbe.net/plugger/test.html
>
> That may solve some of your current problems (or it might just muddy the
> waters).
>
> Cheers,

-- 
Ian
GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpyJ0UyGcnSi.pgp
Description: PGP signature


Re: FreeBSD browsers...

2005-01-30 Thread Ian Moore
On Sun, 30 Jan 2005 09:59, Steven Friedrich wrote:
> I've going crazy trying to figure out the browser situation on FreeBSD.
>
> Could someone in the know, create a chart showing the various browsers and
> what plugins are available for each?
>
> I mean, damn, there's Mozilla, Linux Mozilla, Opera, (probably linux
> opera), Konqueror, Firefox.
>
> I'm trying to get plugins working in Firefox, and have been having lots of
> trouble, so I installed Mozilla, figuring I might get smarter and be able
> to find out how it knows where plugins are.  Then I realize (perhaps
> incorrectly, that firefox can use plugins for Linux Mozilla, not native
> mozilla...
>
> I've tried to use the info at http://plugindoc.mozdev.org/linux.html but I
> still can't get things to work.

Are you using the native firefox or the linux version? I would suggest you use 
the native version (and mybe remove any linux versions you have installed to 
avoid any confusion).

If you have the native one, have you installed the linuxpluginwrapper port?

If you have done all that, it should now just be a matter of installing
 - acroread
 - linux-flashplugin
 - linux-realplayer

Then check the entries in /etc/libmap.conf and copy into it any lines you need 
from /usr/local/share/examples/linuxplugginwrapper (as stated in the 
pkg_message for the linuxpluginwrapper)

My /etc/libmap.conf looks like this:

libc_r.so.5 libpthread.so.1
libc_r.so   libpthread.so

# Flash6 with Konqueror (temporary setting)
[/usr/local/lib/linux-flashplugin6/libflashplayer.so]
libpthread.so.0 pluginwrapper/flash6.so
libdl.so.2  pluginwrapper/flash6.so
libz.so.1   libz.so.2
libstdc++-libc6.2-2.so.3libstdc++.so.4
libm.so.6   libm.so.2
libc.so.6   pluginwrapper/flash6.so

# Helix RealPlayer with Mozilla/Firebird/Galeon/Epiphany/Konqueror
[/usr/local/lib/linux-mozilla/plugins/nphelix.so]
libstdc++.so.5  libstdc++.so.4
libc.so.6   pluginwrapper/realplayer.so

# Acrobat with Mozilla/Firebird/Galeon/Epiphany/Konqueror
[/usr/local/Acrobat5/Browsers/intellinux/nppdf.so]
libc.so.6   pluginwrapper/acrobat.so

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

Hope that helps you sort it out.

Cheers,
-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpe3ZVsEnlLp.pgp
Description: PGP signature


Re: Installing the JDK without Xorg

2005-01-29 Thread Ian Moore
On Sun, 30 Jan 2005 01:29, Pat Maddox wrote:
> Thanks for the help.  I got a suggestion on a forum to build it as a
> package..."make MINIMAL=yes package"  I haven't created a package from
> a port, so I'm not entirely sure what that'll do.  It installed Java
> fine and left me with a bzip2 file.  Does this mean I can just copy
> that file to any other machine I'm using and install Java as a
> package, so I don't have to wait the long time for it to build?  Or
> would it be better just to build it all on each machine anyway?
>
Yes, making a package means you can install that on other machines using 
pkg_add. This is a great idea, since you don't have to go through the agony 
of building the linux jdk again to bootstrap the compile on the other 
machine(s).
One caveat - if you have make options that optimise the build for a particular 
processor, you may run into trouble running it on other processors.

Cheers,
Ian

>
> On 29 Jan 2005 09:56:11 -0500, Lowell Gilbert
>
> <[EMAIL PROTECTED]> wrote:
> > Pat Maddox <[EMAIL PROTECTED]> writes:
> > > I've installed the native jdk14 successfully, but noticed that it
> > > installed Xorg along with it.  I imagine that's a dependency for the
> > > Java plugin or something.  I'm using this machine just as a test
> > > server, I won't be using X at all, so I'd like to build jdk14 without
> > > having to build and install Xorg as well.  Is it possible to do that?
> >
> > The actual dependency in the jdk14 port seems to be Open Motif, and
> > there are no knobs to turn it off.  I'm not sure why that is; you may
> > need to talk to the port authors (or try changing it yourself) to
> > understand why it's required.
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

-- 
Ian
GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpk7WwMg89iY.pgp
Description: PGP signature


Re: Backup to CD-Rs and DVDs

2005-01-29 Thread Ian Moore
On Sat, 29 Jan 2005 22:30, Xian wrote:
> On Saturday 29 January 2005 01:51, Carleton Vaughn wrote:
> > Ian Moore wrote:
> > > Anyway, to backup /usr directly to a dvd(+rw), I use the this command:
> > > dump -0 -uL -C16 -B4589840 -P 'growisofs -speed=4 -Z /dev/dvd=/dev/fd/0
> > > ' /usr This gives you a dvd or series of dvds with the dump file on
> > > them. You can then boot from CD2 (live system) and use restore to
> > > restore the data. If the link above is the one I think it is, it gives
> > > you an example restore command.
> >
> > I'm in the same boat as Xian.  I want to backup to DVD so I can upgrade
> > to 5.3.  dump in 4.10 does not have a -P option, and growisofs says
> > nothing about handling spanning, so how do I span my dump over multiple
> > DVDs?
> >
> > dump -h0 -B 4589840 -S /usr says I'm going to need 6.18 "tapes".  I'm
> > going to crack open a beer and just pipe it, to see what happens.
> >
> > Then some day if all goes well I will split /usr into /usr and /usr/home,
> > 'cause this is ridiculous.
> >
> > Thanks.
>
> I have another machine running 4.9 (also without the -P option for dump)
> and the way I get round it is to create the dump on another disk in pieces
> then transfer them to another machine for burning.
>
>  dump  -B -f /home/usr.dump /usr
>
> /usr and /home are on different disks. Then when dump asks me if the next
> volume is ready I move /home/usr.dump to /home/usr/dump.1, then tell dump
> yes. And so on until dump has finished
>
> However I am having some issues with this. I transfer them to another
> machine, (checking the md5 of them is the same before and after transfer
> them), and test it with restore
>
>  restore -Nxvb 2 -f usr.dump.1
>
> and the first volume works fine, it says 'End-of-tape encountered'. I start
> the next volume and it tells me
>
>  unexpected tape header
>  abort? [yn]
>
> What could be doing this and how do I fix it?

That was how I was considering doing backups in DVD sized chunks until I found 
out the -P option in 5.3.
I've just tried doing it in 5.3 & works. Here's what I actually did:

%sudo dump -1 -B 5 -f /mnt/backups/var.dump /var
When prompted for tape 2, in a second xterm I did:
%sudo mv var.dump var.dump.1
Then back in xterm1, I said yes to the continue prompt. The dump completed.

To restore I did:
%restore -Nxvf /mnt/backups/var.dump.1
When asked which tape to use, I said 1
When prompted for tape 2, in xterm2 I did:
%sudo mv var.dump.1 var.dump.a
%sudo mv var.dump var.dump.1
Then back in xterm1:
End-of-tape encountered
You have read volumes: 1
Specify next volume #: 2
Mount tape volume 2
Enter ``none'' if there are no more tapes
otherwise enter tape name (default: /mnt/backups/var.dump.1) none
extract file ./db/entropy/saved-entropy.6

extract file ./tmp/kdecache-root/ksycoca
Add links
Set directory mode, owner, and times.
set owner/mode for '.'? [yn] n

So it works in 5.3, maybe there is a bug in the old dump or restore program?
NB, I didn't need to use -b 2 in the restore command. Perhaps you should try 
it without that switch.

Cheers,
-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpTsHuZPUT7d.pgp
Description: PGP signature


Re: Backup to CD-Rs and DVDs

2005-01-28 Thread Ian Moore
On Fri, 28 Jan 2005 05:49, Xian wrote:
> On Thursday 27 January 2005 12:39, Xian wrote:
> > On Thursday 27 January 2005 10:37, Ian Moore wrote:
> > > > Hope that's the kind of thing you are after.
> > > >http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/dump/main.c?rev=1.59&co
> > > >nt en t-type=text/x-cvsweb-markup Cheers,
> >
> > That's exactly what I'm looking for thanks.
> > I tried it with a CD-RW like this
> >  dump -0 -L -C16 -B716800 -P 'burncd -e blank data - fixate' /var
> > and it works well. I'll try DVDs when I have some.
> >
> > THANKS :D

Glad I could help :-)
>
> I just found that I need to use the -b 2 switch with restore, does that
> mean I need to use it with dump as well?

I'm not sure, but if you are able to successfully retore dumps made without -b 
2, then I guess you don't need t!.

Cheers,
-- 
Ian Moore

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgp77xufpFUig.pgp
Description: PGP signature


Re: Backup to CD-Rs and DVDs

2005-01-27 Thread Ian Moore
On Thu, 27 Jan 2005 20:23, Ian Moore wrote:
> On Thu, 27 Jan 2005 11:30, Xian wrote:
> > I don't have any DVD-Rs of any format yet so I was messing about with
> > CDs. I found I could burn files to the CD in a variety of ways but I
> > can't get them back again.
> > I've used dd and burncd to put the file onto a CD and dd sometimes gets
> > something back too, but never works properly.
> > Any ideas how to do this properly?
>
> I think this is what you are looking for (lists.freebsd.org seems to down
> at the moment, so I can't confirm this is the thread I think it is):
> http://lists.freebsd.org/pipermail/freebsd-questions/2004-November/064560.h
>tml

Sorry, that's not the right link, try this instead:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/dump/main.c?rev=1.59&content-type=text/x-cvsweb-markup
It's not the link I had originally, why didn't I bookmark it? :(

Cheers,
Ian

> Anyway, to backup /usr directly to a dvd(+rw), I use the this command:
> dump -0 -uL -C16 -B4589840 -P 'growisofs -speed=4 -Z /dev/dvd=/dev/fd/0 '
> /usr This gives you a dvd or series of dvds with the dump file on them. You
> can then boot from CD2 (live system) and use restore to restore the data.
> If the link above is the one I think it is, it gives you an example restore
> command.
>
> Hope that's the kind of thing you are after.
>http://www.freebsd.org/cgi/cvsweb.cgi/src/sbin/dump/main.c?rev=1.59&content-type=text/x-cvsweb-markup
> Cheers,

-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgp0mjNiuv7fy.pgp
Description: PGP signature


Re: Backup to CD-Rs and DVDs

2005-01-27 Thread Ian Moore
On Thu, 27 Jan 2005 11:30, Xian wrote:
> I don't have any DVD-Rs of any format yet so I was messing about with CDs.
> I found I could burn files to the CD in a variety of ways but I can't get
> them back again.
> I've used dd and burncd to put the file onto a CD and dd sometimes gets
> something back too, but never works properly.
> Any ideas how to do this properly?

I think this is what you are looking for (lists.freebsd.org seems to down at 
the moment, so I can't confirm this is the thread I think it is):
http://lists.freebsd.org/pipermail/freebsd-questions/2004-November/064560.html

Anyway, to backup /usr directly to a dvd(+rw), I use the this command:
dump -0 -uL -C16 -B4589840 -P 'growisofs -speed=4 -Z /dev/dvd=/dev/fd/0 ' /usr
This gives you a dvd or series of dvds with the dump file on them. You can 
then boot from CD2 (live system) and use restore to restore the data. If the 
link above is the one I think it is, it gives you an example restore command.

Hope that's the kind of thing you are after.

Cheers,
-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpyTrJYYrnPe.pgp
Description: PGP signature


Re: SSH suddenly giving pam error for existing user

2005-01-24 Thread Ian Moore
On Wed, 19 Jan 2005 18:33, Ian Moore wrote:
> Hi,
> I can normally ssh to my home computer (using password authentication), but
> today it's stopped working. The last time I did it was about 9 days ago
> from work & it worked then.
> The console log shows:
> Jan 19 17:04:25 daemon sshd[61084]: error: PAM: authentication error for
> imoore from firewall.
>
> I've tried connecting from 2 different remote hosts, one at work & another
> elsewhere - same result.
>
> When I got home today, I tried creating a new user & then ssh'ed to a
> remote machine & ssh'ed back to mine with the new username.
> I was able to log in OK as the new user.
>
> I then changed the password for my normal user & tried to ssh back with the
> new password, but I still can't login.
>
> I'm running 5.3-RELEASE-p2. I have upgraded a few ports since ssh last
> worked - openoffice and a few bit & pieces - I'm not sure what exactly.
> I haven't altered my ipfw config in that time, nor have I upgraded the base
> system or kernel.
>
> Can anyone think what might have caused this?
>
> Cheers,

Hi, I'm still having trouble with this.
I figured I should be able to fix it by renaming my home directory, then use 
rmuser to delete my account & create a new account with the same uid.

Well I figured wrongly! I still couldn't ssh to my new account.

Then I tried deleting that account & creating a new one with the same name but 
a different UID - still no joy. I just get "error: PAM: authentication error 
for imoore" every time.

So why does it work for new user with a different username? Is PAM somehow 
keeping the old password somewhere?

Cheers,
-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: KDE issues after recent portupgrade

2005-01-23 Thread Ian Moore
On Mon, 24 Jan 2005 02:53, Trey Sizemore wrote:
> On Sun, 2005-01-23 at 20:52 +1030, Ian Moore wrote:
> > You could try removing the kde packages & install packages instead -
> > the
> > FreeBSD-KDE people seem to suggest that's the prefered method for KDE.
>
> 
>
> What is the 'best'/'easiest' way to uninstall kde ports and then do a
> fresh reinstall?

Looking at what's been happening in this thread since I last checked my mail, 
I gather you are now faced with doing this. I'm no expert, but I'd say cd to 
each of the ports directories and do a make deinstall. Do all the kde ports, 
leaving the kde3 metaport till last. Then make deinstall quanta, arts & qt.
Now set your PACKAGESITE env. variable as per the instructions on fruitsalad.
Then pkg_add qt, arts, kdelibs, kdebase, kdenetwork, then the other kde ports,  
quanta & finally the kde metaport.

Hope that helps.

Cheers,
-- 
Ian Moore

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgppFbzLaYG1X.pgp
Description: PGP signature


Re: KDE issues after recent portupgrade

2005-01-23 Thread Ian Moore
On Sun, 23 Jan 2005 11:59, Trey Sizemore wrote:
> >From the /usr/ports/UPDATING entry:
>
> 20040313:
>   AFFECTS: users of textproc/expat2
>   AUTHOR: [EMAIL PROTECTED]
>
>   Users of expat2 (and its many dependencies) should do the following to
>   properly update expat2 and all of its dependencies:
>
>   portupgrade -rf textproc/expat2
>
> I did the mentioned portupgrade above and a *lot* of packages were
> reinstalled, among those KDE.  I'm not sure in retrospect that I needed
> to do this as I only installed FreeBSD on this box a couple of months
> ago.  Anyway, since the upgrade Konqueror crashes when started in a
> directory (core dumps) as a file browser, KDE notifications no longer
> work (although sound from Gnome apps *do* work -> I have
> gnome-session-daemon start when I log into KDE) and k3b won't start any
> longer for starters.
>
> What would be the best way to try an rectify this?  Reinstall kde from
> scratch with a 'portupgrade -rf /usr/ports/X11/kde3' or something else
> entirely?
>
> All the aforementioned apps were working prior to the portupgrade
> command mentioned in UPDATING.

You could try removing the kde packages & install packages instead - the 
FreeBSD-KDE people seem to suggest that's the prefered method for KDE.

See http://rabarber.fruitsalad.org/index.html for the correct PACKAGESITE 
setting to use with portupgrade.

Having said that, the latest ports have some more recent updates, so 
kdenetwork & one or two others will still need to be compliled from ports to 
get you fully up to date.

I've found that method to work well for me & it saves a hell of a lot of 
compilation time!

Cheers,
-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpZA9bKbVHUe.pgp
Description: PGP signature


Re: ntpd problems since upgrading to 5.3 - found the problem!

2005-01-21 Thread Ian Moore
On Sat, 22 Jan 2005 02:32, Lowell Gilbert wrote:
> Ian Moore <[EMAIL PROTECTED]> writes:
> > On Wed, 19 Jan 2005 00:54, Lowell Gilbert wrote:
> > > Ian Moore <[EMAIL PROTECTED]> writes:
> > > > I've just realised I'm not running a name server at all on my 5.3
> > > > system. I have 4.9 installed on this computer too & I'd set up the
> > > > caching server on it, I guess I forgot that step when I installed
> > > > 5.3.
> > > > I'll set it up & see that makes any difference.
> > >
> > > Make sure to switch to using domain names that aren't in use by other
> > > people...
> > >
> > > [A common convention is to use ".lan" or ".local" as the top-level
> > > domain if you are using non-public domain names.]
> >
> > Thanks, I hadn't thought of using a non-existant top level domain. I've
> > changed the hostname to daemon.foo.lan and now localhost.foo.lan resolves
> > to 127.0.0.1 as it should.
> > Unfortunately, I still get the same response form ntpq:
> > daemon:~ % sudo ntpq -p
> > ntpq: write to localhost.foo.lan failed: Permission denied
> > Even with my firewall disabled I get this response.
>
> What about "ntpq -pn"?

No, I get the same response from that too.

Cheers,
-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpjGfhWMjOdi.pgp
Description: PGP signature


Re: FreeBSD I LOVE YOU

2005-01-21 Thread Ian Moore
On Fri, 21 Jan 2005 01:47, Anthony Atkielski wrote:
> Matthew Seaman writes:
>
> MS> If your drive contains or once contained military secrets, then in the
> MS> USA and probably anywhere in the West, standard disposal procedure is
> MS> that the drive be completely overwritten with specific patterns of
> MS> random data several times, and then taken to a secure facility where
> MS> the whole thing is literally stamped flat and chewed into small lumps
> MS> of scrap.
>
> Assuming one doesn't have the resources to do this, what might one do to
> secure disk drives before disposal.  I've thought of opening them up and
> scratching the platters or chopping them into pieces (not sure how hard
> this might be to do), or something.  Home incineration isn't very
> practical, nor are machines that can chop metallic platters into
> confetti.
>
> Also, is there anything like a bulk degausser for disk platters (after
> removal from the drives)?  Come to think of it, I can't remember the
> last time I saw a tape degausser, and I still am not quite sure what to
> do with old backup tapes that are unreadable but still filled with
> backup data.

I open up my old backup tapes & use a cutting blade to cut through the tape 
spool in a couple of places, to you end up with hundreds of pieces of tape, 
no more than a couple of centimetres long. Then I generally throw them in a 
couple of different bins.
Tape de-gaussers usually aren't much good - they were mostly made for erasing 
open reel tape that used ferric oxide particles.
Backup tapes normally use metal particle tapes that need a much stronger 
magnetic field to effectively erase them.

Cheers, 
-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpxi3BerQl83.pgp
Description: PGP signature


Re: ntpd problems since upgrading to 5.3 - found the problem!

2005-01-21 Thread Ian Moore
On Wed, 19 Jan 2005 00:54, Lowell Gilbert wrote:
> Ian Moore <[EMAIL PROTECTED]> writes:
> > I've just realised I'm not running a name server at all on my 5.3 system.
> > I have 4.9 installed on this computer too & I'd set up the caching server
> > on it, I guess I forgot that step when I installed 5.3.
> > I'll set it up & see that makes any difference.
>
> Make sure to switch to using domain names that aren't in use by other
> people...
>
> [A common convention is to use ".lan" or ".local" as the top-level
> domain if you are using non-public domain names.]

Thanks, I hadn't thought of using a non-existant top level domain. I've 
changed the hostname to daemon.foo.lan and now localhost.foo.lan resolves to 
127.0.0.1 as it should.
Unfortunately, I still get the same response form ntpq:
daemon:~ % sudo ntpq -p
ntpq: write to localhost.foo.lan failed: Permission denied
Even with my firewall disabled I get this response.

Cheers,
-- 
Ian Moore

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpaXjoKVcfku.pgp
Description: PGP signature


SSH suddenly giving pam error for existing user

2005-01-19 Thread Ian Moore
Hi,
I can normally ssh to my home computer (using password authentication), but 
today it's stopped working. The last time I did it was about 9 days ago from 
work & it worked then.
The console log shows:
Jan 19 17:04:25 daemon sshd[61084]: error: PAM: authentication error for 
imoore from firewall.

I've tried connecting from 2 different remote hosts, one at work & another 
elsewhere - same result.

When I got home today, I tried creating a new user & then ssh'ed to a remote 
machine & ssh'ed back to mine with the new username.
I was able to log in OK as the new user.

I then changed the password for my normal user & tried to ssh back with the 
new password, but I still can't login.

I'm running 5.3-RELEASE-p2. I have upgraded a few ports since ssh last worked 
- openoffice and a few bit & pieces - I'm not sure what exactly. 
I haven't altered my ipfw config in that time, nor have I upgraded the base 
system or kernel.

Can anyone think what might have caused this?

Cheers,

-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpIqnL6mgQnv.pgp
Description: PGP signature


Re: Tab to Auto-Complete + ....

2005-01-18 Thread Ian Moore
On Tue, 18 Jan 2005 21:00, Warren wrote:
> What is need for me to add/do in order for the pressing of Tab to
> autcomplete a name to work?  It works fine in root .. also when i press the
> up or down arrow keys it dosent bring up the previous command issued ...
>
> im using FreeBSD5.3-STABLE

What shell are you using? It sounds like you might be using /bin/sh, the 
Bourne shell, which doesn't support those functions, but is the default for 
non-root accounts.
The root account by default uses /bin/csh (actually the tcsh) which does what 
you want. So all you need to do is change the chell of your user.
The easiest way is to login as your user & type chsh
On the line than starts with Shell:, change /bin/sh to /bin/csh
Save the changes and then logout & login again & you should have command line 
completion & job history.
To make auto-completion better, edit the file .cshrc in your home directory 
and add the line
autolist = ambigous
after the set prompt =  line.

Alternatively, you could install & use another shell like bash or ksh...

Cheers,
-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpk59ALZi3it.pgp
Description: PGP signature


Re: ntpd problems since upgrading to 5.3 - found the problem!

2005-01-17 Thread Ian Moore
On Tue, 18 Jan 2005 17:13, Christian Hiris wrote:
> On Tuesday 18 January 2005 07:19, Ian Moore wrote:
> > Now I'm not sure what the best way to get around this would be. I run a
> > caching name server on the machine, so I guess I can tweak it to force
> > localhost.foo.com resolve to 127.0.0.1
>
> I'm running ntpd and a caching nameserver on one machine, too. The external
> IP is only referenced by /etc/hosts. My bind holds only the internal
> networks, including it's own localhost. There also could be some influence
> from your /etc/resolv.conf, but I'm not sure about.
>
> # dig localhost.matrix.net
>
> ; <<>> DiG 9.3.0 <<>> localhost.matrix.net
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47348
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 1
>
> ;; QUESTION SECTION:
> ;localhost.matrix.net.  IN  A
>
> ;; ANSWER SECTION:
> localhost.matrix.net.   3600IN  A   127.0.0.1
>
> ;; AUTHORITY SECTION:
> matrix.net. 3600IN  NS  ns.matrix.net.
>
> ;; ADDITIONAL SECTION:
> ns.matrix.net.  3600IN  A   192.168.123.1
>
> ;; Query time: 1 msec
> ;; SERVER: 192.168.123.1#53(192.168.123.1)
> ;; WHEN: Tue Jan 18 07:27:54 2005
> ;; MSG SIZE  rcvd: 87
>
>
> # cat /etc/resolv.conf
> search matrix.net
> nameserver 127.0.0.1

Oops,
I've just realised I'm not running a name server at all on my 5.3 system. I 
have 4.9 installed on this computer too & I'd set up the caching server on 
it, I guess I forgot that step when I installed 5.3.
I'll set it up & see that makes any difference.

Cheers,
-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpSR9uAmIFYt.pgp
Description: PGP signature


Re: ntpd problems since upgrading to 5.3 - found the problem!

2005-01-17 Thread Ian Moore
On Tue, 18 Jan 2005 12:50, Christian Hiris wrote:
> On Tuesday 18 January 2005 01:09, John wrote:
> > On Mon, Jan 17, 2005 at 12:49:00PM -0600, John wrote:
> > > On Mon, Jan 17, 2005 at 12:22:48PM -0600, John wrote:
> > > > On Tue, Jan 11, 2005 at 11:23:28PM +0900, Rob wrote:
> > > > > Ian Moore wrote:
> > > > > > Hi,
> > > > > > Ever since I upgraded from 5.2.1-RELEASE to 5.3-RELEASE, I've
> > > > > > been getting the following error on boot:
> > > > > > ntpd[380]: bind() fd 7, family 28, port 123, addr fe80:1
> > > > > >
> > > > > > ::204:61ff:fe46:be89, in6_is_addr_multicast=0 flags=0 fails:
> > > > > > :: Can't assign
> > > > > >
> > > > > > requested address
> > > > > >
> > > > > > ntpd seems to be working from what I can see in it's log file,
> > > > > > but I can't do anything with ntpq to check it.
> > > > > > Wether I run it as my normal user or as root, running ntpq -p
> > > > > > always gives: ntpq: write to localhost.foo.com failed: Permission
> > > > > > denied
>
> Try to add "disable auth" to your ntp.conf.
>

I tried that, sadly it made no difference.
However, I think I've found the problem - the error message I get with ntpq is 
"write to  localhost.foo.com failed: Permission
denied".
My machine's hostname is daemon.foo.com, something I assumed was safe to use.

Well it turns out that localhost.foo.com actually exists, it resolves to 
216.234.246.150, as do lots of others like localhost.foo.org, foobar.org, 
example.org etc.

So ntpq must do a reverse name lookup for localhost. and in my case it doesn't reslove to 127.0.0.1 but to 
216.234.246.150, to which ntpq has no access - hence the Permission denied 
error!

Now I'm not sure what the best way to get around this would be. I run a 
caching name server on the machine, so I guess I can tweak it to force 
localhost.foo.com resolve to 127.0.0.1

Cheers,

-- 
Ian


GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpNlb5tuOeDC.pgp
Description: PGP signature


Re: How to back-rev?

2005-01-13 Thread Ian Moore
On Wed, 12 Jan 2005 15:01, John wrote:
> On Tue, Jan 11, 2005 at 04:25:38PM +0100, albi wrote:
> > John wrote:
> > > I think I may have been too eager to go to Major Release 5 of FreeBSD.
> > > I'm having a lot of trouble with my laptop - with my WIFI cards
> > > freezing the system, and trying to make the swith from XFree86
> > > to Xorg.
> >
> > if i were you i would backup your data and try a fresh 5.3 install,
> > one other thing to try first is to boot without ACPI
>
> You are right, albi!  Turning off ACPI took care of the lock up.  Thanks!
>
> I do miss the power management, though.  Now I need to figure out
> how to turn off just the part that is causing the problem.
>
> I am currently trying to remove all the XFree86 and kde modules from
> 5.2.1 so that I can put in the Xorg stuff from 5.3.  If there's a
> procedure for that somewhere, that'd be awesome.

/usr/ports/Updating - I followed the instructions there when I upgraded my 
5.2.1-RELEASE system to 5.3 & it worked like a charm.
Do make sure you read 20040723 & that you have device io in your kernel.
Oh, and be sure to read the 20041229 entry if you install the latest kde.

Cheers,
-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgp7V0UaYqI5Z.pgp
Description: PGP signature


ntpd problems since upgrading to 5.3

2005-01-11 Thread Ian Moore
Hi,
Ever since I upgraded from 5.2.1-RELEASE to 5.3-RELEASE, I've been getting the 
following error on boot:
ntpd[380]: bind() fd 7, family 28, port 123, addr fe80:1
::204:61ff:fe46:be89, in6_is_addr_multicast=0 flags=0 fails: Can't assign 
requested address

ntpd seems to be working from what I can see in it's log file, but I can't do 
anything with ntpq to check it. 
Wether I run it as my normal user or as root, running ntpq -p always gives:
ntpq: write to localhost.foo.com failed: Permission denied

I can run ntpq without any flags (and get the ntpq> prompt), but as soon as I 
try to run commands in it like associations or peers, it just comes back with 
that same error message.

I assume this has something to do with the first error message & that ntpq is 
trying (& failing) to bind to ipv6, but I'm unsure why that's the case.
Here's the output of ifconfig in case that helps:
vr0: flags=8843 mtu 1500
inet 192.168.1.5 netmask 0xff00 broadcast 192.168.1.255
inet6 fe80::204:61ff:fe46:be89%vr0 prefixlen 64 scopeid 0x1
ether 00:04:61:46:be:89
media: Ethernet autoselect (100baseTX )
status: active
lo0: flags=8049 mtu 16384
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2

I've tried disabling my firewall and running ntpq -p again, but I still get 
the same response.
I've tried googling for a solution, but haven't found anything as yet so I 
hope someone here can help!

Here is my ntpd entries in rc.conf:
ntpd_enable="YES"   # Run ntpd Network Time Protocol (or NO).
ntpd_program="/usr/sbin/ntpd"   # path to ntpd, if you want a different one.
ntpd_flags="-c /etc/ntp.conf -p /var/run/ntpd.pid"

and the contents of ntp.conf:
server  210.48.130.204
server  augean.eleceng.adelaide.edu.au
driftfile   /var/db/ntpd.drift
logfile /var/log/ntpd


Cheers,
-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgp6RektuyCqN.pgp
Description: PGP signature


Re: java question.

2005-01-02 Thread Ian Moore
On Mon, 3 Jan 2005 07:45, Gary Kline wrote:
>   On both my 4.10 system (this one: tao) and one on my
>   5.3 platforms, I'm *finally* using jdk14.  Can I free
>   up the linux-sun-jdk14 binary and space and yet be
>   able to build/rebuild everything Java??
>
>   (I'd like it if we had a FBSD version of everything
>   but [*sigh*] that's not the way it is?
>
>   gary
Yes you can. I deinstalled my linux-java a while back & have successfully 
updated jdk-14 twice since then - you only need the linux version the first 
tim.

Cheers,
-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpkNAt7mSSHg.pgp
Description: PGP signature


Re: Firefox bus error

2004-12-30 Thread Ian Moore
On Wed, 29 Dec 2004 10:57, Ian Moore wrote:
> Hi,
> I've just finished upgrading my ports after a cvsup a few days ago. Now
> when I try to start firefox, all I get is
> % firefox&
> bus error
>
> I did some googling & found this:
> > i solved the problem i told you about switching CFLAGS from -O2 -pipe
>
> -fomit-frame-pointer to a more "standard" -O -pipe
>
> > bye
> >
> > Eugenio
> > eugenio.modesti at poste.it
>
> Unfortunately that doesn't help, since my CFLAGS is set to -O -pipe anyway.
> I also tried renaming .mozilla so it could start from scratch, but that
> just gave the following:
> % firefox&
> LoadPlugin: failed to initialize shared
> library /usr/local/Acrobat5/Browsers/intellinux/nppdf.so
> [/usr/local/Acrobat5/Browsers/intellinux/nppdf.so: Undefined symbol
> "XtStrings"]
> firefox-bin: Fatal IO error 78 (Function not implemented) on X server :0.0.
>
> Does anyone have any suggestions?
>
> Cheers,

I fixed this by installing the latest update of the firefox port 
(firefox-1.0_6,1). Works quite nicely now!


-- 
Ian 
GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgppQUGyziEew.pgp
Description: PGP signature


Firefox bus error

2004-12-28 Thread Ian Moore
Hi,
I've just finished upgrading my ports after a cvsup a few days ago. Now when I 
try to start firefox, all I get is
% firefox&
bus error

I did some googling & found this:

> i solved the problem i told you about switching CFLAGS from -O2 -pipe 
-fomit-frame-pointer to a more "standard" -O -pipe
> bye
> 
> Eugenio
> eugenio.modesti at poste.it

Unfortunately that doesn't help, since my CFLAGS is set to -O -pipe anyway. I 
also tried renaming .mozilla so it could start from scratch, but that just 
gave the following:
% firefox&
LoadPlugin: failed to initialize shared 
library /usr/local/Acrobat5/Browsers/intellinux/nppdf.so 
[/usr/local/Acrobat5/Browsers/intellinux/nppdf.so: Undefined symbol 
"XtStrings"]
firefox-bin: Fatal IO error 78 (Function not implemented) on X server :0.0.

Does anyone have any suggestions?

Cheers,
-- 
Ian
GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpyjIBMak9ii.pgp
Description: PGP signature


Re: Pioneer DVR-108 can burn DVDs, can't mount them!

2004-12-24 Thread Ian Moore
On Sat, 25 Dec 2004 02:25, David Vincelli wrote:
> On Fri, 24 Dec 2004 17:22:16 +1030, Ian Moore <[EMAIL PROTECTED]> 
wrote:
> > On Fri, 24 Dec 2004 16:58, David Vincelli wrote:
> > > Hi,
> > >
> > > I'm using FreeBSD 5.3-RELEASE with a custom kernel I just compiled a
> > > few days ago to have the atapicam device (the only difference with the
> > > stock kernel). I added hw.ata.atapi_dma="1" to /boot/loader.conf, and
> > > indeed the device is accessed in UltraDMA mode 2.  My DVD burner is a
> > > Pioneer DVR-108 with the latest firmware at this time (1.18). I can
> > > burn DVDs using growisofs but I get a vague input/output error when I
> > > try to mount them. (mount failed: input/output error, if I recall
> > > correctly). The command I use to mount is: mount -t cd9660 /dev/cd0
> > > /mnt. It seems I cannot mount DVDs at all, even originals. I was
> > > wondering if the drive was defective so I tried it under a windows
> > > environment and it could read the DVDs fine, even the ones I created
> > > under FreeBSD.  I'd give you a full listing of the full error that
> > > would swamp the (real) console when I tried to mount the DVDs but I
> > > don't have access to the box right now. It was a scsi error. asq 8,3
> > > is one of them from what I remember :)
> > >
> > > Has anyone seen this before?
> >
> > Hi Vince,
> > I bought the same DVD drive a few weeks ago & it works just fine on my
> > 5.3-RELEASE system. I can watch DVDs, mount a DVD-ROM & I've burnt a
> > DVD-RW successfully. There's nothing special in my kernel except ATAPICAM
> > support. I mount it as a SCSI device, so maybe it's worth trying that on
> > your system?
> >
> Hi Ian,
>
> What do you mean by when you say you "mount them as a SCSI device".
> Which device is that?
>

It's /dev/cdx (or cd1 if it's the second cd drive).
You need to have 
device  ATAPI_CAM
device  scbus
device  cd
in your kernel in order to do this. That will allow the gui cd burning apps 
like k3b & cdbakeoven to burn cds using cdrecord, though you can still use 
burncd if you prefer.

Cheers,

-- 
Ian Moore

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpqYDXpYUB4h.pgp
Description: PGP signature


Re: The FreeBSD Foundation

2004-12-24 Thread Ian Moore
On Fri, 24 Dec 2004 17:37, Ted Mittelstaedt wrote:
> > -Original Message-
> > From: Jay Moore [mailto:[EMAIL PROTECTED]
> > Sent: Thursday, December 23, 2004 3:32 PM
> > To: Ted Mittelstaedt
> > Cc: freebsd-questions@freebsd.org
> > Subject: Re: The FreeBSD Foundation
> >
> >
> >
> > Yes - I buy from FreeBSD mall which I thought was run by Walnut
> > Creek. I've
> > had this subscription since 3.0 or 3.1... the cd's keep coming.
> > I'd say if
> > the new owners aren't giving the project the same cut as the
> > previous owners,
> > then maybe consider doing something else???
>
> The story here actually begins back in 1978 when 1BSD was created by
> UCB's CSRG as a fork of UNIX6.  The BSD project continued at UCB for


Wow, that was a great bit of history, Ted. I love reading about the history of 
FreeBSD & unix, almost as much as I love using FreeBSD!

Cheers,
-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpeYlMdGZBMk.pgp
Description: PGP signature


Re: Pioneer DVR-108 can burn DVDs, can't mount them!

2004-12-23 Thread Ian Moore
On Fri, 24 Dec 2004 17:22, Ian Moore wrote:

> Hi Vince,

Oops, I mean David - sorry, I didn't read your name properly.

-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpDJ5vyfOgLY.pgp
Description: PGP signature


Re: Pioneer DVR-108 can burn DVDs, can't mount them!

2004-12-23 Thread Ian Moore
On Fri, 24 Dec 2004 16:58, David Vincelli wrote:
> Hi,
>
> I'm using FreeBSD 5.3-RELEASE with a custom kernel I just compiled a
> few days ago to have the atapicam device (the only difference with the
> stock kernel). I added hw.ata.atapi_dma="1" to /boot/loader.conf, and
> indeed the device is accessed in UltraDMA mode 2.  My DVD burner is a
> Pioneer DVR-108 with the latest firmware at this time (1.18). I can
> burn DVDs using growisofs but I get a vague input/output error when I
> try to mount them. (mount failed: input/output error, if I recall
> correctly). The command I use to mount is: mount -t cd9660 /dev/cd0
> /mnt. It seems I cannot mount DVDs at all, even originals. I was
> wondering if the drive was defective so I tried it under a windows
> environment and it could read the DVDs fine, even the ones I created
> under FreeBSD.  I'd give you a full listing of the full error that
> would swamp the (real) console when I tried to mount the DVDs but I
> don't have access to the box right now. It was a scsi error. asq 8,3
> is one of them from what I remember :)
>
> Has anyone seen this before?
Hi Vince,
I bought the same DVD drive a few weeks ago & it works just fine on my 
5.3-RELEASE system. I can watch DVDs, mount a DVD-ROM & I've burnt a DVD-RW 
successfully. There's nothing special in my kernel except ATAPICAM support.
I mount it as a SCSI device, so maybe it's worth trying that on your system?

Cheers,
-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgp11YwsZQa9K.pgp
Description: PGP signature


Re: FreeBSD's Visual Identity: Outdated?

2004-12-23 Thread Ian Moore
On Thu, 23 Dec 2004 21:57, jsha wrote:
> Hello.
>
> I am writing this e-mail hoping that someone will share my thoughts
> on how the world's best operating system should represent its attributes
> and users to the rest of the world.
>
> Being an architect as well as graphic designer, I feel it is about time
> for a complete revamp of the visual aesthetics of the FreeBSD project.
> The current logo and everything pertaining to it has long since lost its
> modern touch. I believe that if this image is strenghtened, so is the
> way outsiders view the FreeBSD project and the way they would judge it
> compared to other open source operating systems.
>
> 1. Not only is the logo misleading (associating evil) but it also looks
>like something 10-year-olds could produce in Paint Shop Pro ten years
>ago. OpenBSD has an artistic touch to theirs, however I was very
>disappointed when I heard that the new NetBSD logo was in effect.

I disagree - how could anyone think beastie looks evil? I also don't think it 
looks like the work of a 10 year old.

> 2. If it wasn't for the interesting content and structure of the FreeBSD
>website, it would be among the less beautiful. Yes, it serves its
>purpose well by being simple and straight to the point. But a redesign
>could offer just the same -- simplicity and accuracy -- without being
>ugly.
>
Actually, it's already been re-designed - see "The FreeBSD Foundation Web site 
Gets a New Look" article in the FreeBSD Foundation Quarterly Newsletter (it's  
in the FreeBSD-Announce mailing list).

I don't know how big a change it is, but we should all know very soon...

> 3. The installation, even though it's text-only, could also be improved
>by simple restructuring to act more cognitive and human-centered than
>previously. Everything pertaining to the eye is important to improve.
>
I think most people agree it needs an overhaul - the hard part is actually 
doing it!

> 4. There should be some kind of FreeBSD business card and letterhead
>available to all that support this project.

Why?

>
> How do I know though, that if I manage to pull together a team to work
> on this refined vision, that we won't be totally ignored even though we
> produce the most magnificent result?
>
> Anyone that are interested, please reply ;-)
>
> Sincerely,
> Johann Manaf Tepstad
> --
> j.

-- 
Ian 

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpMxyOD5iuE9.pgp
Description: PGP signature


Re: linux-XFree86-libs-4.3.0_2/linux_base-7.1_7 conflict when upgrading linux-realplayer

2004-12-16 Thread Ian Moore
On Fri, 17 Dec 2004 17:42, epilogue wrote:
> On Fri, 17 Dec 2004 13:57:41 +1030
>
> Ian Moore <[EMAIL PROTECTED]> wrote:
> > Ok, I've delete linux-base, now portupgrade says:
> > Stale dependency: linux-realplayer-8.cs2_5 --> linux_base-7.1_7 --
> > manually run 'pkgdb -F' to fix, or specify -O to force.
> >
> > I'm still have trouble understanding what to do when portupgrade asks
> > me this sort thing - well sometimes it's obvious, but often not.
> > Should I just use -O or should I fix the dependency?
>
> hello ian,
>
> have a read (or two) of this article.  it may clarify your options
> when faced with such a scenario.
>
> http://www.onlamp.com/pub/a/bsd/2001/11/29/Big_Scary_Daemons.html
>
> hope this helps.
>
>
> cheers,
> epi

Thanks epi,
Yes I've had a read of that article several times before and sometimes it 
seems to apply to the problem I have, other times, like now, it doesn't seem 
to (though that might be my interpretation).

Well I've run pkgdb -F and deleted all dependencies on linux_base-7. Then I've 
installed linux-realplayer, which installed linux-base_8 as a dependency of 
linux-XFree86-libs-4.3.0_2.
Hopefully linux_base-8 is now a dependency in my pkgdb for everything used to 
be linked to linux_base-7. 
Thanks for your help Joe & epi.

Cheers,
-- 
Ian

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpDgUn1VST6K.pgp
Description: PGP signature


Re: linux-XFree86-libs-4.3.0_2/linux_base-7.1_7 conflict when upgrading linux-realplayer

2004-12-16 Thread Ian Moore
On Fri, 17 Dec 2004 13:39, Joe Altman wrote:
> On Fri, Dec 17, 2004 at 12:57:09PM +1030, Ian Moore wrote:
>
> 
>
> > ===>  Installing for linux-XFree86-libs-4.3.0_2
> >
> > ===>  linux-XFree86-libs-4.3.0_2 conflicts with installed package(s):
> >   linux_base-7.1_7
> >
> >   They install files into the same place.
> >   Please remove them first with pkg_delete(1).
> > *** Error code 1
> >
> > <--snip-->
>
> 
>
> > I'm not quite sure what to do with this. Both linux-XFree86-libs-4.3.0_2
> > and linux_base-7.1_7 are listed as a dependencies of realplayer.
> > BUT (at least on the ports web page) linux_base-8.8.0_4 is listed as a
> > dependency of linux-XFree86-libs-4.3.0_2.
> > So should I upgrade to linux_base-8 to fix the problem?
>
> I'd do what the instructions in the error suggest: "Please remove them
> first with pkg_delete(1)." then try to upgrade the port. It should
> pull in the dependencies, no?

Ok, I've delete linux-base, now portupgrade says:
Stale dependency: linux-realplayer-8.cs2_5 --> linux_base-7.1_7 -- manually 
run'pkgdb -F' to fix, or specify -O to force.

I'm still have trouble understanding what to do when portupgrade asks me this 
sort thing - well sometimes it's obvious, but often not. Should I just use -O 
or should I fix the dependency?

Cheers,
-- 
Ian Moore

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpcwAfKhUjGi.pgp
Description: PGP signature


linux-XFree86-libs-4.3.0_2/linux_base-7.1_7 conflict when upgrading linux-realplayer

2004-12-16 Thread Ian Moore
n.
[Updating the pkgdb  in /var/db/pkg ... - 434 packages 
found(-0 +1) . done]
** Listing the failed packages (*:skipped / !:failed)
! multimedia/linux-realplayer (linux-realplayer-8.cs2_5)
(install error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed


I'm not quite sure what to do with this. Both linux-XFree86-libs-4.3.0_2 and 
linux_base-7.1_7 are listed as a dependencies of realplayer.
BUT (at least on the ports web page) linux_base-8.8.0_4 is listed as a 
dependency of linux-XFree86-libs-4.3.0_2.
So should I upgrade to linux_base-8 to fix the problem?

Or should I just wait & see if the problem goes away when I update my ports 
tree next time?

Cheers,
-- 
Ian Moore

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpAWKu4Kre5K.pgp
Description: PGP signature


Re: php4 install has conflicts

2004-12-15 Thread Ian Moore
On Thu, 16 Dec 2004 06:45, Noah wrote:
> > I could be wrong about this, but I don't believe you need to
> > reinstall those ports. Just force delete all old versions of mod-
> > php4 and then install the new version of php4 or mod-php4 (whichever
> > one you actually want). The other ports shouldn't need to be
> > reinstalled, because the new version of php installs to the same
> > location as the old version. Hence the ports that use it will just
> > use the new version automatically. You may also want to clean up the
> > duplicate gallery versions by using pkg_delete -f to remove both
> > versions and then install just the latest version of gallery.
> >
> > To avoid this problem in the future, always use portupgrade to
> > upgrade your ports. That way you won't get multiple versions installed!
>
> okay thank you,
>
> do you know of a command that can show me all the ports that are installed
> on my machine?  is there a nice tutorial that explains how to use the ports
> efficiently and safetly?
> cheers, 
> Noah
>
pkg_info will show you all the packages installed on your machine, portversion 
will do this too & show you wether they are up to date or not (assuming you 
have cvsuped your ports collection). portversion -vL= will show you which 
ones are not up to date.
There is an excellent turorial on portupgrade from Dr. Dru Lavigne at 
http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html
She has lot's of great articles in her FreeBSD basics series, the Big Scary 
Deamons articles are great too (also at http://www.onlamp.com)

> also how do I upgrade and/or install php4?
> 
> --- snip ---
> 
> # portupgrade php4
> ** No such package 'php4' is installed.
> # portinstall php4
> ** No such installed package nor such port called 'php4' is found.
> 
> --- snip ---
> 

That's where you need to use portupgrade -N php4-4.3.9_1  (-N means install a 
new port) or you can just cd to the php4 port directory and use make install 
clean to install it.

Hope that helps.

Cheers,
-- 
Ian Moore

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgp4uJ65MQpfM.pgp
Description: PGP signature


Re: php4 install has conflicts

2004-12-14 Thread Ian Moore
On Wed, 15 Dec 2004 11:49, Noah wrote:
> On Tue, 14 Dec 2004 19:50:15 -0500, Haulmark, Chris wrote
>
> > Someone broke the silence:
> > > Okay, so I remove mod_php, huh - and then reinstall it?
> > >
> > > take a look at this.  how do I handle all the packages that Need
> > > mod_php?  how do I do this cleanly?
> > >
> > > --- snp ---
> > >
> > > # pkg_delete mod_php4-4.3.5_7,1
> > > pkg_delete: package 'mod_php4-4.3.5_7,1' is required by these other
> > > packages and may not be deinstalled:
> > > gallery-1.4.4.2
> > > gallery-1.4.4.4
> > > php4-bz2-4.3.9_1
> > > php4-gettext-4.3.8_2
> > > php4-mysql-4.3.8_2
> > > php4-pcre-4.3.8_2
> > > php4-session-4.3.8_2
> > > phpMyAdmin-2.5.6_1
> > > phpMyAdmin-2.5.7.1
> > > phpbb-2.0.8_3
> > > squirrelmail-1.4.3a
> >
> > Use -f for pkg_delete when you want to delete a package without any
> > worry about the dependencies.
> >
> > What I would do is:
> >
> > pkg_delete -f mod_php4-4.3.5_7,1
> > portinstall mod_php4
> >
> > Then you can be safe if you reinstall the rest of them with your
> > previous reinstall method.
>
> Okay cool.  let me be sure that I am on the same page as you.
>
> do I need to go and reinstall the gallery, php4-bz2 proggies?  is that
> wahat you are saying here?
>
> cheers,
>
> Noah
>
> > Chris

I could be wrong about this, but I don't believe you need to reinstall those 
ports.
Just force delete all old versions of mod-php4 and then install the new 
version of php4 or mod-php4 (whichever one you actually want). The other 
ports shouldn't need to be reinstalled, because the new version of php 
installs to the same location as the old version. Hence the ports that use it 
will just use the new version automatically.
You may also want to clean up the duplicate gallery versions by using 
pkg_delete -f to remove both versions and then install just the latest 
version of gallery.

To avoid this problem in the future, always use portupgrade to upgrade your 
ports. That way you won't get multiple versions installed!

Cheers,
-- 
Ian Moore

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpbQgvj96yom.pgp
Description: PGP signature


Re: php4 install has conflicts

2004-12-14 Thread Ian Moore
On Wed, 15 Dec 2004 09:55, you wrote:
> On Wed, 15 Dec 2004 09:30, Noah wrote:
> > On Tue, 14 Dec 2004 14:52:53 -0800, Derrick Ryalls wrote
> >
> > > > what is the cleanest way to get PHP4 installed here?  There are a lot
> > > > of programs that have dependancies on mod_php4.  how do I update all
> > > > those dependancies to the latest version of mod_php4?  and then how
> > > > do I cleanly remove all those older versions of mod_php4?
> > > >
> > > > --- snip ---
> > > >
> > > > # make install clean
> > > > ===>  Installing for php4-4.3.9_1
> > > >
> > > > ===>  php4-4.3.9_1 conflicts with installed package(s):
> > > >  mod_php4-4.3.5_7,1
> > > >  mod_php4-4.3.6_1,1
> > > >  mod_php4-4.3.8_2,1
> > > >  mod_php4-4.3.9_1,1
> > > >
> > > >  They install files into the same place.
> > > >  Please remove them first with pkg_delete(1).
> > > > *** Error code 1
> > > >
> > > > Stop in /usr/ports/lang/php4.
> > >
> > > I recommend trying portupgrade (with the -N flag I believe)
> >
> > I think I am following you correctly here?
> >
> > --- snip ---
> >
> > # portupgrade -N mod_php4-4.3.9_1,1
> > # make install clean
> > ===>  Installing for php4-4.3.9_1
> >
> > ===>  php4-4.3.9_1 conflicts with installed package(s):
> >   mod_php4-4.3.5_7,1
> >   mod_php4-4.3.6_1,1
> >   mod_php4-4.3.8_2,1
> >   mod_php4-4.3.9_1,1
> >
> >   They install files into the same place.
> >   Please remove them first with pkg_delete(1).
> > *** Error code 1
> >
> > Stop in /usr/ports/lang/php4.
> >
> > --- snip ---
>
> Try portupgrade -rR php4\*
> The -N flag is for installing new packages, not upgrading existing ones.
> -rR should resolve all dependencies above & below php4. That should also
> remove all the old versions .
>
Oops,
I shouldn't answer things before I've woken up properly!
I missed the fact you had mod_php installed rather than php.
I believe you need to pkg_delete mod_php and then install php, since the 
Makefile for mod_php says:
CONFLICTS=  php4-4* php4-cli-4* php4-cgi-4*

Cheers,

-- 
Ian Moore

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgpiQLWBuGW3z.pgp
Description: PGP signature


Re: php4 install has conflicts

2004-12-14 Thread Ian Moore
On Wed, 15 Dec 2004 09:30, Noah wrote:
> On Tue, 14 Dec 2004 14:52:53 -0800, Derrick Ryalls wrote
>
> > > what is the cleanest way to get PHP4 installed here?  There are a lot
> > > of programs that have dependancies on mod_php4.  how do I update all
> > > those dependancies to the latest version of mod_php4?  and then how do
> > > I cleanly remove all those older versions of mod_php4?
> > >
> > > --- snip ---
> > >
> > > # make install clean
> > > ===>  Installing for php4-4.3.9_1
> > >
> > > ===>  php4-4.3.9_1 conflicts with installed package(s):
> > >  mod_php4-4.3.5_7,1
> > >  mod_php4-4.3.6_1,1
> > >  mod_php4-4.3.8_2,1
> > >  mod_php4-4.3.9_1,1
> > >
> > >  They install files into the same place.
> > >  Please remove them first with pkg_delete(1).
> > > *** Error code 1
> > >
> > > Stop in /usr/ports/lang/php4.
> >
> > I recommend trying portupgrade (with the -N flag I believe)
>
> I think I am following you correctly here?
>
> --- snip ---
>
> # portupgrade -N mod_php4-4.3.9_1,1
> # make install clean
> ===>  Installing for php4-4.3.9_1
>
> ===>  php4-4.3.9_1 conflicts with installed package(s):
>   mod_php4-4.3.5_7,1
>   mod_php4-4.3.6_1,1
>   mod_php4-4.3.8_2,1
>   mod_php4-4.3.9_1,1
>
>   They install files into the same place.
>   Please remove them first with pkg_delete(1).
> *** Error code 1
>
> Stop in /usr/ports/lang/php4.
>
> --- snip ---
Try portupgrade -rR php4\*
The -N flag is for installing new packages, not upgrading existing ones. -rR 
should resolve all dependencies above & below php4. That should also remove 
all the old versions .

Cheers,
-- 
Ian Moore

GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc


pgp1bb28uwjVn.pgp
Description: PGP signature


  1   2   >