Re: Mozilla hangs X ?

2003-01-10 Thread Nick Jennings
On Fri, Jan 10, 2003 at 12:48:28PM -0500, Joe Marcus Clarke wrote:
 On Fri, 2003-01-10 at 12:44, Nick Jennings wrote:
  Hi,
  
   I am using FreeBSD 4.7 and am experiencing a strange X lockup that I am
   able to reproduce. When I am using Mozilla, in X (doesn't matter what
   window manager I am using) and I have *allot* of tabs open, probably
   allot of the sites have javascripts etc. Sometimes, and I haven't noticed
   any pattern in what I am doing other than having allot of tabs open 
   (probably 20+), X completely hangs.

 Do you have any strange fonts loaded?  There have been reports of X
 crashes when Mozilla is used with non-standard X fonts.

 I'm not too sure, I know I do try to get as many fonts as possible, but
 I don't know which mozilla is using. How can I find this information
 out to post to this thread?

- Nick


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Mozilla hangs X ?

2003-01-10 Thread Nick Jennings
On Fri, Jan 10, 2003 at 01:02:48PM -0500, Joe Marcus Clarke wrote:
  On Fri, Jan 10, 2003 at 12:48:28PM -0500, Joe Marcus Clarke wrote:
   On Fri, 2003-01-10 at 12:44, Nick Jennings wrote:
Hi,

 I am using FreeBSD 4.7 and am experiencing a strange X lockup that I am
 able to reproduce. When I am using Mozilla, in X (doesn't matter what
 window manager I am using) and I have *allot* of tabs open, probably
 allot of the sites have javascripts etc. Sometimes, and I haven't noticed
 any pattern in what I am doing other than having allot of tabs open 
 (probably 20+), X completely hangs.
  
   Do you have any strange fonts loaded?  There have been reports of X
   crashes when Mozilla is used with non-standard X fonts.

 Well, fonts generally reside in /usr/X11R6/lib/X11/fonts.  You can see
 what your font path is by doing xset q.  If you have any non-standard
 font directories configured, remove them, and see if the problem goes
 away.  If you've added non-standard fonts to any of the standard
 directories, you'll probably have to remove all font dirs, and reinstall
 all the XFree86 font ports/packages.

Not sure what non standard is exactly (fonts have never been an area
that I've paid much attention to before). Here is the font section from
'xset q'. Also, below that is the output of all installed packages which 
mention 'font'.

Font Path:
  /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/Speedo/,
  /usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,
  /usr/X11R6/lib/X11/fonts/100dpi/


su-2.05b# pkg_info | grep font
XFree86-font100dpi-4.2.0 XFree86-4 bitmap 100 dpi fonts
XFree86-font75dpi-4.2.0 XFree86-4 bitmap 75 dpi fonts
XFree86-fontCyrillic-4.2.0_4 XFree86-4 Cyrillic Fonts
XFree86-fontDefaultBitmaps-4.2.0 XFree86-4 default bitmap fonts
XFree86-fontEncodings-4.2.0 XFree86-4 font encoding files
XFree86-fontScalable-4.2.0 XFree86-4 Scalable font files
Xft-2.0_1   A client-sided font API for X applications
fontconfig-2.0_2An XML-based font configuration API for X Windows
freetype2-2.1.2_1   A free and portable TrueType font rendering engine



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



problems 'make'ing ports

2002-12-11 Thread Nick Jennings
Hi All,

 I have been having several problems build ports. I just installed 4.7,
 and used cvsupit to update to the latest ports tree (nightly) and
 track the -STABLE branch (/usr/src). 

 When I build ports I often get really lame errors like
 'Unknown character /' in some source file. What it turns out to be
 is a comment, like:

  // This is a comment.

 Changing it to:

  /* This is a comment */

 Fixes the problem.

 I get other errors too, but I am starting to question whether something
 else is wrong here. Is my make.conf too strict or something? I copied
 it from the examples, (/usr/share/examples/etc/defaults/make.conf) and
 did *very* little in customization... My CFLAGS looks like this:

 CFLAGS= -O -pipe -Wall -ansi
 
 What could be the problem here? Or is the compiler I'm using just not
 like '//' used as comments?


 I also can't successfully 'make buildworld'... And about 50% of the time
 I try to install a port that just won't build, so I have to use 'pkg_add'.

 Any tips greatly appreciated.

--
 Nick Jennings
 [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



port utils not working (ruby memory error)

2002-11-14 Thread Nick Jennings
Hi All,

 I've been having trouble with the ports over the past few days. I had
 done a port update with cvsup. Then a portupgrade -a. Since then metacity
 has been dropping core every hour or so it seems, and generally acting
 wierd.

 I did another port update today with cvsup, and then 
 'portupgrade -Rrf metacity'. This didn't seem to fix much, however it
 seems now that my portupgrade port (that which provides portupgrade,
 portversion, port* etc.) does not work anymore. 

su-2.05b# portversion -v
[Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 260 packages found (-2 
+3) (...)[Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 260 packages 
found (-2 +3) (...)/usr/local/lib/ruby/site_ruby/1.6/pkgdb.rb:224:in `origin': Cannot 
allocate memory: Cannot update the pkgdb!] (PkgDB::DBError)
from /usr/local/lib/ruby/site_ruby/1.6/pkginfo.rb:178:in `origin'
from /usr/local/sbin/portversion:301:in `check_pkgs'
from /usr/local/sbin/portversion:300:in `each'
from /usr/local/sbin/portversion:300:in `check_pkgs'
from /usr/local/sbin/portversion:260:in `main'
from /usr/local/sbin/portversion:77:in `initialize'
from /usr/local/sbin/portversion:77:in `new'
from /usr/local/sbin/portversion:77:in `main'
from /usr/local/sbin/portversion:347
su-2.05b#

Same stuff happens when I use any of the portupgrade applications. I have
tried going into ports/lang/ruby and doing a 
'make deinstall  make clean  make install' same with 
ports/sysutils/portupgrade but nothing worked.

Any ideas how I can get my system back to normal? I have serious misgivings
about every trying to update/upgrade my ports  installed packages again
:(

How am I to know when things are broken or stable?

- Nick Jennings


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Command like chkconfig

2002-10-23 Thread Nick Jennings
On Wed, Oct 23, 2002 at 08:40:28PM +0530, Samuel Joy wrote:
 Is there a command like chkconfig that we use in redhat present in FreeBSD.
 I want to have a scrpt that is custom written by me to start automatically 
 when the FreeBSD server boots up.

 If it's a custom script (i.e. something not from base) put it in 
 /usr/local/etc/rc.d/ 

 No need to worry about runlevels etc. It will be exectuted during boot
 via.

   /usr/local/etc/rc.d/scriptname start

 And during shutdown:

   /usr/local/etc/rc.d/scriptname stop


 If it's a simple enough script (i.e. you just want to start something) 
 you'll be fine just ignoring params and starting whatever you need to
 start. When the system is shutdown down there is generally no harm in
 having the process not specifically killed via. the 'stop' param.

- Nick Jennings
- [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Reconfigured named, but now getting errors

2002-10-22 Thread Nick Jennings
On Thu, Oct 17, 2002 at 08:34:37PM +0100, Stacey Roberts wrote:
 Upon my return from work (feeling rather pleased with myself too) I
 thought I'd like to see this again, but that's when I saw that I was now
 unable to resolve www.vickiandstacey.com (other Internet hosts were fine
 btw).
 
 With respect to you suggestion though, presuming that I am supposed to
 add the external IP address for Demon in the zone file, what then
 becomes of Demon's *internal* address?
 
 That is to say, running nslookup from another lan box I would like
 Demon's 192.168. address returned, but running nslookup on
 www.vickiandstacey.com should return the *external address (which is
 what I saw earlier this morning).

 From what I gather about the situation, (please correct me if I'm 
 completely off base), you'd like external queries to only be able
 to lookup *.vickiandstacey.com (and get the public IP), and internal
 queries to get the internal IP of our server. Correct?

 I believe you will need to setup two nameservers, one bound to each
 physical interface on your box (external and internal). 
 

 From your e-mail advice last evening, I thought that the new set up I
 would attempting to implement would have then involved enabling my local
 boxes to use Demon to resolve local machine names, but for external
 addresses, my nameserver set-up would be such that these queries would
 then be passed to my ISP's NS's.

 Ok, now I'm confused.
 
 So you mean, you want external requests to go to your ISP's nameserver?
 and your internal requests to go to your local LAN nameserver?  Set your 
 workstations to use your internal nameserver as primary DNS.


 Maybe one of these two scenarios is what you want to be doing?

- Nick Jennings
- [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Monitoring program: email and sms warnings

2002-10-21 Thread Nick Jennings
On Mon, Oct 21, 2002 at 07:29:24AM -0700, Jason End wrote:
 Any good program or set of scripts that can monitor
 whether a site is up, and whether someone has changed
 something in a file or directory, which upon detecting
 any changes can send out an email and/or sms?

 www.penemo.org

- Nick Jennings

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Mozilla and Sylpheed

2002-10-18 Thread Nick Jennings
On Thu, Oct 17, 2002 at 11:42:29AM -0700, paul beard wrote:
 Bryan Cassidy wrote:
  Well, I guess no one replied to my e-mail because I didn't have a
  Subject: or no one knows. I will ask again though just in case
  something else happened. I use Mozilla as my web browser and when I
  click a mailto: link it opens Mozilla Mail. Well, I don't want it to
  open Mozilla Mail. I want it to open Sylpheed. If someone could tell
  me exactly how to do this I would appreciate it. Thank You.
 
 Given any thought to using a mozilla-based browser if you don't 
 need the other components? Galeon is quite nice

 As is phoenix. (portinstall linux-phoenix)

- Nick


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: problems with 'nautilus2' port

2002-10-18 Thread Nick Jennings
On Thu, Oct 17, 2002 at 03:37:50PM -0700, Nick Jennings wrote:
 On Thu, Oct 17, 2002 at 05:03:12PM -0400, Joe Marcus Clarke wrote:
  On Thu, 2002-10-17 at 17:05, Nick Jennings wrote:
   
I had GNOME installed, and just recently upgraded to GNOME 2.0 (after
cvsuping to the latest ports tree). Nautilus2 built fine, but when I
try to run it, I get the following error:
   
   nkj@grenzik: ~$ nautilus 
   /usr/libexec/ld-elf.so.1: Shared object libgailutil.so.13 not found
 [...] 
When I use the binary package (pkg_add -r nautilus2) I get the same
error. 
 [...]
I upgraded from GNOME 1.x and am not sure if that has anything to do with
it. I did try to get rid of what GNOME 1.x stuff I could identify, (and
which did not have listed dependencies), so I'm not sure if that did it.
   
Also, I've tried removing nautilus2 and re-building, but I get the same
behavior. 
  
  libgailutil is installed as part of x11-toolkits/gail.  It's imported
  into nautilus2 via the eel2 port.  Do this:
  
  portupgrade -fr gail
  
  You should be set after that.
 
  Thanks for the tip. I did so, and it finished successfully  
[...]
  However I am still getting the same error  when running nautilus.
 
  Also (since I just discovered the portupgrade package) have just realized
  that my pkgdb is a bit off. Running pkgdb -F comes up with quite a few
  bad references. I am still a bit fuzzy on what *exactly* I should answer
  yes or no to when doing this, so I'm kinda blindly fumbling my way through
  it. Then I suppose I will try your suggested command again.

 Just to follow up on this thread. I resolved the problem by completing
 a 'pkgdb -F' updating any obvious matches, and the ones which did not
 matched I skipped, then cast their newer counterpart (usually gnome2
 stuff like, gdm/gdm2 bugbuddy/bugbuddy2) then re-ran and linked until
 'pkgdb -F' ran clean.

 Then I did another 'portupgrade -fr gail' and nautilus2 works like a
 charm :)

 Thanks for all the help.

--
 Nick Jennings
 [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



wierd errors when building ports

2002-10-17 Thread Nick Jennings
Hi All,

 I have been having several problems building ports. I just installed 4.7,
 and used cvsup'd to update to the latest ports tree.

 When I build ports I often get really lame errors like
 'Unknown character /' in some source file. What it turns out to be
 is a comment, like:

  // This is a comment.

 Changing it to:

  /* This is a comment */

 Fixes the problem.

 I get other errors too, but I am starting to question whether something
 else is wrong here and these errors are not normal. Is my make.conf too 
 strict or something? I copied it from the examples, 
 (/usr/share/examples/etc/defaults/make.conf) and did *very* little in 
 customization... My CFLAGS looks like this:

 CFLAGS= -O -pipe -Wall -ansi
 
 What could be the problem here? Or is the compiler I'm using just not
 like '//' used as comments? 


 Any tips greatly appreciated.

--
 Nick Jennings
 [EMAIL PROTECTED]



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



problems with 'nautilus2' port

2002-10-17 Thread Nick Jennings
Hi All,

 I had GNOME installed, and just recently upgraded to GNOME 2.0 (after
 cvsuping to the latest ports tree). Nautilus2 built fine, but when I
 try to run it, I get the following error:

nkj@grenzik: ~$ nautilus 
/usr/libexec/ld-elf.so.1: Shared object libgailutil.so.13 not found
nkj@grenzik: ~$


 When I use the binary package (pkg_add -r nautilus2) I get the same
 error. Here is what nautilus stuff is instelled:

nkj@grenzik: ~$ pkg_info | grep nautilus 
nautilus-gtkhtml-0.3.2_1 A simple NautilusView component for displaying html files i
nautilus2-1.1.16GNOME file manager and graphical shell developed by Eazel
nkj@grenzik: ~$

 
 I upgraded from GNOME 1.x and am not sure if that has anything to do with
 it. I did try to get rid of what GNOME 1.x stuff I could identify, (and
 which did not have listed dependencies), so I'm not sure if that did it.

 Also, I've tried removing nautilus2 and re-building, but I get the same
 behavior. 

 Any Ideas?

-- 
 Nick Jennings
 [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: problems with 'nautilus2' port

2002-10-17 Thread Nick Jennings
On Thu, Oct 17, 2002 at 05:03:12PM -0400, Joe Marcus Clarke wrote:
 On Thu, 2002-10-17 at 17:05, Nick Jennings wrote:
  
   I had GNOME installed, and just recently upgraded to GNOME 2.0 (after
   cvsuping to the latest ports tree). Nautilus2 built fine, but when I
   try to run it, I get the following error:
  
  nkj@grenzik: ~$ nautilus 
  /usr/libexec/ld-elf.so.1: Shared object libgailutil.so.13 not found
[...] 
   When I use the binary package (pkg_add -r nautilus2) I get the same
   error. 
[...]
   I upgraded from GNOME 1.x and am not sure if that has anything to do with
   it. I did try to get rid of what GNOME 1.x stuff I could identify, (and
   which did not have listed dependencies), so I'm not sure if that did it.
  
   Also, I've tried removing nautilus2 and re-building, but I get the same
   behavior. 
 
 libgailutil is installed as part of x11-toolkits/gail.  It's imported
 into nautilus2 via the eel2 port.  Do this:
 
 portupgrade -fr gail
 
 You should be set after that.

 Thanks for the tip. I did so, and it finished successfully  (It rebuilt quite 
 a few packages, including gnome2). However I am still getting the same error 
 when running nautilus.

 Also (since I just discovered the portupgrade package) have just realized
 that my pkgdb is a bit off. Running pkgdb -F comes up with quite a few
 bad references. I am still a bit fuzzy on what *exactly* I should answer
 yes or no to when doing this, so I'm kinda blindly fumbling my way through
 it. Then I suppose I will try your suggested command again.

 I read the manpage on portupgrade, as well as pkgdb, which didn't really
 explain in detail what it was doing when asking the questions. Is there
 any other documentation on this type of stuff?

 I'm pretty sure I broke some things when I upgraded to GNOME 2.0 (I did
 it just by going into /usr/ports/x11/gnome2/ and running 'make install'
 while the GNOME 1.x was installed, and then, afterwards, removing what
 GNOME 1.x stuff I could. Is that the proper way to upgrade?).

 Right now I am seeing lots of little gnome icons (like the ones in the
 Action menu) missing (replaces with a big red X). That tells me something
 is not right :)

 Thanks in advance for any further assistance.

--
 Nick Jennings
 [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



problems mounting extended partitions and fdisk.

2002-10-17 Thread Nick Jennings
Hi All,

 I am trying to access a logical partition on a second disk in this machine.
 It is a Linux partition (ext3). I am having trouble because, first of
 all the device does not seems to exist, second of all, I cannot even
 get into an interactive fdisk to see if it's there at all. I have been
 able to access this partition from other linux installs on this machine.

 I am not sure if this is normal behavior or not, but whenever I try to
 use 'fdisk' it just prints out some partition information, and does 
 not put me into an interactive mode, where I can view things in 
 detail, and perhaps change things.

su-2.05b# fdisk /dev/ad1
*** Working on device /dev/ad1 ***
parameters extracted from in-core disklabel are:
cylinders=2586 heads=240 sectors/track=63 (15120 blks/cyl)

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

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 131,(Linux filesystem)
start 63, size 151137 (73 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 9/ head 239/ sector 63
The data for partition 2 is:
sysid 130,(Linux swap or Solaris x86)
start 151200, size 680400 (332 Meg), flag 0
beg: cyl 10/ head 0/ sector 1;
end: cyl 54/ head 239/ sector 63
The data for partition 3 is:
sysid 131,(Linux filesystem)
start 831600, size 483840 (236 Meg), flag 0
beg: cyl 55/ head 0/ sector 1;
end: cyl 86/ head 239/ sector 63
The data for partition 4 is:
sysid 5,(Extended DOS)
start 1315440, size 37784880 (18449 Meg), flag 0
beg: cyl 87/ head 0/ sector 1;
end: cyl 1023/ head 239/ sector 63
su-2.05b# 


 The reason I wanted to view this disk with fdisk is because for some
 reason I am unable to mount one of the extended partitions on this
 disk (I think it's ext3 if that matters, which I don't think it does).

 The device /dev/ad1s4 is an extended partition (as you can see above),
 that contains more logical partitions. The problem is I can mount
 /dev/ad1s5,6,7 but not 8, (which is the one I need to mount) the final
 logical partition on that disk.

 The partition setup on that disk is like this (forgive me for using
 linux device names, but thats the way I can view the partition table
 currently).

hdb1/   
hdb2swap
hdb3/tmp
hdb4extended
hdb5/var
hdb6/usr
hdb7/usr/local
hdb8/home


 In FreeBSD, I try to mount it (first the /usr/local partition hda7,
 then /home hda8).

su-2.05b# mount_ext2fs /dev/ad1s7 /mnt/debian/
su-2.05b# umount /mnt/debian/
su-2.05b# mount_ext2fs /dev/ad1s8 /mnt/debian/
mount_ext2fs: /dev/ad1s8: No such file or directory
su-2.05b# ls /dev/ad1* 
/dev/ad1/dev/ad1e   /dev/ad1s1a /dev/ad1s1f /dev/ad1s4
/dev/ad1a   /dev/ad1f   /dev/ad1s1b /dev/ad1s1g /dev/ad1s5
/dev/ad1b   /dev/ad1g   /dev/ad1s1c /dev/ad1s1h /dev/ad1s6
/dev/ad1c   /dev/ad1h   /dev/ad1s1d /dev/ad1s2  /dev/ad1s7
/dev/ad1d   /dev/ad1s1  /dev/ad1s1e /dev/ad1s3
su-2.05b#
 
 I have been able to access this partition just fine under any of the
 other Linux installs I have on this machine (3 Linux distro's, 1 FreeBSD,
 1 Win98), so I know the partition table is not corrupt.

 Any Ideas?

-- 
 Nick Jennings
 [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: problems mounting extended partitions and fdisk.

2002-10-17 Thread Nick Jennings
On Thu, Oct 17, 2002 at 06:51:22PM -0400, Jerry McAllister wrote:
  
  su-2.05b# fdisk /dev/ad1
  *** Working on device /dev/ad1 ***
  parameters extracted from in-core disklabel are:
  cylinders=2586 heads=240 sectors/track=63 (15120 blks/cyl)
  
  Figures below won't work with BIOS for partitions not in cyl 1
  parameters to be used for BIOS calculations are:
  cylinders=2586 heads=240 sectors/track=63 (15120 blks/cyl)
  
  Media sector size is 512
  Warning: BIOS sector numbering starts with sector 1
  Information from DOS bootblock is:
  The data for partition 1 is:
  sysid 131,(Linux filesystem)
  start 63, size 151137 (73 Meg), flag 80 (active)
  beg: cyl 0/ head 1/ sector 1;
  end: cyl 9/ head 239/ sector 63
  The data for partition 2 is:
  sysid 130,(Linux swap or Solaris x86)
  start 151200, size 680400 (332 Meg), flag 0
  beg: cyl 10/ head 0/ sector 1;
  end: cyl 54/ head 239/ sector 63
  The data for partition 3 is:
  sysid 131,(Linux filesystem)
  start 831600, size 483840 (236 Meg), flag 0
  beg: cyl 55/ head 0/ sector 1;
  end: cyl 86/ head 239/ sector 63
  The data for partition 4 is:
  sysid 5,(Extended DOS)
  start 1315440, size 37784880 (18449 Meg), flag 0
  beg: cyl 87/ head 0/ sector 1;
  end: cyl 1023/ head 239/ sector 63
  su-2.05b# 
  
 
 It looks like fdisk is doing just what is is supposed to do.
 If you enter fdisk device  it will print out a summary of
 the slice table.   That is the way I read the man page.

 I read the manpage, and it does mention 'interactive' mode 3 times.
 However, it seems as if nowhere does it say how to get into interactive,
 mode. As I read it, it hinted at the fact that running 'fdisk device'
 whith no params would put you in interactive mode.

 I probably am missing something, but can you please tell me how to
 get into interactive mode? (I think I did this in the installation
 process).

 Thanks.

-- Nick


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message