Re: cause of reboot

2013-09-30 Thread Jason Hellenthal
Did you check for the command reboot in all of the periodic scripts and cron 
jobs as well as the command shutdown ?



On Sep 30, 2013, at 10:24, Emre Çamalan mail...@yandex.com wrote:

Hi,
my server reboots every night and same o'clock last 10 days. But this machine's 
uptime was 96days.

Suddenly reboot this machine and now this continue every night again and again.

I didn't find any reason and I didn't change anything else.

I looked last command, 
reboot ~ ~   AM 03.15  ~


I checked dmesg -a , it has only generic things no other things.

I checked /var/log/messages

I wrote script and checked swapinfo , cpu and memory but all of them was normal 
before reboot.

I checked crontab and scripts.

I checked crashinfo  but no dump from kernel.

I didn't find any useful info from this commands.

I checked praudit /var/audir/20130930..CrashRecovery
and I didn't understand very well from this file but I think this means my 
machine crash and reboot isn't it??

And How can I understand what is the reason of rebooting my FreeBSD8.3 server.

Please help I need to find cause of reboot..
___
freebsd-hack...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


smime.p7s
Description: S/MIME cryptographic signature


Re: Vulnerability

2013-09-30 Thread Jason Birch
This was announced on security-advisor...@freebsd.org on September 10th,
2013.

The relevant commits, as taken from the announcement, are:

Branch/path  Revision
- -
stable/8/ r255445
releng/8.3/   r255446
releng/8.4/   r255447
stable/9/ r255443
releng/9.1/   r255448
releng/9.2/   r255444
- -


On Tue, Oct 1, 2013 at 12:05 AM, Jerry je...@seibercom.net wrote:

 Has this been rectified:
 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2013-5710

 --
 Jerry ♔

 Disclaimer: off-list followups get on-list replies or get ignored.
 Please do not ignore the Reply-To header.
 __

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

Re: cause of reboot

2013-09-30 Thread Jason Hellenthal
And /etc/ ?
And /var/cron ?



On Sep 30, 2013, at 11:00, Emre Çamalan mail...@yandex.com wrote:

Yes I checked also it , such as ;
grep -i 'reboot' /root/scripts/* -R
grep -i 'halt' /root/scripts/* -R
grep -i 'shutdown' /root/scripts/* -R


30.09.2013, 17:33, Jason Hellenthal jhellent...@dataix.net:
 Did you check for the command reboot in all of the periodic scripts and cron 
 jobs as well as the command shutdown ?
 
 On Sep 30, 2013, at 10:24, Emre Çamalan mail...@yandex.com wrote:
 
 Hi,
 my server reboots every night and same o'clock last 10 days. But this 
 machine's uptime was 96days.
 
 Suddenly reboot this machine and now this continue every night again and 
 again.
 
 I didn't find any reason and I didn't change anything else.
 
 I looked last command,
 reboot ~ ~   AM 03.15  ~
 
 I checked dmesg -a , it has only generic things no other things.
 
 I checked /var/log/messages
 
 I wrote script and checked swapinfo , cpu and memory but all of them was 
 normal before reboot.
 
 I checked crontab and scripts.
 
 I checked crashinfo  but no dump from kernel.
 
 I didn't find any useful info from this commands.
 
 I checked praudit /var/audir/20130930..CrashRecovery
 and I didn't understand very well from this file but I think this means my 
 machine crash and reboot isn't it??
 
 And How can I understand what is the reason of rebooting my FreeBSD8.3 server.
 
 Please help I need to find cause of reboot..
 ___
 freebsd-hack...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
 To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


smime.p7s
Description: S/MIME cryptographic signature


Re: cause of reboot

2013-09-30 Thread Jason Hellenthal
Also  . . . grep -ri  . . . 



On Sep 30, 2013, at 11:06, Jason Hellenthal jhellent...@dataix.net wrote:

And /etc/ ?
And /var/cron ?



On Sep 30, 2013, at 11:00, Emre Çamalan mail...@yandex.com wrote:

Yes I checked also it , such as ;
grep -i 'reboot' /root/scripts/* -R
grep -i 'halt' /root/scripts/* -R
grep -i 'shutdown' /root/scripts/* -R


30.09.2013, 17:33, Jason Hellenthal jhellent...@dataix.net:
 Did you check for the command reboot in all of the periodic scripts and cron 
 jobs as well as the command shutdown ?
 
 On Sep 30, 2013, at 10:24, Emre Çamalan mail...@yandex.com wrote:
 
 Hi,
 my server reboots every night and same o'clock last 10 days. But this 
 machine's uptime was 96days.
 
 Suddenly reboot this machine and now this continue every night again and 
 again.
 
 I didn't find any reason and I didn't change anything else.
 
 I looked last command,
 reboot ~ ~   AM 03.15  ~
 
 I checked dmesg -a , it has only generic things no other things.
 
 I checked /var/log/messages
 
 I wrote script and checked swapinfo , cpu and memory but all of them was 
 normal before reboot.
 
 I checked crontab and scripts.
 
 I checked crashinfo  but no dump from kernel.
 
 I didn't find any useful info from this commands.
 
 I checked praudit /var/audir/20130930..CrashRecovery
 and I didn't understand very well from this file but I think this means my 
 machine crash and reboot isn't it??
 
 And How can I understand what is the reason of rebooting my FreeBSD8.3 server.
 
 Please help I need to find cause of reboot..
 ___
 freebsd-hack...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
 To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


smime.p7s
Description: S/MIME cryptographic signature


Re: ipfw confusion

2013-08-19 Thread Jason Cox
Are you sure that your DNS requests are over TCP? DNS primarily uses UDP to
serve requests. TCP is used when the response data size exceeds 512 bytes
(I think), or for tasks such as zone transfers. I know a few resolver
implementations use TCP for all queries, but most I have used not. You
might want to add rules to allow UDP as well.


On Sun, Aug 18, 2013 at 11:06 PM, Gary Aitken vagab...@blackfoot.netwrote:

 I'm having some weird ipfw behavior, or it seems weird to me, and am
 looking
 for an explaination and then a way out.

 ipfw list
 ...
 21109 allow tcp from any to 12.32.44.142 dst-port 53 in via tun0 setup
 keep-state
 21129 allow tcp from any to 12.32.36.65 dst-port 53 in via tun0 setup
 keep-state
 ...
 65534 deny log logamount 5 ip from any to any

 tail -f messages
 Aug 18 23:33:06 nightmare named[914]: client 188.231.152.46#63877: error
 sending response: permission denied

 12.32.36.65 is the addr of the internal interface (xl0) on the firewall
   and is the public dns server.
 12.32.44.142 is the addr of the external interface (tun0) which is bridged
 on a
 dsl line.

 It appears that a dns request was allowed in, but the response was not
 allowed
 back out.  It seems to me the above rules 21109 and 21129 should have
 allowed
 the request in and the response back out.

 It's possible a request could come in on 12.32.44.142,
 which is why 21109 is present;
 although I know I am getting failures to reply to refresh requests
 from a secondary addressed to 12.32.36.65

 What am I missing?

 Is there a problem if the incoming rule is for tun0,
 which gets passed to named
 since 12.32.44.142 is on the physical machine running named,
 but named pumps its response out on 12.32.36.65,
 relying on routing to get it to the right place,
 and that fails to match the state tracking mechanism
 which started with 12.32.44.142?
 ___
 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




-- 
Jason Cox
___
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: Delete a directory, crash the system

2013-07-27 Thread Jason Lenthe
On 07/27/2013 11:30, David Noel wrote:
 -- it's a laptop and I've inadvertently run the battery down to
 nothing a few times in the past. All the same, it was a very strange
 experience. I would not have expected a kernel panic from a simple rm
 -rf!

You may want to look into running fsck(8) and its myriad of options to
try to clean up the problem (assuming you're using a ufs filesystem also
see fsck_ufs(8)).  fsck normally runs during startup but perhaps a set
of non-default options will do the trick.

Also make sure you have soft updates enabled on your filesystem and
preferably journaled soft updates, if for some odd reason you don't, as
that is designed to avoid filesystem inconsistencies in the face of
things like power failures.

Sincerely,
Jason

___
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: How can I remove one interface from lagg, without destroying all lagg?

2013-07-24 Thread Jason Hellenthal
Use -laggport portN

-- 
 Jason Hellenthal
 Inbox: jhellent...@dataix.net
 Voice: +1 (616) 953-0176
 JJH48-ARIN


On Jul 24, 2013, at 5:14, Alex Liptsin al...@mellanox.com wrote:

 Hi.
 
 I have lagg interface created on my server:
 
 [root@h-qa-094 ~]$ ifconfig lagg0
 lagg0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 1500

 options=401bbRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO
ether 00:02:c9:19:82:80
nd6 options=21PERFORMNUD,AUTO_LINKLOCAL
media: Ethernet autoselect
status: active
laggproto failover lagghash l2,l3,l4
laggport: igb1 flags=0
laggport: mlxen1 flags=0
laggport: mlxen0 flags=5MASTER,ACTIVE
 
 Now, I want to removr igb1 interface from that lag.
 How can I do it?
 
 
 
 
 Regards,
 Alex Liptsin
 Software Quality Assurance Engineer | Mellanox Technologies Ltd.
 Office: +972 (74) 7236141
 Mobile: +972(54) 7833986
 Fax: +972(74) 7236161
 Email: al...@mellanox.commailto:al...@mellanox.com
 Mellanox, Tel-Hai Industrial Park. Building 7, M.P. Upper Galilee 12100 Israel
 
 ___
 freebsd-...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-net
 To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org


smime.p7s
Description: S/MIME cryptographic signature


Automake won't build.

2013-07-16 Thread Jason Garrett
Hello all,

I am configuring a new system to run FreeBSD. I was in the middle of
installing lxde-meta which depends on automake. This is where the install
bails, and I'll include my uname -ar. Any help is greatly appreciated.



FreeBSD something.com 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #0 r253377: Tue
Jul 16 02:21:15 CDT 2013 r...@something.com:/usr/obj/usr/src/sys/GENERIC
 amd64



install-info --quiet /usr/local/info/automake.info /usr/local/info/dir
install-info: /usr/local/info/dir: empty file
*** [add-plist-info] Error code 1

TIA,

Jason
___
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: Automake won't build.

2013-07-16 Thread Jason Garrett
On Tue, Jul 16, 2013 at 2:39 PM, Jason Garrett kinged...@gmail.com wrote:

 Hello all,

 I am configuring a new system to run FreeBSD. I was in the middle of
 installing lxde-meta which depends on automake. This is where the install
 bails, and I'll include my uname -ar. Any help is greatly appreciated.



 FreeBSD something.com 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #0 r253377:
 Tue Jul 16 02:21:15 CDT 2013 
 r...@something.com:/usr/obj/usr/src/sys/GENERIC
  amd64



 install-info --quiet /usr/local/info/automake.info /usr/local/info/dir
 install-info: /usr/local/info/dir: empty file
 *** [add-plist-info] Error code 1

 TIA,

 Jason



The solution for this was to remove /usr/local/info/dir  and the port
installed fine. Any ideas on why this happens?
___
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: Re-add lost device entries without a reboot; troubleshoot RAID card

2013-07-15 Thread Jason Birch
On Sun, Jul 14, 2013 at 9:38 PM, Jason Birch jbi...@jbirch.net wrote:

 I have several hard drives running through an M1015 flashed to think it's
 an LSI 9211-8i IT. I've been running them successfully for the last three
 months through mps(4) as part of a raidz pool, but had the pool drop to a
 degraded state when /dev/da0 (and associated gpt device) disappeared after
 some apparent errors.

 After a reboot, I noticed that the disk that disappeared - da0 - was
 successfully probed and resilvered back in to the existing pool. I ran a
 short SMART self test and everything was fine. I ran a long SMART self test
 and the drive disappeared again towards the end of the scan (I didn't get a
 chance to view the results)

 I'd like to know if there's a way to suggest to 're-probe' connections to
 see if there are any devices that can be reconnected. It's clear that the
 drive is still around and at least partially responsive - is there a way I
 can online this disk, as just a device in its own right, such that I can
 finishing running the SMART diagnostics?

 I've read some old mentions of mps not being the most stable thing under
 load, but the mentions are over a year old. The initial failure happened
 right at the time the daily periodic was running (Which includes a check
 for negative permissions on the zfs partition) and the second failure was
 during a SMART long test, so I guess there's potential for load there.
 How might I go about diagnosing whether this is just the drive or possibly
 the card itself? I suppose the obvious Move it off the raid card is
 probably a good first start...

 $ uname -a
 FreeBSD blackfyre 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17
 11:42:37 UTC 2013 
 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
  amd64

 dmesg output when things started going south the first time:

 Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0
 5a ca e4 98 0 0 8 0 length 4096 SMID 563 terminated ioc 804b scsi 0 state c
 xfer 0
 Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0
 23 55 ec 58 0 0 8 0 length 4096 SMID 557 terminated ioc 804b scsi 0 state c
 xfer 0
 Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0
 5a d7 a7 f8 0 0 8 0 length 4096 SMID 889 terminated ioc 804b scsi 0 state c
 xfer 0
 Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0
 23 55 ec 60 0 0 8 0 length 4096 SMID 61 terminated ioc 804b scsi 0 state c
 xfer 0
 Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0
 23 55 ec 60 0 0 8 0
 Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): CAM status: SCSI
 Status Error
 Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): SCSI status: Check
 Condition
 Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): SCSI sense: UNIT
 ATTENTION asc:29,0 (Power on, reset, or bus device reset occurred)
 Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): Retrying command (per
 sense data)
 Jul 11 03:07:25 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0
 23 55 ec a0 0 0 8 0
 Jul 11 03:07:25 blackfyre kernel: (da0:mps0:0:0:0): CAM status: SCSI
 Status Error
 Jul 11 03:07:25 blackfyre kernel: (da0:mps0:0:0:0): SCSI status: Check
 Condition
 Jul 11 03:07:25 blackfyre kernel: (da0:mps0:0:0:0): SCSI sense: UNIT
 ATTENTION asc:29,0 (Power on, reset, or bus device reset occurred)
 Jul 11 03:07:25 blackfyre kernel: (da0:mps0:0:0:0): Retrying command (per
 sense data)

 Device picked up again on restart:

 Jul 14 15:04:15 blackfyre kernel: da0 at mps0 bus 0 scbus0 target 0 lun 0
 Jul 14 15:04:15 blackfyre kernel: da0: ATA ST3000DM001-9YN1 CC4H Fixed
 Direct Access SCSI-6 device
 Jul 14 15:04:15 blackfyre kernel: da0: 600.000MB/s transfers
 Jul 14 15:04:15 blackfyre kernel: da0: Command Queueing enabled
 Jul 14 15:04:15 blackfyre kernel: da0: 2861588MB (5860533168 512 byte
 sectors: 255H 63S/T 364801C)

 Device going south a second time:

 Jul 14 18:36:56 blackfyre kernel: (da0:mps0:0:0:0): READ(10). CDB: 28 0 d
 7d 76 10 0 0 38 0
 Jul 14 18:36:56 blackfyre kernel: (da0:mps0:0:0:0): CAM status: SCSI
 Status Error
 Jul 14 18:36:56 blackfyre kernel: (da0:mps0:0:0:0): SCSI status: Check
 Condition
 Jul 14 18:36:56 blackfyre kernel: (da0:mps0:0:0:0): SCSI sense: ABORTED
 COMMAND asc:47,3 (Information unit iuCRC error detected)
 Jul 14 18:36:56 blackfyre kernel: (da0:mps0:0:0:0): Retrying command (per
 sense data)
 Jul 14 18:37:02 blackfyre kernel: (da0:mps0:0:0:0): READ(10). CDB: 28 0 d
 94 b8 20 0 0 38 0
 Jul 14 18:37:02 blackfyre kernel: (da0:mps0:0:0:0): CAM status: SCSI
 Status Error
 Jul 14 18:37:02 blackfyre kernel: (da0:mps0:0:0:0): SCSI status: Check
 Condition
 Jul 14 18:37:02 blackfyre kernel: (da0:mps0:0:0:0): SCSI sense: ABORTED
 COMMAND asc:47,3 (Information unit iuCRC error detected)
 Jul 14 18:37:02 blackfyre kernel: (da0:mps0:0:0:0): Retrying command (per
 sense data)


 Culminating in the device being removed from /dev/:

 Jul 14 18:39:17 blackfyre kernel

Re: Re-add lost device entries without a reboot; troubleshoot RAID card

2013-07-15 Thread Jason Birch
On Mon, Jul 15, 2013 at 7:18 PM, Jason Birch jbi...@jbirch.net wrote:


 I should note that `camcontrol rescan 0` (Or `camcontrol rescan all`)
 won't find da0.


For those who stumble upon this thread later looking for answers, I'm
almost certain the problem I'm seeing is the same as described in
http://forums.freebsd.org/showthread.php?t=28252. I'm going to work through
some of that to see if I can fix my problem.
___
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-add lost device entries without a reboot; troubleshoot RAID card

2013-07-14 Thread Jason Birch
I have several hard drives running through an M1015 flashed to think it's
an LSI 9211-8i IT. I've been running them successfully for the last three
months through mps(4) as part of a raidz pool, but had the pool drop to a
degraded state when /dev/da0 (and associated gpt device) disappeared after
some apparent errors.

After a reboot, I noticed that the disk that disappeared - da0 - was
successfully probed and resilvered back in to the existing pool. I ran a
short SMART self test and everything was fine. I ran a long SMART self test
and the drive disappeared again towards the end of the scan (I didn't get a
chance to view the results)

I'd like to know if there's a way to suggest to 're-probe' connections to
see if there are any devices that can be reconnected. It's clear that the
drive is still around and at least partially responsive - is there a way I
can online this disk, as just a device in its own right, such that I can
finishing running the SMART diagnostics?

I've read some old mentions of mps not being the most stable thing under
load, but the mentions are over a year old. The initial failure happened
right at the time the daily periodic was running (Which includes a check
for negative permissions on the zfs partition) and the second failure was
during a SMART long test, so I guess there's potential for load there.
How might I go about diagnosing whether this is just the drive or possibly
the card itself? I suppose the obvious Move it off the raid card is
probably a good first start...

$ uname -a
FreeBSD blackfyre 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0: Mon Jun 17
11:42:37 UTC 2013
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
 amd64

dmesg output when things started going south the first time:

Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0 5a
ca e4 98 0 0 8 0 length 4096 SMID 563 terminated ioc 804b scsi 0 state c
xfer 0
Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0 23
55 ec 58 0 0 8 0 length 4096 SMID 557 terminated ioc 804b scsi 0 state c
xfer 0
Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0 5a
d7 a7 f8 0 0 8 0 length 4096 SMID 889 terminated ioc 804b scsi 0 state c
xfer 0
Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0 23
55 ec 60 0 0 8 0 length 4096 SMID 61 terminated ioc 804b scsi 0 state c
xfer 0
Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0 23
55 ec 60 0 0 8 0
Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): CAM status: SCSI Status
Error
Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): SCSI status: Check
Condition
Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): SCSI sense: UNIT
ATTENTION asc:29,0 (Power on, reset, or bus device reset occurred)
Jul 11 03:07:20 blackfyre kernel: (da0:mps0:0:0:0): Retrying command (per
sense data)
Jul 11 03:07:25 blackfyre kernel: (da0:mps0:0:0:0): WRITE(10). CDB: 2a 0 23
55 ec a0 0 0 8 0
Jul 11 03:07:25 blackfyre kernel: (da0:mps0:0:0:0): CAM status: SCSI Status
Error
Jul 11 03:07:25 blackfyre kernel: (da0:mps0:0:0:0): SCSI status: Check
Condition
Jul 11 03:07:25 blackfyre kernel: (da0:mps0:0:0:0): SCSI sense: UNIT
ATTENTION asc:29,0 (Power on, reset, or bus device reset occurred)
Jul 11 03:07:25 blackfyre kernel: (da0:mps0:0:0:0): Retrying command (per
sense data)

Device picked up again on restart:

Jul 14 15:04:15 blackfyre kernel: da0 at mps0 bus 0 scbus0 target 0 lun 0
Jul 14 15:04:15 blackfyre kernel: da0: ATA ST3000DM001-9YN1 CC4H Fixed
Direct Access SCSI-6 device
Jul 14 15:04:15 blackfyre kernel: da0: 600.000MB/s transfers
Jul 14 15:04:15 blackfyre kernel: da0: Command Queueing enabled
Jul 14 15:04:15 blackfyre kernel: da0: 2861588MB (5860533168 512 byte
sectors: 255H 63S/T 364801C)

Device going south a second time:

Jul 14 18:36:56 blackfyre kernel: (da0:mps0:0:0:0): READ(10). CDB: 28 0 d
7d 76 10 0 0 38 0
Jul 14 18:36:56 blackfyre kernel: (da0:mps0:0:0:0): CAM status: SCSI Status
Error
Jul 14 18:36:56 blackfyre kernel: (da0:mps0:0:0:0): SCSI status: Check
Condition
Jul 14 18:36:56 blackfyre kernel: (da0:mps0:0:0:0): SCSI sense: ABORTED
COMMAND asc:47,3 (Information unit iuCRC error detected)
Jul 14 18:36:56 blackfyre kernel: (da0:mps0:0:0:0): Retrying command (per
sense data)
Jul 14 18:37:02 blackfyre kernel: (da0:mps0:0:0:0): READ(10). CDB: 28 0 d
94 b8 20 0 0 38 0
Jul 14 18:37:02 blackfyre kernel: (da0:mps0:0:0:0): CAM status: SCSI Status
Error
Jul 14 18:37:02 blackfyre kernel: (da0:mps0:0:0:0): SCSI status: Check
Condition
Jul 14 18:37:02 blackfyre kernel: (da0:mps0:0:0:0): SCSI sense: ABORTED
COMMAND asc:47,3 (Information unit iuCRC error detected)
Jul 14 18:37:02 blackfyre kernel: (da0:mps0:0:0:0): Retrying command (per
sense data)


Culminating in the device being removed from /dev/:

Jul 14 18:39:17 blackfyre kernel: (noperiph:mps0:0:0:0): SMID 3 finished
recovery after aborting TaskMID 667
Jul 14 18:39:17 blackfyre kernel: mps0: mpssas_free_tm releasing simq
Jul 14 18:39:22 

Re: will freebsd run on a mac osx 10.8.4

2013-07-05 Thread Jason Birch
Maybe! Do you mean as a virtual machine, or *instead of* OS X?

If you mean as a virtual machine, almost certainly. If you mean instead of
OS X, please provide some details about the computer hardware itself. Even
When did you buy it? iMac, Mac Pro, MacBook? etc will help us answer
your question.

JB


On Thu, Jul 4, 2013 at 10:10 PM, robert reed rob777r...@gmail.com wrote:

 send reply to; rob777reed@gmail .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

___
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: Daily periodic cronjob generates core dump

2013-06-14 Thread Jason Birch


 Uhmm .. I will try it ... but for what reason??

  It would be nice to see if anything else in the crontab might be causing
it.

You can also run `periodic security` as root and see if it manfiests the
same way.
___
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: I'm having big problems with Broadcom NIC (gbe0) on HP ProLiant DL380p 128GB Ram, NIC model HP Ethernet 1Gb 4-port 331FLR, after installed it cannot use a ping command, sometime it can do that but

2013-06-11 Thread Jason Birch
On Tue, Jun 11, 2013 at 8:08 PM, Surat Sodchuen carbopol...@gmail.comwrote:

 thank for your kindness
 i tired that your suggestion but cannot resolve problem.
 for more information ...
 FreeBSD 9.1-Release on HP ProLiant DL380p Gen8 128GB of Ram
 every time when booting process it seem freezing about 15 seconds

 dmesg look like this
 .
 .
 .
 ACPI Warning: invalid length for Pm1aControlBlock: 32, using default 16
 (20110527/tbfadt-638)
 ACPI Warning: invalid length for Pm1aControlBlock: 32, using default 16
 (20110527/tbfadt-638)
 .
 .
 .
 pci0:3:0:0: failed to read VPD data.
 bge0: Broadcom unknown BCM5719, ASIC rev. 0x5719001 mem
 0xfabf-0xfabf,
 .
 .
 .
 bge0: link state changed to DOWN
 bge0: link state changed to UP
 bge0: link state changed to DOWN
 bge0: link state changed to UP
 bge0: link state changed to DOWN
 bge0: link state changed to UP
 bge0: link state changed to DOWN
 bge0: link state changed to UP
 bge0: link state changed to DOWN
 bge0: link state changed to UP
 bge0: link state changed to DOWN
 bge0: link state changed to UP
 bge0: link state changed to DOWN
 bge0: link state changed to UP
 bge0: link state changed to DOWN
 bge0: link state changed to UP
 bge0: link state changed to DOWN
 bge0: link state changed to UP
 -

 when i use a ping command it seem freezing, then after press Enter it show
 -- bge0 watchdog timeout -- resetting
 i think what happen!!! i use FreeBSD on every 4 of DL380 Gen5, but they
 are OK.

 on screen now .. showing message
 bge0: 2 link states coalesced
 bge0: 2 link states coalesced
 bge0: 2 link states coalesced
 bge0: 2 link states coalesced
 bge0: 2 link states coalesced
 bge0: 2 link states coalesced
 bge0: 2 link states coalesced


Forwarding to mailing list to keep it in the loop.

It looks like others have run into this issue, and there is an associated
bug report: http://www.freebsd.org/cgi/query-pr.cgi?pr=171121

That link contains an explanation of why my suggestion did not help, and a
suggestion to check the firmware of the controllers.. It also looks like
there's a later version of the bge driver by Pyun YongHyeon that didn't
make it into 9.1-RELEASE that might resolve your issue, were you to compile
it yourself.

Regards,
JB
___
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: I'm having big problems with Broadcom NIC (gbe0) on HP ProLiant DL380p 128GB Ram, NIC model HP Ethernet 1Gb 4-port 331FLR, after installed it cannot use a ping command, sometime it can do that but

2013-06-06 Thread Jason Birch
Please include your question as email content, not subject.

http://serverfault.com/questions/361673/hp-nc107i-bcm5723-on-freebsd-9
Indicates
you may be able to set

hw.bge.allow_asf=0

in /boot/loader.conf. Try this, and if the problem persists, please reply
with more information (FreeBSD version, etc).
___
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: BSD sleep

2013-05-29 Thread Jason Birch
 Seriously, that explanation about different hours is not enough to prevent
 at least useful option.
 like
 sleep -f 1h
 (-f means force convert, without it you can see good explanation why sleep
 for 1 hour will be not sleep for 1 hour, and etc, and not get sleep at
 all.).


Do one thing, and do it well. What you have proposed involves:
 * an additional force flag
 * interpolation of what follows the force flag (does m mean minutes, or
months?)
 * expectations around time, time zones, and what an hours is.

That fails the litmus test on complexity for me personally - it seems like
a lot of complexity for not much gain.



 P.S. There is already non-portable feature in sleep - non-integer, and I'm
 sure that no one thought about some financists from various countries, who
 used to specify long numbers with separator, e.g. 3.600, and this means for
 them one hour and not 3 point 6 seconds.


This isn't a good reason for adding another non-portable feature.
___
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


memstick serial console install is completely illegible ... am I doing something wrong ?

2013-04-29 Thread Jason Usher
I have the latest 9.1-RELEASE memstick image burned to a USB drive.

I boot from that and connect to my device with a serial console.  At some 
point, the installer asks me what terminal emulation I am using - I choose 
vt100.

But then things go to hell ...

I am not complaining that the screen draw is a bit weird, or that a lot of 
weird characters are used, etc. ... my problem is that I cannot even interact 
with it properly.  The up and down arrows seem to be interpreted as enter, 
which makes choosing menu items impossible ... the partition editor is 
completely unusable since it is getting drawn all over the screen and I can't 
use the up and down arrow keys ...

I thought vt100 would be the safest choice - what am I doing wrong here ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: C++ headers

2013-04-13 Thread Jason Lenthe
 Is it possible to get C++11 support on FreeBSD? Currently the 9.1-RELEASE has 
 some compiler C++11 capable but the /usr/include/c++ headers lacks some c++11 
 features (and missing headers).
 
 Is there any port of c++11 available?

There sure is.  Just get the latest version of gcc or clang from the
ports collection.

___
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: What is your favorite board for a micro system?

2013-03-11 Thread Jason Fortezzo
On Sat, Mar 09, 2013 at 12:53:27AM +0100, Erik N?rgaard wrote:
 What is your favorite mini/micro/nano/pico-itx platform for home projects?
 
 I currently run a home server on an Intel mini-itx board but was
 looking around for something fun to play with with the following
 specs:
 
 - mini-itx or smaller, low profile
 - fanless
 - low power 12V external PSU
 - 1 LAN, preferably 2
 - 2 USB2/3
 - Flash bootable, but with option for hdd boot
 - GPIO would be fun
 - hdmi out would be nice

I'm using the Intel DQ77KB Thin Mini ITX board and it almost meets all of your
criteria.  The heatsink has a fan but it is silent (even after 12 hours
of Prime95).  This board has AMT so when used with a vPro capable CPU
(I'm using an i7-3770S), you get all sorts of nifty OOB features.

I'm using ESXi 5.1 right now but I'm pretty sure it would boot FreeBSD
fine.

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


Re: FreeBSD as an Access Point

2012-12-21 Thread Jason Taylor
Maybe the pfSense project might have some useful info for you.
http://doc.pfsense.org/index.php/Is_there_a_Compact_Flash,_embedded_hardware,_or_Soekris_or_ALIX_version_of_pfSense%3F


On Fri, Dec 21, 2012 at 4:39 PM, Derek Funk dfu...@cox.net wrote:

 Not familiar with it my self but soekris http://search.yahoo.com/r/_**
 ylt=A0oGkkuf1tRQfAUASA5XNyoA;_**ylu=**X3oDMTE1aTNzamNlBHNlYwNzcgRwb3**
 MDMQRjb2xvA3NrMQR2dGlkA1JDRjAz**OF8yMzU-/SIG=117fj2pvu/EXP=**
 1356154655/**http%3a//soekris.**com/http://search.yahoo.com/r/_ylt=A0oGkkuf1tRQfAUASA5XNyoA;_ylu=X3oDMTE1aTNzamNlBHNlYwNzcgRwb3MDMQRjb2xvA3NrMQR2dGlkA1JDRjAzOF8yMzU-/SIG=117fj2pvu/EXP=1356154655/**http%3a//soekris.com/
 are embedded systems with BSD in mind.




 On 12/21/2012 3:12 PM, dweimer wrote:

 Just wondering if anyone has used FreeBSD (or NanoBSD) on any small form
 factor broads such as PC Engines Alix, or similar hardware.  And how well
 it has worked for them, and what hardware they used.

 I have been having a lot of performance issues with my home wireless, and
 am considering replacing the current APs early next year.  I wanted
 something a little more flexible than the standard consumer AP, without
 spending the money for a high end Cisco AP (I do realize that the hardware
 will run me in the range of their low end APs).  My early searching shows I
 should be able to get an Alix board, Wireless Card, and Antennas for around
 $300.


 __**_
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-**
 unsubscr...@freebsd.org 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


Can I migrate from ataraid to graid ?

2012-11-21 Thread Jason Usher
We created a few 8.3-RELEASE systems with boot mirrors using onboard Intel 
ICH10R.  The system picks up the mirror with ataraid and I see it in dmesg 
like this:

ar0: 114312MB DDF RAID1 status: READY

But it seems that graid is a much better option, and ataraid has problems (I am 
seeing chatter on freebsd-fs and other places about problems).

Is it possible for us to migrate this boot mirror to graid ?  Can we just leave 
the mirror as-is (since it was bios formatted) and just start using graid ?

Has anyone done this switch on a live system, or is it impossible (and we need 
to reformat and start over) ?

Thanks.
___
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: portsnap

2012-11-13 Thread Jason Garrett
On Mon, Nov 12, 2012 at 6:13 PM, ajtiM lum...@gmail.com wrote:

 On Monday 12 November 2012 17:46:44 Aldis Berjoza wrote:
  13.11.2012, 01:27, ajtiM lum...@gmail.com:
   Hi!
  
   Is it something wrong with portsnap server or is something wrong with
 my
   system. When I run portsnap...:
   portsnap fetch update
   Looking up portsnap.FreeBSD.org mirrors... 6 mirrors found.
   Fetching snapshot tag from your-org.portsnap.freebsd.org... done.
   Latest snapshot on server matches what we already have.
   No updates needed.
   Ports tree is already up to date.
  
   but on http://www.freshports.org/ are many new ports (I like update
   Sage).
  
   Thanks in advance.
  
   Mitja
 
  It takes some time for mirrors to catch up.

 But is it about 12 hours okay (maybe more)?
 Thanks.

 Mitja
 


I have the same problem going on 2 days now...


 http://www.redbubble.com/people/lumiwa
 ___
 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


Why can't I set my cpu type in kernel config ?

2012-08-06 Thread Jason Usher
I am installing 8.3-RELEASE on an old 900mhz pentium laptop ... it's an i686 
CPU.

By default, GENERIC has HAMMER as the cpu, and that isn't working.  So I 
tried both:

cpu I586_CPU

and:

cpu I686_CPU

(I also tried them both lowercase, like i686_cpu)

But all of these fail:

GENERIC: unknown option I586_CPU

How can I set 586/686 (you're supposed to set both) in my kernel conf ?

Thanks.
___
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


Using smartctl to detect scan errors (like google tells me to do ...)

2012-07-09 Thread Jason Usher
The big report that google published made it clear that even a single scan 
error in the SMART data of a disk drive is a good predictor of eventual 
failure...

However, when I run smartctl:

# smartctl -a /dev/da0 | grep -i pre-fail
  1 Raw_Read_Error_Rate 0x000b   100   100   016Pre-fail  Always   
-   0
  2 Throughput_Performance  0x0005   135   135   054Pre-fail  Offline  
-   84
  3 Spin_Up_Time0x0007   126   126   024Pre-fail  Always   
-   612 (Average 612)
  5 Reallocated_Sector_Ct   0x0033   100   100   005Pre-fail  Always   
-   0
  7 Seek_Error_Rate 0x000b   100   100   067Pre-fail  Always   
-   0
  8 Seek_Time_Performance   0x0005   123   123   020Pre-fail  Offline  
-   31
 10 Spin_Retry_Count0x0013   100   100   060Pre-fail  Always   
-   0


There is nothing called a scan error.  Further, the wikipedia page for 
S.M.A.R.T. has nothing in the error table called a scan error.


So ...


What is a scan error, and which metric should I tell smartctl to check ?


Thanks.
___
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: (Free 7.2) su -l didnt prompt password.Is it possbile?

2012-06-18 Thread Jason Hellenthal


On Mon, Jun 18, 2012 at 05:31:54PM +0400, Budnev Vladimir wrote:
 Hello everyone.
 We'v noticed some strange situation. After reboot and login, system 
 didn't ask for password while switchig with su -l.
 
 In details, there was root login from terminal and one from ssh.
 Terminal login was directly as root(via ip-console), and ssh was as 
 user, then attemped switch to root with su -l, and there were NO 
 password request,no prompt at all. At the same time login from terminal 
 accepted root password, first I thought that means password wasn't 
 empty, but system even with empty password should print Password:..and 
 that time it was nothing absolultey. We even logged out and then su -l 
 again.
 
 And It looked such way:
 
 %su -l
 St-serv#
 St-serv# exit
 %su -l
 St-serv#
 
 We'v been shocked and hurried a bit and changed root password without 
 /etc/master.passwd backup for explorations.
 After chagning password we cant no reprocude such behaviour.
 
 It's also should be noticed that system was booting after unsafe power 
 shutdown, and there was fs-check running in background(accroding to 
 logs), corrected cleared some files(searching by inum resulted to nothing).
 
 sysctl -a gave such string:
 118Starting background file system checks in 60 seconds.
 118
 
 and in /var/log/messages we could see:
 Jun 15 14:57:39 St-serv kernel: em0: link state changed to UP
 Jun 15 14:57:49 St-serv login: ROOT LOGIN (root) ON ttyv0
 Jun 15 14:58:47 St-serv fsck: /dev/ad0s1e: 71 files, 11 used, 2538508 
 free (84 frags, 317303 blocks, 0.0% fragmentation)
 Jun 15 15:02:31 St-serv fsck: /dev/ad0s1f: 264646 files, 1378041 used, 
 60368113 free (43545 frags, 7540571 blocks, 0.1% fragmentation)
 Jun 15 15:03:31 St-serv su: zimmer to root on /dev/ttyp0
 Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: INCORRECT BLOCK COUNT 
 I=1931747 (897632 should be 897600) (CORRECTED)
 Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: INCORRECT BLOCK COUNT 
 I=1931748 (1865184 should be 1865120) (CORRECTED)
 Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: INCORRECT BLOCK COUNT 
 I=2284637 (4 should be 0) (CORRECTED)
 Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: INCORRECT BLOCK COUNT 
 I=2284713 (4 should be 0) (CORRECTED)
 Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: UNREF FILE I=23557  
 OWNER=root MODE=100644
 Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: SIZE=0 MTIME=Jun  9 18:51 
 2012  (CLEARED)
 Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: UNREF FILE I=1931319  
 OWNER=root MODE=100640
 Jun 15 15:03:43 St-serv fsck: /dev/ad0s1d: SIZE=728 MTIME=Jul 26 17:37 
 2011  (CLEARED)
 ...
 
 
 I'v googled and found only one thread with su didnt'asking for password, 
 that one was abut jails, but this time we have a 100% garanty that we 
 didnt put any virtual enviroments.
 
 So the thing that scares is, mb this is symptop of server rootkit? (We'v 
 found nothing unusual in logs but it means nothing...) Or there is some 
 other explanation why su could not ask password?
 

The only thing I can think of ATM is .. did you recently perform and
upgrade from source with this system ? mergemaster ?

The reason why I ask is that when doing such things the master.passwd is
compared to the default master.passwd which has no passowrd set. If a
merge when wrong then there is a possibility that it was set back to
defaults by accident.

I also see that your system booted up and did a fsck(8). There is a
chance that something wierd happened here as well.

 
 Thanks in advance
 
 PS Duplicated question to freebsd-questions and freebsd-security because 
 unsure which one it should be send.
 
 
 ___
 freebsd-secur...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-security
 To unsubscribe, send any mail to freebsd-security-unsubscr...@freebsd.org

-- 

 - (2^(N-1))
___
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


implementing ipv6 into my ipfw ruleset...

2012-06-05 Thread Jason Usher
I have a fairly simple ipfw ruleset, which looks like:


100 allow tcp from any to any established
110 allow icmp from any to any icmptypes 0,3,8,11
120 deny icmp from any to any
130 allow ip from any to any via lo0

200 allow udp from me to any 53
210 allow udp from any 53 to me
220 allow udp from any to me 33433-33499
230 allow tcp from any to 82.197.184.219 22,80,443 setup

65000 deny log ip from any to me
65001 deny log ip from any to me6


What I am wondering is, am I blocking all ipv6 traffic by not explicitly 
allowing ipv6 in (for the established rule 100, icmp rule 110, and the entire 
block of 200-230) ?

Or, since that is all tcp/udp/icmp, it doesn't matter, and I am properly 
allowing in ipv6 traffic, but ONLY for the tcp/udp ports I specify, and then 
blocking the rest ?

Basically:  how is my ruleset treating ipv6 traffic (other than the fact that, 
at the end of the set, I deny all ipv6 that has gotten to that point)

thank you.
___
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: /usr/local/java/jboss5 fails to build

2012-04-18 Thread Jason Helfman

On Wed, Apr 18, 2012 at 07:42:55AM +, vermaden thus spake:

hi,

I do not pressure to use the Ports version I just need a working
JBOSS5 on FreeBSD, I can download jboss-5.1.0.GA.zip from here

http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/

But will it be fully functional on FreeBSD?

Regards,
vermaden


I can't answer if it will be functional or not on FreeBSD until it is
successfully installed, however it being in the portstree gives me some
indication that it did work at one time. This is a vendor issue though, and
I would urge you to contact them regarding their maven repository issue with
the error you are receiving.

I would be happy to look into this further after they are able to diagnose
the issue.

Thanks!
-jgh

--
Jason Helfman | FreeBSD Committer
j...@freebsd.org   | http://people.freebsd.org/~jgh
___
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: /usr/local/java/jboss5 fails to build

2012-04-17 Thread Jason Helfman

On Tue, Apr 17, 2012 at 08:34:55PM +, vermaden thus spake:

Hi,

I have the same problem as described here:
http://freebsd.org/cgi/query-pr.cgi?pr=166986

The package of JBOSS5 is also not available, any suggestions?

Any help appreciated.

Regards,
vermaden


I've dealt somewhat with the maven repositories, and this is nothing really
that can be prevented in the portstree.  Working with the vendor in
releasing a distribution file of the maven repository at the time of the
release of the code that is required for code to build against is something
that can be done to prevent this. I worked with the vendor in doing this for
databases/jasperserver.

This really is an issue with the remote repository, and needs to be fixed
with the owners of that maven code repository.

I suggest in working with the vendor to fix the repository, and it would be
great if you can convince them to release a snapshot of the maven repository
that the code was used to build from for distribution purposes. That way, it
will always be build-able.

Even if they fix it today, someone could break it soon afterwards.

-jgh

--
Jason Helfman | FreeBSD Committer
j...@freebsd.org   | http://people.freebsd.org/~jgh
___
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


Small Merchant Money

2012-04-14 Thread Jason Harmon

Your email client cannot read this email.
To view it online, please go here:
http://bizfinance.us/em/display.php?M=23408C=13afd7e8835e94f7985a768cab34f758S=23L=5N=15
Its been an incredible month seeing business owners get the cash they need
to fund projects, expand or just pay bills.

We have an express submit program to fund short term businesses in minutes
with a one page form.  Call me direct or I'll email you a paper version.
Our commercial restructuring division has recently approved an 8mm loan to
a small pharmaceutical company in California and a 40mm approval was
announced yesterday with our team in Texas.   If you have a project you
need capital to to make work call me today to discuss your business needs.
 Jason 508-216-0525




To stop receiving these
emails:http://bizfinance.us/em/unsubscribe.php?M=23408C=13afd7e8835e94f7985a768cab34f758L=5N=23
___
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: what is the path of kernel build directory?

2012-04-05 Thread Jason Hellenthal

/usr/obj/usr/src/sys/KERNELNAMEHERE/

The handbook has a very clear section on this.

Good luck.

On Thu, Apr 05, 2012 at 12:21:18AM -0700, saeedeh motlagh wrote:
 hello guys
 i want to install the openvswitch 1.4.0 from a linux package. the below
 command should be executed:
 ./configure --with-linux=/lib/modules/'uname -r '/build
 this is a linux command and i should execute the FreeBSD equivalent but i
 don't know how to do that. the manual says:
 
To build the Linux kernel module, so that you can run the
kernel-based switch, pass the location of the kernel build
directory on --with-linux.
 
 what is kernel build directory in FreeBSD9 amd64? or how i should execute
 this command?
 
 yours,
 ___
 freebsd-...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-net
 To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org

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


Re: phpmyadmin port files errors

2012-04-03 Thread Jason Helfman

On Tue, Apr 03, 2012 at 03:14:39PM -0400, Fbsd8 thus spake:

Just downloaded phpmyadmin for 9.0 system.
The port files seem to be named wrong.
Makefile,v  distinfo,v  pkg-descr,v   pkg-plist-chunk,v

make install command issues error message Don't know how to make install.

I see on the web ports system that this port was just updated 5 days
ago. Looks like a error was made. These files should not have the
,v suffix. Removing the ,v file name suffix and issuing make install
generated a bunch of other error messages.

Dead in the water until this gets fixed.

If this is indeed an error with the port then I will submit a bug report.


This looks incorrect. I just brought down a fresh copy of this port, and
don't see files named this way. How are you getting the port, and how are
you installing it?

These files look like they are directly out of CVS.

-jgh

--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
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: which FF ad blocker?

2012-02-29 Thread Jason Garrett
On Wed, Feb 29, 2012 at 18:57, Gary Kline kl...@thought.org wrote:

 which of the many adblockers should i try?

 thanks in advance for your insights!

 imho Add Block Plus is the best

 --
  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service
 Unix
 Voice By Computer (for Universal Access): http:/www.thought.org/vbc
  The 8.57a release of Jottings: http://jottings.thought.org
 Twenty-five years of service to the Unix community.

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

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


Re: note on my messed up 2003 dell

2012-02-16 Thread Jason Garrett
On Thu, Feb 16, 2012 at 18:42, Gary Kline kl...@thought.org wrote:


 guys, this is just a FWIW, but it's worth bearing in mind.  i just
 tried to change the bios settings so that the old computer would
 boot from CD first.  no-joy.  long-story short, months in the garage
 or just-age must have ruined this box.

 Age, moisture, bugs... all equal dead machines. Been through it before :(

 --
  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service
 Unix
 Voice By Computer (for Universal Access): http:/www.thought.org/vbc
  The 8.57a release of Jottings: http://jottings.thought.org
 Twenty-five years of service to the Unix community.

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

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


Re: HowTo easy use IPFW

2012-02-02 Thread Jason Hellenthal

You are welcome to create a port and submit it for reccomendation...

For that you should review the documents etc... at
http://freebsd.org/docs

Good Luck

On Thu, Feb 02, 2012 at 11:33:14AM +0200, Коньков Евгений wrote:
 this is the mine script which helps me keep my firewall very clean and safe.
 
 It is easy to understand even if you have a thousands rules, I think =)
 
 please comment.
 
 PS. If anybody may, please put into ports tree. thank you.


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


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


What is the FreeBSD mdoc (man) to HTML toolchain?

2012-01-30 Thread Jason Massey
Dear FreeBSD masters:

I am looking to understand the toolchain that begins with an mdoc-based
manual page and ends with a nice HTML file (as illustrated by
http://www.freebsd.org/cgi/man.cgi?query=groff_mdocapropos=0sektion=0manpath=FreeBSD+9.0-RELEASEarch=defaultformat=html
).


Hypothetically, were I personally attempting to convert the `groff_mdoc.7'
manual page to HTML, from what I've researched the command should be:

groff -mdoc -Thtml groff_mdoc.7 | tidy  bsdgroff.html



[1]
Is the above command how the FreeBSD project produces its gorgeous HTML man
pages?

[2]
How does one associate a link .../ CSS stylesheet with the resultant
file? I cannot locate a `groff' command switch to stop it from inserting
its own inline style information.



== Research I've performed:

I have read GROFF_MDOC(7) in its entirety.

I have searched GROFF(1) and groff's [Tex]info document.



Most respectfully,

Jason
___
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: Network traffic human readable?!

2012-01-21 Thread Jason C. Wells

On 01/21/12 07:47, Tobias Pulm wrote:

Hi,

how can I display my network traffic (netstat output) human readable?
Is there a function of the netstat that can do this?


Rather than netstat, perhaps you want 'tcpdump' or 'nc'.

Regards,
Jason C. Wells
___
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: pkg_add -r and a local package repo

2012-01-11 Thread Jason Helfman

On Wed, Jan 11, 2012 at 02:23:48PM -0800, Chuck Swiger thus spake:

On Jan 11, 2012, at 2:03 PM, Randal L. Schwartz wrote:

First, it looks like pkg_add -r needs the full package name.  Is there
any way to give it zsh instead of zsh-4.3.15?


Create a symlink from zsh-4.3.15.tbz to zsh.tbz on the package server.
You can also control this at the time of building the package via:

 www.freebsd.org/doc/en/books/porters-handbook/makefile-naming.html#AEN647

5.2.4 LATEST_LINK

LATEST_LINK is used during package building to determine a shortened name to create 
links that can be used by pkg_add -r. This makes it possible to, for example, 
install the latest perl version by running pkg_add -r perl without knowing the exact 
version number. This name needs to be unique and obvious to users.


Second, it looks like it won't install dependencies.  This is a problem.
Can I get it to search and install dependencies somehow?


Does the package in question have its dependencies properly specified?

Regards,
--
-Chuck



Why not just point the PACKAGESITE to the Latest directory of the tree you
want to install?

-jgh

--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD Kernel Internals Documentation

2011-12-30 Thread Jason Lenthe
On 12/30/11 09:59, Jerry wrote:
 If FreeBSD really wanted to make a quality product they would hire
 competent programmers to create the drivers, etcetera that are seriously
 needed. 

They do.  See this for a list of FreeBSD Foundation funded projects that
have been completed:
http://freebsdfoundation.org/projects.shtml

 I would gladly pay any reasonable charge for a product that
 worked.

You can donate here:
http://freebsdfoundation.org/donate
___
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: sed vs gnu sed

2011-11-09 Thread Jason Lenthe

On 11/09/11 05:30, Vincent Hoffman wrote:

'Hi all,
 I'm trying to move a script from a linux box to a freebsd box.
All going well as its just a bash script and bash is bash, however there
is one line I'm unable to use directly, as bsd sed (correctly according
to SUS at least, I believe[1]) appends a newline when writing to
standard out, gnu sed doesnt. example
BSD
[backup@banshee ~]$ echo -n /boot:7:1:5; /:7:1:5; /var:7:1:5  | sed -n
's/[[:space:]]*;[[:space:]]*/;/gp'
/boot:7:1:5;/:7:1:5;/var:7:1:5
[backup@banshee ~]$

LINUX

[backup@amber ~]$ echo -n /boot:7:1:5; /:7:1:5; /var:7:1:5  | sed
's/[[:space:]]*;[[:space:]]*/;/g'
/boot:7:1:5;/:7:1:5;/var:7:1:5[backup@amber ~]$

is there any easy way to make our sed do the same as gnu sed here?



You could also just lop off the newline with tr -d '\n':

echo -n /boot:7:1:5; /:7:1:5; /var:7:1:5  | sed -n 
's/[[:space:]]*;[[:space:]]*/;/gp' | tr -d '\n'


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


Re: freebsd-update (custom kernel)

2011-11-03 Thread Jason Helfman

On Thu, Nov 03, 2011 at 08:49:16AM -0700, masayoshi thus spake:

I would like to know about freebsd-update command.
It is rumoured that freebsd-update command does not work well with custom 
kernel.
First question is the following :


su -

#freebsd-update fetch
#freebsd-update install

Does this command work well?

The answer is .
[A].Always work, [B]Depend on my computer.


Second question is ...
For example,if I upgrade from FreeBSD 7.4 to 8.2 by freebsd-update command.
Can I upgrade without failure?
I would like to know only success rate?

The answer is 
[A].about 100%, [B].about 80%,[C].about 75%,[D] less than 50%

Thanks in advance.



I does work fine with a custom kernel, as long as you are running and
maintaining the actual update server that distributes.

1. Always work
2. Can never account for 100 percent... I've not run into a problem, though.

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/

-jgh

--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd-update (custom kernel)

2011-11-03 Thread Jason Helfman

On Thu, Nov 03, 2011 at 09:19:29AM -0700, Michael Sierchio thus spake:

On Thu, Nov 3, 2011 at 9:13 AM, Jason Helfman jhelf...@e-e.com wrote:


I does work fine with a custom kernel, as long as you are running and
maintaining the actual update server that distributes.


I don't think that's relevant.  It works fine with the public servers.


I beg to differ. If you run a kernel called CUSTOM, it won't work. And if
you run a custom kernel called GENERIC, the moment you upgrade, you custom
kernel is no longer custom.

All of this aside, I would be interested in hearing how you are able to
avoid non-custom updates to your custom kernel when the kernel or os patches
are distributed by the update servers.


--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd-update (custom kernel)

2011-11-03 Thread Jason Helfman

On Thu, Nov 03, 2011 at 09:42:12AM -0700, Michael Sierchio thus spake:

This is simply not the case.  freebsd-update works on the basis of
cryptographic hashes on the binaries. It is, after all, a binary
update program.  If it detects a custom kernel, it will not update the
kernel, but updates userland programs.  It doesn't *care* what your
kernel config name is, it really doesn't matter.

Kernel update becomes a manual operation, which requires fetching
sources from the SECURITY branch.



I'm not disagreeing with you, and I know what it does. I happen to run a
slew of update servers myself, however if you run your own update server
based on your own signatures, it will patch your custom kernel and
distribute it, as well.

I didn't know it would skip it, though, with the main update servers.
Interesting.

--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
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: idletime in login.conf

2011-10-31 Thread Jason Helfman

On Mon, Oct 31, 2011 at 10:09:34AM -0500, Dan Nelson thus spake:

In the last episode (Oct 31), Damien Fleuriot said:

On 30 Oct 2011, at 16:45, Modulok modu...@gmail.com wrote:
 List,

 Goal: Automatically logoff users that are idle after 'x' minutes.

 Attempt: I added this to /etc/login.conf to the default login class:

:idletime=10m:

 I then rebuilt the database:

cap_mkdb /etc/login.conf

 Problem: It doesn't work. The 'w' command shows users idle for 20
 minutes or more.  I'm missing something.  Other than an autologout shell
 variables, how do I force idle users to logout?

Are these users that logged in after or before your change ?

Obviously the idle timeout only applies to users who logged in after you
adjusted the value and rebuilt the db.


Actually, the idle timeout is not implemented in the base system.  It's
there in case someone writes a 3rd-party module that does idle detection.
See the login.conf manpage:

RESERVED CAPABILITIES
The following capabilities are reserved for the purposes indicated and
may be supported by third-party software.  They are not implemented in
the base system.
[...]
idletime  timeMaximum idle time before logout.



You may want to look into /usr/ports/sysutils/doinkd for this. I use it on
many systems, and it works remarkable well, and it is highly configurable.

-jgh

--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
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: idletime in login.conf

2011-10-31 Thread Jason Helfman

On Mon, Oct 31, 2011 at 08:11:57PM +0100, Julian H. Stacey thus spake:

Hi,
Reference:

From:   Jason Helfman jhelf...@e-e.com
Date:   Mon, 31 Oct 2011 11:25:32 -0700
Message-id: 20111031182532.gf82...@eggman.experts-exchange.com


Jason Helfman wrote:

On Mon, Oct 31, 2011 at 10:09:34AM -0500, Dan Nelson thus spake:
In the last episode (Oct 31), Damien Fleuriot said:
 On 30 Oct 2011, at 16:45, Modulok modu...@gmail.com wrote:
  List,
 
  Goal: Automatically logoff users that are idle after 'x' minutes.
 
  Attempt: I added this to /etc/login.conf to the default login class:
 
 :idletime=10m:
 
  I then rebuilt the database:
 
 cap_mkdb /etc/login.conf
 
  Problem: It doesn't work. The 'w' command shows users idle for 20
  minutes or more.  I'm missing something.  Other than an autologout shell
  variables, how do I force idle users to logout?

 Are these users that logged in after or before your change ?

 Obviously the idle timeout only applies to users who logged in after you
 adjusted the value and rebuilt the db.

Actually, the idle timeout is not implemented in the base system.  It's
there in case someone writes a 3rd-party module that does idle detection.
See the login.conf manpage:

RESERVED CAPABILITIES
 The following capabilities are reserved for the purposes indicated and
 may be supported by third-party software.  They are not implemented in
 the base system.
[...]
 idletime  timeMaximum idle time before logout.


You may want to look into /usr/ports/sysutils/doinkd for this. I use it on
many systems, and it works remarkable well, and it is highly configurable.

-jgh

--
Jason Helfman
System Administrator


That was a useful tip, but people (inc. self) will not remember.
Suggestion: use send-pr to submit a diff to add
SEE ALSO ports/sysutils/doinkd
to man login.conf

Cheers,
Julian


I don't believe doinkd respects the values of login.conf, however you may
use those values for what is configurable for doinkd. I don't believe it is
the correct place in a base man page for mentioning a port in the FreeBSD
tree, or in at least this case.

If you feel it is, feel free to send in a problem report. I, myself, will
not be filing a report for this item.

-jgh

--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
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: pkg_version: corrupted record (pkgdep line without argument), ignoring

2011-10-20 Thread Jason Helfman

On Thu, Oct 20, 2011 at 04:24:19PM +0200, Alexandre thus spake:

On Thu, Oct 20, 2011 at 3:20 PM, Jerry je...@seibercom.net wrote:


After attempting unsuccessfully to update KDE4 via portmaster, I
found a number of errors printed out when using pkg_version-vIL=.

I eventually used portmanager to update the KDE4 port successfully;
however, I am still receiving the following error messages.

These ports need updating:
pkg_version: corrupted record (pkgdep line without argument), ignoring
pkg_version: corrupted record (pkgdep line without argument), ignoring
pkg_version: corrupted record (pkgdep line without argument), ignoring
koffice-kde4-2.3.3_3   needs updating (index has 2.3.3_5)
postgresql-client-8.2.21   needs updating (index has 8.2.22_1)

I have not found a way to ascertain which ports contain the corrupted
records. Originally, there were over a dozen of them but portmanager
fixed most of them for me. How can I determine what ports are still
damaged so that I might correct them.

--
Jerry ✌
jerry+f...@seibercom.net



Hi Jerry,

Have you tried this :
# portmaster --check-depends
# portmaster -Da

Source :
http://www.cyberciti.biz/faq/pkg_version-corrupted-record-pkgdep-line-without-argument-ignoring/

You can have a look on this thread, where Doug Barton (portmaster's author)
explain another way to resolve this problem.
http://groups.google.com/group/lucky.freebsd.ports/browse_thread/thread/e2054d1cfadc0e3a/66c038dfffb36d40?lnk=raotpli=1


Try looking into reporting pkgs from the output of this too:

#!/bin/sh
grep -A1 ^@pkgdep $ /var/db/pkg/*/+CONTENTS

-jgh

--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
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


USB thumb drives for bootable flash FreeBSD installation...

2011-10-17 Thread Jason Usher
I'm going to run FreeBSD off of a flash drive on some older mac mini systems.

Before I begin, though, I'd like some advice on the best USB thumb drives for 
this.

These systems will be deployed and left in place, hopefully for YEARS in a 
remote, inaccessible location.  So, I'd like to make sure I get the most 
durable, fault-tolerant USB thumb drives possible.

I'm not going to swap on them, or do lots of log writing, etc., but still ... I 
really don't want to fly across the world just because this one component died.

Are they all the same, or are there some USB flash choices that are more 
durable and fault tolerant than others ?

Thanks.
___
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


Rhythmbox and Ipod

2011-10-09 Thread Jason C. Wells
Is anyone here able to use Rhythmbox to manage their ipods?  I'd like to 
break the dependency on itunes if I can.  I've run the package and 
compiled my own with the ipod option set to no avail.  the ipod is not 
displayed in devices under rhythmbox.  dmesg shows that the device is 
probed.  I am able to mount the ipod using msdosfs.


Perhaps there is some hal, dbus, or other dependency that I am missing.  
How did you get youripod to work with rhythmbox?


Thanks,
Jason
___
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: FBSD82 sec patch -p4, uname still -p3

2011-10-07 Thread Jason Helfman

On Fri, Oct 07, 2011 at 08:55:26AM +0200, n dhert thus spake:

I just applied security patch -p4 (last week -p3) to a freebsd 8.2 system
(generic kernel)
# freebsd-update fetch
# freebsd-update install
# ls -la /usr/src/sys/conf/newvers.sh
has date of today and contains
REVISION=8.2
BRANCH=RELEASE-p4
reboot
# uname -r
8.2-RELEASE-p3
still shows -p3 not -p4
# uname -a
FreeBSD mcsbu.cde.ua.ac.be 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep
27 18:45:57 UTC 2011
r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64

why?
-p4 was a small patch to linux emulation mode, which I don't have installed
is this why it is still -p3 ?


If your kernel wasn't touched during the update, then uname won't bump.

-jgh

--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
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


Parallel fscks on large filesystems ... wondering about maxdsiz setting...

2011-10-05 Thread Jason Usher
Old 6.4-RELEASE system.

Two filesystems exist, each of which is on its own raid controller.

(Background fsck is not workable for various reasons that are tl;dr.)

So, theoretically, doing both fscks at the same time is workable, since each of 
them are on their own controller, and no disk/controller resources are shared.

HOWEVER, due to the large size and dense inode usage, we are forced to set:

kern.maxdsiz=409600

And my question is:

If I run two fscks at the same time, do I need to up this to 819200, or is 
this a per-process limit and I can run several processes that big, while 
leaving the value at 409600 ?

(16 GB of ram, so either way we're well below)

Thanks!
___
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: rsync over nfs or rsync protocol

2011-09-25 Thread Jason C. Wells

On 09/23/11 14:11, Jerry McAllister wrote:

Why would you interject NFS in the middle of it? jerry

There would be no middle.  I would run rsyncd or nfsd, but not both.

Jason
___
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: rsync over nfs or rsync protocol

2011-09-25 Thread Jason C. Wells

On 09/23/11 14:15, Chuck Swiger wrote:
Lots. The handbook has a chapter on backups which is worth reading, 
also Regards,


Ah the handbook.  I forgot all about it.  Thanks.

Later,
Jason

___
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


rsync over nfs or rsync protocol

2011-09-23 Thread Jason C. Wells
I am looking into finally setting up a backup solution that's a little 
more sophisticated than a bunch of DVD-RWs.  I have two servers.  I'd 
like to make each a backup server for the other.  I'm considering using 
rsync.


Is rsync a good choice for a backup tool?
Should I use the rsyncd or should I use NFS?  I'm using 100 mbps ethernet.
What's the better solution I haven't considered?

Thanks,
Jason
___
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: Using ports and packages together (or, how do I get mod_php5 ? )

2011-09-20 Thread Jason C. Wells

On 09/20/11 01:23, Matthew Seaman wrote:

'Latest' packages are built for each updated port + OS version +
architecture combination whenever resources are available on the build
cluster.  Typically that implies a delay of a few days or a week or so
after the update hits the ports CVS.  Yes, if you install the latest
pkgs everything should still remain consistent -- but that means you
should install all of the available updates: picking and choosing is the
route to tears before bedtime[*].
For my part, I plan to update all.  I have decided over the years that 
letting the FreeBSD project manage my ports versions for me is the way 
to happiness.  Roll-your-own is a thing of my past.


That said, updating onesy-twosy has only caused me a manageable amount 
of grief.  The problem is the timing.  It is always before bed, or 
before my paper is due, and openoffice is griping about something do 
with java and java is now done differently than it has been... Like I 
said, updating onesy-twosy can be a serious PITA.


Later,
Jason
___
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


How can I disable hyperthreads, but NOT smp ?

2011-09-20 Thread Jason Usher
FreeBSD 6.4-RELEASE system with two physical CPUs, each of which are HT 
capable.  From dmesg:

cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
cpu2 (AP): APIC ID: 6
cpu3 (AP): APIC ID: 7

I also see this:

machdep.hyperthreading_allowed: 0

The problem is, I have reason to believe that my workload benefits greatly from 
SMP, but is not playing nicely with hyperthreading.  That is, it is trying to 
farm out 4 things at a time to a cpu setup that really is only able to do two 
things at a time.

How can I disable HT completely, but still retain ALL the benefits of SMP ?

Thanks.
___
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: Using ports and packages together (or, how do I get mod_php5 ? )

2011-09-19 Thread Jason C. Wells

On 09/19/11 13:56, Lars Eighner wrote:

On Mon, 19 Sep 2011, Brandon Kuczenski wrote:

I'm concerned that, if I have some packages built from ports and some 
installed from the release, that the system will become unstable if 
things get too out of sync.


I noticed only recently that there are now packages on FTP in a folder 
called packages-8-stable.  I am not sure how often these are built.  I 
expect that the entire ports tree is built much like it is during a 
release, except at some later point in time.  I would expect that those 
ports are all dependency consistent with each other to the maximum 
extent possible.


I also prefer packages to ports, but there are a few updates to ports 
that I want now (xorg, xfce, rhythmbox), but I really don't want to try 
9.0 when it becomes a release.


I plan to upgrade my packages to 8-stable from this directory in a 
couple weeks. Maybe this policy will work for you.


Later,
Jason
___
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: Using ports and packages together (or, how do I get mod_php5 ? )

2011-09-19 Thread Jason C. Wells

On 09/19/11 13:56, Lars Eighner wrote:

On Mon, 19 Sep 2011, Brandon Kuczenski wrote:

I'm concerned that, if I have some packages built from ports and some 
installed from the release, that the system will become unstable if 
things get too out of sync.




Doh, I just read the handbook.

http://www.freebsd.org/doc/handbook/packages-using.html

**

   If you want to force pkg_add(1)
   http://www.FreeBSD.org/cgi/man.cgi?query=pkg_addsektion=1 to
   download FreeBSD 8-STABLE packages, set PACKAGESITE to
   ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/Latest/.

Later,
Jason
___
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: wireless access point in FreeBSD 8.2p2

2011-08-27 Thread Jason
On 08/28/11 02:21, Paul Beard wrote:
 I seem to be missing something, possibly from reading too many HOWTOs. What I 
 am trying to do is get a system with a wireless card to stand in as a 
 wireless AP should my aging LinkSys base station develop a tragic smoke leak. 

 It's an ath0-based card and the following steps suggest it should work (it 
 has HOSTAP capabilities and offering robust encryption). 

 ifconfig wlan0 create wlandev ath0
 ifconfig wlan0 list caps
 drivercaps=6f85ed41STA,FF,IBSS,HOSTAP,AHDEMO,TXPMGT,SHSLOT,SHPREAMBLE,MONITOR,MBSS,WPA1,WPA2,BURST,WME,WDS,BGSCAN,TXFRAG
 cryptocaps=fWEP,TKIP,AES,AES_CCM

 But various permutations of rc.conf, hostap.conf and many iterations of 
 /etc/rc.c/netif restart leave me with two ifconfig entries, one of the ath0 
 interface and one for wlan0. None of the examples show this so I suspect it's 
 wrong. The IP address is pingable from the host it's installed in but not 
 from anywhere else. And I can see the AP from another system and attach to it 
 but it doesn't route any traffic. 

 from /etc/rc.conf: 
 wlans_ath0=wlan0
 create_args_wlan0=wlanmode hostap
 ifconfig_wlan0=inet 192.168.0.26 netmask 255.255.255.0 ssid lower mode 11g 
 channel 8

 from hostap.conf: 
 interface=wlan0
 debug=1
 ctrl_interface=/var/run/hostapd
 ctrl_interface_group=wheel
 ssid=lower
 wpa=0

 redacted results of ifconfig: 
 ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
   ether 00:0d:88:93:21:3a
   media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
   status: running

 wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
   ether 00:0d:88:93:21:3a
   inet 192.168.0.26 netmask 0xff00 broadcast 192.168.0.255
   inet6 fe80::20d:88ff:fe93:213a%wlan0 prefixlen 64 scopeid 0x7 
   nd6 options=3PERFORMNUD,ACCEPT_RTADV
   media: IEEE 802.11 Wireless Ethernet autoselect mode 11g hostap
   status: running
   ssid lower channel 8 (2447 MHz 11g) bssid 00:0d:88:93:21:3a
   regdomain FCC indoor ecm authmode AUTO privacy OFF txpower 27
   scanvalid 60 protmode CTS wme burst dtimperiod 1 -dfs

 Yes, I am trying it without any encryption until I see some packets being 
 passed. 

 It seems like a lot of people are getting this to work but I'm not able to 
 follow how they did it. 
 --
 Paul Beard

 Are you trying to win an argument or solve a problem? 

 ___
 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

8.2 RELEASE p2 (ath card, works dhcp wpa)

#  /etc/rc.conf
wlans_ath0=wlan0
ifconfig_wlan0=WPA DHCP

#  /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
network={
ssid=BigPond455FC2
key_mgmt=WPA-PSK
proto=WPA
psk=B104264B61
}


I hope this helps
jason



signature.asc
Description: OpenPGP digital signature


Re: How to allow Amanda to install as operator?

2011-08-23 Thread Jason Helfman

On Tue, Aug 23, 2011 at 07:20:32PM +, Morse, Richard E.MGH thus spake:

Hi! I'm trying to upgrade my Amanda installation from a v2.6 to v3.2 via ports. 
I had configured Amanda previously to be installed as the user `operator`. The 
upgraded version wants to install as the user `amanda`; however this presents 
all kinds of problems:
- the `amanda` user has no home directory, one is needed to put the 
access file in
- I already have all of the directories set up as owned by operator
- I have a number of clients that are all set up to allow operator to access 
them, but not amanda.

I have tried setting AMANDA_USER and AMANDA_GROUP to be `operator`, but this 
then complains that `operator` is not found in `/usr/ports/GIDs` and 
`/usr/ports/UIDs`. Since these are part of the base system, I don't want to 
mess with them, so I groveled through the .mk files, and determined that I 
should be able to provide my own user and group files by setting the GID_FILES 
and UID_FILES environment variable.

I tried this. I created the necessary files (greping out the data from 
/etc/passwd and /etc/group), put them in the same directory as GIDs and UIDs, 
and ran the make command:

GID_FILES=/usr/ports/OP_GROUP UID_FILES=/usr/ports/OP_USER 
AMANDA_USER=operator AMANDA_GROUP=operator make install

This runs along for a while, then dies with the note:

** /usr/ports/OP_GROUP doesn't exist. Exiting.
*** Error code 1


If I do a `less /usr/ports/OP_GROUP` (copying exactly from the error message), 
I can see the file I created just fine.

Is there something that I'm missing? How am I supposed to install a port as a 
user that already exists? Why doesn't make see that the file exists?

Thanks,
Ricky



If you update your portstree, this should be fixed now.
I notificed crees@ and he committed to UIDs/GIDs the operator user and
group, so they may be used for installing.

-jgh

--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ports make search not working in jails

2011-08-11 Thread Jason Helfman

On Thu, Aug 11, 2011 at 11:05:14AM -0400, Alejandro Imass thus spake:

On Thu, Aug 11, 2011 at 10:15 AM, Alejandro Imass a...@p2ee.org wrote:

Hi,

I have been using Jails and EzJail for a while now and everything
works perfectly except for make search in the ports collection insisde
a jail.



Never mind. It's a specific couple of jails that doesn't work and I
never tried to fetchindex again.
I tried in other servers and jails and make fetchindex works perfectly.

Thanks!



But does make search now work?

-jgh

--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
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: Source Upgrade

2011-08-03 Thread Jason Helfman

On Wed, Aug 03, 2011 at 10:02:28PM -0500, jh...@socket.net thus spake:

I am attempting to upgrade my server from 8.0 to 8.2 Release by upgrading
the source code and recompiling the kernel.  I am using cvs to download
the source code.  Following are the entries in my cvs-supfile.

The system is an HP server.  Following is the system information.
FreeBSD  8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009
  r...@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

*default host=cvsup15.us.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=RELENG_8_2
*default delete use-rel-suffix
*default tag=.

src-all
ports-all



Based on this configuration, you grabbed CURRENT, and not 8.2.

Have a look here and alter your configuration, and rebuild.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html

Hope this helps
-jgh

--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
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


Investment in Europe

2011-07-29 Thread Jason Odiah
Hello,

I am Dr D.Pedro, a chairman with one of the government parastatals in 

Africa. I want us to go into a mutually beneficial business that needs 

your strict confidentiality and dedication.

This business involves the transfer of a huge amount of money from my 

Country. It has very little liabilities and it is very safe. The fund 

to be transferred is US28,600,000:00. It is generated from an over - 

invoiced contract and your job is basically to act as a sub-contractor 

to my department and get this money out for us. For helping us 

accomplish this you will get some % of the funds.We expect your reply


Kind regards,

Dan P

REPLY:

dan...@temporal-email.com

danpedro.ja...@hotmail.com

danieldr.ja...@sapo.pt

jason.odia...@gmail.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: openldap24-sasl-client preventing kde4 from installing

2011-07-09 Thread Jason Garrett
On Fri, Jul 8, 2011 at 14:35, Jason Garrett kinged...@gmail.com wrote:

 Even after I pkg_delete -f openldap-sasl-client* trying to compile kde4, or
 in this case I narrowed it down to kdepimlibs4, I always end up with this.
 How do I get myself out of this dependency?

 === Starting check for runtime dependencies
 === Gathering dependency list for net/openldap24-sasl-client from ports
 === Starting dependency check
 === Checking dependency: security/cyrus-sasl2
 === Dependency check complete for net/openldap24-sasl-client
 deskutils/kdepimlibs4  net/openldap24-sasl-client
 ===  Installing for openldap-sasl-client-2.4.25_2
 ===   Generating temporary packing list
 ===  Checking if net/openldap24-sasl-client already installed
 ===   openldap-sasl-client-2.4.25_2 is already installed
   You may wish to ``make deinstall'' and install this port again
   by ``make reinstall'' to upgrade it properly.
   If you really wish to overwrite the old port of
 net/openldap24-sasl-client
   without deleting it first, set the variable FORCE_PKG_REGISTER
   in your environment or the make install command line.
 *** Error code 1

 Stop in /usr/ports/net/openldap24-sasl-client.
 *** Error code 1

 Stop in /usr/ports/net/openldap24-sasl-client.

 === Installation of openldap-sasl-client-2.4.25_2
 (net/openldap24-sasl-client) failed
 === Aborting update

 === Update for net/openldap24-sasl-client failed
 === Aborting update
 === You can restart from the point of failure with this command line:
portmaster flags deskutils/kdepimlibs4


 Setting FORCE_PKG_REGISTER in root's .cshrc did the trick, but I'm not sure
that was the best way of doing things.

For now x11/kde4 is installing again.
___
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


openldap24-sasl-client preventing kde4 from installing

2011-07-08 Thread Jason Garrett
Even after I pkg_delete -f openldap-sasl-client* trying to compile kde4, or
in this case I narrowed it down to kdepimlibs4, I always end up with this.
How do I get myself out of this dependency?

=== Starting check for runtime dependencies
=== Gathering dependency list for net/openldap24-sasl-client from ports
=== Starting dependency check
=== Checking dependency: security/cyrus-sasl2
=== Dependency check complete for net/openldap24-sasl-client
deskutils/kdepimlibs4  net/openldap24-sasl-client
===  Installing for openldap-sasl-client-2.4.25_2
===   Generating temporary packing list
===  Checking if net/openldap24-sasl-client already installed
===   openldap-sasl-client-2.4.25_2 is already installed
  You may wish to ``make deinstall'' and install this port again
  by ``make reinstall'' to upgrade it properly.
  If you really wish to overwrite the old port of
net/openldap24-sasl-client
  without deleting it first, set the variable FORCE_PKG_REGISTER
  in your environment or the make install command line.
*** Error code 1

Stop in /usr/ports/net/openldap24-sasl-client.
*** Error code 1

Stop in /usr/ports/net/openldap24-sasl-client.

=== Installation of openldap-sasl-client-2.4.25_2
(net/openldap24-sasl-client) failed
=== Aborting update

=== Update for net/openldap24-sasl-client failed
=== Aborting update
=== You can restart from the point of failure with this command line:
   portmaster flags deskutils/kdepimlibs4
___
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


SATA Host Adapter Recommendation

2011-05-21 Thread Jason C. Wells
I am looking to get 2 sata host adapters.  The mandatory requirements 
are good freebsd support and hot swap capability.  I plan to use 
gmirror. I have discovered that my onboard chipsets don't support hot swap.


The highpoint cards are rated highly on newegg.  Are these good with 
freebsd?


Thanks,
Jason C. Wells
___
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: can't determine sound card driver to use in /etc/rc.conf

2011-04-21 Thread Jason Garrett
On Thu, Apr 21, 2011 at 07:38, Antonio Olivares olivares14...@gmail.comwrote:

  So you can exclude media error.
 
  Maybe this diagnostic script from my outbox can
  help you to track down the error. It has been made
  on 7-STABLE i386 with mplayer-0.99.11_3 - a quite
  old system. See if the steps described here can be
  reproduced on your system in a similar way.
 
 FreeBSD Questions freebsd-questions@freebsd.org
 
  ***
 
  Here's an example of my THX 1138 movie DVD:
 
  Step 1: Identify media
 
 % cdcontrol info
 Starting track = 1, ending track = 1, TOC size = 18 bytes
 track start  duration   block  length   type
 -
 1   0:02.00  206:28.68   0  929168   data
   170  206:30.68 - 929168   -  -
 
  Step 2: Identify file system
 
 % file -  /dev/acd0
 /dev/stdin: UDF filesystem data (version 1.5) 'THX_1138'
 
  Step 3: Mount file system and check content
 
 % sudo mount -t cd9660 -o ro /dev/acd0 /mnt
 
 % ls -R /mnt
 audio_ts/ video_ts/
 /mnt/audio_ts:
 /mnt/video_ts:
 video_ts.bup* vts_01_1.vob* vts_02_0.bup* vts_03_0.vob*
 vts_05_0.bup*
 video_ts.ifo* vts_01_2.vob* vts_02_0.ifo* vts_03_1.vob*
 vts_05_0.ifo*
 video_ts.vob* vts_01_3.vob* vts_02_0.vob* vts_04_0.bup*
 vts_05_0.vob*
 vts_01_0.bup* vts_01_4.vob* vts_02_1.vob* vts_04_0.ifo*
 vts_05_1.vob*
 vts_01_0.ifo* vts_01_5.vob* vts_03_0.bup* vts_04_0.vob*
 vts_01_0.vob* vts_01_6.vob* vts_03_0.ifo* vts_04_1.vob*
 
 % sudo umount /mnt
 
  Step 4: Play DVD content - ATTENTION - DVD not mounted for that!
 
 % mplayer -alang de -aid 129 dvd://2
 MPlayer 1.0rc2-4.2.1 (C) 2000-2007 MPlayer Team
 CPU: Intel(R) Celeron(R) CPU 2.00GHz (Family: 15, Model: 2,
 Stepping:9)
 CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
 Compiled with runtime CPU detection.
 
 Playing dvd://2.
 
 There are 21 titles on this DVD.
 There are 50 chapters in this DVD title.
 There are 1 angles in this DVD title.
 
 audio stream: 0 format: ac3 (5.1) language: en aid: 128.
 audio stream: 1 format: ac3 (5.1) language: de aid: 129.
 audio stream: 2 format: ac3 (5.1) language: es aid: 130.
 audio stream: 3 format: ac3 (stereo) language: en aid: 131.
 audio stream: 4 format: ac3 (5.1) language: en aid: 132.
 number of audio channels on disk: 5.
 
 subtitle ( sid ): 0 language: en
 subtitle ( sid ): 1 language: de
 subtitle ( sid ): 2 language: es
 subtitle ( sid ): 3 language: fr
 subtitle ( sid ): 4 language: it
 subtitle ( sid ): 5 language: pt
 subtitle ( sid ): 6 language: da
 subtitle ( sid ): 7 language: fi
 subtitle ( sid ): 8 language: iw
 subtitle ( sid ): 9 language: is
 subtitle ( sid ): 10 language: no
 subtitle ( sid ): 11 language: sv
 subtitle ( sid ): 12 language: hr
 subtitle ( sid ): 13 language: cs
 subtitle ( sid ): 14 language: el
 subtitle ( sid ): 15 language: pl
 subtitle ( sid ): 16 language: hu
 subtitle ( sid ): 17 language: tr
 subtitle ( sid ): 18 language: sl
 subtitle ( sid ): 19 language: en
 subtitle ( sid ): 20 language: de
 number of subtitles on disk: 21
 MPEG-PS file format detected.
 VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  9800.0 kbps
 (1225.0 kbyte/s)
 
  ==
 Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
 VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg
 PES)
 Could not find matching colorspace - retrying with -vf scale...
 Opening video filter: [scale]
 The selected video_out device is incompatible with this codec.
 Try appending the scale filter to your filter list,
 e.g. -vf spp,scale instead of -vf spp.
 VDecoder init failed :(
 Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder
 libmpeg2-v0.4.0b
 Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2
 (libmpeg2))
 
  ==
 
  ==
 Opening audio decoder: [liba52] AC3 decoding with liba52
 Using SSE optimized IMDCT transform
 Using MMX optimized resampler
 AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio:
 48000-192000)
 Selected audio codec: [a52] afm: liba52 (AC3-liba52)
 
  ==
 AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
 Starting playback...
 VDec: vo 

Ethernet connection and monitor resolution in DesktopBSD

2011-03-31 Thread Jason Hsu
I'm trying out DesktopBSD in VirtualBox.  I like it better than PC-BSD and 
GhostBSD.

However, the Internet connection isn't working out-of-the-box.  When I go to 
the network configuration utility, select the auto DHCP, and click on Connect, 
nothing happens.  I have an Internet connection in my host OS, so no external 
factors are stopping my Internet connection in DesktopBSD (guest OS).

Also, my screen resolution is stuck at 800x600.  How do I change it to 1024x768?

-- 
Jason Hsu jhsu802...@jasonhsu.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: Using /etc/rc.d/netif start

2011-03-29 Thread Jason Helfman

On Tue, Mar 29, 2011 at 10:40:19AM -0700, Nerius Landys thus spake:

First off, I'm on 9.0-CURRENT-i386, but I don't think that will make a
difference for purposes of my question.  I think the freebsd-current
folks are expecting questions that are much harder than this one.

I'm trying to use /etc/rc.d/netif to bring down and bring back up all
network interfaces, because I'm trying to get the correct entries in
/etc/rc.conf for testing some extra network cards.

So right now, my /etc/rc.conf looks like this:

defaultrouter=192.168.0.254
hostname=elmer.i
ifconfig_em0=inet 192.168.0.6 netmask 255.255.255.0

/etc/resolv.conf looks like this:

domain  i
nameserver  192.168.0.254

I'm basically in a LAN.  When I boot up this elmer.i machine,
everything works well.

Then, I do the following two commands:

 /etc/rc.d/netif stop
 /etc/rc.d/netif start

After these, I'm still able to ping a raw IP LAN address such as
192.168.0.254.  However, two problems start occurring:

1. I cannot ping an IP address that is outside of my LAN, e.g.

ping 64.156.192.169

PING 64.156.192.169 (64.156.192.169): 56 data bytes
ping: sendto: No route to host

2. DNS (via 192.168.0.254 nameserver) won't work at first, but starts
to magically work when I for example enable sshd and log in to elmer
from another host on the LAN


So the nut of my question is, I think /etc/rc.d/netif stop stops
some additional things such as packet routing that the corresponding
/etc/rc.d/netif start command won't start back up.  So what is the
best way to bring down the network and bring it back up again for
purposes of testing /etc/rc.conf syntax?


In my experience, I've found it best to restart 'routing,' as well.

/etc/rc.d/routing restart

-jgh

--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
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


Easiest desktop BSD distro

2011-03-29 Thread Jason Hsu
I want to learn BSD.  I find that the best way to familiarize myself with a 
distro is to adopt it as my main distro (for web browsing, email, word 
processing, etc.).  

But the challenge of BSD have so far proven too much for me.  It would take too 
long to configure FreeBSD to my liking.  I couldn't figure out what to enter in 
GRUB to multi-boot Linux and BSD.  I tried PC-BSD, GhostBSD, and DragonflyBSD 
in VirtualBox.  I've found PC-BSD agonizingly slow to install and operate, and 
KDE didn't even boot up when I logged in.  GhostBSD has too many things that 
don't work, such as the keyboard on my laptop and my Internet connection on my 
desktop.  DragonflyBSD didn't boot up in Virtualbox.

I recommend Linux Mint as a first Linux distro.  It's user-friendly, 
well-established, widely used, includes codecs/drivers that Ubuntu doesn't, and 
has a Windows-like user interface.  For those with older computers, I recommend 
Puppy Linux or antiX Linux as a first distro.  I'm looking for the analogous 
choice in the BSD world.

So what do you recommend as my first desktop BSD distro?  What desktop BSD 
distro is so easy to use that even Paris Hilton or Jessica Chicken of the Sea 
Simpson can handle it?

Please keep in mind that I have a slow Internet connection, and these BSD 
distros are ENORMOUS.  It took some 12-14 hours to download PC-BSD.

-- 
Jason Hsu jhsu802...@jasonhsu.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


Can't Boot 8.2 with Gmirror

2011-03-27 Thread Jason C. Wells
Once upon a time, I partitioned two disks identically and then added 
them to a mirror.  It was good.  Then I upgraded to 8.2-RELEASE and now 
I can't boot.  Well, I did a little recovery work and I am currently 
booting without the gmirror so I am satisfied that my data is safe.


Having read a few messages it sounds like there are some steps I need to 
take to fix up my partitioning scheme to make things work right in 
8.2-RELEASE.  But since gotchas got me once, what are the gotchas? 
Should I partition before adding a disk to a mirror?  Unfortunately, one 
of the messages that I read said, There's no fix as yet. so I am quite 
leary of proceeding without a little help from my friends.


Thanks,
Jason C. Wells

___
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: logging to dmesg from userland

2011-03-14 Thread Jason Helfman

On Sun, Mar 13, 2011 at 07:08:20PM -0700, per...@pluto.rain.com thus spake:

I am looking for a way to write into the kernel message buffer --
the one that dmesg prints out -- from a userland program, to help
in relating kernel printf messages to the userland operations which
provoked them.  (Yes, I am aware of the potential DoS implications:
the capability should be restricted to root, or at least to the
operator group.  I expect to use it only in single-user mode.)

Is there a program, or a system call, which can do this?  logger(1)
seemed a likely prospect, but either it doesn't have this capability
or I haven't found the formula.


man syslog should have all of the info you need.

-jgh
___
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: Unable to umount

2011-03-12 Thread Jason C. Wells

On 03/12/11 09:51, Chris Brennan wrote:
'umount -f' is dangerous, while it worked in your case, truly, make 
sure you

don't have any open files in the future, just to ensure no loss of files or
filesytem corruption

Run sync before umount -f to flush write caches.

Later,
Jason
___
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: lost network during freebsd-update install

2011-03-10 Thread Jason Helfman

On Thu, Mar 10, 2011 at 10:24:30AM -0500, Tom Worster thus spake:

On 3/10/11 9:13 AM, Bas Smeelen b.smee...@ose.nl wrote:


On 03/10/2011 03:03 PM, Tom Worster wrote:

at this stage, i have no remote access. even if i could gain access, i
wouldn't know what state it's in or how to proceed. it's probably best
now
to pay for the hosting company to install 8.1 from cd.

Well if this is an option. But before paying and with a bit of bad luck
getting the same problem in 8.1 it would be nice to know what's the cause.
You do not have remote console access and a way to mount a virtual cdrom?


no. if i can't ssh then i need local help. i'll ask them to try rollback
before resorting to cd.


Good idea. Rollback does work, and has worked for me in a very similar
situation, and hopefully will work for you as well. After the rollback,
reboot, and start again from your initial upgrade command. I would highly
recommend using tmux, and also installing a remote console/management card
for your system so you can control it remotely. The cost of the card is
probably less than remote-hands cost on one support call.

-jgh

--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
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: Cannot build jdk16

2011-03-06 Thread Jason C. Wells

On 03/04/11 03:23, Redd Vinylene wrote:

Hello!

/usr/ports/java/jdk16 instructs me to manually fetch
tzupdater-1_3_34-2010o.zip and put it in /usr/ports/distfiles - this file
however is no longer available and has been replaced by
tzupdater-1_3_35-2011b. So what's the best way of installing jdk16 despite
of this? Rename tzupdater-1_3_35-2011b to tzupdater-1_3_34-2010o.zip and
make -DNO_CHECKSUM?
I recently ran into this.  You can just tweak the download URL manually 
and still get the old version of tzupdater.


It's not really necessary to cross post.  Give -questions a chance to 
help you first.


Later,
Jason
___
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: determining freebsd-update status

2011-03-04 Thread Jason Helfman

On Fri, Mar 04, 2011 at 11:32:11AM -0500, Tom Worster thus spake:

to determine roughly where a server is in its updates (we're running only
RELEASE) i do:

1 - check the 1st 4 fields of the tag file in the freebsd-update working
dir.


Just because the 1st 4 fields are populated, doesn't necessarily imply it is
running at that version. The tag is stating what it has recently seen as 
available on the update server, but that doesn't mean that those updates

have been installed.



2 - check the output of freebsd-update IDS.

is it the case that freebsd-update IDS checks base system status relative
to what's referenced in the tag file?


No. The hash index file is pulled from the update server for the installed 
release, and your system is compared with that.




tia
tom


___
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



-jgh
___
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: determining freebsd-update status

2011-03-04 Thread Jason Helfman

On Fri, Mar 04, 2011 at 02:05:15PM -0500, Tom Worster thus spake:

thanks for the answers, jason. two more questions below.


np



On 3/4/11 1:09 PM, Jason Helfman jhelf...@e-e.com wrote:


On Fri, Mar 04, 2011 at 11:32:11AM -0500, Tom Worster thus spake:

to determine roughly where a server is in its updates (we're running only
RELEASE) i do:

1 - check the 1st 4 fields of the tag file in the freebsd-update working
dir.


Just because the 1st 4 fields are populated, doesn't necessarily imply it
is
running at that version. The tag is stating what it has recently seen
as
available on the update server, but that doesn't mean that those updates
have been installed.


ok.




2 - check the output of freebsd-update IDS.

is it the case that freebsd-update IDS checks base system status relative
to what's referenced in the tag file?


No. The hash index file is pulled from the update server for the
installed
release, and your system is compared with that.


the installed release being what exactly?


What the system is running.



and how does freebsd-update determine what it is?


From the code, it appears to use `uname -r` and `uname -m`, for release and
architecture, respectively.

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


SIL Fonts

2011-03-02 Thread Jason C. Wells
I was unable to find a port with Charis or Doulos typefaces.  Perhaps 
someone can tell me that these typefaces are part of some meta-port.  Which?


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


Re: freebsd-update housekeeping?

2011-02-28 Thread Jason Helfman

On Mon, Feb 28, 2011 at 03:25:47AM +1100, andrew clarke thus spake:

On Fri 2011-02-25 17:26:52 UTC+, Neil Long (n...@cymru.com) wrote:


Just noticed how large /var/db/freebsd-update has grown on a box I
just upgraded from 7.3 to 7.4 (but I can't recall when I started
using it).

Is there a recommended approach or just rm the directory if I have
no need to roll it back?


Before I upgraded to 7.4-REL I used rm -rf /var/db/freebsd-update/ as
my /var is only 1 GB and was running low on free space.  Doing this
should be no different to a fresh install where this directory is
initially empty anyway.

Of course if you're still wary you could make a tarball backup of that
directory somewhere else before emptying it out.

IIRC, freebsd-update will complain if /var/db/freebsd-update/ doesn't
exist, so you may need to mkdir it after using rm -rf.

Regards
Andrew
___
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



If there were no problems with your update, then it is safe to remove the
directory, and recreate it. If your update didn't go so well, you will lose
the ability to use the 'rollback' feature, which will uninstall previously
applied update.

-jgh

--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
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


Building Java

2011-02-26 Thread Jason C. Wells
Trying to build java.  Oracle has change tzupdater to 1.3.35.  Ports 
calls for 1.3.34.  Oracle provides 1.3.35 if you register for their 
support portal.  The support portal is behind a flash sniffer that won't 
let you in without flash. g!


Can someone please just point me to a bootleg copy of the java sources?

Thanks,
Jason C. Wells
___
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: Building Java

2011-02-26 Thread Jason C. Wells

On 02/26/11 08:19, Jason C. Wells wrote:
Trying to build java.  Oracle has change tzupdater to 1.3.35.  Ports 
calls for 1.3.34.  Oracle provides 1.3.35 if you register for their 
support portal.  The support portal is behind a flash sniffer that 
won't let you in without flash. g!


Can someone please just point me to a bootleg copy of the java sources?

Thanks,
Jason C. Wells

Whoops.  That should read Oracle provides 1.1.34 only if you register.

Jason
___
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: Building Java

2011-02-26 Thread Jason C. Wells

Never mind.  I did a little URL edit and got the file.

Jason
___
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: bash can not find most of my commands

2011-02-22 Thread Jason Helfman

On Tue, Feb 22, 2011 at 12:08:30PM -0500, Randy Ramsdell thus spake:

Alokat wrote:

On 02/22/11 17:49, Paul Macdonald wrote:

On 22/02/2011 16:40, Alokat wrote:

Hi,

I have changed my shell from csh to bash ...
But after that I have to call reboot like /sbin/reboot.

How can I change that without changing the shell. :)


don't change your root shell!

csh is in the base system so is safe and will always* work,

bash is a port and gets updated regularly, there's been at least one
occasion when my bash upgrade failed and i couln't login as root.
very frustrating..

I just get used to changing to bash after that, much safer!

Paul.




Paul has satisfied me. I have changed back to csh.

Thank for help.

Regards,
alokat



And if you use bash after login or anytime, your original problem remains.


This has to do with your path, and it is known good practice to use full
paths, as well.

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


BSD Magazine inquiry, question

2011-02-21 Thread Jason Helfman
Hi, 


I was wondering if anyone has a hardcopy of BSD Magazine listed here:
http://bsdmag.org/magazine/1021-bsd-as-a-desktop

I wrote an article for the magazine, and would very much like to get a
hardcopy of it.

I am willing to purchase it.

Thanks so much!
Jason Helfman

--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
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: Run your own portsnap mirror?

2011-02-10 Thread Jason Helfman

On Thu, Feb 10, 2011 at 10:13:38PM +, RW thus spake:

On Thu, 10 Feb 2011 14:52:01 -0500
Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote:


patrick gibblert...@gmail.com writes:

 Is there any official way to run a private portsnap mirror? ie. Have
 one, external server fetch from the official portsnap sources, and
 then internal servers pulling from the private mirror?

It runs over pipelined HTTP, so all you need to do is set up a caching
HTTP proxy, and have your internal servers use that.


If you are going to do that then you need to set HTTP_PROXY
and/or http_proxy consistently. If either of these are set portsnap uses
them to to seed it's choice of server rather than a pure random
selection.

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



I would be highly interested in running my own internal portsnap mirror
based on an internal ports tree with local ports, as well.

Has anyone done this?

--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
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


Heimdal on 8.1 ASN.1 Encoding

2011-02-09 Thread Jason C. Wells
Some time ago I gave 8.0 a try as a Heimdal KDC.  I tried again today 
with 8.1.  With new principals and new keytabs I get this error:


Kerberos V5 refuses authentication because Read req failed: ASN.1 
encoding ended unexpectedly


Any ideas what this might be?  My kdc.conf and krb5.conf are minimal 
with no tinkering with keytypes.


Thanks,
Jason C. Wells
___
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: DELL idrac embedded BMC- good console server replacement?

2011-01-17 Thread Jason Helfman

On Mon, Jan 17, 2011 at 05:09:34PM +, Paul Macdonald thus spake:


Does anyone use the (dell) idrac embedded bmc on their bsd boxes..

I'm only interested in easy 'serial' access to the bios, and the running
system, no need for any grpahical interfaces obviously.   From what i've
read they can power up/down machines too, but i'm a bit confused with
the docs.

I've historically used a serial console server, and i usually flatten
any new dells without much thought for the tools they come with..

Dell also sell their server mgmt cards as well, but i'm interested in
hearing  if the embedded bmc alone can offer an easy alternative to a
console server.

thanks



BMC is great on Dell's. You can do everything you could do as if you were
standing right in front of it. Dell updates are easy to apply as well,
however that is through a front-end gui through the BIOS.

-jgh


--

-
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-
t: 0131 5548070
m: 07534206249
e: p...@ifdnrg.com
w: http://www.ifdnrg.com
-
IFDNRG
40 Maritime Street
Edinburgh
EH6 6SA
-


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


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


Re: pkg_deinstall vsftpd-ssl-2.3.2 works but not pkg_deinstall vsftpd???

2011-01-08 Thread Jason Helfman

On Sat, Jan 08, 2011 at 02:30:01PM -0800, Devin Teske thus spake:


On Jan 8, 2011, at 4:18 AM, Tony Maserati wrote:


pkg_deinstall vsftpd-ssl-2.3.2 works but not pkg_deinstall vsftpd???



Try:

pkg_delete  -x  vsftpd


I tried this operation on both vsftpd and vsftpd-ssl and they both deinstall
properly.

-jgh


--
Devin


___
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



--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
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


Half a Mirror Backup

2011-01-02 Thread Jason C. Wells

Is using one half of a mirror as a backup a good/bad idea?

I was thinking of rotating drives on a periodic basis as a back up 
method.  You'd get the backup instantly, but rebuilding the mirror with 
the incoming drive would take a little time and leave you vulnerable to 
a small loss of data if a disk failed while the mirror was rebuilding.


Regards,
Jason
___
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: Well, I broke it! FreeBSD V8.1 release

2010-12-22 Thread Jason Helfman

On Wed, Dec 22, 2010 at 09:49:46AM -0500, Chris Brennan thus spake:

On Wed, Dec 22, 2010 at 8:07 AM, Bruce Cran br...@cran.org.uk wrote:


On Wed, 22 Dec 2010 11:01:10 -
Dave d...@g8kbv.demon.co.uk wrote:

 Sysinstall alows you to select and enable one, but not remove it!

 Bit of an oversight that I suspect

Fixed in r216651 :)




IIRC ';' isn't a valid bash comment ... (which has been previously discussed
elsewhere). It's usually safer to use '#' for  comment in /etc/rc.conf and
other system config files as they typically use BASH style structs.


IMHO...
It seems that /etc/rc.conf is in need of a sytax check script. Something
similiar to visudo for editing /usr/local/etc/sudoers.

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


Nullfs Allows Jailbreaking

2010-12-22 Thread Jason C. Wells
Here is my file system scheme for a newly created jail as viewed from 
the host:


/usr/jail/template on /usr/jail/f1 (nullfs, local, read-only)
/usr/jail/f1-fs/etc on /usr/jail/f1/etc (nullfs, local)
/usr/jail/f1-fs/tmp on /usr/jail/f1/tmp (nullfs, local)
/usr/jail/f1-fs/var on /usr/jail/f1/var (nullfs, local)
/usr/jail/f1-fs/usr-local on /usr/jail/f1/usr/local (nullfs, local)

As viewed from the jail:

/usr/jail/template on / (nullfs, local, read-only)

I like the idea of using a template for multiple jails that I plan to 
use later.  I like the ide of mounting the template read only.  I had to 
splice in the other nullfs filesystems so that things that need to be 
read-write can be.


But it seems kinda funky.  Inside the jail it looks like EVERYTHING is 
read-only and you have no way of knowing that /tmp is actually 
read-write.  There seems to be a violation of the segregation going on here.


What pitfalls can you see in a file system scheme like this for my 
jails?  Is the above behavior by design or did I find a flaw?


Thanks,
Jason
___
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: Nullfs Allows Jailbreaking

2010-12-22 Thread Jason C. Wells

On 12/22/10 19:00, Chad Leigh -- Shire.Net LLC wrote:

I have been doing this for years with great success.   I don't understand your question.  
 How does it look like everything is read only from inside the jail?  The fact that a 
df only shows the root filesystem and not all your others file systems? 
(assuming that is still the truth -- my jails do this on older FBSD systems
Your report of great success is encouraging.  I've never done this and 
sometimes you don't see the full consequences when you haven't done 
something before.


I think you understand my question.  It's the fact that mount(8) report 
read only. If you looked at that, you would conclude that you had no 
write access at all.  Well, I set up the jail, so I can see behind the 
curtain.  A downstream user that never saw behind the curtain wouldn't 
know where they could write a file unless they simply guessed.


That is why I asked about jailbreaking.  There is information crossing 
the jail in a mysterious way.  The jail reports that everything under 
root is read only, but the jail can still see the read-writeness of the 
invisible (to mount) null filesystems.


From the sound of it, this is expected behavior.

Regards,
Jason C. Wells
___
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: pkg_add fail on FreeBSD V8.0

2010-11-30 Thread Jason Helfman

On Tue, Nov 30, 2010 at 08:39:24PM -, Dave thus spake:

OK, another show stopper for me, but probably a simple fix for the
wise on list.

FreeBSD V8.0 that I'm slowley getting to know (and beginning to like!)

FreeBSD FBSD.67MK181QZ 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Wed Apr 14
22:55:09 BST 2010
r...@fbsd.67mk181qz:/usr/obj/usr/src/sys/PPSGENERIC  i386

Looking to install the Hiawatha webserver, but got this when I tried...

pkg_add -r hiawatha

Error: Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-
release/Latest/hiawatha.tbz: File unavailable (e.g., file not found,
no access)
pkg_add: unable to fetch
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-
release/Latest/hiawatha.tbz' by URL

It worked ok on a V8.1 box I threw together for testing things during the
works lunch hour. So, can I (and how) get this version to use I guess the
8.1 repository, or how do I cleanly update this to 8.1, though to
maintain my needed PPS support I guess I'll need to recompile the kernel
again? Is the change from V8.0 to V8.1 realy that a big step?

Or compile Hiawatha from sources?  (I *Will* need guidance and hand-
holding to do that!)

Advice please, before I mess things up.

Regards.

Dave B.


Are you using sudo by chance when installing?




___
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



--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Samba Access Like Windows Explorer

2010-11-25 Thread Jason C. Wells

Is it possible to access samba shares much like windows explorer does?

The ultimate solution would be UNC names with browsing.  I would very 
much like to have my freebsd client see the network namespace in as 
similar fashion to windows as possible.


I also would like to avoid having to duplicate the hierarchy of mount 
points (for mount_smbfs) on every freebsd client in order to achieve 
this.  Nautilus access the samba shares this way, but I want this work 
on the command line.  Plus I prefer Thunar, which doesn't do samba 
access at all.


As it stands, I think I will have to mount all samba shares on a freebsd 
client into a top level directory named for the server name, with mount 
points sprinkled about.


Thanks,
Jason C. Wells
___
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: *default release=cvs tag=RELENG_8 in both standard-supfile and stable-supfile

2010-11-16 Thread Jason Helfman

On Tue, Nov 16, 2010 at 01:09:30PM -0500, pigskinwhite...@icqmail.com thus 
spake:

I was wondering why both the stable  standard supfiles on FreeBSD-8.1
/ amd64 both have the exact release tag:

*default release=cvs tag=RELENG_8


From: http://www.freebsd.org/doc/handbook/cvs-tags.html

RELENG_8
The line of development for FreeBSD-8.X, also known as FreeBSD 8-STABLE



Shouldn't they be different? What would be the correct tab for each
supfile respectively?


Since 8.0 and 8.1 fall under 8.x, I would think this is by design according
to the documentation.

-jgh
___
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: ssmtp - possible anomaly with SSL

2010-11-06 Thread Jason Helfman
I should port this wiki to @doc

On Nov 6, 2010, at 9:30 AM, Chris Brennan xa...@xaerolimit.net wrote:

 On Sat, Nov 6, 2010 at 12:01 PM, Chad Perrin per...@apotheon.com wrote:
 
 On Sat, Nov 06, 2010 at 07:23:39AM -0400, Steven Friedrich wrote:
 I recently figured out how to send mail thru my ISP ID using ssmtp.  I
 had
 previously only been using KMail, and I had it configured to use port 465
 SSL
 LOGIN.
 
 I can send mail when I don't use port 465:
 mailhub=mail.InsightBB.com
 
 but if I add the port 465 a,d enable SSL with:
 UseTLS=YES
 
 then I use the -v switch and also -auFreeBSD -apPassword
 as in smtp -v -auFreeBSD -apPassword free...@insightbb.com
 
 and the messages all indicate success, but the mail never arrives. It
 does
 when I don't use SSL on port 465.
 
 KMail does work with SSL on port 465.
 
 I'm not entirely clear on what you're using as a mail user agent.  Are
 you still using KMail as your MUA, but using ssmtp to send the emails to
 your SMTP server, or have you switched MUAs when you started using ssmtp?
 
 Chris Brennan suggested you send more information; in addition to
 answering my question, it might be useful to give us the information
 Chris requested -- but make sure you obscure any username/password
 information.
 
 
 If you reference my last e-mail, I posted my my working ssmtp.conf (for
 communicating w/ GMail/Google for Domains). If sSMTP is your only MTA, then
 using my example will get you up and running very quickly. You can also
 reference http://wiki.freebsd.org/SecureSSMTP on how to secure it (if this
 is a (semi-)public machine with more then one user on it.
 
 
 
 --
 Chad Perrin [ original content licensed OWL: http://owl.apotheon.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
 
___
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


Recovering a DVD

2010-10-29 Thread Jason C. Wells
I have a back up DVD that I cannot mount.  dd won't read /dev/acd0  with 
an error dd: /dev/acd0: Input/output error.Tried dvdisaster but it 
can't find my drive. Any pointers you can offer in getting this data off 
this disc are greatly appreciated.


Thanks,
Jason


___
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: LDAP Authentication from console

2010-10-06 Thread Jason

On Wed, Oct 06, 2010 at 11:59:53AM -0500, Dan Nelson thus spake:

In the last episode (Oct 06), Kevin Mai said:

Hey guys,

I've already configured PAM to authenticate against ldap and it works
wonderful using ssh/su/sudo/etc, but when I try to log in from console it
prompts:

login: kma
Password: 
LDAP Password:  (same as the first one)
Login Incorrect
login:


Compare /etc/pam.d/login against one of your other pam services that works.
What I do on my servers is add pam_ldap to pam.d/system, then blow away most
of the lines in the other files and replace them with

authinclude system
account include system
session include system
passwordinclude system

, so I know everything uses the same configuration.


Back when I had used LDAP for authentication I also needed to edit
/etc/nsswitch.conf 


Not sure if this is still the case, or if I was doing it incorrectly,
however not having didn't give me the ability to login via ldap.

-jgh
___
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: Netbooks BSD

2010-10-04 Thread Jason Garrett
On Mon, Oct 4, 2010 at 18:33, Mikle Krutov nekoexmach...@gmail.com wrote:

 Hello, list!
 I'm going to buy a netbook soon, so a question is which one.
 The choice is between
 1) Samsung N127
 2) ASUS Eee PC 900AX
 3) MSI U120-094
 Which one is the best for running FreeBSD?
 The best mainly is for opensource (e.g. not ndis)  stable wireless

drivers.

 You won't find much support for N based wireless cards in FreeBSD.

So, any good experience and suggestions?


I would save my money to buy something that FreeBSD runs nice on...

just my 2 cents...

 Thank you for your time!
 ___
 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


PF Version

2010-10-04 Thread Jason C. Wells
What version of PF shipped with 8.1-RELEASE?  Where can I find this for 
myself?  I looked in cvsweb but was unable to understand what I was reading.


Regards,
Jason
___
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: Updating bzip2 to remove potential security vulnerability

2010-10-01 Thread Jason

On Fri, Oct 01, 2010 at 04:59:40PM -0400, Jerry thus spake:

On Fri, 1 Oct 2010 12:14:20 -0500
Dan Nelson dnel...@allantgroup.com articulated:


You must have missed
http://security.freebsd.org/advisories/FreeBSD-SA-10:08.bzip2.asc ;
patches for 6, 7, and 8 are available there, and freebsd-update has
fixed binaries if you use that.


Never saw it. So I am assuming that simply using something like:

csup -L2 -h cvsup.FreeBSD.org /usr/src/share/examples/cvsup/standard-supfile

Then rebuild Kernel  World is not going to work. Is that correct?


The update instructions are in the announcement. Here is a snippet from
it:

a) Download the relevant patch from the location below, and verify the
detached PGP signature using your PGP utility.

# fetch http://security.FreeBSD.org/patches/SA-10:08/bzip2.patch
# fetch http://security.FreeBSD.org/patches/SA-10:08/bzip2.patch.asc

b) Execute the following commands as root:

# cd /usr/src
# patch  /path/to/patch
# cd /usr/src/lib/libbz2
# make obj  make depend  make  make install

NOTE: On the amd64 platform, the above procedure will not update the
lib32 (i386 compatibility) libraries.  On amd64 systems where the i386
compatibility libraries are used, the operating system should instead
be recompiled as described in
URL:http://www.FreeBSD.org/handbook/makeworld.html

3) To update your vulnerable system via a binary patch:

Systems running 6.4-RELEASE, 7.1-RELEASE, 7.3-RELEASE, 8.0-RELEASE or
8.1-RELEASE on the i386 or amd64 platforms can be updated via the
freebsd-update(8) utility:

# freebsd-update fetch
# freebsd-update install
___
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


  1   2   3   4   5   6   7   8   9   10   >