Re: FreeBSD Tomcat

2007-09-28 Thread Jonathan Chen
On Fri, Sep 28, 2007 at 07:14:33AM -0700, Yance Kowara wrote:

[...]
> Thank you for the replies. I installed linux-sun-jdk,
> tomcat and mod_jk
> (tomcat apache connector) from ports. It seesm to
> work, but I have not have
> it tested in the production environment by the
> developers.

I suggest that you use the native jdk instead (which you can bootstrap
build with the linux-sun-jdk). The linux-sun-jdk has various issues
running correctly on FreeBSD; check the java-mailing archives. The
native jdk removes the requirement of yet another layer of software to
run (ie the linuxalator), and simplifies debugging.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
"Irrationality is the square root of all evil"
  - Douglas Hofstadter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Why FreeBSD procfs is so different from the Linux one?

2007-10-17 Thread Jonathan Chen
On Wed, Oct 17, 2007 at 02:24:49AM -0700, Yuri wrote:
> Hi,
> 
> When I look at /proc/PID/ in FreeBSD I see the files:
> cmdline ctl dbregs  etype   filefpregs  map mem note
> notepg 
> regsrlimit  status
> and in Linux:
> cmdline  cpu  cwd  environ  exe  fd  maps  mem  mounts  root  stat  statm  
> status
> 
> Why there's such a difference in procfs interface to the process information?
> 
> In addition Linux has /proc/self/ link which is named curproc in FreeBSD.
> 
> Isn't it better to have the same interface across the systems?

Maybe. Why don't you get the Linux guys to change theirs? FreeBSD has
been around longer.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  "The things we know best are the things we haven't been taught."
 - Marquis de Vauvenargues
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Rebuilding world

2007-10-21 Thread Jonathan Chen
On Sun, Oct 21, 2007 at 01:22:51AM +0200, Roberth Sjon?y wrote:
> Hello, i am updating FreeBSD to 8-CURRENT, and im at the "23.4.1 The
> Canonical Way to Update Your System" part of the handbook, when
> running "make buildworld", this occours:
> 
> install -o root -g wheel -m 444 dir-tmpl /usr/share/info/dir
> install:No such file or directory

[...]
> Anyone know what to do?

I hope you realise that if you're running 8-CURRENT (aka Bleeding Edge),
the expected course of actions are:

1. ask at freebsd-current@
2. fix it yourself (and inform -current).

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 When you don't know what you are doing, do it neatly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: defend from -> :() { :&:; } ;:

2007-10-22 Thread Jonathan Chen
On Sun, Oct 21, 2007 at 12:10:02PM -0700, Danielisz Laszlo wrote:
> Please do not try to execute this: :() { :&:; } ;: on your BSD machine.
> I ask all who already tried it how to defend from this?

That's just a fork bomb. Try looking at tuning(7) and login.conf(5) to
reduce the maxproc limit for users.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
"With sufficient thrust, pigs fly just fine. However, this is not necessarily
a good idea. It is hard to be sure where they are going to land, and it
could be dangerous sitting under them as they fly overhead." -- RFC 1925
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: defend from -> :() { :&:; } ;:

2007-10-22 Thread Jonathan Chen
On Mon, Oct 22, 2007 at 06:44:18PM +0200, Martin Tournoij wrote:
> On Sun 21 Oct 2007 12:10, Danielisz Laszlo wrote:
> > Please do not try to execute this: :() { :&:; } ;: on your BSD machine.
> > I ask all who already tried it how to defend from this?
> 
> Wow,, my machine just crashed :-/
> Does in this work on other OS's as well (ie. GNU/Linux)? Or just
> (Free?)BSD? I really don't feel like crashing another machine right
> now...
> 
> Only works in sh, not in csh.
> 
> Anyway, this seems to be security/stability issue, maybe a PR is in
> order?

More likely something's wrong with your system? I tried out the fork
bomb on my box, and while it crawled for a while, it came back out
fine. Running 6-STABLE.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  Experience is a hard teacher
   because she gives the test first, the lesson afterwards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 'break' system call man page is missing?

2007-11-01 Thread Jonathan Chen
On Thu, Nov 01, 2007 at 12:15:48AM -0700, Yuri wrote:
> I can't find man page for system call break.
> /usr/src/lib/libc/sys/ seems to have sources for many man pages but not for 
> break.
> 
> In the mean time in one case it fails for me with errno=22 (Invalid argument).
> Is it's argument (pointer) related to /proc/##/map? One of the blocks 
> mentioned
> in this map file has upper limit equal to the argument pointer of break.

Are you looking for brk(2)?
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
"If everything's under control, you're going too slow"
  - Mario Andretti
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade questions

2007-11-06 Thread Jonathan Chen
On Tue, Nov 06, 2007 at 12:18:01AM +, James wrote:

[...]
> So you don't need to uninstall pkgs before starting to use ports, but you
> can't go back once you've started using them.

That's not true. Packages are just precompiled ports, and you can mix
and match if you know what you're doing. If you keep to one particular
update interface that can support using packages, eg: portupgrade, you
should be fine.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
"The reason why worry kills more people than work is that more people
 worry than work." - Robert Frost
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Installing ports to /usr

2007-11-14 Thread Jonathan Chen
On Wed, Nov 14, 2007 at 01:05:39PM -0500, Matt Fioravante wrote:
> Would there be any negative ramifications to installing ports in /usr
> instead of /usr/local? Like could they potentially clobber system
> binaries and other files or is this pretty safe to do?

It's not safe, for the reasons that you have specified.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  Opportunities are seldom labeled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: System Reboots with Bittorrent Use

2007-12-01 Thread Jonathan Chen
On Sat, Dec 01, 2007 at 11:53:52AM -0600, [EMAIL PROTECTED] wrote:
> Hi!  I have had this problem before, so let me narrate the
> history (quickly).
> 
> I used to use the rtorrent port.  However, when running
> rtorrent (never any other time) the system would spontaneously
> reboot.  I couldn't figure out what exactly the problem was,
> but when I switched to deluge (another bittorrent port) the
> problem seemed to go away.
> 
> I have since reformatted my computer.  I began using deluge
> again a couple weeks ago, but am again experiencing
> spontaneous reboots, now when using deluge (I don't have
> rtorrent installed).  I don't get any message in
> /var/logs/messages (is there a way to make the computer log
> more?  Are there other logs I should check?).  In general the
> file system needs to be cleaned after the reboot.

There's a bug in the kernel with 6-STABLE with Bittorrent clients that
use multiple threads. This includes the latest deluge and azureus
ports. I've filed a PR for this:

http://www.freebsd.org/cgi/query-pr.cgi?pr=117717

but it's been getting no love from the developers. You could try
poking freebsd-stable@ for help.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
The human mind ordinarily operates at only ten percent of its capacity
 -- the rest is overhead for the operating system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: System Reboots with Bittorrent Use

2007-12-01 Thread Jonathan Chen
On Sat, Dec 01, 2007 at 10:14:27PM -0600, [EMAIL PROTECTED] wrote:
> >Date: Sun, 2 Dec 2007 07:48:20 +1300
> >From: Jonathan Chen <[EMAIL PROTECTED]>  
> >> I have since reformatted my computer.  I began using deluge
> >> again a couple weeks ago, but am again experiencing
> >> spontaneous reboots, now when using deluge (I don't have
> >> rtorrent installed).  I don't get any message in
> >> /var/logs/messages (is there a way to make the computer log
> >> more?  Are there other logs I should check?).  In general the
> >> file system needs to be cleaned after the reboot.
> >
> >There's a bug in the kernel with 6-STABLE with Bittorrent
> clients that
> >use multiple threads. This includes the latest deluge and azureus
> >ports. I've filed a PR for this:
> >
> >http://www.freebsd.org/cgi/query-pr.cgi?pr=117717
> >
> >but it's been getting no love from the developers. You could try
> >poking freebsd-stable@ for help.
> 
> Thanks a lot, that sounds like it could very well be the
> problem.  I don't think it's a physical hardware problem,
> because I have no problem using bittorrent in Windows, and the
> behavior went away (previously) when switching from rTorrent
> to an older version of Deluge.
> 
> I don't think I have the dmesg from after the crash anymore --
> I don't want to replicate it because I'm kind of worried that
> something will go terribly wrong with the disk...
> 
> Is there a bittorrent client someone would like to recommend?

If you could downgrade to deluge-0.5.5, that was the last one that
worked.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 "Beer. Now there's a temporary solution."
   - Homer Simpson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: SSH disconnects very troubling

2007-12-03 Thread Jonathan Chen
On Mon, Dec 03, 2007 at 06:22:40PM -0500, Anne Moore wrote:
> Hi All
>  
> Whenever my users connect to my FreeBSD system, they are automatically
> disconnected after 1 minute of inactivity. This happens no matter if they
> are connected to our Oracle instance or SSH or Telnet, or anything. It's
> like the server "hangs-up" on them after no activity for a minute or so.
>  
> I ran tcpdump during and received this error on the disconnect:
>  
> 17:20:21.362159 IP 192.168.8.90.56141 > myhost1.rdm.loc.ssh: . ack 233 win
> 33303 
>  
> I'm stumped! Does anyone have any idea why this might be happening?

Sounds like you've got a stateful firewall in the mix somewhere that's
disconnecting idle connections with a timeout of 1 minute.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
"If everything's under control, you're going too slow"
  - Mario Andretti
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Shell script in crontab cannot write files into FreeBSD's filesystem. (2nd evised version)

2007-12-05 Thread Jonathan Chen
On Wed, Dec 05, 2007 at 04:02:29PM +0700, Supote Leelasuppakorn wrote:
> 
> 
> 
> Hi all,
> 
>Please anybody help me, I faced the problem with my "crontab".
> I tried to run a shell script which will fetch webpage and save it to
> a directory by using wget but after few minute I cannot see any file
> in such directory
> 
>Below are content of shell script, my crontab and also
> file's permission listing.
> 
> ##
> # Output of `crontab -l`
> ##
> SHELL=/bin/sh
> MAILTO=pjn
> * * * * * . /home/pjn/parseGP/fetchPage.sh
^
You've got a "." as your command. Attempting to execute a directory
is Not Good.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  "The things we know best are the things we haven't been taught."
 - Marquis de Vauvenargues
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: securelevel problems

2003-11-04 Thread Jonathan Chen
On Tue, Nov 04, 2003 at 08:25:57PM +, Wayne Pascoe wrote:

[...]
> however a make installworld is still failing with:
> 
> Stop in /usr/src/include.
> *** Error code 1

It's debatable whether this is a securelevel problem. I would remove
/usr/obj/* and rebuild again.

> I then tried touching my kernel, which also fails, with:
> # touch kernel
> touch: kernel: Operation not permitted

This is 'cos there is an immutable flag set on this file. ie: no one
gets to alter it. chflags(1) for more info.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  Build a man a fire, and he'll be warm for a day.
Set a man on fire, and he'll be warm for the rest of his life.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: OT:php error

2003-11-04 Thread Jonathan Chen
On Tue, Nov 04, 2003 at 05:21:02PM -0500, M.D. DeWar wrote:
> I am hoping someone might know what this issue is.
> I really really don't want to have to join other lists.
> I am reconfiguring php.
> This is the ./configure I am using
> 
> ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs --w
> ith-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-zlib-dir=/usr/local
>  --w
> ith-gd=/usr/local

Wouldn't your life be a lot simpler if you used /usr/ports/www/mod_php[45]?
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  Experience is a hard teacher
   because she gives the test first, the lesson afterwards
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 4.x -> 5.x

2003-11-05 Thread Jonathan Chen
On Wed, Nov 05, 2003 at 12:08:24AM -0800, Mike Hoskins wrote:

[...]
> my question is, what's the best way to move 4.x packages to 5.x?  i'm
> not talking binaries of course, but reproducing the set of installed
> packages from data in /var/db/pkg.  i've read through the man pages for
> pkg*, portupgrade, etc...  and i'm thinking it may be simple enough to
> just tar /var/db/pkg under 4.x, restore under 5.x, and then portupgrade
> the tree.  i've tried it with a couple ports and it works, but i haven't
> tried it with an entire tree yet (more complex, with more dependencies to
> keep straight).  am i headed in the right direction, or is this a "bad
> idea".  :)  this is just to get the "same set of binaries" back on the 5.x
> system, merging configs, etc. is given it's own blurbage.

Actually, this sounds like a very clever way of reproducing your ports
setup. A "portupgrade -fRr \*" should do the trick. Wish I'd thought
of it first..

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
---
"One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted."  -- Thomas B. Reed
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: OT:php error

2003-11-05 Thread Jonathan Chen
[Please don't remove Cc: freebsd-questions]

On Wed, Nov 05, 2003 at 10:24:04AM -0500, SWIT wrote:
> don't know.
>  I have php installed. jsut need to reconfigure for an applicaation.

What you're doing requires php to be reinstalled. If that's the case,
why not use the ports, the last time I looked it had a front-end that
allowed you to choose the options to be compiled into it.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 "Beer. Now there's a temporary solution."
   - Homer Simpson
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: upgrade named

2003-11-05 Thread Jonathan Chen
On Wed, Nov 05, 2003 at 11:38:55AM -0500, Arnason, Arni wrote:
> 
> 
>   I've been trying to upgrade named to version 9
>but seem to be missing something
> 
> Currently have: FreeBSD 4.6.2 with named 8.3.3
> 
> downloaded, configured and installed version 9 - updated rc.conf to
> point to the new location, rebooted and I'm still running 8.3.3

I've got the same setup and it works fine. What's in your /etc/rc.conf
and what's the output of "ps ax | grep named"?
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 When you don't know what you are doing, do it neatly.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Anymore help out there? Re: mail never gets sent

2003-11-06 Thread Jonathan Chen
On Thu, Nov 06, 2003 at 02:37:02PM -0800, [EMAIL PROTECTED] wrote:

> simradusa# mailq | less
> /var/spool/mqueue (8 requests)
> -Q-ID- --Size-- -Q-Time- 
> Sender/Recipient---
> hA6KKrBZ0040865 Thu Nov  6 12:20 <[EMAIL PROTECTED]>
>  (Deferred: Operation timed out with mx4.mail.yahoo.com.)
>  (Deferred: Operation timed out with mx4.mail.yahoo.com.)
>  <[EMAIL PROTECTED]>
> hA6K6bBZ0040575 Thu Nov  6 12:06 <[EMAIL PROTECTED]>
>  (Deferred: Operation timed out with mail.pioneernet.net.)
>  <[EMAIL PROTECTED]>
> hA6IAdBZ003813   38 Thu Nov  6 10:10 <[EMAIL PROTECTED]>
>  (Warning: could not send message for past 4 hours)
>  <[EMAIL PROTECTED]>
> hA6HF9BZ0036805 Thu Nov  6 09:15 <[EMAIL PROTECTED]>
>  (Deferred: Operation timed out with mx3.eunet.no.)
>  <[EMAIL PROTECTED]>
> hA4Gc7wG000649   30 Tue Nov  4 08:38 <[EMAIL PROTECTED]>
>  (Deferred: Operation timed out with mx4.mail.yahoo.com.)
>  <[EMAIL PROTECTED]>
> hA4GXHwG000641   15 Tue Nov  4 08:33 <[EMAIL PROTECTED]>
>  (Deferred: Operation timed out with mx3.eunet.no.)
>  <[EMAIL PROTECTED]>
> hA4FCFdC099301   21 Tue Nov  4 07:12 <[EMAIL PROTECTED]>
>  (Deferred: Operation timed out with mx4.mail.yahoo.com.)
>  <[EMAIL PROTECTED]>
> hA4F8udC099278   13 Tue Nov  4 07:08 <[EMAIL PROTECTED]>
>  (Deferred: Operation timed out with mx3.eunet.no.)
>  <[EMAIL PROTECTED]>
> Total requests: 8

The timeouts look suspicious. Is your upstream blocking outgoing SMTP
connections (perhaps in an attempt to stop spam)? A quick way to check
would be to:

> telnet mx4.mail.yahoo.com smtp

No response would mean that someone is blocking you out (either
upstream or the receivers).

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
"If everything's under control, you're going too slow"
  - Mario Andretti
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Anymore help out there? Re: mail never gets sent

2003-11-06 Thread Jonathan Chen
On Thu, Nov 06, 2003 at 03:32:31PM -0800, [EMAIL PROTECTED] wrote:

[...]
> > The timeouts look suspicious. Is your upstream blocking outgoing SMTP
> > connections (perhaps in an attempt to stop spam)? A quick way to check
> > would be to:
> > 
> >> telnet mx4.mail.yahoo.com smtp
> > 
> > No response would mean that someone is blocking you out (either
> > upstream or the receivers).
> > 
> > Cheers.
> > -- 
> > Jonathan Chen <[EMAIL PROTECTED]>
> 
> Tried that, it just sits on 
> 
> simradusa# telnet mx4.mail.yahoo.com smtp
> Trying 216.136.129.5...

I'd talk to your ISP and see if they're doing anything strange with
outgoing SMTP connections. If you've got a firewall set up, I'd check
the rules on that as well.

I don't think you're on a blacklist, 'cos if that were the case, you'd
usually get a:

550 You're on a blacklist, yadda, yadda.

response instead.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
"Only the meek get pinched. The bold survive."
  - Ferris Bueller
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Would like to volunteer my time......

2003-11-06 Thread Jonathan Chen
On Thu, Nov 06, 2003 at 06:20:29PM -0800, Chad McCullough wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Hello,
> 
> I'm hoping that I'm sending this email to the correct address.
> 
> I visit the FreeBSD Personal Pages section of the FreeBSD website located
> at http://www.freebsd.org/gallery/pgallery.html quite often.  I've noticed
> that, unfortunately, there are many broken links on the page.  I know
> the FreeBSD team is extremely busy and keeping this page updated is most
> likely very low on the list of priorities.  I would like to volunteer
> my time to keep the page updated on a continued basis.  I'm not sure
> if this is something that the FreeBSD team would allow but I would love
> to give something back.

All you've got to do is to cvsup a copy of the www tree off FreeBSD
and submit your changes (diff's are the preferred method) using
send-pr. If the reviewers like what you submit it'll get committed.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
"If you wish your merit to be known, acknowledge that of other people"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Call me stupid...

2003-11-17 Thread Jonathan Chen
On Mon, Nov 17, 2003 at 09:31:33PM -0800, Gary Lum wrote:

[...]
> If I'm reading this correctly, Current is
> developmental and should probably not be a production
> machine? IS there a way to backout of this? I haven't
> done anything to the system after stopping CVSUP. What
> if I wiped the directories and reloaded the source
> from CD? OR should I finish the CVSUP and live with
> Current?  

-current is bleeding edge development.

To move to -stable from where you are, you can just "rm -r /usr/src" and
recvsup with the corrected supfile.  You're pretty much safe until you
do a installkernel and/or installworld.

CHeers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  Experience is a hard teacher
   because she gives the test first, the lesson afterwards
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Contribution mechanism

2003-11-20 Thread Jonathan Chen
On Thu, Nov 20, 2003 at 01:34:10PM -0500, Yann-Ga?l Gu?h?neuc wrote:

[...]
>   So, I would like to know more about the processus to contribute to 
> FreeBSD code? Let assume I downloaded source from CVS, and I wrote a 
> patch for some part of the system, how do I submit my patch, to whom 
> should I direct my patch, how will review my patch, and will 
> accept/reject it? I am also interested in any information about the 
> management of FreeBSD code, its quality...

You could check out the Developers' Handbook:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/policies.html

Other bits of the book make good reading as well.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
---
"I love deadlines. I like the whooshing sound they make as they fly by"
- Douglas Adams
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: How can I set a password from STDIN?

2003-11-21 Thread Jonathan Chen
On Fri, Nov 21, 2003 at 06:42:54AM +0200, Lefteris Tsintjelis wrote:
> Hi,
> 
> Would anyone know how can I set or change a password from STDIN? Neither
> passwd or pw seem to accept STDIN.

Use the -h 0 option for pw(8). Check the man pages for more details.
-- 
Jonathan Chen <[EMAIL PROTECTED]>

"We laugh in the face of danger, we drop icecubes down the vest of fear"
 - Edmond Blackadder III
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Postfix/procmail/fetchmail/spamassassin setup

2003-11-23 Thread Jonathan Chen
On Sun, Nov 23, 2003 at 02:51:30PM -0800, Jonas Manalive wrote:
> > could you please verfiy your postfix configuration using `postfix
> > check'? Perhaps this will show some errors.
> 
> No errors.
> 
> > Other hints: Check /var/log/maillog (and post some lines from the tail
> > if you still can fix your problem).
> 
> A'ha! What do I do here to fix this? (I think I should have changed the
> alias database from alias_maps = dbm:/etc/aliases to alias_maps =
> hash:/etc/aliases - or should that be nis or netinfo?)

If you want to use the existing alias_map from sendmail in /etc/mail,
the entry should be:

    alias_maps = hash:/etc/mail/aliases

-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 "A person should be able to do a small bit of everything,
specialisation is for insects"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Fwd: newbee help on freebsd email server setup

2003-11-25 Thread Jonathan Chen
On Sun, Nov 23, 2003 at 09:50:07PM +1100, [EMAIL PROTECTED] wrote:
> Sorry to jump thread, i am also interested in setting a mail server up, i
> have setup bsd as an internet gateway and cvs server for my development
> work, i would like to setup a pop server of some kind to download all my
> email every few mins from my other pop server, then i can setup an imap
> link to the server to view my email, is this possible ?

Yes. Have a look at ports/mail/imap-uw.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 Vini, vidi, velcro...
 I came, I saw, I stuck around
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Multiple NICS

2003-11-25 Thread Jonathan Chen
[Please use a better subject next time]

On Tue, Nov 25, 2003 at 10:20:43AM +0300, Lev Klimin wrote:
> Hi!
> 
> I've FreeBSD-4.8-release with two Ethernet adapters Intel82257. Before
> I'd 4.7-release and I'd no problem. Now if I up second interface fxp1,
> command netstat -r can't correctly issue routing table from kernel.
> ---
> # ifconfig fxp1 up

What does "ifconfig -a" say?
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
   "Lots of folks confuse bad management with destiny"
 - Kin Hubbard
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /etc/hosts reload ?

2003-11-25 Thread Jonathan Chen
On Tue, Nov 25, 2003 at 03:06:46PM -0700, RYAN vAN GINNEKEN wrote:
> after makeing changes to /ect/hosts do you have to reload the file 
> somehow or do the effects take immediately

Changes take place immediately.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 "Nyuck, nyuck, nyuck" - Curly
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: eclipse-3.2.2 issue with diablo-jdk-1.5.0 in FreeBSD-7.0

2008-09-23 Thread Jonathan Chen
On Tue, Sep 23, 2008 at 11:57:21AM +, dhaneshk k wrote:
> 
>  Hi ;
> 
>  I installed  eclipse(3.2.2) from  ports , in my FreeBSD-7.0 RELEASE box , 
> where diablo-jdk-15.0 installed 
>  
> but when I start   eclipsegetting a splash message  as follows ... 
> 
> 
> #eclipse  
> 
> 
> JVM terminated. Exit code=1

Build a native JVM, java/jdk15 or java/jdk16, and use that instead.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 When you don't know what you are doing, do it neatly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: My unqualified host name

2008-09-23 Thread Jonathan Chen
On Tue, Sep 23, 2008 at 10:13:52AM -0700, Dánielisz László wrote:
> Hello!
> 
> I got the following error message on boot:
> 
> "nyana sm-mta[803]: My unqualified host name (nyana) unknown; sleeping for 
> retry"
> 
> Do you have any idea?

Is the name "nyana" the DNS or in /etc/hosts?
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  Opportunities are seldom labeled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: evince paper size

2009-09-21 Thread Jonathan Chen
On Mon, Sep 21, 2009 at 09:31:54AM -0600, Warren Block wrote:
[...]
> If evince just had A4 as a default, it could be patched.  But it appears 
> to get the A4 size from gnome, somehow.

How about setting your locale in ~/.dmrc? eg:

[Desktop]
Session=default
Language=en_NZ.UTF-8
Layout=us

Cheers.
-- 
Jonathan Chen 
--
 "In mathematics you don't understand things.
   You just get used to them."
 - Johann von Neumann
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Virtualbox does not lunch (FREEBSD 7.2 STABLE)

2009-09-24 Thread Jonathan Chen
On Thu, Sep 24, 2009 at 06:35:27PM +, Jeronimo Calvo wrote:
> Hi all!
> 
> Im still having following issue with VirtualBox: (not able to launch
> it when installed from source with option: VBOX_WITH_HARDENING = 0)
> 
> log:
> 
> # cd /usr/ports/emulators/virtualbox/
> # ls
> Makefilefiles   pkg-message work
> distinfopkg-descr   pkg-plist
> # make install
> # exit
> exit
> $ VirtualBox
> bash: VirtualBox: command not found

Try "/usr/local/bin/VirtualBox"
-- 
Jonathan Chen 
---
"I love deadlines. I like the whooshing sound they make as they fly by"
- Douglas Adams
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: / almost out of space just after installation

2009-10-07 Thread Jonathan Chen
On Tue, Oct 06, 2009 at 11:28:00PM -0700, Chris Stankevitz wrote:
> Hello,
> 
> I just installed FreeBSD. After I installed it, I was surprised to find only 
> 26M of space on /.  I used the auto-defaults during the Disklabel portion of 
> the install.
> 
> [cstankev...@crs-m6300 ~]$ df -h
> Filesystem SizeUsed   Avail Capacity  Mounted on
> /dev/ad4s1a496M430M 26M94%/
> devfs  1.0K1.0K  0B   100%/dev
> /dev/ad4s1e496M 14K456M 0%/tmp
> /dev/ad4s1f113G1.9G102G 2%/usr
> /dev/ad4s1d2.9G7.9M2.6G 0%/var
> 
> Q1: Is 26M free space on / after installing FreeBSD normal?
> 

The amount used (ie: 430M) looks about right. On my FreeBSD-7.2-STABLE/amd64,
running a GENERIC kernel with a minimal /etc, my / filesystem is using
443M. However, this has a /boot/kernel and a /boot/kernel.old, both of
which chews up 210M each.

Cheers.
-- 
Jonathan Chen 
--
  If you're right 90% of the time, why quibble about the remaining 3%?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Security blocking question

2009-10-09 Thread Jonathan Chen
On Fri, Oct 09, 2009 at 02:45:51PM -0700, Aflatoon Aflatooni wrote:

[...]
> Is there a way that I could configure the server so that if there are for 
> example X attempts from an IP address then for the next Y hours all the SSH 
> requests would be ignored from that IP address? 
> There are only a handful of people who have access to that server.

If there are only a handful, then I'd suggest that you put a whitelist
of IP addresses in your firewall config.
-- 
Jonathan Chen 
--
"A little learning is a dangerous thing but a lot of ignorance is
 just as bad."  - Bob Edwards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: korean & english on same box?

2009-11-01 Thread Jonathan Chen
On Sun, Nov 01, 2009 at 07:56:24PM -0700, Steve Franks wrote:
> My Korean mother-in-law is visiting USA for the first time.  I don't
> know the first thing about what it will take to make it so she can
> email home, so I'm hoping someone on the list is familiar with this?

I had a similar situation with Japanese in-laws. Fortunately, I'm
using GNOME, which has localisation for Japanese. I had to tweak their
~/.dmrc and add/alter:

Language=ja_JP.UTF-8

Once they got past the English gdm login, they were presented with a
Japanese lanaguage desktop.

The ports which I had to install were:

www/firefox35
www/firefox35-i18n
mail/thunderbird
mail/thunderbird-i18n
japanese/scim-anthy

I'm guessing that you'll have to do something similar for Korean,
adding to ~/.dmrc:

Language=ko-KR.UTF-8

and installing korean/scim-hangul; as well as firefox and thunderbird
and their internationalisation support.

Cheers.
-- 
Jonathan Chen 
--
"If everything's under control, you're going too slow"
  - Mario Andretti
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: ask for help on a strange question

2009-11-03 Thread Jonathan Chen
On Tue, Nov 03, 2009 at 11:08:25PM +0800, Jove James wrote:
> Hi friend,
> 
> I've set up a FreeBSD virtual machine with VmWare Player. After configuring
> networ I installed xampp-linux-1.7.2.tar.gz on it. But quite weird that I
> got "command not found" error:
> 
> jove# pwd
> /opt/lampp
> jove# ls
> RELEASENOTESerror   lampp   logssbin
> backup  etc lib modules share
> bin htdocs  libexec phpmyadmin  tmp
> cgi-bin icons   licensesphpsqliteadmin  var
> jove# ./lampp start
> ./lampp: Command not found.

Assuming that "lampp" is a script with the exec bit set, you may want
to check that the first line references a script-interpreter that
exists, eg "#!/usr/bin/perl".

Cheers.
-- 
Jonathan Chen 
---
"One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted."  -- Thomas B. Reed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Virtual box to do cross-browser testing

2009-11-16 Thread Jonathan Chen
On Mon, Nov 16, 2009 at 11:02:59AM -0500, John Almberg wrote:
> Anyone have experience using Sun's "Virtual Box" on FreeBSD? I am 
> looking for a way to run virtual Windows machines to do cross-browser 
> testing...

I've been using it to do some .NET programming, and it's been pretty
good. No major problem, aside from the lack of CPU cycles the odd time
or so.
-- 
Jonathan Chen 
--
The human mind ordinarily operates at only ten percent of its capacity
 -- the rest is overhead for the operating system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: ELF library not found error

2009-11-18 Thread Jonathan Chen
On Wed, Nov 18, 2009 at 11:49:47AM -0600, Peter Steele wrote:
> >Presumably (and I am speculating), the 8.0 packages are not yet finalized 
> >and therefore inconsistent.  Perhaps you will have better luck after the 
> >official 8.0 Release?
> 
> I was thinking the same thing--too much version mismatching going on. I'm 
> going to take your suggestion though and compile all of the ports we want to 
> use, and then convert them back into packages. I tried that with one port 
> that was failing and this solved the problem. 
> 

When you do a major upgrade (ie: 6 to 7, or 7 to 8), one of the final
steps recommended is to recompile all ports. The compatX packages are
a stop gap until your transition is complete, and can/should be
removed once all your ports have been updated.

If you choose not to recompile/refectch all your ports, you are faced
with the possibility of library and port dependancy breakages as each
installed port updates to newer and possibly incompatible versions.

Cheers.
-- 
Jonathan Chen 
--
"A little learning is a dangerous thing but a lot of ignorance is
 just as bad."  - Bob Edwards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: upgrading firefox

2009-11-21 Thread Jonathan Chen
On Sun, Nov 22, 2009 at 04:13:01AM +, Steven Seipel wrote:
> I have freebsd 7.2 with gnome. It has firefox 2.0.0.20. What will I need to 
> do to upgrade to firefox 3.anything? I have tried pkg_add -r with  all the 
> versions listed on the ports page but it is always "unable to fetch" them. 
> When I just typed pkg_add -r firefox it told me I already have version 
> 2.0.0.20 installed. So what do I do to get a more recent version?

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-portsnap.html

-- 
Jonathan Chen 
--
 Power corrupts, Absolute Power is pretty neat
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: ifconfig - GUI interface available?

2009-11-26 Thread Jonathan Chen
On Thu, Nov 26, 2009 at 04:09:26PM +0100, herbert langhans wrote:
> Hi Daemons,
> I use my laptop in different wifi networks. To choose the ssid, passwords and 
> such necessities I have to use the all-knowing and confusing 'ifconfig'.
> 
> Question: Is there a GUI replacement for ifconfig? Where I can scan, choose 
> the ssid and do other basic things? I havent found anything in the ports 
> collection..
> 

There's no GUI for ifconfig that I know of, but there *is* a GUI for
managing wi-fi networks in the ports:

http://www.freshports.org/net-mgmt/wifimgr/

See if it helps.
-- 
Jonathan Chen 
--
"The reason why worry kills more people than work is that more people
 worry than work." - Robert Frost
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: ntpdate on FreeBSD 8.0

2009-11-30 Thread Jonathan Chen
On Mon, Nov 30, 2009 at 06:13:24AM -0600, ajtiM wrote:
> On Sunday 29 November 2009 21:38:04 Warren Block wrote:
> > On Sun, 29 Nov 2009, ajtiM wrote:
> > > I have new installed FreeBSD 8.0 and in rc.conf I have:
> > >
> > > ntpdate_enable="YES"
> > > ntpdate_hosts="ntp1.cs.wisc.edu"
> > >
> > > When I boot computer I get a message there are no this host but when I
> > > run /usr/sbin/ntpdate ntp1.cs.wisc.edu it works.
> > >
> > > I had the same in rc.conf on FreeBSD 7.2 and it works all the time. All
> > > settings on FreeBSD8.0 are the same as I had on 7.2.
> > 
> > Might you have a Realtek network card?
> > 
> > -Warren Block * Rapid City, South Dakota USA
> > 
> 
> Yes, I have realtek card too but it is not active. DHCP is on sk0 and as I 
> wrote I never had problems with that. Maybe is different now?

Try using:
ifconfig_sk0="SYNCDHCP" 

which makes sure sk0 comes back with an address from DHCP before
proceeding.
-- 
Jonathan Chen 
--
"Only the meek get pinched. The bold survive."
  - Ferris Bueller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Firefox 3.5 and Epiphany crashing since the GNOME 2.28 update

2009-12-01 Thread Jonathan Chen
On Tue, Dec 01, 2009 at 01:44:00AM -0500, Curly Brace wrote:
> Hi all, I'm on 8.0/amd64, and my GNOME 2.28 update went off with no
> problems, but now Firefox 3.5 and Epiphany 2.28 crash when visiting
> certain pages, such as the "Welcome to firefox" first-start page.
> Firefox leaves "Segmentation fault (core dump)" in the console when it
> crashes, and Epiphany is silent. I've removed the Totem 2.28 plugins
> (thinking them to be the cause), removed Moonlight, removed Java,
> removed nspluginwrapper Flash10, and finally
> removed /usr/local/lib/browser_plugins altogether.
> 
> This seems very similar to the Firefox 3.5 HTML5  crash FreeBSD 7
> users experience until they kldload sem, but I'm on 8.0 and sem is
> loaded by default.

Did you remember to rebuild all your ports?
-- 
Jonathan Chen 
--
"The reason why worry kills more people than work is that more people
 worry than work." - Robert Frost
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: error when updating ports in 8.0

2009-12-10 Thread Jonathan Chen
On Thu, Dec 10, 2009 at 06:44:16PM -0500, Tsu-Fan Cheng wrote:
> Hi,
>Just update to release 8.0 a few days ago, then when update ports by
> csup, error occurs:
> 
> Fatal error 'kse_create() failed
> ' at line 469 in file /usr/src/lib/libpthread/thread/thr_kern.c (errno = 0)
> 

At a guess, your userland and kernel are out of sync.
-- 
Jonathan Chen 
--
  "The things we know best are the things we haven't been taught."
 - Marquis de Vauvenargues
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Downloading and Burning Free BSD

2009-12-10 Thread Jonathan Chen
On Thu, Dec 10, 2009 at 09:46:38PM -0800, Roger Agraviador wrote:
> I clicked the ISO link and I was brought to a directory, this to be exact (
> ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.2/)
> 
> Once I have downloaded all Iso Images do I burn the 'boot only.iso' file on
> one DVD or CD only? or do I burn that along with 'disc1.iso', and how do I
> go about burning the rest of the files in that directory once I have
> downloaded them?

You should burn the disc1.iso at a minimum. The boot-only.iso is for
testing. The other iso images contain packages that you may want to
install.
-- 
Jonathan Chen 
--
"I don't want to achive immortality through my works..
 I want to achieve it through not dying" - Woody Allen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Starting sshd, ssh connections

2009-12-29 Thread Jonathan Chen
On Tue, Dec 29, 2009 at 07:04:24PM +0100, n dhert wrote:
> On a newly installed FreeBSD7.2, when booting it takes a long time to get
> past "Starting sshd.".
> I'm using the PC only in a private network. The IP of the PC is 192.168.75.8
> # ssh r...@192.168.75.8
> or  # ssh r...@127.0.0.1
> take both 15 seconds to display
> Password: ...
> At setup, I did specify a hostname, a domainname, a default_router
> (192.168.75.14) and
> DNS server 192.168.254.100 (in the future to be replace by non-private IPs),
> 
> but since I am testing only in a private network and only with IP adresses
> (no hostnames)
> these are not used.
> So what is causing that delay at Start of sshd and use of ssh?

Reverse DNS lookup. Make sure you have PTR entries for all IPs in use.
-- 
Jonathan Chen 
--
"Irrationality is the square root of all evil"
  - Douglas Hofstadter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Starting sshd, ssh connections

2009-12-29 Thread Jonathan Chen
On Tue, Dec 29, 2009 at 08:19:03PM +0100, n dhert wrote:
> There is an entry in /etc/hosts for the hostname and hostnam.domainname for
> its IP
> So far this is the only IP used (besides 127.0.0.1). /etc/resolv.conf
> containts the domainname
> and a nameserver line (nameserver 192.168.254.100)
> What else would be needed?

I suspect your problem is that 192.168.75.8 doesn't resolve to a hostname.
You could possibly put that into /etc/hosts, or put a PTR entry for it in
your DNS.
-- 
Jonathan Chen 
--
  If you're right 90% of the time, why quibble about the remaining 3%?
> 
> >  On Tue, Dec 29, 2009 at 07:04:24PM +0100, n dhert wrote:
> > > On a newly installed FreeBSD7.2, when booting it takes a long time to get
> > > past "Starting sshd.".
> > > I'm using the PC only in a private network. The IP of the PC is
> > 192.168.75.8
> > > # ssh r...@192.168.75.8
> > > or  # ssh r...@127.0.0.1
> > > take both 15 seconds to display
> > > Password: ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: traceroute problems

2008-03-10 Thread Jonathan Chen
On Mon, Mar 10, 2008 at 11:30:05PM +0100, Wojciech Puchar wrote:

[...]
> traceroute uses UDP packets, no special port numbers.

traceroute(8) indicates that the default UDP port number used is
udp/33434, incrementing for each hop out.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 When all else fails, RTFM
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: daylight savings time

2008-03-18 Thread Jonathan Chen
On Tue, Mar 18, 2008 at 07:31:01PM -0700, Nerius Landys wrote:

[...]
> I have NTP running and I verified that it works by setting the clock to be
> off by one hour and one minute (basically nudge the time by one minute) and
> the clock synchronizes itself to be accurate to the minute and second but
> off by one hour.
> 
> Does anyone know how to fix this?  Is there some sort of updated time zone
> data that I need?  Thanks in advance.

The port misc/zoneinfo is what you need.

Alternatively, you can tweak the zoneinfo file in /usr/src/share/zoneinfo
yourself and zic(8) it; and then copying/linking the appropriate compiled
zoneinfo file to /etc/localtime.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
"With sufficient thrust, pigs fly just fine. However, this is not necessarily
a good idea. It is hard to be sure where they are going to land, and it
could be dangerous sitting under them as they fly overhead." -- RFC 1925
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Different languages in the same applications under kde & konsole

2008-03-19 Thread Jonathan Chen
On Wed, Mar 19, 2008 at 11:45:48PM +0100, vittorio wrote:
> I run  freebsd 7.0 and kde 3.5.8, both in Italian.
> Now it happens that if I launch either gimp or abiword from the kde konsole 
> the two applications "speak" Italian while if I launch them from the icons 
> (that I created) on the desktop they "switch" to English.
> 
> Why is that and what can I do for making the applications speak Italian?

It's probably an environment setting setting that you've got for your
shell that you haven't got withing X. Check for and set $LANG, $LC_ALL
in ~/.xsession.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
---
"One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted."  -- Thomas B. Reed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Timezone problem

2008-03-23 Thread Jonathan Chen
On Sun, Mar 23, 2008 at 04:05:39PM -0400, fred wrote:

[...]
> The value of "timezone" should be "14400" which is the difference between my
> timezone (EDT) and UTC in seconds. This problem only appeared when we went
> from EST to EDT (daylight saving time) on march 9th. Anyone knows why I am
> getting "134513672" ?

The obvious question is:

Have you updated your system for latest daylight savings changes?

-- 
Jonathan Chen <[EMAIL PROTECTED]>
---
"One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted."  -- Thomas B. Reed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Email problem

2008-04-03 Thread Jonathan Chen
On Fri, Apr 04, 2008 at 01:33:48PM +0800, Ruel Luchavez wrote:
> Hi..
> 
> I am having trouble in my email server I spend many hours but i cant fix it,
> hopeu can help me guys
> One of the account i created cant send email in any email address like
> gmail.com I created it the same settings
> with my other account but it doesnt work...is ther a problem on my sever on
> this?

Of course there's a problem on your server - otherwise it'd be
working. However, if you want help from us, you have to provide us
with details:

1. what mail software are you using
2. what is your configuration file like.
3. what your logs are saying.

-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 Vini, vidi, velcro...
 I came, I saw, I stuck around
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Email problem

2008-04-04 Thread Jonathan Chen
[Please do not remove Cc: freebsd-questions]

On Fri, Apr 04, 2008 at 02:19:32PM +0800, Ruel Luchavez wrote:
> I'm using the Mozilla Thunderbird, same setting i did to the other users
> it always complain :
> 
> An error occurred while trying to send email. The mail server responded:
> 5.7.1 <[EMAIL PROTECTED]>
> Sender address rejected.Please check the message..
> 
> what should be the problem..I'm pretty sure its not the recipient address..

You still haven't supplied enough details to the list for us to
diagnose the problem. As such, my uninformed guess is that your SMTP
host has been configured to reject the sender address you've supplied from
the client you're on. If you supply us with more information, we might be
able to help you fix this. In particular, we still need:

1. What is the MTA you're using.
2. Show us the configuration file.
3. The MTA mail-logs.

-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 Power corrupts, Absolute Power is pretty neat
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Setting CPUTYPE and CFLAGS in make.conf

2008-04-09 Thread Jonathan Chen
On Wed, Apr 09, 2008 at 11:35:51AM -0700, David Allen wrote:

[...]
> Thank you for your reply.   It's starting to make a lot more sense.
> Just to confirm, then, if there's no CPUTYPE set,  I can then set up
> a build server on an Opteron box, for example, to build world, kernel
> and ports binaries that can then be installed on my Thinkpad or
> a PIII box?

Yes, provided they use the same architectures, eg: i386
-- 
Jonathan Chen <[EMAIL PROTECTED]>

"We laugh in the face of danger, we drop icecubes down the vest of fear"
 - Edmond Blackadder III
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Tracking base system and kernel updates/vulnerabilities

2008-04-17 Thread Jonathan Chen
On Thu, Apr 17, 2008 at 08:20:00AM +0200, Anselm Strauss wrote:

[...]
> - Can I somehow determine the version of the base system without  
> running uname on the kernel (I could have a release base system but  
> run a stable kernel for example)? Sure, I could take the indirect way  
> over freebsd-update again, but is there some sort of version  
> information stored in the base system?

Not really. Incidentally, running a userland out-of-sync with the
kernel is asking for Bad-Things(tm) to happen.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
---
"One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted."  -- Thomas B. Reed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: OpenLDAP/FreeBSD: How to implement attribute HOST without STRUCTURAL account?

2008-04-29 Thread Jonathan Chen
On Tue, Apr 29, 2008 at 10:07:44AM +, O. Hartmann wrote:
> Hello out there,
> my question may sound a bit weird, but the situation is as follows:
> 
> I use OpenLDAP 2.4 for authetication purposes within our lab's net and 
> every user's account is of the objectclass 'posixAccount'. As we know, 
> this class does not contain the attribute 'host', which belongs to 
> structural class 'account' and both posixAccount and account  are of 
> type structural and therefore can not be mixed.

Is there really such a rule? There's an of examples in
O'Reilly's "LDAP System Administration" that has a mixed
"account" + "posixAccount" objectClasses for a node to implement
the situation of: One User and a Group of Hosts.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 Vini, vidi, velcro...
 I came, I saw, I stuck around
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DNS Problem

2008-05-01 Thread Jonathan Chen
On Fri, May 02, 2008 at 09:36:51AM +0800, Ruel Luchavez wrote:
> before i post here i already check the /etc/resolve.conf and this is what's
> inside of it
> 
> domain name myplace.com.ph
> name server   101.1.21.1
> name server192.168.1.62
> 

The problems with what you've just posted are:

1. the file is /etc/resolv.conf, not /etc/resolve.conf
2. your contents are wrong, they should look like:
domain myplace.com.ph
nameserver 101.1.21.1
    nameserver 192.168.1.62

-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  "The things we know best are the things we haven't been taught."
 - Marquis de Vauvenargues
___
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

2008-05-13 Thread Jonathan Chen
On Tue, May 13, 2008 at 11:05:02PM +, AN wrote:
> I installed openoffice 2.4.0 from ports with:
> make -DWITHOUT_MOZILLA install clean
> 
> Now, when I do a portupgrade it tries to install mozilla:
> 
> To build OOo, you should have a lot
> of free diskspace (~ 11GB) and memory (~ 2GB).
> If you want SDK and/or solver, please type make sdk and/or make solver
> => mozilla-source-1.7.5.tar.gz doesn't seem to exist in
> /usr/ports/distfiles/openoffice.org2.
> => Attempting to fetch from
> http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/.
> mozilla-source-1.7.5.tar.gz 0% of   36 MB  108 kBps^C
> fetch: transfer interrupted
> 
> How do I portupgrade openoffice and get it to use the -DWITHOUT_MOZILLA
> option from the command line? What is the correct way to do this?

The way I prefer to do it is to install ports-mgmt/portconf, and then
have an entry in /usr/local/etc/ports.conf of:

  editors/openoffice.org-*: WITHOUT_MOZILLA

portconf will ensure that the WITHOUT_MOZILLA flag is passed to make(1)
when you do a manual port install, or through portupgrade, or through
portmaster.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
Don't worry about avoiding temptation,
as you grow older, it starts avoiding you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Thanks and another problem ...

2008-05-15 Thread Jonathan Chen
On Thu, May 15, 2008 at 04:32:37PM -0400, John Wynstra wrote:
> Thanks for the solution to my Firefox/Thunderbird woes.  All cured now.  
> The answer was to add prefs to Thunderbird to allow Firefox in as 
> suggested by Tore Lund.  Since these preferences do not exist already 
> they need to be added manually to a file.
> 
> Now I am trying to build Open Office for access to word files.  The make 
> install dies at the point where the java files need to be manually 
> installed.  I did that but this version of Open Office requires older 
> versions of java.

I built openoffice and jdk15 just last week without any problems. There
was no requirement for an older version of java, just jdk15. Have
you updated your ports tree?

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
---
"I love deadlines. I like the whooshing sound they make as they fly by"
- Douglas Adams
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Thanks and another problem ...

2008-05-15 Thread Jonathan Chen
On Thu, May 15, 2008 at 09:58:22PM -0400, John Wynstra wrote:
> I cleaned up and reran the make install ...
> +++
> ===>   openoffice.org-2.3.1 depends on file: /usr/local/bin/perl5.8.8 - 
> found
> ===>  Patching for openoffice.org-2.3.1

You need to update your ports tree. The current version is 2.4.0_5.

Please consult the Handbook on how to keep your ports-tree up to date:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
"Irrationality is the square root of all evil"
  - Douglas Hofstadter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: JRE problem after installing linux-sun-jre1.6.0

2008-05-17 Thread Jonathan Chen
On Fri, May 16, 2008 at 05:15:42PM +0200, bsd wrote:
> Hello,
> 
> 
> I have installed linux-sun-jre1.6.0 and I have an error stating
> 
> # java -version
> /usr/local/linux-sun-jre1.6.0/bin/java: error while loading shared  
> libraries: libjli.so: cannot open shared object file: No such file or  
> directory
> 
> 
> What do you suggest me to make that work properly - I just need to  
> have a little java app working?

Use the ports. Install java/jdk16.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  "Opportunity does not knock,
   it presents itself when you beat down the door" - W.E. Channing
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Now what would you expect this to print out?

2008-05-19 Thread Jonathan Chen
On Mon, May 19, 2008 at 01:49:35AM -0700, Garrett Cooper wrote:
> Riddle for the day for folks that have source trees... what would you expect
> this to print out (ask yourself the question and then execute the command)?
> 
>  find /usr/src -name Makefile -or -name '*.mk' -print
> 
> The expected output and what actual output differed in my mind, but maybe
> somebody else can "shed some light" on the logic behind what happened

It's a problem that catches many young players with find(1). One has
to remember from reading the man-page that all directives have an
implicit AND operator on it; and that includes the "-print" directive.
So to get what you want, you have to introduce brackets:

find /usr/src \( -name Makefile -or -name '*.mk' \) -print

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  If you're right 90% of the time, why quibble about the remaining 3%?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Shell scripting - suppressing and eliminating error messages

2008-05-20 Thread Jonathan Chen
On Tue, May 20, 2008 at 05:36:26PM -0500, Paul Schmehl wrote:
> I'm using the following construction in a pkg-deinstall script for a port I 
> maintain:
> 
> if ( ${BATCH} ); then

This should read:

if [ -n "${BATCH}" ] ; then

-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
"Irrationality is the square root of all evil"
  - Douglas Hofstadter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Multiple instances of BIND at startup

2008-05-21 Thread Jonathan Chen
On Wed, May 21, 2008 at 06:52:36PM -0400, Steve Bertrand wrote:

> Again, I'd rather do this without jails if possible, and at the same 
> time, be able to use the built in FBSD startup scripts if possible.

Can you not make use of BIND 9's "view" features? Possibly each view
using a match-destinations block to map to either the authoritative
or the caching services.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
---
"I love deadlines. I like the whooshing sound they make as they fly by"
- Douglas Adams
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Multiple instances of BIND at startup

2008-05-21 Thread Jonathan Chen
On Wed, May 21, 2008 at 08:01:50PM -0400, Steve Bertrand wrote:
> Jonathan Chen wrote:
> >On Wed, May 21, 2008 at 06:52:36PM -0400, Steve Bertrand wrote:
> >
> >>Again, I'd rather do this without jails if possible, and at the same 
> >>time, be able to use the built in FBSD startup scripts if possible.
> >
> >Can you not make use of BIND 9's "view" features? Possibly each view
> >using a match-destinations block to map to either the authoritative
> >or the caching services.
> 
> Well, from what I read (I can't remember where), if I use views to do 
> this with only a single instance running, the problem arises that even 
> though the 'external' (requests for authoritative answers) clients can 
> and will get responses from the caching side of the server if the result 
> they are after is already cached.

I didn't quite parse this, could you please elaborate?

> I want the two services to be completely disparate, and more precise, 
> I'd like to have the recursive instance to have to query the 
> authoritative instance for a result from the same box.

The same result can be achieved by using the same master zone file in
your caching and authoritative views. Not quite what you wanted, but the
end result should be the same.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 "A person should be able to do a small bit of everything,
specialisation is for insects"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Multiple instances of BIND at startup

2008-05-21 Thread Jonathan Chen
On Wed, May 21, 2008 at 10:21:05PM -0400, Steve Bertrand wrote:

[...]
> My authoritative name server (service, eventually cluster) will 
> eventually house about 500 domains, which I want only recursive DNS 
> servers that come from the root .tld down to see (no caching).
> 
> The caching name server (service, and eventually cluster) will see tens 
> of thousands of our clients requests (we are an ISP) to use as their DNS 
> lookup, which will perform recursive lookups that we are not 
> authoritative for.
> 
> I'm sorry, I don't know how to put it into other words, other than I 
> want complete separation from dns authoritative and dns caching services 
> to be disparate.

Let's say your authoritative server is listening on IP-A, and your
caching server is listening on IP-B; both ip-addresses are on the same
host. We can have a named instance listening on both addresses, with
multiple views like:

/*
Used by root .tld.
 */
view "authoritative"
{
match-destination
{
IP-A;
};
recursion no;

zone "my.authoritative.org"
{
type master;
...
};

}

/*
Use by our client requests.
 */
view "caching"
{
match-destination
{
IP-B;
};
recursion yes;

zone "my.authoritative.org"
{
type master;
...
};

}

The "match-destination" inspects the DNS address used by the client to
query to determine which view to use. Would this suit your purpose?
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 "Nyuck, nyuck, nyuck" - Curly
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Multiple instances of BIND at startup

2008-05-22 Thread Jonathan Chen
On Thu, May 22, 2008 at 08:13:03AM -0400, Steve Bertrand wrote:
> 
> >>The "match-destination" inspects the DNS address used by the client to
> >>query to determine which view to use. Would this suit your purpose?
> 
> Well, yes, it would suit the purpose, but my fear was exactly that of 
> what Matthew states below about 'leaking'.
> 
> >I believe that the problem is this: even if configured to be an
> >authoritative server, BIND will respond to a query about zones
> >outside what it has authoritative data for with data from its cache
> >if that data is present.  As there is only one cache per instance of
> >BIND, enabling any sort of recursive capability on a server that is
> >otherwise meant to be entirely authoritative can lead to data leaking
> >between the authoritative and recursive parts.  This opens up the
> >possibility of tricking a server into caching false data and responding
> >with it as if it was authoritative.

If this were true, the "view" feature would be broken. I've just tried
this with a client-based ACL, and there doesn't appear to any
cache-leaking across views. Any counter-examples would be welcome.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  Experience is a hard teacher
   because she gives the test first, the lesson afterwards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Best nVidia card for Xorg on FreeBSD?

2008-05-25 Thread Jonathan Chen
On Sun, May 25, 2008 at 11:04:40PM +0100, Mark Ovens wrote:
> Currently using a Radeon 8500LE but since u/g to xorg 7.3 I've had 
> nothing but trouble with X hanging/crashing/locking-up.
> 
> From what I've read, the state of the radeon drivers leaves much to be 
> desired and although some people seem to have trouble with nVidia cards 
> they appear to be a better choice.
> 
> So, after over a decade of brand-loyalty to ATI (when I started with 
> FreeBSD back in the mid-90's ATI cards were the only ones I could find 
> that would run X at better than VGA resolution) I'm going to switch to 
> nVidia.

Heh. I was just thinking about going the other way. One of the main
problems with the nVidia on X is that the xorg-nvidia driver is very
basic; this can be demonstrated by going to a Javascript heavy page (eg
http://www.xwiki.org) using firefox. The X-server just slows to crawl
when trying to scroll the site. The behaviour is not exhibited with
xorg-intel driver, as a counter-example.

Support for the nVidia on FreeBSD from the vendor is also incomplete:
  http://lists.freebsd.org/pipermail/freebsd-hackers/2006-June/016995.html
The feature request from nVidia appears to have stalled for the time
being (more correctly: I couldn't locate news on any updates to on the
'Net).

In short, nVidia cards are usable, but performance can be exceptionally
bad.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
"Only the meek get pinched. The bold survive."
  - Ferris Bueller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Best nVidia card for Xorg on FreeBSD?

2008-05-25 Thread Jonathan Chen
On Sun, May 25, 2008 at 09:55:39PM -0400, Chuck Robey wrote:

[...]
> So, could you
> tell me, are your comments about the Nvidia card driver performance dealing 
> with
> the Nvidia-supplied driver and OpenGL libs they have, as expressed in the
> FreeBSD-ports supplied (from Nvidia code) Nvidia driver??  I have them 
> compiled
> under FreeBSD-current, because a friend recommended them as the best 
> available,
> is that wrong?  Is there better?  I am not aware of any pure-public driver for
> those cards, but I just am not very well up on their details, so I want to be
> sure of your meaning, making sure I have you right here..

I've got a nVidia card on a FreeBSD-7/amd64 system, and so the
only driver I can use is the xorg-nvidia driver. The driver from the
nVidia is not an option for me. If you have an i386 system, the
driver from nVidia is *MUCH* faster than the xorg driver. Queries to
nVidia about the possiblity of an amd64 compatibile driver led me
to the kernel-feature list that they would like to have before being
able to release a driver form amd64 hosts.

HTH.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
The human mind ordinarily operates at only ten percent of its capacity
 -- the rest is overhead for the operating system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: what is /usr/local/bin/gsc ?

2008-06-02 Thread Jonathan Chen
On Mon, Jun 02, 2008 at 11:53:47AM +0100, Anton Shterenlikht wrote:
> Hi
> 
> What is /usr/local/bin/gsc ?

If you have portupgrade, pkg_which(1) can tell you. gsc is actually
"gs", which is ghostscript.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
"Only the meek get pinched. The bold survive."
  - Ferris Bueller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Effects of CPUTYPE

2008-06-04 Thread Jonathan Chen
On Wed, Jun 04, 2008 at 11:14:14PM +0100, Mark Ovens wrote:

> Trying to identify why I should be having all these problems I've been 
> looking for anything that may be specific to my machine. One thing I've 
> come up with is the fact that I have CPUTYPE?=athlon-mp in 
> /etc/make.conf on both 6.3 and 7.0.

In my personal opinion, the small gain you get is more than
overwhelmed by the big pain you get from setting CPUTYPE.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  "Opportunity does not knock,
   it presents itself when you beat down the door" - W.E. Channing
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: firefox 1.5 port

2005-12-21 Thread Jonathan Chen
On Wed, Dec 21, 2005 at 10:08:35AM -0500, kalin mintchev wrote:
> 
> this is getting pretty retarded..  i rebuild nspr..
> 
> nsCanvasRenderingContext2D.cpp:2040: error: `cairo_set_source_surface'
> undeclared (first use this function)
> nsCanvasRenderingContext2D.cpp:2041: error: `cairo_paint_with_alpha'
> undeclared (first use this function)
> gmake[4]: *** [nsCanvasRenderingContext2D.o] Error 1
> gmake[4]: Leaving directory
> `/usr/ports/www/firefox/work/mozilla/content/canvas/src'
> gmake[3]: *** [libs] Error 2
> gmake[3]: Leaving directory
> `/usr/ports/www/firefox/work/mozilla/content/canvas'
> gmake[2]: *** [libs] Error 2
> gmake[2]: Leaving directory `/usr/ports/www/firefox/work/mozilla/content'
> gmake[1]: *** [tier_9] Error 2
> gmake[1]: Leaving directory `/usr/ports/www/firefox/work/mozilla'
> gmake: *** [default] Error 2
> *** Error code 2
> 
> Stop in /usr/ports/www/firefox.
> 
> updating cairo i get this crap:
> 
> ===>  cairo-1.0.2_1 is marked as broken: Unknown component ltverhack.

You shouldn't be updating bits and pieces of your system by hand. Have
your tried `portupgrade -Rr firefox'?

CHeers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  Experience is a hard teacher
   because she gives the test first, the lesson afterwards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: KDE How To ?

2005-12-21 Thread Jonathan Chen
On Wed, Dec 21, 2005 at 01:25:58PM -0500, Teo De Las Heras wrote:
> on a similar note, is it possible to create scripts that run after a user
> logs in.  I'm setting up freeBSD as my home PC and I don't like to go right
> into KDE.  However, I'd like startX to run when my wife logs in.

You can do this by adding `startx' at the end of a .login/.profile
(depending on the shell she's using).
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 Vini, vidi, velcro...
 I came, I saw, I stuck around
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Palm (Zire) and /dev/ucom0 on 6.0

2005-12-23 Thread Jonathan Chen
On Fri, Dec 23, 2005 at 12:15:11PM -0500, DW wrote:

[...]
> I do all this on my new 6.0 machine. When I hit the sync button on zire, 
> I get the expected dmesg output (detecting the palm device), but there 
> is no /dev/ucom0 device in /dev. Why?

Aside from adding uvisor, you don't have to change any other
configuration files for 6.0; the USB tty support files have changed
from /dev/ucom* in 5.0 to /dev/cuaU* in 6+.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  Opportunities are seldom labeled
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: unattended ports upgrade possible?

2005-12-27 Thread Jonathan Chen
On Tue, Dec 27, 2005 at 03:20:07PM -0500, Peter wrote:
> Is there any way to fully automate the upgrade of all installed ports? 
> Typically ncurses screens prompt for compile options.  Is there any way to
> instruct portupgrade to use default compile values?

Add a `BATCH=yes' to /etc/make.conf.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
"I don't want to achive immortality through my works..
 I want to achieve it through not dying" - Woody Allen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Where should I address fixes for /usr/src/lib/libc/rpc code to?

2006-01-01 Thread Jonathan Chen
On Mon, Jan 02, 2006 at 02:14:40PM +1030, Aluminium Oxide wrote:
> Hi,
> 
> Ive been fixing code in /usr/src/lib/libc/rpc and would like to know
> where I should address my attention (and code fixes) to.

There's the freebsd-hackers@freebsd.org list, and you can always
send-pr(1) your patches at any time.
-- 
Jonathan Chen <[EMAIL PROTECTED]>Once is dumb luck.
 Twice is coincidence.
 Three times and Somebody Is Trying To Tell You Something.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Kernel Compilation...

2006-01-02 Thread Jonathan Chen
On Mon, Jan 02, 2006 at 04:15:48PM +, Crispy Beef wrote:
> Hi All,
> 
> Just joined this list.  The last time I used FreeBSD was with 4.6-RELEASE, 
> so a while ago now.  I have just installed 6.0-RELEASE on my old laptop and 
> have been configuring the system, am onto the kernel at the moment, have 
> followed the traditional method in the FreeBSD handbook.  All works fine 
> (make depends) until I do 'make' then I get a compilation error as follows:
> 
> 
> /usr/src/sys/modules/ata/atapci/../../../dev/ata/ata-chipset.c:617:
> internal compiler error: Segmentation fault: 11
> Please submit a full bug report,
> with preprocessed source if appropriate.

Internal compiler errors usually indicate faulty memory. If you rerun
your compilation and it fails in the same spot, then it could be
software. If the compilations fails in a different area, you've
probably got faulty hardward.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  "Opportunity does not knock,
   it presents itself when you beat down the door" - W.E. Channing
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Installing PostgreSQL as a package

2006-01-04 Thread Jonathan Chen
On Wed, Jan 04, 2006 at 10:57:05PM -0500, Mike Jeays wrote:
> I am having trouble installing postgresql80-server on a 6.0 machine.  It
> complains that it is incompatible with postgresql-client-7.4.8. This
> can't be deleted because it is a dependency of koffice and kde, so I am
> reluctant to force the deletion.
> 
> I forced the install of postgresql80-server, but it hasn't created
> anything in /usr/local/pgsql, and I haven't yet been able to get it to
> run.
> 
> Should I try compiling it from source, or is there something obvious I
> have missed?  I have created the pgsql account.

If I were you, I'd force the deletion of -client, and then rebuild
koffice so that it uses the -client-8.0. Right now, your client will
be unstable as it's a 7.4.8 client trying to talk to a 8.0 server.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
---
"One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted."  -- Thomas B. Reed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: New Users unable to SU

2006-01-07 Thread Jonathan Chen
On Sat, Jan 07, 2006 at 04:07:32PM -0500, Gerard Seibert wrote:
> I seem to have developed a problem on my system. I can add new users
> either via the adduser script or using 'sysinstall'. The problem is that
> none of them can become root. They are all in the 'wheel' group, so it
> should be working. I am the only user that can access the root. They can
> use 'sudo' but that doesn't fix the problem.

The users need to be listed in /etc/group as belonging to `wheel'. The
login group-id isn't consulted by su(1).
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  "Opportunity does not knock,
   it presents itself when you beat down the door" - W.E. Channing
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: freebsd.org email

2006-01-08 Thread Jonathan Chen
On Sat, Jan 07, 2006 at 03:16:33PM +0500, Imran Imtiaz wrote:
> 
> Can I get an email address on @freebsd.org ?

Sure! You just need to submit enough good code of quality.
-- 
Jonathan Chen  |  To do is to be  -- Nietzsche
<[EMAIL PROTECTED]> |  To be is to do  -- Sartre 
   |  Scooby do be do -- Scooby
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: build world and kernel for multiple boxes

2006-01-09 Thread Jonathan Chen
On Mon, Jan 09, 2006 at 01:25:20PM -0500, DW wrote:
> Hello,
> 
> I used to have a document that explained how to make buildworld and 
> kernel on one box, and package it up/make binaries for installation on 
> multiple systems.
> 
> I can't find it anywhere, and google and me aren't getting along today.
> 
> I have a bunch to make and don't feel like cvsup'ing, and building 
> everything from source again over and over and over.

cvsup, buildworld and kernel on your fastest box, and then tar and
copy /usr/src and /usr/obj from that box to your slower machines. You
should be able to just run installkernel and installworld on them.
This all assumes that your kernel config files are identical.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 Power corrupts, Absolute Power is pretty neat
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can FreeBSD play DVD movies?

2006-01-22 Thread Jonathan Chen
On Mon, Jan 23, 2006 at 12:47:27AM -0500, Peter wrote:
> I tried playing a DVD movie with mplayer today but the sound was just a
> hiss.  Does anyone know why?

Dunno, but multimedia/vlc works great for me.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  "Opportunity does not knock,
   it presents itself when you beat down the door" - W.E. Channing
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade and dialog boxes.

2006-01-23 Thread Jonathan Chen
On Sun, Jan 22, 2006 at 10:57:21PM -0800, Luke Bakken wrote:
> Hello all,
> 
> I'm in the process of doing a mega-portupgrade and I've noticed that
> certain ports use the dialog command to collect options from the user.
> I've searched for a way to ensure that these dialogs won't show up and
> the closest I've come to an answer is the 'make rmconfig' command in
> the port Makefile, which doesn't help me when using the portupgrade
> command.
> 
> Is there any way to tell portupgrade to not show these dialog boxes
> and to use the default options for a port?

The standard way is to use "BATCH=yes" as part of the make flags.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
---
"I love deadlines. I like the whooshing sound they make as they fly by"
- Douglas Adams
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Firefox 1.5

2006-01-26 Thread Jonathan Chen
On Fri, Jan 27, 2006 at 12:06:39AM -0600, Ben Siemon wrote:
> So I install firefox from /usr/ports/www/firefox on freebsd 6.0 and I
> assumed that it was 1.5. The info on the web said that 1.5 was in the ports
> collection but the source ball in the ports dir was for 1.0.7 and I have
> seen people with questions about firefox 1.5. I have used each of the
> methods suggested in the handbook for upgrading the ports tree but the
> source has stayed for 1.0.7.

What did you do to update your ports-tree? The easiest way on
FreeBSD-6.0 is with portsnap:

# portsnap fetch
# portsnap extact

And that'll have your ports tree up-to-date ready to build firefox.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  "Opportunity does not knock,
   it presents itself when you beat down the door" - W.E. Channing
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Firefox 1.5

2006-01-26 Thread Jonathan Chen
On Fri, Jan 27, 2006 at 12:54:25AM -0600, Ben Siemon wrote:
> Thank you I failed to make the distinction between the release port tree and
> the current one I think.
> I take it that portsnap retrieces a snap shot of the current ports?

Yup.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  Jesus saves.
   Allah forgives.
 Cthulu thinks you'd make a nice sandwich.

> On 1/27/06, Jonathan Chen <[EMAIL PROTECTED]> wrote:
> >
> > On Fri, Jan 27, 2006 at 12:06:39AM -0600, Ben Siemon wrote:
> > > So I install firefox from /usr/ports/www/firefox on freebsd 6.0 and I
> > > assumed that it was 1.5. The info on the web said that 1.5 was in the
> > ports
> > > collection but the source ball in the ports dir was for 1.0.7 and I have
> > > seen people with questions about firefox 1.5. I have used each of the
> > > methods suggested in the handbook for upgrading the ports tree but the
> > > source has stayed for 1.0.7.
> >
> > What did you do to update your ports-tree? The easiest way on
> > FreeBSD-6.0 is with portsnap:
> >
> > # portsnap fetch
> > # portsnap extact
> >
> > And that'll have your ports tree up-to-date ready to build firefox.
> > --
> > Jonathan Chen <[EMAIL PROTECTED]>
> > --
> >   "Opportunity does not knock,
> >it presents itself when you beat down the door" - W.E. Channing
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Apparant java catch-22

2006-02-05 Thread Jonathan Chen
On Sun, Feb 05, 2006 at 01:46:20PM -0600, Gene wrote:

[...]
> ERROR: Your BOOTDIR environment variable does not point
>to a valid Java 2 SDK for bootstrapping this build.
>A Java 2 SDK 1.4.2 build must be bootstrapped using
>J2SDK 1.4.1 fcs (or later).
>Apparently, your bootstrap JDK is version
>Please update your ALT_BOOTDIR setting and start your build again.

For your first java/jdk14 build you first need to have a linux-jdk14
installed, and active (ie linuxalator on, linprocfs mounted) to act as a
bootstrap compiler. Once the native jdk14 has been built and
installed, you can remove linux-jdk14 and its dependancies. Any
further jdk14 builds will use the native jdk14 as its bootstrap
compiler.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
---
"I love deadlines. I like the whooshing sound they make as they fly by"
- Douglas Adams
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: xmule && 6.0-REL

2006-02-11 Thread Jonathan Chen
On Sat, Feb 11, 2006 at 08:43:12AM +0100, [EMAIL PROTECTED] wrote:
> El d?a Friday, February 10, 2006 a las 02:28:43PM -0500, Lowell Gilbert 
> escribi?:
> 
> > [EMAIL PROTECTED] writes:
> > 
> > > Hi,
> > > 
> > > I've tried to install xmule in 6.0-REL from the ports
> > > collection, but the port is broken:
> > > 
> > > # cd /usr/ports/net/xmule
> > > # make
> > > ===>  xmule-1.10.0.a is marked as broken: Incomplete pkg-plist.
> > > #
> > > 
> > > the FreeBSD homepage shows a recent version but in a tree which
> > > 6.0-REL not has: /usr/ports/net-p2p
> > > 
> > > What is the correct way to update this tree into my 6.0-REL?
> > 
> > See the FreeBSD Handbook chapter titled "The Cutting Edge."
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html
> 
> Thanks for the hint but I don't belong to the 3 groups of persons
> mentioned in chapter '21.2.1.2 Who Needs FreeBSD-CURRENT' :-)
> I can't put CURRENT on my notebook and lock me out of the world
> if is does not boot anymore. I only wanted to test a small piece
> of the ports collection.

You don't need -CURRENT. You only need to update your ports-tree to
be up-to-date. Installing by hand is possible, but you lose all the
advantages of using the ports-tree; ie clean deinstalls, coherent
management of build and run dependancies, FreeBSD specific tweaks.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
---
"One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted."  -- Thomas B. Reed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: More tomcat wierdness

2006-02-13 Thread Jonathan Chen
On Mon, Feb 13, 2006 at 01:00:37PM +, Ashley Moran wrote:
> I've reinstalled Tomcat (now in www/tomcat55) because it was going mental 
> (100% CPU) and now the stop/start isn't working through the rc.d script.
> 
> Tomcat starts and records the PID in /var/run/tomcat55.pid.  But when I call 
> the script with stop I get an error saying "tomcat not started? check pid 
> file", or something to that effect.
> 
> [EMAIL PROTECTED] ls -lad /var/run/. /var/run/tomcat55.pid
> drwxr-xr-x  5 root  wheel  512 Feb 13 12:10 /var/run/.
> -rw-r--r--  1 www   wheel6 Feb 13 12:22 /var/run/tomcat55.pid
> 
> It worked fine when it was running off the old www/jakarta-tomcat55 port - I 
> don't know if anything has changed.

There were several changes relating to the use of rc-scripts over the
`old-way' of tomcatctl binaries. I suggest you Cc: the maintainer of
the project.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 "Beer. Now there's a temporary solution."
   - Homer Simpson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Trouble Making OpenOffice

2006-02-22 Thread Jonathan Chen
On Wed, Feb 22, 2006 at 12:23:17PM -0600, Tim Daneliuk wrote:
> Pietro Cerutti wrote:
> 
> >On 2/21/06, Tim Daneliuk <[EMAIL PROTECTED]> wrote:
> >
> >>I am trying to build OO 2.02rc1
> >>on FBSD 6.1-PRERELEASE.  I see this error:
> >>
> >>ERROR: Error 65280 occurred while making 
> >>/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/testtools/source/bridgetest
> >>dmake:  Error code 1, while making 'build_instsetoo_native'
> >>
> >>Ideas anyone?
> >
> >
> >Try symlinking the required library:
> >
> ># cd $JAVA_HOME/jre/lib/i386 && ln -s xawt/libmawt.so .
> ^
> This seems not to be present
> 
> I am going to do a fresh install of the jdk 1.5 release...

Last time I heard, the openoffice build requires JDK1.4.2. It doesn't
build with JDK 1.5

CHeers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
Don't worry about avoiding temptation,
as you grow older, it starts avoiding you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: pork missing a perl library

2006-02-25 Thread Jonathan Chen
On Sat, Feb 25, 2006 at 06:07:36PM -0600, Anthony Philipp wrote:
> Hello everyone,
> 
> When I try to run pork, I get this error:
> 
> $ pork
> /libexec/ld-elf.so.1: Shared object "libperl.so" not found, required
> by "pork"
> 
> It used to work, and I certainly didn't manually remove the library,
> so I'm not quite sure what to do. This might help:

Let me guess. When you upgraded to FreeBSD 6, you forgot to rebuilt
all your ports.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
"Only the meek get pinched. The bold survive."
  - Ferris Bueller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: pork missing a perl library

2006-02-25 Thread Jonathan Chen
On Sun, Feb 26, 2006 at 12:18:41AM -0600, Anthony Philipp wrote:
> On Sun, Feb 26, 2006 at 04:49:42PM +1300, 
> Jonathan Chen <[EMAIL PROTECTED]> wrote:
> 
> > On Sat, Feb 25, 2006 at 06:07:36PM -0600, Anthony Philipp wrote:
> > > Hello everyone,
> > > 
> > > When I try to run pork, I get this error:
> > > 
> > > $ pork
> > > /libexec/ld-elf.so.1: Shared object "libperl.so" not found, required
> > > by "pork"
> > > 
> > > It used to work, and I certainly didn't manually remove the library,
> > > so I'm not quite sure what to do. This might help:
> > 
> > Let me guess. When you upgraded to FreeBSD 6, you forgot to rebuilt
> > all your ports.
> 
> Yes I did both of those things, but nearly two months ago.

Force a rebuild of your port. The error you've shown commonly indicates
an upgrade from FreeBSD-5 to FreeBSD-6 without a *COMPLETE* rebuild of
all installed ports.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 "Nyuck, nyuck, nyuck" - Curly
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: I could not run this script in /etc/crontab

2006-03-01 Thread Jonathan Chen
On Wed, Mar 01, 2006 at 10:16:07AM +0200, Halid Faith wrote:
> My pathname is correct. I already checked it.
> Also I can run manually while I am a root user.

root' PATH is nothing like cron's PATH. Did you set the path
explicity in your script?
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
Don't worry about avoiding temptation,
as you grow older, it starts avoiding you.

> - Original Message - 
> From: "Derek Ragona" <[EMAIL PROTECTED]>
> To: "Halid Faith" <[EMAIL PROTECTED]>; 
> Sent: Tuesday, February 28, 2006 10:31 PM
> Subject: Re: I could not run this script in /etc/crontab
> 
> 
> > Check your script for and use full pathnames for commands, cron doesn't
> > guarantee you will have a path or any environment variables you don't set
> > in your script.
> >
> >  -Derek
> >
> >
> > At 02:15 PM 2/28/2006, Halid Faith wrote:
> > >Hello
> > >
> > >I have a script.
> > >I can run it without a problem as root manually.
> > >But I have a problem
> > >I could not run this script in /etc/crontab as below;
> > >
> > >*/1 *   *   *   *   root/root/thescript
> > >
> > >What should I do ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: perl core dump with spamassassin via procmail

2006-03-01 Thread Jonathan Chen
On Wed, Mar 01, 2006 at 08:55:23PM -0800, Brian wrote:
> I've been battling these for a couple weeks, I was running 5.4 stable 
> with perl 5.8.7, now stable has gotten me to 5.5 prerelease and the perl 
> version is 5.8.8.  At any rate, my procmail log does this 
> intermittently, not for every message.

Did you run `perl-after-upgrade'?
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 "Beer. Now there's a temporary solution."
   - Homer Simpson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: cvsup in LAN?

2006-03-02 Thread Jonathan Chen
On Thu, Mar 02, 2006 at 08:18:53PM +0800, Yuan Jue wrote:
> hey, all.
> 
> Recently I account a problem about using cvsup. I wanna use cvsup to 
> upgrade my ports tree, but I cannot connect to any cvsup website.
> 
> The situation is my IP address is 192.168.*.*, which seems to be a NAT
> IP address. And I guess the LAN administrator may close some ports to
> prevent some kind of unknown danger...
> 
> Any suggestions to get around this? thanks in advance

Use portsnap(1).
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
"I don't want to achive immortality through my works..
 I want to achieve it through not dying" - Woody Allen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Compiling Java 1.5

2006-03-31 Thread Jonathan Chen
On Fri, Mar 31, 2006 at 10:35:24AM -0300, Aguiar Magalhaes wrote:
> Hi list,
> 
> I?ve received many good suggestions and I'm trying ...
> 
> Please, see this error... What can I do ??
> 
> Thanks,
> 
> Aguiar
> 
> - - - - - - - - - - - - -
> gmake[3]: Leaving directory
> `/usr/ports/java/jdk15/work/control/build/bsd-i586/h
> otspot-i586/tmp/bsd_i486_compiler2/product'
> gmake[3]: Entering directory
> `/usr/ports/java/jdk15/work/control/build/bsd-i586/
> hotspot-i586/tmp/bsd_i486_compiler2/product'
> /usr/local/linux-sun-jdk1.4.2/bin/javac -g -d

For some reason, the linux-jdk1.4 binaries isn't up to bootstrapping
your native JDK1.5 build. Check the following:
- don't build in a jail
- make sure the linuxalator is loaded
- make sure the linprocfs is mounted during your initial build

If that doesn't work, you can installing the navtive linux-sun-jdk15
to enable your build. FYI, if you had native JDK1.4 installed, that would
work as well.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
"I don't want to achive immortality through my works..
 I want to achieve it through not dying" - Woody Allen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Ports make search broken

2004-06-21 Thread Jonathan Chen
On Tue, Jun 22, 2004 at 06:32:01AM +1000, Jason Oakley wrote:
> $ cd /usr/ports
>  $ make search name=centericq
> Makefile:67: *** missing separator.  Stop.

You should be using the system make in /usr/bin/make and not GNU make.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  Opportunities are seldom labeled
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: xpdf help

2004-06-23 Thread Jonathan Chen
On Wed, Jun 23, 2004 at 11:58:43AM -0500, Mike Meyer wrote:
> For some reason, xpdf (version 3.00, as installed on FreeBSD 4.9 by
> the ports system) can't find the Courier, Times, Helvetica and Symbol
> fonts that are built into it. Using xfontsel to try the selectors
> listed in xpdfrc finds the fonts just fine.
> 
> Clues? Hints? Anything?

You need to install ghostscript-gnu for the fonts. I've asked the
maintainer to put a note into the port about this, but he's not
listening..
-- 
Jonathan Chen <[EMAIL PROTECTED]>Once is dumb luck.
 Twice is coincidence.
 Three times and Somebody Is Trying To Tell You Something.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: vi / EAGAIN Problem

2004-06-30 Thread Jonathan Chen
On Wed, Jun 30, 2004 at 07:24:57AM -0400, Gustafson, Tim wrote:
> Hello everyone.
> 
> I finally have the output of a ktrace of the problem where vi returns
> "Error: input: Resource temporarily unavailable" to me.  It can be
> downloaded from the following link.  Any information that can tell me what's
> going on here and maybe what I can do to fix it would be greatly
> appreciated.
> 
> http://www.meitech.com/fbsd/ktrace.out
> 
> Thanks a billion!

Please file a Problem Report with send-pr(1), including *all* the
details. This will make sure that it will be addressed (at some time).
Stuff do get lost on mailing lists.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
   Do not take life too seriously.
   You will never get out of it alive.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: internet gateway

2004-07-05 Thread Jonathan Chen
On Mon, Jul 05, 2004 at 10:40:58AM +, Brett Wiggins wrote:
> Hi,
>I am having some problems setting up an internet gateway for my home network. My 
> gateway machine has two network cards, one connected to my ADSL modem and the other 
> to a switch and my internal network. My gateway machine (FreeBSD) can connect to the 
> internet and it can ping machines on my local network. Machines on my local network 
> run windows.
> 
>  ISP
>   |
>   | 
>  ADSL
>  MODEM
>   |
>   |
> FREEBSD   |- MACHINE A
> MACHINE   |
>   |   |
>   |---SWITCH--|- MACHINE B
>   | 
>   |
>   |- MACHINE C
> 

Did you remember to set the default gateway on Machines [A-C] to
10.0.0.1?

CHeers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
 "Nyuck, nyuck, nyuck" - Curly
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: GENERIC fails to compile

2004-07-05 Thread Jonathan Chen
On Mon, Jul 05, 2004 at 04:33:39PM -0500, Stelian Popescu-Crainic wrote:
> Hello,
> 
> After upgrading from 4.9 to 4.10 and upgrading the sources via CVSup, I've
> tried to recompile the kernel (I need appletalk which is not included in the
> GENERIC configuration) with make buildkernel etc.. After several attempts,
> including one using the "traditional" way, with the same results, I've tried
> to recompile GENERIC. The output was the same:
> 
> " /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c: In
> function `send_ip':
>   /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_fil.c:1325:
> void value not ignored as it ought to be
>   *** Error code 1

This was recently fixed in 4-STABLE. In general, if you choose to go
with the -STABLE sources, you need to subscribe to the freebsd-stable
list to keep up with any gotchas.

If you cvsup again, your problem will have gone away.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
---
"I love deadlines. I like the whooshing sound they make as they fly by"
- Douglas Adams
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: user account woes

2004-07-05 Thread Jonathan Chen
On Tue, Jul 06, 2004 at 02:55:47AM +0100, Richard Bradley wrote:
> Hi,
> 
> I have a phantom user stuck in my system that I can neither use nor delete. I 
> have been playing with "Virtual Users" in "pure-ftpd" and it seems to have 
> messed things around.
[...]
> If I delete the entry from /etc/passwd, the cycle starts again.

Use "vipw" to edit the file and it will work.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
The Internet: an empirical test of the idea that a million monkeys
banging on a million keyboards can produce Shakespeare
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: your mail

2004-07-08 Thread Jonathan Chen
On Thu, Jul 08, 2004 at 08:54:45AM -0500, Mike J wrote:
> I have a question.  One of the new guys went into one of our BSD servers and
> changed the root environment from the default to /bin/bash and bash isn't
> installed on this box, therefore we are having trouble su'ing in and even
> logging in at the console.  Anyone have any ideas on how to get in.

Boot into single user (just hit the reset button when all is quite and
hit the space bar during the appropriate boot-prompt), and it will
allow you to specify the shell to use in single user mode (/bin/sh by
default).

# fsck -y
# mount -a
# vipw

should do the trick.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  "Opportunity does not knock,
   it presents itself when you beat down the door" - W.E. Channing
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


  1   2   3   4   5   6   >