Re: Twiki problems - no such file or directory

2011-11-28 Thread Da Rock

Arrrgh! Apologies again.

After some much needed rest inspiration finally struck: quadruple check 
the perl path. I had checked it, but somehow missed it- triple check it! 
Not usually something you're likely to think of (especially in long 
hours) but perl will install at /usr/local/bin/perl in a jail (another 
difference I hadn't considered), and a link needs to be made outside the 
jail to /usr/bin/perl for it to work. Didn't help an atmail cookie was 
confusing matters greatly...


Pity you can't set a ENV for this kind of thing somehow...


On 11/29/11 14:05, Da Rock wrote:
I'm sorry to have to bother the list with this, but I have spent 24 
hrs straight trying to figure out what my here> apache/twiki config is missing here.


I installed twiki on a test server to get a handle on how it operates, 
and it all worked fine so I installed it on the production server. The 
only difference between the 2 is that the production server uses vhosts.


When I try to run *any* of the twiki scripts (twiki/bin/view, 
twiki/bin/configure) I get "no such file or directory" in the httpd 
error logs.


I copied the twiki.conf from the test server (for ease of use - same 
config anyway. It was created from the twiki configuration helper on 
the twiki site), and tried uncommenting Includes at the bottom of the 
httpd.conf (sue me) and an include in the vhost section (not at the 
same time: to preclude any comment). Nada; just internal server error 
and the error in the log.


What could I be missing? When I installed it on the test server I had 
a directory directive in httpd.conf for twiki/ and an alias for that 
(I hadn't checked the docs at that time), and simply clicked configure 
on the index page and it all went well. I removed the directive, the 
alias, and uncommented the Includes at the bottom of the httpd.conf 
and I had a working twiki.


FWIW all vhosts are working normally, and other alias as well.

Any hints? A pointer to a url perhaps? Exhaustive google searches are 
showing up nothing relevant.


Cheers
___
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"


Paypal Limited Account Access(ID:17639486436)

2011-11-28 Thread service6511
Why is my account access limited
  
  Your account access has been limited for the following reason(s):
  
  November. 29, 2011: We have reason to believe that
  your account was accessed by a third party. Because protecting the security
  of your account is our primary concern, we have limited access to sensitive 
PayPal account features. We understand that this may be
  an inconvenience but please understand that this temporary limitation is for
  your protection. 
  
  (Your case ID for this reason is PP-129-368-821.)
  
  
  
  
  
  
  How can I restore my account access
  
  
   



 
  
  Please visit the Resolution
  Center and complete the "Steps to Remove Limitations." 
  
  
 




   
  
  
  
  Completing all of the checklist items will automatically restore your account
  access.
  
  
  
  
   Copyright  1999-2011 PayPal. All rights reserved.
   Consumer
  advisory- PayPal Pte.
  Ltd., the holder of PayPal's stored value
   facility, does
  not require the approval of the Monetary Authority of Singapore.
   Users
  are advised to read the terms and conditions carefully.
  
   
  
  
 


 





Linux v31951.1blu.de 2.6.9-023stab051.12 #1 Fri Feb 26 15:14:42 MSK 2010 i686 
GNU/Linux

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


Twiki problems - no such file or directory

2011-11-28 Thread Da Rock
I'm sorry to have to bother the list with this, but I have spent 24 hrs 
straight trying to figure out what my  
apache/twiki config is missing here.


I installed twiki on a test server to get a handle on how it operates, 
and it all worked fine so I installed it on the production server. The 
only difference between the 2 is that the production server uses vhosts.


When I try to run *any* of the twiki scripts (twiki/bin/view, 
twiki/bin/configure) I get "no such file or directory" in the httpd 
error logs.


I copied the twiki.conf from the test server (for ease of use - same 
config anyway. It was created from the twiki configuration helper on the 
twiki site), and tried uncommenting Includes at the bottom of the 
httpd.conf (sue me) and an include in the vhost section (not at the same 
time: to preclude any comment). Nada; just internal server error and the 
error in the log.


What could I be missing? When I installed it on the test server I had a 
directory directive in httpd.conf for twiki/ and an alias for that (I 
hadn't checked the docs at that time), and simply clicked configure on 
the index page and it all went well. I removed the directive, the alias, 
and uncommented the Includes at the bottom of the httpd.conf and I had a 
working twiki.


FWIW all vhosts are working normally, and other alias as well.

Any hints? A pointer to a url perhaps? Exhaustive google searches are 
showing up nothing relevant.


Cheers
___
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: Alternative to syslogd that actually writes external logs to files?

2011-11-28 Thread Kaya Saman

On 11/29/2011 04:18 AM, Fbsd8 wrote:

Kaya Saman wrote:

[...snip...]
Properly configured, syslogd will log remotely.  However something 
like sysutils/rsyslog may fit your requirements better.


--
Adam Vande More


Thanks for that. I have tested rsyslog which is backwards compatible 
with syslog but again something failed with that in order to write to 
the created logfile???



Here is my config just incase something hinky can be seen; although 
have already posted it (with minimal responses) in a heading: Syslog 
server not logging remote machines to file? {basically please don't 
lynch me for double posting!!}



/etc/rc.conf

syslogd_enable="YES"
syslog_flags=""
syslogd_flags="-b 192.168.1.120 -a 192.168.1.1/24:* -C"
#syslogd_flags="-d -b 192.168.1.120 -a 192.168.1.1/24:* -vv -C"
#syslogd_flags="-c"
#rsyslogd_enable="YES"
#rsyslogd_pidfile="/var/run/syslog.pid"
#rsyslogd_config="/etc/syslog.conf"
#rsyslogd_klog_enable="YES"
#rsyslogd_flags="-d"


The extra addition to /etc/syslog.conf under the ppp statement

!*
+192.168.1.1
*.*/var/log/cisco857w.log


Debug from tcpdump:


# tcpdump -tlnvv -i em0 port 514
tcpdump: listening on em0, link-type EN10MB (Ethernet), capture size 
96 bytes
IP (tos 0x0, ttl 255, id 337, offset 0, flags [none], proto UDP (17), 
length 122)

192.168.1.1.59189 > 192.168.1.120.514: SYSLOG, length: 94
Facility local7 (23), Severity debug (7)
Msg: 10040: 010027: Nov 19 10:28:04.322: ISAKMP:(0): S[|syslog]
IP (tos 0x0, ttl 255, id 338, offset 0, flags [none], proto UDP (17), 
length 122)

192.168.1.1.59189 > 192.168.1.120.514: SYSLOG, length: 94
Facility local7 (23), Severity debug (7)
Msg: 10041: 010028: Nov 19 10:28:04.326: ISAKMP:(0): S[|syslog]
IP (tos 0x0, ttl 255, id 339, offset 0, flags [none], proto UDP (17), 
length 142)

192.168.1.1.59189 > 192.168.1.120.514: SYSLOG, length: 114
Facility local7 (23), Severity notice (5)
Msg: 10042: 010029: Nov 19 10:28:04.770: %SYS-5-CONFIG[|syslog]
IP (tos 0x0, ttl 255, id 340, offset 0, flags [none], proto UDP (17), 
length 122)

192.168.1.1.59189 > 192.168.1.120.514: SYSLOG, length: 94
Facility local7 (23), Severity debug (7)
Msg: 10043: 010030: Nov 19 10:30:30.672: ISAKMP:(0): S[|syslog]
IP (tos 0x0, ttl 255, id 341, offset 0, flags [none], proto UDP (17), 
length 122)

192.168.1.1.59189 > 192.168.1.120.514: SYSLOG, length: 94
Facility local7 (23), Severity debug (7)
Msg: 10044: 010031: Nov 19 10:30:30.672: ISAKMP:(0): S[|syslog]
IP (tos 0x0, ttl 255, id 342, offset 0, flags [none], proto UDP (17), 
length 189)

192.168.1.1.59189 > 192.168.1.120.514: SYSLOG, length: 161
Facility local7 (23), Severity info (6)
Msg: 10045: 010032: Nov 19 10:30:36.455: %DOT11-6-ASSO[|syslog]
IP (tos 0x0, ttl 255, id 343, offset 0, flags [none], proto UDP (17), 
length 203)

192.168.1.1.59189 > 192.168.1.120.514: SYSLOG, length: 175
Facility local7 (23), Severity info (6)
Msg: 10046: 010033: Nov 19 10:30:47.643: %DOT11-6-DISA[|syslog]



Debug from syslogd:



# /etc/rc.d/syslogd restart
syslogd not running? (check /var/run/syslog.pid).
Starting syslogd.
allowaddr: rule 0: numeric, addr = 192.168.1.0, mask = 255.255.255.0; 
port = 0

listening on inet and/or inet6 socket
sending on inet and/or inet6 socket
off & running
init
cfline("*.err;kern.warning;auth.notice;mail.crit
/dev/console", f, "*", "+Server.domain")
cfline("*.notice;local7.none;authpriv.none;kern.debug;lpr.info;mail.crit;news.err
/var/log/messages", f, "*", "+Server.domain")
cfline("security.*/var/log/security", f, "*", 
"+Server.domain")
cfline("auth.info;authpriv.info/var/log/auth.log", f, 
"*", "+Server.domain")
cfline("mail.info/var/log/maillog", f, "*", 
"+Server.domain")
cfline("lpr.info/var/log/lpd-errs", f, "*", 
"+Server.domain")
cfline("ftp.info/var/log/xferlog", f, "*", 
"+Server.domain")
cfline("cron.*/var/log/cron", f, "*", 
"+Server.domain")
cfline("*.=debug/var/log/debug.log", f, "*", 
"+Server.domain")

cfline("*.emerg*", f, "*", "+Server.domain")
cfline("*.*/var/log/ppp.log", f, "ppp", 
"+Server.domain")
cfline("*.*/var/log/cisco857w.log", f, "*", 
"+192.168.1.1")

4 3 2 3 5 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 X CONSOLE: /dev/console
7 5 2 5 5 5 6 3 5 5 X 5 5 5 5 5 5 5 5 5 5 5 5 X X FILE: 
/var/log/messages
X X X X X X X X X X X X X 7 X X X X X X X X X X X FILE: 
/var/log/security
X X X X 6 X X X X X 6 X X X X X X X X X X X X X X FILE: 
/var/log/auth.log

X X 6 X X X X X X X X X X X X X X X X X X X X X X FILE: /var/log/maillog
X X X X X X 6 X X X X X X X X X X X X X X X X X X FILE: 
/var/log/lpd-errs

X X X X X X X X X X X 6 X X X X X X X X X X X X X FILE: /var/log/xferlog
X X X X X X X X X 7 X X X X X X X X X X X X X X X FILE: /var/log/cron

Re: Alternative to syslogd that actually writes external logs to files?

2011-11-28 Thread Fbsd8

Kaya Saman wrote:

[...snip...]
Properly configured, syslogd will log remotely.  However something 
like sysutils/rsyslog may fit your requirements better.


--
Adam Vande More


Thanks for that. I have tested rsyslog which is backwards compatible 
with syslog but again something failed with that in order to write to 
the created logfile???



Here is my config just incase something hinky can be seen; although have 
already posted it (with minimal responses) in a heading: Syslog server 
not logging remote machines to file? {basically please don't lynch me 
for double posting!!}



/etc/rc.conf

syslogd_enable="YES"
syslog_flags=""
syslogd_flags="-b 192.168.1.120 -a 192.168.1.1/24:* -C"
#syslogd_flags="-d -b 192.168.1.120 -a 192.168.1.1/24:* -vv -C"
#syslogd_flags="-c"
#rsyslogd_enable="YES"
#rsyslogd_pidfile="/var/run/syslog.pid"
#rsyslogd_config="/etc/syslog.conf"
#rsyslogd_klog_enable="YES"
#rsyslogd_flags="-d"


The extra addition to /etc/syslog.conf under the ppp statement

!*
+192.168.1.1
*.*/var/log/cisco857w.log


Debug from tcpdump:


# tcpdump -tlnvv -i em0 port 514
tcpdump: listening on em0, link-type EN10MB (Ethernet), capture size 96 
bytes
IP (tos 0x0, ttl 255, id 337, offset 0, flags [none], proto UDP (17), 
length 122)

192.168.1.1.59189 > 192.168.1.120.514: SYSLOG, length: 94
Facility local7 (23), Severity debug (7)
Msg: 10040: 010027: Nov 19 10:28:04.322: ISAKMP:(0): S[|syslog]
IP (tos 0x0, ttl 255, id 338, offset 0, flags [none], proto UDP (17), 
length 122)

192.168.1.1.59189 > 192.168.1.120.514: SYSLOG, length: 94
Facility local7 (23), Severity debug (7)
Msg: 10041: 010028: Nov 19 10:28:04.326: ISAKMP:(0): S[|syslog]
IP (tos 0x0, ttl 255, id 339, offset 0, flags [none], proto UDP (17), 
length 142)

192.168.1.1.59189 > 192.168.1.120.514: SYSLOG, length: 114
Facility local7 (23), Severity notice (5)
Msg: 10042: 010029: Nov 19 10:28:04.770: %SYS-5-CONFIG[|syslog]
IP (tos 0x0, ttl 255, id 340, offset 0, flags [none], proto UDP (17), 
length 122)

192.168.1.1.59189 > 192.168.1.120.514: SYSLOG, length: 94
Facility local7 (23), Severity debug (7)
Msg: 10043: 010030: Nov 19 10:30:30.672: ISAKMP:(0): S[|syslog]
IP (tos 0x0, ttl 255, id 341, offset 0, flags [none], proto UDP (17), 
length 122)

192.168.1.1.59189 > 192.168.1.120.514: SYSLOG, length: 94
Facility local7 (23), Severity debug (7)
Msg: 10044: 010031: Nov 19 10:30:30.672: ISAKMP:(0): S[|syslog]
IP (tos 0x0, ttl 255, id 342, offset 0, flags [none], proto UDP (17), 
length 189)

192.168.1.1.59189 > 192.168.1.120.514: SYSLOG, length: 161
Facility local7 (23), Severity info (6)
Msg: 10045: 010032: Nov 19 10:30:36.455: %DOT11-6-ASSO[|syslog]
IP (tos 0x0, ttl 255, id 343, offset 0, flags [none], proto UDP (17), 
length 203)

192.168.1.1.59189 > 192.168.1.120.514: SYSLOG, length: 175
Facility local7 (23), Severity info (6)
Msg: 10046: 010033: Nov 19 10:30:47.643: %DOT11-6-DISA[|syslog]



Debug from syslogd:



# /etc/rc.d/syslogd restart
syslogd not running? (check /var/run/syslog.pid).
Starting syslogd.
allowaddr: rule 0: numeric, addr = 192.168.1.0, mask = 255.255.255.0; 
port = 0

listening on inet and/or inet6 socket
sending on inet and/or inet6 socket
off & running
init
cfline("*.err;kern.warning;auth.notice;mail.crit/dev/console", 
f, "*", "+Server.domain")
cfline("*.notice;local7.none;authpriv.none;kern.debug;lpr.info;mail.crit;news.err
/var/log/messages", f, "*", "+Server.domain")
cfline("security.*/var/log/security", f, "*", 
"+Server.domain")
cfline("auth.info;authpriv.info/var/log/auth.log", f, 
"*", "+Server.domain")
cfline("mail.info/var/log/maillog", f, "*", 
"+Server.domain")
cfline("lpr.info/var/log/lpd-errs", f, "*", 
"+Server.domain")
cfline("ftp.info/var/log/xferlog", f, "*", 
"+Server.domain")
cfline("cron.*/var/log/cron", f, "*", 
"+Server.domain")
cfline("*.=debug/var/log/debug.log", f, "*", 
"+Server.domain")

cfline("*.emerg*", f, "*", "+Server.domain")
cfline("*.*/var/log/ppp.log", f, "ppp", 
"+Server.domain")
cfline("*.*/var/log/cisco857w.log", f, "*", 
"+192.168.1.1")

4 3 2 3 5 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 X CONSOLE: /dev/console
7 5 2 5 5 5 6 3 5 5 X 5 5 5 5 5 5 5 5 5 5 5 5 X X FILE: /var/log/messages
X X X X X X X X X X X X X 7 X X X X X X X X X X X FILE: /var/log/security
X X X X 6 X X X X X 6 X X X X X X X X X X X X X X FILE: /var/log/auth.log
X X 6 X X X X X X X X X X X X X X X X X X X X X X FILE: /var/log/maillog
X X X X X X 6 X X X X X X X X X X X X X X X X X X FILE: /var/log/lpd-errs
X X X X X X X X X X X 6 X X X X X X X X X X X X X FILE: /var/log/xferlog
X X X X X X X X X 7 X X X X X X X X X X X X X X X FILE: /var/log/cron
7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7

Re: multimedia/vlc: no graphical interface on FreeBSD 9 and 10

2011-11-28 Thread Edgar Rodolfo
2011/11/27, O. Hartmann :
> Since a while, vlc on my FreeBSD 10 and FreeBSD 9 boxes do not show a
> graphical interface anymore. Compiling multimedia/vlc works, either with
> the legacy gcc or clang. But either way I compile vlc, the result is
> always the same: no GUI. Instead, I receive the below show message:
>
>
> VLC media player 1.1.12 The Luggage (revision exported)
> Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
> Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
> [0x802080a70] main interface error: no suitable interface module
> [0x8020691b0] main libvlc error: interface "globalhotkeys,none"
> initialization failed
> [0x8020691b0] main libvlc: Running vlc with the default interface. Use
> 'cvlc' to use vlc without interface.
> [0x802080a70] main interface error: option qt-volume-complete does not exist
> [0x802080a70] skins2 interface error: no suitable dialogs provider found
> (hint: compile the qt4 plugin, and make sure it is loaded properly)
> [0x802080a70] skins2 interface error: cannot instanciate qt4 dialogs
> provider
>
>
> I tried several times to recompile everything vlc depends on, but with
> not success. I also tried to delete every configuration file vlc created
> in the past and my now suffer from legzy options, but that hadn't any
> effect - as far as I could catch each config file.

try to use pkg_add or you can install smplyer, smplayer for me is a
good tool to see videos or to listen music...

>
> Is anybody out here having had the same or similar problem and solved it?
>
> Regards,
> Oliver
>
>


-- 
Edguitar ;)
http://cybernautape.blogspot.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: too many open files

2011-11-28 Thread Howard Goldstein

On 11/28/2011 19:07, Murray Taylor wrote:


My  /etc/gamin/gaminrc contains this

fsset ufs none
fsset msdosfs none



(zfs and nfs too, if appropriate)




and I still have 16564 files associated with gam_server in fstat out
of 17424 open files reported by sysctl kern.openfiles

It appears that gam_server doesn't play nice with kill -HUP ( there are
6 processes running)
and also doesn't play nice with x-org/KDE as I can often
get a program hang/crash as the kernel bitches about too many open files
Kmail is particularly susceptible to this.

What actually initiates it as there appears to be no related entry
in either /etc/rc.d or /usr/local/etc/rc.d ?

Currently, it is a waste of space to me, and a cause of program
instability!


pkg_info -R gamin\* should lead you to an ICBM coordinates suitable for 
nuking and ridding yourself of the thing.  I had the opposite problem 
where I have production box on a desktop that wants to keep monitoring 
(we use nautilus) but gamin_server out of the box chews up a lot of 
processor time (the fix for this was kernel notification for my ufs and zfs)


___
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: Alternative to syslogd that actually writes external logs to files?

2011-11-28 Thread Kaya Saman

On 11/29/2011 03:13 AM, Adam Vande More wrote:
On Mon, Nov 28, 2011 at 6:08 PM, Kaya Saman > wrote:


Yep! I don't actually run any rules on the firewall even though PF
is enabled. it's just meant for fail2ban though.

However, disabled PF but still not working :-(


Can you at least make a connection from the sending to receiving 
host/port via telnet?



--
Adam Vande More


As you know rsyslog works over udp and telnet is a tcp protocol so I 
enabled tcp on port 514 within rsyslog and telnet'ed from my router to 
the syslog server.


No problems!!! It works.

Also netstat -anp tcp/udp | grep 514 shows the server listening on the 
em0 interface with correct IP which isn't a problem additionally.



???
___
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: Alternative to syslogd that actually writes external logs to files?

2011-11-28 Thread Adam Vande More
On Mon, Nov 28, 2011 at 6:08 PM, Kaya Saman  wrote:

> Yep! I don't actually run any rules on the firewall even though PF is
> enabled. it's just meant for fail2ban though.
>
> However, disabled PF but still not working :-(


Can you at least make a connection from the sending to receiving host/port
via telnet?


-- 
Adam Vande More
___
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: Alternative to syslogd that actually writes external logs to files?

2011-11-28 Thread Kaya Saman

On 11/29/2011 01:50 AM, Jon Radel wrote:


On 11/28/11 6:42 PM, Kaya Saman wrote:



However, when using tcpdump it shows that rsyslog is infact receiving
information but still unfortunately not logging to file???


# tcpdump -tlnvv -i em0 port 514
tcpdump: listening on em0, link-type EN10MB (Ethernet), capture size 96
bytes
IP (tos 0x0, ttl 255, id 1875, offset 0, flags [none], proto UDP (17),
length 142)
192.168.1.1.59189 > 192.168.1.120.514: SYSLOG, length: 114
Facility local7 (23), Severity notice (5)
Msg: 11578: 011565: Nov 28 23:34:19.475: %SYS-5-CONFIG[|syslog]



File permissions are correct as I got rsyslog to create the file from
scratch...

What am I missing here?


Have you tried with all firewalling on the machine turned off?

[My apologies if this has been covered earlier in the thread and I 
missed it.]


--Jon Radel
j...@radel.com


Yep! I don't actually run any rules on the firewall even though PF is 
enabled. it's just meant for fail2ban though.


However, disabled PF but still not working :-(
___
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: too many open files

2011-11-28 Thread Murray Taylor

>On 11/27/2011 22:07, Murray Taylor wrote:
>> I have have the same issue on a 8.0-RELEASE box and found with
>> fstat the tgam_server was holding 12511 open files ...
>>
>> A what purpose does this serve (google seems to indicate
>> that it is to speed up file access)
>
> File alteration monitoring
>
>>
>> B howinhell can I clobber it so it releases the files OR
>> (preferably) doesn't start doing this or anything...?
>
>Create a gaminrc.  I stole the template from the first google hit on 
>"gaminrc" and stuck it in /usr/local/etc/gamin/gaminrc
>

Hi Howard et al,

My  /etc/gamin/gaminrc contains this

fsset ufs none
fsset msdosfs none


and I still have 16564 files associated with gam_server in fstat out
of 17424 open files reported by sysctl kern.openfiles

It appears that gam_server doesn't play nice with kill -HUP ( there are
6 processes running)
and also doesn't play nice with x-org/KDE as I can often
get a program hang/crash as the kernel bitches about too many open files
Kmail is particularly susceptible to this.

What actually initiates it as there appears to be no related entry
in either /etc/rc.d or /usr/local/etc/rc.d ?

Currently, it is a waste of space to me, and a cause of program
instability!

Annoyed,
Murray T

---
The information transmitted in this e-mail is for the exclusive
use of the intended addressee and may contain confidential
and/or privileged material. Any review, re-transmission,
dissemination or other use of it, or the taking of any action
in reliance upon this information by persons and/or entities
other than the intended recipient is prohibited. If you
received this in error, please inform the sender and/or
addressee immediately and delete the material. 

E-mails may not be secure, may contain computer viruses and
may be corrupted in transmission. Please carefully check this
e-mail (and any attachment) accordingly. No warranties are
given and no liability is accepted for any loss or damage
caused by such matters.
---

### This e-mail message has been scanned for Viruses by Bytecraft ###
___
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: Alternative to syslogd that actually writes external logs to files?

2011-11-28 Thread Jon Radel


On 11/28/11 6:42 PM, Kaya Saman wrote:



However, when using tcpdump it shows that rsyslog is infact receiving
information but still unfortunately not logging to file???


# tcpdump -tlnvv -i em0 port 514
tcpdump: listening on em0, link-type EN10MB (Ethernet), capture size 96
bytes
IP (tos 0x0, ttl 255, id 1875, offset 0, flags [none], proto UDP (17),
length 142)
192.168.1.1.59189 > 192.168.1.120.514: SYSLOG, length: 114
Facility local7 (23), Severity notice (5)
Msg: 11578: 011565: Nov 28 23:34:19.475: %SYS-5-CONFIG[|syslog]



File permissions are correct as I got rsyslog to create the file from
scratch...

What am I missing here?


Have you tried with all firewalling on the machine turned off?

[My apologies if this has been covered earlier in the thread and I 
missed it.]


--Jon Radel
j...@radel.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: diagnosing packetloss: x-files edition

2011-11-28 Thread David Brodbeck
On Mon, Nov 28, 2011 at 5:15 AM, Kees Jan Koster  wrote:
> * Anything else?

Duplex mismatch?  Often causes problems where small packets go through
and large ones get silently dropped, or packets only get silently
dropped when the LAN is busy. The usual symptom is excessive
collisions (especially late collisions) logged on the device that's
set half-duplex, and no collisions logged on the device that's set
full duplex.
___
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: Alternative to syslogd that actually writes external logs to files?

2011-11-28 Thread Kaya Saman

On 11/28/2011 08:58 PM, Damien Fleuriot wrote:

On 11/28/11 7:09 PM, Kaya Saman wrote:

[...snip...]

Properly configured, syslogd will log remotely.  However something
like sysutils/rsyslog may fit your requirements better.

--
Adam Vande More

Thanks for that. I have tested rsyslog which is backwards compatible
with syslog but again something failed with that in order to write to
the created logfile???



We have absolutely no problems whatsoever with rsyslogd here.

It runs on our FreeBSD firewall boxes and logs both to local files and
a remote server running rsyslogd on debian.



Additionally and in reply to your need to track what happens on your
network, I very highly recommend Observium which we have been running
for over 18 months now and which I use on an almost daily basis.

http://www.observium.org/wiki/Main_Page

The icing on the cake is that you'll be able to export your logs to
Observium directly.
___
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"

Thanks for the vote of confidence!

I have set syslogd to run on the loopback and rsyslogd to run on the 
local IP address.


Here is my config file for rsyslog:



$ModLoad immark.so   # provides --MARK-- message capability
$ModLoad imuxsock.so # provides support for local system logging
$ModLoad imklog.so   # kernel logging
$ModLoad imudp
$UDPServerAddress 192.168.1.120
$UDPServerRun 514
$RuleSet Cisco857w
#:msg, contains, "192.168.1.1"/var/log/cisco857w.log
:fromhost-ip, isequal, "192.168.1.1"/var/log/cisco857w.log



According to the rule anything coming in from 192.168.1.1 should be 
logged to /var/log/cisco857.log


From rsyslog debug mode I was able to find that the rule was in place 
and should be performing properly:




0302.998028819:800c041c0: ruleset 0x800c2b0a0: rsyslog ruleset Cisco857w:
0302.998046140:800c041c0: rule 0x800c14d80: rsyslog rule:
0302.998058991:800c041c0: PROPERTY-BASED Filter:
0302.998070165:800c041c0:   Property.: 'fromhost-ip'
0302.998080781:800c041c0:   Operation: 'isequal'
0302.998099499:800c041c0:   Value: '192.168.1.1'
0302.998109835:800c041c0:   Action...:
Actions:
0302.998127435:800c041c0: builtin-file: /var/log/cisco857w.log
0302.998143918:800c041c0:   template='/var/log/cisco857w.log'
0302.998153696:800c041c0:   use async writer=0
0302.998165150:800c041c0:   flush on TX end=1
0302.998175766:800c041c0:   flush interval=1
0302.998186661:800c041c0:   file cache size=10
0302.998198115:800c041c0:   create directories: yes
0302.998208451:800c041c0:   file owner 0, group 0
0302.998218788:800c041c0:   force chown() for all files: no
0302.998229683:800c041c0:   directory owner 0, group 0
0302.998240020:800c041c0:   dir create mode 0700, file create mode 0644
0302.998254267:800c041c0:   fail if owner/group can not be set: no


However, when using tcpdump it shows that rsyslog is infact receiving 
information but still unfortunately not logging to file???



# tcpdump -tlnvv -i em0 port 514
tcpdump: listening on em0, link-type EN10MB (Ethernet), capture size 96 
bytes
IP (tos 0x0, ttl 255, id 1875, offset 0, flags [none], proto UDP (17), 
length 142)

192.168.1.1.59189 > 192.168.1.120.514: SYSLOG, length: 114
Facility local7 (23), Severity notice (5)
Msg: 11578: 011565: Nov 28 23:34:19.475: %SYS-5-CONFIG[|syslog]



File permissions are correct as I got rsyslog to create the file from 
scratch...


What am I missing here?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Can't install freebsd/pcbsd

2011-11-28 Thread doug

Top posting is frowned upon

On Tue, 29 Nov 2011, Andreas Junius wrote:


Hi,

I've checked the compability list and there is an entry for the Acer
notebook. Unfortunately a bit old and not quite informative. My problem
isn't dual boot or Windows, my problem is that I can't get the installer
started - the installer gets trapped in an endless loop. There used to be
Win Vista on that machine, which got killed by an update. It is now running
Ubuntu successfully (albeit without WLAN) but I'd prefer FreeBSD. I know
that the Acer stuff is crap but throwing it away is not an option ;o)
Any ideas how to get the installation started? Maybe there is a particular
value to set in the BIOS?


Go into the BIOS and make sure the CD is first is the boot list. If it is, make 
sure another system can read and from from the CD. If all the above is true you 
may have a hardware issue.



On Tue, Nov 29, 2011 at 6:40 AM,  wrote:


 On Mon, 28 Nov 2011, Sergio de Almeida Lenzi wrote:

 Em Seg, 2011-11-28 ?s 18:53 +1030, Andreas Junius escreveu:


 Hi all,


I'm trying to install freebsd on a notebook for quite some time. It is an
Acer Aspire 9302AWMSi with a
AMD Turion 64 Mobile CPU.
I tried freebsd 8.2, pcbsd 8.2 and pcbsd 9.0 .

Unfortunately the installation routine gets trapped in some kind of
endless
loop. Version 8.2 starts up and restarts again as soon the kernel gets
loaded. With version 9.0 I come to a menu and when I select any of the
choices, the computer restarts again. Any advice what I could do? Or is
it
simply impossible to install freebsd on this kind of notebook?

Cheers,
Andy
__**_
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions
To unsubscribe, send any mail to "freebsd-questions-**
unsubscr...@freebsd.org "




Hello.

I do now know about the other persons, but I swear to NEVER EVER
buy an ACER product again

Their bios is buggy, (does not map pci devices...),
the dma is broken, the memory dumps core,  and
they do not care about the users

I bought a Lenovo with AMD vision (very cheap and good notebook)  and I
it works very well.



Check out the compatibility list: http://laptop.bsdgroup.de/**
freebsd/index.html 

I would be very surprised if you can not install FreeBSD 8.2. Xorg is
unfortunately another matter. If you can easily reinstall windows (I assume
you want to dual boot) you can try to install only FreeBSD and see if that
works. Windows 7 uses a different scheme that makes dual booting more of an
issue than it used to be. If you google that or have access to questions
archive there are instructions and/or experience on doing that. I use a
Dell 17" inspiron which works fine but Xorg does not yet support the video
or the wifi card (both Intel). What I did to get dual boot working does not
track with most of the other experiences with windows 7. I assume that is
Dell related.

I forget what the exact term is, but if you use the built-in partition
manager to split the disk and then make a restore disk set, you can easily
get back to that configuration. I found that installing 8.x at worst takes
away the MBR so that only FreeBSD will boot. Take the standard install,
accept the geometry, take the default slice definitions, the minimum
footprint, and no ports. That should take 10-15 mins or so. If the ethernet
card is supported use csup or freebsd-update to get to the 8.2_release.

I have no experience with FreeBSD 9.0 (has a new GUI install) or pcbsd.
Following the above should be straight forward unless the compatibility
tells you your hardware is not supported.

I hope this helps,

DougD

__**_
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"


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


CPU freq question

2011-11-28 Thread Коньков Евгений
Hi

hw.model: Intel(R) Core(TM) i3 CPU 540  @ 3.07GHz
sysctl -a | grep freq
a) machdep.tsc_freq: 4145962064
b) dev.cpu.0.freq: 3626

Which CPU freq is right?


II
and why no cpu.0.freq if I disable CPU
machdep.tsc_freq: 1596039192
dev.cpu.0.freq_levels: 1596/-1 1396/-1 1197/-1 997/-1 798/-1 598/-1 399/-1 
199/-1

hw.model: Intel(R) Atom(TM) CPU  330   @ 1.60GHz
# sysctl -a kern.smp
kern.smp.forward_signal_enabled: 1
kern.smp.topology: 0
kern.smp.cpus: 1
kern.smp.disabled: 3
kern.smp.active: 0
kern.smp.maxcpus: 32
kern.smp.maxid: 3


-- 
С уважением,
 Коньков  mailto:kes-...@yandex.ru

___
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 install freebsd/pcbsd

2011-11-28 Thread Andreas Junius
Hi,

I've checked the compability list and there is an entry for the Acer
notebook. Unfortunately a bit old and not quite informative. My problem
isn't dual boot or Windows, my problem is that I can't get the installer
started - the installer gets trapped in an endless loop. There used to be
Win Vista on that machine, which got killed by an update. It is now running
Ubuntu successfully (albeit without WLAN) but I'd prefer FreeBSD. I know
that the Acer stuff is crap but throwing it away is not an option ;o)
Any ideas how to get the installation started? Maybe there is a particular
value to set in the BIOS?

Cheers,
Andy

On Tue, Nov 29, 2011 at 6:40 AM,  wrote:

>  On Mon, 28 Nov 2011, Sergio de Almeida Lenzi wrote:
>
>  Em Seg, 2011-11-28 ?s 18:53 +1030, Andreas Junius escreveu:
>>
>>  Hi all,
>>>
>>> I'm trying to install freebsd on a notebook for quite some time. It is an
>>> Acer Aspire 9302AWMSi with a
>>> AMD Turion 64 Mobile CPU.
>>> I tried freebsd 8.2, pcbsd 8.2 and pcbsd 9.0 .
>>>
>>> Unfortunately the installation routine gets trapped in some kind of
>>> endless
>>> loop. Version 8.2 starts up and restarts again as soon the kernel gets
>>> loaded. With version 9.0 I come to a menu and when I select any of the
>>> choices, the computer restarts again. Any advice what I could do? Or is
>>> it
>>> simply impossible to install freebsd on this kind of notebook?
>>>
>>> Cheers,
>>> Andy
>>> __**_
>>> freebsd-questions@freebsd.org mailing list
>>> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions
>>> To unsubscribe, send any mail to "freebsd-questions-**
>>> unsubscr...@freebsd.org "
>>>
>>
>>
>> Hello.
>>
>> I do now know about the other persons, but I swear to NEVER EVER
>> buy an ACER product again
>>
>> Their bios is buggy, (does not map pci devices...),
>> the dma is broken, the memory dumps core,  and
>> they do not care about the users
>>
>> I bought a Lenovo with AMD vision (very cheap and good notebook)  and I
>> it works very well.
>>
>
> Check out the compatibility list: http://laptop.bsdgroup.de/**
> freebsd/index.html 
>
> I would be very surprised if you can not install FreeBSD 8.2. Xorg is
> unfortunately another matter. If you can easily reinstall windows (I assume
> you want to dual boot) you can try to install only FreeBSD and see if that
> works. Windows 7 uses a different scheme that makes dual booting more of an
> issue than it used to be. If you google that or have access to questions
> archive there are instructions and/or experience on doing that. I use a
> Dell 17" inspiron which works fine but Xorg does not yet support the video
> or the wifi card (both Intel). What I did to get dual boot working does not
> track with most of the other experiences with windows 7. I assume that is
> Dell related.
>
> I forget what the exact term is, but if you use the built-in partition
> manager to split the disk and then make a restore disk set, you can easily
> get back to that configuration. I found that installing 8.x at worst takes
> away the MBR so that only FreeBSD will boot. Take the standard install,
> accept the geometry, take the default slice definitions, the minimum
> footprint, and no ports. That should take 10-15 mins or so. If the ethernet
> card is supported use csup or freebsd-update to get to the 8.2_release.
>
> I have no experience with FreeBSD 9.0 (has a new GUI install) or pcbsd.
> Following the above should be straight forward unless the compatibility
> tells you your hardware is not supported.
>
> I hope this helps,
>
> DougD
>
> __**_
> 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"


ape-project

2011-11-28 Thread Paul Macdonald


I've got a client wanting to use this.

http://www.ape-project.org/

its not in ports, and won't build even after some gentle caressing.

for reference, the easily solved issues were:
 bash path
 dep on zip,

but beyond this it's still failing.

Has anyone else got this working on BSD yet?


Paul.



--
-
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"


Re: Can't install freebsd/pcbsd

2011-11-28 Thread Jerry
On Mon, 28 Nov 2011 15:10:10 -0500 (EST)
d...@safeport.com articulated:

> I would be very surprised if you can not install FreeBSD 8.2. Xorg is 
> unfortunately another matter. If you can easily reinstall windows (I
> assume you want to dual boot) you can try to install only FreeBSD and
> see if that works. Windows 7 uses a different scheme that makes dual
> booting more of an issue than it used to be. If you google that or
> have access to questions archive there are instructions and/or
> experience on doing that. I use a Dell 17" inspiron which works fine
> but Xorg does not yet support the video or the wifi card (both
> Intel). What I did to get dual boot working does not track with most
> of the other experiences with windows 7. I assume that is Dell
> related.
> 
> I forget what the exact term is, but if you use the built-in
> partition manager to split the disk and then make a restore disk set,
> you can easily get back to that configuration. I found that
> installing 8.x at worst takes away the MBR so that only FreeBSD will
> boot. Take the standard install, accept the geometry, take the
> default slice definitions, the minimum footprint, and no ports. That
> should take 10-15 mins or so. If the ethernet card is supported use
> csup or freebsd-update to get to the 8.2_release.

These URLs might prove useful:

https://forums.freebsd.org/showthread.php?t=14222

http://apcmag.com/the_definitive_dualbooting_guide_linux_vista_and_xp_stepbystep.htm

-- 
Jerry ♔

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
Whoever dies with the most toys wins.
___
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 install freebsd/pcbsd

2011-11-28 Thread doug

 On Mon, 28 Nov 2011, Sergio de Almeida Lenzi wrote:


Em Seg, 2011-11-28 ?s 18:53 +1030, Andreas Junius escreveu:


Hi all,

I'm trying to install freebsd on a notebook for quite some time. It is an
Acer Aspire 9302AWMSi with a
AMD Turion 64 Mobile CPU.
I tried freebsd 8.2, pcbsd 8.2 and pcbsd 9.0 .

Unfortunately the installation routine gets trapped in some kind of endless
loop. Version 8.2 starts up and restarts again as soon the kernel gets
loaded. With version 9.0 I come to a menu and when I select any of the
choices, the computer restarts again. Any advice what I could do? Or is it
simply impossible to install freebsd on this kind of notebook?

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



Hello.

I do now know about the other persons, but I swear to NEVER EVER
buy an ACER product again

Their bios is buggy, (does not map pci devices...),
the dma is broken, the memory dumps core,  and
they do not care about the users

I bought a Lenovo with AMD vision (very cheap and good notebook)  and I
it works very well.


Check out the compatibility list: http://laptop.bsdgroup.de/freebsd/index.html

I would be very surprised if you can not install FreeBSD 8.2. Xorg is 
unfortunately another matter. If you can easily reinstall windows (I assume you 
want to dual boot) you can try to install only FreeBSD and see if that works. 
Windows 7 uses a different scheme that makes dual booting more of an issue than 
it used to be. If you google that or have access to questions archive there are 
instructions and/or experience on doing that. I use a Dell 17" inspiron which 
works fine but Xorg does not yet support the video or the wifi card (both 
Intel). What I did to get dual boot working does not track with most of the 
other experiences with windows 7. I assume that is Dell related.


I forget what the exact term is, but if you use the built-in partition manager 
to split the disk and then make a restore disk set, you can easily get back to 
that configuration. I found that installing 8.x at worst takes away the MBR so 
that only FreeBSD will boot. Take the standard install, accept the geometry, 
take the default slice definitions, the minimum footprint, and no ports. That 
should take 10-15 mins or so. If the ethernet card is supported use csup or 
freebsd-update to get to the 8.2_release.


I have no experience with FreeBSD 9.0 (has a new GUI install) or pcbsd. 
Following the above should be straight forward unless the compatibility tells 
you your hardware is not supported.


I hope this helps,

DougD
___
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: too many open files

2011-11-28 Thread Howard Goldstein

On 11/27/2011 22:07, Murray Taylor wrote:

I have have the same issue on a 8.0-RELEASE box and found with
fstat the tgam_server was holding 12511 open files ...

A what purpose does this serve (google seems to indicate
that it is to speed up file access)


File alteration monitoring



B howinhell can I clobber it so it releases the files OR
(preferably) doesn't start doing this or anything...?


Create a gaminrc.  I stole the template from the first google hit on 
"gaminrc" and stuck it in /usr/local/etc/gamin/gaminrc


___
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 install freebsd/pcbsd

2011-11-28 Thread Sergio de Almeida Lenzi
Em Seg, 2011-11-28 às 18:53 +1030, Andreas Junius escreveu:

> Hi all,
> 
> I'm trying to install freebsd on a notebook for quite some time. It is an
> Acer Aspire 9302AWMSi with a
> AMD Turion 64 Mobile CPU.
> I tried freebsd 8.2, pcbsd 8.2 and pcbsd 9.0 .
> 
> Unfortunately the installation routine gets trapped in some kind of endless
> loop. Version 8.2 starts up and restarts again as soon the kernel gets
> loaded. With version 9.0 I come to a menu and when I select any of the
> choices, the computer restarts again. Any advice what I could do? Or is it
> simply impossible to install freebsd on this kind of notebook?
> 
> Cheers,
> Andy
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Hello.  

I do now know about the other persons, but I swear to NEVER EVER
buy an ACER product again 

Their bios is buggy, (does not map pci devices...),
the dma is broken, the memory dumps core,  and
they do not care about the users

I bought a Lenovo with AMD vision (very cheap and good notebook)  and I
it works very well.

Sergio
___
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: Invalid fdisk partition table found (fwd)

2011-11-28 Thread Warren Block

On Mon, 28 Nov 2011, Robert wrote:

I did discover that an external card reader I was using on the Windows 
XP computer is defective. It had a bent pin and another recessed pin. 
I hope that is not what damaged these cards.


Ouch.  That sounds like a logical cause.  Although the card itself has 
sockets, and would hopefully still work in a good reader... A bad 
pin would explain why they show similar but not identical capacity.



Have these cards
been heavily used to the point where they may be failing?


I couldn't say for sure but I am waiting for answers from
the photographer/owner about other questions. She does take an
incredible amount of photos so I would guess they have been used and
clear many times.


I was thinking of them being used as drive in a computer application. 
In that kind of use, flash drives are reported to last 1.5 to 3 years.



I was attempting to force another look at /dev/da1 to see any change
not actually zero out anything.


Oh.  A little easier: true > /dev/da0


I did a lot of my testing in single user but switched to multi so that
I could more easily cut and paste tests and results.


Sorry, forgot to mention that earlier.  It really should make no 
difference 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: Alternative to syslogd that actually writes external logs to files?

2011-11-28 Thread Damien Fleuriot
On 11/28/11 7:09 PM, Kaya Saman wrote:
> [...snip...]
>> Properly configured, syslogd will log remotely.  However something
>> like sysutils/rsyslog may fit your requirements better.
>>
>> -- 
>> Adam Vande More
> 
> Thanks for that. I have tested rsyslog which is backwards compatible
> with syslog but again something failed with that in order to write to
> the created logfile???
> 


We have absolutely no problems whatsoever with rsyslogd here.

It runs on our FreeBSD firewall boxes and logs both to local files and
a remote server running rsyslogd on debian.



Additionally and in reply to your need to track what happens on your
network, I very highly recommend Observium which we have been running
for over 18 months now and which I use on an almost daily basis.

http://www.observium.org/wiki/Main_Page

The icing on the cake is that you'll be able to export your logs to
Observium directly.
___
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: problem in changing serial console speed!

2011-11-28 Thread Chip Camden
Quoth Fritz Wuehler on Monday, 28 November 2011:
> 
> I don't know but I do know a real VT100 won't run at 115,200 unless you drop
> it out of an airplane. Are you using a physical terminal or an emulator? If
> an emulator you often have to match up the emulator speed and parity
> settings etc. to the host settings. Alas my Sun boxes only run at 9,800 over
> serial even though minicom itself could do alot more.
> 
Sorry for the OT reply, but this made me laugh out loud.  Having been
shackled to a real VT100 for years, the image of dropping one from an
airplane is full of win.

-- 
.O. | Sterling (Chip) Camden  | http://camdensoftware.com
..O | sterl...@camdensoftware.com | http://chipsquips.com
OOO | 2048R/D6DBAF91  | http://chipstips.com


pgpyQMYpXCfIZ.pgp
Description: PGP signature


Re: Invalid fdisk partition table found (fwd)

2011-11-28 Thread Robert
On Mon, 28 Nov 2011 08:02:55 -0700 (MST)
Warren Block  wrote:

> On Mon, 28 Nov 2011, Robert wrote:
> 
> > Thanks for hanging in there with me. I am about ready to give up,
> > but here is where everything stands now.
> 
> Before giving up, a few more suggestions.  First, check the BIOS 
> settings.  It's possible the computer has a BIOS that "protects" the 
> boot block from viruses by making it read-only.  Second, sudo is not
> the same as being root, there are differences.  So I'd also suggest
> trying these as root, just in case.
>

I saw nothing in BIOS to suggest any protection. I am doing the testing
on a Dell Precision 490.

I did discover that an external card reader I was using on the Windows
XP computer is defective. It had a bent pin and another recessed pin. I
hope that is not what damaged these cards.

> 
> Have these cards 
> been heavily used to the point where they may be failing?

I couldn't say for sure but I am waiting for answers from
the photographer/owner about other questions. She does take an
incredible amount of photos so I would guess they have been used and
clear many times.
> 
> If the card is failing, I'd expect there to be something in 
> /var/log/messages.  

Nothing shows in /var/log/messages

> For that matter, even sysutils/smartmontools
> might work on these.

[root@dell64] ~# smartctl /dev/da1
smartctl 5.42 2011-10-20 r3458 [FreeBSD 8.2-STABLE amd64] (local build)
Copyright (C) 2002-11 by Bruce Allen,
http://smartmontools.sourceforge.net

/dev/da1: Unknown USB bridge [0x0644:0x0200 (0x400)]
Smartctl: please specify device type with the -d option.
> 
[root@dell64] ~# smartctl -d scsi -a /dev/da1
smartctl 5.42 2011-10-20 r3458 [FreeBSD 8.2-STABLE amd64] (local build)
Copyright (C) 2002-11 by Bruce Allen,
http://smartmontools.sourceforge.net

Vendor:   TEAC
Product:  USB   HS-CF Card
Revision: 4.00
User Capacity:30,965,760 bytes [30.9 MB]
Logical block size:   512 bytes
Device type:  disk
Local Time is:Mon Nov 28 10:20:13 2011 PST
Device does not support SMART

Error Counter logging not supported
Device does not support Self Test logging

> > [robert@dell64] ~> fdisk /dev/da1
> 
> Something I noticed when testing yesterday: fdisk results may not
> agree with gpart until the card has been reconnected.  In particular
> fdisk showed the single FAT32 partition as the last instead of the
> first.
>
> 
> Interesting that here the partition still exists, though.
> 
> > [robert@dell64] ~> dd if=/dev/null of=/dev/da1
> > 0+0 records in
> > 0+0 records out
> > 0 bytes transferred in 0.18 secs (0 bytes/sec)
> 
> This didn't write anything (0+0 records).  Should be
>dd if=/dev/zero of=/dev/da1 bs=512 count=35

I was attempting to force another look at /dev/da1 to see any change
not actually zero out anything.

I did a lot of my testing in single user but switched to multi so that
I could more easily cut and paste tests and results. Her are the
results as root:

[root@dell64] ~# gpart create -s mbr da1
da1 created

[root@dell64] ~# gpart add -t "\!11" da1
da1s1 added
[root@dell64] ~# gpart show da1
=>   32  60448  da1  MBR  (29M)
 32  604481  fat32  (29M)

[root@dell64] ~# newfs_msdos -F32 /dev/da1s1
/dev/da1s1: 60296 sectors in 7537 FAT32 clusters (4096 bytes/cluster)
BytesPerSec=512 SecPerClust=8 ResSectors=32 FATs=2 Sectors=60448
Media=0xf0 SecPerTrack=32 Heads=64 HiddenSecs=0 FATsecs=59
RootCluster=2 FSInfo=1 Backup=2 

At this point I removed the card and using a different external card
reader placed it in the WinXP system. Windows said the card was not
formatted and asked. I attempted to format but windows failed saying
the card could not be formatted.

I put it back in FreeBSD system and here is what I see.

[root@dell64] ~# gpart show da1 
=>  32  60448  da1  MBR  (29M) 
32  604481  fat32  (29M)

[root@dell64] ~# mount_msdosfs /dev/da1s1 /mnt
mount_msdosfs: /dev/da1s1: Invalid argument
[root@dell64] ~# gpart show da1
=>   32  60448  da1  MBR  (29M)
 32  604481  fat32  (29M)



> 
> > It acts like there is some sort of write protect on sector 1
> 
> This is what made me think of a BIOS virus-protect mentioned above. 
> Hopefully that's the problem.
> 
> > or the cards are defective.
> 
> It's worth contacting the manufacturer.  Maybe they have a reset or 
> reformat program.  If you do get to the point of discarding the
> cards, I'd be interested in experimenting on them.

I will spend some time today or tomorrow on the manufacturer's chat.

If I do give it up and it is OK with the owner I will contact you
offline.

Thanks for you help.

Robert
___
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: Alternative to syslogd that actually writes external logs to files?

2011-11-28 Thread Kaya Saman

[...snip...]
Properly configured, syslogd will log remotely.  However something 
like sysutils/rsyslog may fit your requirements better.


--
Adam Vande More


Thanks for that. I have tested rsyslog which is backwards compatible 
with syslog but again something failed with that in order to write to 
the created logfile???



Here is my config just incase something hinky can be seen; although have 
already posted it (with minimal responses) in a heading: Syslog server 
not logging remote machines to file? {basically please don't lynch me 
for double posting!!}



/etc/rc.conf

syslogd_enable="YES"
syslog_flags=""
syslogd_flags="-b 192.168.1.120 -a 192.168.1.1/24:* -C"
#syslogd_flags="-d -b 192.168.1.120 -a 192.168.1.1/24:* -vv -C"
#syslogd_flags="-c"
#rsyslogd_enable="YES"
#rsyslogd_pidfile="/var/run/syslog.pid"
#rsyslogd_config="/etc/syslog.conf"
#rsyslogd_klog_enable="YES"
#rsyslogd_flags="-d"


The extra addition to /etc/syslog.conf under the ppp statement

!*
+192.168.1.1
*.*/var/log/cisco857w.log


Debug from tcpdump:


# tcpdump -tlnvv -i em0 port 514
tcpdump: listening on em0, link-type EN10MB (Ethernet), capture size 96 
bytes
IP (tos 0x0, ttl 255, id 337, offset 0, flags [none], proto UDP (17), 
length 122)

192.168.1.1.59189 > 192.168.1.120.514: SYSLOG, length: 94
Facility local7 (23), Severity debug (7)
Msg: 10040: 010027: Nov 19 10:28:04.322: ISAKMP:(0): S[|syslog]
IP (tos 0x0, ttl 255, id 338, offset 0, flags [none], proto UDP (17), 
length 122)

192.168.1.1.59189 > 192.168.1.120.514: SYSLOG, length: 94
Facility local7 (23), Severity debug (7)
Msg: 10041: 010028: Nov 19 10:28:04.326: ISAKMP:(0): S[|syslog]
IP (tos 0x0, ttl 255, id 339, offset 0, flags [none], proto UDP (17), 
length 142)

192.168.1.1.59189 > 192.168.1.120.514: SYSLOG, length: 114
Facility local7 (23), Severity notice (5)
Msg: 10042: 010029: Nov 19 10:28:04.770: %SYS-5-CONFIG[|syslog]
IP (tos 0x0, ttl 255, id 340, offset 0, flags [none], proto UDP (17), 
length 122)

192.168.1.1.59189 > 192.168.1.120.514: SYSLOG, length: 94
Facility local7 (23), Severity debug (7)
Msg: 10043: 010030: Nov 19 10:30:30.672: ISAKMP:(0): S[|syslog]
IP (tos 0x0, ttl 255, id 341, offset 0, flags [none], proto UDP (17), 
length 122)

192.168.1.1.59189 > 192.168.1.120.514: SYSLOG, length: 94
Facility local7 (23), Severity debug (7)
Msg: 10044: 010031: Nov 19 10:30:30.672: ISAKMP:(0): S[|syslog]
IP (tos 0x0, ttl 255, id 342, offset 0, flags [none], proto UDP (17), 
length 189)

192.168.1.1.59189 > 192.168.1.120.514: SYSLOG, length: 161
Facility local7 (23), Severity info (6)
Msg: 10045: 010032: Nov 19 10:30:36.455: %DOT11-6-ASSO[|syslog]
IP (tos 0x0, ttl 255, id 343, offset 0, flags [none], proto UDP (17), 
length 203)

192.168.1.1.59189 > 192.168.1.120.514: SYSLOG, length: 175
Facility local7 (23), Severity info (6)
Msg: 10046: 010033: Nov 19 10:30:47.643: %DOT11-6-DISA[|syslog]



Debug from syslogd:



# /etc/rc.d/syslogd restart
syslogd not running? (check /var/run/syslog.pid).
Starting syslogd.
allowaddr: rule 0: numeric, addr = 192.168.1.0, mask = 255.255.255.0; 
port = 0

listening on inet and/or inet6 socket
sending on inet and/or inet6 socket
off & running
init
cfline("*.err;kern.warning;auth.notice;mail.crit/dev/console", 
f, "*", "+Server.domain")
cfline("*.notice;local7.none;authpriv.none;kern.debug;lpr.info;mail.crit;news.err
/var/log/messages", f, "*", "+Server.domain")
cfline("security.*/var/log/security", f, "*", 
"+Server.domain")
cfline("auth.info;authpriv.info/var/log/auth.log", f, 
"*", "+Server.domain")
cfline("mail.info/var/log/maillog", f, "*", 
"+Server.domain")
cfline("lpr.info/var/log/lpd-errs", f, "*", 
"+Server.domain")
cfline("ftp.info/var/log/xferlog", f, "*", 
"+Server.domain")
cfline("cron.*/var/log/cron", f, "*", 
"+Server.domain")
cfline("*.=debug/var/log/debug.log", f, "*", 
"+Server.domain")

cfline("*.emerg*", f, "*", "+Server.domain")
cfline("*.*/var/log/ppp.log", f, "ppp", 
"+Server.domain")
cfline("*.*/var/log/cisco857w.log", f, "*", 
"+192.168.1.1")

4 3 2 3 5 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 X CONSOLE: /dev/console
7 5 2 5 5 5 6 3 5 5 X 5 5 5 5 5 5 5 5 5 5 5 5 X X FILE: /var/log/messages
X X X X X X X X X X X X X 7 X X X X X X X X X X X FILE: /var/log/security
X X X X 6 X X X X X 6 X X X X X X X X X X X X X X FILE: /var/log/auth.log
X X 6 X X X X X X X X X X X X X X X X X X X X X X FILE: /var/log/maillog
X X X X X X 6 X X X X X X X X X X X X X X X X X X FILE: /var/log/lpd-errs
X X X X X X X X X X X 6 X X X X X X X X X X X X X FILE: /var/log/xferlog
X X X X X X X X X 7 X X X X X X X X X X X X X X X FILE: /var/log/cron
7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 X FILE: /var/l

Re: OpenBGPd stability issue on FreebBSD 9-PRERELEASE

2011-11-28 Thread Darren Baginski
All RX, not a single packet arrives.


28.11.2011, 04:59, "Adrian Chadd" :
> Hi,
>
> Are all RX frames dropped at that point, or just the BGP TCP session
> related IP frames?
>
> Adrian
___
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: Alternative to syslogd that actually writes external logs to files?

2011-11-28 Thread Adam Vande More
On Mon, Nov 28, 2011 at 6:58 AM, Kaya Saman  wrote:

> Hi,
>
> I would like to know if there's a syslog alternative out there that will
> actually write my network equipments' logs to files.
>
> After having major issues with syslogd and attempting a thorough debug of
> which I posted to this mailing list and wasn't able to fix even with more
> experienced peoples help I am now looking for an alternative!
>
>
> My issue with syslogd was the fact that the logging information would be
> sent to my system and that could evidently be seen, however, the software
> didn't write to the log file specified for whatever reason :-(
>
>
> During debug I started syslogd using the -d and -vv options, checked the
> log file in question was created and had correct permission. Everything
> seemed fine but nothing even tried to write to file.
>
>
> Basically I am looking for just something that will write all my external
> logs to file and can keep syslogd for the system specific logs as that's no
> problem.
>
>
> Since at the time I was using FreeBSD 8.0 CURRENT x64, I upgraded to 8.2
> on the basis that my system and hence ports collection was out-of-date; but
> unfortunately the update didn't solve my issues regarding syslog. - which
> is way odd considering I had FreeBSD 8.1 or 8.2 x86 edition running on an
> old (now packed-up) PIV which did my logging without any issues. - The
> current setup is the same except for the fact that am running Jails and am
> on a 64bit platform.
>

Properly configured, syslogd will log remotely.  However something like
sysutils/rsyslog may fit your requirements better.

-- 
Adam Vande More
___
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: Invalid fdisk partition table found (fwd)

2011-11-28 Thread Warren Block

On Mon, 28 Nov 2011, Robert wrote:


Thanks for hanging in there with me. I am about ready to give up, but
here is where everything stands now.


Before giving up, a few more suggestions.  First, check the BIOS 
settings.  It's possible the computer has a BIOS that "protects" the 
boot block from viruses by making it read-only.  Second, sudo is not the 
same as being root, there are differences.  So I'd also suggest trying 
these as root, just in case.



[robert@dell64] ~> gpart destroy -F da1
da1 destroyed
[robert@dell64] ~> sudo gpart create -s mbr da1
Password:
da1 created
[robert@dell64] ~> sudo gpart add -t "\!11" da1
da1s1 added
[robert@dell64] ~> gpart show da1
=>   32  60448  da1  MBR  (29M)
32  604481  fat32  (29M)

[robert@dell64] ~> newfs_msdos -F32 /dev/da1s1
/dev/da1s1: 60296 sectors in 7537 FAT32 clusters (4096 bytes/cluster)
BytesPerSec=512 SecPerClust=8 ResSectors=32 FATs=2 Sectors=60448
Media=0xf0 SecPerTrack=32 Heads=64 HiddenSecs=0 FATsecs=59
RootCluster=2 FSInfo=1 Backup=2


[robert@dell64] ~> sudo mount_msdosfs /dev/da1s1 /mnt
mount_msdosfs: /dev/da1s1: Invalid argument


That's odd.  da1s1 went away after being formatted.  Have these cards 
been heavily used to the point where they may be failing?


If the card is failing, I'd expect there to be something in 
/var/log/messages.  For that matter, even sysutils/smartmontools might 
work on these.



[robert@dell64] ~> fdisk /dev/da1


Something I noticed when testing yesterday: fdisk results may not agree 
with gpart until the card has been reconnected.  In particular fdisk 
showed the single FAT32 partition as the last instead of the first.



*** Working on device /dev/da1 ***
parameters extracted from in-core disklabel are:
cylinders=29 heads=64 sectors/track=32 (2048 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=29 heads=64 sectors/track=32 (2048 blks/cyl)

fdisk: invalid fdisk partition table found



[robert@dell64] ~> sudo gpart destroy da1
Password:
gpart: Device busy


gpart won't destroy a GEOM unless it's unused.  So either delete all the 
partitions first, or use 'gpart destroy -F'.


Interesting that here the partition still exists, though.


[robert@dell64] ~> dd if=/dev/null of=/dev/da1
0+0 records in
0+0 records out
0 bytes transferred in 0.18 secs (0 bytes/sec)


This didn't write anything (0+0 records).  Should be
  dd if=/dev/zero of=/dev/da1 bs=512 count=35

count=35 to make sure MBR/disklabel or primary GPT are wiped out.


It acts like there is some sort of write protect on sector 1


This is what made me think of a BIOS virus-protect mentioned above. 
Hopefully that's the problem.



or the cards are defective.


It's worth contacting the manufacturer.  Maybe they have a reset or 
reformat program.  If you do get to the point of discarding the cards, 
I'd be interested in experimenting on them.

___
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: "options atapicam" and/or "device ATA_CAM" in kernel config?

2011-11-28 Thread Lowell Gilbert
"b. f."  writes:

> The handbook does contain some oblique and scattered references to the
> new code, or at least to constructs that are common to both the old
> and the new code, but the addition of a brief discussion of the
> differences between the new and old ATA code in the handbook -- i.e.,
> the kernel and userland components that are now obsolete, and their
> replacements -- might be of some help to users.  The primary author of
> the new code did add some material to various notes and manpages, but
> he has been very busy writing and debugging code, and English is not
> his first language, so others will have to supplement his efforts.
> Perhaps you could ask for some additions on the freebsd-doc mailing
> list?

I started writing some additions as soon as I noticed the issue.  They
won't be sufficient, since I don't yet have a 9.x system, but they'll be
a start. 
___
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: Invalid fdisk partition table found (fwd)

2011-11-28 Thread Robert
On Sat, 26 Nov 2011 19:07:57 -0700 (MST)
Warren Block  wrote:

> On Sat, 26 Nov 2011, Robert wrote:
> 
> > Some difference today. Not sure at what point this happened but one
> > of my CF cards now reads:
> >
> > [robert@dell64] ~> fdisk /dev/da1
> > *** Working on device /dev/da1 ***
> > parameters extracted from in-core disklabel are:
> > cylinders=2057 heads=255 sectors/track=63 (16065 blks/cyl)
> >
> > Figures below won't work with BIOS for partitions not in cyl 1
> > parameters to be used for BIOS calculations are:
> > cylinders=2057 heads=255 sectors/track=63 (16065 blks/cyl)
> >
> > fdisk: invalid fdisk partition table found
> > Media sector size is 512
> > Warning: BIOS sector numbering starts with sector 1
> > Information from DOS bootblock is:
> > The data for partition 1 is:
> > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
> >start 63, size 33045642 (16135 Meg), flag 80 (active)
> > beg: cyl 0/ head 1/ sector 1;
> > end: cyl 8/ head 254/ sector 63
> > The data for partition 2 is:
> > 
> > The data for partition 3 is:
> > 
> > The data for partition 4 is:
> > 
> >
> > Now showing 16GB but still not right.
> >
> ...
> > I also did this in single user with the same results. Ideally, I
> > would like to change these cards to FAT32 but I cannot get there
> > with fdisk and am not sure how to get there with gpart or if I can.
> 
> Creating an MS-DOS layout with gpart(8), where the disk is da0:
> 
> # gpart destroy -F da0
> da0 destroyed
> # gpart create -s mbr da0
> da0 created
> # gpart add -t "\!11" da0
> da0s1 added

Warren,

Thanks for hanging in there with me. I am about ready to give up, but
here is where everything stands now.

[robert@dell64] ~> gpart destroy -F da1
da1 destroyed
[robert@dell64] ~> sudo gpart create -s mbr da1
Password:
da1 created
[robert@dell64] ~> sudo gpart add -t "\!11" da1
da1s1 added
[robert@dell64] ~> gpart show da1
=>   32  60448  da1  MBR  (29M)
 32  604481  fat32  (29M)

[robert@dell64] ~> newfs_msdos -F32 /dev/da1s1
/dev/da1s1: 60296 sectors in 7537 FAT32 clusters (4096 bytes/cluster)
BytesPerSec=512 SecPerClust=8 ResSectors=32 FATs=2 Sectors=60448
Media=0xf0 SecPerTrack=32 Heads=64 HiddenSecs=0 FATsecs=59
RootCluster=2 FSInfo=1 Backup=2


[robert@dell64] ~> sudo mount_msdosfs /dev/da1s1 /mnt
mount_msdosfs: /dev/da1s1: Invalid argument

[robert@dell64] ~> fdisk /dev/da1
*** Working on device /dev/da1 ***
parameters extracted from in-core disklabel are:
cylinders=29 heads=64 sectors/track=32 (2048 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=29 heads=64 sectors/track=32 (2048 blks/cyl)

fdisk: invalid fdisk partition table found
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 32, size 59360 (28 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 28/ head 63/ sector 32
The data for partition 2 is:

The data for partition 3 is:

The data for partition 4 is:


[robert@dell64] ~> sudo gpart destroy da1
Password:
gpart: Device busy

[robert@dell64] ~> dd if=/dev/null of=/dev/da1
0+0 records in
0+0 records out
0 bytes transferred in 0.18 secs (0 bytes/sec)

[robert@dell64] ~> gpart show da1
gpart: No such geom: da1.

[robert@dell64] ~> 
Now I lost the info that I created with gpart. 

> 
> 11 is 0x0b, the FAT32 partition type.  There might be a more mnemonic 
> string for it, this is the first time I've ever used gpart for FAT32. 
> The exclamation is for gpart/GPT, and the backslash is to keep the
> shell from messing with it.
> 
> # gpart show da0
> =>  63  15662997  da0  MBR  (7.5G)
>  63  156629971  fat32  (7.5G)
> 
> # ls /dev/da0*
> /dev/da0  /dev/da0s1
> # newfs_msdos -F32 /dev/da0s1
> 
> fdisk(8) may be easier, just set the partition type to 11.
> 
> > I haven't had any luck with the second CF card as it still show
> > 29MB. I will try some more later today or tomorrow.
> 
> What happened to make the one card show 16G?

I wish I knew :-). I was doing everything that you and Julian suggested
and somewhere along the line it started showing 16G. Yesterday I got it
to show FAT32 (tyoe 12) along with 16G but on da1 without a s1. I then
put it in a WinXP box but it did not even bring up the drive. When I
put it back in the FreeBSD box it was back to 28MB. This is the card
that I show above.

It acts like there is some sort of write protect on sector 1 or the
cards are defective. 
Robert

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

2011-11-28 Thread Gary Gatten
Yup, thx everyone - I think I'm removed now just took a little longer than I 
thought.

- Original Message -
From: Jerry [mailto:je...@seibercom.net]
Sent: Monday, November 28, 2011 06:53 AM
To: FreeBSD 
Subject: Re: unsubscribe

On Mon, 28 Nov 2011 00:19:55 -0600
Gary Gatten articulated:

> Unsubscribe

{SNIP}

Gary, assuming you want to be removed from this mailing list, I
suggest you check the headers of it's e-mail where you will find these
informative links:

List-Id: User questions 
List-Unsubscribe: 
, 

List-Archive: 
List-Post: 
List-Help: 
List-Subscribe: , 


Pick the one you think will be the most useful and use it.

-- 
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"








"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."


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

Dedicated Bulk Email Servers & Bulk Email Hosting

2011-11-28 Thread jake smith
   Dedicated Bulk Email Servers & Bulk Email Hosting Dedicated Bulk Email
Servers

MMS provides fully managed dedicated Linux servers configured to host mail,
web and database applications. Linux hosting packages include Apache web
server, mod_perl, Qmail, Clam Antivirus, SpamAssassin, and MySQL database.
All plans include 24×7 monitoring, firewall security, and managed support
for server hardware and software.


   - Send Unlimited Emails.
   - Multiple Dedicated IPs. (Free IP Replacement in case of blacklist)
   - Unlimited SMTP/POP accounts.
   - Deliver Fast emails to *multiple* recipients.
   - Your Application/Software, your SMTP.
   - Port 25 ISP not required.
   - Send your messages in both Text and HTML format.
   - No long term contracts.
   - Exceptional value! Lowest cost in the industry!

How it Works?  Start
Now

http://dedicated-bulk-email-bulk-email-host.blogspot.com/


Bulk Email Hosting Overview:Sending bulk or high volume email presents
unique challenges for businesses, ISPs and email hosting companies. To
accommodate bulk email sending, MMS provides several SMTP options including
shared, semi-dedicated and dedicated hosting services.

   - Dedicated clean IP address.
   - One SMTP/POP account.
   - Deliver emails to *multiple* recipients.
   - Send your messages in both Text and HTML format.
   - Your Application/Software, Our SMTP.
   - Port 25 ISP not required.
   - Send your messages in both Text and HTML format.
   - No long term contracts.
   - Exceptional value! Lowest cost in the industry!

How it Works?  Start Now

http://dedicated-bulk-email-bulk-email-host.blogspot.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"


diagnosing packetloss: x-files edition

2011-11-28 Thread Kees Jan Koster
Guys,

The packet loss I asked about earlier is getting weirder and weirder. I managed 
to track this down to being between two specific hosts exclusively.

When I run mtr from saffron to cumin I get packet loss reported on all 
intermediate routers. When I run mtr from cumin to saffron I get packet loss 
reported only on the end hop to saffron. 

But (and here it gets weird) when I run mtr from saffron to any other host on 
the Internet (although I have not tried exhaustively) I get *no* packet loss at 
all.

So what I expect now is that this is a hardware issue with the NIC in Saffron 
that only affects the traffic going to cumin and not traffic to any other host.

I will swap the NIC in saffron, but I just wanted to check:

* can this be caused by the fact that I use fwd rules in ipfw? Both Saffron and 
Cumin have such  rule.
* Can this be caused by IP aliassing? With Saffron and cumin use two IP 
addresses on their NIC.
* Anything else?
--
Kees Jan

http://java-monitor.com/
kjkos...@kjkoster.org
+31651838192

I hate unit tests; I much prefer the illusion that there are no errors in my 
code.
 -- Hendrik 
Muller

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


Alternative to syslogd that actually writes external logs to files?

2011-11-28 Thread Kaya Saman

Hi,

I would like to know if there's a syslog alternative out there that will 
actually write my network equipments' logs to files.


After having major issues with syslogd and attempting a thorough debug 
of which I posted to this mailing list and wasn't able to fix even with 
more experienced peoples help I am now looking for an alternative!



My issue with syslogd was the fact that the logging information would be 
sent to my system and that could evidently be seen, however, the 
software didn't write to the log file specified for whatever reason :-(



During debug I started syslogd using the -d and -vv options, checked the 
log file in question was created and had correct permission. Everything 
seemed fine but nothing even tried to write to file.



Basically I am looking for just something that will write all my 
external logs to file and can keep syslogd for the system specific logs 
as that's no problem.



Since at the time I was using FreeBSD 8.0 CURRENT x64, I upgraded to 8.2 
on the basis that my system and hence ports collection was out-of-date; 
but unfortunately the update didn't solve my issues regarding syslog. - 
which is way odd considering I had FreeBSD 8.1 or 8.2 x86 edition 
running on an old (now packed-up) PIV which did my logging without any 
issues. - The current setup is the same except for the fact that am 
running Jails and am on a 64bit platform.



Can anybody suggest anything?


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: unsubscribe

2011-11-28 Thread Jerry
On Mon, 28 Nov 2011 00:19:55 -0600
Gary Gatten articulated:

> Unsubscribe

{SNIP}

Gary, assuming you want to be removed from this mailing list, I
suggest you check the headers of it's e-mail where you will find these
informative links:

List-Id: User questions 
List-Unsubscribe: 
, 

List-Archive: 
List-Post: 
List-Help: 
List-Subscribe: , 


Pick the one you think will be the most useful and use it.

-- 
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"


Re: "options atapicam" and/or "device ATA_CAM" in kernel config?

2011-11-28 Thread b. f.
> Now I think I'll try to rebuild the kernel with "options ATA_CAM" and drop
> "device atapicam".
>
> This question needs to be better resolved in time for FreeBSD 9.0-RELEASE.
>
> I cross-post this message to freebsd-curr...@freebsd.org so the developers
> will see it.  FreeBSD users want to be able to burn CDs and DVDs, and since
> SCSI hardware has fallen out of style, I can say very few if any FreeBSD 9.0
> users will have an actual SCSI CD or DVD drive.

The new CAM(4) is not just for SCSI devices (and SCSI, as it is
usually used now, does not deal only with the old parallel SCSI
devices). Despite the fact that most CD and DVD drives will now appear
as cdX devices, and cd(4) is full of references to SCSI, most CD and
DVD drives should be supported.  And while burncd(8) will not work
with the new interface, other software in ports should -- for example,
sysutils/cdrtools and sysutils/cdrtools-devel, as was mentioned
before.

b.
___
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: "options atapicam" and/or "device ATA_CAM" in kernel config?

2011-11-28 Thread Thomas Mueller
> On 11/27/11, Lowell Gilbert  wrote:
> > "b. f."  writes:

> >>> > > What is the role of "options atapicam" and "device ATA_CAM" in kernel
> >>> > > config file?

> >>> > > Are they redundant?  Kernel will build with both these options, but
> >>> > > will it make things go awry?  Is ATA_CAM deprecated?

> >> They are redundant and incompatible.  atapicam is deprecated, and
> >> ATA_CAM is the new default on FreeBSD 9 and 10. Unless you have some
> >> special requirements, you should use ATA_CAM on recent versions of
> >> FreeBSD, because it usually performs better than the old ATA code, and
> >> has added functionality.

> > Ah. My apologies to anyone I confused with my incorrect comments.

> > I must say that I'm thoroughly disappointed that my searches through the
> > official documentation didn't turn up anything related to this. Even the
> > Handbook, with extensive practical descriptions of how to use this
> > functionality, doesn't mention that its advice is irrelevant to anything
> > past 8.x.
   
> The handbook does contain some oblique and scattered references to the
> new code, or at least to constructs that are common to both the old
> and the new code, but the addition of a brief discussion of the
> differences between the new and old ATA code in the handbook -- i.e.,
> the kernel and userland components that are now obsolete, and their
> replacements -- might be of some help to users.  The primary author of
> the new code did add some material to various notes and manpages, but
> he has been very busy writing and debugging code, and English is not
> his first language, so others will have to supplement his efforts.
> Perhaps you could ask for some additions on the freebsd-doc mailing
> list?
 
> b.

Now I see it's "options ATA_CAM" or "device atapicam".  It looks like I
inadvertently transposed "device" and "options" in subject line.

Now I think I'll try to rebuild the kernel with "options ATA_CAM" and drop
"device atapicam".

This question needs to be better resolved in time for FreeBSD 9.0-RELEASE.

I cross-post this message to freebsd-curr...@freebsd.org so the developers
will see it.  FreeBSD users want to be able to burn CDs and DVDs, and since
SCSI hardware has fallen out of style, I can say very few if any FreeBSD 9.0 
users will have an actual SCSI CD or DVD drive.

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"


Can't install freebsd/pcbsd

2011-11-28 Thread Andreas Junius
Hi all,

I'm trying to install freebsd on a notebook for quite some time. It is an
Acer Aspire 9302AWMSi with a
AMD Turion 64 Mobile CPU.
I tried freebsd 8.2, pcbsd 8.2 and pcbsd 9.0 .

Unfortunately the installation routine gets trapped in some kind of endless
loop. Version 8.2 starts up and restarts again as soon the kernel gets
loaded. With version 9.0 I come to a menu and when I select any of the
choices, the computer restarts again. Any advice what I could do? Or is it
simply impossible to install freebsd on this kind of notebook?

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