Problems with EeePC 1005HA wireless (Wireless Atheros 9285)

2010-06-22 Thread Iván Zaera Avellón
Hello everybody. I sent this mail to freebsd-stable and didn't get any
answer, so I'm retrying
in freebsd-questions to see if I have more luck as the audience is supposed
to be broader.



I'm new to the list, so hello everybody and pleased to meet you all.

I have installed the recent 8.1 BETA 1 on an Eee PC 1005HA and I'm
experiencing problems
with the wireless card. It is correctly recognized and configured. I have an
ath0 device and I
can create an wlan0 without problems. I can even scan with wlan0 and
sometimes I see my
wireless router. The problem is when wpa_supplicant tries to register with
the network that it
fails. BTW, I have a WEP system with long key (13 hex digits).

I have sniffed the wireless network with another computer and the packets
seem to be all
correct: the Eee PC sends correct packets to the air, and the wifi router
replies them correctly,
but wpa_supplicant reports registration timed out, as if it wasn't
receiving the packets.

It is nevertheless very strange because around 2-3 weeks ago I had the
STABLE branch installed
on the same Eee PC and the wifi worked (not always, but it succedeed always
when it was near
the router and the PC was just being rebooted).

Does anybody experience the same problem or has any hint on what could be
happening?

I have compiled my kernel with AH_DEBUG and ATH_DEBUG so I can also send
dmesg traces
if anyone can analyze them.

Thanks in advance for your help,


-- 
Ivan Zaera
http://www.factoria2.com/desde/correo
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Problems running Bacula BAT

2010-06-22 Thread Cato Myhrhagen
Hello

I still have som problems getting Bacula-Bat working. Here is what i have
done so far:


1. Installed FreeBSD 8.0 rel

2. From the ports catalogue i have installed Gnome Lite

3. Uppgraded all the ports with CVsup

4. Then I installed Bacula 5.0.0.1 rel (with MySQL), altso from the ports
catalogue (/usr/ports/sysutils/bacula-server)

5. Installed BAT 5.0.0.1 (/usr/ports/sysutils/bacula-bat)

6. Installed MySql 5.0.90(/usr/ports/databases/mysql55-server)

7. Ran the 3 scripts to install the databases etc that is needed to run
Bacula on the MySQL server

# cd /usr/local/share/bacula/
# ./grant_mysql_privileges
# ./create_mysql_database
# ./make_mysql_tables



I then tried to start Bat by opening Gnome, starting a terminalwindow and
typing bat. Bat starts, but have som problems connecting. . It continues to
try to connect to the database i think. In the lower left corner of the BAT
Gui i continues to display the folloving: Connecting to Director
Localhost:9010 and then times out saying Connection fails



Checked if bacula is running (ps –aux | grep bacula) and it both the dir/sd
is running.
bacula   746  0.0  0.1  9996  4508  ??  Ss9:11AM   0:00.01
/usr/local/sbin/bacula-sd -u bacula -g bacula -v -c
/usr/local/etc/bacula-sd.conf
bacula  1192  0.0  0.2 13364  6132  ??  Ss   10:23AM   0:00.03
/usr/local/sbin/bacula-dir -u bacula -g bacula -v -c
/usr/local/etc/bacula-dir.conf

Also checked if MySQL was running (ps –aux | grep mysql)
Did not get any result on this, but when I tried to start the database, I
got the message that the process was already running, so assuming that MySQL
is running.

Now I checked the log (/var/db/backula/log) and got the following error
message:
22-Jun 10:31 backupserver.domainname.no-dir: ERROR in authenticate.c:418
Unable to authenticate console *UserAgent* at client:127.0.0.1:36131.



Also turned on de-bugging in BAT and get the following when I try to start
BAT:
backupserver# bat
bat: bcomm/dircomm.cpp:188 DirComm 0 BAILING Connection failed
backupserver.domainname.no-dir
bat: bcomm/dircomm.cpp:222 Returning FALSE from DirComm-connect_dir : 0
backupserver.domainname.no-dir
bat: mainwin.cpp:105 Setting initial window to
backupserver.domainname.no-dir
bat: console/console.cpp:860 DirComm 1 About to Create and Connect
backupserver.domainname.no-dir
bat: bcomm/dircomm.cpp:188 DirComm 1 BAILING Connection failed
backupserver.domainname.no-dir
bat: bcomm/dircomm.cpp:222 Returning FALSE from DirComm-connect_dir : 1
backupserver.domainname.no-dir
bat: console/console.cpp:868 DirComm 1 NOT Connected
backupserver.domainname.no-dir
bat: console/console.cpp:860 DirComm 2 About to Create and Connect
backupserver.domainname.no-dir
bat: bcomm/dircomm.cpp:188 DirComm 2 BAILING Connection failed
backupserver.domainname.no-dir


Anybody have any idea on what could be wrong?

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


Sendmail and spam/antivirus

2010-06-22 Thread Jorge Biquez

Hello all.

I have a small machine with Freebsd 7.3, it is running sendmail for a 
few email accounts.


I'd like to implement, the easiest and most secure way to do it since 
machine is on a remote place where I have not access, I'd like to 
implement a spam  filter and an antivirus. I installed from ports 
spamd but seems like it is not doing anything.
What would be your advice on what to install to have and anivirus and 
an anti spam in the server? Sendmail is working fine and there are 
just a few email accounts there so no need to change it, since some 
of the accounts have been public in the last years they are in LOT 
of spammers lists and the spam and messages with virus has increased 
a lot in the last weeks so if possible to filter some will help.

Thanks in advance.
Jorge Biquez

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


Fujitsu T1010 digitizer

2010-06-22 Thread osp
I am looking for help in getting a Fujitsu touch panel working with FreeBSD
8.0 and Gnome. I have here what I have so far, what I need is some advice
on what to do next. 

Someone who goes by zmiq2 has developed a basic but functional set of
programs that do what I need, for Ubuntu. That code identifies the Fujitsu
digitizer as vendor ID 0x0430 and device ID 0x0530. Here is some of that code:

#include linux/kernel.h
#include linux/slab.h
#include linux/module.h
#include linux/init.h
#include linux/usb/input.h

/*
 * Version Information
 */
#define DRIVER_VERSION v0.3.5
#define DRIVER_DESCFujitsu usb touchscreen driver for u810, u820,
p1620, t1010
#define DRIVER_LICENSE GPL
#define DRIVER_AUTHOR  zmiq2 zzm...@gmail.com
..
#define USB_VENDOR_ID_FUJITSU   0x0430
#define USB_DEVICE_ID_U810TABLET0x0530
..

My Fujitsu T1010 triple boots FreeBSD 8.0, Windows 7, and Ubuntu. I have
this interface working in Ubuntu. Minimal but functional.

This is from my FreeBSD /var/run/dmesg.boot (external USB mouse attached).
Look closely at ugen4.2:

..
uhub1: 2 ports with 2 removable, self powered
uhub0: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
uhub5: 2 ports with 2 removable, self powered
uhub6: 2 ports with 2 removable, self powered
Root mount waiting for: usbus7 usbus3
Root mount waiting for: usbus7 usbus3
uhub3: 6 ports with 6 removable, self powered
uhub7: 6 ports with 6 removable, self powered
ugen1.2: Logitech at usbus1
ums0: Logitech USB Optical Mouse, class 0/0, rev 2.00/43.01, addr 2 on usbus1
ums0: 8 buttons and [XYZ] coordinates ID=0
ugen4.2: Fujitsu Component at usbus4
Root mount waiting for: usbus7
ums1: Fujitsu Component USB Touch Panel, class 0/0, rev 1.10/50.01, addr
2 on usbus4
ugen7.2: Namtai Corp. at usbus7
Trying to mount root from ufs:/dev/ad4s3a
ugen4.3: vendor 0x0c24 at usbus4
ubt0: vendor 0x0c24 product 0x0022, class 224/1, rev 2.00/48.39, addr 3
on usbus4
..

More info from usbconfig:

$ sudo usbconfig dump_info
ugen0.1: UHCI root HUB Intel at usbus0, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=ON

ugen1.1: UHCI root HUB Intel at usbus1, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=ON

ugen2.1: UHCI root HUB Intel at usbus2, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=ON

ugen3.1: EHCI root HUB Intel at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=ON

ugen4.1: UHCI root HUB Intel at usbus4, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=ON

ugen5.1: UHCI root HUB Intel at usbus5, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=ON

ugen6.1: UHCI root HUB Intel at usbus6, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=ON

ugen7.1: EHCI root HUB Intel at usbus7, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=ON

ugen1.2: USB Optical Mouse Logitech at usbus1, cfg=0 md=HOST spd=LOW
(1.5Mbps) pwr=ON

ugen4.2: USB Touch Panel Fujitsu Component at usbus4, cfg=0 md=HOST
spd=LOW (1.5Mbps) pwr=ON

ugen7.2: Sirius USB2.0 Camera Namtai Corp. at usbus7, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=ON

ugen4.3: product 0x0022 vendor 0x0c24 at usbus4, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=ON

$ sudo usbconfig -u 4 -a 2 dump_device_desc
ugen4.2: USB Touch Panel Fujitsu Component at usbus4, cfg=0 md=HOST
spd=LOW (1.5Mbps) pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0110 
  bDeviceClass = 0x 
  bDeviceSubClass = 0x 
  bDeviceProtocol = 0x 
  bMaxPacketSize0 = 0x0008 
  idVendor = 0x0430 
  idProduct = 0x0530 
  bcdDevice = 0x5001 
  iManufacturer = 0x0001  Fujitsu Component
  iProduct = 0x0002  USB Touch Panel
  iSerialNumber = 0x  no string
  bNumConfigurations = 0x0001 

Here we see that idVendor and idProduct match the values used in the Ubuntu
interface. Back in dmesg.boot we see that this device is assigned to ums1.

$ ll /dev/um*
crw-r--r--  1 root  operator  -   0, 114 Jun 22 02:59 /dev/ums0
crw-r--r--  1 root  operator  -   0, 116 Jun 22 02:59 /dev/ums1

(Yes, I was working at three in the morning!) Just for fun I tried cat
/dev/ums1 but got Device busy. 

So, how do I open this device and read what it is sending, and how do I
send something useful to x.org? I don't think I can just read it as a
mouse, it will need scaling, rotation, and some help generating button 2
and button 3 events.

All help appreciated!

Gary Dunn
Open Slate Project
o...@aloha.com


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


Re: pvrxxx

2010-06-22 Thread Mark
If you do not have the card yet, an IP camera is an easy setup for a security 
cam. I have some Axis and off brand cameras doing this type of work. Look into  
/usr/ports/multimedia/motion for a security camera system.

HTH
Mark


People sleep peaceably in their beds at night only because rough men stand 
ready to do violence on their behalf. 
George Orwell


--- On Tue, 6/22/10, Mr. Darren darren...@yahoo.com wrote:

 From: Mr. Darren darren...@yahoo.com
 Subject: pvrxxx
 To: freebsd-multime...@freebsd.org
 Date: Tuesday, June 22, 2010, 4:17 AM
 I noticed that usleepless had done
 some work on this port recently.  Though not
 committed.  I also noticed this archive 
 http://www.mavetju.org/mail/view_message.php?list=freebsd-multimediaid=2565711
 describing the pvr150 and pvrxxx.  I would like to get
 this card to receive a single video signal from a security
 cam.  Or any other capable cheap card.  It will be
 run with motion(or other security software).  I also
 have a techwell(tw6802) that doesn't work.  I'll take
 hardware recomendations at this point.  The box's sole
 function will eventually be to watch that camera so it
 wouldn't be a big deal to give a developer access. 
 rebuild kernels, etc. 
 FreeBSD  8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Mon
 Jun 21 18:55:16 MDT 2010 
 downloaded and installed today.
 
 Just so there is no confusion
 no...@pci0:0:20:0:      class=0x04
 card=0x88010070 chip=0x0016 rev=0x01 hdr=0x00
     vendor     = 'Conexant
 Inc (Was: Globespan, ICompression Inc)'
     device     =
 'iTVC16/CX23416 MPEG Codec'
     class      = multimedia
     subclass   = video
 
 
 Darren Johnston
 
 
 ___
 freebsd-multime...@freebsd.org
 mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
 To unsubscribe, send any mail to freebsd-multimedia-unsubscr...@freebsd.org

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


X not responding

2010-06-22 Thread Andy Balholm
I am having a problem with Xorg under FreeBSD 8.0 RELEASE and 8.1 RC1:

When I type startx, the X server starts, and some xterm windows open, but it 
will not respond to keyboard or mouse input. The mouse pointer won't move, and 
the only keyboard input that does anything is CTRL-ALT-F1 etc. to switch 
virtual terminals.

If I install FreeBSD 7.1, which installs Xorg straight from the installation 
CD, it works fine. Under version 8, I've tried installing from ports and 
packages, and I get this problem.

When I first had this problem, I was running it under VirtualBox, so I thought 
maybe it was because VirtualBox's FreeBSD support is incomplete. But now I've 
tried it on real PC hardware, and I have the same problem.

Obviously some people must be running X under FreeBSD 8, so I must be doing 
something wrong in my installation or configuration, but I can't guess what it 
is.

Andy Balholm
(509) 276-2065
a...@balholm.com

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


X11 problem

2010-06-22 Thread Gary Kline

guys,
what do i need to rebuild to fix this problem to get X working on my
server::


ethic# startx
xauth:  creating new authority file /root/.serverauth.1054

/libexec/ld-elf.so.1: Shared object libhal.so.1 not found, required by X
giving up.
xinit:  No such file or directory (errno 2):  unable to connect to X
server
xinit:  No such process (errno 3):  Server error.
ethic# 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

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


Re: X11 problem

2010-06-22 Thread Dan Nelson
In the last episode (Jun 22), Gary Kline said:
 
 guys,
 what do i need to rebuild to fix this problem to get X working on my
 server::
 
 ethic# startx
 xauth:  creating new authority file /root/.serverauth.1054
 
 /libexec/ld-elf.so.1: Shared object libhal.so.1 not found, required by X 
 giving up.
 xinit:  No such file or directory (errno 2):  unable to connect to X server
 xinit:  No such process (errno 3):  Server error.
 ethic# 

Looks like you buid X with hal support, then deleted hal.  Either install
port/sysutils/hal, or run make config in ports/x11-servers/xorg-server,
uncheck hal support, and reinstall.

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


Re: X11 problem

2010-06-22 Thread Glen Barber

On 6/22/10 2:39 PM, Gary Kline wrote:


guys,
what do i need to rebuild to fix this problem to get X working on my
server::


ethic# startx
xauth:  creating new authority file /root/.serverauth.1054

/libexec/ld-elf.so.1: Shared object libhal.so.1 not found, required by X
giving up.


Have you tried rebuilding sysutils/hal?

Regards,

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


Re: X11 problem

2010-06-22 Thread Maciej Suszko
Gary Kline kl...@thought.org wrote:
 
 guys,
 what do i need to rebuild to fix this problem to get X working on my
 server::
 
 
 ethic# startx
 xauth:  creating new authority file /root/.serverauth.1054
 
 /libexec/ld-elf.so.1: Shared object libhal.so.1 not found, required
 by X giving up.
 xinit:  No such file or directory (errno 2):  unable to connect to X
 server
 xinit:  No such process (errno 3):  Server error.
 ethic# 

You can use ldd to find binaries/libraries linked against nonexistent
libs:

find /usr/local -type f | xargs ldd

then check the output for not found string, find the file origin with
pkg_info -W /path/to/file, finally rebuild the package.
-- 
regards, Maciej Suszko.


signature.asc
Description: PGP signature


System hangs during heavy sequential write to mfi device

2010-06-22 Thread Ireneusz Pluta

Hello,

I have the following LSI adapter:

# mfiutil show adapter
mfi0 Adapter:
   Product Name: MegaRAID SAS 84016E
  Serial Number: P709144809
   Firmware: 7.0.1-0075
RAID Levels: JBOD, RAID0, RAID1, RAID5, RAID6, RAID10, RAID50
 Battery Backup: present
  NVRAM: 32K
 Onboard Memory: 256M
 Minimum Stripe: 8K
 Maximum Stripe: 1M

in my:

# uname -a
FreeBSD emu.xxx.xx 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 
15:02:08 UTC 2009 
r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
with 48GB RAM, 2xXeon E  

The RAID controller has a volume of raid10, consisring of 16 2TB disks, 
256K stripe, (more disk details, as well as full dmesg.boot are included 
at the end of this message):


# mfiutil show volumes  mfiutil cache 0 
mfi0 Volumes:

 Id SizeLevel   Stripe  State   Cache   Name
mfid0 (   15T) RAID-10256K OPTIMAL Writes 
mfi0 volume mfid0 cache settings:

 I/O caching: writes
   write caching: write-back
  read ahead: none
drive write cache: default

The machine has not been put in production yet. It will be a dedicated 
PostgreSQL server. So far I am figuring out the best choice of raid and 
filesystem configuration.


When I test sequential write performance by:

# dd if=/dev/zero of=/path/to/mountpoint/bigfile bs=8k count=$bigcount,

or an appropriate fio job, then system perioduically hangs, stops 
responding for a while, and then flushes series of garbled output to the 
system log like this:


Jun 22 15:09:21 emu kernel: NM2I NISAM NIM I II3SS0A,A N  NE3MIMS0II3, 
N 0I ,ENSIMA NSI IEAMASI MI A IS3S A00 0,

Jun 22 15:09:21 emu kernel: I
Jun 22 15:09:21 emu kernel: A33
Jun 22 15:09:21 emu kernel:
Jun 22 15:09:21 emu kernel: I
Jun 22 15:09:21 emu kernel:
Jun 22 15:09:21 emu kernel: 
Jun 22 15:09:21 emu kernel: 222 00,
Jun 22 15:09:21 emu kernel:
Jun 22 15:09:21 emu kernel: 2EI2S2A 0
Jun 22 15:09:21 emu kernel: 0
Jun 22 15:09:21 emu kernel: , SE2AISA  0E 3IS0IA, S A0E
Jun 22 15:09:21 emu kernel: I
Jun 22 15:09:21 emu kernel:
Jun 22 15:09:21 emu kernel:
Jun 22 15:09:21 emu kernel: 22SA 300
Jun 22 15:09:21 emu kernel: ,
Jun 22 15:09:21 emu kernel: EISA 0
Jun 22 15:09:24 emu kernel: NMI ISA N3M0I,  IESNISAAM  0I
Jun 22 15:09:24 emu kernel: 3N
Jun 22 15:09:24 emu kernel:
Jun 22 15:09:24 emu kernel:
Jun 22 15:09:24 emu kernel: 
Jun 22 15:09:24 emu kernel: 220,N 2EN I2IMISASA  NM0 2INI
Jun 22 15:09:24 emu kernel: MS I
Jun 22 15:09:24 emu kernel: MMI3 02IS, AE A II2S 0I, AI IE0SIS
Jun 22 15:09:24 emu kernel: SS
Jun 22 15:09:24 emu kernel:
Jun 22 15:09:24 emu kernel:
Jun 22 15:09:24 emu kernel: 
Jun 22 15:09:24 emu kernel: 2A2 02
Jun 22 15:09:24 emu kernel: 2
Jun 22 15:09:24 emu kernel: A2 A200 , 22E,0I ,SE EIASI SAA  00A2
Jun 22 15:09:24 emu kernel: 0
Jun 22 15:09:24 emu kernel:
Jun 22 15:09:24 emu kernel:
Jun 22 15:09:24 emu kernel: 22,0
Jun 22 15:09:24 emu kernel: E
Jun 22 15:09:24 emu kernel: ISA 0

Sometimes, also the following messages can be seen around:

Jun 22 15:11:23 emu kernel: calcru: runtime went backwards from 956 usec 
to 437 usec for pid 14834 (su)
Jun 22 15:11:23 emu kernel: calcru: runtime went backwards from 2013 
usec to 921 usec for pid 14833 (bash)
Jun 22 15:11:23 emu kernel: calcru: runtime went backwards from 60 usec 
to 27 usec for pid 14831 (screen)
Jun 22 15:11:23 emu kernel: calcru: runtime went backwards from 1159 
usec to 753 usec for pid 14830 (screen)
Jun 22 15:11:23 emu kernel: calcru: runtime went backwards from 5149 
usec to 2792 usec for pid 12477 (bash)
Jun 22 15:11:23 emu kernel: calcru: runtime went backwards from 58987 
usec to 37622 usec for pid 12477 (bash)
Jun 22 15:11:23 emu kernel: calcru: runtime went backwards from 26566 
usec to 13431 usec for pid 12095 (bash)
Jun 22 15:11:23 emu kernel: calcru: runtime went backwards from 
487938869 usec to 223259876 usec for pid 12095 (bash)
Jun 22 15:11:23 emu kernel: calcru: runtime went backwards from 1038 
usec to 475 usec for pid 12094 (su)
Jun 22 15:11:23 emu kernel: calcru: runtime went backwards from 2026 
usec to 927 usec for pid 12076 (bash)


(they do not seem to be caused just by the situation explained in the 
FAQ: 
http://www.freebsd.org/doc/en/books/faq/troubleshoot.html#CALCRU-NEGATIVE-RUNTIME, 
as I already followed that tip and disabled the speed step option in BIOS)


It also seems that with stripe sizes lower than 128k, like 64k, the 
problem does not appear. However I need to confirm that with some more 
extensive tests.


Could anyone point me to a resolution of the problem?


Thanks

Irek.

PS.

more detailed raid config, and dmesg.boot follows:

# mfiutil show config
mfi0 Configuration: 8 arrays, 1 volumes, 0 spares
   array 0 of 2 drives:
   drive 16 ( 1863G) ONLINE WDC WD2002FYPS-0 5G05 
serial=WD-WCAVY2857138 SATA enclosure 1, slot 0
   drive 24 ( 1863G) ONLINE WDC WD2002FYPS-0 5G05 
serial=WD-WCAVY2764110 SATA enclosure 2, slot 0

   array 1 of 2 drives:
   drive 17 ( 1863G) ONLINE WDC WD2002FYPS-0 5G05 
serial=WD-WCAVY2862206 

Re: iptables equivaelnt

2010-06-22 Thread Erik Norgaard

On 21/06/10 20.06, pete wright wrote:

On Jun 21, 2010, at 10:28 AM, Jean-Paul Natola wrote:

I'm particuclary trying to implement some  type of rate control as we are 
getting hammered by spam.


I'd humbly suggest pf + spamd if you are concerned specifically about
stopping spam, both are supported by freebsd and i have had great
success using these tools to combat spam.


spamd does not stop spam. It is intented to increase the cost of sending 
spam at little cost to your server by keeping the spammer busy trying.


If you're concerned with blocking spam from a limited set of known 
sources, then you can create block lists in your firewall. If you know 
that you will not receive legitimate mails from certain countries, you 
can block their assigned IP ranges.


If you're trying to block large number of unknown sources, then I 
suggest subscribing to spamhaus' lists and configure your server to 
adhere strictly to the protocols.


You may wish to subscribe to lists of dynamic ip-ranges. These are often 
considered spam sources hosting a large number of bot-nets  However, you 
may also block mail from legitimate servers run by people who like to 
run their own home server - such as FreeBSD users.


There is only limited benefit of some kind of rate control and I believe 
that such controls must be implemented in your mail server. Implementing 
rate control mail also delay legitimate mail, and depending on how you 
do it, spammers may even cause a DOS against your server.


Anyway, to avoid spammers eating up server resources, check your server 
config:


1. ensure that the spam decision is reached as fast as possible
2. consider early whitelisting of the most common legitimate mail sources
3. DNS block lists should be last as they add additional delay, possibly 
you can configure a local dns cache to shorten delay


BR, Erik
--
Erik Nørgaard
Ph: +34.666334818/+34.915211157  http://www.locolomo.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: X not responding

2010-06-22 Thread Glen Barber

On 6/22/10 1:52 PM, Andy Balholm wrote:

I am having a problem with Xorg under FreeBSD 8.0 RELEASE and 8.1 RC1:

When I type startx, the X server starts, and some xterm windows open, but it 
will not respond to keyboard or mouse input. The mouse pointer won't move, and 
the only keyboard input that does anything is CTRL-ALT-F1 etc. to switch 
virtual terminals.

If I install FreeBSD 7.1, which installs Xorg straight from the installation 
CD, it works fine. Under version 8, I've tried installing from ports and 
packages, and I get this problem.

When I first had this problem, I was running it under VirtualBox, so I thought 
maybe it was because VirtualBox's FreeBSD support is incomplete. But now I've 
tried it on real PC hardware, and I have the same problem.

Obviously some people must be running X under FreeBSD 8, so I must be doing 
something wrong in my installation or configuration, but I can't guess what it 
is.



Try adding the following to xorg.conf:

Section ServerFlags
option AllowEmptyInput off
option AutoAddDevices off
EndSection

Regards,

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


Re: X not responding

2010-06-22 Thread Warren Block

On Tue, 22 Jun 2010, Andy Balholm wrote:


I am having a problem with Xorg under FreeBSD 8.0 RELEASE and 8.1 RC1:

When I type startx, the X server starts, and some xterm windows open, 
but it will not respond to keyboard or mouse input. The mouse pointer 
won't move, and the only keyboard input that does anything is 
CTRL-ALT-F1 etc. to switch virtual terminals.


Enable dbus and hal in rc.conf as shown here:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html

If you want to use X without hal for input device detection, add
Option AutoAddDevices Off to the ServerLayout section.  Do not set the 
AllowEmptyInput option, it is unnecessary and problematic.  Or you can 
configure the xorg-server port without hal.

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


Re: X not responding

2010-06-22 Thread Andy Balholm
Thanks. That fixed it. I guess I should have read the handbook more.

Andy Balholm
(509) 276-2065
a...@balholm.com

On Jun 22, 2010, at 12:46 PM, Warren Block wrote:

 On Tue, 22 Jun 2010, Andy Balholm wrote:
 
 I am having a problem with Xorg under FreeBSD 8.0 RELEASE and 8.1 RC1:
 
 When I type startx, the X server starts, and some xterm windows open, but it 
 will not respond to keyboard or mouse input. The mouse pointer won't move, 
 and the only keyboard input that does anything is CTRL-ALT-F1 etc. to switch 
 virtual terminals.
 
 Enable dbus and hal in rc.conf as shown here:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
 
 If you want to use X without hal for input device detection, add
 Option AutoAddDevices Off to the ServerLayout section.  Do not set the 
 AllowEmptyInput option, it is unnecessary and problematic.  Or you can 
 configure the xorg-server port without hal.
 

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


.sh ip address

2010-06-22 Thread Aiza
I looking to take the last group number in a ip address and bump the 
number by 1.

BY the way is there some name for each group of numbers in the ip address?

Something like.

org_ip=10.0.10.2
short_ip=need command to strip off the 2 so short_ip contains 10.0.10.
and ip_suffix= ends up holding the 2, then add 1 to the ip_suffix.
ip_suffix=$(( ${ip_suffix + 1 ))
org_ip=${short_ip}${ip_suffix}

Thinking there must be some common way of manipulating ip addresses that 
I just don't know about.


Thanks for your help.

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


Re: .sh ip address

2010-06-22 Thread Olivier Nicole
Hi,

 I looking to take the last group number in a ip address 

I would do that with cut(1), setting the dot as the feild delimiter.

bests,

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


Re: .sh ip address

2010-06-22 Thread George Davidovich
On Wed, Jun 23, 2010 at 10:31:51AM +0800, Aiza wrote:
 I looking to take the last group number in a ip address and bump the
 number by 1.  BY the way is there some name for each group of numbers in
 the ip address?

Octet.
 
 Something like.
 
 org_ip=10.0.10.2
 short_ip=need command to strip off the 2 so short_ip contains 10.0.10.
 and ip_suffix= ends up holding the 2, then add 1 to the ip_suffix.
 ip_suffix=$(( ${ip_suffix + 1 ))
 org_ip=${short_ip}${ip_suffix}
 
 Thinking there must be some common way of manipulating ip addresses that
 I just don't know about.

man sh | less -pParameter Expansion

org_ip=10.0.10.2 
${org_ip##*.}   # yields 2
${org_ip%.*}# yields 10.0.10

Do read the manpage.

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


Copy a FreeBSD 8* install to larger HD

2010-06-22 Thread Al Plant

Aloha,

I am looking for the easiest way to copy a fresh working FreeBSD 8* HD 
install (Manolis version) to a bigger HD that I found.


I plan to have the new  HD in the same box for doing this copy.

Can I use sysinstall to make the new default slices on the big HD and 
then move the OS and directories/files to them?


What command (utility) do I use? dd or cp or some other to copy the files.

Thanks

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

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


Re: Copy a FreeBSD 8* install to larger HD

2010-06-22 Thread Warren Block

On Tue, 22 Jun 2010, Al Plant wrote:

I am looking for the easiest way to copy a fresh working FreeBSD 8* HD 
install (Manolis version) to a bigger HD that I found.


I plan to have the new  HD in the same box for doing this copy.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: NFSv4 status

2010-06-22 Thread Joe Auty
Anybody?

Joe Auty wrote:
 Hello,

 I'm a little confused as to where NFSv4 is at... Is the client stable
 and considered ready for production use? If so, as of what OS version?
 The man page for nfsv4 listed here:
 http://www.freebsd.org/cgi/man.cgi?query=nfsv4sektion=4  still lists
 this as experimental, however the bottom of this page has a signature
 for FBSD 7.2

 Can somebody kindly clarify as to where NFSv4 support is at, whether it
 is still considered experimental, what the roadmap for it is (if
 applicable), etc.?

 Thanks in advance!


   


-- 
Joe Auty, NetMusician
NetMusician helps musicians, bands and artists create beautiful,
professional, custom designed, career-essential websites that are easy
to maintain and to integrate with popular social networks.
www.netmusician.org http://www.netmusician.org
j...@netmusician.org mailto:j...@netmusician.org

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


Re: Copy a FreeBSD 8* install to larger HD

2010-06-22 Thread Kevin Kinsey

Al Plant wrote:

Aloha,

I am looking for the easiest way to copy a fresh working FreeBSD 8* HD 
install (Manolis version) to a bigger HD that I found.


I plan to have the new  HD in the same box for doing this copy.

Can I use sysinstall to make the new default slices on the big HD and 
then move the OS and directories/files to them?


Last time I did this, it worked fine ... just make sure the slices (right 
term?)
correspond with your /etc/fstab, or you'll end up in single user or even
stuck at a boot prompt with the new drive the first time out.


What command (utility) do I use? dd or cp or some other to copy the files.


I'd recommend dump and restore ... possibly piping dump *to* restore,
something like:

dump -0 -a -L -u -f - /usr | ( cd /newusr ; restore -ruf - )

HTH.


Thanks



You're welcome :-)

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


Re: Copy a FreeBSD 8* install to larger HD

2010-06-22 Thread Antonio Olivares
Al and others,

One solution or way to do it would be to get Clonezilla Live CD

http://clonezilla.org/clonezilla-live/

Connect both hard drives check carefully which one is the smaller one
and select it as the source, and copy it exactly as it is.  Let
clonezilla do its thing. When finished, shutdown the machine and
unplug the old/smaller hard drive and leave the other one plugged in
and start the machine.  Everything should work normally.

HTH,

Antonio

On 6/22/10, Kevin Kinsey k...@daleco.biz wrote:
 Al Plant wrote:
 Aloha,

 I am looking for the easiest way to copy a fresh working FreeBSD 8* HD
 install (Manolis version) to a bigger HD that I found.

 I plan to have the new  HD in the same box for doing this copy.

 Can I use sysinstall to make the new default slices on the big HD and
 then move the OS and directories/files to them?

 Last time I did this, it worked fine ... just make sure the slices (right
 term?)
 correspond with your /etc/fstab, or you'll end up in single user or even
 stuck at a boot prompt with the new drive the first time out.

 What command (utility) do I use? dd or cp or some other to copy the files.

 I'd recommend dump and restore ... possibly piping dump *to* restore,
 something like:

 dump -0 -a -L -u -f - /usr | ( cd /newusr ; restore -ruf - )

 HTH.

 Thanks


 You're welcome :-)

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

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


sshd / tcp packet corruption ?

2010-06-22 Thread Martin Minkus
It seems this issue I reported below may actually be related to some
kind of TCP packet corruption ?

 

Still same box. I’ve noticed my SSH connections into the box will die
randomly, with errors.

 

Sshd logs the following on the box itself:

 

Jun 18 11:15:32 kinetic sshd[1406]: Received disconnect from
10.64.10.251: 2: Invalid packet header.  This probably indicates a
problem with key exchange or encryption. 

Jun 18 11:15:41 kinetic sshd[15746]: Accepted publickey for martinm from
10.64.10.251 port 56469 ssh2

Jun 18 11:15:58 kinetic su: nss_ldap: could not get LDAP result - Can't
contact LDAP server

Jun 18 11:15:58 kinetic su: martinm to root on /dev/pts/0

Jun 18 11:16:06 kinetic su: martinm to root on /dev/pts/1

Jun 18 11:16:29 kinetic sshd[15748]: Received disconnect from
10.64.10.251: 2: Invalid packet header.  This probably indicates a
problem with key exchange or encryption. 

Jun 18 11:16:30 kinetic sshd[15746]: syslogin_perform_logout: logout()
returned an error

Jun 18 11:16:34 kinetic sshd[16511]: Accepted publickey for martinm from
10.64.10.251 port 56470 ssh2

Jun 18 11:16:41 kinetic sshd[16513]: Received disconnect from
10.64.10.251: 2: Invalid packet header.  This probably indicates a
problem with key exchange or encryption. 

Jun 18 11:16:41 kinetic sshd[16511]: syslogin_perform_logout: logout()
returned an error

 

Jun 23 15:52:59 kinetic sshd[56974]: Received disconnect from
10.64.10.209: 5: Message Authentication Code did not verify (packet
#75658). Data integrity has been compromised. 

Jun 23 15:53:12 kinetic sshd[57109]: Accepted publickey for martinm from
10.64.10.209 port 9494 ssh2

Jun 23 15:53:38 kinetic su: martinm to root on /dev/pts/3

Jun 23 15:56:36 kinetic sshd[57111]: Received disconnect from
10.64.10.209: 2: Invalid packet header.  This probably indicates a
problem with key exchange or encryption. 

Jun 23 15:56:44 kinetic sshd[57151]: Accepted publickey for martinm from
10.64.10.209 port 9534 ssh2

 

My googlefu has failed me on this.

 

Any ideas what on earth this could be ?

 

Ethernet card?

 

em0: Intel(R) PRO/1000 Legacy Network Connection 1.0.1 port
0xcc00-0xcc3f mem 0xfdfe-0xfdff,0xfdfc-0xfdfd irq 17 at
device 7.0 on pci1

em0: [FILTER]

em0: Ethernet address: 00:0e:0c:6b:d6:d3

 

em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu
1500

 
options=209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC


ether 00:0e:0c:6b:d6:d3

inet 10.64.10.10 netmask 0xff00 broadcast 10.64.10.255

media: Ethernet autoselect (1000baseT full-duplex)

status: active

 

Thanks,

Martin.

 

 

From: Martin Minkus 
Sent: Monday, 14 June 2010 11:21
To: freebsd-questions@freebsd.org
Subject: FreeBSD+ZFS+Samba: open_socket_in: Protocol not supported -
after a few days?

 

Samba 3.4 on FreeBSD 8-STABLE branch.

After a few days I start getting weird errors and windows PC's can't
access the samba share, have trouble accessing files, etc, and samba
becomes totally unusable.

Restarting samba doesn't fix it – only a reboot does.

 

Accessing files on the ZFS pool locally is fine. Other services (like
dhcpd, openldap server) on the box continue to work fine. Only samba
dies and by dies I mean it can no longer service clients and windows
brings up bizarre errors. Windows can access our other samba servers (on
linux, etc) just fine.

Kernel:

 

FreeBSD kinetic.pulse.local 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #4:
Wed May 26 18:09:14 NZST 2010
mart...@kinetic.pulse.local:/usr/obj/usr/src/sys/PULSE amd64

 

Zpool status:

 

kinetic:~$ zpool status

  pool: pulse

 state: ONLINE

 scrub: none requested

config:

 

NAME  STATE READ
WRITE CKSUM

pulse ONLINE   0
0 0

  raidz1  ONLINE   0
0 0

gptid/3baa4ef3-3ef8-0ac0-f110-f61ea23352  ONLINE   0
0 0

gptid/0eaa8131-828e-6449-b9ba-89ac63729d  ONLINE   0
0 0

gptid/77a8da7c-8e3c-184c-9893-e0b12b2c60  ONLINE   0
0 0

gptid/dddb2b48-a498-c1cd-82f2-a2d2feea01  ONLINE   0
0 0

 

errors: No known data errors

kinetic:~$


log.smb:

[2010/06/10 17:22:39, 0] lib/util_sock.c:902(open_socket_in)
open_socket_in(): socket() call failed: Protocol not supported
[2010/06/10 17:22:39, 0] smbd/server.c:457(smbd_open_one_socket)
smbd_open_once_socket: open_socket_in: Protocol not supported
[2010/06/10 17:22:39, 2] smbd/server.c:676(smbd_parent_loop)
waiting for connections

log.ANYPC:

[2010/06/08 19:55:55, 0] lib/util_sock.c:1491(get_peer_addr_internal)
getpeername failed. Error was Socket is not connected
read_fd_with_timeout: client 0.0.0.0 read error = Socket is not
connected.


The code in lib/util_sock.c, around line 902:

/***
*
Open 

RE: sshd / tcp packet corruption ?

2010-06-22 Thread Martin Minkus
So definitely some kind of packet corruption;

 

Using netcat to send a single megabyte of binary data to a box with no
known issues (from kinetic - steel):

 

kinetic:/tmp$ dd if=/dev/urandom of=random.testfile bs=1k count=1k

1024+0 records in

1024+0 records out

1048576 bytes transferred in 0.018347 secs (57152372 bytes/sec)

 

kinetic:/tmp$ md5 random.testfile 

MD5 (random.testfile) = 9be700336ef81e8f89c60422fc795877

 

kinetic:/tmp$ nc steel 1234 -v -O 4096  random.testfile

Connection to steel 1234 port [tcp/*] succeeded!

kinetic:/tmp$ nc steel 1234 -v -O 4096  random.testfile

Connection to steel 1234 port [tcp/*] succeeded!

kinetic:/tmp$ nc steel 1234 -v -O 4096  random.testfile

Connection to steel 1234 port [tcp/*] succeeded!

kinetic:/tmp$ nc steel 1234 -v -O 4096  random.testfile

Connection to steel 1234 port [tcp/*] succeeded!

kinetic:/tmp$ nc steel 1234 -v -O 4096  random.testfile

Connection to steel 1234 port [tcp/*] succeeded!

kinetic:/tmp$ nc steel 1234 -v -O 4096  random.testfile

Connection to steel 1234 port [tcp/*] succeeded!

kinetic:/tmp$ nc steel 1234 -v -O 4096  random.testfile

Connection to steel 1234 port [tcp/*] succeeded!

kinetic:/tmp$ nc steel 1234 -v -O 4096  random.testfile

Connection to steel 1234 port [tcp/*] succeeded!

kinetic:/tmp$ nc steel 1234 -v -O 4096  random.testfile

Connection to steel 1234 port [tcp/*] succeeded!

kinetic:/tmp$ nc steel 1234 -v -O 4096  random.testfile

Connection to steel 1234 port [tcp/*] succeeded!

kinetic:/tmp$ nc steel 1234 -v -O 4096  random.testfile

Connection to steel 1234 port [tcp/*] succeeded!

kinetic:/tmp$ nc steel 1234 -v -O 4096  random.testfile

Connection to steel 1234 port [tcp/*] succeeded!

kinetic:/tmp$ nc steel 1234 -v -O 4096  random.testfile

Connection to steel 1234 port [tcp/*] succeeded!

kinetic:/tmp$ nc steel 1234 -v -O 4096  random.testfile

Connection to steel 1234 port [tcp/*] succeeded!

kinetic:/tmp$ nc steel 1234 -v -O 4096  random.testfile

Connection to steel 1234 port [tcp/*] succeeded!

kinetic:/tmp$ nc steel 1234 -v -O 4096  random.testfile

Connection to steel 1234 port [tcp/*] succeeded!

kinetic:/tmp$ 

 

 

whilst on steel: (a stable linux box kinetic is MEANT to be replacing)

 

ff8a336e2be0c5c645e9f8a2dea67eea  random.testfile

fae5da747c7857d1d87870c05db1f152  random.testfile

a36c7166631ca10c460e323e39071094  random.testfile

50a8f005a772f9321243215d1ea1adb6  random.testfile

5da41b6f475f4655572df8c9bd81e181  random.testfile

3104dd30179bf870e8ec6ef91c34d78f  random.testfile

274a16890cf39c3089d8f0eda253f5fd  random.testfile

e8d0bae998340252c6c67529d520feb4  random.testfile

6d5377ca4545f98a55c017f518567092  random.testfile

6b464f810fe1c2902694a7817f881906  random.testfile

8912007161ececdb3e23a0018af36c36  random.testfile

3f4e17d5a939cd8dfd0941c898c5ac5f  random.testfile

9db926ba5f5f39dddcc0607983ed96f0  random.testfile

835de68b981bf6cb871ebb2ce81404e1  random.testfile

a211a3260d9c8ae595782d254798cacf  random.testfile

030e08f1d3d0fb761046f66c888fdea2  random.testfile

 

If I reboot kinetic and try one last time:

 

9be700336ef81e8f89c60422fc795877  random.testfile

 

Notice that is now the CORRECT checksum on steel.

 

Kinetic’s samba, sshd, etc will play nice for a day or so before
returning to corrupting packets.

 

So any idea ? Why would my packets start getting corrupted after a
couple days use?

 

This box just runs isc-dhcpd, openldap-server, samba34, and ZFS (the
real reason its replacing the Linux box.)

 

Thanks,

Martin.

 

From: Martin Minkus 
Sent: Wednesday, 23 June 2010 16:01
To: freebsd-questions@freebsd.org
Subject: sshd / tcp packet corruption ?

 

It seems this issue I reported below may actually be related to some
kind of TCP packet corruption ?

 

Still same box. I’ve noticed my SSH connections into the box will die
randomly, with errors.

 

Sshd logs the following on the box itself:

 

Jun 18 11:15:32 kinetic sshd[1406]: Received disconnect from
10.64.10.251: 2: Invalid packet header.  This probably indicates a
problem with key exchange or encryption. 

Jun 18 11:15:41 kinetic sshd[15746]: Accepted publickey for martinm from
10.64.10.251 port 56469 ssh2

Jun 18 11:15:58 kinetic su: nss_ldap: could not get LDAP result - Can't
contact LDAP server

Jun 18 11:15:58 kinetic su: martinm to root on /dev/pts/0

Jun 18 11:16:06 kinetic su: martinm to root on /dev/pts/1

Jun 18 11:16:29 kinetic sshd[15748]: Received disconnect from
10.64.10.251: 2: Invalid packet header.  This probably indicates a
problem with key exchange or encryption. 

Jun 18 11:16:30 kinetic sshd[15746]: syslogin_perform_logout: logout()
returned an error

Jun 18 11:16:34 kinetic sshd[16511]: Accepted publickey for martinm from
10.64.10.251 port 56470 ssh2

Jun 18 11:16:41 kinetic sshd[16513]: Received disconnect from
10.64.10.251: 2: Invalid packet header.  This probably indicates a
problem with key exchange or encryption. 

Jun 18 11:16:41 kinetic sshd[16511]: 

before i even =touch= my server again....

2010-06-22 Thread Gary Kline

a friend was over to help with things; among them was the fact that 
for unknown reasons, my KVM wired don't worse consistantly from my
single keyboad to my [new{2009}] server.  things happened so that we
didn't double-check before my friend left.  

mail broke for unknown reasons.  i KVM'd into ethic and fired up
dovecot.  no-joy.  then i figured a theraputic reboot was in order. 
Disaster.  all hell broke loose.  i lost keyboard connection to ethic
and coul not ssh in from tao.   long-story-short, after bugging my wife
to reboot umpteen time i got under desk four or five time and got ethic
limping along.   fsck seemed to fix most slices, but a check as root 
told me the /var was//IS still dirty.   Q:  how can i umount /var 
and run fsck -y without going single-user?  remember that in order to 
regain keyboard control of ethic i have to crawl under deskm, muck
around, etc.

an hour+ ago i tried to umount /var AND umount /dev/ad4s2d and keep
getting a busy.  for obvious reasons that my logs are being written to
constantly.  how does fsck work, backgrounded? 

[[note that shutting of /etc/mail wouldn't work because my /var/log
directory is constantly filling up with the kiddie cracker output.]]

thanks for any ideas,

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

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