Abit KN9 + FreeBSD 6.2-RELEASE

2007-04-03 Thread Glenn Sieb

Hey everyone..

I bought an Abit KN9, with a 200MB Maxtor IDE drive on the main IDE0 
channel. I also have RAID set up on the SATA devices.


I'm trying to install 6.2-RELEASE on the system, and it installs, I 
created the partitions and sliced them appropriately (/, swap, /tmp, 
/var, /usr). If I go into the EHS, I see /boot/kernel/kernel exists. 
When I reboot after the install, I get an error saying 
0:ad(0,a)/boot/kernel/kernel does not exist.


The system sees the drive as ad0, the slice as ad0s1.

I've installed this with the boot manager on ad0, as well as no boot 
manager. Same results.


What on Earth am I doing wrong here? :-/

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


google earth crashes

2007-04-03 Thread Michael Pope
I'm trying to run google-earth-4.0.2414 on my FreeBSD6.2 machine and it 
keeps getting the following error:


What is going wrong here?
Is there a port i'm missing or something?

Google Earth has caught signal 11.

Stacktrace from glibc:
 ./googleearth-bin(__gxx_personality_v0+0x1b8) [0x804b154]
 ./googleearth-bin [0x804b53b]
 /lib/obsolete/linuxthreads/libpthread.so.0 [0x29ecf706]
 [0xbfbfffbf]
 ./libqt-mt.so.3(_ZN7QWidget6createEmbb+0x40a) [0x28e38bfa]
 ./librender.so(_ZN12RenderWidget4initEv+0x1de) [0x29cd2fda]
 ./librender.so(_ZN12RenderWidgetC1EP7QWidgetPKcj+0x109) [0x29cd33a9]
 ./librender.so(_ZN5earth6render12RenderWindow12createWidgetEv+0x3c) 
[0x29cbf7f2]
 
./libgoogleearth.so(_ZN5earth6client12ModuleWidget9showEventEP10QShowEvent+0x51) 
[0x288bf7e7]

 ./libqt-mt.so.3(_ZN7QWidget5eventEP6QEvent+0x277) [0x28f1d1f7]
 
./libqt-mt.so.3(_ZN12QApplication14internalNotifyEP7QObjectP6QEvent+0xa1) 
[0x28e72691]
 ./libqt-mt.so.3(_ZN12QApplication6notifyEP7QObjectP6QEvent+0xc9) 
[0x28e73179]

 ./libqt-mt.so.3(_ZN7QWidget4showEv+0x266) [0x28f1c156]
 ./libqt-mt.so.3(_ZN7QWidget12showChildrenEb+0x11b) [0x28f1beab]
 ./libqt-mt.so.3(_ZN7QWidget4showEv+0x207) [0x28f1c0f7]
 ./libqt-mt.so.3(_ZN7QWidget12showChildrenEb+0x11b) [0x28f1beab]
 ./libqt-mt.so.3(_ZN7QWidget4showEv+0x207) [0x28f1c0f7]
 ./libqt-mt.so.3(_ZN11QMainWindow4showEv+0x93) [0x28ff0223]
 ./libqt-mt.so.3(_ZN7QWidget10showNormalEv+0x33) [0x28f157c3]
 ./libgoogleearth.so(_ZN10MainWindow18readScreensizeInfoEv+0x550) 
[0x28894d40]
 ./libgoogleearth.so(_ZN5earth6client11Application3runEiPPc+0xcb2) 
[0x288ad992]
 ./libgoogleearth.so(_ZN5earth6client11ApplicationC1EiPPcb+0xc75) 
[0x288aeafd]

 ./googleearth-bin(main+0x123) [0x804b70b]
 /lib/obsolete/linuxthreads/libc.so.6(__libc_start_main+0x8f) [0x29db82e7]
 ./googleearth-bin(__gxx_personality_v0+0x45) [0x804afe1]




We apologize for the inconvenience, but Google Earth has crashed.
This is a bug in the program, and should never happen under normal
circumstances. A bug report and debugging data are now being written
to this text file:

   /usr/home/ws10/.googleearth/crashlogs/crashlog-3B28D38F.txt

This bug report will be sent to Google automatically next time you run
Google Earth. Its data, which contains no personal information, will help
us correct problems without bothering you further. If you would rather
this info not be transmitted, please delete the above file before running
the program again. If you want bug reports to NEVER be sent, remove the
above 'crashlogs' directory's read/write permissions.




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


openoffice 2.1.0 on FreeBSD6.2 fails to install

2007-04-03 Thread Michael Pope

Everytime I go to install openoffice.org-2 from ports I get this error:

/usr/ports/editors/openoffice.org-2/work/OOE680_m6/odk/pack/gendocu
dmake: Executing shell macro: $(FIND) $(INCLUDETOPDIRLIST) -type d -print
dmake: Executing shell macro: $(FIND) $(INCLUDETOPDIRLIST) -type f ! 
$(QOB) -name *~ -o -name *build.lst -o -name *deliver.log $(QCB) 
-print

rm -rf ../../unxfbsdi.pro/bin/odkcommon/docs/cpp/ref  /dev/null
touch ../../unxfbsdi.pro/misc/cpp_docu_cleanup.flag
mkdir -p ../../unxfbsdi.pro/bin/odkcommon/docs/cpp/ref/
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solver/680/unxfbsdi.pro/bin/autodoc 
-html ../../unxfbsdi.pro/bin/odkcommon/docs/cpp/ref -name UDK 3.2.0 
C/C++ API Reference -lg c++ -p sal 
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solver/680/unxfbsdi.pro/inc 
-t sal -t osl -t rtl -p store 
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solver/680/unxfbsdi.pro/inc 
-t store -p registry 
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solver/680/unxfbsdi.pro/inc 
-t registry -p cppu 
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solver/680/unxfbsdi.pro/inc 
-t cppu -t com -t typelib -t uno -p cppuhelper 
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solver/680/unxfbsdi.pro/inc 
-t cppuhelper -p salhelper 
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solver/680/unxfbsdi.pro/inc 
-t salhelper -p bridges 
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/solver/680/unxfbsdi.pro/inc 
-t bridges


Autodoc version 2.2.5
-

Parsing the repository UDK 3.2.0 C/C++ API Reference ...
..80 files found to parse in project sal.
assertion failed: i  0 ? i_pTokTypeArray[i]  i_pTokTypeArray[i-1] : 
true in file: ../inc/semantic/callf.hxx at line: 186
dmake:  Error code 3, while making 
'../../unxfbsdi.pro/bin/odkcommon/docs/cpp/ref/index.html'

'---* RULES.MK *---'

ERROR: Error 65280 occurred while making 
/usr/ports/editors/openoffice.org-2/work/OOE680_m6/odk/pack/gendocu

dmake:  Error code 1, while making 'build_instsetoo_native'
'---*  *---'
*** Error code 255

Why would I be getting these assertion errors?

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


Re: Cannot pkg_add linux-flashplugin7

2007-04-03 Thread Andriy Babiy
On March 31, 2007, [EMAIL PROTECTED] wrote:
 I have tried to a couple of times to install a Micromedia-alike flash
 plugin for FreeBSD but failed.  So far I have successfully installed the
 linux-pluginwrapper as a requirement at
 /usr/ports/www/linuxpluginwrapper. So I tried
 /usr/ports/www/linux-flashplugin7 and issued the command pkg-add -r
 linux-flashplugin7. The system attempted to download the file from ftp
 site but came back saying the file linux-flashplugin7 did not exist.
  Any idea what I may be doing wrong?

Hi. I think it would be correct to install it using the port. Sometimes the 
system cannot download the file; namely I had the same problem with this 
port. You can download the file manually, and then replace the temporary 
file created in /usr/ports/distfiles/flashplugin7xxx/... with the correct 
one. Then go to /usr/ports/www/linux-flashplugin7 and issue make install 
clean again. The system checks first whether the file is in the distfiles; 
if it is not the case, it will fetch it.

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


Hardware Raid on Intel DG965OT Motherboard

2007-04-03 Thread Ivan Carey
Is there hardware support for this Motherboard Intel DG965OT Motherboard 
in FreeBSD 6.2 I have read the Hardware notes but am unable to determine 
if FreeBSD 6.2 is compatible with Intel DG965OT Motherboard and the on 
board Martix Storage Technology

I would like to setup a Raid 1

http://www.intel.com/products/motherboard/DG965OT/index.htm 
http://www.intel.com/products/motherboard/DG965OT/index.htm


Also are the any concise instruction on how to setup hardware raid 1? I 
have searched the net


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


Re: skype replacement

2007-04-03 Thread Andriy Babiy
On March 31, 2007, you wrote:
 On Fri, 30 Mar 2007 23:12:59 -0700 Andriy Babiy wrote:
  Since skype requires some i386 binary, it doesn't build on
  amd64.

 Where did you manage to get the sources?
 Why didn't you give a try to use the port
 (/usr/ports/net/skype)? It works just fine at amd64 (COMPAT_IA32
 and COMPAT_LINUX32 should be used for kernel configuration).
   
Thank you. I didn't know about those parameters. I'll give it a
try.
  
   Well, there are the defaults and are presented at the GENERIC
   kernel. To answer your question. The default (GENERIC) kernel should
   use i386 binaries, can't say about kernel modules though.
 
  It should work, but it didn't. As I didn't touch those parameters,
  they were present in my kernel configuration. Is there anything else I
  should set or configure? Just in case, if someone can have a look at
  my kernel config and advise me, please find it attached.
  Thank you.

 Well, so far so good. You didn't show any error messages and any
 diagnostics. I even can't understand your it doesn't build on
 amd64. Did you give it a try (to install from the port)? Have you got
 any error messages? Does your sound card work with FreeBSD
 applications? Which version of FreeBSD do you run?

Error message:
===  linux_dri-6.5 is only for i386, and you are running amd64..
*** Error code 1

Stop in /usr/ports/graphics/linux_dri.

Both skype and linux-flashplugin depend on the linux_dri port.

$ uname -a
FreeBSD S01060014bf5ee711 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Thu Feb 22 
00:43:46 PST 2007 root@:/usr/obj/usr/src/sys/MYKERNEL  amd64

Intel EM64T.
Yes, the sound card works perfect.

By the way, the same error message comes up when I try to install 
win32-codecs:
===  win32-codecs-3.1.0.r1,1 is only for i386, and you are running amd64..
*** Error code 1

Stop in /usr/ports/multimedia/win32-codecs.

Please find me kernel config attached.
I have linux_enable=YES in /etc/rc.conf

Thank you for your attention.

Andriy
# GENERIC -- Generic kernel configuration file for FreeBSD/amd64
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/amd64/conf/GENERIC,v 1.439.2.14 2006/10/09 18:41:36 simon 
Exp $

machine amd64
cpu HAMMER
ident   MYKERNEL

# To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints # Default places to look for devices.

#makeoptionsDEBUG=-g# Build kernel with gdb(1) debug symbols

options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
#optionsINET6   # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
#optionsNFSCLIENT   # Network Filesystem Client
#optionsNFSSERVER   # Network Filesystem Server
#optionsNFS_ROOT# NFS usable as /, requires NFSCLIENT
options NTFS# NT File System
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_GPT# GUID Partition Tables.
options COMPAT_43   # Needed by COMPAT_LINUX32
options COMPAT_IA32 # Compatible with i386 binaries
#optionsCOMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options COMPAT_LINUX32  # Compatible with i386 linux binaries 
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
#optionsKTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options  

text link advertising

2007-04-03 Thread ajay kumar

Hi

This is ajay. I saw your site while searching in google.
I am very much impressed with your site. (www.freebsd.org )

I want to place a banner ad or a text link on your home page.

Kindly mail me how much it cost for one year.


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


Re: xorg resolution on new laptop

2007-04-03 Thread Vince
I have this working, however i cant remember my method for working it out.

I use
/usr/local/bin/915resolution 4d 1440 900 16
(in an rc script /usr/local/etc/rc.d/915res )


my xorg.conf  (relevant bits)
Section Device

Identifier  Card0
Driver  i810
VendorName  Intel Corporation
BoardName   Mobile Integrated Graphics Controller
BusID   PCI:0:2:0
Option  DRI true
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth 24
Subsection Display
 Depth   24
 Modes   1440x900 1024x768 800x600
 ViewPort0 0
EndSubsection
EndSection



I'm not certain why this works since I'm setting the mode to  1440x900
in 16bits but it does.
(from xdpyinfo)
screen #0:
  print screen:no
  dimensions:1440x900 pixels (302x191 millimeters)
  resolution:121x120 dots per inch
  depths (7):24, 1, 4, 8, 15, 16, 32
  root window id:0x5d
  depth of root window:24 planes
  number of colormaps:minimum 1, maximum 1


Vince


Michael W. Lucas wrote:
 Hi folks,
 
 I've scoured Google seeking wisdom, and found nothing except hordes of
 Linux users whining about this same problem.  FreeBSD users don't seem
 to have this issue, except for me.  Finally I have no choice but to
 throw myself on your tender mercies.
 
 I've been going nuts trying to get 1440x900 resolution on my new
 Toshiba P105.  Any help anyone could offer would be greatly
 appreciated.  Xorg assures me that the 945GM video card is supported
 by the i810 driver, provided I use the 915resolution program to set
 the resolution before starting X.  I run:
 
 /usr/local/bin/915resolution 3c 1440 900
 
 to add the resolution 1440x900 to the video BIOS.  915resolution -l
 now shows me:
 
 ...
 Mode 3c : 1440x900, 8 bits/pixel
 ...
 Mode 4d : 1440x900, 16 bits/pixel
 ...
 Mode 5c : 1440x900, 32 bits/pixel
 ..
 
 So, in theory 1440x900 should be available to the card.
 
 startx fails without a config file, so I let it create one and tweaked
 in based on gossip, rumour, and innuendo I've uncovered in three days
 of Web searching.  I get something that looks *about* like 1200x768,
 but it's a far cry from 1440x900.
 
 pciconf -lv tells me:
 
 ...
 [EMAIL PROTECTED]:2:0:   class=0x03 card=0xff311179 chip=0x27a28086 
 rev=0x03 hdr=0x00
 vendor = 'Intel Corporation'
 device = 'Mobile Integrated Graphics Controller'
 class  = display
 subclass   = VGA
 [EMAIL PROTECTED]:2:1:   class=0x038000 card=0xff311179 chip=0x27a68086 
 rev=0x03 hdr=0x00
 vendor = 'Intel Corporation'
 device = 'Mobile Integrated Graphics Controller'
 class  = display
 ...
 
 Here's relevant stuff trimmed from my xorg.conf.
 
 --
 
 Section Module
   Load  extmod
   Load  glx
   Load  dri
   Load  dbe
   Load  record
   Load  xtrap
   Load  type1
   Load  freetype
   Load  i2c
   Load  bitmap
   Load  int10
 EndSection
 
 ...
 
 Section Monitor
   #DisplaySize  370   230 # mm
   Identifier   Monitor0
   VendorName   LPL
   ModelName0
 EndSection
 
 Section Device
 ### Available Driver options are:-
 ### Values: i: integer, f: float, bool: True/False,
 ### string: String, freq: f Hz/kHz/MHz
 ### [arg]: arg optional
 #Option NoAccel # [bool]
 #Option SWcursor# [bool]
 #Option ColorKey# i
 #Option CacheLines  # i
 #Option Dac6Bit # [bool]
 #Option DRI # [bool]
 #Option NoDDC   # [bool]
 #Option ShowCache   # [bool]
 #Option XvMCSurfaces# i
 #Option PageFlip# [bool]
   Identifier  Card0
   Driver  i810
   VendorName  Intel Corporation
   BoardName   Mobile Integrated Graphics Controller
   BusID   PCI:0:2:0
 EndSection
 
 Section Screen
   Identifier Screen0
   Device Card0
   MonitorMonitor0
   DefaultDepth 24
   SubSection Display
   Viewport   0 0
   Depth 1
   Modes   1440x900
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 4
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 8
   Modes   1440x900
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 15
   Modes   1440x900
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 16
   Modes   1440x900
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 24

Re: Rebuilding World Failed

2007-04-03 Thread Dominique Goncalves

Hi,

On 4/3/07, Schiz0 [EMAIL PROTECTED] wrote:

Hello,

I'm running FreeBSD 6.2-Stable. I'm getting errors when I try to rebuild
world. I have followed the steps in the handbook at:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

I used csup to get the latest updates of both ports-all tag=. and src-all
tag=RELENG_6

What I did:
-updated via csup
-droped to single user mode
-cleared out /usr/obj
-make -j4 buildworld
-make buildkernel KERNCONF=my kern config
-make installkernel KERNCONF=my kern config
-rebooted into the new kernel; everything worked fine
-dropped to single user mode
-make installworld

During the installworld process I got the following output (Caught with
script installworld.out):


Script started on Mon Apr  2 23:42:05 2007
# pwd
/usr/src
# make installworld
mkdir -p /tmp/install.hC53vnAg
for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find
grep install-info  ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl
test true uname wc zic; do  cp `which $prog` /tmp/install.hC53vnAg;  done
cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386
CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin
GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font
GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.hC53vnAg
/usr/obj/usr/src/make.i386/make -f Makefile.inc1 reinstall
awk: Permission denied
/usr/src/Makefile.inc1, line 101: warning: awk
'/^#define[[:space:]]*__FreeBSD_version/ { print $3 }'
/usr/include/osreldate.h returned non-zero status
echo:Permission denied
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
# exit

Script done on Mon Apr  2 23:42:14 2007




Do you have your root partitions (/, /usr ...) in r/w mode ?
There is a paragraph in the handbook
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#MAKEWORLD-SINGLEUSER

Hope this helps.
___

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



Regards.

--
There's this old saying: Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mplayer default(xv) video output error?

2007-04-03 Thread lveax

hi

i got a problem when i using mplayer to play a video

it output

VO: [xv] 560x304 = 560x304 Planar YV12
X11 error: BadAccess (attempt to access private resource denied)

if i specify -vo x11 it will be normal,but the -vo x11 driver can
play the video in fullscreen size...= =

i don't remember what effected this(after upgrade some ports?)but the
other things are normal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


WWW as File and Directory Owner rather than User

2007-04-03 Thread Gregory Houston

Hi.

My site is hosted on a friend's freeBSD server. I do not have root access. I
do however have full access to MySQL. I am the only one on the server that
uses it. I access MySQL via phpMyAdmin.

Over the last several months I have installed several PHP/MySQL applications
and had no problems.

A couple days ago however I went to install dotProject to try it out, and it
wanted to create its database itself. It didn't want to just populate the
database, but actually create it. To allow it to do this via my username I
had to give myself global privileges. I gave myself all the global
privileges including Grant.

DotProject successfully installed itself. I tried it out, didn't find it to
suit my purposes and then tried to delete it, but found that it had created
files owned by WWW rather than owned by me. Obviously I couldn't directly
delete those files, and had to do so with a PHP script.

My first question is did I somehow give WWW the ability create files and
directories. I have since taken away my global privileges, but when I
installed another app, it also created files and directories with WWW as the
owner.

Should WWW be able to be the owner? If not, how do I take its privileges
away? Root is listed as a user in MySQL, as well as myself, but WWW is not.

Now I am afraid to create any new WordPress entries because I don't know if
all my apps are going to start creating files with WWW as the owner rather
than me.

Thanks in advance for any clarification or help on this. I am rather new
with this sort of thing.

Warm regards,

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


What irc server

2007-04-03 Thread Ghirai
Hello list,

I will need to set up an irc server on FreeBSD.

I was wondering what do you guys suggest?
  

-- 
Best regards,
Ghirai.

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


Re: What irc server

2007-04-03 Thread Abdullah Ibn Hamad Al-Marri

On 4/3/07, Ghirai [EMAIL PROTECTED] wrote:

Hello list,

I will need to set up an irc server on FreeBSD.

I was wondering what do you guys suggest?


--
Best regards,
Ghirai.


I'm using bahamut ircd server, and it works like a charm on FreeBSD.
--
Regards,

-Abdullah Ibn Hamad Al-Marri
Arab Portal
http://www.WeArab.Net/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What irc server

2007-04-03 Thread Gabor Kovesdan

Ghirai schrieb:

Hello list,

I will need to set up an irc server on FreeBSD.

I was wondering what do you guys suggest?

  


Personally, I'd suggest UnrealIRCd (irc/unreal). It is an advanced ircd 
with lots of interesting features and is secure, reliable and 
well-maintained. I've been using it for a long time.


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


Re: What irc server

2007-04-03 Thread Eric Crist

On Apr 3, 2007, at 4:41 AM, Ghirai wrote:


Hello list,

I will need to set up an irc server on FreeBSD.

I was wondering what do you guys suggest?


I recommend UnrealIRCD - it's a great, full-featured ircd.
-
Eric F Crist
Secure Computing Networks


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


Re: WWW as File and Directory Owner rather than User

2007-04-03 Thread Eric Crist

On Apr 3, 2007, at 4:01 AM, Gregory Houston wrote:
Should WWW be able to be the owner? If not, how do I take its  
privileges
away? Root is listed as a user in MySQL, as well as myself, but WWW  
is not.


Now I am afraid to create any new WordPress entries because I don't  
know if
all my apps are going to start creating files with WWW as the owner  
rather

than me.



Greg, the www user/group is fairly standard, as it's usually the  
unprivileged user that the web server software is run as.  The www  
user/group is on the FreeBSD system itself, not the MySQL instance.   
Any time a php script creates, edits, or removes a file, it's going  
to typically be done with the www user/group.


One solution would be to ask your friend to make you a member of the  
www group, which should allow you to modify/delete any files that the  
scripts create.  A better solution would be to setuid on the  
directory, and give www temporary write access when you need to  
perform an installation such that you just experienced.


HTH
-
Eric F Crist
Secure Computing Networks


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


Parallel/Serial Port Adapter Configuration HOWTO

2007-04-03 Thread Stephen Villanueva
Anybody...please help me configure a Parallel/Serial Port Adapter.
   
  A specific line in /var/run/dmesg.boot
   
pci0: simple comms at device 9.0 (no driver attached)
   
  Output of # pciconf -l -v
   
[EMAIL PROTECTED]:9:0: class=0x078000 card=0x00121000 chip=0x98359710 
rev=0x01 hdr=0x00
vendor ='MosChip Semiconductors (Was: Netmos Technology)'
device ='Nm9835 Parallel/Serial Port Adapter'
class  =simple comms
   
  Output of # pciconf -a pci0:9:0
   
pciconf: ioctl(PCIOCATTACHED): Inappropriate ioctl for device

 
-
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What irc server

2007-04-03 Thread Ghirai

After quickly reading the docs/etc,
i decided to go with UnrealIRCD.

Thanks for the info everyone.

-- 
Best regards,
Ghirai.

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


Re: advice on anti-spam tools

2007-04-03 Thread Peter N. M. Hansteen
Angelin Lalev [EMAIL PROTECTED] writes:

 My e-mail server is running the latest spamassassin with all of the
 black= list enabled and etc. but I still receive over 20 spam
 messages a day (image spam mostly).

how about greylisting?  putting something like a greylisting pf/spamd
in front of your mail server kills an awful lot of spam.  keep
spamassassin in there by all means, but after you start greylisting
you most likely will see the load on the machine drop considerably.

it's fairly easy to implement too.

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
First, we kill all the spammers The Usenet Bard, Twice-forwarded tales
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xorg resolution on new laptop

2007-04-03 Thread Michael W. Lucas
On Tue, Apr 03, 2007 at 09:29:12AM +0100, Vince wrote:
 I have this working, however i cant remember my method for working it out.

Thanks for the answer, but this doesn't work for me.  Comments below.

 I use
 /usr/local/bin/915resolution 4d 1440 900 16
 (in an rc script /usr/local/etc/rc.d/915res )

You just overwrote a different mode than I did, no biggie.  I copied
yours.

 my xorg.conf  (relevant bits)
 Section Device
 
 Identifier  Card0
 Driver  i810
 VendorName  Intel Corporation
 BoardName   Mobile Integrated Graphics Controller
 BusID   PCI:0:2:0
 Option  DRI true

Interesting point:  I copied this entry, and Xorg.0.log shows that DRI should 
be enabled:

(II) I810(0): [DRI] installation complete
(II) I810(0): direct rendering: Enabled


glxinfo says I don't have DRI, however:

glxinfo 
name of display: :0.0
Unrecognized deviceID 27a2
display: :0  screen: 0
direct rendering: No


Still searching, but thanks for info.  At least I know it *can* work
on FreeBSD...

 EndSection
 
 Section Screen
 Identifier Screen0
 Device Card0
 MonitorMonitor0
 DefaultDepth 24
 Subsection Display
  Depth   24
  Modes   1440x900 1024x768 800x600
  ViewPort0 0
 EndSubsection
 EndSection
 
 
 
 I'm not certain why this works since I'm setting the mode to  1440x900
 in 16bits but it does.
 (from xdpyinfo)
 screen #0:
   print screen:no
   dimensions:1440x900 pixels (302x191 millimeters)
   resolution:121x120 dots per inch
   depths (7):24, 1, 4, 8, 15, 16, 32
   root window id:0x5d
   depth of root window:24 planes
   number of colormaps:minimum 1, maximum 1
 
 
 Vince
 
 
 Michael W. Lucas wrote:
  Hi folks,
  
  I've scoured Google seeking wisdom, and found nothing except hordes of
  Linux users whining about this same problem.  FreeBSD users don't seem
  to have this issue, except for me.  Finally I have no choice but to
  throw myself on your tender mercies.
  
  I've been going nuts trying to get 1440x900 resolution on my new
  Toshiba P105.  Any help anyone could offer would be greatly
  appreciated.  Xorg assures me that the 945GM video card is supported
  by the i810 driver, provided I use the 915resolution program to set
  the resolution before starting X.  I run:
  
  /usr/local/bin/915resolution 3c 1440 900
  
  to add the resolution 1440x900 to the video BIOS.  915resolution -l
  now shows me:
  
  ...
  Mode 3c : 1440x900, 8 bits/pixel
  ...
  Mode 4d : 1440x900, 16 bits/pixel
  ...
  Mode 5c : 1440x900, 32 bits/pixel
  ..
  
  So, in theory 1440x900 should be available to the card.
  
  startx fails without a config file, so I let it create one and tweaked
  in based on gossip, rumour, and innuendo I've uncovered in three days
  of Web searching.  I get something that looks *about* like 1200x768,
  but it's a far cry from 1440x900.
  
  pciconf -lv tells me:
  
  ...
  [EMAIL PROTECTED]:2:0:   class=0x03 card=0xff311179 chip=0x27a28086 
  rev=0x03 hdr=0x00
  vendor = 'Intel Corporation'
  device = 'Mobile Integrated Graphics Controller'
  class  = display
  subclass   = VGA
  [EMAIL PROTECTED]:2:1:   class=0x038000 card=0xff311179 chip=0x27a68086 
  rev=0x03 hdr=0x00
  vendor = 'Intel Corporation'
  device = 'Mobile Integrated Graphics Controller'
  class  = display
  ...
  
  Here's relevant stuff trimmed from my xorg.conf.
  
  --
  
  Section Module
  Load  extmod
  Load  glx
  Load  dri
  Load  dbe
  Load  record
  Load  xtrap
  Load  type1
  Load  freetype
  Load  i2c
  Load  bitmap
  Load  int10
  EndSection
  
  ...
  
  Section Monitor
  #DisplaySize  370   230 # mm
  Identifier   Monitor0
  VendorName   LPL
  ModelName0
  EndSection
  
  Section Device
  ### Available Driver options are:-
  ### Values: i: integer, f: float, bool: True/False,
  ### string: String, freq: f Hz/kHz/MHz
  ### [arg]: arg optional
  #Option NoAccel   # [bool]
  #Option SWcursor  # [bool]
  #Option ColorKey  # i
  #Option CacheLines# i
  #Option Dac6Bit   # [bool]
  #Option DRI   # [bool]
  #Option NoDDC # [bool]
  #Option ShowCache # [bool]
  #Option XvMCSurfaces  # i
  #Option PageFlip  # [bool]
  Identifier  Card0
  Driver  i810
  VendorName  Intel Corporation
  BoardName   Mobile Integrated Graphics Controller
  BusID   PCI:0:2:0
  EndSection
  
  Section Screen
  Identifier Screen0
  Device Card0
  MonitorMonitor0
  DefaultDepth 24
  SubSection Display
  Viewport  

FreeBSD 6.2 for ia64

2007-04-03 Thread [EMAIL PROTECTED]

Hello list members!

I have couple questions about setting up FreeBSD under Itanium.
First, what ISOs I'll be needed for setting up system. In the ia64
directory I see

6.2-RELEASE-ia64-livefs.iso

Do I need it?
I just want to set up system in minimal config, no X, ports, src and ecetra...

Next question is does anyone have experience in setting up FreeBSD
under NEC express5800/1320Xe?

Your help will be appreciate.

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


Help! Mail to 'localhost' not staying local

2007-04-03 Thread V.I.Victor
Somthing changed -- literally overnight!  Or perhaps, some old problem is just 
showing up.

All my log reports, et cetera are stuck in mqueue.

Example -- for years, the following line has been in root's crontab: (sorry if 
folded)

@reboot /bin/echo reboot |/usr/bin/mail -s start-up at `date` [EMAIL 
PROTECTED]


It has worked without any problems delivering an email indicating start-up time.


Now...  Well, here's some lines from the 'mqueue' file:

H??Received: from zebra.athome.net (localhost.athome.net [127.0.0.1])
by zebra.athome.net (8.13.3/8.13.3) with ESMTP id l33AFhEA000481
for [EMAIL PROTECTED]; Tue, 3 Apr 2007 06:15:44 -0400 (EDT)
(envelope-from [EMAIL PROTECTED])
H??Received: (from [EMAIL PROTECTED])
by zebra.athome.net (8.13.3/8.13.3/Submit) id l33AFhqS000433
for [EMAIL PROTECTED]; Tue, 3 Apr 2007 06:15:43 -0400 (EDT)
(envelope-from root)

It seems that my local network name of athome.net is being evaluated.

From 'whois athome.net' --

   Domain Name: ATHOME.NET
   Registrar: NETWORK SOLUTIONS, LLC.
   Whois Server: whois.networksolutions.com
   Referral URL: http://www.networksolutions.com
   Name Server: NS3.LAMEDELEGATION.NET
   Name Server: NS4.LAMEDELEGATION.NET
   Status: clientTransferProhibited
   Updated Date: 02-apr-2007
   Creation Date: 30-nov-1999
   Expiration Date: 30-nov-2015

It's been around since 1999, but was updated yesterday.


I'm assuming I did something wrong years back in my 'sendmail' setup.  At this 
point, I certainly don't remember the whys  hows of what I did!

Could someone *please* help?

Thanks! V



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


Re: Help! Mail to 'localhost' not staying local

2007-04-03 Thread Derek Ragona
Your domain is not set correctly, or you set it to athome.net.  Sendmail is 
just trying to deliver the email.  Normally you don't need the domain to 
send to root.  As long as you have root defined in /etc/mail/aliases you 
should be able to send to just root.


@reboot /bin/echo reboot |/usr/bin/mail -s start-up at `date` root

-Derek



At 08:34 AM 4/3/2007, V.I.Victor wrote:
Somthing changed -- literally overnight!  Or perhaps, some old problem is 
just showing up.


All my log reports, et cetera are stuck in mqueue.

Example -- for years, the following line has been in root's crontab: 
(sorry if folded)


@reboot /bin/echo reboot |/usr/bin/mail -s start-up at `date` 
[EMAIL PROTECTED]



It has worked without any problems delivering an email indicating start-up 
time.



Now...  Well, here's some lines from the 'mqueue' file:

H??Received: from zebra.athome.net (localhost.athome.net [127.0.0.1])
by zebra.athome.net (8.13.3/8.13.3) with ESMTP id l33AFhEA000481
for [EMAIL PROTECTED]; Tue, 3 Apr 2007 06:15:44 -0400 (EDT)
(envelope-from [EMAIL PROTECTED])
H??Received: (from [EMAIL PROTECTED])
by zebra.athome.net (8.13.3/8.13.3/Submit) id l33AFhqS000433
for [EMAIL PROTECTED]; Tue, 3 Apr 2007 06:15:43 -0400 (EDT)
(envelope-from root)

It seems that my local network name of athome.net is being evaluated.

From 'whois athome.net' --

   Domain Name: ATHOME.NET
   Registrar: NETWORK SOLUTIONS, LLC.
   Whois Server: whois.networksolutions.com
   Referral URL: http://www.networksolutions.com
   Name Server: NS3.LAMEDELEGATION.NET
   Name Server: NS4.LAMEDELEGATION.NET
   Status: clientTransferProhibited
   Updated Date: 02-apr-2007
   Creation Date: 30-nov-1999
   Expiration Date: 30-nov-2015

It's been around since 1999, but was updated yesterday.


I'm assuming I did something wrong years back in my 'sendmail' setup.  At 
this point, I certainly don't remember the whys  hows of what I did!


Could someone *please* help?

Thanks! V



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

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


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

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


Re: Help! Mail to 'localhost' not staying local

2007-04-03 Thread V.I.Victor
Your domain is not set correctly, or you set it to athome.net.  Sendmail is 
just trying to deliver the email.  Normally you don't need the domain to 
send to root.  As long as you have root defined in /etc/mail/aliases you 
should be able to send to just root.

@reboot /bin/echo reboot |/usr/bin/mail -s start-up at `date` root


Thanks for the quick answer.  

Unfortunately, sending to just root does exactly the same as [EMAIL 
PROTECTED]

I agree I proabably set something wrong *years* ago -- but it's only showing up 
today!!

I'm really unsure where to change what.


At 08:34 AM 4/3/2007, V.I.Victor wrote:
Somthing changed -- literally overnight!  Or perhaps, some old problem is 
just showing up.

All my log reports, et cetera are stuck in mqueue.

Example -- for years, the following line has been in root's crontab: 
(sorry if folded)

@reboot /bin/echo reboot |/usr/bin/mail -s start-up at `date` 
[EMAIL PROTECTED]


It has worked without any problems delivering an email indicating start-up 
time.


Now...  Well, here's some lines from the 'mqueue' file:

H??Received: from zebra.athome.net (localhost.athome.net [127.0.0.1])
 by zebra.athome.net (8.13.3/8.13.3) with ESMTP id l33AFhEA000481
 for [EMAIL PROTECTED]; Tue, 3 Apr 2007 06:15:44 -0400 (EDT)
 (envelope-from [EMAIL PROTECTED])
H??Received: (from [EMAIL PROTECTED])
 by zebra.athome.net (8.13.3/8.13.3/Submit) id l33AFhqS000433
 for [EMAIL PROTECTED]; Tue, 3 Apr 2007 06:15:43 -0400 (EDT)
 (envelope-from root)

It seems that my local network name of athome.net is being evaluated.

 From 'whois athome.net' --

Domain Name: ATHOME.NET
Registrar: NETWORK SOLUTIONS, LLC.
Whois Server: whois.networksolutions.com
Referral URL: http://www.networksolutions.com
Name Server: NS3.LAMEDELEGATION.NET
Name Server: NS4.LAMEDELEGATION.NET
Status: clientTransferProhibited
Updated Date: 02-apr-2007
Creation Date: 30-nov-1999
Expiration Date: 30-nov-2015

It's been around since 1999, but was updated yesterday.


I'm assuming I did something wrong years back in my 'sendmail' setup.  At 
this point, I certainly don't remember the whys  hows of what I did!

Could someone *please* help?

Thanks! V



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

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

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




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


Re: Help! Mail to 'localhost' not staying local

2007-04-03 Thread Derek Ragona
Check that localhost is defined in /etc/hosts and your name resolution is 
working in /etc/nsswitch.conf


-Derek


At 09:40 AM 4/3/2007, V.I.Victor wrote:

Your domain is not set correctly, or you set it to athome.net.  Sendmail is
just trying to deliver the email.  Normally you don't need the domain to
send to root.  As long as you have root defined in /etc/mail/aliases you
should be able to send to just root.

@reboot /bin/echo reboot |/usr/bin/mail -s start-up at `date` root


Thanks for the quick answer.

Unfortunately, sending to just root does exactly the same as 
[EMAIL PROTECTED]


I agree I proabably set something wrong *years* ago -- but it's only 
showing up today!!


I'm really unsure where to change what.


At 08:34 AM 4/3/2007, V.I.Victor wrote:
Somthing changed -- literally overnight!  Or perhaps, some old problem is
just showing up.

All my log reports, et cetera are stuck in mqueue.

Example -- for years, the following line has been in root's crontab:
(sorry if folded)

@reboot /bin/echo reboot |/usr/bin/mail -s start-up at `date`
[EMAIL PROTECTED]


It has worked without any problems delivering an email indicating start-up
time.


Now...  Well, here's some lines from the 'mqueue' file:

H??Received: from zebra.athome.net (localhost.athome.net [127.0.0.1])
 by zebra.athome.net (8.13.3/8.13.3) with ESMTP id l33AFhEA000481
 for [EMAIL PROTECTED]; Tue, 3 Apr 2007 06:15:44 -0400 (EDT)
 (envelope-from [EMAIL PROTECTED])
H??Received: (from [EMAIL PROTECTED])
 by zebra.athome.net (8.13.3/8.13.3/Submit) id l33AFhqS000433
 for [EMAIL PROTECTED]; Tue, 3 Apr 2007 06:15:43 -0400 (EDT)
 (envelope-from root)

It seems that my local network name of athome.net is being evaluated.

 From 'whois athome.net' --

Domain Name: ATHOME.NET
Registrar: NETWORK SOLUTIONS, LLC.
Whois Server: whois.networksolutions.com
Referral URL: http://www.networksolutions.com
Name Server: NS3.LAMEDELEGATION.NET
Name Server: NS4.LAMEDELEGATION.NET
Status: clientTransferProhibited
Updated Date: 02-apr-2007
Creation Date: 30-nov-1999
Expiration Date: 30-nov-2015

It's been around since 1999, but was updated yesterday.


I'm assuming I did something wrong years back in my 'sendmail' setup.  At
this point, I certainly don't remember the whys  hows of what I did!

Could someone *please* help?

Thanks! V



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


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

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





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


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

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


Re: xorg resolution on new laptop

2007-04-03 Thread Mark Moellering
Michael,

I am using a SGI-1600SW (1600 x 1024) and I have found that I must 
specify 
the HorizSync and VertRefresh values in the monitor setting of my xorg.conf  
to get it to work properly, even though all the docs say that it is supported 
using the GLINT R3 driver.  
Also, I am assuming you are using X 6.9  I have found a large number of 
problems when I tried using X 7.0 on Linux.

Mark

On Monday 02 April 2007 10:12 pm, Michael W. Lucas wrote:
 Hi folks,

 I've scoured Google seeking wisdom, and found nothing except hordes of
 Linux users whining about this same problem.  FreeBSD users don't seem
 to have this issue, except for me.  Finally I have no choice but to
 throw myself on your tender mercies.

 I've been going nuts trying to get 1440x900 resolution on my new
 Toshiba P105.  Any help anyone could offer would be greatly
 appreciated.  Xorg assures me that the 945GM video card is supported
 by the i810 driver, provided I use the 915resolution program to set
 the resolution before starting X.  I run:

 /usr/local/bin/915resolution 3c 1440 900

 to add the resolution 1440x900 to the video BIOS.  915resolution -l
 now shows me:

 ...
 Mode 3c : 1440x900, 8 bits/pixel
 ...
 Mode 4d : 1440x900, 16 bits/pixel
 ...
 Mode 5c : 1440x900, 32 bits/pixel
 ..

 So, in theory 1440x900 should be available to the card.

 startx fails without a config file, so I let it create one and tweaked
 in based on gossip, rumour, and innuendo I've uncovered in three days
 of Web searching.  I get something that looks *about* like 1200x768,
 but it's a far cry from 1440x900.

 pciconf -lv tells me:

 ...
 [EMAIL PROTECTED]:2:0:   class=0x03 card=0xff311179 chip=0x27a28086
 rev=0x03 hdr=0x00 vendor = 'Intel Corporation'
 device = 'Mobile Integrated Graphics Controller'
 class  = display
 subclass   = VGA
 [EMAIL PROTECTED]:2:1:   class=0x038000 card=0xff311179 chip=0x27a68086
 rev=0x03 hdr=0x00 vendor = 'Intel Corporation'
 device = 'Mobile Integrated Graphics Controller'
 class  = display
 ...

 Here's relevant stuff trimmed from my xorg.conf.

 --

 Section Module
   Load  extmod
   Load  glx
   Load  dri
   Load  dbe
   Load  record
   Load  xtrap
   Load  type1
   Load  freetype
   Load  i2c
   Load  bitmap
   Load  int10
 EndSection

 ...

 Section Monitor
   #DisplaySize  370   230 # mm
   Identifier   Monitor0
   VendorName   LPL
   ModelName0
 EndSection

 Section Device
 ### Available Driver options are:-
 ### Values: i: integer, f: float, bool: True/False,
 ### string: String, freq: f Hz/kHz/MHz
 ### [arg]: arg optional
 #Option NoAccel # [bool]
 #Option SWcursor# [bool]
 #Option ColorKey# i
 #Option CacheLines  # i
 #Option Dac6Bit # [bool]
 #Option DRI # [bool]
 #Option NoDDC   # [bool]
 #Option ShowCache   # [bool]
 #Option XvMCSurfaces# i
 #Option PageFlip# [bool]
   Identifier  Card0
   Driver  i810
   VendorName  Intel Corporation
   BoardName   Mobile Integrated Graphics Controller
   BusID   PCI:0:2:0
 EndSection

 Section Screen
   Identifier Screen0
   Device Card0
   MonitorMonitor0
   DefaultDepth 24
   SubSection Display
   Viewport   0 0
   Depth 1
   Modes   1440x900
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 4
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 8
   Modes   1440x900
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 15
   Modes   1440x900
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 16
   Modes   1440x900
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 24
   Modes   1440x900
   EndSubSection
 EndSection

 Any ideas, anyone?

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


Re: xorg resolution on new laptop

2007-04-03 Thread Michael W. Lucas
 I'm not certain why this works since I'm setting the mode to  1440x900
 in 16bits but it does.
 (from xdpyinfo)
 screen #0:
   print screen:no
   dimensions:1440x900 pixels (302x191 millimeters)
   resolution:121x120 dots per inch
   depths (7):24, 1, 4, 8, 15, 16, 32
   root window id:0x5d
   depth of root window:24 planes
   number of colormaps:minimum 1, maximum 1

I missed the bit about xdpyinfo, never seen that program before.  I have:

screen #0:
  print screen:no
  dimensions:1440x900 pixels (373x231 millimeters)
  resolution:98x99 dots per inch
  depths (7):24, 1, 4, 8, 15, 16, 32
  root window id:0x4c
  depth of root window:24 planes
  number of colormaps:minimum 1, maximum 1

The difference is in the resolution entry: Vince has 121x120, I have
98x99.  My text is all quite large, my icons larger.

What I really need to do is learn about X.  All of the docs I've found
have been for older versions or consist only of occult references to a
particular users' edge case.  It seems nobody's written a book about
xorg.  (Don't ask me to, I don't know enough to even write the
proposal! :-)

Does anyone have a recommendation for a decent user tutorial for X
troubleshooting?  I don't mean run startx, I mean this is the log
file and this is what the various entries mean sort of
troubleshooting.

Thanks,
==ml


 Michael W. Lucas wrote:
  Hi folks,
  
  I've scoured Google seeking wisdom, and found nothing except hordes of
  Linux users whining about this same problem.  FreeBSD users don't seem
  to have this issue, except for me.  Finally I have no choice but to
  throw myself on your tender mercies.
  
  I've been going nuts trying to get 1440x900 resolution on my new
  Toshiba P105.  Any help anyone could offer would be greatly
  appreciated.  Xorg assures me that the 945GM video card is supported
  by the i810 driver, provided I use the 915resolution program to set
  the resolution before starting X.  I run:
  
  /usr/local/bin/915resolution 3c 1440 900
  
  to add the resolution 1440x900 to the video BIOS.  915resolution -l
  now shows me:
  
  ...
  Mode 3c : 1440x900, 8 bits/pixel
  ...
  Mode 4d : 1440x900, 16 bits/pixel
  ...
  Mode 5c : 1440x900, 32 bits/pixel
  ..
  
  So, in theory 1440x900 should be available to the card.
  
  startx fails without a config file, so I let it create one and tweaked
  in based on gossip, rumour, and innuendo I've uncovered in three days
  of Web searching.  I get something that looks *about* like 1200x768,
  but it's a far cry from 1440x900.
  
  pciconf -lv tells me:
  
  ...
  [EMAIL PROTECTED]:2:0:   class=0x03 card=0xff311179 chip=0x27a28086 
  rev=0x03 hdr=0x00
  vendor = 'Intel Corporation'
  device = 'Mobile Integrated Graphics Controller'
  class  = display
  subclass   = VGA
  [EMAIL PROTECTED]:2:1:   class=0x038000 card=0xff311179 chip=0x27a68086 
  rev=0x03 hdr=0x00
  vendor = 'Intel Corporation'
  device = 'Mobile Integrated Graphics Controller'
  class  = display
  ...
  
  Here's relevant stuff trimmed from my xorg.conf.
  
  --
  
  Section Module
  Load  extmod
  Load  glx
  Load  dri
  Load  dbe
  Load  record
  Load  xtrap
  Load  type1
  Load  freetype
  Load  i2c
  Load  bitmap
  Load  int10
  EndSection
  
  ...
  
  Section Monitor
  #DisplaySize  370   230 # mm
  Identifier   Monitor0
  VendorName   LPL
  ModelName0
  EndSection
  
  Section Device
  ### Available Driver options are:-
  ### Values: i: integer, f: float, bool: True/False,
  ### string: String, freq: f Hz/kHz/MHz
  ### [arg]: arg optional
  #Option NoAccel   # [bool]
  #Option SWcursor  # [bool]
  #Option ColorKey  # i
  #Option CacheLines# i
  #Option Dac6Bit   # [bool]
  #Option DRI   # [bool]
  #Option NoDDC # [bool]
  #Option ShowCache # [bool]
  #Option XvMCSurfaces  # i
  #Option PageFlip  # [bool]
  Identifier  Card0
  Driver  i810
  VendorName  Intel Corporation
  BoardName   Mobile Integrated Graphics Controller
  BusID   PCI:0:2:0
  EndSection
  
  Section Screen
  Identifier Screen0
  Device Card0
  MonitorMonitor0
  DefaultDepth 24
  SubSection Display
  Viewport   0 0
  Depth 1
  Modes   1440x900
  EndSubSection
  SubSection Display
  Viewport   0 0
  Depth 4
  EndSubSection
  SubSection Display
  Viewport   0 0
  Depth 8
  Modes   1440x900
  EndSubSection
  SubSection Display
  Viewport   0 0
  

Re: Help! Mail to 'localhost' not staying local

2007-04-03 Thread V.I.Victor

Check that localhost is defined in /etc/hosts and your name resolution is 
working in /etc/nsswitch.conf

Thanks for your continued input!

/etc/nsswitch.conf has never been changed:
group: compat
group_compat: nis
hosts: files dns
networks: files
passwd: compat
passwd_compat: nis
shells: files

/etc/hosts is also the same as years-back:
::1 localhost.athome.net localhost
127.0.0.1   localhost.athome.net localhost
192.168.254.250 zebra.athome.net chloe
192.168.254.250 zebra.athome.net.


At 09:40 AM 4/3/2007, V.I.Victor wrote:
 Your domain is not set correctly, or you set it to athome.net.  Sendmail is
 just trying to deliver the email.  Normally you don't need the domain to
 send to root.  As long as you have root defined in /etc/mail/aliases you
 should be able to send to just root.
 
 @reboot /bin/echo reboot |/usr/bin/mail -s start-up at `date` root


Thanks for the quick answer.

Unfortunately, sending to just root does exactly the same as 
[EMAIL PROTECTED]

I agree I proabably set something wrong *years* ago -- but it's only 
showing up today!!

I'm really unsure where to change what.


 At 08:34 AM 4/3/2007, V.I.Victor wrote:
 Somthing changed -- literally overnight!  Or perhaps, some old problem is
 just showing up.
 
 All my log reports, et cetera are stuck in mqueue.
 
 Example -- for years, the following line has been in root's crontab:
 (sorry if folded)
 
 @reboot /bin/echo reboot |/usr/bin/mail -s start-up at `date`
 [EMAIL PROTECTED]
 
 
 It has worked without any problems delivering an email indicating start-up
 time.
 
 
 Now...  Well, here's some lines from the 'mqueue' file:
 
 H??Received: from zebra.athome.net (localhost.athome.net [127.0.0.1])
  by zebra.athome.net (8.13.3/8.13.3) with ESMTP id l33AFhEA000481
  for [EMAIL PROTECTED]; Tue, 3 Apr 2007 06:15:44 -0400 (EDT)
  (envelope-from [EMAIL PROTECTED])
 H??Received: (from [EMAIL PROTECTED])
  by zebra.athome.net (8.13.3/8.13.3/Submit) id l33AFhqS000433
  for [EMAIL PROTECTED]; Tue, 3 Apr 2007 06:15:43 -0400 (EDT)
  (envelope-from root)
 
 It seems that my local network name of athome.net is being evaluated.
 
  From 'whois athome.net' --
 
 Domain Name: ATHOME.NET
 Registrar: NETWORK SOLUTIONS, LLC.
 Whois Server: whois.networksolutions.com
 Referral URL: http://www.networksolutions.com
 Name Server: NS3.LAMEDELEGATION.NET
 Name Server: NS4.LAMEDELEGATION.NET
 Status: clientTransferProhibited
 Updated Date: 02-apr-2007
 Creation Date: 30-nov-1999
 Expiration Date: 30-nov-2015
 
 It's been around since 1999, but was updated yesterday.
 
 
 I'm assuming I did something wrong years back in my 'sendmail' setup.  At
 this point, I certainly don't remember the whys  hows of what I did!
 
 Could someone *please* help?
 
 Thanks! V
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 
 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 MailScanner thanks transtec Computers for their support.
 
 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.
 MailScanner thanks transtec Computers for their support.
 
 



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

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




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


Re: dhcp.conf relay howto?

2007-04-03 Thread Lowell Gilbert
Noah [EMAIL PROTECTED] writes:

 Is there a good How to so I can configure my dhcpd server to handle DHCP
 relayed leases for networks it is not directly attached to?

The exact details depend on which DHCP server you are using, of
course.  With the ISC server, I believe that the syntax involved
declaring the networks in a subnet declaration for the network on
which the requests would be received.  I don't have access to my lab
network at the moment, though, so I can't check how I configured it
for my DHCP testbed.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help! Mail to 'localhost' not staying local CORRECTION

2007-04-03 Thread V.I.Victor
Check that localhost is defined in /etc/hosts and your name resolution is 
working in /etc/nsswitch.conf

Thanks for your continued input!

/etc/nsswitch.conf has never been changed:
group: compat
group_compat: nis
hosts: files dns
networks: files
passwd: compat
passwd_compat: nis
shells: files

Sorry all -- I'm at work an bouncing between 3-machines and copied a line wrong:

The following is correct:

/etc/hosts is also the same as years-back:
::1 localhost.athome.net localhost
127.0.0.1   localhost.athome.net localhost
192.168.254.250 zebra.athome.net zebra
192.168.254.250 zebra.athome.net.



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


ipfw fwd not working in 6.2-release

2007-04-03 Thread Terry Todd

I have tried to get ipfw fwd to work in 6.2-release but it always barfs.

I have recompiled and installed a custom kernel with
options IPFIREWALL_FORWARD

and I have added to the /etc/sysctl.conf file:
net.inet.ip.forwarding=1

Here's the rule that I'm trying to get to work.

$fwcmd add forward 127.0.0.1,3128 tcp from not me to any 80 in via ${iif}

When I run it I get:

ipfw: getsockopt(IP_FW_ADD): Invalid argument

All the other rules I have work fine.

Am I doing something wrong here?

Anyone else see this behaviour?

TIA,
Terry Todd



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


Re: Help! Mail to 'localhost' not staying local CORRECTION

2007-04-03 Thread Derek Ragona
I don't think your hosts file is correct, unless you are telling me you own 
the domain athome.net.  You need to use a domain name you own or one that 
is not in use.


-Derek


At 10:42 AM 4/3/2007, V.I.Victor wrote:

Check that localhost is defined in /etc/hosts and your name resolution is
working in /etc/nsswitch.conf

Thanks for your continued input!

/etc/nsswitch.conf has never been changed:
group: compat
group_compat: nis
hosts: files dns
networks: files
passwd: compat
passwd_compat: nis
shells: files

Sorry all -- I'm at work an bouncing between 3-machines and copied a line 
wrong:


The following is correct:

/etc/hosts is also the same as years-back:
::1 localhost.athome.net localhost
127.0.0.1   localhost.athome.net localhost
192.168.254.250 zebra.athome.net zebra
192.168.254.250 zebra.athome.net.



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

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


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

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


var Filesystem Full Help

2007-04-03 Thread Sean Murphy
I am getting these errors on my var filesystem but df -h shows there is 
plenty of space available.


I am running FreeBSD 5.4

muse2# df -h
Filesystem   SizeUsed   Avail Capacity  Mounted on
/dev/amrd0s1a989M 56M854M 6%/
devfs1.0K1.0K  0B   100%/dev
/dev/amrd0s1e989M 32M878M 4%/tmp
/dev/amrd0s1f9.5G4.2G4.6G48%/usr
/dev/amrd0s1g245G9.4G216G 4%/usr/home
/dev/amrd0s1d1.9G526M1.3G29%/var

muse2# tail /var/log/messages
Apr  3 09:00:44 muse2 kernel: pid 537 (mimedefang), uid 26 inumber 
126291 on /var: filesystem full
Apr  3 09:09:55 muse2 kernel: pid 52000 (httpd), uid 80 inumber 170037 
on /var: filesystem full
Apr  3 09:12:59 muse2 kernel: pid 34758 (mimedefang), uid 26 inumber 
127701 on /var: filesystem full


I have restarted the mimdefang process but I get the same messages.

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


Re: Help! Mail to 'localhost' not staying local

2007-04-03 Thread Kevin Kinsey

V.I.Victor wrote:

Somthing changed -- literally overnight!  Or perhaps, some old problem is just 
showing up.

All my log reports, et cetera are stuck in mqueue.

Example -- for years, the following line has been in root's crontab: (sorry if 
folded)

@reboot /bin/echo reboot |/usr/bin/mail -s start-up at `date` [EMAIL 
PROTECTED]


It has worked without any problems delivering an email indicating start-up time.


Now...  Well, here's some lines from the 'mqueue' file:

H??Received: from zebra.athome.net (localhost.athome.net [127.0.0.1])
by zebra.athome.net (8.13.3/8.13.3) with ESMTP id l33AFhEA000481
for [EMAIL PROTECTED]; Tue, 3 Apr 2007 06:15:44 -0400 (EDT)
(envelope-from [EMAIL PROTECTED])
H??Received: (from [EMAIL PROTECTED])
by zebra.athome.net (8.13.3/8.13.3/Submit) id l33AFhqS000433
for [EMAIL PROTECTED]; Tue, 3 Apr 2007 06:15:43 -0400 (EDT)
(envelope-from root)

It seems that my local network name of athome.net is being evaluated.


From 'whois athome.net' --


   Domain Name: ATHOME.NET
   Registrar: NETWORK SOLUTIONS, LLC.
   Whois Server: whois.networksolutions.com
   Referral URL: http://www.networksolutions.com
   Name Server: NS3.LAMEDELEGATION.NET
   Name Server: NS4.LAMEDELEGATION.NET
   Status: clientTransferProhibited
   Updated Date: 02-apr-2007
   Creation Date: 30-nov-1999
   Expiration Date: 30-nov-2015

It's been around since 1999, but was updated yesterday.


Why are your nameservers set to lamedelegation.net?  Did you
leave an old credit card on file with your registrar?

It *sounds* like a potential issue.

Just, err, curious?

Kevin Kinsey
--
We have no scorched earth policy.
We have a policy of scorched Communists.
-- General Efrain Rios Montt, President of Guatemala, 1982
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: var Filesystem Full Help

2007-04-03 Thread Derek Ragona

Run fsck on /var
also check that /var doesn't exist elseware like from a symbolic link.

-Derek


At 11:18 AM 4/3/2007, Sean Murphy wrote:
I am getting these errors on my var filesystem but df -h shows there is 
plenty of space available.


I am running FreeBSD 5.4

muse2# df -h
Filesystem   SizeUsed   Avail Capacity  Mounted on
/dev/amrd0s1a989M 56M854M 6%/
devfs1.0K1.0K  0B   100%/dev
/dev/amrd0s1e989M 32M878M 4%/tmp
/dev/amrd0s1f9.5G4.2G4.6G48%/usr
/dev/amrd0s1g245G9.4G216G 4%/usr/home
/dev/amrd0s1d1.9G526M1.3G29%/var

muse2# tail /var/log/messages
Apr  3 09:00:44 muse2 kernel: pid 537 (mimedefang), uid 26 inumber 126291 
on /var: filesystem full
Apr  3 09:09:55 muse2 kernel: pid 52000 (httpd), uid 80 inumber 170037 on 
/var: filesystem full
Apr  3 09:12:59 muse2 kernel: pid 34758 (mimedefang), uid 26 inumber 
127701 on /var: filesystem full


I have restarted the mimdefang process but I get the same messages.

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

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



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

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


Re: var Filesystem Full Help

2007-04-03 Thread Mikel King


On Apr 3, 2007, at 12:18 PM, Sean Murphy wrote:

I am getting these errors on my var filesystem but df -h shows  
there is plenty of space available.


I am running FreeBSD 5.4

muse2# df -h
Filesystem   SizeUsed   Avail Capacity  Mounted on
/dev/amrd0s1a989M 56M854M 6%/
devfs1.0K1.0K  0B   100%/dev
/dev/amrd0s1e989M 32M878M 4%/tmp
/dev/amrd0s1f9.5G4.2G4.6G48%/usr
/dev/amrd0s1g245G9.4G216G 4%/usr/home
/dev/amrd0s1d1.9G526M1.3G29%/var

muse2# tail /var/log/messages
Apr  3 09:00:44 muse2 kernel: pid 537 (mimedefang), uid 26 inumber  
126291 on /var: filesystem full
Apr  3 09:09:55 muse2 kernel: pid 52000 (httpd), uid 80 inumber  
170037 on /var: filesystem full
Apr  3 09:12:59 muse2 kernel: pid 34758 (mimedefang), uid 26  
inumber 127701 on /var: filesystem full


I have restarted the mimdefang process but I get the same messages.

What can I do?
___



Purge some old log files to start with. However according to your df  
above you should have plenty of room.


Cheers,
m

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


Re: Multiple versions of PHP

2007-04-03 Thread patrick

Thanks, that worked really well. For those searching the archive for
an easy answer, you just need to do:

make PREFIX=/path/to/where/you/want all install clean

Patrick


On 4/2/07, Kimi Ostro [EMAIL PROTECTED] wrote:

On 02/04/07, patrick [EMAIL PROTECTED] wrote:
 I have a FreeBSD 6.2 server with Apache 1.3.x and PHP 4.4.x built from
 ports. I'd like to install PHP 5 from the ports tree, but target its
 install location to /usr/local/php5 to keep it separate from the PHP 4
 stuff. (I'll be running PHP through fastcgi.) I'm wondering if there's
 a way to do built a port where the install root is different from the
 default? If not, I'll hand-build PHP5, but I'd much rather take
 advantage of ports.

 Thanks,


% man 7 ports

look for PREFIX

HTH,

--
Kimi


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


Re: var Filesystem Full Help

2007-04-03 Thread Alex Zbyslaw

Sean Murphy wrote:

I am getting these errors on my var filesystem but df -h shows there 
is plenty of space available.


Check df -i as you may have run out of inodes rather than out of file space.

--Alex


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


Re: autoconf error while portupgrading audio/vorbis-tools

2007-04-03 Thread Christian Weisgerber
Garrett Cooper [EMAIL PROTECTED] wrote:

 I suggest contacting the maintainer about this (the maintainer's listed
 in the Makefile).

He did.  (Cc: in the original message.)
Is anybody else seeing this error?  I can't reproduce it.

-- 
Christian naddy Weisgerber  [EMAIL PROTECTED]

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


Re: var Filesystem Full Help

2007-04-03 Thread Jerry McAllister
On Tue, Apr 03, 2007 at 09:18:29AM -0700, Sean Murphy wrote:

 I am getting these errors on my var filesystem but df -h shows there is 
 plenty of space available.
 
 I am running FreeBSD 5.4
 
 muse2# df -h
 Filesystem   SizeUsed   Avail Capacity  Mounted on
 /dev/amrd0s1a989M 56M854M 6%/
 devfs1.0K1.0K  0B   100%/dev
 /dev/amrd0s1e989M 32M878M 4%/tmp
 /dev/amrd0s1f9.5G4.2G4.6G48%/usr
 /dev/amrd0s1g245G9.4G216G 4%/usr/home
 /dev/amrd0s1d1.9G526M1.3G29%/var
 
 muse2# tail /var/log/messages
 Apr  3 09:00:44 muse2 kernel: pid 537 (mimedefang), uid 26 inumber 
 126291 on /var: filesystem full
 Apr  3 09:09:55 muse2 kernel: pid 52000 (httpd), uid 80 inumber 170037 
 on /var: filesystem full
 Apr  3 09:12:59 muse2 kernel: pid 34758 (mimedefang), uid 26 inumber 
 127701 on /var: filesystem full
 
 I have restarted the mimdefang process but I get the same messages.
 
 What can I do?

The first thing that comes to mind is that some process created
some huge file[s] and then unlinked it[them], but has not actually
ended and released the space.   But, that is an awfully lot of
space to be held on to that way.   Have you rebooted since the
problem showed up?

jerry

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


Re: var Filesystem Full Help

2007-04-03 Thread Noah

lsof is your friend


Alex Zbyslaw wrote:

Sean Murphy wrote:

I am getting these errors on my var filesystem but df -h shows there 
is plenty of space available.


Check df -i as you may have run out of inodes rather than out of file 
space.


--Alex


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

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


Re: var Filesystem Full Help

2007-04-03 Thread Kevin Kinsey

Alex Zbyslaw wrote:

Sean Murphy wrote:

I am getting these errors on my var filesystem but df -h shows there 
is plenty of space available.


Check df -i as you may have run out of inodes rather than out of file 
space.


Also, try working with fstat(1) to see if the offending superbig file
is active but not yet written (and therefore visible to df(1)) and
try du(1), because it may also show you the offending file.

Kevin Kinsey
--
Baruch's Observation:
If all you have is a hammer, everything looks like a nail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: var Filesystem Full Help

2007-04-03 Thread Sean Murphy

Sean Murphy wrote:
I am getting these errors on my var filesystem but df -h shows there 
is plenty of space available.


I am running FreeBSD 5.4

muse2# df -h
Filesystem   SizeUsed   Avail Capacity  Mounted on
/dev/amrd0s1a989M 56M854M 6%/
devfs1.0K1.0K  0B   100%/dev
/dev/amrd0s1e989M 32M878M 4%/tmp
/dev/amrd0s1f9.5G4.2G4.6G48%/usr
/dev/amrd0s1g245G9.4G216G 4%/usr/home
/dev/amrd0s1d1.9G526M1.3G29%/var

muse2# tail /var/log/messages
Apr  3 09:00:44 muse2 kernel: pid 537 (mimedefang), uid 26 inumber 
126291 on /var: filesystem full
Apr  3 09:09:55 muse2 kernel: pid 52000 (httpd), uid 80 inumber 170037 
on /var: filesystem full
Apr  3 09:12:59 muse2 kernel: pid 34758 (mimedefang), uid 26 inumber 
127701 on /var: filesystem full


I have restarted the mimdefang process but I get the same messages.

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




Purge some old log files to start with. However according to your df 
above you should have plenty of room

I have deleted logs and lost+found but the same messages still show up.

Check df -i as you may have run out of inodes rather than out of file 
space.


Looks as though I have plenty of inodes

muse2# df -i
Filesystem1K-blocksUsed Avail Capacity iusedifree 
%iused  Mounted on

/dev/amrd0s1a   1012974   57694874244 6%1520   1397901%   /
devfs 1   1 0   100%   00  
100%   /dev
/dev/amrd0s1e   1012974   33192898746 4%   11141   130169
8%   /tmp
/dev/amrd0s1f   9938894 4368142   477564248%  279371  1015987   
22%   /usr
/dev/amrd0s1g 257098734 9794488 226736348 4%  113153 33118717
0%   /usr/home
/dev/amrd0s1d   2026030  510498   135345027% 866   281756
0%   /var

muse2#


Have you rebooted since the
problem showed up?

I have not rebooted yet


can I fun fsck on a live filesystem or do I have to drop into single 
usermode?

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


Re: var Filesystem Full Help

2007-04-03 Thread David Southwell
On Tuesday 03 April 2007 09:18:29 Sean Murphy wrote:
 I am getting these errors on my var filesystem but df -h shows there is
 plenty of space available.

 I am running FreeBSD 5.4

 muse2# df -h
 Filesystem   SizeUsed   Avail Capacity  Mounted on
 /dev/amrd0s1a989M 56M854M 6%/
 devfs1.0K1.0K  0B   100%/dev
 /dev/amrd0s1e989M 32M878M 4%/tmp
 /dev/amrd0s1f9.5G4.2G4.6G48%/usr
 /dev/amrd0s1g245G9.4G216G 4%/usr/home
 /dev/amrd0s1d1.9G526M1.3G29%/var

 muse2# tail /var/log/messages
 Apr  3 09:00:44 muse2 kernel: pid 537 (mimedefang), uid 26 inumber
 126291 on /var: filesystem full
 Apr  3 09:09:55 muse2 kernel: pid 52000 (httpd), uid 80 inumber 170037
 on /var: filesystem full
 Apr  3 09:12:59 muse2 kernel: pid 34758 (mimedefang), uid 26 inumber
 127701 on /var: filesystem full

 I have restarted the mimdefang process but I get the same messages.

 What can I do?
take a look at /tmp
my guess is you havea number of ancient large files you need to either delete 
or transfer to somewhere else.

David


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


Re: var Filesystem Full Help

2007-04-03 Thread Matthew Seaman
Sean Murphy wrote:
 I am getting these errors on my var filesystem but df -h shows there is
 plenty of space available.
 
 I am running FreeBSD 5.4
 
 muse2# df -h
 Filesystem   SizeUsed   Avail Capacity  Mounted on
 /dev/amrd0s1a989M 56M854M 6%/
 devfs1.0K1.0K  0B   100%/dev
 /dev/amrd0s1e989M 32M878M 4%/tmp
 /dev/amrd0s1f9.5G4.2G4.6G48%/usr
 /dev/amrd0s1g245G9.4G216G 4%/usr/home
 /dev/amrd0s1d1.9G526M1.3G29%/var
 
 muse2# tail /var/log/messages
 Apr  3 09:00:44 muse2 kernel: pid 537 (mimedefang), uid 26 inumber
 126291 on /var: filesystem full
 Apr  3 09:09:55 muse2 kernel: pid 52000 (httpd), uid 80 inumber 170037
 on /var: filesystem full
 Apr  3 09:12:59 muse2 kernel: pid 34758 (mimedefang), uid 26 inumber
 127701 on /var: filesystem full
 
 I have restarted the mimdefang process but I get the same messages.
 
 What can I do?

There are two reasons why a filesystem may give 'out of space' errors
when df(1) still shows plenty of space available.

i) Out of inodes.

You can tell this by running 'df -i'.  You're unlikely to run into
this unless either you used non-standard settings when you newfs'd the
partition or else the partition is full of a very large number of very
files.  If this is the case, then apart from rampantly deleting lots of
stuff the only solution is to backup the filesystem somewhere, recreate
the filesystem by running newfs with a more realistic set of parameters
(bytes-per-inode should be smaller) and then recover the data from
backup.

ii) Open file descriptor on an unlinked file.

This is much more likely to be the problem with the /var partition,
seeing as it's a favourite place for log files.  What can happen is
this: a process has a file open (ie. it has an open file descriptor on
the data) but a second process comes along and unlinks the original file.
That means that the file name and other meta data are removed from the 
directory contents, but since another process has the file open, the space
taken up by the files' data is not returned to the generally available
pool.  Sounds daft at first, but that's the way Unix has worked since the
epoch and if you think about it, it makes sense really.  Doing that
deliberately can be exceedingly useful -- a program can reserve itself
some scratch space that can't be accessed or altered by anything else[*]

What tends to happen in /var is a side effect of not rotating log files
correctly.  newsyslog(8) and pals will move aside and compress an existing
log file very happily, then they will send a signal to the program generating
the log file (by default assumed to be syslogd) to tell it to close and
reopen any files it is logging to -- it's a common behaviour for Unix
daemons to understand a SIGHUP to mean 'reinitialise yourself and reopen
any files you're using'

If newsyslog(8) signals the wrong process, or doesn't signal any process
at all, or the process doesn't grok the SIGHUP, then you'll find you get
exactly the sort of orphaned file with an open descriptor on it as described
above.

The way to debug this is to list all of the processes that have open descriptors
on the partition:

# fstat -f /var

then it's a case of doing some detective work to try and identify which out
of the many processes listed is the culprit.  Unfortunately fstat(1) doesn't
tell you file names -- instead you get the files inode number as column 6 of
the output.  There is no generic method of mapping from inode number to
filename (indeed, orphaned files like we've been discussing have an inode
number, but *no* filename); other than by doing exhaustive searches using
eg. find(1):

# find /var -inum n -print

In this case you're looking for the ones that don't return an answer.

Cheers,

Matthew

[*] Well, not without rootly powers, ample clue and a reasonable expenditure
of effort.

-- 
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: var Filesystem Full Help

2007-04-03 Thread Alex Zbyslaw

Noah wrote:


Alex Zbyslaw wrote:


Sean Murphy wrote:

I am getting these errors on my var filesystem but df -h shows there 
is plenty of space available.



Check df -i as you may have run out of inodes rather than out of file 
space.


lsof is your friend


First of all, please don't top-post.  Second of all, I'm not the 
original poster so sending the email To: me isn't that helpful.


Third of all, and most important, open files are irrelevant.  The OP was 
using df.  df counts free blocks in the file system.  Files which are 
open and then deleted do not free their blocks and do not show up as 
free blocks in df.  If the original command had been du, which traverses 
the file system to count usage and therefore can't count a file which 
has been deleted but is still open, then lsof might be useful.  In this 
case it is not.


A simple experiment to see this:

1) df /var

Filesystem   1K-blocks   Used   Avail Capacity  Mounted on
/dev/ad10s1e   5077038 116682 4554194 2%/var

2) Create a big file

dd if=/dev/zero of=/var/tmp/HUGE bs=1m count=100

df /var

Filesystem   1K-blocks   Used   Avail Capacity  Mounted on
/dev/ad10s1e   5077038 219162 4451714 5%/var

3) Hold the file open; delete it; repeat df

perl -e 'open(X, /var/tmp/HUGE); sleep 30;' 

rm /var/tmp/HUGE
remove /var/tmp/HUGE? y

df /var
Filesystem   1K-blocks   Used   Avail Capacity  Mounted on
/dev/ad10s1e   5077038 219162 4451714 5%/var

4) Wait for open process to finish; repeat df

[1]Done  perl -e open(X, /var/tmp/HUGE); 
sleep 30;


df /var
Filesystem   1K-blocks   Used   Avail Capacity  Mounted on
/dev/ad10s1e   5077038 116682 4554194 2%/var

The available disk space start at 4554194, drops to 4451714  when the 
file is created, and *remains like that* until the process holding the 
file open exits, thus freeing the last reference and allowing the blocks 
to be freed.


--Alex



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


Re: Help! Mail to 'localhost' not staying local CORRECTION

2007-04-03 Thread V.I.Victor
I don't think your hosts file is correct, unless you are telling me you own 
the domain athome.net.  You need to use a domain name you own or one that 
is not in use.

OK.  

No I don't own athome.net.  BUT I've been using it for years without problems 
-- until today! As I said, the hosts file is it's always been.

It seems that localhost just isn't local any more.

I'm trying to figure what's changed and what I should do about it.

So far, I've stopped all the internal mail to localhost.




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


Re: var Filesystem Full Help

2007-04-03 Thread Alex Zbyslaw

Sean Murphy wrote:

Check df -i as you may have run out of inodes rather than out of file 
space.



Looks as though I have plenty of inodes

muse2# df -i
Filesystem1K-blocksUsed Avail Capacity iusedifree 
%iused  Mounted on
/dev/amrd0s1a   1012974   57694874244 6%1520   139790
1%   /
devfs 1   1 0   100%   00  
100%   /dev
/dev/amrd0s1e   1012974   33192898746 4%   11141   130169
8%   /tmp
/dev/amrd0s1f   9938894 4368142   477564248%  279371  1015987   
22%   /usr
/dev/amrd0s1g 257098734 9794488 226736348 4%  113153 33118717
0%   /usr/home
/dev/amrd0s1d   2026030  510498   135345027% 866   281756
0%   /var

muse2#


[...]

Apr  3 09:00:44 muse2 kernel: pid 537 (mimedefang), uid 26 inumber 
126291 on /var: filesystem full


I've no idea what mimedefang does.  Is it possible it is trying to 
create a file which is larger than your available disk space?  If it did 
that then deleted the offending file, then df would look normal except 
at the point where mimedefang was creating the enormous file.


If it happens frequently, then you could just run df in a loop and read 
back through


for tcsh

while (1)
df -h
echo 
sleep 1
end

Hit ^C when you've seen enough.  You could redirect df and echo e.g.  
/tmp/DF to put output in a file  or even | tee -a /tmp/DF to put to a 
file and see on screen.


--Alex


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


Re: Multiple versions of PHP

2007-04-03 Thread Nagy László Zsolt

patrick wrote:

Thanks, that worked really well. For those searching the archive for
an easy answer, you just need to do:

make PREFIX=/path/to/where/you/want all install clean
Hmm, what happens if two ports would be in conflict, unless installed 
into separate directories? In other words, how these installed ports 
will be recorded in the package database? I do not see an answer for 
this in man 7 ports.


 Laszlo

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


'Safest' filesystem defaults

2007-04-03 Thread mal content

Hello.

Which filesystem options are the 'safest' in terms of data loss
after power failure?

I'm current using:

/dev/ad0s1f on /usr (ufs, local, soft-updates)
/dev/ad0s1d on /var (ufs, local, nosuid, soft-updates)
/dev/ad1s1d on /mnt/home (ufs, local, nosuid, soft-updates)
/dev/ad0s1e.eli on /tmp (ufs, local, noexec, nosuid, nosymfollow)

We currently have a serious problem with power outages, so I'd
like to make sure that my filesystems don't get damaged by power
failure until I can install a decent UPS system.

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


can I use info from gentoo installation?

2007-04-03 Thread Jeff D. Hamann
I've been a big fan of FreeBSD for a few years using it on desktop/headless 
servers and want to use it on my laptop (clevo m38aw, sager 3880). I 
couldn't find much on the web regarding hardware compatibility or 
installation guides for FreeBSD for this specific laptop, but did find the 
following guide for Gentoo linux


http://gentoo-wiki.com/HARDWARE_Clevo_M38AW

but, I really want to stick with FreeBSD (love the ports collection, etc.). 
I have a few questions about possible paths to take.


1) If I try installing FreeBSD, will I be using much of the information 
about the drivers etc. from linux (linux binary compat, etc.)?


2) I've tried getting FreeBSD (4.9, 5.X, 6.2) to work before on this laptop 
and couldn't even get the NIC to light up (neither of them) and the system 
doesn't have a floppy drive, so getting downloaded files onto the machine is 
tough, at best. When I tried using the USB stick, the machine would reboot 
each time I removed the stick. A no-go for use in my book. Are these 
troubles fixed in the 6.2?


3) Will I be generating a one time thing by installing BSD on this laptop 
using the linux guide or are there others that need this information. I 
don't mind spending some time (I do have to get real work done) if it 
benefits others, but I don't have the time, if I can spend it better (like 
earning income!)


3) Is this really worth the trouble, or does anyone have any experience with 
gentoo that they're willing to share that is convincing enough to simply 
forget this exercise and move on :-(


Jeff.


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


ISO Image Size Increasing

2007-04-03 Thread jhall
I have run into a rather weird problem, that I am not sure how to correct.

I have created a bootable CD for my FreeBSD systems which is approximately
234 MB in size.  While deploying the image, I found an error I would like
to correct.  All I am doing is adding a symlink to a folder in the /home
directory.

Please let me know if you see anything flawed in my procedure which may be
causing this problem.

1.  Create a directory to work in /home/CDImage.

2.   Copy the existing image to the /home/CDImage directory.
tar -cpf - /cdrom | tar -xpf -

3.  Add the necessary symlink.

4.  Create the ISO image.
/usr/local/bin/mkisofs -allow-leading-dots -l -R -T -iso-level 4 -b
boot/cdboot -no-emul-boot -o fwcd.iso CDImage


The image copied from the CD is approximately 234 MB in size, and the
image created by mkisofs is 664 MB.

Any suggestions would be greatly appreciated.

Thanks,


Jay



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


Re: var Filesystem Full Help

2007-04-03 Thread Paul Schmehl
--On Tuesday, April 03, 2007 18:12:09 +0100 Alex Zbyslaw 
[EMAIL PROTECTED] wrote:


The available disk space start at 4554194, drops to 4451714  when the
file is created, and *remains like that* until the process holding the
file open exits, thus freeing the last reference and allowing the blocks
to be freed.

When I read the OP's post, I was going to respond.  Then I read Matthew's 
and Alex' responses, and I knew the answer had been properly given.


It's guys like Matthew and Alex that make this list invaluable, and I want 
to thank both of you for your thorough and accurate answers.


Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


Re: pan crashing

2007-04-03 Thread wanderingidea
Hi,

I noticed that too.
What I did was delete the posts (headers) and fetch them again.
That solved the problem.

Regards,

Cor

On Mon, 2 Apr 2007 13:30:57 -0400
Tsu-Fan Cheng [EMAIL PROTECTED] wrote:

 hi,
   quick question, does anybody encounter pan (ports/news) crashing after
 upgrading to the latest version, or it's just me??
 
 TFC
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: error loading php5.so

2007-04-03 Thread Joe Auty
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kevin Kinsey wrote:
 Joe Auty wrote:

 # apachectl start Syntax error on line 273 of
 /usr/local/etc/apache2/httpd.conf: Cannot load
 /usr/local/libexec/apache2/libphp5.so into server:
 /usr/local/libexec/apache2/libphp5.so: Undefined symbol
 __res_ninit

 This is occurring under FBSD 6.2 running the latest versions of
 Apache/PHP

 Possibly looks as if PHP is unaware of Apache's existence? (or at
 least it was at time of compile). How did you do the upgrade?


Just via a simple portupgrade... doing a:

portupgrade -f php5

Does not correct this problem (although it does create a new
libphp5.so). Any further ideas?

- --
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGEqOACgdfeCwsL5ERAjxfAJoDH2nnK1T3yH6PsHtEYlVwW2RPBACgjtJz
mv42QoL76+kHw4AJwZLUOJo=
=iz/w
-END PGP SIGNATURE-

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


Re: Rebuilding World Failed

2007-04-03 Thread Schiz0

Hey,

I normally boot into multi-user mode, then drop down to single user mode via
shutdown now. When I run fsck and mount, those commands aren't found. I
checked the path and it contains /usr/bin:/usr/sbin:/bin:/sbin. So when I
boot into multiuser mode, then drop down to single user, the filesystems are
still mounted, aren't they? I recompiled world, but I messed up my system
and had to reinstall FreeBSD alltogether. When I did it the first time, I
did it the same way and it worked fine.

On 4/3/07, Dominique Goncalves [EMAIL PROTECTED] wrote:


Hi,

On 4/3/07, Schiz0 [EMAIL PROTECTED] wrote:
 Hello,

 I'm running FreeBSD 6.2-Stable. I'm getting errors when I try to rebuild
 world. I have followed the steps in the handbook at:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

 I used csup to get the latest updates of both ports-all tag=. and
src-all
 tag=RELENG_6

 What I did:
 -updated via csup
 -droped to single user mode
 -cleared out /usr/obj
 -make -j4 buildworld
 -make buildkernel KERNCONF=my kern config
 -make installkernel KERNCONF=my kern config
 -rebooted into the new kernel; everything worked fine
 -dropped to single user mode
 -make installworld

 During the installworld process I got the following output (Caught with
 script installworld.out):

 
 Script started on Mon Apr  2 23:42:05 2007
 # pwd
 /usr/src
 # make installworld
 mkdir -p /tmp/install.hC53vnAg
 for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep find
 grep install-info  ln lockf make mkdir mtree mv pwd_mkdb rm sed sh
sysctl
 test true uname wc zic; do  cp `which $prog`
/tmp/install.hC53vnAg;  done
 cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386
 CPUTYPE=  GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin
 GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font
 GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac

PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.hC53vnAg
 /usr/obj/usr/src/make.i386/make -f Makefile.inc1 reinstall
 awk: Permission denied
 /usr/src/Makefile.inc1, line 101: warning: awk
 '/^#define[[:space:]]*__FreeBSD_version/ { print $3 }'
 /usr/include/osreldate.h returned non-zero status
 echo:Permission denied
 *** Error code 1

 Stop in /usr/src.
 *** Error code 1

 Stop in /usr/src.
 *** Error code 1

 Stop in /usr/src.
 # exit

 Script done on Mon Apr  2 23:42:14 2007

 

Do you have your root partitions (/, /usr ...) in r/w mode ?
There is a paragraph in the handbook

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#MAKEWORLD-SINGLEUSER

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


Regards.

--
There's this old saying: Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life.


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


Re: ISO Image Size Increasing

2007-04-03 Thread Kevin Downey

On 4/3/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

I have run into a rather weird problem, that I am not sure how to correct.

I have created a bootable CD for my FreeBSD systems which is approximately
234 MB in size.  While deploying the image, I found an error I would like
to correct.  All I am doing is adding a symlink to a folder in the /home
directory.

Please let me know if you see anything flawed in my procedure which may be
causing this problem.

1.  Create a directory to work in /home/CDImage.

2.   Copy the existing image to the /home/CDImage directory.
tar -cpf - /cdrom | tar -xpf -

3.  Add the necessary symlink.

4.  Create the ISO image.
/usr/local/bin/mkisofs -allow-leading-dots -l -R -T -iso-level 4 -b
boot/cdboot -no-emul-boot -o fwcd.iso CDImage


The image copied from the CD is approximately 234 MB in size, and the
image created by mkisofs is 664 MB.

Any suggestions would be greatly appreciated.

Thanks,


Jay

It sounds like you may be running into a hardlink issue with iso9660.
I saw a few mails about this on one of the mailing lists last month.
Basicly hardlinks were not being copied off the cd as hardlinks, but
as files. So instead of /bin/foo being a hardlink to /bin/bar you get
/bin/foo and /bin/bar as seperate identical files. I would check the
size of the /home/CDImage directory after copying the cd files to it.
I am not sure if there is a fix.

--
The biggest problem with communication is the illusion that it has occurred.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 'Safest' filesystem defaults

2007-04-03 Thread Ivan Voras
mal content wrote:
 Hello.
 
 Which filesystem options are the 'safest' in terms of data loss
 after power failure?
 
 I'm current using:
 
 /dev/ad0s1f on /usr (ufs, local, soft-updates)
 /dev/ad0s1d on /var (ufs, local, nosuid, soft-updates)
 /dev/ad1s1d on /mnt/home (ufs, local, nosuid, soft-updates)
 /dev/ad0s1e.eli on /tmp (ufs, local, noexec, nosuid, nosymfollow)
 
 We currently have a serious problem with power outages, so I'd
 like to make sure that my filesystems don't get damaged by power
 failure until I can install a decent UPS system.

You might want to turn off soft-updates because they rely more on the
hard drive cache correctly behaving than the alternative (the normal
mode, without sync or async). If you do so, file system operations will
be slower and you will suffer long fsck times, but at least your file
system will be consistent (which says nothing about your data).



signature.asc
Description: OpenPGP digital signature


Re: Rebuilding World Failed

2007-04-03 Thread Schiz0

I'm using 6.2-STABLE. Nothing is set read-only.

[EMAIL PROTECTED] ~]$ mount
/dev/ad0s1a on / (ufs, local, noatime)
devfs on /dev (devfs, local)
/dev/ad0s1e on /tmp (ufs, local, noatime, noexec, nosuid, soft-updates)
/dev/ad0s1f on /usr (ufs, local, noatime, soft-updates)
/dev/ad0s1d on /var (ufs, local, noatime, soft-updates)

On 4/3/07, Dominique Goncalves [EMAIL PROTECTED] wrote:


On 4/3/07, Schiz0 [EMAIL PROTECTED] wrote:
 Hey,

 I normally boot into multi-user mode, then drop down to single user mode
via
 shutdown now. When I run fsck and mount, those commands aren't found.
I
 checked the path and it contains /usr/bin:/usr/sbin:/bin:/sbin. So when
I
 boot into multiuser mode, then drop down to single user, the filesystems
are
 still mounted, aren't they? I recompiled world, but I messed up my
system
 and had to reinstall FreeBSD alltogether. When I did it the first time,
I
 did it the same way and it worked fine.

In doubt check with the 'mount' command to see if your filesystems are
read-only.
Usually, I don't boot in single user mode to make instalworld but it
depends on what your box do, mine is just a desktop :-)

By the way, what release are you tracking ? I never had such problem
with RELEASE or -STABLE branch.


 On 4/3/07, Dominique Goncalves [EMAIL PROTECTED] wrote:
  Hi,
 
  On 4/3/07, Schiz0 [EMAIL PROTECTED] wrote:
   Hello,
  
   I'm running FreeBSD 6.2-Stable. I'm getting errors when I try to
rebuild
   world. I have followed the steps in the handbook at:
  
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
  
   I used csup to get the latest updates of both ports-all tag=. and
 src-all
   tag=RELENG_6
  
   What I did:
   -updated via csup
   -droped to single user mode
   -cleared out /usr/obj
   -make -j4 buildworld
   -make buildkernel KERNCONF=my kern config
   -make installkernel KERNCONF=my kern config
   -rebooted into the new kernel; everything worked fine
   -dropped to single user mode
   -make installworld
  
   During the installworld process I got the following output (Caught
with
   script installworld.out):
  
  
 
   Script started on Mon Apr  2 23:42:05 2007
   # pwd
   /usr/src
   # make installworld
   mkdir -p /tmp/install.hC53vnAg
   for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep
find
   grep install-info  ln lockf make mkdir mtree mv pwd_mkdb rm sed sh
 sysctl
   test true uname wc zic; do  cp `which $prog` /tmp/install.hC53vnAg;
 done
   cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj
 MACHINE_ARCH=i386  MACHINE=i386
   CPUTYPE=
 GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin
  
 GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font
  
 GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac
  

PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.hC53vnAg
   /usr/obj/usr/src/make.i386/make -f Makefile.inc1 reinstall
   awk: Permission denied
   /usr/src/Makefile.inc1, line 101: warning: awk
   '/^#define[[:space:]]*__FreeBSD_version/ { print $3 }'
   /usr/include/osreldate.h returned non-zero status
   echo:Permission denied
   *** Error code 1
  
   Stop in /usr/src.
   *** Error code 1
  
   Stop in /usr/src.
   *** Error code 1
  
   Stop in /usr/src.
   # exit
  
   Script done on Mon Apr  2 23:42:14 2007
  
  
 
 
  Do you have your root partitions (/, /usr ...) in r/w mode ?
  There is a paragraph in the handbook
 

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#MAKEWORLD-SINGLEUSER
 
  Hope this helps.
  ___
   freebsd-questions@freebsd.org mailing list
  
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
 [EMAIL PROTECTED]
  
 
  Regards.
 
  --
  There's this old saying: Give a man a fish, feed him for a day. Teach
  a man to fish, feed him for life.
 



Regards.

--
There's this old saying: Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life.


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


Broadcom BCM5721 Ethernet Not Recognized on 6.2-RELEASE

2007-04-03 Thread alex

Hello All,

I recently put together a new server with 6.2-RELEASE (installed via 
FTP a few days ago), and it's basically going great. Unfortunately, 
however, the machine is not recognizing the Broadcom BCM5721 gibabit 
Ethernet card, despite the fact that (based on archived mailing list 
posts, at least) this card is supported on at least 6.1-RELEASE.


I'm running a generic kernel, and haven't tweaked any fancy networking 
options; it's about as bare-bones a config as you can get. Given the 
fact that the base system is a Tyan Transport GT20 B2865G20S4H (see 
http://www.newegg.com/Product/Product.aspx?Item=N82E16856152019 , which 
is where I got it), and the dmesg/ifconfig output below, can anyone 
help me figure out why this card isn't being recoginzed? Additionally, 
any info as to the acpi_bus_number: can't get _ADR lines would be 
appreciated, though those appear to be a non-issue based on other posts 
I've seen.


Thanks,
Alex Kirk

[EMAIL PROTECTED] /usr/src/sys/i386/conf]$ dmesg
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP
acpi_alloc_wakeup_handler: can't alloc wake memory
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Dual Core AMD Opteron(tm) Processor 175 (2210.19-MHz 686-class CPU)
  Origin = AuthenticAMD  Id = 0x20f32  Stepping = 2
  
Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT

  Features2=0x1SSE3
  AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow
  AMD Features2=0x3LAHF,CMP
  Cores per package: 2
real memory  = 3756916736 (3582 MB)
avail memory = 3677388800 (3507 MB)
ACPI APIC Table: Nvidia AWRDACPI
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic0 Version 1.1 irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: Nvidia AWRDACPI on motherboard
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi0: Power Button (fixed)
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
unknown: I/O range not supported
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pci0: memory at device 0.0 (no driver attached)
isab0: PCI-ISA bridge at device 1.0 on pci0
isa0: ISA bus on isab0
pci0: serial bus, SMBus at device 1.1 (no driver attached)
ohci0: OHCI (generic) USB controller mem 0xfebff000-0xfebf irq 21 
at device 2.0 on pci0

ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: OHCI (generic) USB controller on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 8 ports with 8 removable, self powered
ehci0: NVIDIA nForce4 USB 2.0 controller mem 0xfeb0-0xfeb000ff 
irq 22 at device 2.1 on pci0

ehci0: [GIANT-LOCKED]
usb1: waiting for BIOS to give up control
usb1: timed out waiting for BIOS
usb1: EHCI version 1.0
usb1: companion controller, 4 ports each: usb0
usb1: NVIDIA nForce4 USB 2.0 controller on ehci0
usb1: USB revision 2.0
uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 8 ports with 8 removable, self powered
atapci0: nVidia nForce CK804 UDMA133 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 6.0 on pci0

ata0: ATA channel 0 on atapci0
ata1: ATA channel 1 on atapci0
atapci1: nVidia nForce CK804 SATA300 controller port 
0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xcc00-0xcc0f mem 
0xfebfb000-0xfebfbfff irq 23 at device 7.0 on pci0

ata2: ATA channel 0 on atapci1
ata3: ATA channel 1 on atapci1
atapci2: nVidia nForce CK804 SATA300 controller port 
0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xb800-0xb80f mem 
0xfebfa000-0xfebfafff irq 21 at device 8.0 on pci0

ata4: ATA channel 0 on atapci2
ata5: ATA channel 1 on atapci2
pcib1: ACPI PCI-PCI bridge at device 9.0 on pci0
pci1: ACPI PCI bus on pcib1
pci1: display, VGA at device 5.0 (no driver attached)
nve0: NVIDIA nForce MCP9 Networking Adapter port 0xb400-0xb407 mem 
0xfebf9000-0xfebf9fff irq 22 at device 10.0 on pci0

nve0: Ethernet address 00:e0:81:5f:6d:4b
miibus0: MII bus on nve0
ukphy0: Generic IEEE 802.3u media interface on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto


Re: Help! Mail to 'localhost' not staying local CORRECTION

2007-04-03 Thread Derek Ragona
My guess is that DNS was propagated and now athome.net is in the maps of 
the DNS server you query.


Just change your /etc/hosts file, you can use a domain suffix that does not 
exist for instance.


-Derek


At 12:18 PM 4/3/2007, V.I.Victor wrote:

I don't think your hosts file is correct, unless you are telling me you own
the domain athome.net.  You need to use a domain name you own or one that
is not in use.

OK.

No I don't own athome.net.  BUT I've been using it for years without 
problems -- until today! As I said, the hosts file is it's always been.


It seems that localhost just isn't local any more.

I'm trying to figure what's changed and what I should do about it.

So far, I've stopped all the internal mail to localhost.





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


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

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


Re: var Filesystem Full Help

2007-04-03 Thread Derek Ragona
I would reboot and run fsck in single user mode.  The reboot will clear any 
old open files that may be causing the drive full problem.


-Derek


At 11:59 AM 4/3/2007, Sean Murphy wrote:

Sean Murphy wrote:
I am getting these errors on my var filesystem but df -h shows there is 
plenty of space available.


I am running FreeBSD 5.4

muse2# df -h
Filesystem   SizeUsed   Avail Capacity  Mounted on
/dev/amrd0s1a989M 56M854M 6%/
devfs1.0K1.0K  0B   100%/dev
/dev/amrd0s1e989M 32M878M 4%/tmp
/dev/amrd0s1f9.5G4.2G4.6G48%/usr
/dev/amrd0s1g245G9.4G216G 4%/usr/home
/dev/amrd0s1d1.9G526M1.3G29%/var

muse2# tail /var/log/messages
Apr  3 09:00:44 muse2 kernel: pid 537 (mimedefang), uid 26 inumber 126291 
on /var: filesystem full
Apr  3 09:09:55 muse2 kernel: pid 52000 (httpd), uid 80 inumber 170037 on 
/var: filesystem full
Apr  3 09:12:59 muse2 kernel: pid 34758 (mimedefang), uid 26 inumber 
127701 on /var: filesystem full


I have restarted the mimdefang process but I get the same messages.

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


Purge some old log files to start with. However according to your df 
above you should have plenty of room

I have deleted logs and lost+found but the same messages still show up.


Check df -i as you may have run out of inodes rather than out of file space.


Looks as though I have plenty of inodes

muse2# df -i
Filesystem1K-blocksUsed Avail Capacity iusedifree 
%iused  Mounted on

/dev/amrd0s1a   1012974   57694874244 6%1520   1397901%   /
devfs 1   1 0   100%   00
100%   /dev
/dev/amrd0s1e   1012974   33192898746 4%   11141   130169
8%   /tmp
/dev/amrd0s1f   9938894 4368142   477564248%  279371  1015987
22%   /usr
/dev/amrd0s1g 257098734 9794488 226736348 4%  113153 33118717
0%   /usr/home
/dev/amrd0s1d   2026030  510498   135345027% 866   281756
0%   /var
muse2#


Have you rebooted since the
problem showed up?

I have not rebooted yet


can I fun fsck on a live filesystem or do I have to drop into single usermode?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

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



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

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


Re: Rebuilding World Failed

2007-04-03 Thread Schiz0

My box is going to be used as a server. But I'm just setting it up now, so
there aren't any other users nor major daemon's running on the system.

So I don't have to be a single user mode to do all this? Rebuild the kernel
and world, that is?

On 4/3/07, Dominique Goncalves [EMAIL PROTECTED] wrote:


On 4/3/07, Schiz0 [EMAIL PROTECTED] wrote:
 Hey,

 I normally boot into multi-user mode, then drop down to single user mode
via
 shutdown now. When I run fsck and mount, those commands aren't found.
I
 checked the path and it contains /usr/bin:/usr/sbin:/bin:/sbin. So when
I
 boot into multiuser mode, then drop down to single user, the filesystems
are
 still mounted, aren't they? I recompiled world, but I messed up my
system
 and had to reinstall FreeBSD alltogether. When I did it the first time,
I
 did it the same way and it worked fine.

In doubt check with the 'mount' command to see if your filesystems are
read-only.
Usually, I don't boot in single user mode to make instalworld but it
depends on what your box do, mine is just a desktop :-)

By the way, what release are you tracking ? I never had such problem
with RELEASE or -STABLE branch.


 On 4/3/07, Dominique Goncalves [EMAIL PROTECTED] wrote:
  Hi,
 
  On 4/3/07, Schiz0 [EMAIL PROTECTED] wrote:
   Hello,
  
   I'm running FreeBSD 6.2-Stable. I'm getting errors when I try to
rebuild
   world. I have followed the steps in the handbook at:
  
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
  
   I used csup to get the latest updates of both ports-all tag=. and
 src-all
   tag=RELENG_6
  
   What I did:
   -updated via csup
   -droped to single user mode
   -cleared out /usr/obj
   -make -j4 buildworld
   -make buildkernel KERNCONF=my kern config
   -make installkernel KERNCONF=my kern config
   -rebooted into the new kernel; everything worked fine
   -dropped to single user mode
   -make installworld
  
   During the installworld process I got the following output (Caught
with
   script installworld.out):
  
  
 
   Script started on Mon Apr  2 23:42:05 2007
   # pwd
   /usr/src
   # make installworld
   mkdir -p /tmp/install.hC53vnAg
   for prog in [ awk cap_mkdb cat chflags chmod chown  date echo egrep
find
   grep install-info  ln lockf make mkdir mtree mv pwd_mkdb rm sed sh
 sysctl
   test true uname wc zic; do  cp `which $prog` /tmp/install.hC53vnAg;
 done
   cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj
 MACHINE_ARCH=i386  MACHINE=i386
   CPUTYPE=
 GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin
  
 GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font
  
 GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac
  

PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/tmp/install.hC53vnAg
   /usr/obj/usr/src/make.i386/make -f Makefile.inc1 reinstall
   awk: Permission denied
   /usr/src/Makefile.inc1, line 101: warning: awk
   '/^#define[[:space:]]*__FreeBSD_version/ { print $3 }'
   /usr/include/osreldate.h returned non-zero status
   echo:Permission denied
   *** Error code 1
  
   Stop in /usr/src.
   *** Error code 1
  
   Stop in /usr/src.
   *** Error code 1
  
   Stop in /usr/src.
   # exit
  
   Script done on Mon Apr  2 23:42:14 2007
  
  
 
 
  Do you have your root partitions (/, /usr ...) in r/w mode ?
  There is a paragraph in the handbook
 

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#MAKEWORLD-SINGLEUSER
 
  Hope this helps.
  ___
   freebsd-questions@freebsd.org mailing list
  
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
 [EMAIL PROTECTED]
  
 
  Regards.
 
  --
  There's this old saying: Give a man a fish, feed him for a day. Teach
  a man to fish, feed him for life.
 



Regards.

--
There's this old saying: Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life.


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


Re: Rebuilding World Failed

2007-04-03 Thread [EMAIL PROTECTED]

On 03/04/07, Schiz0 [EMAIL PROTECTED] wrote:

I'm using 6.2-STABLE. Nothing is set read-only.

. . .

/dev/ad0s1e on /tmp (ufs, local, noatime, noexec, nosuid, soft-updates)


Unset noexec on /tmp or use a different
TMPDIR on installworld.

Also, please don't top post.

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


Re: error loading php5.so

2007-04-03 Thread Kevin Kinsey

Joe Auty wrote:

# apachectl start Syntax error on line 273 of
/usr/local/etc/apache2/httpd.conf: Cannot load
/usr/local/libexec/apache2/libphp5.so into server:
/usr/local/libexec/apache2/libphp5.so: Undefined symbol
__res_ninit

This is occurring under FBSD 6.2 running the latest versions of
Apache/PHP

Possibly looks as if PHP is unaware of Apache's existence? (or at
least it was at time of compile). How did you do the upgrade?



Just via a simple portupgrade... doing a:

portupgrade -f php5

Does not correct this problem (although it does create a new
libphp5.so). Any further ideas?


Well, I'm not absolutely certain of anything.  I'd make sure
that make config under /usr/ports/lang/php5 indicated Apache
module was to be built, and do something more like -rR php5
instead of -f.  Did you add new extensions to php at the
time of this build, also?

??,

Kevin Kinsey
--
I don't have an eating problem.  I eat.
I get fat.  I buy new clothes.  No problem.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Reboot issue

2007-04-03 Thread alma

Dear,

I am having a spontaneous reboot issue and I really dunno what to  
do.. here is which message I get from logs .. any hints what it might  
be ??


Apr 3 06:50:44 hope kernel: Trying to mount root from ufs:/dev/ad0s1a
Apr 3 06:50:44 hope kernel: WARNING: / was not properly dismounted
Apr 3 06:50:44 hope savecore: reboot after panic: page fault
Apr 3 06:50:44 hope savecore: writing core to vmcore.3

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


Saved Email - Spamassassin

2007-04-03 Thread Robert Davison
I'm running an email server using Sendmail on FreeBSD 6.2, using Spamassassin.
   
  My question may be simple, but once sendmail has delieverd its mail to the 
user, where is it stored ? Is each email stored as an individual file ?
   
  I see that under my /home/'each users' directory I have a mbox file. Once 
open it contains email messages. However, I note that these do not tie up with 
what is in my inbox through my webmail client. Some messages exist in the mbox 
file but not my inbox.
   
  Is this what I should be looking at.
   
  I ask because I want to train my Bayes filter under spamassassin using the 
   
  sa-learn --spam command, and want to be sure i'm running it on the right 
directory and or files.


-
 New Yahoo! Mail is the ultimate force in competitive emailing. Find out more 
at the Yahoo! Mail Championships. Plus: play games and win prizes.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


quotas on 6.2

2007-04-03 Thread Dave

   Hello,
   I'm trying to enable quotas on 6.2 following the handbook. I've added:

options QUOTA

to my kernel config, recompiled and installed. I then added:

enable_quotas=YES
check_quotas=NO

to /etc/rc.conf and finally added both userquota and group options to my /, 
/var, and /usr filesystems in /etc/fstab, other than that those entries are 
the same as in a default install. After doing all that i rebooted, and was 
under the impression the quota script would create the quota user and group 
files. This did not happen. I've included the errors. Any suggestions?

Thanks.
Dave.

/etc/fstab
/dev/ad0s1b.eli  none  swap sw  0 0
/dev/ad0s1a  /  ufs rw,userquota,groupquota  1 1
/dev/ad0s1f  /home  ufs rw,userquota,groupquota  2 2
/dev/ad0s1d  /usr  ufs rw,userquota,groupquota  2 2
/dev/ad0s1e  /var  ufs rw,userquota,groupquota  2 2

/etc/rc.conf
enable_quotas=YES
check_quotas=NO

#/etc/rc.d/quota start
Enabling quotas:quotaon: using //quota.group on
quotaon: /: No such file or directory
quotaon: using //quota.user on
quotaon: /: No such file or directory
quotaon: using /home/quota.group on
quotaon: /home: No such file or directory
quotaon: using /home/quota.user on
quotaon: /home: No such file or directory
quotaon: using /usr/quota.group on
quotaon: /usr: No such file or directory
quotaon: using /usr/quota.user on
quotaon: /usr: No such file or directory
quotaon: using /var/quota.group on
quotaon: /var: No such file or directory
quotaon: using /var/quota.user on
quotaon: /var: No such file or directory

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


sendmail and hostname

2007-04-03 Thread Firas Kraiem
Greetings

I get this message when booting my FBSD home webserver :

 Apr  3 22:23:55 alice sm-mta[509]: My unqualified host name (alice)
 unknown; sleeping for retry

From what I've understood after a bit of searching, the answer lies probably 
in the /etc/hosts file. So here goes :

 127.0.0.1   localhost alice
 192.168.1.2 alice
 192.168.1.3 bob

Any help would be much appreciated.

Firas

-- 
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments


pgpV63gbnJKiN.pgp
Description: PGP signature


Re: Abit KN9 + FreeBSD 6.2-RELEASE

2007-04-03 Thread Glenn Sieb

Glenn Sieb wrote:

Hey everyone..

I bought an Abit KN9, with a 200MB Maxtor IDE drive on the main IDE0 
channel. I also have RAID set up on the SATA devices.


I'm trying to install 6.2-RELEASE on the system, and it installs, I 
created the partitions and sliced them appropriately (/, swap, /tmp, 
/var, /usr). If I go into the EHS, I see /boot/kernel/kernel exists. 
When I reboot after the install, I get an error saying 
0:ad(0,a)/boot/kernel/kernel does not exist.


The system sees the drive as ad0, the slice as ad0s1.

I've installed this with the boot manager on ad0, as well as no boot 
manager. Same results.


What on Earth am I doing wrong here? :-/


I forgot to mention (dang) that this was the amd64 version of FreeBSD. 
Tonight I'll give the i386 version a shot and see if there's a difference.


Thanks in advance!
Best,
--Glenn

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


Re: Reboot issue

2007-04-03 Thread Roland Smith
On Tue, Apr 03, 2007 at 08:37:26PM +0200, [EMAIL PROTECTED] wrote:
 Dear,
 
 I am having a spontaneous reboot issue and I really dunno what to  
 do.. here is which message I get from logs .. any hints what it might  
 be ??

These aren't spontaneous reboots. They're kernel panics.

 Apr 3 06:50:44 hope kernel: Trying to mount root from ufs:/dev/ad0s1a
 Apr 3 06:50:44 hope kernel: WARNING: / was not properly dismounted

This is because the machine rebooted without unmounting the
filesystems. It will do a background fsck later.

 Apr 3 06:50:44 hope savecore: reboot after panic: page fault
 Apr 3 06:50:44 hope savecore: writing core to vmcore.3

This means that the reboot was caused by a page fault. A core file was
saved (to /var/crash by default), so you can feed it to the kernel
debugger kgdb(1) to see what caused the page fault.

See chapter 10 of the developers handbook on how to debug a crash
dump. Copy the output that kgdb generates when starting up, and the
output of the 'backtrace' (or 'bt') command and post them here, or on
the hackers list.

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)


pgprQbFtZwYmm.pgp
Description: PGP signature


Re: Help! Mail to 'localhost' not staying local CORRECTION

2007-04-03 Thread V.I.Victor
My guess is that DNS was propagated and now athome.net is in the maps of
the DNS server you query.

Probably.  But (from orig post):

   Domain Name: ATHOME.NET
   Status: clientTransferProhibited
   Updated Date: 02-apr-2007
   Creation Date: 30-nov-1999
   Expiration Date: 30-nov-2015

whois shows an update yesterday and creation 8-years ago.

Presumably, something happened based on the update...

Just change your /etc/hosts file, you can use a domain suffix that does not
exist for instance.

Yes -- that works.  I'd changed .net to .nzt and localhost works again.

I've spent the last couple hours trying to get sendmail to not do a DNS for 
specified-local addresses.  Lots of google-info, but none that directly works.  
Much to be assimilated -- I'm pretty sure there's a sendmail solution too.





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


Re: sendmail and hostname

2007-04-03 Thread Roland Smith
On Tue, Apr 03, 2007 at 10:29:36PM +0200, Firas Kraiem wrote:
 Greetings
 
 I get this message when booting my FBSD home webserver :
 
  Apr  3 22:23:55 alice sm-mta[509]: My unqualified host name (alice)
  unknown; sleeping for retry
 
 From what I've understood after a bit of searching, the answer lies probably 
 in the /etc/hosts file. So here goes :
 
  127.0.0.1   localhost alice
  192.168.1.2 alice

The hostname alice should have a domain part. And it should match the
hostname that is set in /etc/rc.conf. E.g, if /etc/rc.conf says

hostname=alice.home.net

then /etc hosts should have

::1 localhost localhost.home.net
127.0.0.1   localhost localhost.home.net
192.168.1.2 alice alice.home.net


HTH, 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)


pgpJZqm9dr3Hy.pgp
Description: PGP signature


Re: Saved Email - Spamassassin

2007-04-03 Thread Jeffrey Goldberg

On Apr 3, 2007, at 3:20 PM, Robert Davison wrote:

I'm running an email server using Sendmail on FreeBSD 6.2, using  
Spamassassin.


  My question may be simple, but once sendmail has delieverd its  
mail to the user, where is it stored ?


Typically it will be in /var/mail/$USER


Is each email stored as an individual file ?


No.  Unless you configure things otherwise, mail will be stored in  
unix (AKA mbox) format with one file per user.


  I see that under my /home/'each users' directory I have a mbox  
file. Once open it contains email messages. However, I note that  
these do not tie up with what is in my inbox through my webmail  
client. Some messages exist in the mbox file but not my inbox.


Some mail clients, like mail, will move messages from /var/mail/ 
$USERNAME to ~/mbox.  Pine also does this under default configurations.


So the problem appears to be that your webmail system (what is it?)  
is only looking in /var/mail and note for mbox files in your home  
directory.


Chances are it can be configured to look for both.  If not, then you  
need to be careful to only read your mail using one system.   
Personally, I prefer setting up an IMAP server.  IMAP has all of the  
advantages of webmail without the disadvantages.



  Is this what I should be looking at.

  I ask because I want to train my Bayes filter under spamassassin  
using the


  sa-learn --spam command, and want to be sure i'm running it on  
the right directory and or files


I suggest that you get your mail delivery and access sorted out  
before you try to set up sa-learn.  Otherwise, you will find yourself  
pulling the ground out from underneath the Bayes filtering.


Cheers,

-j


--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

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


problems installing perl-5.8.8

2007-04-03 Thread Don Munyak

I am having problems installing perl5.8.8 on a up-to-date FreeBSD-6.2.
After running...

web# cd /usr/ports/lang/perl5.8
web# make
scripts install perl...

web# make test
(8) tests fail with the following message

...something about you may need to set dynamic library search path,
LD_LIBRARY_PATH to point to the build directory;
setenv LD_LIBRARY_PATH `pwd`:$LD_LIBRARY_PATH; cd t; ./perl harness
###   LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd t;
./perl harness
###   export LD_LIBRARY_PATH=`pwd`:$LD_LIBRARY_PATH; cd t; ./perl harness

so I cd in t
web# cd /varlang/perl5.8/work/perl-5.8.8/t
web# ./perl harness
web# /libexec/ld-elf.so.1: Shared object libperl.so not found,
required by perl

tried TEST too.. with same results
web# ./TEST
/libexec/ld-elf.so.1: Shared object libperl.so not found, required by perl
web# pwd
/var/ports/basejail/usr/ports/lang/perl5.8/work/perl-5.8.8/t
web# ./perl -I../lib harness
/libexec/ld-elf.so.1: Shared object libperl.so not found, required by perl
web#

I am really clueless to why this is failing or even how to setenv
LD_LIBRARY_PATH
I could really use some help.

ps.. I have spent all day googling
/libexec/ld-elf.so.1: Shared object libperl.so not found, required by perl
as well as variation of this message.

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


Re: problems installing perl-5.8.8

2007-04-03 Thread Glenn Sieb

Don Munyak wrote:

I am having problems installing perl5.8.8 on a up-to-date FreeBSD-6.2.
After running...

web# cd /usr/ports/lang/perl5.8
web# make
scripts install perl...

web# make test
(8) tests fail with the following message


Hmm.. 'make' by itself only prepares the source to be installed.. try 
doing 'make install' ... it should run 'make test' for you. :)


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


sendmail and hostname

2007-04-03 Thread Firas Kraiem
Greetings

I get this message when booting my FBSD home webserver :

 Apr  3 22:23:55 alice sm-mta[509]: My unqualified host name (alice)
 unknown; sleeping for retry

From what I've understood after a bit of searching, the answer lies probably 
in the /etc/hosts file. So here goes :

 127.0.0.1   localhost alice
 192.168.1.2 alice
 192.168.1.3 bob

Any help would be much appreciated.

Firas
-- 
()  ascii ribbon campaign - against html e-mail 
/\  www.asciiribbon.org   - against proprietary attachments

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


Re: can I use info from gentoo installation?

2007-04-03 Thread Jeff Rollin

Hi Jeff

On 03/04/07, Jeff D. Hamann [EMAIL PROTECTED] wrote:

I've been a big fan of FreeBSD for a few years using it on desktop/headless
servers and want to use it on my laptop (clevo m38aw, sager 3880). I
couldn't find much on the web regarding hardware compatibility or
installation guides for FreeBSD for this specific laptop, but did find the
following guide for Gentoo linux

http://gentoo-wiki.com/HARDWARE_Clevo_M38AW

but, I really want to stick with FreeBSD (love the ports collection, etc.).
I have a few questions about possible paths to take.

1) If I try installing FreeBSD, will I be using much of the information
about the drivers etc. from linux (linux binary compat, etc.)?


Unfortunately, no. FreeBSD and Linux use entirely different kernels,
which can't use each other's code because of licensing issues. You
might have better luck looking for information on using other BSD's
with that laptop, but don't quote me on that. (If you do, you might
consider using them if FreeBSD does not work - their packaging systems
are similar. Alternatively, try SabayonLinux, which uses Gentoo's
portage system (inspired by FreeBSD ports) but which unlike Gentoo can
be installed quickly using a precompiled set of binaries. They are
also working up to having the capability to build binaries from any
of the packages in portage.


2) I've tried getting FreeBSD (4.9, 5.X, 6.2) to work before on this laptop
and couldn't even get the NIC to light up (neither of them) and the system
doesn't have a floppy drive, so getting downloaded files onto the machine is
tough, at best. When I tried using the USB stick, the machine would reboot
each time I removed the stick. A no-go for use in my book. Are these
troubles fixed in the 6.2?


You can find a list of compatible hardware on the FreeBSD website. If
the hardware you want to use isn't not there, it might work, or it
might not.


3) Will I be generating a one time thing by installing BSD on this laptop
using the linux guide or are there others that need this information. I
don't mind spending some time (I do have to get real work done) if it
benefits others, but I don't have the time, if I can spend it better (like
earning income!)


Well, I'm sure people would appreciate any information you can give.
In a world where HP is top dog (taking over from Dell) at only ~17%,
there aren't going to be THAT many people who have any specific make,
never mind model, of laptop.


3) Is this really worth the trouble, or does anyone have any experience with
gentoo that they're willing to share that is convincing enough to simply
forget this exercise and move on :-(


The trouble with Gentoo (and I say this having used it for three years
until just this week) is that when it breaks, it can take ages to fix
it. I probably will go back to Gentoo at some point - some aspects of
the distro, such as its user community, just rock - but for the moment
I have decided that it's too much work.

HTH

Jeff

--
Q: What will happen in the Aftermath?

A: Impossible to tell, since we're still in the Beforemath.

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


Non Interactive passwd change via script....

2007-04-03 Thread Agus

Hi everybody
its been a few days now, since im trying to do a tcsh script to automatize
the process of creating users in my system
Users register via web, and info is saved in a MySQL DB and in a file. the
script reads from the file and begins adding users with pw.
but im stuck on how to create the password for the users. the only solution
that worked was the use of expect, but it consumes a lot of resources
(7.8%System). Now that isnt a problem cause the users are few. but if
it has to
add a lot of users?? it will kill my server

any hints will be apreciated.

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


Re: Non Interactive passwd change via script....

2007-04-03 Thread Kevin Kinsey

Agus wrote:

Hi everybody
its been a few days now, since im trying to do a tcsh script to automatize
the process of creating users in my system
Users register via web, and info is saved in a MySQL DB and in a file. the
script reads from the file and begins adding users with pw.
but im stuck on how to create the password for the users. the only solution
that worked was the use of expect, but it consumes a lot of resources
(7.8%System). Now that isnt a problem cause the users are few. but if
it has to
add a lot of users?? it will kill my server

any hints will be apreciated.


pw(8)  ??


thanks a lot...


You're welcome ;-)

Kevin Kinsey
--
Good news from afar can bring you a welcome visitor.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: can I use info from gentoo installation?

2007-04-03 Thread Kevin Kinsey

Jeff D. Hamann wrote:


1) If I try installing FreeBSD, will I be using much of the information 
about the drivers etc. from linux (linux binary compat, etc.)?


Not really at all, AFAIK.

2) I've tried getting FreeBSD (4.9, 5.X, 6.2) to work before on this 
laptop and couldn't even get the NIC to light up (neither of them) and 
the system doesn't have a floppy drive, so getting downloaded files onto 
the machine is tough, at best. When I tried using the USB stick, the 
machine would reboot each time I removed the stick. A no-go for use in 
my book. Are these troubles fixed in the 6.2?




Has it a CD-ROM drive?  Certainly that's the quickest way to
install FreeBSD, as most other OSes.  Plus, you could download
the latest FreeSBIE Live CD (www.freesbie.org) and see for yourself
if the machine will work with a fairly up-to-date codebase.  I
believe that the latest FreeSBIE is using 6.2-RELEASE as a base.

I've got a USB pen drive that works fine and has for some time.
OTOH, I've got a treo like device that causes panics, last I
checked, and so I'm not using it much anymore.  For the most
part, I've had little trouble at all with USB devices on FBSD.

3) Will I be generating a one time thing by installing BSD on this 
laptop using the linux guide or are there others that need this 
information. I don't mind spending some time (I do have to get real work 
done) if it benefits others, but I don't have the time, if I can spend 
it better (like earning income!)


Use the FreeBSD Handbook.  (http://www.freebsd.org/handbook).  The
work has already been done for you ;-)

3) Is this really worth the trouble, or does anyone have any experience 
with gentoo that they're willing to share that is convincing enough to 
simply forget this exercise and move on :-(


I dropped Windows for FreeBSD 3 years ago (give or take) and have
hardly looked back.

You might wish to Google for freebsd laptop compatibility list (there
are a couple out there) and see if your make/model is on any of them.
Also, try mailing the mobile list ([EMAIL PROTECTED]) and
maybe the chat list (freebsd-chat@freebsd.org) and asking if anyone
has experience with this particular model.

Good luck!

Kevin Kinsey
--
Good news from afar can bring you a welcome visitor.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Non Interactive passwd change via script....

2007-04-03 Thread Kevin Kinsey

Agus wrote:

Hi everybody
its been a few days now, since im trying to do a tcsh script to automatize
the process of creating users in my system
Users register via web, and info is saved in a MySQL DB and in a
  file. the
script reads from the file and begins adding users with pw.
but im stuck on how to create the password for the users. the
only solution
that worked was the use of expect, but it consumes a lot of resources
(7.8%System). Now that isnt a problem cause the users are few. but if
it has to
add a lot of users?? it will kill my server

any hints will be apreciated.



pw(8)  ??


I cant find the way to do it with pw

thanks


Please keep the list in the TO: or CC: field on your
replies ... thanks!

Works fine here as described in pw(8):

[EMAIL PROTECTED]
$ id test
id: test: no such user

[EMAIL PROTECTED]
$ pw useradd -n test

[EMAIL PROTECTED]
$ id test
uid=1020(test) gid=1026(test) groups=1026(test)

[EMAIL PROTECTED]
$ finger test
Login: test Name: User Test
Directory: /home/test   Shell: /bin/sh
Never logged in.
No Mail.
No Plan.

HTH,

Kevin Kinsey
--
It took me fifteen years to discover that I had no talent for writing,
but I couldn't give it up because by that time I was too famous.
-- Robert Benchley
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


trouble with HT

2007-04-03 Thread Jonathan Horne
building a new system, processor is:

CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2793.20-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,
PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,
TM,PBE
  Features2=0x4400CNTX-ID,b14

and the chipset is Intel 865G.  in 6.2, the old method of enabling HT with 
sysctl.conf seems to be depricated, as i got a nastygram from dmesg that im a 
dummy on boot up (so i took those back out).  then i read thru some docs, and 
apparently, HT is supposed to be enabled in the base release now.

strange part is, for a while, 'top -C' would show me the C column, and i 
actually could see some 0's and 1's, so i went about my business of building 
ports.  now that i go back, the -C is no longer being obeyed, and i cant get 
the C column to appear.

how can i verify that HT is working?  my mobo (IBM 8189) doesnt seem to have an 
on/off for HT, so my first inclenation is assume that its on (we have many 
windows machines running on this hardware, and HT never seems to be a problem 
with those).

any pointers would be appreciated (and yes, already know al about the 
security advisories... :)

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


Re: trouble with HT

2007-04-03 Thread Kris Kennaway
On Tue, Apr 03, 2007 at 07:45:55PM -0500, Jonathan Horne wrote:
 building a new system, processor is:
 
 CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2793.20-MHz 686-class CPU)
   Origin = GenuineIntel  Id = 0xf29  Stepping = 9
 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,
 PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,
 TM,PBE
   Features2=0x4400CNTX-ID,b14
 
 and the chipset is Intel 865G.  in 6.2, the old method of enabling HT with 
 sysctl.conf seems to be depricated, as i got a nastygram from dmesg that im a 
 dummy on boot up (so i took those back out).  then i read thru some docs, and 
 apparently, HT is supposed to be enabled in the base release now.
 
 strange part is, for a while, 'top -C' would show me the C column, and i 
 actually could see some 0's and 1's, so i went about my business of building 
 ports.  now that i go back, the -C is no longer being obeyed, and i cant get 
 the C column to appear.

That suggests you may have rebuilt your kernel without SMP support.

 how can i verify that HT is working?  my mobo (IBM 8189) doesnt seem to have 
 an on/off for HT, so my first inclenation is assume that its on (we have many 
 windows machines running on this hardware, and HT never seems to be a problem 
 with those).
 
 any pointers would be appreciated (and yes, already know al about the 
 security advisories... :)

And about the possible poor performance I assume :)

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


Re: trouble with HT

2007-04-03 Thread Jonathan Horne
On Tue, 3 Apr 2007 20:57:21 -0400
Kris Kennaway [EMAIL PROTECTED] wrote:

 On Tue, Apr 03, 2007 at 07:45:55PM -0500, Jonathan Horne wrote:
  building a new system, processor is:
  
  CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2793.20-MHz 686-class CPU)
Origin = GenuineIntel  Id = 0xf29  Stepping = 9
  Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,
  PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,
  TM,PBE
Features2=0x4400CNTX-ID,b14
  
  and the chipset is Intel 865G.  in 6.2, the old method of enabling HT with 
  sysctl.conf seems to be depricated, as i got a nastygram from dmesg that im 
  a dummy on boot up (so i took those back out).  then i read thru some docs, 
  and apparently, HT is supposed to be enabled in the base release now.
  
  strange part is, for a while, 'top -C' would show me the C column, and i 
  actually could see some 0's and 1's, so i went about my business of 
  building ports.  now that i go back, the -C is no longer being obeyed, and 
  i cant get the C column to appear.
 
 That suggests you may have rebuilt your kernel without SMP support.
 
  how can i verify that HT is working?  my mobo (IBM 8189) doesnt seem to 
  have an on/off for HT, so my first inclenation is assume that its on (we 
  have many windows machines running on this hardware, and HT never seems to 
  be a problem with those).
  
  any pointers would be appreciated (and yes, already know al about the 
  security advisories... :)
 
 And about the possible poor performance I assume :)
 
 Kris
 ___

well, wikipedia says this (something that i just now learned about standard 
pentium4 line of processors)
[wikipedia]
The 3.06 GHz processor supported Hyper-Threading (first appeared in Xeon), 
enabling multiple threads to be run together by duplicating some parts of the 
processor in order to let the operating system believe that there are two 
logical processors. HyperThreading was present in all Northwood CPUs, but was 
disabled in the core in all but the 3.06 GHz model.
[/wikipedia]

until now, my only pentium 4 was a 3.2 which does, and some 1.8s which i 
already knew didnt support it.  i guess i just figured that my xeons at 533 FSB 
supported, it, xeons at 400FSB supported, it... so a 2.8 with 533 should 
support it too??  oh well, not if its disabled in the core.  (jonathan makes a 
sad face)

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


Re: advice on anti-spam tools

2007-04-03 Thread Gary Kline
On Mon, Apr 02, 2007 at 11:49:19PM -0500, Dan Nelson wrote:
 In the last episode (Apr 03), Angelin Lalev said:
  My e-mail server is running the latest spamassassin with all of the
  blacklist enabled and etc.  but I still receive over 20 spam messages
  a day (image spam mostly).
 
  The situation with other users may be worse.  That's why I was
  thinking about some tool that
 
  1. store incoming email
  2. send request to the sender of the message, requiring to go to some
 address and enter the numbers (letters) from image
  3. if the puzzle is solved in time (week or so) deliver the message,
 otherwise delete it.
 
 Chances are you would just be annoying innocent people with backscatter
 email due to the forged addresses of most spam.
 
 You say you're running the latest spamassassin, but are you downloading
 updated rulesets?  All of the image/stock spam I get is caught by
 spamassassin rules.  Make sure you're running sa-update on a regular
 basis and restarting spamd when an update is applied.  Putting
 
 /usr/local/bin/sa-update  /usr/local/etc/rc.d/sa-spamd.sh restart
 
 in a nightly cron job should suffice, I think.  I have also found
 greylisting to be very effective.  greylisting penalizes unknown smtp
 sources by tempfailing the first message seen from them for 5 minutes.
 Spammers usually don't spend resources queueing messages, so you never
 see them again.  Real mail servers retry the message, which gets
 delivered.  Subsequent messages from the same server come through
 without delay because the source is known.  I use
 ports/mail/milter-greylist , which lets you adjust the greylist period
 and the whitelist timeout, and also can synch its database between
 multiple servers if you're running in a clustered setup.
 


I've been experimenting with greylisting for months.  Not
sure the regular mail filter installs or not, but the devel
version installed just now perfectly.  

Is there any tutorial on this or should I just re-read the man
pages and other docs a few more times!  From llooking at the 
config file in /usr/local/etc/mail, the retry seems to default
to a #commented-out 1h.  Sorry, but I have  trouble parsing
this kind of grammar:

quote
# How long a client has to wait before we accept
# the messages it retries to send. Here, 1 hour.
# May be overridden by the -w greylist_delay command line argument.
#greylist 1h
/quote

If you, Dan, or anyone else on-list could clue me in, I would
be much obliged.  (Once--and only once--I think I had greylisting
working, but I screwed up my sendmail {or whatever} and yanked
everything.  After many hours, mail workedd, but I didn't
re-install greylisting.  It *did* cut down the SPAM
considerably.  It's time to retry.

thanks much,

gary




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

-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: problems installing perl-5.8.8

2007-04-03 Thread Parv
in message [EMAIL PROTECTED],
wrote Glenn Sieb thusly...

 Don Munyak wrote:
 I am having problems installing perl5.8.8 on a up-to-date
 FreeBSD-6.2.  After running...
 
 web# cd /usr/ports/lang/perl5.8
 web# make
 scripts install perl...
 
 web# make test
 (8) tests fail with the following message
 
 Hmm.. 'make' by itself only prepares the source to be installed..
 try doing 'make install' ... it should run 'make test' for you. :)

I do not think that test would run on perl install unless things have
changes since May 2006 (from build log on May 16 2006) ...

  ...

  Everything is up to date. Type 'make test' to run test suite.
  *** Error code 1 (ignored)
  if [ -n  ];  then  cd utils; make compile;  cd ../x2p; make compile;  cd 
../pod; make compile;  else :;  fi
  LD_LIBRARY_PATH=/work/ports/misc/ports/lang/perl5.8/work/perl-5.8.8 ./perl 
installperl --destdir=
  WARNING: You've never run 'make test' or some tests failed! (Installing 
anyway.)
/misc/local/bin/perl5.8.8
/misc/local/lib/perl5/5.8.8/abbrev.pl
  ...



  - Parv

-- 

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


Re: problems installing perl-5.8.8

2007-04-03 Thread Glenn Sieb

Parv wrote:

I do not think that test would run on perl install unless things have
changes since May 2006 (from build log on May 16 2006) ...


Ah.. good catch :)

Sorry about that, Don...

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


Re: problems installing perl-5.8.8

2007-04-03 Thread Don Munyak

 Don Munyak wrote:
 I am having problems installing perl5.8.8 on a up-to-date
 FreeBSD-6.2.  After running...
 
 web# cd /usr/ports/lang/perl5.8
 web# make
 scripts install perl...
 
 web# make test
 (8) tests fail with the following message



I can't explain why, but I was able to get perl-5.8.8 installed using
the following;

#  echo ENABLE_SUIDPERL=true  /etc/make.conf
#  make install clean

Finished compiling and installed without any error stop codes

This came from http://www.bsdguides.org/guides/freebsd/security/perl_setuid.php

Once correction

 scripts install perl...

Perl never actually installed. The install process halted with an
error stop code

Thanks for your suggestions :)

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


Re: Cannot pkg_add linux-flashplugin7

2007-04-03 Thread Amarendra Godbole

On 3/31/07, Joseph Marah [EMAIL PROTECTED] wrote:

I have tried to a couple of times to install a Micromedia-alike flash plugin for
FreeBSD but failed.  So far I have
successfully installed the linux-pluginwrapper as a requirement at
/usr/ports/www/linuxpluginwrapper. So I tried /usr/ports/www/linux-flashplugin7 
and
issued the command pkg-add -r linux-flashplugin7. The system attempted to
download the file from ftp site but came back saying the file 
linux-flashplugin7 did
not exist.  Any idea what I may be doing wrong?

[...]

You are confusing between the ports system, and the pre-compiled
packages available on FreeBSD. In a nutshell, ports allow you to
download, build and install applications from source, while packages
are pre-compiled binaries for your particular platform.

To add it through ports, you need to do (as root):
# cd /usr/ports/www/linux-flashplugin7
# make install clean

Reading the relevant section (6.2.4) of the handbook
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html)
will help.

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


Re: sendmail and hostname

2007-04-03 Thread Matthew Seaman
Firas Kraiem wrote:
 Greetings
 
 I get this message when booting my FBSD home webserver :
 
  Apr  3 22:23:55 alice sm-mta[509]: My unqualified host name (alice)
  unknown; sleeping for retry
 
 From what I've understood after a bit of searching, the answer lies probably 
 in the /etc/hosts file. So here goes :
 
  127.0.0.1   localhost alice
  192.168.1.2 alice
  192.168.1.3 bob
 
 Any help would be much appreciated.

sendmail is trying to work out your fully qualified domain name.  In
short, it wants a name with dots in.  You can just invent a name --
alice.local for example -- and your own sendmail will be happy, but
ones it connects to for mail delivery may be less so.  That may or may
not be a problem depending on your local setup.  Or else you can get
a name properly registered in the DNS and use that instead.

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