Amavis-stats Not working

2007-07-19 Thread terry
Hi,

This is my first time postinf to this list so bare with me if I am doing
it wrong or let me know how I can improve my questions in the future. I
currently have postifx+mysql+amavis running on a FreeBSD 6.2-RELEASE
machine.

uname output:
FreeBSD got.sucked-in.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12
10:40:27 UTC 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

I installed the amavis-stats port (security/amavis-stats) so I can produce
webpages on what exactly postfix is doing pertaining to rejecting messages
on what basis - spam/virus etc. I have done some reading and though
amavis-stats was for me. I installed it with 'make install clean' and
added the appropriate lines to my apache config to get the webpage to
show.

The webpage shows but it shows the following errors under Daily, Weekly,
Monthly, Yearly Graphs:

amavis-stats::error: rrd_graph(): 127
amavis-stats::error: rrd_graph(): 127

I have tried googling but cannot come up with much, has anyone had this
problem and knows how to remedy it? I have also tried the mailgraph port
with similar rrd_graph errors so I am wondering if it is a problem with
that specific tool on FreeBSD.

Any help would be much appreciated.

Thanks,

Terry

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


Re: RE : Re: Remote Desktop tool for FreeBSD

2007-07-19 Thread Michael S. Eubanks
On Wed, 2007-07-18 at 09:17 -0300, Mario Augusto Mania wrote:
 VNC
 
 2007/7/18, Chad Perrin [EMAIL PROTECTED]:
  On Wed, Jul 18, 2007 at 11:06:01AM +0200, simon butsana wrote:
   Hi Garett,
  
 I apologize if you saw that as an offense. I never intended to hijack 
   anyone's thread, and you will probably notice that I changed the subject 
   (although I missed to remove the email body).
  
 
  The key problem in this case seems to be that, rather than creating an
  email from scratch with the freebsd-questions address as the recipient,
  you hit reply.  Emails actually kinda keep track of whether they're in
  response to other emails, ane which emails those are.  Many of us use
  mail clients that make use of that to enhance our ability to deal with
  email efficiently, and when you hit reply when you're starting a whole
  new discussion topic you end up with your email being slotted into a
  thread dedicated to a different topic.  As such, you end up hijacking
  a thread.  Rule of thumb: Unless you're actually replying to something
  someone else said, don't use the reply button in your email client.
 
  As for your question: read up on X forwarding with the ssh tool.  If
  you need further help beyond that, *please* start a new thread and ask
  there.  I'll try to keep an eye out for such a thread so I can reply if I
  have some help to offer.
 
  --
  CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
  Baltasar Gracian: A wise man gets more from his enemies than a fool from
  his friends.

I've been following this thread because I was trying to set up XDMCP.  I
ended up getting the TightVNC/Gnome Remote Desktop to work properly, but
I would much rather have XDMCP.

So far, I log in as root, open a terminal, and use the gdmsetup process
to get the Gnome Login Window Preferences configuration dialog.  I then
click on the Remote tab and select Same as Local from the drop down
menu.  A button named Configure XDMCP should appear at the bottom of
the window.  When clicked, a bunch of miscellaneous options are shown,
but note the UDP port 177.  That should be open on the firewall along
with ports 6000 through 6005 (or something like that).  I simply used
the defaults.

Next, click on the Security tab at the top of the dialog window (after
closing the Configure XDMCP dialog).  I unchecked the Deny TCP
connections to Xserver (though I think this is not necessary).  Then,
click on the bottom button named Configure X Server.  You need to have
at least one Xserver available for remote connections.  This is where I
get stuck.

Using Xming on Windows XP, I was able to connect to the Xserver and get
the grey root screen, but that is it.  Also, I am using GDM as a display
manager.  I have found no good HOWTO's yet, so help would be
appreciated.  The Help is fairly descriptive, but does not walk you
through the process.  Finally, the X manual pages describe how to setup
XDM, but so far I have not tried that approach.  Hopefully this is
helpful to the original poster of this thread.

-Michael S. Eubanks
 [EMAIL PROTECTED]



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


Re: RE : Re: Remote Desktop tool for FreeBSD

2007-07-19 Thread Michael S. Eubanks
On Wed, 2007-07-18 at 09:17 -0300, Mario Augusto Mania wrote:
 VNC
 
 2007/7/18, Chad Perrin [EMAIL PROTECTED]:
  On Wed, Jul 18, 2007 at 11:06:01AM +0200, simon butsana wrote:
   Hi Garett,
  
 I apologize if you saw that as an offense. I never intended to hijack 
   anyone's thread, and you will probably notice that I changed the subject 
   (although I missed to remove the email body).
  
 
  The key problem in this case seems to be that, rather than creating an
  email from scratch with the freebsd-questions address as the recipient,
  you hit reply.  Emails actually kinda keep track of whether they're in
  response to other emails, ane which emails those are.  Many of us use
  mail clients that make use of that to enhance our ability to deal with
  email efficiently, and when you hit reply when you're starting a whole
  new discussion topic you end up with your email being slotted into a
  thread dedicated to a different topic.  As such, you end up hijacking
  a thread.  Rule of thumb: Unless you're actually replying to something
  someone else said, don't use the reply button in your email client.
 
  As for your question: read up on X forwarding with the ssh tool.  If
  you need further help beyond that, *please* start a new thread and ask
  there.  I'll try to keep an eye out for such a thread so I can reply if I
  have some help to offer.
 
  --
  CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
  Baltasar Gracian: A wise man gets more from his enemies than a fool from
  his friends.
  

Oh yeah, check out the help sections titled Configuration,
Controlling GDM and GDM Commands, and Example Configurations.

-Michael S. Eubanks
 [EMAIL PROTECTED]


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


Swap size

2007-07-19 Thread Gabriel Linder

Hi,

I plan to setup FreeBSD 6.2-RELEASE on my Core Duo laptop with 1GB of RAM.

The handbook says ideal swap size is 2xRAM, so should I use 2GB of 
swap ? This seems a bit huge to me, I never used more than 400MB on Linux.
If so, is there a limit of swap partition size (or number) on i386 (for 
Linux it's 2GB per partition and 32 partitions max, but I don't know for 
FreeBSD) ?


I plan to use two slices so I can have 2x1GB of swap anyway, I'm just 
curious :-)

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


no /boot/loader - after installation

2007-07-19 Thread John Clement

I'm installing 6.1 on an HP Vectra VL420, I've been in the BIOS to set the
C/H/S as per what the install reports (I've tried an 80GB Seagate and a
250GB WD), the install all seems to go fine.  I've tried the FreeBSD boot
manager, a standard MBR and even setting the disk as dedicated, but
regardless I end up with the same 'no /boot/loader' when it reboots.

I suspect (and hope) I'm making a simple mistake, I just haven't seen this
happen before.

Thanks in advance!!

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


'clamav-plugin' claws-mail

2007-07-19 Thread Gerard
I thought I had posted this earlier, however, I have not seen it
listed.

When attempting to load the 'clamav plug-in' with 'claws-mail-2.10.0_1'
the system will freeze. GDB did not reveal any useful information
according to the developers. Using truss, I find I get this error
message:


Fatal error 'Thread is not system scope.
' at line 319 in file /usr/src/lib/libpthread/thread/thr_sig.c (errno = 0)


Googling has not turned up any definitive answers. I am not sure what
this error message means. Perhaps someone has an idea.


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


Re: Can cron e-mail HTML?

2007-07-19 Thread Tom Evans
On Sat, 2007-07-14 at 19:14 -0400, Mikhail Teterin wrote:
 On субота 14 липень 2007, Daniel Bye wrote:
 = So it's beginning to look as if your best bet is in fact to make your
 = script handle sending the mail.
 
 Yeah, seems like it...
 
 = Not the cleanest solution, but one that will get your messages formatted
 = exactly how you want them.
 
 Well, I started looking into how much effort would it be to translate the 
 strings returned by libmagic(3)'s routines into Content-Type.
 
 If it is easy enough, I could hack cron to analyze the job's output using 
 magic_buffer(3) and set Content-Type if anything recognizable is detected...
 
 The translation is the difficult part :-( Instead of the standardized
 
   text/html
 
 for example, libmagic returns:
 
   HTML document text
 
 It is trying to be human-readable, while I need the machine-readable strings.
 
 There is stuff on-line that does the translation, but it is in much 
 higher-level languages (like PHP), which think, hash-tables are free :-)
 
 Oh, well...
 
   -mi

Or you could just use sendmail?

30  4  *  *  1-6  ~/bin/foo 21 | sendmail [EMAIL PROTECTED]

Sendmail will read in any headers you put into the message. Eg:

 $ cat sample.htmlh 
Subject: really?

Really?


will work just fine and set the email subject header when piped into
sendmail.

Or you could patch cron to use libmagic, and have cron scripts that will
only work on one box. Hmmm, decisions, decisions...


signature.asc
Description: This is a digitally signed message part


Re: Roundcube Install Problem

2007-07-19 Thread Dantavious
On Thursday 19 July 2007 01:36:43 Norberto Meijome wrote:
 On Thu, 19 Jul 2007 00:16:01 -0400

 Dantavious [EMAIL PROTECTED] wrote:
  I am having difficulties installing Roundcube.  I have correctly setup
  all the pertinet information that is needed to use the application
  according to the directions. My problem arising when I attempt to browse
  to the page and login in. I get a roundcube webgage that is garbled.

 Hi Dantavious,

 how is it garbled?

 _
 {Beto|Norberto|Numard} Meijome

 Outside of a dog, a book is man's best friend.
  Inside of a dog, it's too dark to read.
   Groucho Marx

 I speak for myself, not my employer. Contents may be hot. Slippery when
 wet. Reading disclaimers makes you go blind. Writing them is worse. You
 have been Warned.

When  try to log into the web page the web page shows the login button but 
also this.
4�z\0 \0  .\0\0\0��c\0 \0  ..\0\05�z\0 \0  includes\0\ ��z\0 \0  images\0劥z\0 
\0  templates\0 圥z\0 \0  common.css\0��z\0 \0  mail.css\0���z\0 \0  
pngbehavior.htc\0��z\0 \0  print.css\0���z\0 \0  settings.css\0Y 塥z\0 \0  
splitter.js\0��z\0 \0  addresses.css\0 壥z\0 \0  watermark.html\0夥z\0 \0  
editor_popup.css\0Y 奥z\0 \0  colorpicker.css\0��z\0 \0  editor_ui.css\0 姥z\0 
\0  googiespell.css\0��z\0�\0  
editor_content.css\0�\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0

Needless to say, the login button does not wor either.
DerricK
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can cron e-mail HTML?

2007-07-19 Thread Mikhail Teterin
On четвер 19 липень 2007, Tom Evans wrote:
= Or you could patch cron to use libmagic

Done:

http://aldan.algebra.com/~mi/cron-mime.diff

It even works now...

= and have cron scripts that will only work on one box.

And send-pr the diffs to FreeBSD :-)

-mi


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


Re: FreeBSD 6.2-STABLE apache 2.2.4 = bad performance. Help!

2007-07-19 Thread Norberto Meijome
On Wed, 18 Jul 2007 23:12:57 +0100
Michael Vaughn [EMAIL PROTECTED] wrote:

 Hello everyone,
 
 I am contacting -performance, -questions, and -hackers in the hope someone
 helps me troubleshoot a problem with FreeBSD 6.2 and apache 2.2.4

[ responding in questions - removed unnecessary lists]

can you please make your php.ini, httpd.conf , enabled extras/* and Include/*
available please?

what's the output of httpd -V and httpd -l

Do you use anything outside of the normal? Any networked file system ?


[...]

 The problem:
 
 Right after starting apache, the loads on the server will climb to 10-40's
 and the application will become unacceptably slow. This will go on until few
 users are using the said application. (note: other servers running older
 FreeBSD versions on dual cpus running the same code don't exhibit this
 system% problem) top shows more than 60% of the CPU time is spent on system:

I would first try to determine if the problem is with your application OR
apache+OS+configuration combo you have here.

- get rid of your application altogether - does apache behave the same way
(without clients hitting it)? If yes, dont worry about your app at all for now
- apache shouldn't load your system like this.

- If load with no-own-app-and-no-clients is ok, use ab to generate some load on
the server , on plain html pages. what happens then?

- I am not sure what would the best way to test PHP load...but there may be out
there some test framework  / standard php applications that can be used as a
point of reference... 

- you can run 
ktrace httpd -X 

and start using your app, and see if you get anything interesting in the output


 I had to lower MaxClients on apache substancially from 128 to 32, or loads
 would quickly go to 40+. (Other servers with dual cpus instead of quad and
 apache 1.3 on freebsd 6.0 don't have this problem)

something is fishy here , I've had (have? ) Apache boxen (i386 though )
with several hundred children  allowed (well, big enough that i had to change
the build defaults ), and it works fine. (i am not comparing apps, of course,
but the server behaviour is what is interesting)

HIH,
B
_
{Beto|Norberto|Numard} Meijome

The freethinking of one age is the common sense of the next.
   Matthew Arnold

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can cron e-mail HTML?

2007-07-19 Thread Tom Evans
On Thu, 2007-07-19 at 07:55 -0400, Mikhail Teterin wrote:
 On четвер 19 липень 2007, Tom Evans wrote:
 = Or you could patch cron to use libmagic
 
 Done:
 
   http://aldan.algebra.com/~mi/cron-mime.diff
 
 It even works now...
 
 = and have cron scripts that will only work on one box.
 
 And send-pr the diffs to FreeBSD :-)
 
   -mi
Sarcasm really doesn't work on the internet does it :)
Teaching cron about file types/mime types is an awful idea - sounds like
something you'd find in gentoo.

Just because something can be done, doesn't mean it should be :)


signature.asc
Description: This is a digitally signed message part


Re: /dev/random in jails

2007-07-19 Thread Tech Valley Internet - Tony Kivits

At 10:02 PM 7/18/2007, Tech Valley Internet - Tony Kivits wrote:

At 09:50 PM 7/18/2007, Christopher Cowart wrote:

On Wed, Jul 18, 2007 at 09:49:12PM -0700, Christopher Cowart wrote:
 $ dd if=/dev/random bs=1 count=12 2/dev/null | openssl base64
 Should give you a base64 encoding of some random data (base64 to prevent
 it from messing up your terminal) if /dev/random is working.

I meant to point if=jailroot/dev/random. Testing /dev/random for the
host OS isn't going to be too meaningful.

--
Chris Cowart
Lead Systems Administrator
Network  Infrastructure Services, RSSP-IT
UC Berkeley


Thanks Chris,

I figured out what you meant.  ;)

I think with all my playing I managed to put a symlink in the dev 
directory that I can't get out.


I will try to do a reinstall of the machine and try all the 
suggestions on a clean environment.


Tony



Ok.  I now know what is happening.

The random and urandom devices are in the jail's /dev directory when 
the jail is created and the test you gave me to try did work once 
tweaked a bit.  But when I run the installation script for hsphere 
the two devices disappear out of the /dev directory.


The devices are then inaccessible for all processes until the jail is 
restarted.


I have looked in the usually log files and nothing is recorded there.

My configuration is as follows

# Jail info in host's rc.conf
jail_enable=YES
jail_interface=xl0
jail_devfs_enable=YES
jail_procfs_enable=YES
jail_list=cp
jail_cp_rootdir=/usr/jails/cp
jail_cp_hostname=cp.example.ca
jail_cp_ip=192.168.1.71
jail_cp_mount_enable=YES
jail_cp_devfs_ruleset=devfsrules_thin_jail


#devfs.rules
[devfsrules_thin_jail=100]
add include $devfsrules_hide_all
add include $devfsrules_unhide_basic


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


Re: Can cron e-mail HTML?

2007-07-19 Thread Mikhail Teterin
On четвер 19 липень 2007, Tom Evans wrote:
= Teaching cron about file types/mime types is an awful idea

Why? My particular cron-job generates HTML. Somebody else's might generate a 
JPG image -- from their telescope every morning. There is no reason for these 
jobs to have to do the e-mailing on their own.

Cron has this functionality, it just needs to be improved to match the 
modern-times expectations (MIME was introduced in the previous millennium.)

And if you are worried about feature-creep, well, you should've objected 
back when piping to sendmail was put into cron in the first place. After all, 
ALL cron jobs (including the purely textual ones) could have explicit piping 
into a mailer... If you don't mind cron generating the From: and the Subject: 
headers, you should not mind it generating the Content-Type:.

= - sounds like something you'd find in gentoo.

And then I plan to add magick-handling to mail(1) -- to allow you to e-mail a 
file with the properly-set Content-Type.

Yours,

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


Re: 4.11 p19 on a hosted web site

2007-07-19 Thread DAve

Roland Smith wrote:

On Wed, Jul 18, 2007 at 02:15:33PM -0700, [EMAIL PROTECTED] wrote:

Hello Everyone.
I have a domain hosted on a vary large Visa CISP compliant host in the US 
of A.

Right now there software is
freebsd 4.11-release p19
mysql 4.0
php4
osCommerce 2.2 ms2.

I am wondering if this is something
i need to worry about intil thay get
up to speed on the above said software.




FreeBSD 4.11 was a wonderfully stable and robust system. PHP 4 was and 
is still good, it was well over a year (maybe two years) after it's 
release before Zend and php.net began using php5.


I would prefer a 4.11 system behind a well managed firewall, on a locked 
down server, administered by a security conscience and knowledgeable 
administrator, over a 6.2 system with portsupdate -aRr running every 
Sunday in Cron.



Both FreeBSD 4.x and php4 are not supported anymore. Bugs and
vulnerabilities in this software will not be fixed anymore. Mysql 4.0 is
also over four years old.

In short, you're running unmaintained and old software, which probably
has known bugs and vulnerabilities. 


Running 6.2 would be running maintained software with as of yet unknown 
and unpublished bugs and vulnerabilities, of unknown severity.




I would worry.


I would do more research on the company. Choose the right craftsman and 
don't worry about the hammer.


Dave

--
Three years now I've asked Google why they don't have a
logo change for Memorial Day. Why do they choose to do logos
for other non-international holidays, but nothing for
Veterans?

Maybe they forgot who made that choice possible.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Remote Desktop tool for FreeBSD

2007-07-19 Thread Roger Olofsson



Ivan Carey skrev:

simon butsana wrote:

Hi,
 Does anyone know of a remote X client that can be used to 
establish a remote X session with a FreeBSD box.   As an example, I 
would greatly like to test a tool with features similar to Microsoft's 
Remote Desktop.

 Thanks,
 Simon

Roger Olofsson [EMAIL PROTECTED] a écrit :
 
Steve Franks skrev:
 

I just had this problem this week - drives are fine until you access
one and then disappears.

Checked my bios monitor page and 12V was only 11.8V. Changing from a
300W to a 500W power supply magically fixed the problem...

I don't claim that this is necessarily your problem, but it caught me
off-guard and it's worth looking at.

Steve

On 7/16/07, Roger Olofsson wrote:
   

Dear mailing list,

I have 2 IBM HDs and one WD HD (ata) in an old pc and for some reason
FBSD 6.2 can't find the IBMs on a warm-boot. Cold-boot is fine and, the
WD is fine.

The motherboard is an old Aopen AX34 and all settings are default 
except

for ACPI that's off.

The first thought that came to mind was that one of the IBMs are going
bad, but, I find it very unlikely that both HDs are doing it. One is a
120 and one is an 80gigger but both 'vanish' on warm-boot.

Some other setting in bios than ACPI?

Grateful for any answer,

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


  



Thank you for your answer. I'll check the PSU and if necessary replace 
it.


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




Simon-Pierre Butsana
  [EMAIL PROTECTED]
 I do not fear computers. I fear the lack of them.  —Isaac 
Asimov   
   -
 Découvrez le blog Yahoo! Mail : dernières nouveautés, astuces, 
conseils.. et vos réactions !

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


.

  

Simon,
I use x11vnc and kdm on the server and tightvnc on the client.

This setup works very well.

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





Dera Mailing List,

I am hijacking my thread back!

I use Xming on Windows as X client to connect remotely. It's on
Sourceforge - http://sourceforge.net/projects/xming .

Good luck!

To close the original thread, it turned out one HD of the two on same
IDE channel was dying, replaced it and issue is gone. For some strange
reason the dying HD locked up the IDE channel making both HDs vanish.

Thank you to all that responded!

/Roger

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


Re: max resolution with vesa driver on amd64 system running FreeBSD 6.2

2007-07-19 Thread Yuri Pankov
On Sat, Jul 14, 2007 at 02:21:09AM -0700, Dino Vliet wrote:
 Hi folks,
 
 I'm having problems with my monitor on freebsd. The vesa driver uses 1024X768 
 while the monitor is capable of doing 1680x1050.
 
 Observed here as well:
 
 https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-nv/+bug/5801
 
 Using the nv driver is no option because it freezes my system and I have to 
 turn the power down to start booting the system again.
 
 Am I in a problematic situation now because:
 
 1) Vesa isn't capable of using higher resolutions?
 2) I can use NV because the driver isn't ok on my amd64 system
 3) Nvidia doesn't provide a FreeBSD version of their nvidia driver on AMD64 
 based systems?
 
 Brgds
 

Not an answer you want but.. Try using xf86-video-nv 2.1.2 (as opposed
to 1.2.2.1, which is in ports now). All you need to do is change
PORTVERSION to 2.1.2 in x11-drivers/xf86-video-nv/Makefile, delete
distinfo and `make fetch makesum install'.


HTH,
Yuri


pgp4IqESdZzkV.pgp
Description: PGP signature


Re: Swap size

2007-07-19 Thread Derek Ragona

At 03:03 AM 7/19/2007, Gabriel Linder wrote:

Hi,

I plan to setup FreeBSD 6.2-RELEASE on my Core Duo laptop with 1GB of RAM.

The handbook says ideal swap size is 2xRAM, so should I use 2GB of swap ?


Yes unless you know how many applications will ever be run and their run 
size.  The 2xRAM is so you can always have a reasonable performance 
allowing swap.  You can still run out of swap, and this will cause a 
panic.  With disks so cheap, why not use 2XRAM?



 This seems a bit huge to me, I never used more than 400MB on Linux.
If so, is there a limit of swap partition size (or number) on i386 (for 
Linux it's 2GB per partition and 32 partitions max, but I don't know for 
FreeBSD) ?


You can add more swap using a swap file you can check that out doing:
man swapon

I don't believe there is a limit to swap partitions, other than the limit 
on other partitions.


I have no knowledge on efficiency of a swap partition vs a swap file.

-Derek 
--

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

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


install activestate komodo in freebsd 6.2

2007-07-19 Thread vuthecuong

I'm very interesting in this article:
http://www.kiffinsblog.com/archives...lling_komo.html
I searched Googled but could not find linux libcpp5 tarball.
Could anyone give me the link of it?
Tnx


The article is as below:
Installing Komodo IDE 4.0 on FreeBSD ~ FreeBSD

After struggling awhile with the installation of Komodo on my FreeBSD 
6.2 system, I *finally* was successful in getting it up-and-running. 
Therefore I would like to share my experiences in the hopes that in the 
future it may be helpful for some other fellow FreeBSD-er.


Installation:

1. Download the linux libcpp5 tarball.
2. Unpack and cd into extracted dirtectory.
3. As root run ./install.sh
4. Choose install directory: /usr/compat/linux/opt/Komodo-IDE-4.0
5. As root cd /usr/compat/linux/opt/Komodo-IDE-4.0
6. For the bin, share and lib directories do the following:
1. chmod -R +x dirname
2. chmod -R -s dirname
3. chmod -R -t dirname
4. chmod -R +r dirname
7. Download the license and install on Windows or Linux (not FreeBSD)
8. Copy ~/.ActiveState/ActiveState.lic and place in ~/.ActiveState directory
9. Komodo can now be started as: 
/usr/compat/linux/opt/Komodo-IDE-4.0/bin/komodo


You can now create a quick launcher by using one of the images found in: 
/usr/compat/linux/opt/Komodo-IDE-4.0/share/icons/

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


Re: no /boot/loader - after installation

2007-07-19 Thread Derek Ragona

At 03:31 AM 7/19/2007, John Clement wrote:

I'm installing 6.1 on an HP Vectra VL420, I've been in the BIOS to set the
C/H/S as per what the install reports (I've tried an 80GB Seagate and a
250GB WD), the install all seems to go fine.  I've tried the FreeBSD boot
manager, a standard MBR and even setting the disk as dedicated, but
regardless I end up with the same 'no /boot/loader' when it reboots.

I suspect (and hope) I'm making a simple mistake, I just haven't seen this
happen before.

Thanks in advance!!


First you should try 6.2 which is the latest release.

Check your BIOS that you are allowing to write to the boot area.  Many BIOS 
have a setting to not allow this to prevent a virus writing to the boot area.


-Derek

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

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


Re: Swap size

2007-07-19 Thread [LoN]Kamikaze
Derek Ragona wrote:
 At 03:03 AM 7/19/2007, Gabriel Linder wrote:
 Hi,

 I plan to setup FreeBSD 6.2-RELEASE on my Core Duo laptop with 1GB of
 RAM.

 The handbook says ideal swap size is 2xRAM, so should I use 2GB of
 swap ?
 
 Yes unless you know how many applications will ever be run and their run
 size.  The 2xRAM is so you can always have a reasonable performance
 allowing swap.  You can still run out of swap, and this will cause a
 panic.  With disks so cheap, why not use 2XRAM?

Running out of swap doesn't cause a panic, it causes the largest process to be
killed.


  This seems a bit huge to me, I never used more than 400MB on Linux.
 If so, is there a limit of swap partition size (or number) on i386
 (for Linux it's 2GB per partition and 32 partitions max, but I don't
 know for FreeBSD) ?

For a Desktop System 400M should be enough, I don't remember my Desktop system
to ever use more than 1m of swap. However, the swap size should be large enough
for a dump during a panic. So if you want to be able to do some debugging if
you ever run into panics, your swap should be at least as large as your memory.
Assuming that you might add more memory one day something between 2 or 4GB of
swap look reasonable to me.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Swap size

2007-07-19 Thread Gabriel Linder

[LoN]Kamikaze wrote:

Derek Ragona wrote:

At 03:03 AM 7/19/2007, Gabriel Linder wrote:

Hi,

I plan to setup FreeBSD 6.2-RELEASE on my Core Duo laptop with 1GB of
RAM.

The handbook says ideal swap size is 2xRAM, so should I use 2GB of
swap ?

Yes unless you know how many applications will ever be run and their run
size.  The 2xRAM is so you can always have a reasonable performance
allowing swap.  You can still run out of swap, and this will cause a
panic.  With disks so cheap, why not use 2XRAM?


Running out of swap doesn't cause a panic, it causes the largest process to be
killed.



 This seems a bit huge to me, I never used more than 400MB on Linux.
If so, is there a limit of swap partition size (or number) on i386
(for Linux it's 2GB per partition and 32 partitions max, but I don't
know for FreeBSD) ?


For a Desktop System 400M should be enough, I don't remember my Desktop system
to ever use more than 1m of swap. However, the swap size should be large enough
for a dump during a panic. So if you want to be able to do some debugging if
you ever run into panics, your swap should be at least as large as your memory.
Assuming that you might add more memory one day something between 2 or 4GB of
swap look reasonable to me.




Thanks for the precisions, I will go for 2xRAM so.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Haskell and nox11

2007-07-19 Thread Tankko

I need to install darcs on my server, and it requires Haskell (ghc)
which in turn seems to require the x11 system which is not installed
on my headless sever.

I have WITHOUT_X11=true set in /etc/make.conf

===  Extracting for darcs-1.0.9
= MD5 Checksum OK for darcs-1.0.9.tar.gz.
===   darcs-1.0.9 depends on file: /usr/local/sbin/pkg_info - found
===  Patching for darcs-1.0.9
===   darcs-1.0.9 depends on executable: ghc - not found
===Verifying install for ghc in /usr/ports/lang/ghc
===  ghc-nox11-6.6.1 unsupported at the moment.
*** Error code 1

Is this correct or I am doing something wrong?  It seems strange that
a programming language would require x11.

Is there a better was to get darcs and/or Haskell on my server without
installing x11?   Do most people that run backend server just install
x11 anyway?

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


Re: max resolution with vesa driver on amd64 system running FreeBSD 6.2

2007-07-19 Thread Florent Thoumie
Yuri Pankov wrote:
 On Sat, Jul 14, 2007 at 02:21:09AM -0700, Dino Vliet wrote:
 Hi folks,

 I'm having problems with my monitor on freebsd. The vesa driver uses 
 1024X768 while the monitor is capable of doing 1680x1050.

 Observed here as well:

 https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-nv/+bug/5801

 Using the nv driver is no option because it freezes my system and I have to 
 turn the power down to start booting the system again.

 Am I in a problematic situation now because:

 1) Vesa isn't capable of using higher resolutions?
 2) I can use NV because the driver isn't ok on my amd64 system
 3) Nvidia doesn't provide a FreeBSD version of their nvidia driver on AMD64 
 based systems?

 Brgds

 
 Not an answer you want but.. Try using xf86-video-nv 2.1.2 (as opposed
 to 1.2.2.1, which is in ports now). All you need to do is change
 PORTVERSION to 2.1.2 in x11-drivers/xf86-video-nv/Makefile, delete
 distinfo and `make fetch makesum install'.

No need to change the Makefile anymore, it's in ports.

-- 
Florent Thoumie
[EMAIL PROTECTED]
FreeBSD Committer



signature.asc
Description: OpenPGP digital signature


sata: setfeatures settransfermode taskqueue timeout

2007-07-19 Thread Steve Franks

I'm getting this error alot, on shutdown. smartmon reports all my
drives are healthy with 0 errors, I've replaced the controller and
upgraded to a 500W powersupply.  At random one of my 4 sata drives
will give a disconnected error in dmesg and dissappear, usually when
you acess it for the first time on a given boot, but not always the
same drive.  Also, I've now started getting a panic after syncing all
the drives on shutdown.  I'm mystified

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


Re: sata: setfeatures settransfermode taskqueue timeout

2007-07-19 Thread Derek Ragona

At 11:58 AM 7/19/2007, Steve Franks wrote:

I'm getting this error alot, on shutdown. smartmon reports all my
drives are healthy with 0 errors, I've replaced the controller and
upgraded to a 500W powersupply.  At random one of my 4 sata drives
will give a disconnected error in dmesg and dissappear, usually when
you acess it for the first time on a given boot, but not always the
same drive.  Also, I've now started getting a panic after syncing all
the drives on shutdown.  I'm mystified

Steve


Post a full dmesg so we can better see your configuration.

-Derek

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

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


Re: sata: setfeatures settransfermode taskqueue timeout

2007-07-19 Thread Steve Franks

Wasn't in front of it right at that moment, thought someone might have
a silver-bullet right off the get-go.  So, here it is:

Steve

[EMAIL PROTECTED] ~]$ dmesg
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
   The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE #0: Wed Jan 31 21:58:00 MST 2007
   [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) CPU 2.53GHz (2532.63-MHz K8-class CPU)
 Origin = GenuineIntel  Id = 0xf41  Stepping = 1
 
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
 Features2=0x651dSSE3,RSVD2,MON,DS_CPL,TM2,CNTX-ID,CX16,b14
 AMD Features=0x2800SYSCALL,LM
real memory  = 1039859712 (991 MB)
avail memory = 991551488 (945 MB)
ACPI APIC Table: A M I  OEMAPIC 
ioapic0 Version 2.0 irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: A M I OEMXSDT on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 32-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
cpu0: ACPI CPU on acpi0
acpi_throttle0: ACPI CPU Throttling on cpu0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 1.0 on pci0
pci1: ACPI PCI bus on pcib1
pci1: display, VGA at device 5.0 (no driver attached)
pcib2: ACPI PCI-PCI bridge at device 25.0 on pci0
pci2: ACPI PCI bus on pcib2
wi0: Linksys WDT11 port 0xec00-0xec7f,0xe880-0xe8bf mem
0xdfeffc00-0xdfef irq 16 at device 19.0 on pci2
wi0: using Lucent Technologies, WaveLAN/IEEE
wi0: Lucent Firmware: Station (8.72.1)
wi0: Ethernet address: 00:60:1d:f0:e4:f9
atapci0: Promise PDC40718 SATA300 controller port
0xe800-0xe87f,0xe400-0xe4ff mem
0xdfefe000-0xdfefefff,0xdfec-0xdfed irq 17 at device 20.0
on pci2
ata2: ATA channel 0 on atapci0
ata3: ATA channel 1 on atapci0
ata4: ATA channel 2 on atapci0
ata5: ATA channel 3 on atapci0
ohci0: AcerLabs M5237 (Aladdin-V) USB controller mem
0xdfffc000-0xdfffcfff irq 17 at device 28.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: AcerLabs M5237 (Aladdin-V) USB controller on ohci0
usb0: USB revision 1.0
uhub0: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: AcerLabs M5237 (Aladdin-V) USB controller mem
0xdfffd000-0xdfffdfff irq 18 at device 28.1 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: AcerLabs M5237 (Aladdin-V) USB controller on ohci1
usb1: USB revision 1.0
uhub1: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ohci2: AcerLabs M5237 (Aladdin-V) USB controller mem
0xdfffe000-0xdfffefff irq 19 at device 28.2 on pci0
ohci2: [GIANT-LOCKED]
usb2: OHCI version 1.0, legacy support
usb2: SMM does not respond, resetting
usb2: AcerLabs M5237 (Aladdin-V) USB controller on ohci2
usb2: USB revision 1.0
uhub2: AcerLabs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 3 ports with 3 removable, self powered
ehci0: ALi M5239 USB 2.0 controller mem 0xdc00-0xdcff irq 23
at device 28.3 on pci0
ehci0: [GIANT-LOCKED]
usb3: EHCI version 1.0
usb3: companion controllers, 3 ports each: usb0 usb1 usb2
usb3: ALi M5239 USB 2.0 controller on ehci0
usb3: USB revision 2.0
uhub3: AcerLabs EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 8 ports with 8 removable, self powered
isab0: PCI-ISA bridge at device 30.0 on pci0
isa0: ISA bus on isab0
pci0: bridge at device 30.1 (no driver attached)
atapci1: AcerLabs M5229 UDMA133 controller port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 31.0 on
pci0
ata0: ATA channel 0 on atapci1
ata1: ATA channel 1 on atapci1
acpi_button0: Power Button on acpi0
fdc0: floppy drive controller (FDE) port 0x3f0-0x3f5,0x3f7 irq 6 drq
2 on acpi0
fdc0: [FAST]
ppc0: Standard parallel printer port port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: Parallel port bus on ppc0
plip0: PLIP network interface on ppbus0
lpt0: Printer on ppbus0
lpt0: Interrupt-driven port
ppi0: Parallel I/O on ppbus0
atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
orm0: ISA Option ROM at iomem 0xc-0xcdfff on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 

portupgrade question

2007-07-19 Thread Jonathan Horne
ive been using 'portupgrade -apP' on my systems lately (since i keep a central 
repository of packages i build for my systems; a good bulk of them are used 
across most/all of them).  

in situations where new packages are built from ports (ie, when the package 
in /usr/ports/packages/All is no longer the most current), the -p is going 
back and repackaging lots of packages that already exist.  is there a way to 
tell portupgrade not to repackage things that are not new versions?

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


Re: portupgrade question

2007-07-19 Thread Michael S. Eubanks
On Thu, 2007-07-19 at 12:29 -0500, Jonathan Horne wrote:
 ive been using 'portupgrade -apP' on my systems lately (since i keep a 
 central 
 repository of packages i build for my systems; a good bulk of them are used 
 across most/all of them).  
 
 in situations where new packages are built from ports (ie, when the package 
 in /usr/ports/packages/All is no longer the most current), the -p is going 
 back and repackaging lots of packages that already exist.  is there a way to 
 tell portupgrade not to repackage things that are not new versions?
 
 thanks,

Don't use the ``p'' option.  Use something like ``-afrRPv''.

Force upgrade of all ports, their dependants and dependencies
(recursively), build a package of the the newly compiled port, and do it
verbosely.

Or just use ``-arRPv'' if you do not want to rebuild or reinstall
current ports (while still building packages).


-Michael S. Eubanks
 [EMAIL PROTECTED]




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


Re: sata: setfeatures settransfermode taskqueue timeout

2007-07-19 Thread Harry Newton
Steve

Check your cables: I had similar sporadic failures which were caused
by a SATA cable that didn't seat well into the sockets on the board
and drive. When I replaced the cable with a better one with a spring
clip the failures stopped.

 - Harry


Steve Franks [EMAIL PROTECTED] writes:

 Wasn't in front of it right at that moment, thought someone might have
 a silver-bullet right off the get-go.  So, here it is:

 Steve

 [EMAIL PROTECTED] ~]$ dmesg
 Copyright (c) 1992-2007 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 6.2-RELEASE #0: Wed Jan 31 21:58:00 MST 2007
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel(R) Celeron(R) CPU 2.53GHz (2532.63-MHz K8-class CPU)
   Origin = GenuineIntel  Id = 0xf41  Stepping = 1
   
 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
   Features2=0x651dSSE3,RSVD2,MON,DS_CPL,TM2,CNTX-ID,CX16,b14
   AMD Features=0x2800SYSCALL,LM
 real memory  = 1039859712 (991 MB)
 avail memory = 991551488 (945 MB)

[...]

 ad0: 157066MB Hitachi HDS721616PLAT80 P22OA60A at ata0-master UDMA133
 acd0: DVDR NEC DVD RW ND-3500AG/2.16 at ata1-master UDMA33
 ad4: 190782MB SAMSUNG SP2004C VM100-49 at ata2-master SATA300
 ad6: 157066MB HDT722516DLA380 V43OA9BA at ata3-master SATA150
 ad8: 157066MB HDT722516DLA380 V43OA9BA at ata4-master SATA150
 Trying to mount root from ufs:/dev/ad0s1a
 WARNING: / was not properly dismounted
 WARNING: /tmp was not properly dismounted
 WARNING: /usr was not properly dismounted
 WARNING: /var was not properly dismounted
 WARNING: /raincloud was not properly dismounted
 WARNING: /mnt/rsync/raincloud was not properly dismounted
 ad6: FAILURE - device detached
 subdisk6: detached
 ad6: detached
 ad8: FAILURE - device detached
 subdisk8: detached
 ad8: detached
 [EMAIL PROTECTED] ~]$


 On 7/19/07, Derek Ragona [EMAIL PROTECTED] wrote:
 At 11:58 AM 7/19/2007, Steve Franks wrote:
 I'm getting this error alot, on shutdown. smartmon reports all my
 drives are healthy with 0 errors, I've replaced the controller and
 upgraded to a 500W powersupply.  At random one of my 4 sata drives
 will give a disconnected error in dmesg and dissappear, usually when
 you acess it for the first time on a given boot, but not always the
 same drive.  Also, I've now started getting a panic after syncing all
 the drives on shutdown.  I'm mystified

[...]

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


Re: sata: setfeatures settransfermode taskqueue timeout

2007-07-19 Thread Derek Ragona

At 12:34 PM 7/19/2007, Harry Newton wrote:

Steve

Check your cables: I had similar sporadic failures which were caused
by a SATA cable that didn't seat well into the sockets on the board
and drive. When I replaced the cable with a better one with a spring
clip the failures stopped.

 - Harry


My most recent SATA problems were cables too.  Not sure why the cables went 
bad, but the drives would just detach on the old cables.


-Derek

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

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


Ruby Taking FOREVER to compile?

2007-07-19 Thread Chris Maness
I am upgrading all of my ports on a slightly slower machine, and 
ruby+pthreads packge is taking what seems to be an unreasonably long 
time to compile.  Is it possible that it is stuck in a loop?  It has 
been sitting on Generating RI for several hours.  It doesn't seem to 
take that long to build the whole base system.


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


Re: Ruby Taking FOREVER to compile?

2007-07-19 Thread Chuck Swiger

On Jul 19, 2007, at 11:56 AM, Chris Maness wrote:
I am upgrading all of my ports on a slightly slower machine, and  
ruby+pthreads packge is taking what seems to be an unreasonably  
long time to compile.  Is it possible that it is stuck in a loop?   
It has been sitting on Generating RI for several hours.  It  
doesn't seem to take that long to build the whole base system.


For some reason, generating the Ruby docs requires a lot of RAM, and  
will do poorly (ie, swap a lot) if the machine it is running on  
doesn't have ~ 512MB or more RAM [1].  I believe you can do a make  
config in the ruby ports dir and disable the creation of the Ruby  
docs which ought to help


--
-Chuck

[1]: I don't remember the exact #, but it's around there...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mrtg

2007-07-19 Thread Michael Grant

I updated something which updated Storable.pm and now I'm getting this
error when mrtg runs:

Byte order is not compatible at blib/lib/Storable.pm (autosplit into
blib/lib/auto/Storable/thaw.al) line 415, at
/usr/local/etc/mrtg/hoststat line 51

So it appears that my mrtg data files need to be migrated to use the
new version of Storable.

Anyone come across this before?

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


Re: Haskell and nox11

2007-07-19 Thread Tankko

On 7/19/07, Sergey Zaharchenko [EMAIL PROTECTED] wrote:


It probably doesn't matter here whether you use X11 or not. It seems
like you're running -current, and you are hitting the `.if ${OSVERSION}
= 70' check in the Makefile. Try removing it, and it might work. It
works for me that way, at least...

HTH,


I removed a couple of those checks, and it gets father, but now I get:

===  Extracting for ghc-nox11-6.6.1
= MD5 Checksum OK for ghc-6.6.1-src.tar.bz2.
= MD5 Checksum OK for ghc-6.6.1-src-extralibs.tar.bz2.
===   ghc-nox11-6.6.1 depends on file: /usr/local/bin/perl5.8.8 - found
===   ghc-nox11-6.6.1 depends on file: /usr/local/sbin/pkg_info - found
===  Patching for ghc-nox11-6.6.1
===   ghc-nox11-6.6.1 depends on file: /usr/local/bin/perl5.8.8 - found
===  Applying FreeBSD patches for ghc-nox11-6.6.1
/usr/bin/sed -i.bak
s+/usr/local/lib/ghc-6.6+/usr/ports/lang/ghc/work/ghc-6.6.1-boot/lib/i386-unknown-freebsd+
/usr/ports/lang/ghc/work/ghc-6.6.1-boot/bin/i386-unknown-freebsd/*.sh
sed: /usr/ports/lang/ghc/work/ghc-6.6.1-boot/bin/i386-unknown-freebsd/*.sh:
No such file or directory
*** Error code 1

I am running 5.3, I don't know if that is messing things up, or if I
need to modify the Makefile more to get it to work.

I have a...

/usr/ports/lang/ghc/work/ghc-6.6.1

...but not a...

/usr/ports/lang/ghc/work/ghc-6.6.1-boot

...as the Makefile seems to want.

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


Re: Haskell and nox11

2007-07-19 Thread Alexey Mikhailov
On Friday 20 July 2007 00:21:25 Tankko wrote:
 On 7/19/07, Sergey Zaharchenko [EMAIL PROTECTED] wrote:
  It probably doesn't matter here whether you use X11 or not. It
  seems like you're running -current, and you are hitting the `.if
  ${OSVERSION}
 
  = 70' check in the Makefile. Try removing it, and it might
   work. It
 
  works for me that way, at least...
 
  HTH,

 I removed a couple of those checks, and it gets father, but now I
 get:

Can you please attach original Makefile and your diff? ghc works
for me without X11 but I run -current. Anyway I'll try to help
you.

PS: you can send Makefile and diff only to me to not abuse this 
mailing list with such traffic
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New gthumb port

2007-07-19 Thread Rudy Rucker

Pav Lucistnik wrote:

I was looking around, because gThumb is NOT showing any thumbnails 
for me.  :(   Here is my problem:
  
http://lists.freebsd.org/pipermail/freebsd-questions/2007-July/153663.html 




The error comes from gnome-vfs and means:
The file has too many hard links.


Hmmm... AFAIK, every image on my disk only has one hard link.  My /home 
is an 'ext2fs' partition.  Is that causing the breakage?


Wanted to try out Ubuntu, but Linux can't read/write UFS while FreeBSD 
can do ext2fs a-ok.


RUdy


Ah-ha!  I just confirmed!  If I open gthumb to a UFS mount, it works 
fine.  So, gnome-vfs doesn't like ext2fs.  Bummer!


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


Re: no /boot/loader - after installation

2007-07-19 Thread John Clement

The burner's been playing up recently so I've just been using the copy of
6.1 I've got.  Maybe I'll get a copy of 6.2 burnt at work to try after the
weekend.

The locked MBR hadn't occured to me, but having checked, unfortunately it
wasn't that.  So back to the drawing board.  If anyone's got any other idea,
I'de love to hear them!

cheers -jc

On 19/07/07, Derek Ragona [EMAIL PROTECTED] wrote:


 At 03:31 AM 7/19/2007, John Clement wrote:

I'm installing 6.1 on an HP Vectra VL420, I've been in the BIOS to set the
C/H/S as per what the install reports (I've tried an 80GB Seagate and a
250GB WD), the install all seems to go fine.  I've tried the FreeBSD boot
manager, a standard MBR and even setting the disk as dedicated, but
regardless I end up with the same 'no /boot/loader' when it reboots.

I suspect (and hope) I'm making a simple mistake, I just haven't seen this
happen before.

Thanks in advance!!


First you should try 6.2 which is the latest release.

Check your BIOS that you are allowing to write to the boot area.  Many
BIOS have a setting to not allow this to prevent a virus writing to the boot
area.

-Derek

--
This message has been scanned for viruses and
dangerous content by *MailScanner* http://www.mailscanner.info/, and is
believed to be clean.
MailScanner thanks transtec Computers http://www.transtec.co.uk/ for
their support.

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


Errors Upgrading from 5.4 to 6.2

2007-07-19 Thread Jonathan Quist
I'm attempting to upgrade my system from 5.4 to 6.2 using sysinstall after 
booting from the 6.2 cdrom. After I identify the mount points on the existing 
slices and exit, I get this message: Couldn't stat directory /mnt/dev, 
followed by this message: Unable to mount DEVFS (error 5), and it won't 
continue with the upgrade. There isn't a filesystem mounted at /mnt, and /dev 
is a just directory under the root filesystemm, not a separate filesystem. Is 
there something I'm doing wrong, or do I have something misconfigured? Any 
advice, suggestions, pointers would be greatly appreciated.
   
-
Need a vacation? Get great deals to amazing places on Yahoo! Travel. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Postfix not forwarding mail to primary domain

2007-07-19 Thread Darrell Betts
I recently put a second email server online and made that the main email 
server. I made the other one a backup server. Both are running FreeBSD 
6.2 and Postfix. My main server went down and the backup server 
collected all the mail. When the main came online the backup has not 
forwarded the mail from the backup server to the main server. I have 
even tried the flush command. What could be wrong. I will include my 
postconf file.


canonical_maps = hash:/usr/local/etc/postfix/canonical_maps
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
daemon_directory = /usr/local/libexec/postfix
debug_peer_level = 2
header_checks = regexp:/usr/local/etc/postfix/header_checks
html_directory = no
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
mydomain = XXX.com
myhostname = XXX.XXX.com
mynetworks = 127.0.0.0/8,76.215.134.134
mynetworks_style = host
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = hash:/usr/local/etc/postfix/relay_domains
relay_recipient_maps = hash:/usr/local/etc/postfix/relay_recipients
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtpd_client_restrictions = check_client_access 
cidr:/usr/local/etc/postfix/sinokorea.cidr   permit
smtpd_recipient_restrictions = reject_unauth_pipelining,  
reject_non_fqdn_recipient,  reject_unknown_recipient_domain,  
permit_mynetworks,  permit_sasl_authenticated,  
reject_unauth_destination,  reject_rbl_client list.dsbl.org,  
reject_rbl_client sbl-xbl.spamhaus.org  check_policy_service 
inet:127.0.0.1:10023

unknown_local_recipient_reject_code = 550
virtual_alias_domains = .com,.com
virtual_alias_maps = hash:/usr/local/etc/postfix/virtual_alias

The relay domain reads

xxx.com ok
xxx.com ok
192.168.2.145   ok

Thanks for the help

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


Any luck with Microsoft Wireless Optical Desktop USB mouse?

2007-07-19 Thread George Hartzell

Hi,

I'm trying to get a Microsoft Wireless Optical Desktop working on a
Mac Pro running today's -STABLE amd64.

The Desktop has a single wireless puck that supports a keyboard and
a mouse.  The puck has two connectors, a usb dongle and a
old-fashioned mouse connector (din-9?).

I've had the set working with -STABLE i386 on normal pc hardware but
only if I hooked up both the usb and the mouse connector.  The mac
pro only supports usb hardware.

The mouse shows up in dmesg as 

 ums0: Microsoft Microsoft Wireless Optical Desktop\M-. 1.00, rev
 2.00/17.17, addr 3, iclass 3/1

and a moused gets started for it automagically (presumably by usbd).

Plugging in a wired usb mouse works fine.

I've enabled USB_DEBUG and tried fiddling various sysctl knobs
(hw.usb.ums.debug, hw.usb.ukbd.debug, hw.usb.debug) and I kind of
think that the mouse might not even be talking out of the puck's usb
connector but out of the standard mouse connector.

Both the mouse and the keyboard work fine on the Mac using stock OS X
and also after loading Microsoft's drivers.

Is it possible that the puck needs to somehow be told to route the
mouse out the usb connector?

Any other suggestions?

Thanks,

g.

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


my arquitecture is...

2007-07-19 Thread Sergio Andrés Ligregni Arredondo

I have a COMPAQ Presario (laptop) V2615LA with an AMD Sempron 1.83Ghz, 40 GB 
HD, 256 MB RAM, I have the i386 arquitecture CD-ROM, I tried to install it, I 
see the FreeBSD boot menu (the one in console mode, with FreeBSD drown in 
white), I choose 1 (default), and in the init scripts, it stuck in a line that 
says:
 
Timecounter tick every 1.000 msec
 
and the CD light turn off (the CD-ROM drive isn't reading anything) and the HD 
led stays on (like there is something reading the disk, and I press ENTER, ESC, 
I waited once almost two hours, but nothing)
I also tried the same CD-ROM in a PC (desktop) with Intel Celeron 2.0Ghz, 80 
HD, 256 RAM and it runs perfectly (so the CD is ok), but I am out almost always 
so I need to have FreeBSD in my notebook.
 
I installed throught my PC FreeBSD in an external HD (it connects via USB), I 
plugged in my notebook, boot from external HD and its the same as the CD-ROM, 
it stucks in Timecounter tick every 1.000 msec, but the external HD runs 
perfectly in the Desktop
 
I saw the README file in the CD and it says:
 
FreeBSD supports COMPAQ/HP Alpha (alpha), Intel AMD (i386)...
 
so I tried downloading the alpha arquitecture ISO (because I have a COMPAQ), 
but when I boot from CD it happens anything (well, like it tries to read 
something but it doesn't appears anything) and it go right to Windows.
 
is there another arquitecture I should try? (like amd64 (but my CPU is not 64))
should I go to loader prompt and make some commands?
is freeBSD not avaiable for some notebooks (because the drivers, or the brand)?
should I format all the HD and install FreeBSD in the hole disk?
 
Thank you and sorry my English, I'm from Mexico
_
¡Descarga más de 30 emoticones GRATIS y haz más divertidas tus charlas!
http://emoticons.prodigymsn.com/___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Postfix not forwarding mail to primary domain

2007-07-19 Thread Josh Paetzel
On Thursday 19 July 2007, Darrell Betts wrote:
 I recently put a second email server online and made that the main
 email server. I made the other one a backup server. Both are
 running FreeBSD 6.2 and Postfix. My main server went down and the
 backup server collected all the mail. When the main came online the
 backup has not forwarded the mail from the backup server to the
 main server. I have even tried the flush command. What could be
 wrong. I will include my postconf file.

 canonical_maps = hash:/usr/local/etc/postfix/canonical_maps
 command_directory = /usr/local/sbin
 config_directory = /usr/local/etc/postfix
 content_filter = smtp-amavis:[127.0.0.1]:10024
 daemon_directory = /usr/local/libexec/postfix
 debug_peer_level = 2
 header_checks = regexp:/usr/local/etc/postfix/header_checks
 html_directory = no
 mail_owner = postfix
 mailq_path = /usr/local/bin/mailq
 manpage_directory = /usr/local/man
 mydestination = $myhostname, localhost.$mydomain, localhost,
 $mydomain, mydomain = XXX.com
 myhostname = XXX.XXX.com
 mynetworks = 127.0.0.0/8,76.215.134.134
 mynetworks_style = host
 newaliases_path = /usr/local/bin/newaliases
 queue_directory = /var/spool/postfix
 readme_directory = no
 relay_domains = hash:/usr/local/etc/postfix/relay_domains
 relay_recipient_maps = hash:/usr/local/etc/postfix/relay_recipients
 sample_directory = /usr/local/etc/postfix
 sendmail_path = /usr/local/sbin/sendmail
 setgid_group = maildrop
 smtpd_client_restrictions = check_client_access
 cidr:/usr/local/etc/postfix/sinokorea.cidr   permit
 smtpd_recipient_restrictions = reject_unauth_pipelining,
 reject_non_fqdn_recipient,  reject_unknown_recipient_domain,
 permit_mynetworks,  permit_sasl_authenticated,
 reject_unauth_destination,  reject_rbl_client list.dsbl.org,
 reject_rbl_client sbl-xbl.spamhaus.org  check_policy_service
 inet:127.0.0.1:10023
 unknown_local_recipient_reject_code = 550
 virtual_alias_domains = .com,.com
 virtual_alias_maps = hash:/usr/local/etc/postfix/virtual_alias

 The relay domain reads

 xxx.com ok
 xxx.com ok
 192.168.2.145   ok

 Thanks for the help

 Darrell

From main.cf.concerning the mydestination parameter

# Do not specify the names of domains that this machine is backup MX
# host for. Specify those names via the relay_domains settings for
# the SMTP server, or use permit_mx_backup if you are lazy (see
# STANDARD_CONFIGURATION_README).

This really isn't a FreeBSD question, it's a postfix question.  Please 
seek out further help from the appropriate postfix mailing lists. 

-- 
Thanks,

Josh Paetzel


pgpSyd8rhaGNu.pgp
Description: PGP signature