portmanager/portmaster like application for packages?

2009-03-01 Thread Fbsd1
I am looking for software like portmanager/portmaster but works on the 
package system instead of the port system. Is there such am application 
available?

___
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: Apache

2009-03-01 Thread Mel
On Saturday 28 February 2009 16:50:11 Jon Radel wrote:
 Monty Pyth wrote:
  Does anyone know what file Apache checks to get the time zone offset for
  httpd-access.log?
 
  65.223.44.56 - frank [10/Oct/2000:13:55:36 -0500] GET /apache_pb.gif
  HTTP/1.0 200 2326 http://www.example.com/start.html; Mozilla/4.08 [en]
  (Win98; I ;Nav)
 
  Where does Apache get the -0500 from? I know many people say the system
  clock, but what file is it checking for that?

 Why must it be getting it from a file?  See, for example,

 man 2 gettimeofday

 which is a call in the standard C library that returns the time in GMT
 *and* the time zone the system clock is set to.

It's still a file../etc/localtime. Yes, gettimeofday gets it from there, 
really.
See the Note:
timezone is no longer used; this information is kept outside the
kernel.

Also see, tzsetup(8), specifically the FILES and BUGS section.
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: xi?

2009-03-01 Thread Mel
On Saturday 28 February 2009 20:12:43 Glyn Millington wrote:
 gahn ipfr...@yahoo.com writes:
  Hi all:
 
  I am rebuilding those ports and run into some problems. one of those
  is:
 
  checking for XINPUT... configure: error: Package requirements (x11 xext
  xi = 1.2 inputproto = 1.5) were not met:
 
  Requested 'xi = 1.2' but version of Xi is 1.1.3
 
  searching for a while and can't find this xi. how could I upgrade
  this xi?

 /usr/ports/X11/libXi  would be my guess :-)

The long answer:
- this is an error from pkg-config
- pkg-config stores version information in .pc files
- xorg uses descriptive names for these modules, which don't always match the 
capitalization or lib prefix of the port, but sometimes does.
- /usr/ports/Mk/bsd.xorg.mk maps the .pc files to the port directories

Therefore, to find out:
$ grep xi.pc /usr/ports/Mk/bsd.xorg.mk
xi_LIB_PC_DEPENDS=  ${LOCALBASE}/libdata/pkgconfig/xi.pc:
${PORTSDIR}/x11/libXi

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: portmanager/portmaster like application for packages?

2009-03-01 Thread Aryeh M. Friedman

Fbsd1 wrote:
I am looking for software like portmanager/portmaster but works on the 
package system instead of the port system. Is there such am 
application available?

___
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


portupgrade has an option to install packages if current with the port 
version

___
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: screensaver blanktime in the kernel

2009-03-01 Thread Mel
On Saturday 28 February 2009 08:24:52 Roy Stuivenberg wrote:
  Hello,

 I would like to set screensaver blanktime in the kernel.
 I have daemon_saver set in the kernel also, and all the needed components
 in kernel.
 When I set blanktime in rc.conf, it's not working.
 After reboot, daemon_saver starts at the spot, but it's not returning
 anymore.

Weird, works for me, but haven't compiled it in the kernel. daemon_saver is 
loaded as kernel module on request.
blanktime=300
saver=daemon

in /etc/rc.conf works on a GENERIC kernel. Try taking it out of the kernel 
config, recompile/install kernel and see if it works then.
Note that without sysmouse, you will have to press a key to clear the 
screensaver.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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


Xorg mouse and massive error log messages problems

2009-03-01 Thread Fbsd1
Just installed Xorg package from parkages-current hoping to get 
environment containing all the fixes. Still have the no mouse curser 
movement on xfce desktop.


Adding
Option AllowEmptyInput Off
statement to ServerLayout section of /etc/X11/xorg.conf
got the mouse curser moving.
But I still get the the mouse error messages in the X11 log.

{EE) xf86OpenSerial: Cannot open device /dev/psm0 Device busy.
(EE) PS/2 Mouse: cannot open input device
(EE) PreInit failed for input device PS/2 Mouse
(EE) config/hal: NewInputDeviceRequest failed

Is there some other correct solution?


I am receiving massive flooding of the Log file: /var/log/Xorg.0.log 
with the follow messages


Xlib:  extension Generic Event Extension missing on display :0.0.
Xlib:  extension Generic Event Extension missing on display :0.0

I found a post in the questions archives where the person was saying 
these messages are meaningless and can be ignored. It's not a problem 
the ignore them, but my log get massive in size and consumes my free 
disk space. I know i can configure to rotate the log at a given size. 
But that is not the solution. I need to know how to stop these messages 
from being issued in the first place.


___
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: Odd problem with DNS and IP change.

2009-03-01 Thread Mel
On Saturday 28 February 2009 07:43:13 Andrei Brezan wrote:
 Andrei Brezan wrote:

  ping mail.domain.com it tries to get to 10.1.1.1 the old ip and gets
  time to live exceeded fro an ip along the route. When i try to ping
  domain.com it gets all ok as it pings the new ip.

 Disregard my noise. It was a file called hosts in /etc, changed there
 the ip for mail.domain.com and now ping works ok.
 Sorry about that.


As a rule, only use /etc/hosts for hosts that cannot be resolved by DNS (i.e.: 
local network) or NFS hosts that provide critical filesystems (because the 
resolver might not be reachable at /etc/rc.d/mountcritremote time).
-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: Xorg mouse and massive error log messages problems

2009-03-01 Thread Aryeh M. Friedman

Fbsd1 wrote:
Just installed Xorg package from parkages-current hoping to get 
environment containing all the fixes. Still have the no mouse curser 
movement on xfce desktop.


Adding
Option AllowEmptyInput Off
statement to ServerLayout section of /etc/X11/xorg.conf
got the mouse curser moving.
But I still get the the mouse error messages in the X11 log.

{EE) xf86OpenSerial: Cannot open device /dev/psm0 Device busy.
(EE) PS/2 Mouse: cannot open input device
(EE) PreInit failed for input device PS/2 Mouse
(EE) config/hal: NewInputDeviceRequest failed

Is there some other correct solution?


I am receiving massive flooding of the Log file: /var/log/Xorg.0.log 
with the follow messages


Xlib:  extension Generic Event Extension missing on display :0.0.
Xlib:  extension Generic Event Extension missing on display :0.0

I found a post in the questions archives where the person was saying 
these messages are meaningless and can be ignored. It's not a problem 
the ignore them, but my log get massive in size and consumes my free 
disk space. I know i can configure to rotate the log at a given size. 
But that is not the solution. I need to know how to stop these 
messages from being issued in the first place.


___
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


Under xorg 7.4 you need to gave both dbus and hald running... as to the 
error message there is not much you can do until every X app is upgraded 
to support 7.4

___
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: portmanager/portmaster like application for packages?

2009-03-01 Thread Fbsd1

Aryeh M. Friedman wrote:

Fbsd1 wrote:
I am looking for software like portmanager/portmaster but works on the 
package system instead of the port system. Is there such am 
application available?

___
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


portupgrade has an option to install packages if current with the port 
version

___
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



I don't do ports if at all possible. I even do the package of the 
dependents of the ports I am forced to do.

So portupgrade is useless to me.
___
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: portmanager/portmaster like application for packages?

2009-03-01 Thread Mel
On Saturday 28 February 2009 23:06:10 Fbsd1 wrote:
 I am looking for software like portmanager/portmaster but works on the
 package system instead of the port system. Is there such am application
 available?

Not (yet). Without /usr/ports it's impossible to find out what software needs 
updating, or you'd have to download and trust the INDEX-7 on the FreeBSD 
package servers.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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


link to dos2unix

2009-03-01 Thread Fbsd1
I use the dos2unix console command all the time. I am tried to typing in 
that long name. I tried to do a hard link on it.

ln /usr/local/bin/dos2unix /usr/local/bin/d2u
This command is accepted without error, but when it execute it
d2u .txt
I get message ==oops you renamed me using unix2dos instead.
I also tried
ln -s /usr/local/bin/dos2unix /usr/local/bin/d2u
and got same results. ls -l does not show dos2unix as linked all ready.

What am I doing wrong here?
___
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: ZFS + Samba = nicely

2009-03-01 Thread Mel
On Saturday 28 February 2009 06:23:52 Sean Cavanaugh wrote:
 --
 From: Chris Rees utis...@googlemail.com
 Sent: Saturday, February 28, 2009 9:35 AM
 To: FreeBSD Mailing List freebsd-questions@freebsd.org
 Subject: Re: ZFS + Samba = nicely

  2009/2/26 Brad Pitney pitney.b...@googlemail.com:
  Hi
 
  can anyone help me?
 
  I am trying to setup a home file server with FreeBSD -CURRENT along with
  Samba
 
  Basically I have followed the wiki for ZFS and done the usual things
  for Samba like I have before with UFS.
 
  Basically my problem is that when I go to create a file or folder, the
  file server locks up, but I am able to switch terminals with ALT+Fn
  keys, everything else is locked solid
 
  --
  Best regards,
   Brad
 
  Why are you running an unstable distribution with an unstable
  filesystem for production servers??
 
  Chris

 Since when are home servers considered production level?

Since they put the Ho in SoHo? ;)

@Brad: you'll have more luck on freebsd-current mailing list.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
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: portmanager/portmaster like application for packages?

2009-03-01 Thread Aryeh M. Friedman

Fbsd1 wrote:

Aryeh M. Friedman wrote:

Fbsd1 wrote:
I am looking for software like portmanager/portmaster but works on 
the package system instead of the port system. Is there such am 
application available?

___
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


portupgrade has an option to install packages if current with the 
port version

___
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



I don't do ports if at all possible. I even do the package of the 
dependents of the ports I am forced to do.

So portupgrade is useless to me.

Actually (I have not read the man page in detail) there seems to be a 
way to say to use packages only now there is good reasons for using 
ports not packages in that god knows when the package was compiled and 
under what conditions (i.e. it is rolling the dice to weither or not it 
will work)

___
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: Odd problem with DNS and IP change.

2009-03-01 Thread Derek Ragona

At 09:40 AM 2/28/2009, Andrei Brezan wrote:

Hello list,

I have a strange problem and I don't know what to relate it to. 
My ISP

changed my IP from (eg) 10.1.1.1 to 15.1.1.1. I have changed my zone
files to reflect that change.

dig -t mx domain.com results in mail.domain.com 3600 IN A 15.1.1.1
(the new ip). However when i try:

ping mail.domain.com it tries to get to 10.1.1.1 the old ip and gets
time to live exceeded fro an ip along the route. When i try to ping
domain.com it gets all ok as it pings the new ip. I've also tried dig
@(forwarders in named.conf) and they to got the correct mx dns entry for
domain.com.
In rc.conf i have hostname=mail.domain.com (eg), i haven't changed
it, i'm thinking it's something related to hostid or hostuid but i don't
know where to search for this topic.
If anyone has a clue what to try or where to look upon this behavior
please shed some light.

Thank you.



Check /etc/hosts which is used before DNS.

-Derek

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

___
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: link to dos2unix

2009-03-01 Thread Wojciech Puchar

long name. I tried to do a hard link on it.
ln /usr/local/bin/dos2unix /usr/local/bin/d2u
This command is accepted without error, but when it execute it
d2u .txt
I get message ==oops you renamed me using unix2dos instead.
I also tried
ln -s /usr/local/bin/dos2unix /usr/local/bin/d2u
and got same results. ls -l does not show dos2unix as linked all ready.

What am I doing wrong here?


it HAS to be called dos2unix - this program reacts on the name it was 
called as because dos2unix and unix2dos are the same binary.


if called as d2u - it doesn't know what to do.

use shell aliases
___
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


libpthread not found

2009-03-01 Thread m.borsatino
Hi.
I've installed netbeans from ports without error messages. when I started the 
program I got an error like this: libpthread.so.2 needed by java not found. 
I've verified that there is a libpthread.so.20 in /usr/local/lib/pth. I've done 
a rough attempt making a soft link; after that I've restarted netbeans; now the 
error message is: /libexec/ld-elf.so.1: Shared object libc.so.6 not found, 
required by java, also present but with version libc.so.7.
the same think happen with netbeans 6.1 and with netbeans 6.4 either installed 
from ports or packages and also using a binaries. 
have I done a mistake? how can I fix it?
thanks for any idea.
Marco.
___
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: link to dos2unix

2009-03-01 Thread Roland Smith
On Sun, Mar 01, 2009 at 05:00:27PM +0800, Fbsd1 wrote:
 I use the dos2unix console command all the time. I am tried to typing in 
 that long name. I tried to do a hard link on it.
 ln /usr/local/bin/dos2unix /usr/local/bin/d2u
 This command is accepted without error, but when it execute it
 d2u .txt
 I get message ==oops you renamed me using unix2dos instead.
 I also tried
 ln -s /usr/local/bin/dos2unix /usr/local/bin/d2u
 and got same results. ls -l does not show dos2unix as linked all ready.
 
 What am I doing wrong here?

Usually, programs like this perform dos2unix or unix2dos translations
depending on how they are called. So renaming them won't work.

Try adding an alias to your favorite shell. That should work. E.g.put
'alias d2u dos2unix' and 'alias u2d unix2dos' in your .cshrc.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpBuXLQC5oa5.pgp
Description: PGP signature


ankara mobilyasi

2009-03-01 Thread Özçevik Mobilya / Ankara /Siteler
Merhaba, iyi gunler.
  
Ben Ibrahim Cevik, Ankara siteler bölgesinde mobilya ureticisiyim
  
Oncelikle, verdigim rahatsizliktan dolayi kusura bakmayiniz.

Sizlere urunlerimi tanitmak, mobilya ihtiyaciniz oldugunda yardimci olmak 
istiyorum. Urun seçeneklerimi www.ozcevikmobilya.com.tr web sayfami ziyaret 
ederek inceleyebilirsiniz.
 
Ayrica isteginize bagli olarak, kisiye ozel uretim de yapiyorum.

Ankara siteler bolgesine yolunuz dustugunde sizi showroomumuza konuk etmekten 
ve bir fincan kahve ikram etmektan gurur duyarim. Bu vesile ile web sayfamda 
yer almayan daha farkli urunlerimi de gorebilirsiniz.
 
En icten saygilarimla
  
IIbrahim Cevik

Ozcevik Mobilya Tasarim Dekorasyon Imalat Ticaret Ltd

Akbal Sk No 8 Siteler Ankara
T: +90 312 350 69 75
F: +90 312 348 21 78
Gsm: +90 533 739 84 67

www.ozcevikmobilya.com.tr

  
Not: Birden fazla yolladigim elektronik postalar icin, pesinen ozur dilerim.

___
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: MySQL / php differ

2009-03-01 Thread Aryeh M. Friedman

Jos Chrispijn wrote:

| FreeBSD 6.4-STABLE

Just upgraded my MySQL server/client to v5.0.77 and php version to 
php5-5.2.8 but something struck my eye when opening phpmyadmin, saying:


'Your PHP MySQL library version 4.0.27 differs from your MySQL server 
version 5.0.77. This may cause unpredictable behavior'.


I obviously have my php MySQL library running wrong version. Can you 
tell me How could I solve this matter in a quick way?


thanks,
Jos Chrispijn
___
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



portmaster -rf database/phpmyadmin
___
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: link to dos2unix

2009-03-01 Thread Fbsd1

Roland Smith wrote:

On Sun, Mar 01, 2009 at 05:00:27PM +0800, Fbsd1 wrote:
I use the dos2unix console command all the time. I am tried to typing in 
that long name. I tried to do a hard link on it.

ln /usr/local/bin/dos2unix /usr/local/bin/d2u
This command is accepted without error, but when it execute it
d2u .txt
I get message ==oops you renamed me using unix2dos instead.
I also tried
ln -s /usr/local/bin/dos2unix /usr/local/bin/d2u
and got same results. ls -l does not show dos2unix as linked all ready.

What am I doing wrong here?


Usually, programs like this perform dos2unix or unix2dos translations
depending on how they are called. So renaming them won't work.

Try adding an alias to your favorite shell. That should work. E.g.put
'alias d2u dos2unix' and 'alias u2d unix2dos' in your .cshrc.

Roland


Thank you. That worked.
___
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


bsdstats not working in 7.1

2009-03-01 Thread Fbsd1

bsdstats is now in the base system.
Have bsdstats_enable=YES is rc.conf
Worked this way in 7.0.
What am I missing here???
___
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: libpthread not found

2009-03-01 Thread Aryeh M. Friedman
Then you will need to limit it to diablo only by placing it in the exec 
path in []'s


m.borsat...@alice.it wrote:

amm ... when I change the 'candidate' something strange begins to happen: bash 
doesn't work anymore, saying that it does not find the library. this happens as 
soon as I do the change, showing what you've explained to me.

Marco

  

thanks ... but ... how?
now I don't get the first message; but the second tells me that a library
is missing, but it is present. anyway I' prepared a very simple
/etc/libmap.conf like this:

# /etc/libmap.conf
#
# candidate mapping
#
libc.so.6   /usr/compat/linux/lib/libc.so.6



Change to:

libc.so.6   libc.so.7
 
  

but clearly this is not enough. should I restart the system or use a
program to make the change accepted?




No need, it is picked up the next time the libmap.conf file is parsed.

What is occurring is the java binary was built against libc.so.6, which is 
what you would find on a FreeBSD 6.x box. 


-Mike



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

  


___
freebsd-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: libpthread not found

2009-03-01 Thread Michael Powell
m.borsat...@alice.it wrote:
[snip]
 thanks ... but ... how?
 now I don't get the first message; but the second tells me that a library
 is missing, but it is present. anyway I' prepared a very simple
 /etc/libmap.conf like this:
 
 # /etc/libmap.conf
 #
 # candidate mapping
 #
 libc.so.6/usr/compat/linux/lib/libc.so.6
 
 Change to:
 
 libc.so.6 libc.so.7
  
 but clearly this is not enough. should I restart the system or use a
 program to make the change accepted?
 
 
 No need, it is picked up the next time the libmap.conf file is parsed.
 
 What is occurring is the java binary was built against libc.so.6, which is
 what you would find on a FreeBSD 6.x box.
 

 amm ... when I change the 'candidate' something strange begins to happen:
 bash doesn't work anymore, saying that it does not find the library. this
 happens as soon as I do the change, showing what you've explained to me.
 

I am beginning to wonder if the problem isn't a little more involved. Did 
you upgrade the machine from FreeBSD 6.x to 7.x without rebuilding all your 
ports? With bash breaking it sounds like it was built for a 6.x box as well, 
which leads me to wonder how many other ports are the same way.

What you also might look into is installing the misc/compat6x port. However, 
in any event, we need to get down to the bottom of what happened to create 
the situation. The most obvious thing I can think of is an upgrade of the 
system from 6 to 7 without a corresponding rebuild or reinstall of all 
ports. 

-Mike
  


___
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


Error getting UID/GID

2009-03-01 Thread Terry
I get this error using vexim which is a php front end for exim ( I have 
mailed there list )
I am running it in a jail and when I goto add a new domain I get Error 
getting UID/GID.
All existing domains and accounts are fine ( these come from another 
server and have been moved into the jail ) and I can add users to 
existing domains with out a problem.
I get the same error with apache or lighttpd. All joomla sites are 
working fine so I assume every thing is ok php wise.

Nothing gets shown in the web server logs.
The uid and gid are set in variables.php but you can also change them if 
you wish when adding a domain
I am just wondering would it be some sort of jail related issue ? But I 
can not see a sysctl that it maybe


sysctl -a | grep jail
security.jail.jailed: 0
security.jail.mount_allowed: 0
security.jail.chflags_allowed: 0
security.jail.allow_raw_sockets: 0
security.jail.enforce_statfs: 2
security.jail.sysvipc_allowed: 0
security.jail.socket_unixiproute_only: 1
security.jail.set_hostname_allowed: 1

7.1-RELEASE ,PHP 5.2.8 (cli)
Just looking for some pointers where to look really

Thanks
Terry

___
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


libpthread not found

2009-03-01 Thread m.borsatino
amm ... when I change the 'candidate' something strange begins to happen: bash 
doesn't work anymore, saying that it does not find the library. this happens as 
soon as I do the change, showing what you've explained to me.

Marco

 thanks ... but ... how?
 now I don't get the first message; but the second tells me that a library
 is missing, but it is present. anyway I' prepared a very simple
 /etc/libmap.conf like this:
 
 # /etc/libmap.conf
 #
 # candidate mapping
 #
 libc.so.6 /usr/compat/linux/lib/libc.so.6

Change to:

libc.so.6   libc.so.7
 
 but clearly this is not enough. should I restart the system or use a
 program to make the change accepted?
 

No need, it is picked up the next time the libmap.conf file is parsed.

What is occurring is the java binary was built against libc.so.6, which is 
what you would find on a FreeBSD 6.x box. 

-Mike



___
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 getting UID/GID

2009-03-01 Thread Terry
all sorted at some point I had over looked the group id which was wrong  
when I added the user

I all ways fix these things after asking for help :(

Thanks
Terry
___
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: MySQL / php differ

2009-03-01 Thread Matthew Seaman

Aryeh M. Friedman wrote:

Jos Chrispijn wrote:

| FreeBSD 6.4-STABLE

Just upgraded my MySQL server/client to v5.0.77 and php version to 
php5-5.2.8 but something struck my eye when opening phpmyadmin, saying:


'Your PHP MySQL library version 4.0.27 differs from your MySQL server 
version 5.0.77. This may cause unpredictable behavior'.


I obviously have my php MySQL library running wrong version. Can you 
tell me How could I solve this matter in a quick way?


thanks,
Jos Chrispijn



portmaster -rf database/phpmyadmin


Actually, you may only need to recompile databases/php5-mysql (possibly plus some 
dependencies) and then restart apache. If your DB is on the same machine as where 
you're running phpMyAdmin, then you will have the 5.0.77 client libraries already 
installed and recompiling that one package should fix the observed problem.  


If not, then you may need to update the mysql client libraries and anything
that links to them on the phpMyAdmin machine. You can check what php5-mysql
depends on like so:

% pkg_info -rx php5-mysql
Information for php5-mysql-5.2.8:

Depends on:
Dependency: expat-2.0.1
Dependency: openssl-0.9.8j_1
Dependency: perl-5.8.9_1
Dependency: pkg-config-0.23_1
Dependency: pcre-7.8
Dependency: mysql-client-5.0.77
Dependency: db46-4.6.21.3
Dependency: cyrus-sasl-2.1.22_2
Dependency: openldap-sasl-client-2.4.15
Dependency: libiconv-1.11_1
Dependency: libxml2-2.7.3
Dependency: apache-2.2.11_3
Dependency: php5-5.2.8

You won't get exactly the same list -- the important bit is the 'mysql-client'
line.  If you aren't using 5.0.77 client then:

  # portupgrade -o databases/mysql50-client -fr mysql-client-X.X.XX

(fill in the version number of the client libraries you actually do have
installed).  You may also see output for php5-mysqli if you have that
module installed: the portupgrade command above should fix both modules.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: libpthread not found

2009-03-01 Thread Michael Powell
m.borsat...@alice.it wrote:

 thanks ... but ... how?
 now I don't get the first message; but the second tells me that a library
 is missing, but it is present. anyway I' prepared a very simple
 /etc/libmap.conf like this:
 
 # /etc/libmap.conf
 #
 # candidate mapping
 #
 libc.so.6 /usr/compat/linux/lib/libc.so.6

Change to:

libc.so.6   libc.so.7
 
 but clearly this is not enough. should I restart the system or use a
 program to make the change accepted?
 

No need, it is picked up the next time the libmap.conf file is parsed.

What is occurring is the java binary was built against libc.so.6, which is 
what you would find on a FreeBSD 6.x box. 

-Mike



___
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


MySQL / php differ

2009-03-01 Thread Jos Chrispijn

| FreeBSD 6.4-STABLE

Just upgraded my MySQL server/client to v5.0.77 and php version to 
php5-5.2.8 but something struck my eye when opening phpmyadmin, saying:


'Your PHP MySQL library version 4.0.27 differs from your MySQL server 
version 5.0.77. This may cause unpredictable behavior'.


I obviously have my php MySQL library running wrong version. Can you 
tell me How could I solve this matter in a quick way?


thanks,
Jos Chrispijn
___
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: link to dos2unix

2009-03-01 Thread Lars Eighner

On Sun, 1 Mar 2009, Fbsd1 wrote:


I get message ==oops you renamed me using unix2dos instead.


Someone else has already replied that the binary only knows what to
do by checking the name used to call it.  The way to do what you want
is to use an alias in your shell.  In BASH this would be

alias d2u='dos2unix'

in .profile.

Then run source .profile, or log out and log in.

This may vary according to which shell you use.  Consult the man
for your shell.

The reason this works is that the shell resolves the alias before it
calls the command, so the command never knows what you really typed.

A number of applications are like this.  Aliasing is the right way to make
shortcut names, rather than creating links.  If you want the alias to work
system-wide, edit the system confifuration file for the particular shell. 
If users use several different shell, you do have to add the alias to each

distinct configuration file.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
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: kernel #4

2009-03-01 Thread Matthew Seaman

Polytropon wrote:

On Sat, 28 Feb 2009 14:47:27 -0500, Steve Bertrand st...@ibctech.ca wrote:

Tim Judd wrote:

Actually this is the 5th time --- computers start counting at zero.

Wow, what a nice technicality you have found!

If computers start counting at zero, and if the system-installed
kernel starts at zero, how many times has the user taken the bus?


And how does the computer count more than 1 (which is 2) when
he does only understand 0 and 1? :-)



Same way people from intolerable ethnic slur redacted count to
20 -- it takes its shoes off.

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: libpthread not found

2009-03-01 Thread Aryeh M. Friedman

m.borsat...@alice.it wrote:

Hi.
I've installed netbeans from ports without error messages. when I started the program I got an error like this: 
libpthread.so.2 needed by java not found. I've verified that there is a libpthread.so.20 in 
/usr/local/lib/pth. I've done a rough attempt making a soft link; after that I've restarted netbeans; now the 
error message is: /libexec/ld-elf.so.1: Shared object libc.so.6 not found, required by 
java, also present but with version libc.so.7.
the same think happen with netbeans 6.1 and with netbeans 6.4 either installed from ports or packages and also using a binaries. 
have I done a mistake? how can I fix it?

thanks for any idea.
Marco.
___
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

  

You may want to look at libmap.conf(5)
___
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


libpthread not found

2009-03-01 Thread m.borsatino
thanks ... but ... how?
now I don't get the first message; but the second tells me that a library is 
missing, but it is present.
anyway I' prepared a very simple /etc/libmap.conf like this:

# /etc/libmap.conf
#
# candidate mapping
#
libc.so.6   /usr/compat/linux/lib/libc.so.6

but clearly this is not enough. should I restart the system or use a program to 
make the change accepted?

Marco

-Messaggio originale-
Da: Aryeh M. Friedman [mailto:aryeh.fried...@gmail.com]
Inviato: dom 01/03/2009 11.02
A: m.borsat...@alice.it
Cc: freebsd-questions@freebsd.org
Oggetto: Re: libpthread not found
 
m.borsat...@alice.it wrote:
 Hi.
 I've installed netbeans from ports without error messages. when I started the 
 program I got an error like this: libpthread.so.2 needed by java not found. 
 I've verified that there is a libpthread.so.20 in /usr/local/lib/pth. I've 
 done a rough attempt making a soft link; after that I've restarted netbeans; 
 now the error message is: /libexec/ld-elf.so.1: Shared object libc.so.6 
 not found, required by java, also present but with version libc.so.7.
 the same think happen with netbeans 6.1 and with netbeans 6.4 either 
 installed from ports or packages and also using a binaries. 
 have I done a mistake? how can I fix it?
 thanks for any idea.
 Marco.
 ___
 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

   
You may want to look at libmap.conf(5)

___
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


Port of perl 5.10

2009-03-01 Thread Valerio Daelli
Hi

is there anyone working on a port of perl5.10?
I can only see ports of 5.8 and 5.6.
I can make a port of 5.10, it seems to compile flawlessly on FreeBSD 7.
Have a good day

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


Port of perl 5.10

2009-03-01 Thread Robert Huff

Valerio Daelli writes:

  is there anyone working on a port of perl5.10?
  I can only see ports of 5.8 and 5.6.
  I can make a port of 5.10, it seems to compile flawlessly on
  FreeBSD 7.

_Many_ ports depend on perl, and each must be tested (and
if broken hopefully fixed) before such an ungrade happens.  I
believe the recent jump from 5.8.8 to 5.8.9 took weeks of
behind-the-scenes work.  Now imagine what moving to 5.10 will likely
involve 
Experienced help is always appreciated, and I commend the
20090113 entry of ports/UPDATING as having a contact point.


Robert Huff



___
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


Root shell

2009-03-01 Thread Sniper
Hi!

I heard that changing root shell to bash is not good idea, also programing
in any C shell not applicable. So which shell is the most appropriate for
root user ?


Regards,

Jurif
___
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: Root shell

2009-03-01 Thread Glen Barber
On Sun, Mar 1, 2009 at 9:50 AM, Sniper kkil...@gmail.com wrote:
 Hi!

 I heard that changing root shell to bash is not good idea, also programing
 in any C shell not applicable. So which shell is the most appropriate for
 root user ?


/bin/csh

-- 
Glen Barber
___
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: bsdstats not working in 7.1

2009-03-01 Thread Frank Shute
On Sun, Mar 01, 2009 at 07:20:21PM +0800, Fbsd1 wrote:

 bsdstats is now in the base system.

On what?

 Have bsdstats_enable=YES is rc.conf
 Worked this way in 7.0.
 What am I missing here???

$ pkg_info -D bsdstats*

Still in a port (sysutils/bsdstats) on:

FreeBSD 7.1-RELEASE-p2 amd64

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

___
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


Tandberg RDX QuikStor

2009-03-01 Thread Andrea Venturoli

Hello.
Has anyone been using the above (either USB or SATA)?
Do they work with FreeBSD?
Care to share your experience?

 bye  Thanks
av.
___
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: Root shell

2009-03-01 Thread Daniel Lannstrom
Why is this not a good idea? The only reason I can think of it that you
want your root shell on the root hard drive. As many system use a
separate partition for /usr and that bash installs to /usr/local/bin per
default I can see how that can cause troubles. But are there any other
reasons? Unstability in bash? Unexpected behaivor causing more harm in a
root shell?

On Sun, Mar 01, 2009 at 03:50:29PM +0100, Sniper wrote:
 I heard that changing root shell to bash is not good idea
___
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: Root shell

2009-03-01 Thread Glen Barber
On Sun, Mar 1, 2009 at 10:55 AM, Daniel Lannstrom o...@trekdanne.se wrote:
 Why is this not a good idea? The only reason I can think of it that you
 want your root shell on the root hard drive. As many system use a
 separate partition for /usr and that bash installs to /usr/local/bin per
 default I can see how that can cause troubles. But are there any other
 reasons? Unstability in bash? Unexpected behaivor causing more harm in a
 root shell?


This explains one of the reasons not to change root's shell:

http://www.freebsd.org/doc/en/books/faq/security.html#TOOR-ACCOUNT


-- 
Glen Barber
___
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: Root shell

2009-03-01 Thread Frank Shute
On Sun, Mar 01, 2009 at 03:50:29PM +0100, Sniper wrote:

 Hi!
 
 I heard that changing root shell to bash is not good idea, also programing
 in any C shell not applicable. So which shell is the most appropriate for
 root user ?
 

I changed my root shell to pdksh with no ill-effects. I just copied it
from /usr/local/bin to /bin and added it to /etc/shells. Then vipw.

pdksh is statically linked and I don't know if bash is. If it's not
you wont be able to use it in single user mode but you can always use
/bin/sh instead.

Another option is to use the toor account rather than messing around
with root.

I think programming with csh is deprecated nowadays - a shell guru
could tell you if that's true.

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

___
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: Root shell

2009-03-01 Thread Matthew Seaman

Frank Shute wrote:


I think programming with csh is deprecated nowadays - a shell guru
could tell you if that's true.


Sure csh is deprecated for programming, and has been for a long time[*].
But this is not about shell programming.  It's about what interactive shell
root should have. That's a very different thing, and [t]csh is just fine
for interactive use.

Cheers,

Matthew

[*] Anyone with any sense will write posix compliant scripts using /bin/sh
for maximum portability.

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Root shell

2009-03-01 Thread Daniel Lannstrom
On Sun, Mar 01, 2009 at 11:11:56AM -0500, Glen Barber wrote:
 This explains one of the reasons not to change root's shell:
 
 http://www.freebsd.org/doc/en/books/faq/security.html#TOOR-ACCOUNT

Yes that's exactly what I meant. Is there any other reason except for
that? As I see it that problem can easily be solved by copying bash to
the root file system. Also many systems today have the root and /usr 
on the same file 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: Root shell

2009-03-01 Thread Glen Barber
On Sun, Mar 1, 2009 at 11:43 AM, Daniel Lannstrom o...@trekdanne.se wrote:
 On Sun, Mar 01, 2009 at 11:11:56AM -0500, Glen Barber wrote:
 This explains one of the reasons not to change root's shell:

 http://www.freebsd.org/doc/en/books/faq/security.html#TOOR-ACCOUNT

 Yes that's exactly what I meant. Is there any other reason except for
 that? As I see it that problem can easily be solved by copying bash to
 the root file system. Also many systems today have the root and /usr
 on the same file system.

You'd have to also copy more than just the binary file.  It's more
complex than that, and generally is a Bad Idea(tm).

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


freebsd-update patch not being applied

2009-03-01 Thread James
For some reason when i type uname -a on my desktop, which is running 7.1, all I 
see is this:

$ uname -a
FreeBSD me 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 08:58:24 UTC 
2009 r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

But if i run freebsd-update fetch i get this

$ sudo freebsd-update fetch
Password:
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 7.1-RELEASE from update2.FreeBSD.org... 
done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 7.1-RELEASE-p3.

Everytime the application has said there are new updates i installed them with 
`freebsd-update install`,
and eventually i got around to restarting, but when I log back in and type 
`uname -a` I get the same message
as above: `7.1-RELEASE #0`

Now on a seperate system running 7.0 I have a similar problem where uname -a 
always reports `7.0-RELEASE-p7 #0`
even though freebsd-update reports
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org... 
done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 7.0-RELEASE-p10.

Now I'm new to the BSD world, but i do have a fair amount of experience with 
Linux. What I am trying to figure
out here, is why uname -a reports a different patch number than it should.

Thanks
James

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


is there a microsoft one note counterpart for freebsd?

2009-03-01 Thread GrimJow Espada
is there a microsoft one note counterpart for freebsd?
___
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: freebsd-update patch not being applied

2009-03-01 Thread Daniel Bye
On Sun, Mar 01, 2009 at 08:50:48AM -0800, James wrote:
 For some reason when i type uname -a on my desktop, which is running 7.1, all 
 I see is this:
 
   $ uname -a
   FreeBSD me 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 08:58:24 UTC 
 2009 r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
 
 But if i run freebsd-update fetch i get this
 
   $ sudo freebsd-update fetch
   Password:
   Looking up update.FreeBSD.org mirrors... 2 mirrors found.
   Fetching metadata signature for 7.1-RELEASE from update2.FreeBSD.org... 
 done.
   Fetching metadata index... done.
   Inspecting system... done.
   Preparing to download files... done.
 
   No updates needed to update system to 7.1-RELEASE-p3.
 
 Everytime the application has said there are new updates i installed them 
 with `freebsd-update install`,
 and eventually i got around to restarting, but when I log back in and type 
 `uname -a` I get the same message
 as above: `7.1-RELEASE #0`
 
 Now on a seperate system running 7.0 I have a similar problem where uname -a 
 always reports `7.0-RELEASE-p7 #0`
 even though freebsd-update reports
   Looking up update.FreeBSD.org mirrors... 2 mirrors found.
   Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org... 
 done.
   Fetching metadata index... done.
   Inspecting system... done.
   Preparing to download files... done.
 
   No updates needed to update system to 7.0-RELEASE-p10.
 
 Now I'm new to the BSD world, but i do have a fair amount of experience with 
 Linux. What I am trying to figure
 out here, is why uname -a reports a different patch number than it should.

This is the normal behaviour for freebsd-update. The patch level number will
only bump if an update affects the kernel. The most recent updates for 7.1
didn't touch the kernel, so you still see the previous (somewhat confusing)
version number. However, if the next update requires that the kernel be
replaced, then you'll see the patch level number increase.

Hope this makes sense...

Dan

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpra17LS9ofP.pgp
Description: PGP signature


Re: freebsd-update patch not being applied

2009-03-01 Thread James
On Sun, 1 Mar 2009 17:46:27 +
Daniel Bye danie...@slightlystrange.org wrote:

 On Sun, Mar 01, 2009 at 08:50:48AM -0800, James wrote:
  For some reason when i type uname -a on my desktop, which is running 7.1, 
  all I see is this:
  
  $ uname -a
  FreeBSD me 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 08:58:24 UTC 
  2009 r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
  
  But if i run freebsd-update fetch i get this
  
  $ sudo freebsd-update fetch
  Password:
  Looking up update.FreeBSD.org mirrors... 2 mirrors found.
  Fetching metadata signature for 7.1-RELEASE from update2.FreeBSD.org... 
  done.
  Fetching metadata index... done.
  Inspecting system... done.
  Preparing to download files... done.
  
  No updates needed to update system to 7.1-RELEASE-p3.
  
  Everytime the application has said there are new updates i installed them 
  with `freebsd-update install`,
  and eventually i got around to restarting, but when I log back in and type 
  `uname -a` I get the same message
  as above: `7.1-RELEASE #0`
  
  Now on a seperate system running 7.0 I have a similar problem where uname 
  -a always reports `7.0-RELEASE-p7 #0`
  even though freebsd-update reports
  Looking up update.FreeBSD.org mirrors... 2 mirrors found.
  Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org... 
  done.
  Fetching metadata index... done.
  Inspecting system... done.
  Preparing to download files... done.
  
  No updates needed to update system to 7.0-RELEASE-p10.
  
  Now I'm new to the BSD world, but i do have a fair amount of experience 
  with Linux. What I am trying to figure
  out here, is why uname -a reports a different patch number than it should.
 
 This is the normal behaviour for freebsd-update. The patch level number will
 only bump if an update affects the kernel. The most recent updates for 7.1
 didn't touch the kernel, so you still see the previous (somewhat confusing)
 version number. However, if the next update requires that the kernel be
 replaced, then you'll see the patch level number increase.
 
 Hope this makes sense...
 
 Dan
 
 -- 
 Daniel Bye
  _
   ASCII ribbon campaign ( )
  - against HTML, vCards and  X
 - proprietary attachments in e-mail / \
 

Makes perfect sense, thanks for replying, i appreciate the help
James
-- 
James ja...@slohall.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd-update patch not being applied

2009-03-01 Thread andrew clarke
On Sun 2009-03-01 08:50:48 UTC-0800, James (ja...@slohall.com) wrote:

 For some reason when i type uname -a on my desktop, which is running 7.1, all 
 I see is this:
 
   $ uname -a
   FreeBSD me 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 08:58:24 UTC 
 2009 r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
 
 But if i run freebsd-update fetch i get this
 
   $ sudo freebsd-update fetch
   Password:
   Looking up update.FreeBSD.org mirrors... 2 mirrors found.
   Fetching metadata signature for 7.1-RELEASE from update2.FreeBSD.org... 
 done.
   Fetching metadata index... done.
   Inspecting system... done.
   Preparing to download files... done.
 
   No updates needed to update system to 7.1-RELEASE-p3.
 
 Everytime the application has said there are new updates i installed them 
 with `freebsd-update install`,
 and eventually i got around to restarting, but when I log back in and type 
 `uname -a` I get the same message
 as above: `7.1-RELEASE #0`

This is (probably) normal.  uname -a shows the kernel version, however
often freebsd-update will patch other (non-kernel) parts of the base
system, leaving the kernel alone.  eg. the recent bug involving
telnetd on 7.x systems only required patching the telnetd binary.

AFAIK, each time a patch is required, /usr/src/sys/conf/newvers.sh is
updated.

$ sudo freebsd-update fetch
No updates needed to update system to 6.4-RELEASE-p3.

$ uname -a
FreeBSD blizzard.phoenix 6.4-RELEASE-p1 FreeBSD 6.4-RELEASE-p1 #0: Sun
Dec 21 07:56:41 UTC 2008 
r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

$ grep -v # /usr/src/sys/conf/newvers.sh | head -4

TYPE=FreeBSD
REVISION=6.4
BRANCH=RELEASE-p3
___
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


badblocks on sata drive

2009-03-01 Thread Marco
hej list,

during dd tests i encounter hardware problems with my harddisk. is there
a way to mark parts of the hdd as bad so those are not used anymore?

best regards,
 marco
___
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: badblocks on sata drive

2009-03-01 Thread Wojciech Puchar


during dd tests i encounter hardware problems with my harddisk. is there
a way to mark parts of the hdd as bad so those are not used anymore?

not much.

you may label it the way it will skip that part.

anyway - sata/IDE drives has in-hardware bad block remapping. if you see 
bad blocks there is already out of space for remapping.


OR - just something was recorded badly some time ago.

clear whole drive with zeros and then retest. there is high change problem 
will go out.


if not - don't use that drive for anything valuable at all
___
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: is there a microsoft one note counterpart for freebsd?

2009-03-01 Thread Wojciech Puchar
no idea what's microsoft one note (i don't use their products), but - as 
usual - try to find unix program(s) that will accomplish your task, not 
equivalents.


or try wine
___
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: Root shell

2009-03-01 Thread Wojciech Puchar

I heard that changing root shell to bash is not good idea


from whom?

use what you like the most.


, also programing
in any C shell not applicable. So which shell is the most appropriate for
root user ?


anything you like.
___
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: Root shell

2009-03-01 Thread Wojciech Puchar

Why is this not a good idea? The only reason I can think of it that you
want your root shell on the root hard drive. As many system use a
separate partition for /usr and that bash installs to /usr/local/bin per


yes it may be a reason, but there is always /rescue directory.

and - at least me - prefer to have as little partition as possible to not 
make things complicated.


most cases swap+/
___
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: badblocks on sata drive

2009-03-01 Thread Daniel Lannstrom
If a modern hard drive begins to let bad blocks through it's internal
block relocation mechanics have failed. I recommend to take backup on
everthing on that disk because this is usually a sign that the disk 
will die shortly. 

On Sun, Mar 01, 2009 at 07:17:44PM +0100, Marco wrote:
 hej list,
 
 during dd tests i encounter hardware problems with my harddisk. is there
 a way to mark parts of the hdd as bad so those are not used anymore?
 
 best regards,
  marco
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-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: Tandberg RDX QuikStor

2009-03-01 Thread Wojciech Puchar

Hello.
Has anyone been using the above (either USB or SATA)?
Do they work with FreeBSD?


i don't see a reason it should not.

anyway - it's cardridges are more expensive than ordinary hard disks - 
doesn't make sense.


___
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: Root shell

2009-03-01 Thread RW
On Sun, 1 Mar 2009 16:16:50 +
Frank Shute fr...@shute.org.uk wrote:


 pdksh is statically linked and I don't know if bash is. 

It's a build option.
___
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: Root shell

2009-03-01 Thread Geoff Fritz
On Sun, Mar 01, 2009 at 04:16:50PM +, Frank Shute wrote:
 On Sun, Mar 01, 2009 at 03:50:29PM +0100, Sniper wrote:
 
  Hi!
  
  I heard that changing root shell to bash is not good idea, also programing
  in any C shell not applicable. So which shell is the most appropriate for
  root user ?
  
 
 I changed my root shell to pdksh with no ill-effects. I just copied it
 from /usr/local/bin to /bin and added it to /etc/shells. Then vipw.
 
 pdksh is statically linked and I don't know if bash is. If it's not
 you wont be able to use it in single user mode but you can always use
 /bin/sh instead.

I, too, like pdksh for my root accounts.  If I have a system where
/usr/local does not share the / device, I will copy it over.  There's the
WITH_STATIC_BASH knob to make bash a static binary, as well.  As noted by
someone in the archives, ksh-alikes have issues allocating a tty when used
in a jail accessed via jexec, so beware of that.

As system shell scripts have their correctly defined #! shell (/bin/sh), it
really doesn't matter what you use for an interactive shell so long as you
trust the source distribution of that shell (which should be an obvious
conclusion, since the FreeBSD team is oly responsible for those shells that
come packaged with the base OS).

Purists will note that root's choice of shell is of no consequence since
nobody should be using the root account for any serious long-term
interactive use in the first place.  Except for environments where there's
an assumed lack of trust in the admins (use sudo), delegation of root-like
powers to lesser admins (use sudo), or strict audit/logging requirements
(use sudosh or more serious auditing mechanisms), I personally feel that
hobbling an admin with a non-root account is of dubious value.

In any case, there's no functional reason to not use the shell of your
choice.  However, individuals or organizations will stronly differ in their
admin philosophy.

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


ipfilter, ipnat, and if driver ath: what's just changed?

2009-03-01 Thread dacoder

updating my system friday from the feb 7 version of 7.1 to the latest broke
tcp and udp (but *not* icmp) over ipnat, which had worked forever with my
current ipfilter rules and ipnat mapping rules, which are pretty simple.
what has changed?

/etc/ipnat.rules:

map age0 10.0.0.0/24 - external ip/32

@ the top of /etc/ipf.rules:

pass out quick on age0 proto tcp/udp from any to any keep state keep 
frags
pass out quick on age0 proto icmp from any to any keep state keep frags

that used to work.  now it doesn't, witness ipmon:

01/03/2009 13:07:46.274707 age0 @0:28 b 74.125.93.102,80 - 10.0.0.253,2914
PR tcp len 20 48 -AS IN NAT

what's changed?  ipf?  ipnat?  age?  am i using an obsolete  therefore
unworkable set of ipfilter rules?  icmp still works, btw.

i'd be grateful for any help.

thx.

david coder
network engineer emeritus
ntt/verio

___
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: Root shell

2009-03-01 Thread Jerry McAllister
On Sun, Mar 01, 2009 at 03:50:29PM +0100, Sniper wrote:

 Hi!
 
 I heard that changing root shell to bash is not good idea, also programing
 in any C shell not applicable. So which shell is the most appropriate for
 root user ?

You can get your tail in a crack if you boot to single user or another
file system like /usr  is not available./bin/csh   (which on FreeBSD 
is the same as tcsh)  is always available and a few things are written
so they expect it.

So, leave root alone.   
If you must lower yourself to bash, make another account and set its 
shell to bash.   You can even make an alternate root and make it bash
if you really must work in root.   USe vipw  and copy the toor line
in the passwd file and change the name to something you like and the shell
to bash and the home directory to /root/whatever.
Then set the password for this account
As root do:
  passwd whatever

follow prompts.

You must put the id name on the passwd command or it will change root instead.

I am not necessarily recommending all this, but it is better tham
changing the actual root account's shell.

jerry


 
 
 Regards,
 
 Jurif
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-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: Ports on Macbook

2009-03-01 Thread Chris Rees
2009/3/1 Bernt Hansson be...@bah.homeip.net:

 Charles Oppermann skrev:
 That depends on where you are domiciled. Under certain scenarios, simply
 open the box, or installing the software constitutes acceptance of the
 EULA.
 Yes I'm aware of that, but that kind of agreement isn't valid in Sweden.


 http://www.google.se/search?client=firefox-arls=org.mozilla%3Aen-US%3Aofficialchannel=shl=svq=%22Negativ+avtalsbindning%22meta=btnG=Google-s%C3%B6kning
 ___
 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


Ordering software then breaking the seal on a software packaging is
not a negative contract agreement. The customer ordering the product
requested the contract. How is this even relevant?

-- 
R $h !  $- ! $+  $@ $2  @ $1 .UUCP.  (sendmail.cf)
___
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: is there a microsoft one note counterpart for freebsd?

2009-03-01 Thread Chris Rees
2009/3/1 Wojciech Puchar woj...@wojtek.tensor.gdynia.pl:
 no idea what's microsoft one note (i don't use their products), but - as
 usual - try to find unix program(s) that will accomplish your task, not
 equivalents.

 or try wine
 ___
 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


http://en.wikipedia.org/wiki/Comparison_of_notetaking_software

At a glance, Jarnal looks useful...

Chris

-- 
R $h !  $- ! $+  $@ $2  @ $1 .UUCP.  (sendmail.cf)
___
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: Root shell

2009-03-01 Thread prad
On Sun, 1 Mar 2009 13:51:32 -0500
Jerry McAllister jerr...@msu.edu wrote:

 I am not necessarily recommending all this, but it is better tham
 changing the actual root account's shell.

besides, you don't really need to, do you?
i just log in with su -m and get to use my own account's aliases etc,
but as root.

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
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: ipfilter, ipnat, and if driver ath [should have been age]: what's just changed?

2009-03-01 Thread dacoder

+++ dacoder [01/03/09 13:17 -0500]:

updating my system friday from the feb 7 version of 7.1 to the latest broke
tcp and udp (but *not* icmp) over ipnat, which had worked forever with my
current ipfilter rules and ipnat mapping rules, which are pretty simple.
what has changed?

/etc/ipnat.rules:

map age0 10.0.0.0/24 - external ip/32

@ the top of /etc/ipf.rules:

	pass out quick on age0 proto tcp/udp from any to any keep state keep 
	frags
	pass out quick on age0 proto icmp from any to any keep state keep 
	frags


that used to work.  now it doesn't, witness ipmon:

01/03/2009 13:07:46.274707 age0 @0:28 b 74.125.93.102,80 - 10.0.0.253,2914
PR tcp len 20 48 -AS IN NAT

what's changed?  ipf?  ipnat?  age?  am i using an obsolete  therefore
unworkable set of ipfilter rules?  icmp still works, btw.

i'd be grateful for any help.

thx.

david coder
network engineer emeritus
ntt/verio

___
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


i meant, of course, age, not ath in my subject line.

sorry for the confusion.

___
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


ata-raid.c patch for ICH7 RAID1

2009-03-01 Thread Tamouh Hakmi
Hi,

Has anyone had experience applying this patch to their FreeBSD 6.x setup?

http://www.nabble.com/Vital-Patches-for-ataraid-with-Intel-Matrix-RAID-(ICH7)-td16179257.html

I've couple of machines using ICH8/ICH9 which seem to exhibit the same problems 
and would be interested in applying the patch. But want to avoid any 
complications that may result from it.

Any feedback is appreciated, do you know if FBSD 6.4 has the patch already 
implemented?

Thanks,

Tamouh Hakmi


___
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: xi?

2009-03-01 Thread gahn


Thanks.

--- On Sat, 2/28/09, Glyn Millington g...@millingtons.org wrote:

 From: Glyn Millington g...@millingtons.org
 Subject: Re: xi?
 To: ipfr...@yahoo.com
 Cc: freebsd general questions freebsd-questions@freebsd.org
 Date: Saturday, February 28, 2009, 9:12 PM
 gahn ipfr...@yahoo.com writes:
 
  Hi all:
 
  I am rebuilding those ports and run into some
 problems. one of those
  is:
 
  checking for XINPUT... configure: error: Package
 requirements (x11 xext
  xi = 1.2 inputproto = 1.5) were not met:
 
  Requested 'xi = 1.2' but version of Xi is
 1.1.3
 
  searching for a while and can't find this
 xi. how could I upgrade
  this xi?
 
 /usr/ports/X11/libXi  would be my guess :-)
 
 
 You may need to update your ports tree.
 
 
 atb
 
 Glyn


  
___
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


libgtkhtml-3.14 = 3.23.5

2009-03-01 Thread gahn

Hi all:

I have problems to compile mail/evolution:

checking for GTKHTML... configure: error: Package requirements 
(libgtkhtml-3.14 = 3.23.5) were not met:

Requested 'libgtkhtml-3.14 = 3.23.5' but version of libgtkhtml is 3.18.3

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.


under www/libgtkhtml, it is version of 2.11.1, and www.gtkhtml is version 1.xx 
something. where is the version = 3.23.5?




  
___
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


Cron Not Sending Mail

2009-03-01 Thread APseudoUtopia
Cron is not sending output as emails. I noticed this when I stopped
seeing the output of a backup script in my daily email. I thought
there was a problem with the backup script - but no, it's cron not
sending the emails.

I had this problem before on 6.1, which I never found a solution to. I
gave up on it, and eventually I upgraded to 7.1. After the upgrade,
cron worked perfectly. However, I just noticed that it stopped working
again. I have no idea what changed (It's a production server, I
haven't been playing with config files).

User www's mail is redirected to root, which is redirected to a @gmail
account via /etc/aliases.
This is on 7.1-RELEASE-p3 running a custom kernel.

Any solution to this problem would be fantastic. I use the emails from
cron on a daily basis, and it really messes me up to have it not
working.

#
# User www's crontab
# Note, I also tried removing the MAILTO to no avail
#
MAILTO=root
# m h   dom mon dow cmd
*   *   *   *   *   echo Hello



# /var/log/cron

Mar  1 19:22:00 youcant /usr/sbin/cron[22627]: (operator) CMD
(/usr/libexec/save-entropy)
Mar  1 19:22:00 youcant cron[22627]: NSSWITCH(nss_method_lookup): nis,
group_compat, setgrent, not found
Mar  1 19:22:00 youcant cron[22627]: NSSWITCH(nss_method_lookup): nis,
group_compat, endgrent, not found
Mar  1 19:22:00 youcant cron[22627]: NSSWITCH(nss_method_lookup): nis,
passwd_compat, endpwent, not found
Mar  1 19:22:00 youcant /usr/sbin/cron[22628]: (www) CMD (echo Hello)
Mar  1 19:22:00 youcant cron[22628]: NSSWITCH(nss_method_lookup): nis,
group_compat, setgrent, not found
Mar  1 19:22:00 youcant cron[22628]: NSSWITCH(nss_method_lookup): nis,
group_compat, endgrent, not found
Mar  1 19:22:00 youcant cron[22628]: NSSWITCH(nss_method_lookup): nis,
passwd_compat, endpwent, not found
Mar  1 19:22:00 youcant cron[22630]: NSSWITCH(nss_method_lookup): nis,
group_compat, setgrent, not found
Mar  1 19:22:00 youcant cron[22630]: NSSWITCH(nss_method_lookup): nis,
group_compat, endgrent, not found
Mar  1 19:22:00 youcant cron[22630]: NSSWITCH(nss_method_lookup): nis,
passwd_compat, endpwent, not found




# /var/log/maillog

Mar  1 19:22:00 youcant sendmail[22630]: n21JM0Gl022630: from=www,
size=0, class=0, nrcpts=0,
msgid=200903011922.n21jm0gl022...@youcant.tastetherainbow.ws,
relay=...@localhost
___
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: Tandberg RDX QuikStor

2009-03-01 Thread Andrea Venturoli

Wojciech Puchar ha scritto:

Hello.
Has anyone been using the above (either USB or SATA)?
Do they work with FreeBSD?


i don't see a reason it should not.


Although they are HD, they are sold as tape replacement.
I was told they are seen as tapes and last time I checked only SCSI 
tapes were supported by FreeBSD.


The whole thing might however not hold and they could be seen for what 
they are: just hard disks.


This is another good question...




anyway - it's cardridges are more expensive than ordinary hard disks - 
doesn't make sense.


On the cost you are right; they justify this with higher reliability.
Whether this is true or not, I don't know.


 bye  Thanks
av.
___
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: Tandberg RDX QuikStor

2009-03-01 Thread Wojciech Puchar


i don't see a reason it should not.


Although they are HD, they are sold as tape replacement.
I was told they are seen as tapes and last time I checked only SCSI tapes 
were supported by FreeBSD.


The whole thing might however not hold and they could be seen for what they 
are: just hard disks.


This is another good question...




anyway - it's cardridges are more expensive than ordinary hard disks - 
doesn't make sense.


On the cost you are right; they justify this with higher reliability.
Whether this is true or not, I don't know.


for sure not.
___
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: Tandberg RDX QuikStor

2009-03-01 Thread Wojciech Puchar

worked exactly as a SATA disc. Its more convenient
than plugging data / power every day and looks more

   ^^

the only true argument. if they like to pay more and You sell it - very 
good.



for SATA disks - use e-SATA connectors or USB-SATA bridges
___
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: Tandberg RDX QuikStor

2009-03-01 Thread Graham Bentley

I installed one of these recently under CentOS and it
worked exactly as a SATA disc. Its more convenient
than plugging data / power every day and looks more
professional when used for customers servers.
___
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: Tandberg RDX QuikStor

2009-03-01 Thread Andrea Venturoli

Wojciech Puchar ha scritto:


On the cost you are right; they justify this with higher reliability.
Whether this is true or not, I don't know.


for sure not.


Well, they say they resist a lot better to accidental falling; I never 
looked into them first hand, so I'm not able to tell if this is a myth 
or not.


 bye
av.
___
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: portmanager/portmaster like application for packages?

2009-03-01 Thread perryh
Mel fbsd.questi...@rachie.is-a-geek.net wrote:

 On Saturday 28 February 2009 23:06:10 Fbsd1 wrote:
  I am looking for software like portmanager/portmaster but works
  on the package system instead of the port system. Is there such
  am application available?

 Not (yet). Without /usr/ports it's impossible to find out what
 software needs updating, or you'd have to download and trust the
 INDEX-7 on the FreeBSD package servers.

... which may not be much of a stretch for those who are prepared
to download and trust the packages themselves, from the same place.

portupgrade -PP manages somehow.  BTW, the OP may not realize that
the package system is a subset of the port system, rather than
an alternative.  Packages are generated using the port 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: Tandberg RDX QuikStor

2009-03-01 Thread Wojciech Puchar


for sure not.


Well, they say they resist a lot better to accidental falling; I never looked


you seriously underestimate normal cheap hard disks :)

of course they will fail when hit WHILE WORKING, but when turned off they 
can stand REALLY a lot.

___
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


Linux binary wants GLIBC_2.4, GLIBCXX_3.4.9

2009-03-01 Thread Edward Ruggeri
I am using FreeBSD 7.0 Stable.  I want to run the Linguistica project
Linux binary.  However, after loading the Linux kernel module, when I
try to run the binary the system replies:

./lxa-ubuntu-325: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not
found (required by ./lxa-ubuntu-325)
./lxa-ubuntu-325: /usr/lib/obsolete/linuxthreads/libc.so.6: version
`GLIBC_2.4' not found (required by ./lxa-ubuntu-325)

Besides asking the Linguistica developers whether they actually must
require such recent versions of the GNU C, C++ libraries, I tried to
install a more recent linux_base.  However, everything beyond
linux_base-fc4 does not support Linux kernel 2.4.2.

Is there a module for a newer version of the linux kernel that I can
build so as to install a newer linux_base?  Or is there a way to use
the same 2.4.2 module but use more recent GNU C libraries?  I am not
an expert in this area; is there something I haven't thought of?

Thanks!

Sincerely,

-- E Ruggeri
___
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


RAID Gone Wild - One Array Split Into Two

2009-03-01 Thread Alex Kirk
First off, I realize that this may be more of a lower-level hardware  
question than is appropriate to ask here, but I'm at a real loss, and  
have no idea who else to ask...so I apologize in advance if I'm being  
a pest.


That said: I've got a FreeBSD 7.0/stable box that is used as the  
development server for a live system I administer. It recently crapped  
out on me (the dev box), and I realized that its power supply had  
kicked the bucket. After going out and replacing the power supply, it  
booted right back up, I ssh'd in, and when I ran my first userland  
command - w, FWIW - it froze up solid. I got one more SSH session in  
attempting to figure out WTF was going on before it wouldn't even log  
me in any more.


After a couple of hard reboots, I decided to attach a monitor to it to  
see what was going on. It turns out that the RAID5 array on the system  
had really lost its mind - all four devices that were part of the  
array were listed as being offline, which of course meant that the  
system could no longer boot (as it was booting off of the RAID). The  
controller is an integrated Intel Matrix DHC7R, built onto the  
motherboard.


I looked around the web a bit to try to figure out how to fix this,  
and ran across a couple of forum posts (which I can unfortunately no  
longer seem to find) suggesting that this particular controller was  
prone to an issue where hard power-downs would sometimes make the  
drives go offline, and that I needed to boot from CD to re-initialize  
them into their previous state. I tried first with an Ubuntu Linux CD  
I had handy - which promptly freaked out and dropped me into an  
emergency shell - and then the FreeBSD 7.0 boot-only disc. The latter  
was a bit more helpful, because I got this diagnostic:


ar0: WARNING - parity protection lost, RAID5 array in DEGRADED mode
ar0: 715418MB Intel MatrixRAID RAID5 (stripe 64KB) status: DEGRADED
ar0: disk0 READY using ad4 at ata2-master
ar0: disk1 READY using ad8 at ata4-master
ar0: disk2 READY using ad6 at ata3-master
ar0: disk3 DOWN no device found for this subdisk
ar1: 715418MB Intel MatrixRAID RAID5 (stripe 64KB) status: BROKEN
ar1: disk0 DOWN no device found for this subdisk
ar1: disk1 DOWN no device found for this subdisk
ar1: disk2 DOWN no device found for this subdisk
ar1: disk3 READY using ad10 at ata5-master

Now I can see that my problem is that I've somehow got *two* RAID  
devices, both improperly configured, whereas I'd only had one before.


Does anyone have a clue how I can fix this, preferably while retaining  
my data? I could wipe the box if necessary, but I'd really prefer not  
to, as that would be a huge pain in the butt.


Thanks,
Alex Kirk



This message was sent using IMP, the Internet Messaging Program.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ClamAV execusion died without error messages

2009-03-01 Thread Bill Moran
Ming Tang mtan...@comcast.net wrote:

 Bill,
 
 Thank you for the response.
 
 I tried and did not figure out where is the problem. I am attaching the
 command line prompts and clamd.log and freshclam.log content here.
 
 ns1#
 ns1# ./clamav-clamd.sh status
 clamav_clamd is not running.
 ns1# ./clamav-clamd.sh start
 Starting clamav_clamd.
 LibClamAV Warning: **
 LibClamAV Warning: ***  The virus database is older than 7 days!  ***
 LibClamAV Warning: ***   Please update it as soon as possible.***
 LibClamAV Warning: **
 ns1# ./clamav-clamd.sh status
 clamav_clamd is not running.
 ns1#
 
 ns1# cat clamd.log
 +++ Started at Sat Feb 28 10:43:36 2009
 clamd daemon 0.94.1 (OS: freebsd5.4, ARCH: i386, CPU: i386)
 Running as user clamav (UID 1#, GID 1#)
 Log file size limited to 1048576 bytes.
 Reading databases from /var/db/clamav
 Not loading PUA signatures.
 Loaded 455125 signatures.
 LOCAL: Removing stale socket file /var/run/clamav/clamd.sock
 LOCAL: Unix socket file /var/run/clamav/clamd.sock
 LOCAL: Setting connection queue length to 15
 Limits: Global size limit set to 104857600 bytes.
 Limits: File size limit set to 26214400 bytes.
 Limits: Recursion level limit set to 16.
 Limits: Files limit set to 1.
 Archive support enabled.
 Algorithmic detection enabled.
 Portable Executable support enabled.
 ELF support enabled.
 Mail files support enabled.
 OLE2 support enabled.
 PDF support enabled.
 HTML support enabled.
 Self checking every 1800 seconds.
 
 ..
 
 ns1#
 ns1# ./clamav-freshclam.sh status
 clamav_freshclam is not running.
 ns1# ./clamav-freshclam.sh start
 Starting clamav_freshclam.
 ns1# ./clamav-freshclam.sh status
 clamav_freshclam is not running.
 ns1#
 
 ns1# cat freshclam1.log
 --
 freshclam daemon 0.94.1 (OS: freebsd5.4, ARCH: i386, CPU: i386)

That's certainly strange.

Try starting the processes manually instead of using the rc scripts, and
see if they exit with an error of some sort.  Also, I seem to remember
having difficult with permissions under some circumstances, where the
processes couldn't write to directories they needed -- check that both
clamd and freshclam are running as the same user/group.  See if you're
getting core files anywhere (check /var/log/messages for coredump messages).
Audit your config files and make sure nothing is out of sorts.

Sorry I can't give you any more specific information, but I've not seen
the problem you're having.

-- 
Bill Moran
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: RAID Gone Wild - One Array Split Into Two

2009-03-01 Thread Jamie


Does anyone have a clue how I can fix this, preferably while retaining my 
data? I could wipe the box if necessary, but I'd

really prefer not to, as that would be a huge pain in the butt.



Thanks,
Alex Kirk





   I would begin by going into the raid BIOS at bootup to see what 
containers are now configured. If everything is hosed up in there the OS 
isn't going to be able to fix anything.



  - Jamie
___
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: Xorg mouse and massive error log messages problems

2009-03-01 Thread matt donovan
Xorg 7.4 has some major problems on FreeBSD my Xorg shows my cards bios
screen when booting but yeah you need dbus and hal running unless you add
the option that is in /usr/ports/UPDATING to your ServerLayout
___
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: RAID Gone Wild - One Array Split Into Two

2009-03-01 Thread Alex Kirk
Does anyone have a clue how I can fix this, preferably while  
retaining my data? I could wipe the box if necessary, but I'd

really prefer not to, as that would be a huge pain in the butt.



Thanks,
Alex Kirk





   I would begin by going into the raid BIOS at bootup to see what  
containers are now configured. If everything is hosed up in there  
the OS isn't going to be able to fix anything.



  - Jamie



Sorry, should have already gone over this.

The RAID BIOS is terrible - my options are Create Array, Delete  
Array, Reset Disk States, and Exit. It shows only the one array,  
but all four disks show as Offline Member in red there. I'm just  
concerned that if I reset the array or delete it, the state table (or  
whatever other magic is involved in making RAID work) will get hosed  
up and the data will be unrecoverable.


Alex



This message was sent using IMP, the Internet Messaging Program.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Linux binary wants GLIBC_2.4, GLIBCXX_3.4.9

2009-03-01 Thread Pieter de Goeje
On Monday 02 March 2009, Edward Ruggeri wrote:
 I am using FreeBSD 7.0 Stable.  I want to run the Linguistica project
 Linux binary.  However, after loading the Linux kernel module, when I
 try to run the binary the system replies:

 ./lxa-ubuntu-325: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not
 found (required by ./lxa-ubuntu-325)
 ./lxa-ubuntu-325: /usr/lib/obsolete/linuxthreads/libc.so.6: version
 `GLIBC_2.4' not found (required by ./lxa-ubuntu-325)

 Besides asking the Linguistica developers whether they actually must
 require such recent versions of the GNU C, C++ libraries, I tried to
 install a more recent linux_base.  However, everything beyond
 linux_base-fc4 does not support Linux kernel 2.4.2.

 Is there a module for a newer version of the linux kernel that I can
 build so as to install a newer linux_base?  Or is there a way to use
 the same 2.4.2 module but use more recent GNU C libraries?  I am not
 an expert in this area; is there something I haven't thought of?

You can upgrade the linux compatibility layer by setting the sysctl:

  compat.linux.osrelease=2.6.18

For example in /etc/sysctl.conf. Then you should be able to install a newer 
version of linux_base.

-- 
Pieter de Goeje
___
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: RAID Gone Wild - One Array Split Into Two

2009-03-01 Thread Alex Kirk
This is why I love open-source mailing lists - you never know what  
sort of awesome you'll find!


My question at this point, though, is how in the world I could  
actually apply this patch, seeing as how the system is in a  
non-bootable state. Is this something that's already been included in  
a development branch that I could go download? Or do I need to do  
something else?


Thanks,
Alex


Alex,

This is known problem with FreeBSD and ICH7..ICH8..ICH9 chipsets.  
There is a patch for it:


http://www.nabble.com/Vital-Patches-for-ataraid-with-Intel-Matrix-RAID-(ICH7)-td16179257.html

I though didn't test the patch, and funny thing, I posted  earlier  
today asking if anyone had tried out that patch.


Hope this helps, keep me posted if you're able to bring it online.

Thanks,

Tamouh


-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Alex Kirk
Sent: March 1, 2009 8:20 PM
To: Jamie
Cc: questi...@freebsd.org
Subject: Re: RAID Gone Wild - One Array Split Into Two

 Does anyone have a clue how I can fix this, preferably while
 retaining my data? I could wipe the box if necessary, but
I'd really
 prefer not to, as that would be a huge pain in the butt.

 Thanks,
 Alex Kirk




I would begin by going into the raid BIOS at bootup to see what
 containers are now configured. If everything is hosed up in
there the
 OS isn't going to be able to fix anything.


   - Jamie


Sorry, should have already gone over this.

The RAID BIOS is terrible - my options are Create Array, Delete
Array, Reset Disk States, and Exit. It shows only the
one array,
but all four disks show as Offline Member in red there. I'm just
concerned that if I reset the array or delete it, the state
table (or
whatever other magic is involved in making RAID work) will get hosed
up and the data will be unrecoverable.

Alex



This message was sent using IMP, the Internet Messaging Program.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org










This message was sent using IMP, the Internet Messaging Program.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: RAID Gone Wild - One Array Split Into Two

2009-03-01 Thread Tamouh Hakmi
Alex,

This is known problem with FreeBSD and ICH7..ICH8..ICH9 chipsets. There is a 
patch for it:

http://www.nabble.com/Vital-Patches-for-ataraid-with-Intel-Matrix-RAID-(ICH7)-td16179257.html

I though didn't test the patch, and funny thing, I posted  earlier today asking 
if anyone had tried out that patch.

Hope this helps, keep me posted if you're able to bring it online.

Thanks,

Tamouh 

 -Original Message-
 From: owner-freebsd-questi...@freebsd.org 
 [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Alex Kirk
 Sent: March 1, 2009 8:20 PM
 To: Jamie
 Cc: questi...@freebsd.org
 Subject: Re: RAID Gone Wild - One Array Split Into Two
 
  Does anyone have a clue how I can fix this, preferably while 
  retaining my data? I could wipe the box if necessary, but 
 I'd really 
  prefer not to, as that would be a huge pain in the butt.
 
  Thanks,
  Alex Kirk
 
 
 
 
 I would begin by going into the raid BIOS at bootup to see what 
  containers are now configured. If everything is hosed up in 
 there the 
  OS isn't going to be able to fix anything.
 
 
- Jamie
 
 
 Sorry, should have already gone over this.
 
 The RAID BIOS is terrible - my options are Create Array, Delete  
 Array, Reset Disk States, and Exit. It shows only the 
 one array,  
 but all four disks show as Offline Member in red there. I'm just  
 concerned that if I reset the array or delete it, the state 
 table (or  
 whatever other magic is involved in making RAID work) will get hosed  
 up and the data will be unrecoverable.
 
 Alex
 
 
 
 This message was sent using IMP, the Internet Messaging Program.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org
 


___
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: Root shell

2009-03-01 Thread Polytropon
On Sun, 1 Mar 2009 17:43:55 +0100, Daniel Lannstrom o...@trekdanne.se wrote:
 On Sun, Mar 01, 2009 at 11:11:56AM -0500, Glen Barber wrote:
  This explains one of the reasons not to change root's shell:
  
  http://www.freebsd.org/doc/en/books/faq/security.html#TOOR-ACCOUNT
 
 Yes that's exactly what I meant. Is there any other reason except for
 that? As I see it that problem can easily be solved by copying bash to
 the root file system. Also many systems today have the root and /usr 
 on the same file system. 

I wouldn't rely on the many systems today assumption.

As an addition, I'd like to mention that there are two root shells:
First is the system's standard scripting shell /bin/sh which is
usually invoked first when entering maintenance mode (single user
mode). As well as FreeBSD's standard dialog shell /bin/csh it resides
on the / partition.

Maybe it can be seen as an unwritten law, or at least as a kind
of well intended suggestion to use /bin/csh for root's dialog shell
as well as /bin/sh for scripting. It may be considered old fashion,
but it has served well to follow this suggestion over the years.

Just as a very individual example, I haven't found any need to
install BASH on any system I've done so far. But it's completely
okay to have BASH as a user's dialog shell when the system is up
and running well.

Furthermore, I don't think copying the bash* binary is sufficient
to have BASH in SUM in a problem situation (which is: / is mounted
ro, nothing else mounted). Reason:

% which bash | xargs ldd
/usr/local/bin/bash:
libncurses.so.7 = /lib/libncurses.so.7 (0x280ff000)
libintl.so.8 = /usr/local/lib/libintl.so.8 (0x2813d000)
libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28146000)
libc.so.7 = /lib/libc.so.7 (0x2823b000)

There are library dependencies on /usr partition.



-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Root shell

2009-03-01 Thread Polytropon
On Sun, 1 Mar 2009 11:21:54 -0800, prad p...@towardsfreedom.com wrote:
 besides, you don't really need to, do you?
 i just log in with su -m and get to use my own account's aliases etc,
 but as root.

Furthermore, since the introduction of the sudo command (which
is installabe by ports / package) prefixing commands with sudo
seems to be okay for most tasks.

And as you said, Prad, using FreeBSD's su command (su -m) will
usually do just fine.

Another wisdom about this topic: If you see that you're spending
so much time as 'root' that you feel you need to change the root
shell to BASH, you're obviously doing something wrong. :-)




-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Cron Not Sending Mail

2009-03-01 Thread Frank Shute
On Sun, Mar 01, 2009 at 02:24:47PM -0500, APseudoUtopia wrote:

 Cron is not sending output as emails. I noticed this when I stopped
 seeing the output of a backup script in my daily email. I thought
 there was a problem with the backup script - but no, it's cron not
 sending the emails.
 
 I had this problem before on 6.1, which I never found a solution to. I
 gave up on it, and eventually I upgraded to 7.1. After the upgrade,
 cron worked perfectly. However, I just noticed that it stopped working
 again. I have no idea what changed (It's a production server, I
 haven't been playing with config files).
 
 User www's mail is redirected to root, which is redirected to a @gmail
 account via /etc/aliases.
 This is on 7.1-RELEASE-p3 running a custom kernel.
 
 Any solution to this problem would be fantastic. I use the emails from
 cron on a daily basis, and it really messes me up to have it not
 working.
 
 #
 # User www's crontab
 # Note, I also tried removing the MAILTO to no avail
 #
 MAILTO=root
 # m h   dom mon dow cmd
 *   *   *   *   *   echo Hello
 
 
 
 # /var/log/cron
 
 Mar  1 19:22:00 youcant /usr/sbin/cron[22627]: (operator) CMD
 (/usr/libexec/save-entropy)
 Mar  1 19:22:00 youcant cron[22627]: NSSWITCH(nss_method_lookup): nis,
 group_compat, setgrent, not found
 Mar  1 19:22:00 youcant cron[22627]: NSSWITCH(nss_method_lookup): nis,
 group_compat, endgrent, not found
 Mar  1 19:22:00 youcant cron[22627]: NSSWITCH(nss_method_lookup): nis,
 passwd_compat, endpwent, not found
 Mar  1 19:22:00 youcant /usr/sbin/cron[22628]: (www) CMD (echo Hello)
 Mar  1 19:22:00 youcant cron[22628]: NSSWITCH(nss_method_lookup): nis,
 group_compat, setgrent, not found
 Mar  1 19:22:00 youcant cron[22628]: NSSWITCH(nss_method_lookup): nis,
 group_compat, endgrent, not found
 Mar  1 19:22:00 youcant cron[22628]: NSSWITCH(nss_method_lookup): nis,
 passwd_compat, endpwent, not found
 Mar  1 19:22:00 youcant cron[22630]: NSSWITCH(nss_method_lookup): nis,
 group_compat, setgrent, not found
 Mar  1 19:22:00 youcant cron[22630]: NSSWITCH(nss_method_lookup): nis,
 group_compat, endgrent, not found
 Mar  1 19:22:00 youcant cron[22630]: NSSWITCH(nss_method_lookup): nis,
 passwd_compat, endpwent, not found
 
 
 
 
 # /var/log/maillog
 
 Mar  1 19:22:00 youcant sendmail[22630]: n21JM0Gl022630: from=www,
 size=0, class=0, nrcpts=0,
 msgid=200903011922.n21jm0gl022...@youcant.tastetherainbow.ws,
 relay=...@localhost

It looks like you're using user: www for your crontab.

Unfortunately, from /etc/passwd:

www:*:80:80:World Wide Web Owner:/nonexistent:/usr/sbin/nologin

i.e user www can't do much without a shell.

Create a crontab as a user with a shell, MAILTO to your gmail account.

The user may want to be a member of a group with privileges. Or use
sudo.

Don't forget to add him to /var/cron/allow as per manpage for
crontab(1).

You could set SHELL in your crontab for www (might work) but I'd use a
different user who's a member of group operator maybe.

Hope that helps.

Regards,

-- 

 Frank 


 Contact info: http://www.shute.org.uk/misc/contact.html 

___
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


rc.conf and starting scripts

2009-03-01 Thread gahn

Hi all:

I have some starting scripts under some other directories other than /etc/rc.d. 
How could I utilize the rc.conf file to start them when the system boots up?

The default location for rc.conf is /etc/rc.d only and the knob 
local_startup=/usr/local/etc/rc.d doesn't seem to be working for me for some 
reasons




  
___
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


rc.conf and starting scripts

2009-03-01 Thread Robert Huff

gahn writes:

  The default location for rc.conf is /etc/rc.d only and the knob
  local_startup=/usr/local/etc/rc.d doesn't seem to be working
  for me for some reasons 

Your best bet is to figure out why the latter is true, and fix
it.


Robert Huff

___
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: rc.conf and starting scripts

2009-03-01 Thread Olivier Nicole
Hi,

 The default location for rc.conf is /etc/rc.d only and the knob
 local_startup=/usr/local/etc/rc.d doesn't seem to be working for
 me for some reasons

Syntax? on my machines it's:

local_startup=/usr/local/etc/rc.d

with quotes around the path, not around the full line.

Olivier
___
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: rc.conf and starting scripts

2009-03-01 Thread RW
On Sun, 1 Mar 2009 19:14:17 -0800 (PST)
gahn ipfr...@yahoo.com wrote:

 
 Hi all:
 
 I have some starting scripts under some other directories other
 than /etc/rc.d. How could I utilize the rc.conf file to start them
 when the system boots up?
 
 The default location for rc.conf is /etc/rc.d only and the knob
 local_startup=/usr/local/etc/rc.d doesn't seem to be working for me
 for some reasons

/usr/local/etc/rc.d is the default for local scripts, that's where
package put their scripts, but there are some rules.

- they should either be proper RCNG scripts or they should end in a .sh
  extension

- local RCNG scripts are ignored if they order themselves before the
  early-late divider.




___
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: rc.conf and starting scripts

2009-03-01 Thread Polytropon
Allow me an addition:

On Mon, 2 Mar 2009 03:53:24 +, RW rwmailli...@googlemail.com wrote:
 /usr/local/etc/rc.d is the default for local scripts, that's where
 package put their scripts, but there are some rules.
 
 - they should either be proper RCNG scripts or they should end in a .sh
   extension

I'm not sure if this is valid anymore, but I think it's also
neccessary that a *.sh script is chmod +x, or it won't be
executed at startup. These scripts are located in /usr/local/etc.

The rc-style scripts (foo { start | stop | restart | status })
are located in the rc.d/ subdirectory, just like in /etc. They
usually have a corresponging enable setting (foo_enable) in
/etc/rc.conf or /etc/rc.conf.local (see man rc.conf), as well
as means to set parameters (foo_flags or something specific).


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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


ACPI issue on my Toshiba laptop

2009-03-01 Thread Michael A. Alestock

Hi all,

As you're already aware, there've been known issues with ACPI running on
some laptops.  For instance, mine is a Toshiba Satellite A105-S2051. 
When I first installed FreeBSD v6.3 I would get the following error...

*** ACPI-0370:  Error - No installed handler for fixed event  ***


From here, I wouldn't be able to use my built-in LAN or Atheros 5212
wireless because of constant WATCHDOG: DEVICE TIMEOUT error messages. 
However, I later found out that by disabling the ACPI by placing two
lines in your /boot/device.hints or /boot/loader.conf files,

hint.apic.0.disabled=1
hint.acpi.0.disabled=1

you would be able to use both the wireless and LAN without the ACPI
running.  This has been the case for me for a while, and everything was
going great until lastnight

I went to go do my monthly source update.  While rebooting I couldn't
get back into FreeBSD.   I would get this dreadful message at the very
beginning of the scrolling boot up messages

ioapic0:  Assuming intbase of 0
*panic: Bogus interrupt flags*

From here I only had two options, either shut down or reboot, but would
get the same message no matter what.
  
In other words, FreeBSD won't let me fully boot up unless I have ACPI
enabled or select the boottime option to run with it enabled.  Booting
up would let me back into FreeBSD, but then I'd start getting the awful,
Watchdog:  Device Timeout messages, and my LAN and wireless
connections would be useless.

I'm assuming there was something added in the source update that altered
the ACPI again??

Does anyone know how to get around this??  It's driving me nuts! 
FreeBSD is basically useless if I can't use any Internet connection.  :(

Thank You in advance

-Frustrated FreeBSD user.







  
___
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: RAID Gone Wild - One Array Split Into Two

2009-03-01 Thread Dimitar Vasilev
2009/3/2 Alex Kirk a...@schnarff.com:
 This is why I love open-source mailing lists - you never know what sort of
 awesome you'll find!

 My question at this point, though, is how in the world I could actually
 apply this patch, seeing as how the system is in a non-bootable state. Is
 this something that's already been included in a development branch that I
 could go download? Or do I need to do something else?

What I'd do is: make a distribution  with the patch included in the
source tree on another machine with your current KERNCONF, etc if you
have backups of them.
Then try reinstalling the machine and if backups are on your side all
should be OK.
I don't follow -current and -hackers much to advise if it has been
fixed upstream. If you have another machine where you can check-out
current tree and see if patch has
been merged there - good.
Regards,
Dimitar
___
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


SpamAssassin/Perl eating enormous amounts of memory?

2009-03-01 Thread Andrew Moran

Hey guys,

After having lots of problems with memory and 7.1/ZFS, I first  
switched everything to 64-bit (amd64), and then I had a new problem,  
so I eventually gave up and switched back to UFS (saying on amd64  
distro/ports), but I'm still having memory issues.


My current one is that SpamAssassin seems to be periodically  eating  
up all my memory, causing the server to slow to a crawl until the  
kernel kills the process and then I have enormous amounts of free  
memory.  Rinse, repeat.   I thought maybe it had something to do with  
the fact that I was using multithreaded perl (which I wasn't before I  
jumped into 7.1/ZFS), but rebuilding perl (and all its' dependencies)  
without threads didn't help.


I have 8GB of physical memory and 16GB of swap memory.   Here is a  
line from top showing perl taking 21 gigs of memory:


 6035  0  1  760 21190M   791M pfault 0   1:20  4.69%  
perl5.8.9


The error messages I get when this is happening look like:

swap_pager_getswapspace(16): failed
swap_pager_getswapspace(16): failed
swap_pager_getswapspace(16): failed
swap_pager_getswapspace(16): failed
pid 6035 (perl5.8.9), uid 1030, was killed: out of swap space


Obviously I have a memory leak somewhere, but I can't tell where.   I  
upgraded to the latest port (synced and compiled today). I spent  
the day doing the portupgrade -f R r p5-Mail-SpamAssassin to make  
sure everything was rebuilt.  But alas, the problem persists.


Has anyone heard of this?   Or any pointers on what I can do to figure  
out what is causing it?


Your advice is much appreciated.

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


Bridging-(How to test and verify that bridging is enabled)

2009-03-01 Thread Faizan ul haq Muhammad

Hi, 

I am not sure but as per some internet guide, I have configured the bridge on 
Freebsd(7) Machine with two LAN cards on it

 

I have compiled my KERNEL with (device if_bridge) 

 

and then added code to rc.conf

 
cloned_interfaces=bridge0
ifconfig_bridge0=addm sk0 addm sk1 up
ifconfig_sk0=up
ifconfig_sk1=up  I connected two linux PCs with these two interfaces (sk0 and 
sk1) and tried to ping between them but didnt get any success.configuration 
seems to be ok, but still no traffice is being passed. Can any one give any 
sugestion ?  Regards!

 

 

_
Windows Live™: Life without walls.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_032009___
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