Re: Help vote for FreeBSD

2013-10-09 Thread Shane Ambler

On 10/10/2013 16:15, openda...@hushmail.com wrote:

Keep them coming guys! Couple hundred more and FreeBSD will top the list:

https://digitalocean.uservoice.com/forums/136585-digital-ocean/filters/top

This would be great PR for FreeBSD too.



It appears to be tagged as started, which should mean they are in the
process of adding bsd options. Even if it isn't the most popular topic.

___
freebsd-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: Help vote for FreeBSD

2013-10-09 Thread opendaddy
Keep them coming guys! Couple hundred more and FreeBSD will top the list:

https://digitalocean.uservoice.com/forums/136585-digital-ocean/filters/top

This would be great PR for FreeBSD too.

Thank you!

On 9. oktober 2013 at 2:11 PM, openda...@hushmail.com wrote:
>
>Hi,
>
>Could you guys help vote for FreeBSD over at Digital Ocean?
>
>https://digitalocean.uservoice.com/forums/136585-digital-
>ocean/suggestions/3232571-support-bsd-os-
>
>Basically it's the only SSD cloud hosting provider 
>(https://www.youtube.com/watch?v=vHZLCahai4Q) in existence and if 
>the response is good enough, they'll start offering FreeBSD.
>

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


Re: Help vote for FreeBSD

2013-10-09 Thread Outback Dingo
On Wed, Oct 9, 2013 at 10:11 AM,  wrote:

> Hi,
>
> Could you guys help vote for FreeBSD over at Digital Ocean?
>
>
> https://digitalocean.uservoice.com/forums/136585-digital-ocean/suggestions/3232571-support-bsd-os-
>
> Basically it's the only SSD cloud hosting provider (
> https://www.youtube.com/watch?v=vHZLCahai4Q) in existence and if the
> response is good enough, they'll start offering FreeBSD.
>
> Thanks!
>
>
uhmmm their not the only SSD cloud provider, and though its a shame they
dont provide FreeBSD
while others do. I do know of another with support for 8, 9, and 10
FreeBSD with SSD storage.
matter of fact their whole SAN is FreeBSD based also. email me offlist for
info if you like.


> O.D.
>
> ___
> freebsd-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"


Help vote for FreeBSD

2013-10-09 Thread opendaddy
Hi,

Could you guys help vote for FreeBSD over at Digital Ocean?

https://digitalocean.uservoice.com/forums/136585-digital-ocean/suggestions/3232571-support-bsd-os-

Basically it's the only SSD cloud hosting provider 
(https://www.youtube.com/watch?v=vHZLCahai4Q) in existence and if the response 
is good enough, they'll start offering FreeBSD.

Thanks!

O.D.

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


Freebsddiary.org - Integrated marketing help

2013-08-26 Thread Joseph Taylor
face="Verdana, sans-serif">Freebsddiary.orgcolor="#ff"> Team,
I

thought you might like to know some reasons why you are not getting
enough Social Media and Organic search engine traffic  
for Freebsddiary.org.
1.

Your website Freebsddiary.org is
not ranking top in Google organic searches for many competitive
keyword phrases.

2.
Your company is not doing well in most of the Social Media  
Websites.


3.
Your site is not user friendly on mobile devices.
There

are many additional improvements that could be made to your website,
and if you would like to learn about them, and are curious to know
what our working together would involve, then I would be glad to
provide you with a detailed analysis in the form of a WEBSITE
AUDIT REPORT for FREE.

Our
clients consistently tell us that their customers find them because
they are at the top of the Google search rankings. Being at the top
left of Google (#1- #3 organic positions) is the best thing you can
do for your company's website traffic and online reputation. You will
be happy to know that, my team is willing to guarantee you 1st
page Google ranking for most of your targeted keyword phrases in our
six month ongoing campaign.
Sound

interesting? Feel free to email us or alternatively you can provide
me with your phone number and the best time to call you. I am also
available to meet you in person and present you this website audit
report.-Best
Regards,Joseph TaylorMarketing ConsultantPS
I: I
am not spamming. I have studied your website and believe I can help
with your business promotion. If you still want us to not contact
you, you can ignore this email or ask to remove and I will not
contact again.

PS
II: I found your site using Google search and after having a look
over your website I recommend you to implement future technologies
such as HTML5 and Responsive Design to make your site more accessible
in mobile phone, tablets, desktop 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"


Freebsddiary.org - Integrated marketing help

2013-08-21 Thread Joseph Taylor
face="Verdana, sans-serif">Freebsddiary.org color="#ff">Team,
I

thought you might like to know some reasons why you are not getting
enough Social Media and Organic search engine traffic  
forFreebsddiary.org
1.

Your website Freebsddiary.org is
not ranking top in Google organic searches for many competitive
keyword phrases.
2.
Your company is not doing well in most of the Social Media  
Websites.
3.

Your site is not user friendly on mobile devices.
There

are many additional improvements that could be made to your website,
and if you would like to learn about them, and are curious to know
what our working together would involve, then I would be glad to
provide you with a detailed analysis in the form of a WEBSITE
AUDIT REPORT for FREE.
Our

clients consistently tell us that their customers find them because
they are at the top of the Google search rankings. Being at the top
left of Google (#1- #3 organic positions) is the best thing you can
do for your company's website traffic and online reputation. You will
be happy to know that, my team is willing to guarantee you 1st
page Google ranking for most of your targeted keyword phrases in our
six month ongoing campaign.
Sound

interesting? Feel free to email us or alternatively you can provide
me with your phone number and the best time to call you. I am also
available to meet you in person and present you this website audit
report.-Best
Regards,Joseph Taylorface="Verdana, sans-serif">Marketing Consultantcolor="#ff">href="tel:%28315%29-895-1453" target="_blank">(href="tel:315%29-895-1453" value="+13158951453"  
target="_blank">315)-895-1453color="#ff">



PS
I: I

am not spamming. I have studied your website and believe I can help
with your business promotion. If you still want us to not contact
you, you can ignore this email or ask to remove and I will not
contact again.
PS

II: I found your site using Google search and after having a look
over your website I recommend you to implement future technologies
such as HTML5 and Responsive Design to make your site more accessible
in mobile phone, tablets, desktop 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"


Freebsddiary.org - Integrated marketing help

2013-08-11 Thread Ethan Lim
Freebsddiary.orgface="Verdana, sans-serif"> Team,
I

thought you might like to know some reasons why you are not getting
enough Social Media and Organic search engine traffic  
for Freebsddiary.org.
1.

Your website Freebsddiary.org is
not ranking top in Google organic searches for many competitive
keyword phrases.

2.
Your company is not doing well in most of the Social Media  
Websites.


3.
Your site is not user friendly on mobile devices.
There

are many additional improvements that could be made to your website,
and if you would like to learn about them, and are curious to know
what our working together would involve, then I would be glad to
provide you with a detailed analysis in the form of a WEBSITE
AUDIT REPORT for FREE.

Our
clients consistently tell us that their customers find them because
they are at the top of the Google search rankings. Being at the top
left of Google (#1- #3 organic positions) is the best thing you can
do for your company's website traffic and online reputation. You will
be happy to know that, my team is willing to guarantee you 1st
page Google ranking for most of your targeted keyword phrases in our
six month ongoing campaign.
Sound

interesting? Feel free to email us or alternatively you can provide
me with your phone number and the best time to call you. I am also
available to meet you in person and present you this website audit
report.-Best
Regards,Ethan LimSEO
Analyst(315)-895-1453PS
I: I
am not spamming. I have studied your website and believe I can help
with your business promotion. If you still want us to not contact
you, you can ignore this email or ask to remove and I will not
contact again.

PS
II: I found your site using Google search and after having a look
over your website I recommend you to implement future technologies
such as HTML5 and Responsive Design to make your site more accessible
in mobile phone, tablets, desktop 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"


Freebsddiary.org - Integrated marketing help

2013-08-07 Thread Ethan Lim










style="text-decoration:none">style="font-style:normal">style="text-decoration:none">face="Verdana, sans-serif">style="font-style:normal">Freebsddiary.org style="font-style:normal">style="font-weight:normal">Team,



style="font-weight:normal">I

thought you might like to know some reasons why you are not getting
enough Social Media and Organic search engine traffic for  
style="font-style:normal">Freebsddiary.org.
style="font-weight:normal">1.
Your website style="font-style:normal">Freebsddiary.org
style="font-weight:normal">is

not ranking top in Google organic searches for many competitive
keyword phrases.

2.
Your company is not doing well in most of the Social Media  
Websites.


3.
Your site is not user friendly on mobile devices.
style="font-weight:normal">There

are many additional improvements that could be made to your website,
and if you would like to learn about them, and are curious to know
what our working together would involve, then I would be glad to
provide you with a detailed analysis in the form of a style="font-style:normal">WEBSITE
AUDIT REPORT for FREEstyle="font-weight:normal">.


Our
clients consistently tell us that their customers find them because
they are at the top of the Google search rankings. Being at the top
left of Google (#1- #3 organic positions) is the best thing you can
do for your company's website traffic and online reputation. You will
be happy to know that, my team is willing to guarantee you 1st
page Google ranking for most of your targeted keyword phrases in our
six month ongoing campaign.
style="font-weight:normal">Sound

interesting? Feel free to email us or alternatively you can provide
me with your phone number and the best time to call you. I am also
available to meet you in person and present you this website audit
report.style="font-weight:normal">-style="font-style:normal">Best
Regards,Ethan Limstyle="font-style:normal">SEO
Analyststyle="font-weight:normal">(315)-895-1453style="font-style:normal">PS
I: style="font-weight:normal">I

am not spamming. I have studied your website and believe I can help
with your business promotion. If you still want us to not contact
you, you can ignore this email or ask to remove and I will not
contact again.

PS
II: I found your site using Google search and after having a look
over your website I recommend you to implement future technologies
such as HTML5 and Responsive Design to make your site more accessible
in mobile phone, tablets, desktop 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"


Freebsd.org - Integrated marketing help

2013-07-29 Thread Ethan Lim










style="text-decoration:none">style="font-style:normal">style="text-decoration:none">face="Verdana, sans-serif">style="font-style:normal">Freebsd.org style="font-style:normal">style="font-weight:normal">Team,





style="font-weight:normal">I

thought you might like to know some reasons why you are not getting
enough Social Media and Organic search engine traffic for  
style="font-style:normal">Freebsd.org.
style="font-weight:normal">1.

Your website Freebsd.org
style="font-weight:normal">is

not ranking top in Google organic searches for many competitive
keyword phrases.

2.
Your company is not doing well in most of the Social Media  
Websites.


3.
Your site is not user friendly on mobile devices.
style="font-weight:normal">There

are many additional improvements that could be made to your website,
and if you would like to learn about them, and are curious to know
what our working together would involve, then I would be glad to
provide you with a detailed analysis in the form of a style="font-style:normal">WEBSITE
AUDIT REPORT for FREEstyle="font-weight:normal">.


Our
clients consistently tell us that their customers find them because
they are at the top of the Google search rankings. Being at the top
left of Google (#1- #3 organic positions) is the best thing you can
do for your company's website traffic and online reputation. You will
be happy to know that, my team is willing to guarantee you 1st
page Google ranking for most of your targeted keyword phrases in our
six month ongoing campaign.
style="font-weight:normal">Sound

interesting? Feel free to email us or alternatively you can provide
me with your phone number and the best time to call you. I am also
available to meet you in person and present you this website audit
report.style="font-weight:normal">-style="font-style:normal">Best
Regards,Ethan Limstyle="font-style:normal">SEO
Analyststyle="font-weight:normal">(315)-895-1453style="font-style:normal">PS
I: style="font-weight:normal">I

am not spamming. I have studied your website and believe I can help
with your business promotion. If you still want us to not contact
you, you can ignore this email or ask to remove and I will not
contact again.

PS
II: I found your site using Google search and after having a look
over your website I recommend you to implement future technologies
such as HTML5 and Responsive Design to make your site more accessible
in mobile phone, tablets, desktop 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"


Help! Cannot boot after freebsd-update update to 9.1-p5

2013-07-28 Thread Brett Glass
Help! I just used freebsd-update to upgrade a system to FreeBSD 
9.1-RELEASE-p5 to close the latest security holes. I then rebuilt 
my custom kernel and tried to reboot. I'm now getting the message


Can't work out which disk we are booting from.
Guessed BIOS device 0x not found by probes, defaulting to disk0:

at boot time.

The strange thing is that when I boot the system from a FreeBSD 9.1 
(AMD64) USB key, I can mount and read the file system on the hard 
drive that will not boot. There doesn't seem to be any problem with 
it. I've tried copying /boot/loader over from the USB key; still 
can't boot. Tried moving the GENERIC kernel over from the USB key 
into /boot/kernel, just in case there was a problem with my custom 
one; still can't boot. Not sure what to try next. Any ideas would 
be much appreciated!


--Brett Glass

___
freebsd-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: Help to secure my FreeBSD/Apache installation

2013-07-17 Thread Polytropon
On Wed, 17 Jul 2013 23:11:27 +0200, Andy Wodfer wrote:
> Hi everybody!
> 
> I'm running a server on FreeBSD 8.1 STABLE (apache 2.2.16, mysql 5.1.50,
> php 5.3.3) and I server some websites from it, most of them using Joomla or
> Wordpress CMS.

Those are typical (and known) attack vectors. Make sure you're
always up to date regarding fixes!



> I recently had a security breach where someone used a hole in an older
> Joomla version and was able to install a php script called webadmin.php.
> From that the person was able to browse all folders and view all files -
> and change them... not nice!

This implies you cannot know in how far your system has been
compromized. I'd suggest a new installation. Make backups of
user files and configurations. Make sure you audit them (so
you won't re-install a possible backdoor after a clean install).



> I need some help and pointers to what I can do to strengthen security and
> to atleast prevent someone from writing to the filesystem and browse all
> directories and files. (allthough joomla needs some folders to be chmod 777)


> I'm thinking about installing apache2-mpm-itk or similare to jail each site
> into its own directory and run each virtualhost as its own user. Is this a
> good idea?

At least it is a _working_ idea. If it is actually a good
idea depends on many different factors. Jails are a good
means of separation. Sometimes, using "simple user accounts"
is sufficient, but especially regarding complex web content
(such as CMS, stuff that involves PHP and whatnot) the more
security you can add, the better it is.

Also install portaudit to check for security fixes that have
been made available for the software you're running.

Apply restrictions as hard as possible. If programs want write
access to specific directories, try to make then writable per
uer accounts, not within the global tree structure (or even
within system directories).

The "nobody" user can also be helpful (regarding on what you
are running).

If you can separate the different CMSs and sites, a possible
security breach will be restricted to that only instance. It
can be taken down without affecting the other sites.

But also: Educate your users. In order to do that, use money.
Make them pay. ;-)




PS.
Allow me a short addition, I know people will beat me with
a pointed stick for mentioning it, but: There are no "folders".
This term is wrong. What you mean are called directories.
A folder is the name of one visual representation (among
others) of a directory in a graphical user interface. It
_is_ not a directory and it is not similar to one. It's
comparable to the relation of the handbrake light in your
car's dashboard vs. the real handbrake. Don't claim your
handbrake light isn't working when in fact your handbrake
is broken. :-)

Bottom line: Directory correct, "folder" plain wrong. You
don't call files "sheets of paper" either. :-)

-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Help to secure my FreeBSD/Apache installation

2013-07-17 Thread Julian H. Stacey
Hi, Reference:
> From: "Julian H. Stacey"  
> Date: Wed, 17 Jul 2013 23:38:51 +0200 

"Julian H. Stacey" wrote:
> Hi, Reference:
> > From:   Andy Wodfer  
> > Date:   Wed, 17 Jul 2013 23:11:27 +0200 
> 
> Andy Wodfer wrote:
> > Hi everybody!
> > 
> > I'm running a server on FreeBSD 8.1 STABLE (apache 2.2.16, mysql 5.1.50,
> 
> To quote front page of http://www.freebsd.org:
> * Production: 9.1
> * Legacy: 8.4
> My net. con. is too slow right now to check this for you, but look
> yourself, I bet FreeBSD-8.1 was long ago declared by security-officer@
> as not supported as too old,

Re version numbers:
  Your 8.1 STABLE does not exist !
  Only 8 Stable, 8.1-RELEASE, 8.2-RELEASE, etc.
  
  http://www.freebsd.org/security/unsupported.html
  8.1 & 8.2 not supported. 
  
  http://www.freebsd.org/security/index.html#sup
  
  9.1-RELEASE has /usr/ports/www/apache22/work/httpd-2.2.23

> Upgrade to 8.4 or 9.1, 
> Reinstall new versions of all ports,
> cd /usr/ports/ports-mgmt/portaudit  ; make install ; rehash ; portaudit ; 
> # (Which is in 9.1 & not in 8.2) 
> port-audit

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com
 Reply below not above, like a play script.  Indent old text with "> ".
 Send plain text.  No quoted-printable, HTML, base64, multipart/alternative.
___
freebsd-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: Help to secure my FreeBSD/Apache installation

2013-07-17 Thread Julian H. Stacey
Hi, Reference:
> From: Andy Wodfer  
> Date: Wed, 17 Jul 2013 23:11:27 +0200 

Andy Wodfer wrote:
> Hi everybody!
> 
> I'm running a server on FreeBSD 8.1 STABLE (apache 2.2.16, mysql 5.1.50,

To quote front page of http://www.freebsd.org:
* Production: 9.1
* Legacy: 8.4
My net. con. is too slow right now to check this for you, but look
yourself, I bet FreeBSD-8.1 was long ago declared by security-officer@
as not supported as too old,

> php 5.3.3) and I server some websites from it, most of them using Joomla or
> Wordpress CMS.
> 
> I recently had a security breach where someone used a hole in an older
> Joomla version and was able to install a php script called webadmin.php.
> From that the person was able to browse all folders and view all files -
> and change them... not nice!
> 
> Apache runs using the www user (std installation) and all virtualhosts
> share the same user, but are placed in different directories.
> 
> I need some help and pointers to what I can do to strengthen security and
> to atleast prevent someone from writing to the filesystem and browse all
> directories and files. (allthough joomla needs some folders to be chmod 777)
> 
> I'm thinking about installing apache2-mpm-itk or similare to jail each site
> into its own directory and run each virtualhost as its own user. Is this a
> good idea?
> 
> Thankful for answers and pointers!
> 
> All the best -
> Andy

Upgrade to 8.4 or 9.1, 
Reinstall new versions of all ports,
cd /usr/ports/ports-mgmt/portaudit  ; make install ; rehash ; portaudit ; 
# (Which is in 9.1 & not in 8.2) 
port-audit

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com
 Reply below not above, like a play script.  Indent old text with "> ".
 Send plain text.  No quoted-printable, HTML, base64, multipart/alternative.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Help to secure my FreeBSD/Apache installation

2013-07-17 Thread Andy Wodfer
Hi everybody!

I'm running a server on FreeBSD 8.1 STABLE (apache 2.2.16, mysql 5.1.50,
php 5.3.3) and I server some websites from it, most of them using Joomla or
Wordpress CMS.

I recently had a security breach where someone used a hole in an older
Joomla version and was able to install a php script called webadmin.php.
>From that the person was able to browse all folders and view all files -
and change them... not nice!

Apache runs using the www user (std installation) and all virtualhosts
share the same user, but are placed in different directories.

I need some help and pointers to what I can do to strengthen security and
to atleast prevent someone from writing to the filesystem and browse all
directories and files. (allthough joomla needs some folders to be chmod 777)

I'm thinking about installing apache2-mpm-itk or similare to jail each site
into its own directory and run each virtualhost as its own user. Is this a
good idea?

Thankful for answers and pointers!

All the best -
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"


Freebsddiary.org - Integrated marketing help

2013-06-26 Thread Chloe Lee









style="font-style:normal">Freebsddiary.org style="font-style:normal">style="font-weight:normal">Team,


style="font-weight:normal">I

thought you might like to know some reasons why you are not getting
enough Social Media and Organic search engine traffic for  
style="font-style:normal">Freebsddiary.org
style="font-weight:normal">1.
Your website style="font-style:normal">Freebsddiary.org
style="font-weight:normal">is

not ranking top in Google organic searches for many competitive
keyword phrases.

2.
Your company is not doing well in most of the Social Media  
Websites.


3.
Your site is not user friendly on mobile devices.
style="font-weight:normal">There

are many additional improvements that could be made to your website,
and if you would like to learn about them, and are curious to know
what our working together would involve, then I would be glad to
provide you with a detailed analysis in the form of a style="font-style:normal">WEBSITE
AUDIT REPORT for FREEstyle="font-weight:normal">.


Our
clients consistently tell us that their customers find them because
they are at the top of the Google search rankings. Being at the top
left of Google (#1- #3 organic positions) is the best thing you can
do for your company's website traffic and online  
reputation.
style="font-weight:normal">I

found your site using Google search and after having a look over your
website I think you should implement style="font-style:normal">HTML5
designing style="font-weight:normal">and

Responsive Design
style="font-weight:normal">to
make your site more accessible in mobile phone, tablets, desktop  
etc.
style="font-weight:normal">Sound

interesting? Feel free to email us or alternatively you can provide
me with your phone number and the best time to call
you.style="font-weight:normal">-style="font-style:normal">Best

Regards,Chloe
LeeAsst. Vice
Presidentstyle="font-weight:normal">(315)-895-1453style="font-style:normal">PS:
style="font-weight:normal">I

am not spamming. I have studied your website and believe I can help
with your business promotion. If you still want us to not contact
you, you can ignore this email or ask to remove and I will not
contact 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"


Re: Help finding sound driver

2013-06-26 Thread Olivier Nicole
On Wed, Jun 26, 2013 at 4:31 PM, Sergio Tam  wrote:
> 2013/6/26 Polytropon :
>> On Wed, 26 Jun 2013 11:45:10 +0700 (ICT), Olivier Nicole wrote:
>>> Azalia ADI1986A, 6 -Channel High-Definition Audio CODEC
>>> Support Jack-Sensing, Enumeration, Multi-streaming
>>> S/PDIF out on back I/O port
>>> Jack-Sensing & Enumeration
>>>
>>> Is there any change a driver exists for that audio chipset, for FreeBSD 9.1?
>>
>> Probably snd_hda will work. A common solution is to try this first
>> (because of the "name matching"), and then load all drivers and
>> see which one is working. Check the kernel output messages and
>> also "cat /dev/sndstat" to confirm success.
>>
>>
>
>
> Intel High Definition Audio (also called HD Audio or Azalia)
>
> http://www.freebsd.org/cgi/man.cgi?snd_hda

That was it, thank you.

Best regards,

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


Re: Help finding sound driver

2013-06-26 Thread Sergio Tam
2013/6/26 Polytropon :
> On Wed, 26 Jun 2013 11:45:10 +0700 (ICT), Olivier Nicole wrote:
>> Azalia ADI1986A, 6 -Channel High-Definition Audio CODEC
>> Support Jack-Sensing, Enumeration, Multi-streaming
>> S/PDIF out on back I/O port
>> Jack-Sensing & Enumeration
>>
>> Is there any change a driver exists for that audio chipset, for FreeBSD 9.1?
>
> Probably snd_hda will work. A common solution is to try this first
> (because of the "name matching"), and then load all drivers and
> see which one is working. Check the kernel output messages and
> also "cat /dev/sndstat" to confirm success.
>
>


Intel High Definition Audio (also called HD Audio or Azalia)

http://www.freebsd.org/cgi/man.cgi?snd_hda

Regards.
___
freebsd-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: Help finding sound driver

2013-06-25 Thread Polytropon
On Wed, 26 Jun 2013 11:45:10 +0700 (ICT), Olivier Nicole wrote:
> Azalia ADI1986A, 6 -Channel High-Definition Audio CODEC
> Support Jack-Sensing, Enumeration, Multi-streaming
> S/PDIF out on back I/O port
> Jack-Sensing & Enumeration 
> 
> Is there any change a driver exists for that audio chipset, for FreeBSD 9.1?

Probably snd_hda will work. A common solution is to try this first
(because of the "name matching"), and then load all drivers and
see which one is working. Check the kernel output messages and
also "cat /dev/sndstat" to confirm success.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Help finding sound driver

2013-06-25 Thread Olivier Nicole
Hello,

I have an old motherboard Asus P5L-MX that I want to use for an
application. It needs sound.

Asus documentation
(http://www.asus.com/Motherboards/P5LMX/#specifications) lists the
sound chipset as:

Azalia ADI1986A, 6 -Channel High-Definition Audio CODEC
Support Jack-Sensing, Enumeration, Multi-streaming
S/PDIF out on back I/O port
Jack-Sensing & Enumeration 

Is there any change a driver exists for that audio chipset, for FreeBSD 9.1?

TIA,

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


Freebsddiary.org - Integrated marketing help

2013-06-24 Thread Chloe Lee
Freebsddiary.orgface="Verdana, sans-serif"> Team,
I

thought you might like to know some reasons why you are not getting
enough Social Media and Organic search engine traffic  
for Freebsddiary.org
1. Your

website Freebsddiary.org is
not ranking top in Google organic searches for many competitive
keyword phrases.

2.
Your company is not doing well in most of the Social Media  
Websites.


3.
Your site is not user friendly on mobile devices.
There

are many additional improvements that could be made to your website,
and if you would like to learn about them, and are curious to know
what our working together would involve, then I would be glad to
provide you with a detailed analysis in the form of a WEBSITE
AUDIT REPORT for FREE.

Our
clients consistently tell us that their customers find them because
they are at the top of the Google search rankings. Being at the top
left of Google (#1- #3 organic positions) is the best thing you can
do for your company's website traffic and online  
reputation.
I

found your site using Google search and after having a look over your
website I think you should implement HTML5
designing and
Responsive Design
to
make your site more accessible in mobile phone, tablets, desktop  
etc.
Sound

interesting? Feel free to email us or alternatively you can provide
me with your phone number and the best time to call
you.-Best
Regards,Chloe
LeeAsst. Vice
President(315)-895-1453PS:
I
am not spamming. I have studied your website and believe I can help
with your business promotion. If you still want us to not contact
you, you can ignore this email or ask to remove and I will not
contact 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"


Help us identify you and your account

2013-05-29 Thread account . update
   [ChaseNew.gif]
   Help us identify your account




   Dear Customer,

   We need your help resolving an issue with your account. To give us time
   to work together on this, we've temporarily limited what you can do
   with your account until the issue is resolved.

   We understand it may be frustrating not to have full access to your
   Bank account. We want to work with you to get your account back to
   normal as quickly as possible.

   What's the problem?

   We need a little bit more information about you to help confirm your
   identity.

   Case ID Number: PP-001-487-280-335


   [1]CLICK TO CONFIRM

   To help us with this and to find out what you can and can't do with
   your account until the issue is resolved, log in to your account and go
   to the Resolution Center.

   Sincerely,
   Chase Bank

References

   1. 
http://www.sciproducts.co.uk/update/chase/Homepage.php?https://chaseonline.chase.com/Logon.aspx?LOB=RBGLogon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Little help with radius

2013-05-29 Thread Leonardo Santagostini
Hello list,

I was trying to do ssh authentication using Radius but, Radius server is on
the AD not in my FreeBSD box.

Anyone can give to me a clue?

Thanks in advance,

Regards/Saludos.-
Leonardo Santagostini
___
freebsd-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: Operation timed out with smtp.gmail.com - please help

2013-03-30 Thread Jerry
On Sat, 30 Mar 2013 10:17:55 -0700 (PDT)
Anton Shterenlikht articulated:

> Jerry, Matthew, thank you
> 
> I think I got it working.
> In addition to your advice, this guide was very helpful:
> 
> http://www.phinesolutions.com/sendmail-gmail-smtp-relay-howto.html
> 
> It seems these two options were required:
> 
> define(`RELAY_MAILER_ARGS', `TCP $h 587')
> define(`ESMTP_MAILER_ARGS', `TCP $h 587')

After reading that "How-to", I am so glad I use Postfix. Anyway, glad
you got it to work. You might find the idiot who wrote that first
"manual" you referenced and tell him/her they are a dumb-ass and post a
corrected manual.

-- 
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: Operation timed out with smtp.gmail.com - please help

2013-03-30 Thread Anton Shterenlikht
Date: Sat, 30 Mar 2013 07:49:19 -0400
From: Jerry 
To: FreeBSD 
Subject: Re: Operation timed out with smtp.gmail.com - please help

On Sat, 30 Mar 2013 10:49:45 +
Matthew Seaman articulated:

> Given you're seeing that CONNECTED message there, it certainly does.
> The problem with that openssl command seems to be the 'unable to get
> local issuer certificate' part.  That's possibly openssl being pickier
> about verifying certs than sendmail would be, but that certificate
> verification step is probably where you're coming adrift.  You need to
> have the intermediate certs used by Google in your cacert.pem file, so
> sendmail will trust the smtp.gmail.com cert.  Check the 'confCACERT'
> setting in your sendmail.mc.  I have a block of code like this:
>=20
> define(`CERT_DIR', `MAIL_SETTINGS_DIR`'certs')dnl
> define(`confCACERT_PATH', `CERT_DIR')dnl
> define(`confCACERT', `CERT_DIR/cacert.pem')dnl
> define(`confSERVER_CERT', `CERT_DIR/cert.pem')dnl
> define(`confSERVER_KEY', `CERT_DIR/key.pem')dnl
> define(`confCLIENT_CERT', `CERT_DIR/cert.pem')dnl
> define(`confCLIENT_KEY', `CERT_DIR/key.pem')dnl
>=20
> which allows me to put all the keys and certs in /etc/mail/certs/

If you really need the Gmail certs, you can use this to get them:

openssl s_client -connect smtp.gmail.com:587 -starttls smtp -showcerts

If you feel you really need the "Equifax Secure Certificate Authority"
pem, go here <http://www.geotrust.com/resources/root-certificates/> and
download it.

Again, how to set up Sendmail is a task I leave for the student.

Jerry, Matthew, thank you

I think I got it working.
In addition to your advice, this guide was very helpful:

http://www.phinesolutions.com/sendmail-gmail-smtp-relay-howto.html

It seems these two options were required:

define(`RELAY_MAILER_ARGS', `TCP $h 587')
define(`ESMTP_MAILER_ARGS', `TCP $h 587')

Thanks again

Anton
___
freebsd-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: Operation timed out with smtp.gmail.com - please help

2013-03-30 Thread Jerry
On Sat, 30 Mar 2013 10:49:45 +
Matthew Seaman articulated:

> Given you're seeing that CONNECTED message there, it certainly does.
> The problem with that openssl command seems to be the 'unable to get
> local issuer certificate' part.  That's possibly openssl being pickier
> about verifying certs than sendmail would be, but that certificate
> verification step is probably where you're coming adrift.  You need to
> have the intermediate certs used by Google in your cacert.pem file, so
> sendmail will trust the smtp.gmail.com cert.  Check the 'confCACERT'
> setting in your sendmail.mc.  I have a block of code like this:
> 
> define(`CERT_DIR', `MAIL_SETTINGS_DIR`'certs')dnl
> define(`confCACERT_PATH', `CERT_DIR')dnl
> define(`confCACERT', `CERT_DIR/cacert.pem')dnl
> define(`confSERVER_CERT', `CERT_DIR/cert.pem')dnl
> define(`confSERVER_KEY', `CERT_DIR/key.pem')dnl
> define(`confCLIENT_CERT', `CERT_DIR/cert.pem')dnl
> define(`confCLIENT_KEY', `CERT_DIR/key.pem')dnl
> 
> which allows me to put all the keys and certs in /etc/mail/certs/

If you really need the Gmail certs, you can use this to get them:

openssl s_client -connect smtp.gmail.com:587 -starttls smtp -showcerts

If you feel you really need the "Equifax Secure Certificate Authority"
pem, go here  and
download it.

Again, how to set up Sendmail is a task I leave for the student.

-- 
Jerry ♔

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



signature.asc
Description: PGP signature


Re: Operation timed out with smtp.gmail.com - please help

2013-03-30 Thread Jerry
On Sat, 30 Mar 2013 10:14:44 GMT
Anton Shterenlikht articulated:

>   Date: Fri, 29 Mar 2013 15:36:19 -0400
>   From: Jerry 
>   To: FreeBSD 
>   Subject: Re: Operation timed out with smtp.gmail.com - please
> help
> 
>   On Fri, 29 Mar 2013 18:32:34 GMT
>   Anton Shterenlikht articulated:
> 
>   > Please help debug sendmail / smtp.gmail config.
>   > 
>   > My University just switched to gmail (dickheads)
>   > and I'm trying to figure out how to set it up.
>   > 
>   > It used to work ok with the University smtp auth
>   > server. Now I get in /var/log/maillog:
>   > 
>   >  sm-mta[72300]: r2TI0vQc072134: to=,
>   >  ctladdr= (1001/1001),
>   >  delay=00:20:01, xdelay=00:00:00, mailer=relay, pri=210424,
>   >  relay=smtp.gmail.com, dsn=4.0.0,
>   >  stat=Deferred: Operation timed out with smtp.gmail.com
>   > 
>   > I switched the firewall off completely.
>   > 
>   > I have:
>   > 
>   > # cat /etc/mail/auth/client-info
>   > AuthInfo:smtp.gmail.com "U:root" "I:me...@bristol.ac.uk"
>   > "P:x" # 
>   > 
>   > and this in /etc/mail/freebsd.mc:
>   > 
>   > define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5
>   > LOGIN')dnl define(`SMART_HOST', `smtp.gmail.com')dnl
>   > 
>   > I rebuilt (run make under /etc/mail. This just
>   > renames freebsd.mc to .mc, and freebsd.submit.mc
>   > to .submit.mc) and restarted sendmail.
>   > 
>   > I also use:
>   > 
>   > MASQUERADE_AS(`bristol.ac.uk')
>   > MASQUERADE_DOMAIN(`bristol.ac.uk')
>   > 
>   > to use the university domain instead of
>   > may .men.bris.ac.uk, which is not
>   > acceptable.
> 
>   Try this at the command line:
> 
>   openssl s_client -connect smtp.gmail.com:25 -starttls smtp
> 
>   If it times out, change the port number to 587 and try it
> again. If you cannot make a connect using either port number then you
> have a firewall problem.
> 
> Thank you, I get:
> 
> $ openssl s_client -connect smtp.gmail.com:25 -starttls smtp
> connect: Operation timed out
> connect:errno=60
> $ 
> 
> $ openssl s_client -connect smtp.gmail.com:587 -starttls smtp
> CONNECTED(0003)
> depth=1 C = US, O = Google Inc, CN = Google Internet Authority
> verify error:num=20:unable to get local issuer certificate
> verify return:0
> ---
> Certificate chain
>  0 s:/C=US/ST=California/L=Mountain View/O=Google
> Inc/CN=smtp.gmail.com i:/C=US/O=Google Inc/CN=Google Internet
> Authority 1 s:/C=US/O=Google Inc/CN=Google Internet Authority
>i:/C=US/O=Equifax/OU=Equifax Secure Certificate Authority
> ---
> Server certificate
> -BEGIN CERTIFICATE-
> MIIDgDCCAumgAwIBAgIKO3T/ewBoqDANBgkqhkiG9w0BAQUFADBGMQswCQYD
> VQQGEwJVUzETMBEGA1UEChMKR29vZ2xlIEluYzEiMCAGA1UEAxMZR29vZ2xlIElu
> dGVybmV0IEF1dGhvcml0eTAeFw0xMjA5MTIxMTU3NTBaFw0xMzA2MDcxOTQzMjda
> MGgxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1N
> b3VudGFpbiBWaWV3MRMwEQYDVQQKEwpHb29nbGUgSW5jMRcwFQYDVQQDEw5zbXRw
> LmdtYWlsLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAv0UvQmjW1y96
> cOK6AdQVEYPRd3ZQ9UhxkKfuVaYS9riOESFkWxkz+b3Ts/EOA5SY8axkaJS7Qa/v
> N7laztYY8tTkx9Ml+eCY4xh0fFq9z4/WWADGqTY5I0wvqjZr+jBuYGulK1fU4ZUS
> QpuZMMO9x7Bmr5LVP9C5r2qnoqtMtJUCAwEAAaOCAVEwggFNMB0GA1UdJQQWMBQG
> CCsGAQUFBwMBBggrBgEFBQcDAjAdBgNVHQ4EFgQUaCtARMZ9urIDfdpR6v1AkQsr
> 44owHwYDVR0jBBgwFoAUv8Aw6/VDET5nup6R+/xq2uNrEiQwWwYDVR0fBFQwUjBQ
> oE6gTIZKaHR0cDovL3d3dy5nc3RhdGljLmNvbS9Hb29nbGVJbnRlcm5ldEF1dGhv
> cml0eS9Hb29nbGVJbnRlcm5ldEF1dGhvcml0eS5jcmwwZgYIKwYBBQUHAQEEWjBY
> MFYGCCsGAQUFBzAChkpodHRwOi8vd3d3LmdzdGF0aWMuY29tL0dvb2dsZUludGVy
> bmV0QXV0aG9yaXR5L0dvb2dsZUludGVybmV0QXV0aG9yaXR5LmNydDAMBgNVHRMB
> Af8EAjAAMBkGA1UdEQQSMBCCDnNtdHAuZ21haWwuY29tMA0GCSqGSIb3DQEBBQUA
> A4GBADSkwmtEUhy/AhX2sIULT0Q5S9OlfKxbyE8hEc8nxls3jbk5yKZYd35Bzyy8
> raoUPFuD3IH+zP/FGj5LPQirjnJLUvuFDsiM4eowPUthQad9SGWWdz6hCx8HpEUZ
> 1ssGnwb3HX34e9RH57v9LdtVUPdFYQsBJ36miGPylWk6r0xx
> -END CERTIFICATE-
> subject=/C=US/ST=California/L=Mountain View/O=Google
> Inc/CN=smtp.gmail.com issuer=/C=US/O=Google Inc/CN=Google Internet
> Authority ---
> No client certificate CA names sent
> ---
> SSL handshake has read 2317 bytes and written 476 bytes
> ---
> New, TLSv1/SSLv3, Cipher is ECDHE-RSA-RC4-SHA
> Server public key is 1024 bit
> Secure Renegotiation IS supported
> Compression: NONE
> Expansion: NONE
> SSL-Session:
> Protocol  : TLSv1.2
>

Re: Operation timed out with smtp.gmail.com - please help

2013-03-30 Thread Matthew Seaman
On 30/03/2013 10:14, Anton Shterenlikht wrote:
> The university IT support page:
> http://www.bristol.ac.uk/it-services/applications/email/gmail/manual-config-gmail.html
> 
> actually says that port 465 SSL should be used,
> so I also tried:
> 
> $ openssl s_client -connect smtp.gmail.com:465 -starttls smtp
> CONNECTED(0003)
> ^C
> $ 
> 
> Not sure what to make of this.
> 
> Is the port set by sendmail config files?
> 
> Many thanks for your help
> 

Port 465 wouldn't use STARTTLS -- it requires SSL straight away.  Try:

% openssl s_client -connect  smtp.gmail.com:465

If it works you should see output to do with setting up session keys etc.

However, SMTP on port 465 seems to be mostly a windows thing, and
generally discouraged -- use of STARTTLS or equivalent to allow both SSL
and plaintext without having to allocate a separate port for SSL is
preferred.   I'm pretty sure that gmail does support STARTTLS...

> $ openssl s_client -connect smtp.gmail.com:587 -starttls smtp
> CONNECTED(0003)
> depth=1 C = US, O = Google Inc, CN = Google Internet Authority
> verify error:num=20:unable to get local issuer certificate
> verify return:0
> ---
> Certificate chain
>  0 s:/C=US/ST=California/L=Mountain View/O=Google Inc/CN=smtp.gmail.com
>i:/C=US/O=Google Inc/CN=Google Internet Authority
>  1 s:/C=US/O=Google Inc/CN=Google Internet Authority
>i:/C=US/O=Equifax/OU=Equifax Secure Certificate Authority
> ---

Given you're seeing that CONNECTED message there, it certainly does.
The problem with that openssl command seems to be the 'unable to get
local issuer certificate' part.  That's possibly openssl being pickier
about verifying certs than sendmail would be, but that certificate
verification step is probably where you're coming adrift.  You need to
have the intermediate certs used by Google in your cacert.pem file, so
sendmail will trust the smtp.gmail.com cert.  Check the 'confCACERT'
setting in your sendmail.mc.  I have a block of code like this:

define(`CERT_DIR', `MAIL_SETTINGS_DIR`'certs')dnl
define(`confCACERT_PATH', `CERT_DIR')dnl
define(`confCACERT', `CERT_DIR/cacert.pem')dnl
define(`confSERVER_CERT', `CERT_DIR/cert.pem')dnl
define(`confSERVER_KEY', `CERT_DIR/key.pem')dnl
define(`confCLIENT_CERT', `CERT_DIR/cert.pem')dnl
define(`confCLIENT_KEY', `CERT_DIR/key.pem')dnl

which allows me to put all the keys and certs in /etc/mail/certs/

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: Operation timed out with smtp.gmail.com - please help

2013-03-30 Thread Anton Shterenlikht
Date: Fri, 29 Mar 2013 15:36:19 -0400
From: Jerry 
To: FreeBSD 
Subject: Re: Operation timed out with smtp.gmail.com - please help

On Fri, 29 Mar 2013 18:32:34 GMT
Anton Shterenlikht articulated:

> Please help debug sendmail / smtp.gmail config.
> 
> My University just switched to gmail (dickheads)
> and I'm trying to figure out how to set it up.
> 
> It used to work ok with the University smtp auth
> server. Now I get in /var/log/maillog:
> 
>  sm-mta[72300]: r2TI0vQc072134: to=,
>  ctladdr= (1001/1001),
>  delay=00:20:01, xdelay=00:00:00, mailer=relay, pri=210424,
>  relay=smtp.gmail.com, dsn=4.0.0,
>  stat=Deferred: Operation timed out with smtp.gmail.com
> 
> I switched the firewall off completely.
> 
> I have:
> 
> # cat /etc/mail/auth/client-info
> AuthInfo:smtp.gmail.com "U:root" "I:me...@bristol.ac.uk" "P:x"
> # 
> 
> and this in /etc/mail/freebsd.mc:
> 
> define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
> define(`SMART_HOST', `smtp.gmail.com')dnl
> 
> I rebuilt (run make under /etc/mail. This just
> renames freebsd.mc to .mc, and freebsd.submit.mc
> to .submit.mc) and restarted sendmail.
> 
> I also use:
> 
> MASQUERADE_AS(`bristol.ac.uk')
> MASQUERADE_DOMAIN(`bristol.ac.uk')
> 
> to use the university domain instead of
> may .men.bris.ac.uk, which is not
> acceptable.

Try this at the command line:

openssl s_client -connect smtp.gmail.com:25 -starttls smtp

If it times out, change the port number to 587 and try it again. If you
cannot make a connect using either port number then you have a firewall
problem.

Thank you, I get:

$ openssl s_client -connect smtp.gmail.com:25 -starttls smtp
connect: Operation timed out
connect:errno=60
$ 

$ openssl s_client -connect smtp.gmail.com:587 -starttls smtp
CONNECTED(0003)
depth=1 C = US, O = Google Inc, CN = Google Internet Authority
verify error:num=20:unable to get local issuer certificate
verify return:0
---
Certificate chain
 0 s:/C=US/ST=California/L=Mountain View/O=Google Inc/CN=smtp.gmail.com
   i:/C=US/O=Google Inc/CN=Google Internet Authority
 1 s:/C=US/O=Google Inc/CN=Google Internet Authority
   i:/C=US/O=Equifax/OU=Equifax Secure Certificate Authority
---
Server certificate
-BEGIN CERTIFICATE-
MIIDgDCCAumgAwIBAgIKO3T/ewBoqDANBgkqhkiG9w0BAQUFADBGMQswCQYD
VQQGEwJVUzETMBEGA1UEChMKR29vZ2xlIEluYzEiMCAGA1UEAxMZR29vZ2xlIElu
dGVybmV0IEF1dGhvcml0eTAeFw0xMjA5MTIxMTU3NTBaFw0xMzA2MDcxOTQzMjda
MGgxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1N
b3VudGFpbiBWaWV3MRMwEQYDVQQKEwpHb29nbGUgSW5jMRcwFQYDVQQDEw5zbXRw
LmdtYWlsLmNvbTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAv0UvQmjW1y96
cOK6AdQVEYPRd3ZQ9UhxkKfuVaYS9riOESFkWxkz+b3Ts/EOA5SY8axkaJS7Qa/v
N7laztYY8tTkx9Ml+eCY4xh0fFq9z4/WWADGqTY5I0wvqjZr+jBuYGulK1fU4ZUS
QpuZMMO9x7Bmr5LVP9C5r2qnoqtMtJUCAwEAAaOCAVEwggFNMB0GA1UdJQQWMBQG
CCsGAQUFBwMBBggrBgEFBQcDAjAdBgNVHQ4EFgQUaCtARMZ9urIDfdpR6v1AkQsr
44owHwYDVR0jBBgwFoAUv8Aw6/VDET5nup6R+/xq2uNrEiQwWwYDVR0fBFQwUjBQ
oE6gTIZKaHR0cDovL3d3dy5nc3RhdGljLmNvbS9Hb29nbGVJbnRlcm5ldEF1dGhv
cml0eS9Hb29nbGVJbnRlcm5ldEF1dGhvcml0eS5jcmwwZgYIKwYBBQUHAQEEWjBY
MFYGCCsGAQUFBzAChkpodHRwOi8vd3d3LmdzdGF0aWMuY29tL0dvb2dsZUludGVy
bmV0QXV0aG9yaXR5L0dvb2dsZUludGVybmV0QXV0aG9yaXR5LmNydDAMBgNVHRMB
Af8EAjAAMBkGA1UdEQQSMBCCDnNtdHAuZ21haWwuY29tMA0GCSqGSIb3DQEBBQUA
A4GBADSkwmtEUhy/AhX2sIULT0Q5S9OlfKxbyE8hEc8nxls3jbk5yKZYd35Bzyy8
raoUPFuD3IH+zP/FGj5LPQirjnJLUvuFDsiM4eowPUthQad9SGWWdz6hCx8HpEUZ
1ssGnwb3HX34e9RH57v9LdtVUPdFYQsBJ36miGPylWk6r0xx
-END CERTIFICATE-
subject=/C=US/ST=California/L=Mountain View/O=Google Inc/CN=smtp.gmail.com
issuer=/C=US/O=Google Inc/CN=Google Internet Authority
---
No client certificate CA names sent
---
SSL handshake has read 2317 bytes and written 476 bytes
---
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-RC4-SHA
Server public key is 1024 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
SSL-Session:
Protocol  : TLSv1.2
Cipher: ECDHE-RSA-RC4-SHA
Session-ID: 8CAF4204FADB72F58FA6334A62F65B7182EF06F3C9AD8042FD44B9F726E8C9D5
Session-ID-ctx: 
Master-Key: 
45312AE23341AAFA1414BDDD30740E4FB40655986FD410A606CD351206BBAC5E5496F77DDF4DBE32B0E9B7E7FFA1057
Key-Arg   : None
PSK identity: None
PSK identity hint: None
SRP username: None
TLS session ticket lifetime hint: 100800 (seconds)
TLS session ticket:
 - 63 53 11 b3 92 0d 59 63-15 90 58 10 84 f2 f7 6a   cSYc..Xj
0010 - 7c 7c 

Re: Operation timed out with smtp.gmail.com - please help

2013-03-29 Thread Jerry
On Fri, 29 Mar 2013 18:32:34 GMT
Anton Shterenlikht articulated:

> Please help debug sendmail / smtp.gmail config.
> 
> My University just switched to gmail (dickheads)
> and I'm trying to figure out how to set it up.
> 
> It used to work ok with the University smtp auth
> server. Now I get in /var/log/maillog:
> 
>  sm-mta[72300]: r2TI0vQc072134: to=,
>  ctladdr= (1001/1001),
>  delay=00:20:01, xdelay=00:00:00, mailer=relay, pri=210424,
>  relay=smtp.gmail.com, dsn=4.0.0,
>  stat=Deferred: Operation timed out with smtp.gmail.com
> 
> I switched the firewall off completely.
> 
> I have:
> 
> # cat /etc/mail/auth/client-info
> AuthInfo:smtp.gmail.com "U:root" "I:me...@bristol.ac.uk" "P:x"
> # 
> 
> and this in /etc/mail/freebsd.mc:
> 
> define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
> define(`SMART_HOST', `smtp.gmail.com')dnl
> 
> I rebuilt (run make under /etc/mail. This just
> renames freebsd.mc to .mc, and freebsd.submit.mc
> to .submit.mc) and restarted sendmail.
> 
> I also use:
> 
> MASQUERADE_AS(`bristol.ac.uk')
> MASQUERADE_DOMAIN(`bristol.ac.uk')
> 
> to use the university domain instead of
> may .men.bris.ac.uk, which is not
> acceptable.

Try this at the command line:

openssl s_client -connect smtp.gmail.com:25 -starttls smtp

If it times out, change the port number to 587 and try it again. If you
cannot make a connect using either port number then you have a firewall
problem.

-- 
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: Operation timed out with smtp.gmail.com - please help

2013-03-29 Thread CeDeROM
gmail has blocking mechanism when you use it from different devices,
try this maybe it will help:

https://accounts.google.com/DisplayUnlockCaptcha

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


Operation timed out with smtp.gmail.com - please help

2013-03-29 Thread Anton Shterenlikht
Please help debug sendmail / smtp.gmail config.

My University just switched to gmail (dickheads)
and I'm trying to figure out how to set it up.

It used to work ok with the University smtp auth
server. Now I get in /var/log/maillog:

 sm-mta[72300]: r2TI0vQc072134: to=,
 ctladdr= (1001/1001),
 delay=00:20:01, xdelay=00:00:00, mailer=relay, pri=210424,
 relay=smtp.gmail.com, dsn=4.0.0,
 stat=Deferred: Operation timed out with smtp.gmail.com

I switched the firewall off completely.

I have:

# cat /etc/mail/auth/client-info
AuthInfo:smtp.gmail.com "U:root" "I:me...@bristol.ac.uk" "P:x"
# 

and this in /etc/mail/freebsd.mc:

define(`confAUTH_MECHANISMS', `GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN')dnl
define(`SMART_HOST', `smtp.gmail.com')dnl

I rebuilt (run make under /etc/mail. This just
renames freebsd.mc to .mc, and freebsd.submit.mc
to .submit.mc) and restarted sendmail.

I also use:

MASQUERADE_AS(`bristol.ac.uk')
MASQUERADE_DOMAIN(`bristol.ac.uk')

to use the university domain instead of
may .men.bris.ac.uk, which is not
acceptable.

What else am I missing?

Thanks

Anton
___
freebsd-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 server for sons tv shows. please help

2013-01-26 Thread Brent Clark

Good day

Im not it its because of a power failure or what, but for some reason my 
'download server', has lost its raid (0/ stripe).


Im trying to fix this, for the raid contains quite a few shows for my son.

If I go

[root@torry /usr/home/bclark]# gstripe list
Geom name: st0
State: UP
Status: Total=3, Online=3
Type: AUTOMATIC
Stripesize: 65536
ID: 1006591079
Providers:
1. Name: stripe/st0
   Mediasize: 360102297600 (335G)
   Sectorsize: 512
   Stripesize: 65536
   Stripeoffset: 0
   Mode: r0w0e0
Consumers:
1. Name: ada0
   Mediasize: 120034123776 (111G)
   Sectorsize: 512
   Mode: r0w0e0
   Number: 0
2. Name: ada1
   Mediasize: 120034123776 (111G)
   Sectorsize: 512
   Mode: r0w0e0
   Number: 2
3. Name: ada4
   Mediasize: 120034123776 (111G)
   Sectorsize: 512
   Mode: r0w0e0
   Number: 1

I see 'State: UP'

if i:
[root@torry /usr/home/bclark]# mount -t ufs /dev/stripe/st0a /mnt/
mount: /dev/stripe/st0a: Invalid argument

[root@torry /usr/home/bclark]# fsck /dev/stripe/st0a
fsck: Could not determine filesystem type

[root@torry /usr/home/bclark]# fsck_ufs /dev/stripe/st0a
** /dev/stripe/st0a
Cannot find file system superblock
ioctl (GCINFO): Inappropriate ioctl for device
fsck_ufs: /dev/stripe/st0a: can't read disk label

If someone could help, it would be appreciated, of what the next step 
is, it would be appreciated.





___
freebsd-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: help with SVN needed {slightly off-topic}

2013-01-21 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 1/20/13 6:55 PM, Gary Kline wrote:
> 
> 
[...]
> the part I need help with is Subversion.  I used CVS about 15 years
>  ago, and svn looks slightly familiar.  the project on google.code 
> are looking for me to use svn to install my base files.  I think; 
> not sure.  on my desktop here I have one development directory for 
> all my source files.  I have subversion installed here.  briefly: 
> what now?
> 
> do I create a svn directory here? or do I ftp/scp/<> things to
> the voice-by-computer account to the google.code project? thanks
> for any help.
> 
> gary
[...]

Hi Gary,

This will help you get started importing your code into the Google
repository: http://svnbook.red-bean.com/en/1.7/svn.tour.importing.html

After that, you'll find answers to most other questions here:
http://svnbook.red-bean.com/en/1.7/index.html

Best regards,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlD9qTQACgkQ0sRouByUApAMcwCfU3foxCGbu9bxwynYcWD/Kh3M
Uo4An2L+nWg0FuamEMayMhp/JTfMJR3f
=tYmv
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


help with SVN needed {slightly off-topic}

2013-01-20 Thread Gary Kline


(hm, well, other than to say that im installing 9.1 on my uni-CPU
laptop, this is =really= OT.)

okay, here's what I need help with and some of the whys and
wherefors, etc:  much to my surprise, my little speech application
for the impaired is gaining recognition rapidly.  ive heard from 
people from oz, from somewshere in the philippines, from england--
or maybe I should say "u.k.", as well as from a few locales here
in the states.  mostly, tho, my focus remains on writing or
finishing this program fro the one computer per child project that
is/was from MIT.  I'm not sure I believe this, but according to 
some source, there are some unholy number of children with some
disability. of the 7 billion there are 100 million children with
some disability.  not all speech, of course, but still---

a gtk+ wizard took my posted VBC code and make mods to it.  he
suggested that I set up an account on sourceforge.net so he and
others could contribute.  I have an acct there but couldn't figure
anything out.  a fellow on fbook suggested google.  I spent most
of saturday setting up a forum and a place for my code on
google.code.  if it sounds like I'm making progress, well, 
that's debatable.  nothing to do with hacking.  just the 
peripheral stuff.  

the part I need help with is Subversion.  I used CVS about 15 years 
ago, and svn looks slightly familiar.  the project on google.code
are looking for me to use svn to install my base files.  I think;
not sure.  on my desktop here I have one development directory for
all my source files.  I have subversion installed here.  briefly:
what now?

do I create a svn directory here? or do I ftp/scp/<> things
to the voice-by-computer account to the google.code project?
thanks for any help.

gary

ps: from the ``ya don' hafta be a hacker to help Dept:'' a speech
therapist wrote with some thoughts on what I should =avoid=
as well as things to include.  things I had never thought of!!


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Twenty-six 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"


Help to understand the behaviour of TCP-Cubic module in FreeBSD

2013-01-08 Thread Debojyoti Roy
Hi Everyone,

I am trying to develop TCP-CUBIC and using Free-BSD as a standard device
for testing.


To load the Cubic module in FreeBSD the following commands were executed :

kldload ./cc_cubic.ko
sysctl -w net.inet.tcp.cc.algorithm=cubic

The test method has been attached which was used to understand the
behaviour of TCP-Cubic.

There are few questions regarding the behaviour of FreeBSD.

Q1) After receiving Full Acknowledgement from the receiver, sender entered
into Congestion Avoidance State. At that moment filghtsize was equal to 0
and CWND became 1. Now, sender will increase its CWND according to CUBIC
algorithm but FreeBSD follows Slow Start Algorithm by incrementing CWND
from 1 --> 2 --> 4 segments. As per my understanding, if FreeBSD follows
TCP-Cubic functionality, it should be in TCP friendly region. So, CWND
should be 7 in next RTT. Calculation has been provided below :

*W_tcp(t) = W_Max * (1 - beta) + 3 * beta/(2 - beta) * t/RTT*

*=> W_tcp(t) = 7 *

*[W_Max = 8, congestion occurs = 18.874sec , current time = 18.878sec,
therefore elapsed time t = 0.004 sec, RTT = (18.878 - 18.876) = 0.002 sec,
beta = 0.2]*
But I find that it incremented to 2 rather than 7.

Could you please explain this behaviour ?

Q2) If my tool acknowledges all the packets coming from FreeBSD after Fast
Retransmit, the segment sequence was 1 --> 2 --> 4 --> 5 --> 6 --> 7 --> 8
--> 6 --> 6 --> 6... Why after sending 8 segments in congestion avoidance
state, CWND unexpectedly sets to 6 ?

Q3) What will be the unit of t and RTT (i.e seconds or miliseconds) ?

Q4) In Cubic-draft both concave and convex use the same formula. Only
difference in convex it depends on max_increment_rate. How does
max_increment_rate variable can be calculated ?

If I have any wrong understanding please rectify me and I will be very
grateful if you could answer the questions as soon as possible.

Thanks in advance,
Debojyoti Roy
The following method has been used to test the Cubic in congestion avoidance 
state : 

+
| Test  Action in   

|
| Step No.  the step
Comments
|
+
|1  RECEIVER sends SYN packet   
Connection Estublishment
|
|2  FreeBSD sends SYN-ACK packet

|
|3  RECEIVER sends ACK packet   

|
+---+
|4  FreeBSD sends 4 segments
From here we can infer that initial window size is 4. So, CWND = 4  
|
+---+
|5  RECEIVER sends ACK for all 4 segments   
FreeBSD will follow the Slow Start Algorithm. Hence it should make CWND = 2 x 4 
= 8 |
+---+
|6  FreeBSD sends 8 segments

|
+---+
|7  RECEIVER sends 3-Duplicate ACKs of last segment of step 5   
FreeBSD realises the Congestion has occured 
|
+---+
|8  FreeBSD retransmits the lost segment
FreeBSD in Fast Retransmit state
|
+

Re: Help! Firefox + acroread costs me $$$$

2012-12-12 Thread Chad Perrin
On Tue, Dec 11, 2012 at 05:16:12PM -0800, Ronald F. Guilmette wrote:
> 
> This problem has been annoying me for some time now, but until now
> it was never really an issue that I could not easily work-around.
> 
> I was just trying to download a PDF document off of the Pacer[tm]
> federal courts web site.  These are not free.  They cost ten cents
> per page.  I tried to download a 29 page document and it downloaded
> into firefox just fine and then was displayed in a new firefox tab
> which was apparently using acroread8 to display the document.
> 
> I know from past experience that acroreadN runs like crap on FreeBSD...
> often using up enormous amounts of CPU % for no apparently good reason.
> But this time it really got my goat.  I clicked on the little acroread
> icon for printing the current document, a pop-up dialog box for printing
> came up, but before I could hit the print button on that, everything
> relating to firefox... all open tabs and all open windows... froze up
> solid.
> 
> Now, having wasted three bucks for no good reason (and STILL not having
> a hardcopy of the document I wanted), I am motivated to finally get this
> sorted out.
> 
> So, on FreeBSD, how does one get firefox and/or opera to use, for example,
> evince or some other PDF displayer instead of using this goddamn lousey
> buggy *&^%$#@ acroread ?

The first thing to do should simply be to uninstall acroread.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


signature.asc
Description: Digital signature


Re: Help! Firefox + acroread costs me $$$$

2012-12-12 Thread Julian H. Stacey
Hi,
Reference:
> From: Warren Block  
> Date: Tue, 11 Dec 2012 20:10:16 -0700 (MST) 
> Message-id:

Warren Block wrote:
> On Tue, 11 Dec 2012, Ronald F. Guilmette wrote:
> 
> > So, on FreeBSD, how does one get firefox and/or opera to use, for example,
> > evince or some other PDF displayer instead of using this goddamn lousey
> > buggy *&^%$#@ acroread ?
> 
> Remove acroread entirely.  Install graphics/xpdf.  Click on a PDF link, 
> tell Firefox to use xpdf and do that for all files of this type.

Be aware xpdf will not do quite all PDF files that (horribly slow)
acroread can (ie new PDFs with data entry forms & xml).
I use xpdf all I can for normal reading of PDF tech specs etc,
& use acroread just for filling in UK corporation tax return PDFs, 
though freebsd has other solutions that may work for those pdf/xml too.

Cheers,
Julian
-- 
Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com
 Reply below not above, like a play script.  Indent old text with "> ".
 Send plain text. Not: HTML, multipart/alternative, base64, quoted-printable.
___
freebsd-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: Help! Firefox + acroread costs me $$$$

2012-12-12 Thread John Levine
>So, on FreeBSD, how does one get firefox and/or opera to use, for example,
>evince or some other PDF displayer instead of using this goddamn lousey
>buggy *&^%$#@ acroread ?

In Firefox, Edit->Preferences, click the Applications tab, look for
application/pdf and make the obvious adjustments.

I find that for nearly everything else, chromium works better than
firefox, but for PACER, only Firefox supports RECAP.  You do use
RECAP, I hope.

R's,
John

PS: On my FBSD 9.0, acroread8 works OK, much slower than evince but in
some cases it renders the PDF better, and often translates to
postscript better for printing.
___
freebsd-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: Help! Firefox + acroread costs me $$$$

2012-12-11 Thread Polytropon
On Tue, 11 Dec 2012 20:10:16 -0700 (MST), Warren Block wrote:
> On Tue, 11 Dec 2012, Ronald F. Guilmette wrote:
> 
> > So, on FreeBSD, how does one get firefox and/or opera to use, for example,
> > evince or some other PDF displayer instead of using this goddamn lousey
> > buggy *&^%$#@ acroread ?
> 
> Remove acroread entirely.  Install graphics/xpdf.  Click on a PDF link, 
> tell Firefox to use xpdf and do that for all files of this type.

The xpdf program seems to _sometimes_ have problems with
carelessly created PDF documents. The best idea would be
to use a Firefox extension (as suggested) to first _download_
and _save_ the PDF file to disk for further use.

Then, testing xpdf and using it to print the file would be
much easier. If the file has been paid for, it can be opened
several times whatever program should be tested. For example,
even gv or zathura could be tried. And in the end, even
acroread. Even _I_ have to admit that I'm using it from time
to time, even if it REDEFINES THE MOUSE CURSOR to an ugly
white arrow! What a stupid move...

However, for paid content, first saving, then using, would
be the best way to deal with it. So the "in-line processing
chain" consisting of Firefox + somehow embedded acroread
(really?) could be split, so the reason for the system
freeze could be determined.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Help! Firefox + acroread costs me $$$$

2012-12-11 Thread Warren Block

On Tue, 11 Dec 2012, Ronald F. Guilmette wrote:


So, on FreeBSD, how does one get firefox and/or opera to use, for example,
evince or some other PDF displayer instead of using this goddamn lousey
buggy *&^%$#@ acroread ?


Remove acroread entirely.  Install graphics/xpdf.  Click on a PDF link, 
tell Firefox to use xpdf and do that for all files of this type.

___
freebsd-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: Help! Firefox + acroread costs me $$$$

2012-12-11 Thread Dima Panov

12.12.2012 12:16, Ronald F. Guilmette пишет:

So, on FreeBSD, how does one get firefox and/or opera to use, for example,
evince or some other PDF displayer instead of using this goddamn lousey
buggy *&^%$#@ acroread ?

Or do I have to fire up my Windows machine, just to print out a lousey
PDF ?



pdf_download extention for firefox will help you to control links to pdf 
files (open in tab, download, open with another reader)


--
Dima Panov (flu...@freebsd.org)
(KDE, Office)@FreeBSD team

Facebook: http://www.facebook.com/fluffy.khv
IRC: fluffy@EFNet, fluffykhv@FreeNode
twitter: fluffy_khv | skype: dima.panov

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

Help! Firefox + acroread costs me $$$$

2012-12-11 Thread Ronald F. Guilmette

This problem has been annoying me for some time now, but until now
it was never really an issue that I could not easily work-around.

I was just trying to download a PDF document off of the Pacer[tm]
federal courts web site.  These are not free.  They cost ten cents
per page.  I tried to download a 29 page document and it downloaded
into firefox just fine and then was displayed in a new firefox tab
which was apparently using acroread8 to display the document.

I know from past experience that acroreadN runs like crap on FreeBSD...
often using up enormous amounts of CPU % for no apparently good reason.
But this time it really got my goat.  I clicked on the little acroread
icon for printing the current document, a pop-up dialog box for printing
came up, but before I could hit the print button on that, everything
relating to firefox... all open tabs and all open windows... froze up
solid.

Now, having wasted three bucks for no good reason (and STILL not having
a hardcopy of the document I wanted), I am motivated to finally get this
sorted out.

So, on FreeBSD, how does one get firefox and/or opera to use, for example,
evince or some other PDF displayer instead of using this goddamn lousey
buggy *&^%$#@ acroread ?

Or do I have to fire up my Windows machine, just to print out a lousey
PDF ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Help needed : acroread needs libcanberra-gtk-module.so

2012-11-20 Thread Manish Jain



Hello,

This is the first time I am seeing a problem with running Acrobat Reader 
(on a fresh FreeBSD-8.3-i386 installation) :


/root # Gtk-Message: Failed to load module "canberra-gtk-module": 
libcanberra-gtk-module.so: cannot open shared object file: No such file 
or directory
Gtk-Message: Failed to load module "gnomesegvhandler": 
libgnomesegvhandler.so: cannot open shared object file: No such file or 
directory


[1]+  Exit 1  acroread8


Running the linux version of Opera is even more disastrous :

/root # linux-opera
linux-opera linux-opera-widget-manager
/root # linux-opera &
[1] 2984
/root # opera [crash logging]: CRASH!!
/usr/local/lib/linux-opera/opera got signal SIGSEGV at address 0841AA43


Can someone please help me out ?


--
Regards,

Manish Jain
bourne.ident...@hotmail.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: HELP: some process eat my /var

2012-11-05 Thread Lowell Gilbert
Eugen Konkov  writes:

> Здравствуйте, Vincent.
>
> Вы писали 5 ноября 2012 г., 12:38:47:
>>>
> VH> Its possible that a process is holding open an unlinked file (some
> VH> processes do this for tmp files as they are automatically deleted if the
> VH> program exit, I believe mysql does it for tmp tables for example)
> VH> I've had this happen when a log got rotated but the process wasnt
> VH> notified so it kept writing to the file.
> VH> I believe lsof +L1  will show unlinked but open files.
>
> it shows nothing ((

Not surprising; I think you had already covered that possibility with
fstat(1). It's vaguely possible that the space is used in large files
that are "covered" by the dev filesystem mounted in named's chroot, but
I think it's more likely you have some filesystem corruption.

Have you tried an fsck(8)? As usual, you would want good backups first,
and then rebooting to single-user mode so you can fsck the filesystem
without it being mounted.

Good luck.
___
freebsd-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[2]: HELP: some process eat my /var

2012-11-05 Thread Eugen Konkov
Здравствуйте, Vincent.

Вы писали 5 ноября 2012 г., 12:38:47:

VH> On 05/11/2012 09:32, Eugen Konkov wrote:
>> Здравствуйте, Robert.
>>
>> # du -h /var | sort -nr | head -n 25
>> 976k/var/db/mysql/mysql
>> 892k/var/mail/freeline.in.ua/luda
>> 888M/var/log/radius/radacct/10.11.19.50
>> 858M/var/crash
>> 840k/var/mail/freeline.in.ua/luda/cur
>> 836k/var/db/firebird/help
>> 608k/var/spool
>> 564k/var/db/pkg/perl-threaded-5.14.1_3
>> 552k/var/spool/postfix
>> 512B/var/named/dev
>> 432k/var/db/ports
>> 412k/var/db/pkg/python26-2.6.7_2
>> 392k/var/spool/postfix/defer
>> 354M/var/mail
>> 264k/var/db/pkg/libX11-1.4.4,1
>> 244k/var/db/pkg/en-freebsd-doc-20110521
>> 236k/var/tmp
>> 236k/var/mail/freeline.in.ua/znz2
>> 224k/var/monit
>> 223M/var/log/radius/radacct/10.10.0.2
>> 172M/var/mail/freeline.in.ua
>> 171M/var/mail/freeline.in.ua/office
>> 170M/var/mail/freeline.in.ua/office/cur
>> 158M/var/mail/kes.net.ua
>> 157M/var/mail/kes.net.ua/kes
>>
>> Something mistery take space, because of files take only 6.4G
>> # du -h -d 0 /var
>> 6.4G/var
>>
>> bug df says that there are more space was taken:
>> df -h
>> /dev/ada0s1d 30G 24G3.5G87%/var
>>
>> 6.4G vs 24G
>>
VH> Its possible that a process is holding open an unlinked file (some
VH> processes do this for tmp files as they are automatically deleted if the
VH> program exit, I believe mysql does it for tmp tables for example)
VH> I've had this happen when a log got rotated but the process wasnt
VH> notified so it kept writing to the file.
VH> I believe lsof +L1  will show unlinked but open files.

it shows nothing ((



VH> Vince

>>
>> Вы писали 3 ноября 2012 г., 5:01:49:
>>
>>
>> RH> Gary Aitken writes:
>>
>>>>  Looks like /var/log has most of it.
>>>>  If you're running X, check for a huge Xorg.0.log.
>>>>  I had this problem as a result of a radeon graphics card that would get 
>>>> into
>>>>  some kind of reinitialization loop.
>>>>  In any case, look at the files in /var/log
>> RH> A way to check disk usage:
>>
>> RH> du /var | sort -nr | head -n 25
>>
>> RH> If you see something you don't recognize or that seems wrong
>> RH> 
>>
>>
>> RH> Robert Huff
>>
>>
>> RH> ___
>> RH> freebsd-questions@freebsd.org mailing list
>> RH> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> RH> To unsubscribe, send any mail to
>> RH> "freebsd-questions-unsubscr...@freebsd.org"
>>
>>
>>
>>





-- 
С уважением,
 Eugen  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: HELP: some process eat my /var

2012-11-05 Thread Vincent Hoffman
On 05/11/2012 09:32, Eugen Konkov wrote:
> Здравствуйте, Robert.
>
> # du -h /var | sort -nr | head -n 25
> 976k/var/db/mysql/mysql
> 892k/var/mail/freeline.in.ua/luda
> 888M/var/log/radius/radacct/10.11.19.50
> 858M/var/crash
> 840k/var/mail/freeline.in.ua/luda/cur
> 836k/var/db/firebird/help
> 608k/var/spool
> 564k/var/db/pkg/perl-threaded-5.14.1_3
> 552k/var/spool/postfix
> 512B/var/named/dev
> 432k/var/db/ports
> 412k/var/db/pkg/python26-2.6.7_2
> 392k/var/spool/postfix/defer
> 354M/var/mail
> 264k/var/db/pkg/libX11-1.4.4,1
> 244k/var/db/pkg/en-freebsd-doc-20110521
> 236k/var/tmp
> 236k/var/mail/freeline.in.ua/znz2
> 224k/var/monit
> 223M/var/log/radius/radacct/10.10.0.2
> 172M/var/mail/freeline.in.ua
> 171M/var/mail/freeline.in.ua/office
> 170M/var/mail/freeline.in.ua/office/cur
> 158M/var/mail/kes.net.ua
> 157M/var/mail/kes.net.ua/kes
>
> Something mistery take space, because of files take only 6.4G
> # du -h -d 0 /var
> 6.4G/var
>
> bug df says that there are more space was taken:
> df -h
> /dev/ada0s1d 30G 24G3.5G87%/var
>
> 6.4G vs 24G
>
Its possible that a process is holding open an unlinked file (some
processes do this for tmp files as they are automatically deleted if the
program exit, I believe mysql does it for tmp tables for example)
I've had this happen when a log got rotated but the process wasnt
notified so it kept writing to the file.
I believe lsof +L1  will show unlinked but open files.



Vince

>
> Вы писали 3 ноября 2012 г., 5:01:49:
>
>
> RH> Gary Aitken writes:
>
>>>  Looks like /var/log has most of it.
>>>  If you're running X, check for a huge Xorg.0.log.
>>>  I had this problem as a result of a radeon graphics card that would get 
>>> into
>>>  some kind of reinitialization loop.
>>>  In any case, look at the files in /var/log
> RH> A way to check disk usage:
>
> RH> du /var | sort -nr | head -n 25
>
> RH> If you see something you don't recognize or that seems wrong
> RH> 
>
>
> RH> Robert Huff
>
>
> RH> ___
> RH> freebsd-questions@freebsd.org mailing list
> RH> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> RH> To unsubscribe, send any mail to
> RH> "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[2]: HELP: some process eat my /var

2012-11-05 Thread Eugen Konkov
Здравствуйте, Robert.

# du -h /var | sort -nr | head -n 25
976k/var/db/mysql/mysql
892k/var/mail/freeline.in.ua/luda
888M/var/log/radius/radacct/10.11.19.50
858M/var/crash
840k/var/mail/freeline.in.ua/luda/cur
836k/var/db/firebird/help
608k/var/spool
564k/var/db/pkg/perl-threaded-5.14.1_3
552k/var/spool/postfix
512B/var/named/dev
432k/var/db/ports
412k/var/db/pkg/python26-2.6.7_2
392k/var/spool/postfix/defer
354M/var/mail
264k/var/db/pkg/libX11-1.4.4,1
244k/var/db/pkg/en-freebsd-doc-20110521
236k/var/tmp
236k/var/mail/freeline.in.ua/znz2
224k/var/monit
223M/var/log/radius/radacct/10.10.0.2
172M/var/mail/freeline.in.ua
171M/var/mail/freeline.in.ua/office
170M/var/mail/freeline.in.ua/office/cur
158M/var/mail/kes.net.ua
157M/var/mail/kes.net.ua/kes

Something mistery take space, because of files take only 6.4G
# du -h -d 0 /var
6.4G/var

bug df says that there are more space was taken:
df -h
/dev/ada0s1d 30G 24G3.5G87%/var

6.4G vs 24G



Вы писали 3 ноября 2012 г., 5:01:49:


RH> Gary Aitken writes:

>>  Looks like /var/log has most of it.
>>  If you're running X, check for a huge Xorg.0.log.
>>  I had this problem as a result of a radeon graphics card that would get into
>>  some kind of reinitialization loop.
>>  In any case, look at the files in /var/log

RH> A way to check disk usage:

RH> du /var | sort -nr | head -n 25

RH> If you see something you don't recognize or that seems wrong
RH> 


RH> Robert Huff


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




-- 
С уважением,
 Eugen  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: HELP: some process eat my /var

2012-11-02 Thread Robert Huff

Gary Aitken writes:

>  Looks like /var/log has most of it.
>  If you're running X, check for a huge Xorg.0.log.
>  I had this problem as a result of a radeon graphics card that would get into
>  some kind of reinitialization loop.
>  In any case, look at the files in /var/log

A way to check disk usage:

du /var | sort -nr | head -n 25

If you see something you don't recognize or that seems wrong



Robert Huff


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


Re: HELP: some process eat my /var

2012-11-02 Thread Gary Aitken
Looks like /var/log has most of it.
If you're running X, check for a huge Xorg.0.log.
I had this problem as a result of a radeon graphics card that would get into
some kind of reinitialization loop.
In any case, look at the files in /var/log

On 11/02/12 13:05, Eugen Konkov wrote:
> 
> how to find which process take space?
> 
> 
> root@newflux:/var/log # cd /var
> root@newflux:/var #
> root@newflux:/var #
> root@newflux:/var #
> root@newflux:/var #
> root@newflux:/var #
> root@newflux:/var # df -h
> Filesystem  SizeUsed   Avail Capacity  Mounted on
> /dev/ada0s1a  2G455M1.3G25%/
> devfs   1.0k1.0k  0B   100%/dev
> /dev/ada0s1e3.9G488M3.1G13%/tmp
> /dev/ada0s1f 37G 27G7.3G79%/usr
> /dev/ada0s1d 30G 23G3.7G87%/var
> /dev/ada0s1g216G8.0k199G 0%/backup
> procfs  4.0k4.0k  0B   100%/proc
> devfs   1.0k1.0k  0B   100%/var/named/dev
> root@newflux:/var # fstat -f /var
> USER CMD  PID   FD MOUNT  INUM MODE SZ|DV R/W
> root fstat  97928   wd /var  2 drwxr-xr-x 512  r
> root csh96949   wd /var  2 drwxr-xr-x 512  r
> root mc 96947   wd /var 802560 drwxr-xr-x3072  r
> root csh96124   wd /var  2 drwxr-xr-x 512  r
> root snmpd  960247 /var 804161 -rw-r- 728  r
> root mpd5   515854 /var 3691792 -rw-r--r--   6 rw
> freeradi radiusd515543 /var 802703 -rw-r-   0  w
> root inetd  226873 /var 3691804 -rw---   5  w
> root cron   22392   wd /var 3772032 drwxr-x--- 512  r
> root cron   223923 /var 3691803 -rw---   5  w
> smmspsendmail   22311   wd /var 1926151 drwxrwx--- 512  r
> smmspsendmail   223114 /var 1926203 -rw---  51  w
> root sendmail   22202   wd /var 1926147 drwxr-xr-x 512  r
> root sendmail   222025 /var 3691802 -rw---  80  w
> bind named   7370   wd /var 401288 drwxr-xr-x 512  r
> bind named   7370 root /var 401280 drwxr-xr-x 512  r
> bind named   7370 jail /var 401280 drwxr-xr-x 512  r
> root devd56935 /var 3691824 -rw---   4  w
> quagga   bgpd46163 /var 3691791 -rw-r--r--   5 rw
> quagga   zebra   46115 /var 3691788 -rw-r--r--   5 rw
> root@newflux:/var # du -h -d 1
> 4.0k./.snap
> 4.0k./account
>   12k./at
> 4.0k./audit
> 3.1M./backups
> 858M./crash
> 8.0k./cron
> 1.3G./db
>   36k./empty
> 4.0k./heimdal
> 3.7G./log
> 352M./mail
> 8.0k./msgs
> 1.6M./named
> 4.0k./preserve
> 108k./run
> 4.0k./rwho
> 608k./spool
> 236k./tmp
>   28k./yp
> 4.0k./games
> 4.0k./agentx
> 4.0k./cache
>   28k./net-snmp
>   28k./lost+found
> 212k./monit
> 6.2G.
> 
> 

___
freebsd-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[2]: HELP: some process eat my /var

2012-11-02 Thread Eugen Konkov
Здравствуйте, Bryan.

Вы писали 2 ноября 2012 г., 21:27:15:

BD> On 11/2/2012 2:20 PM, Eugen Konkov wrote:
>> Здравствуйте, Bryan.
>> 
>> Вы писали 2 ноября 2012 г., 21:09:49:
>> 
>> BD> On 11/2/2012 2:05 PM, Eugen Konkov wrote:
 858M./crash

 1.3G./db

 3.7G./log
>> 
>> BD> Cleanup old coredumps in /crash. Ensure /etc/newsyslog.conf captures all
>> BD> of your big logfiles in /var/log. Also consider moving whatever is large
>> BD> in /var/db elsewhere.
>> 
>> BD> Bryan
>> 
>> Notice df -h
>> /dev/ada0s1d 30G 23G3.7G87%/var
>> 
>> and notice du -h -d 1
>> 6.2G
>> 
>> I have only 6.2G are occupied by files
>> 
>> where 18Gb of disk space?
>> 

BD> Are you running MySQL? It uses hidden tmpfiles that may grow quite
BD> large. Restarting it may cleanup the space.

BD> Bryan

as I have showed  'fstat -f /var' have no mysql running.

as 'top' shows there is no zombie:
# top -SIHP
last pid: 99128;  load averages:  0.85,  0.93,  1.03
  up 3+04:05:04  21:48:50
186 processes: 5 running, 139 sleeping, 42 waiting
CPU 0:  0.0% user,  0.0% nice,  7.7% system,  8.5% interrupt, 83.8% idle
CPU 1:  0.7% user,  0.0% nice, 11.3% system,  5.6% interrupt, 82.4% idle
CPU 2:  1.4% user,  0.0% nice,  4.9% system,  9.2% interrupt, 84.5% idle
CPU 3:  0.7% user,  0.0% nice,  8.5% system,  7.7% interrupt, 83.1% idle
Mem: 97M Active, 1781M Inact, 264M Wired, 55M Cache, 112M Buf, 1274M Free
Swap: 2048M Total, 220K Used, 2048M Free

Maybe other process uses hidden files. How to find such files??



-- 
С уважением,
 Eugen  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: HELP: some process eat my /var

2012-11-02 Thread Michael Powell
Eugen Konkov wrote:

> 
> how to find which process take space?
> 
> 
You might want to look at fstat and lsof. fstat is in system while lsof is 
an add-on third party port. Keep in mind that when you do find the space you 
are looking for it will be held 'open' as an open file in the file system as 
long as the process is running. During normal operations you can shut down 
the process and release the space so it can be deleted. This is relatively 
straightforward as long as everything is 'normal'. The more difficult 
position arises when a process has behaved abnormally, including going 
zombie, crashing, etc. With the 'abnormal' there can be a chance that even 
though the process is gone you may encounter difficulty trying to 
delete/recover the space because the file system still considers it an open 
file.

-Mike



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


Re: Re[2]: HELP: some process eat my /var

2012-11-02 Thread Steve O'Hara-Smith
On Fri, 2 Nov 2012 21:20:51 +0200
Eugen Konkov  wrote:

> Notice df -h
> /dev/ada0s1d 30G 23G3.7G87%/var
> 
> and notice du -h -d 1
> 6.2G
> 
> I have only 6.2G are occupied by files
> 
> where 18Gb of disk space?

Probably in a deleted file still open by some process.

-- 
Steve O'Hara-Smith 
___
freebsd-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: HELP: some process eat my /var

2012-11-02 Thread Bryan Drewery
On 11/2/2012 2:20 PM, Eugen Konkov wrote:
> Здравствуйте, Bryan.
> 
> Вы писали 2 ноября 2012 г., 21:09:49:
> 
> BD> On 11/2/2012 2:05 PM, Eugen Konkov wrote:
>>> 858M./crash
>>>
>>> 1.3G./db
>>>
>>> 3.7G./log
> 
> BD> Cleanup old coredumps in /crash. Ensure /etc/newsyslog.conf captures all
> BD> of your big logfiles in /var/log. Also consider moving whatever is large
> BD> in /var/db elsewhere.
> 
> BD> Bryan
> 
> Notice df -h
> /dev/ada0s1d 30G 23G3.7G87%/var
> 
> and notice du -h -d 1
> 6.2G
> 
> I have only 6.2G are occupied by files
> 
> where 18Gb of disk space?
> 

Are you running MySQL? It uses hidden tmpfiles that may grow quite
large. Restarting it may cleanup the space.

Bryan
___
freebsd-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[2]: HELP: some process eat my /var

2012-11-02 Thread Eugen Konkov
Здравствуйте, Bryan.

Вы писали 2 ноября 2012 г., 21:09:49:

BD> On 11/2/2012 2:05 PM, Eugen Konkov wrote:
>> 858M./crash
>> 
>> 1.3G./db
>> 
>> 3.7G./log

BD> Cleanup old coredumps in /crash. Ensure /etc/newsyslog.conf captures all
BD> of your big logfiles in /var/log. Also consider moving whatever is large
BD> in /var/db elsewhere.

BD> Bryan

Notice df -h
/dev/ada0s1d 30G 23G3.7G87%/var

and notice du -h -d 1
6.2G

I have only 6.2G are occupied by files

where 18Gb of disk space?

-- 
С уважением,
 Eugen  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: HELP: some process eat my /var

2012-11-02 Thread Bryan Drewery
On 11/2/2012 2:05 PM, Eugen Konkov wrote:
> 858M./crash
> 
> 1.3G./db
> 
> 3.7G./log

Cleanup old coredumps in /crash. Ensure /etc/newsyslog.conf captures all
of your big logfiles in /var/log. Also consider moving whatever is large
in /var/db elsewhere.

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


HELP: some process eat my /var

2012-11-02 Thread Eugen Konkov

how to find which process take space?


root@newflux:/var/log # cd /var
root@newflux:/var #
root@newflux:/var #
root@newflux:/var #
root@newflux:/var #
root@newflux:/var #
root@newflux:/var # df -h
Filesystem  SizeUsed   Avail Capacity  Mounted on
/dev/ada0s1a  2G455M1.3G25%/
devfs   1.0k1.0k  0B   100%/dev
/dev/ada0s1e3.9G488M3.1G13%/tmp
/dev/ada0s1f 37G 27G7.3G79%/usr
/dev/ada0s1d 30G 23G3.7G87%/var
/dev/ada0s1g216G8.0k199G 0%/backup
procfs  4.0k4.0k  0B   100%/proc
devfs   1.0k1.0k  0B   100%/var/named/dev
root@newflux:/var # fstat -f /var
USER CMD  PID   FD MOUNT  INUM MODE SZ|DV R/W
root fstat  97928   wd /var  2 drwxr-xr-x 512  r
root csh96949   wd /var  2 drwxr-xr-x 512  r
root mc 96947   wd /var 802560 drwxr-xr-x3072  r
root csh96124   wd /var  2 drwxr-xr-x 512  r
root snmpd  960247 /var 804161 -rw-r- 728  r
root mpd5   515854 /var 3691792 -rw-r--r--   6 rw
freeradi radiusd515543 /var 802703 -rw-r-   0  w
root inetd  226873 /var 3691804 -rw---   5  w
root cron   22392   wd /var 3772032 drwxr-x--- 512  r
root cron   223923 /var 3691803 -rw---   5  w
smmspsendmail   22311   wd /var 1926151 drwxrwx--- 512  r
smmspsendmail   223114 /var 1926203 -rw---  51  w
root sendmail   22202   wd /var 1926147 drwxr-xr-x 512  r
root sendmail   222025 /var 3691802 -rw---  80  w
bind named   7370   wd /var 401288 drwxr-xr-x 512  r
bind named   7370 root /var 401280 drwxr-xr-x 512  r
bind named   7370 jail /var 401280 drwxr-xr-x 512  r
root devd56935 /var 3691824 -rw---   4  w
quagga   bgpd46163 /var 3691791 -rw-r--r--   5 rw
quagga   zebra   46115 /var 3691788 -rw-r--r--   5 rw
root@newflux:/var # du -h -d 1
4.0k./.snap
4.0k./account
 12k./at
4.0k./audit
3.1M./backups
858M./crash
8.0k./cron
1.3G./db
 36k./empty
4.0k./heimdal
3.7G./log
352M./mail
8.0k./msgs
1.6M./named
4.0k./preserve
108k./run
4.0k./rwho
608k./spool
236k./tmp
 28k./yp
4.0k./games
4.0k./agentx
4.0k./cache
 28k./net-snmp
 28k./lost+found
212k./monit
6.2G.


-- 
 Eugen  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: help with gpart

2012-10-31 Thread Warren Block

On Wed, 31 Oct 2012, d...@safeport.com wrote:

I am trying to put FreeBSD on an HP laptop. The use up all the partitions to 
I deleted the least useful one, shrunk the windows partition and tried to add 
freeBSD.


gpart show:

=>   63  625142385  ada0  MBR  (298G)
63   1985- free -  (992k)
  2048 407552 1  ntfs  [active]  (199M)
409600  311951360 2  ntfs  (148G)
 312360960 33- free -  (16k)
 312360993  283115448 4  freebsd  (135G)
 595476441 577575- free -  (282M)
 596054016   28880896 3  ntfs  (13G)
 624934912 207536- free -  (101M)

I do not have any flexibility as to where #4 is. I would like to use the 9.0 
installer from this point but it wants to add BSD partitions to the 282M 
space.


I am not sure after much man-ing and google-ing what gpart commands are 
required. I guess I could use sysinstall at this point but learning gpart 
seems like a good thing. I assume I need to do something like:


  gpart add set -a active -i 4 ada04  (not sure geom is correct)


No, for slice 4, it would be ada0s4.  For the MBR setup, bootcode must 
be added to both the MBR (ada0) and the slice.



  gpart bootcode -b /boot/boot0 ada04

and then add the mounts. I would like

  /
  swap
  /var 10g
  /usr 20g
  /home (the rest)

but am somewhat lost about the syntax and geom values. thanks for any help


bsdlabel partitions are created inside a slice.  No idea whether the 
partition numbers being out of order will be a problem...


gpart create -s bsd ada0s4
gpart bootcode -b /boot/boot ada0s4

Then add partitions inside that:

gpart add -t freebsd-ufs -s 2g ada0s4
gpart add -t freebsd-swap -s 4g ada0s4
gpart add -t freebsd-ufs -2 10g ada0s4
...

I strongly suggest taking advantage of labels with the -l option.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


help with gpart

2012-10-31 Thread doug
I am trying to put FreeBSD on an HP laptop. The use up all the partitions to I 
deleted the least useful one, shrunk the windows partition and tried to add 
freeBSD.


gpart show:

=>   63  625142385  ada0  MBR  (298G)
 63   1985- free -  (992k)
   2048 407552 1  ntfs  [active]  (199M)
 409600  311951360 2  ntfs  (148G)
  312360960 33- free -  (16k)
  312360993  283115448 4  freebsd  (135G)
  595476441 577575- free -  (282M)
  596054016   28880896 3  ntfs  (13G)
  624934912 207536- free -  (101M)

I do not have any flexibility as to where #4 is. I would like to use the 
9.0 installer from this point but it wants to add BSD partitions to the 282M 
space.


I am not sure after much man-ing and google-ing what gpart commands are 
required. I guess I could use sysinstall at this point but learning gpart seems 
like a good thing. I assume I need to do something like:


   gpart add set -a active -i 4 ada04  (not sure geom is correct)
   gpart bootcode -b /boot/boot0 ada04

and then add the mounts. I would like

   /
   swap
   /var 10g
   /usr 20g
   /home (the rest)

but am somewhat lost about the syntax and geom values. thanks for any help

_
Douglas Denault
http://www.safeport.com
d...@safeport.com
Voice: 301-217-9220
  Fax: 301-217-9277
___
freebsd-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 help require for DellpowerEdge R620

2012-10-26 Thread Erich Dollansky
Hi,

On Fri, 26 Oct 2012 07:56:49 -0400
Rick Miller  wrote:

> On Fri, Oct 26, 2012 at 6:54 AM, Md Samadul Sarker
>  wrote:
> >
> > I have got DELL PowerEdge R620 which raid controller is  H710. Can
> > anyone help me that is there any chance to install FreeBSD on this
> > and how? Any suggestions will be highly appreciated.
> 
> I have a couple blog posts related to running FreeBSD on the R620.
> You may want to read through them.
> 
> http://blog.hostileadmin.com/2012/05/22/freebsd-on-dell-poweredge-12g-servers/
> http://blog.hostileadmin.com/2012/06/30/freebsd-dell-12g-x520-da2-10g-nic/
> 
> As far as I am aware, the mfi driver needed to support the H710 RAID
> controller is only in stable/8 and stable/9 right now.  I believe it
> should be in 9.1-RELEASE, but I could be wrong.  If/when 8.4-RELEASE
> is dropped, it should be in there too.
> 

oh, I just saw that I have forgotten the links in my former e-mail.

As they would have been the same, I do not have to repeat them here.

Erich
___
freebsd-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 help require for DellpowerEdge R620

2012-10-26 Thread Rick Miller
On Fri, Oct 26, 2012 at 6:54 AM, Md Samadul Sarker
 wrote:
>
> I have got DELL PowerEdge R620 which raid controller is  H710. Can anyone
> help me that is there any chance to install FreeBSD on this and how? Any
> suggestions will be highly appreciated.

I have a couple blog posts related to running FreeBSD on the R620.
You may want to read through them.

http://blog.hostileadmin.com/2012/05/22/freebsd-on-dell-poweredge-12g-servers/
http://blog.hostileadmin.com/2012/06/30/freebsd-dell-12g-x520-da2-10g-nic/

As far as I am aware, the mfi driver needed to support the H710 RAID
controller is only in stable/8 and stable/9 right now.  I believe it
should be in 9.1-RELEASE, but I could be wrong.  If/when 8.4-RELEASE
is dropped, it should be in there too.

-- 
Take care
Rick Miller
___
freebsd-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 help require for DellpowerEdge R620

2012-10-26 Thread Erich Dollansky
Hi,

On Fri, 26 Oct 2012 11:54:39 +0100
"Md Samadul Sarker"  wrote:

> I have got DELL PowerEdge R620 which raid controller is  H710. Can
> anyone help me that is there any chance to install FreeBSD on this
> and how? Any suggestions will be highly appreciated.
> 
just check this and you should be able to get some FreeBSD running.

Erich
___
freebsd-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 help require for DellpowerEdge R620

2012-10-26 Thread Md Samadul Sarker
Hi,

 

I have got DELL PowerEdge R620 which raid controller is  H710. Can anyone
help me that is there any chance to install FreeBSD on this and how? Any
suggestions will be highly appreciated.

 

Thanks in advance

Sarker

 

___
freebsd-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: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash

2012-10-01 Thread Mark Felder

On Mon, 01 Oct 2012 15:00:40 -0500,  wrote:



Sep 21 02:14:55 backups kernel: (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 0 5  
ee 60 16 0 1 0 0
Sep 21 02:14:55 backups kernel: (da1:mpt0:0:1:0): CAM status: SCSI  
Status Error

Sep 21 02:14:55 backups kernel: (da1:mpt0:0:1:0): SCSI status: Busy
Sep 21 02:14:55 backups kernel: (da1:mpt0:0:1:0): Retrying command
Sep 21 02:18:44 backups kernel: (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 0 3  
ef 42 51 0 1 0 0
Sep 21 02:18:44 backups kernel: (da1:mpt0:0:1:0): CAM status: SCSI  
Status Error

Sep 21 02:18:44 backups kernel: (da1:mpt0:0:1:0): SCSI status: Busy
Sep 21 02:18:44 backups kernel: (da1:mpt0:0:1:0): Retrying command
Sep 21 02:18:48 backups kernel: (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 0 3  
ef 64 51 0 1 0 0
Sep 21 02:18:48 backups kernel: (da1:mpt0:0:1:0): CAM status: SCSI  
Status Error

Sep 21 02:18:48 backups kernel: (da1:mpt0:0:1:0): SCSI status: Busy
Sep 21 02:18:48 backups kernel: (da1:mpt0:0:1:0): Retrying command
Sep 21 02:18:49 backups kernel: (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 0 3  
ef 66 51 0 1 0 0
Sep 21 02:18:49 backups kernel: (da1:mpt0:0:1:0): CAM status: SCSI  
Status Error

Sep 21 02:18:49 backups kernel: (da1:mpt0:0:1:0): SCSI status: Busy
...
Sep 21 05:06:18 backups kernel: (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 0  
41 f3 94 99 0 1 0 0
Sep 21 05:06:18 backups kernel: (da1:mpt0:0:1:0): CAM status: SCSI  
Status Error

Sep 21 05:06:18 backups kernel: (da1:mpt0:0:1:0): SCSI status: Busy
Sep 21 05:06:18 backups kernel: (da1:mpt0:0:1:0): Retrying command



Sometimes you'll see this before a crash, but not every 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"


Re: Please help me diagnose this crazy VMWare/FreeBSD 8.x crash

2012-10-01 Thread guy . helmer
On Wednesday, June 6, 2012 8:36:04 PM UTC-5, Mark Felder wrote:
> Hi guys I'm excitedly posting this from my phone. Good news for you guys, bad 
> news for us -- we were building HA storage on vmware for a client and can now 
> replicate the crash on demand. I'll be posting details when I get home to my 
> PC tonight, but this hopefully is enough to replicate the crash for any 
> curious followers:
> 
> 
> 
> ESXi 5
> 
> 9 or 9-STABLE
> 
> HAST 
> 
> 1 cpu is fine
> 
> 1GB of ram
> 
> UFS SUJ on HAST device
> 
> No special loader.conf, sysctl, etc
> 
> No need for VMWare tools
> 
> Run Bonnie++ on the HAST device
> 
> 
> 
> We can get the crash to happen on the first run of bonnie++ right now. I'll 
> post the exact specs and precise command run in the PR. We found an old post 
> from 2004 when we looked up the process state obtained from CTRL+T -- flswai 
> -- which describes the symptoms nearly perfectly.
> 
> 
> 
>  http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2004-02/0250.html 
> 
> 
> 
> Hopefully this gets us closer to a fix...

Is this a crash or a hang? Over the past couple of weeks, I've been working 
with a FreeBSD 9.1RC1 system under VMware ESXi 5.0 with a 64GB UFS root FS and 
2TB ZFS filesystem mounted via a virtual LSI SAS interface. Sometimes during 
heavy I/O load (rsync from other servers) on the ZFS FS, this shows up in 
/var/log/messages:

Sep 21 02:14:55 backups kernel: (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 0 5 ee 60 
16 0 1 0 0 
Sep 21 02:14:55 backups kernel: (da1:mpt0:0:1:0): CAM status: SCSI Status Error
Sep 21 02:14:55 backups kernel: (da1:mpt0:0:1:0): SCSI status: Busy
Sep 21 02:14:55 backups kernel: (da1:mpt0:0:1:0): Retrying command
Sep 21 02:18:44 backups kernel: (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 0 3 ef 42 
51 0 1 0 0 
Sep 21 02:18:44 backups kernel: (da1:mpt0:0:1:0): CAM status: SCSI Status Error
Sep 21 02:18:44 backups kernel: (da1:mpt0:0:1:0): SCSI status: Busy
Sep 21 02:18:44 backups kernel: (da1:mpt0:0:1:0): Retrying command
Sep 21 02:18:48 backups kernel: (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 0 3 ef 64 
51 0 1 0 0 
Sep 21 02:18:48 backups kernel: (da1:mpt0:0:1:0): CAM status: SCSI Status Error
Sep 21 02:18:48 backups kernel: (da1:mpt0:0:1:0): SCSI status: Busy
Sep 21 02:18:48 backups kernel: (da1:mpt0:0:1:0): Retrying command
Sep 21 02:18:49 backups kernel: (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 0 3 ef 66 
51 0 1 0 0 
Sep 21 02:18:49 backups kernel: (da1:mpt0:0:1:0): CAM status: SCSI Status Error
Sep 21 02:18:49 backups kernel: (da1:mpt0:0:1:0): SCSI status: Busy
...
Sep 21 05:06:18 backups kernel: (da1:mpt0:0:1:0): WRITE(10). CDB: 2a 0 41 f3 94 
99 0 1 0 0 
Sep 21 05:06:18 backups kernel: (da1:mpt0:0:1:0): CAM status: SCSI Status Error
Sep 21 05:06:18 backups kernel: (da1:mpt0:0:1:0): SCSI status: Busy
Sep 21 05:06:18 backups kernel: (da1:mpt0:0:1:0): Retrying command

These have been happening roughly every other day.

mpt0 and em0 were sharing int 18, so today I put 
hint.mpt.0.msi_enable="1"
into /boot/devices.hints and rebooted; now mpt0 is using int 256. I'll see if 
it helps.

Guy
___
freebsd-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: asking for help about "acpi_tz0: _CRT value is absurd, ignored (256.0C) "

2012-09-05 Thread Chris Whitehouse

On 04/09/2012 08:58, chiehhan wrote:

To whom may concern,

I am a greenhorn in the field of freebsd.And when I install
Freebsd9.0 on my laptop HP NX6330,a control spam "acpi_tz0: _CRT
value is absurd, ignored (256.0C)"occurs.



I created a custom ASL as a workaround.
http://lists.freebsd.org/pipermail/freebsd-acpi/2009-March/005558.html

You can see that I changed the line that says
Return (C316 (0x04, 0x00))
to say
Return (C316 (0x00, 0x02))
which on my laptop gives a temperature of 95C




I learned some reference about sysctl and revised the configure file
sysctl.conf,adding two lines below into sysctl.conf:
hw.acpi.thermal.user_override=1
hw.acpi.thermal.tz0._CRT=110.0C but
the control spam remains.


Good try but hw.acpi.thermal.tz0._CRT gets set back to -1
http://lists.freebsd.org/pipermail/freebsd-acpi/2009-March/005549.html



I read the source code about acpi_thermal.c,but still have no idea
about how to solve this problem.I am a little desperated and turn
freebsd-questions@freebsd.org for help.Would you please send me a
solution?


I think the steps are
1) dump your ASL as per
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html
starting at section 12.17.4 ASL, acpidump, and IASL

2) open your dumped ASL in a plain text editor (vi, joe, ...) and modify 
the value of "Method (_CRT, 0, Serialized)".


http://lists.freebsd.org/pipermail/freebsd-acpi/2009-March/005562.html
shows you some values you can use. Others may work as your ASL is almost 
certainly different from mine.


3) recompile your modified ASL and load it, following section 12.17.4 
ASL, acpidump, and IASL in the handbook.


4) restart your computer and check the value of hw.acpi.thermal.tz0._CRT

If it doesn't work go back to step 2.

YMMV (that means my laptop is running fine several years later but don't 
blame me if yours blows up :) )


Chris
___
freebsd-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: asking for help about "acpi_tz0: _CRT value is absurd, ignored (256.0C) "

2012-09-05 Thread Lowell Gilbert
Warren Block  writes:

> On Tue, 4 Sep 2012, Lowell Gilbert wrote:
>
>> "chiehhan"  writes:
>>
>>> To whom may concern,
>>>
>>> I am a greenhorn in the field of freebsd.And when I install
>>> Freebsd9.0 on my laptop HP NX6330,a control spam "acpi_tz0: _CRT
>>> value is absurd, ignored (256.0C)"occurs.
>>>
>>> I learned some reference about sysctl and revised the configure file 
>>> sysctl.conf,adding two lines below into sysctl.conf:
>>> hw.acpi.thermal.user_override=1
>>> hw.acpi.thermal.tz0._CRT=110.0C
>>> but the control spam remains.
>>>
>>> I read the source code about acpi_thermal.c,but still have no idea
>>> about how to solve this problem.I am a little desperated and turn
>>> freebsd-questions@freebsd.org for help.Would you please send me a
>>> solution?
>>
>> A solution to what problem? The "ignored" message isn't a problem on its
>> own; do you think it causing some other trouble that you didn't describe?
>
> I have a similar HP system.  That message is logged a couple of times
> a minute, hiding other messages in the logs and making them roll over
> quickly.  That particular system is a Pentium D which wasn't really
> worth much effort, but it would still be nice to see this annoyance
> fixed.

Yes, I would agree that a repeated message is much more of an annoyance
than having it just happen once at boot time. With a Pentium D, there
probably isn't a core temperature monitor at all (I *think* that's true
for all of them, but it's definitely true for some), so you just want to
turn the messages off.

Unfortunately, I can't browse sources now, but I think that what happens
might be controlled by events going through devd. If that's correct, you
should be able to add an event rule to drop events related to your
non-existant thermistor (or delete one that already exists). You also
might be able to change the polling period for the thermal device.

Good luck.
___
freebsd-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: asking for help about "acpi_tz0: _CRT value is absurd, ignored (256.0C) "

2012-09-04 Thread chiehhan
hi,Gilbert
Thanks for your reply.The message "acpi_tz0: _CRT value is absurd, ignored 
(256.0C)" was printed on my screen when I install FREEBSD9.0.And the message 
appears from time to time when I used my laptop.Annoying

Until now,I do not notice any problem casused by the message obviously. I read 
the source code of the acpi_thermal.c,but have no idea about what temperature 
the acpi_tz0 detected.The message tell me _CRT value is absurd,how to make it 
reasonable and not appears from time to time on my screen?Thanks for your 
kindness.

ps:I install freebsd9.0 to other machine,this message does not appears.


2012-09-05



chiehhan



发件人:Lowell Gilbert
发送时间:2012-09-05 09:07
主题:Re: asking for help about "acpi_tz0: _CRT value is absurd, ignored (256.0C) "
收件人:"chiehhan"
抄送:"freebsd-questions"

"chiehhan"  writes: 

> To whom may concern, 
> 
> I am a greenhorn in the field of freebsd.And when I install Freebsd9.0 on my 
> laptop HP NX6330,a control spam "acpi_tz0: _CRT value is absurd, ignored 
> (256.0C)"occurs. 
> 
> I learned some reference about sysctl and revised the configure file 
> sysctl.conf,adding two lines below into sysctl.conf: 
> hw.acpi.thermal.user_override=1  
> hw.acpi.thermal.tz0._CRT=110.0C  
> but the control spam remains. 
> 
> I read the source code about acpi_thermal.c,but still have no idea about how 
> to solve this problem.I am a little desperated and turn 
> freebsd-questions@freebsd.org for help.Would you please send me a solution?  

A solution to what problem? The "ignored" message isn't a problem on its 
own; do you think it causing some other trouble that you didn't describe? ___
freebsd-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: asking for help about "acpi_tz0: _CRT value is absurd, ignored (256.0C) "

2012-09-04 Thread Warren Block

On Tue, 4 Sep 2012, Lowell Gilbert wrote:


"chiehhan"  writes:


To whom may concern,

I am a greenhorn in the field of freebsd.And when I install Freebsd9.0 on my laptop HP 
NX6330,a control spam "acpi_tz0: _CRT value is absurd, ignored (256.0C)"occurs.

I learned some reference about sysctl and revised the configure file 
sysctl.conf,adding two lines below into sysctl.conf:
hw.acpi.thermal.user_override=1
hw.acpi.thermal.tz0._CRT=110.0C
but the control spam remains.

I read the source code about acpi_thermal.c,but still have no idea about how to 
solve this problem.I am a little desperated and turn 
freebsd-questions@freebsd.org for help.Would you please send me a solution?


A solution to what problem? The "ignored" message isn't a problem on its
own; do you think it causing some other trouble that you didn't describe?


I have a similar HP system.  That message is logged a couple of times a 
minute, hiding other messages in the logs and making them roll over 
quickly.  That particular system is a Pentium D which wasn't really 
worth much effort, but it would still be nice to see this annoyance 
fixed.

___
freebsd-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: asking for help about "acpi_tz0: _CRT value is absurd, ignored (256.0C) "

2012-09-04 Thread Lowell Gilbert
"chiehhan"  writes:

> To whom may concern,
>
> I am a greenhorn in the field of freebsd.And when I install Freebsd9.0 on my 
> laptop HP NX6330,a control spam "acpi_tz0: _CRT value is absurd, ignored 
> (256.0C)"occurs.
>
> I learned some reference about sysctl and revised the configure file 
> sysctl.conf,adding two lines below into sysctl.conf:
> hw.acpi.thermal.user_override=1 
> hw.acpi.thermal.tz0._CRT=110.0C 
> but the control spam remains.
>
> I read the source code about acpi_thermal.c,but still have no idea about how 
> to solve this problem.I am a little desperated and turn 
> freebsd-questions@freebsd.org for help.Would you please send me a solution? 

A solution to what problem? The "ignored" message isn't a problem on its
own; do you think it causing some other trouble that you didn't describe?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


asking for help about "acpi_tz0: _CRT value is absurd, ignored (256.0C) "

2012-09-04 Thread chiehhan
To whom may concern,

I am a greenhorn in the field of freebsd.And when I install Freebsd9.0 on my 
laptop HP NX6330,a control spam "acpi_tz0: _CRT value is absurd, ignored 
(256.0C)"occurs.

I learned some reference about sysctl and revised the configure file 
sysctl.conf,adding two lines below into sysctl.conf:
hw.acpi.thermal.user_override=1 
hw.acpi.thermal.tz0._CRT=110.0C 
but the control spam remains.

I read the source code about acpi_thermal.c,but still have no idea about how to 
solve this problem.I am a little desperated and turn 
freebsd-questions@freebsd.org for help.Would you please send me a solution? 

My dmesg is belows,
Copyright (c) 1992-2012 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:15:25 UTC 2012
r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
CPU: Intel(R) Core(TM)2 CPU T5600  @ 1.83GHz (1828.79-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x6f6  Family = 6  Model = f  Stepping = 6
  
Features=0xbfebfbff
  Features2=0xe3bd
  AMD Features=0x2010
  AMD Features2=0x1
  TSC: P-state invariant, performance statistics
real memory  = 1610612736 (1536 MB)
avail memory = 1558929408 (1486 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 1
ioapic0  irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0:  on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of 0, a (3) failed
acpi0: reservation of 10, 5ff0 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0:  on acpi0
cpu1:  on acpi0
acpi_ec0:  port 0x62,0x66 on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pcib0: Length mismatch for 3 range: 11ff000 vs 11fefff
pci0:  on pcib0
pcib1:  irq 16 at device 1.0 on pci0
pci1:  on pcib1
vgapci0:  port 0x4000-0x40ff mem 
0xd800-0xdfff,0xe440-0xe440 irq 16 at device 0.0 on pci1
hdac0:  mem 
0xe450-0xe4503fff irq 16 at device 27.0 on pci0
pcib2:  irq 16 at device 28.0 on pci0
pci8:  on pcib2
pcib3:  irq 17 at device 28.1 on pci0
pci16:  on pcib3
wpi0:  mem 0xe400-0xe4000fff irq 17 at 
device 0.0 on pci16
pcib4:  irq 19 at device 28.3 on pci0
pci32:  on pcib4
uhci0:  port 0x5000-0x501f irq 20 at 
device 29.0 on pci0
uhci0: LegSup = 0x2f00
usbus0:  on uhci0
uhci1:  port 0x5020-0x503f irq 21 at 
device 29.1 on pci0
uhci1: LegSup = 0x2f00
usbus1:  on uhci1
uhci2:  port 0x5040-0x505f irq 18 at 
device 29.2 on pci0
uhci2: LegSup = 0x2f00
usbus2:  on uhci2
uhci3:  port 0x5060-0x507f irq 19 at 
device 29.3 on pci0
uhci3: LegSup = 0x2f00
usbus3:  on uhci3
ehci0:  mem 0xe4504000-0xe45043ff 
irq 20 at device 29.7 on pci0
usbus4: EHCI version 1.0
usbus4:  on ehci0
pcib5:  at device 30.0 on pci0
pci2:  on pcib5
cbb0:  mem 0xe410-0xe4100fff irq 18 at device 6.0 on 
pci2
cardbus0:  on cbb0
pccard0: <16-bit PCCard bus> on cbb0
pci2:  at device 6.2 (no driver attached)
pci2:  at device 6.3 (no driver attached)
pci2:  at device 6.4 (no driver attached)
bge0:  mem 
0xe411-0xe411 irq 16 at device 14.0 on pci2
bge0: CHIP ID 0x3003; ASIC REV 0x03; CHIP REV 0x30; PCI
miibus0:  on bge0
brgphy0:  PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
bge0: Ethernet address: 00:17:08:49:6c:e8
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x5080-0x508f irq 17 at device 31.2 on pci0
ata0:  on atapci0
ata1:  on atapci0
battery0:  on acpi0
battery1:  on acpi0
acpi_acad0:  on acpi0
acpi_button0:  on acpi0
acpi_lid0:  on acpi0
acpi_tz0:  on acpi0
acpi_tz0: _CRT value is absurd, ignored (256.0C)
acpi_tz1:  on acpi0
acpi_tz2:  on acpi0
acpi_tz3:  on acpi0
acpi_tz4:  on acpi0
attimer0:  port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0:  port 0x70-0x71,0x72-0x73 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
hpet0:  iomem 0xfed0-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 450
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
atkbdc0:  port 0x60,0x64 irq 1 on acpi0
atkbd0:  irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0:  irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse, device ID 3
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
ppc0:  port 0x378-0x37f,0x778-0x77a irq 7 drq 1 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPAT

Re: TLS config help

2012-08-29 Thread Jamie Paul Griffin
[ Matthias Fechner wrote on Wed 29.Aug'12 at 11:20:37 +0200 ]

> Am 29.08.12 12:38, schrieb AN:
> > Trying to configure TLS and sendmail using the following steps
> 
> I use:
> cd /etc/mail/certs
> 
> 
> Create a CA:
> 
> - Edit /etc/ssl/openssl.cfn -> default_days= 1825
> - Generate CAcertificate
> -> /usr/src/crypto/openssl/apps/CA.pl -newca
> cp demoCA/cacert.pem .
> 
> Create a key:
> 
> /usr/src/crypto/openssl/apps/CA.pl -newreq
> 
> Remove passphrase from key:
> 
> openssl rsa -in newkey.pem -out key.pem
> 
> Sign key:
> 
> /usr/src/crypto/openssl/apps/CA.pl -sign
> 
> Set permissions:
> 
> chmod 0600 *
> 
> Sendmail:
> 
> define(`confCACERT_PATH',`/etc/mail/certs')
> define(`confCACERT',`/etc/mail/certs/cacert.pem')
> define(`confSERVER_CERT',`/etc/mail/certs/newcert.pem')
> define(`confSERVER_KEY',`/etc/mail/certs/key.pem')
> define(`confCLIENT_CERT',`/etc/mail/certs/newreq.pem')
> define(`confCLIENT_KEY',`/etc/mail/certs/key.pem')
> 
> DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
> DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl
> 
> Bye,
> Matthias

That's very handy info, I am planning on setting up TLS for sendmail myself. So 
thanks to the OP for asking that question, although i'm sure there's loads of 
info on the net as well. I've only used Postfix before now, but since 
installing FBSD on this machine I thought i'd stick to using base MTA.

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


Re: TLS config help

2012-08-29 Thread Matthias Fechner
Am 29.08.12 12:38, schrieb AN:
> Trying to configure TLS and sendmail using the following steps

I use:
cd /etc/mail/certs


Create a CA:

- Edit /etc/ssl/openssl.cfn -> default_days= 1825
- Generate CAcertificate
-> /usr/src/crypto/openssl/apps/CA.pl -newca
cp demoCA/cacert.pem .

Create a key:

/usr/src/crypto/openssl/apps/CA.pl -newreq

Remove passphrase from key:

openssl rsa -in newkey.pem -out key.pem

Sign key:

/usr/src/crypto/openssl/apps/CA.pl -sign

Set permissions:

chmod 0600 *

Sendmail:

define(`confCACERT_PATH',`/etc/mail/certs')
define(`confCACERT',`/etc/mail/certs/cacert.pem')
define(`confSERVER_CERT',`/etc/mail/certs/newcert.pem')
define(`confSERVER_KEY',`/etc/mail/certs/key.pem')
define(`confCLIENT_CERT',`/etc/mail/certs/newreq.pem')
define(`confCLIENT_KEY',`/etc/mail/certs/key.pem')

DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl
DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl

Bye,
Matthias

-- 
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


TLS config help

2012-08-28 Thread AN

Following the directions at 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/openssl.html
Trying to configure TLS and sendmail using the following steps

# openssl dsaparam -rand -genkey -out myRSA.key 1024
# openssl gendsa -des3 -out myca.key myRSA.key
# openssl req -new -x509 -days 365 -key myca.key -out new.crt


]# ls -l /etc/certs/
total 10
-rw-r--r--  1 root  wheel   963 Aug 29 05:39 cert.pem
-rw---  1 root  wheel   804 Aug 29 05:50 myRSA.key
-rw---  1 root  wheel  1264 Aug 29 05:51 myca.key
-rw-r--r--  1 root  wheel  1773 Aug 29 05:53 new.crt
-rw-r--r--  1 root  wheel   603 Aug 29 05:39 req.pem

After restarting sendmail I get the following in /var/log/mailog

Aug 29 05:39:55 mail sm-mta[8574]: NOQUEUE: stopping daemon, reason=signal

Aug 29 05:39:55 mail sm-mta[8618]: starting daemon (8.14.5): 
SMTP+queueing@00:30:00
Aug 29 05:39:55 mail sm-mta[8618]: STARTTLS=server, error: 
SSL_CTX_use_PrivateKey_file(/etc/certs/myca.key) failed
Aug 29 05:39:55 mail sm-mta[8618]: STARTTLS=server: 
8618:error:0906D06C:PEM routines:PEM_read_bio:no start 
line:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/pem/pem_lib.c:648:Expecting: 
X509 CRL
Aug 29 05:39:55 mail sm-mta[8618]: STARTTLS=server: 
8618:error:0906406D:PEM routines:PEM_def_callback:problems getting 
password:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/pem/pem_lib.c:105:
Aug 29 05:39:55 mail sm-mta[8618]: STARTTLS=server: 
8618:error:0906A068:PEM routines:PEM_do_header:bad password 
read:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/pem/pem_lib.c:406:
Aug 29 05:39:55 mail sm-mta[8618]: STARTTLS=server: 
8618:error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM 
lib:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/ssl_rsa.c:669:
Aug 29 05:39:55 mail sm-mta[8618]: started as: /usr/sbin/sendmail -L 
sm-mta -bd -q30m


Any help is appreciated.
___
freebsd-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: small script help

2012-08-23 Thread Frank Reppin

There's an errorneous extra ^ in line 6 - please remove this
character.

Fixed version should look like:

#!/bin/sh

PROCESS_PATTERN="^/usr/local/sbin/saslauthd"
PGREP="/bin/pgrep"

if ${PGREP} -q -j none -f ${PROCESS_PATTERN}; then
  echo -e "OK"
else
  echo -e "FAIL"
fi

frank\

--
43rd Law of Computing:
Anything that can go wr
fortune: Segmentation violation -- Core dumped
___
freebsd-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: small script help

2012-08-23 Thread Frank Reppin

On 24.08.2012 02:14, Jack Stone wrote:

Thanks, I tried that but pgrep only displayed the PIDs. I guess I wasn't
using proper switches.

Yes - and this should be enough.
If pgrep returns PIDs - then this is the same as 'true' in your
'if' condition - if it returns nothing, the 'else' part is executed:

#!/bin/sh
# * example for Jack with amavisd instead of apache
# * the ^ means 'match from the beginning'
# * so your content for PROCESS_PATTERN would be
#   PROCESS_PATTERN="^/usr/local/sbin/httpd"
#   because ps -ax would show you this in the
#   COMMAND row

PROCESS_PATTERN="^/usr/local/sbin/amavisd"
PGREP="/bin/pgrep"

if ${PGREP} -q -j none -f ^${PROCESS_PATTERN}; then
  echo -e "OK"
else
  echo -e "FAIL"
fi

hth,
Frank Reppin



--
43rd Law of Computing:
Anything that can go wr
fortune: Segmentation violation -- Core dumped
___
freebsd-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: small script help

2012-08-23 Thread Frank Reppin

On 24.08.2012 00:57, Jack Stone wrote:
[...]

How can I modify my script to see only the host based on the bottom line
above?

pgrep(1) has an option (-j jid) to either include jails by
given id or to exclude them (-j none).

HTH,
Frank Reppin

--
43rd Law of Computing:
Anything that can go wr
fortune: Segmentation violation -- Core dumped
___
freebsd-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 script help

2012-08-23 Thread Jack Stone

Running freebsd-7.0

I use a small script in a jail to check if Apache is running and if 
not, restart it.


#!/bin/sh
#if ps -ax | grep -v grep | grep -i httpd
#then
#echo "Apache is alive.."
#else
#echo "Apache is dead, but will be launched."
#/usr/local/etc/rc.d/apache22 start

However, if I want to check the host's Apache, ps -ax sees all of the 
"httpd" lines including the jail and the host:


(Jail) 83787  ??  SsJ0:07.71 /usr/local/sbin/httpd -DSSL 
-DNOHTTPACCEPT

(host) 98089  ??  Ss32:49.44 /usr/local/sbin/httpd -DNOHTTPACCEPT

How can I modify my script to see only the host based on the bottom 
line above?


Help appreciated!

Jack




___
freebsd-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: HELP! core dumps: install, mtree, et cetera all of the sudden after portmaster security/cyrus-sasl2

2012-08-18 Thread O. Hartmann
Am 08/16/12 21:44, schrieb Garrett Cooper:
> On Thu, Aug 16, 2012 at 8:33 AM, Hartmann, O.
>  wrote:
>>
>> I ran into a very delicate and nasty situation.
> 
> ...
> 
>> On both FBSD 10 boxes, the installation of the port security/cyrus-sasl2
>> got corrupted by "install" and/or "mtree" dumping core and signalling
>> SIGNAL 11. Booting into multiuser mode is impossible, login core dumps
>> SIGNAL 11, many other daemons, too. The only way is to boot into single
>> user mode.
> 
> I'm not drawing a correlation between this and unrelated coredumping 
> processes.

Me neither, I report this for completeness, since I'm not a OS
developer, such a behaviour could hint/indicate people who are involved
in the OS development, what is going on. Sorry when I'm trying to be too
precise (precise as precise I can be without the exact terminology!).


> 
>> An installation failed due to pkg(ng) was missing libarchive.so via
>> portmaster or via core dumping install(1). By installing on one box, my
>> home box, port security/cyrus-sasl2 manually, luckily install(1) and
>> mtree(1) didn't coredump and it worked - and this precedure rescued me.
>> But on my lab's development box, it doesn't work!
> 
> Don't make delete-old-lib unless you have it moved off to compat
> directories, or have rebuilt everything using the new libarchive.

I didn't! As I wrote before, this mess happened on ALL(!) freeBSD
10.0-CURRENT boxes in the very same way when I updated/reinstalled
security/cyrus-sasl2. Moreover: I can reproduce this on all boxes. All
my boxes use OpenLDAP as a backend with SASL2 enabled (not used so far).

> 
>> On this specific box, where this nasty problem also occured the same way
>> by simply recompiling everything for port www/apache22, including the
>> reinstallation of port security/cyrus-sasl2. Nearly every binary is
>> suddenly coredumping (as on the home box). login, vi, install, devfs,
>> syslogd, mtree, id, find ... a whole lot of binaries seem to be
>> compromised by something I do not see (libsasl2.so perhaps?).
> 
> truss the binaries to figure out exactly what's going wrong.

I will try, but when this errative coredumps of binaries occur, nothing
works properly that is using any kinf of dynamical loaded library! Only
the binaries (static?) from /resucue/* do their work.

> 
> A lot of this lost effort could be avoided (like others have posted on
> the list more than once), by having a centralized package distribution
> server, and by having VMs or jails and keeping snapshots with
> pre-upgrade state on the package building machine to avoid "dead in
> the water scenarios" like you're in right now.

Yes, I'm working on this. it seems, that it becomes more relevant since
I realized that FreeBSD suffers sometimes from misleaded ports or ports
which suddenly are marked BROKEN and do not get compiled ...

> 
>> I tried to help myself via copying /rescue/vi to /usr/bin/vi to have at
>> least a working vi. But in /rescue, I can not find install or mtree. I'm
>> not familiar with the sophisticated ways of /rescue. Where are
>> install(1) and mtree(1)?
> 
> I ran into this issue too a little while ago. I basically gave up on
> recovering a VM and nuked and repaved it using a LiveCD with a chroot,
> some cp -p'ing, etc. But yes.. it would be nice if I could have
> recovered the system at least with a static toolchain: cc, binutils
> [equivalent], mtree, install, etc.

This is how I recovered the nasty broken box. The other one was easy to
recover by reinstalling security/cyrus-sasl2.

I'm quite sure that there is something very foul with something in LDAP
or SASL2, since I can reproduce that proplem.

I saw that rtdl-elf has got some quirks these days, I will try to go
behind the date/version of the source tree when it was committed and
check whether this is the problem.

> 
> ...
> 
>> Disabling this pkgng tag leads to reinstallation of missing packages,
>> which are store in the pkgng sqlite format and not as ASCII anymore, but
>> then I get
>> /var/runld-elf.so.hints: No such file or directory
>> Error: shared library "iconv.3" does not exist.
> 
> service ldconfig start ?

Yes ... sorry ... in the heat of the fight I forgot ... but it doesn't
make the problem go away.

> 
>> But most of the libs have never been touch! So what is the loader
>> complaining about?
> 
> ...
> 
>> I tried to find rescue images and a rescue DVD of a snap shot server,
>> but there is no way to crawl through the informations on the web pages
>> towards a snapshot. All folders end up in 2011 and highly outdated
>> (www.free

Re: HELP! core dumps: install, mtree, et cetera all of the sudden after portmaster security/cyrus-sasl2

2012-08-17 Thread Glen Barber
On Fri, Aug 17, 2012 at 09:44:40AM +0200, Hartmann, O. wrote:
> >> An installation failed due to pkg(ng) was missing libarchive.so via
> > 
> > There is pkg-static for recovering in this type of situation.
> 
> Oh ... I'm new to pkg(ng).
> 

No worries.  It is a nice thing to know about, since after a big shlib
bump during an upgrade, if all else is broken, you can still at least
get /rescue stuff and pkg-static to upgrade third party software.

> >> If someone has some hints how to recompile the sources with an emergency
> >> booted disk, I highly appreciate some desater advice. Maybe the release
> >> of FreeBSD-10-CURRENT sources I compiled do have accidentally a nasty
> >> bug, so it would be nice to update the sources and have a complete
> >> recompilation done.
> >>
> > 
> > If you can get booted into a recovery medium, you can mount /usr/src and
> > /usr/obj from the hosed system, and should be able to
> > installworld/installkernel into the hosed system with DESTDIR set.
> > 
> 
> I do  this the very moment with the RELEASE CD I found at allbsd.org for
> the most recent FBSD 10.0-CURRENT as from 16.08.2012. I try to build the
> sources and install them into the mounted DESTDIR.
> 

I have lately been creating memstick images for this exact type of
thing.  On -CURRENT and 9-STABLE, you can do:

 # make -C /usr/src buildworld buildkernel
 # make -C /usr/src/release NOSRC=yes NODOCS=yes NOPORTS=yes memstick

Then take the resulting memory stick image to use for recovery.

Glen

___
freebsd-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: HELP! core dumps: install, mtree, et cetera all of the sudden after portmaster security/cyrus-sasl2

2012-08-17 Thread Hartmann, O.
On 08/16/12 17:44, Glen Barber wrote:
> On Thu, Aug 16, 2012 at 05:33:20PM +0200, Hartmann, O. wrote:
>>
>> I ran into a very delicate and nasty situation.
>>
>> On several boxes, FreeBSD 9.1-PRE and FreeBSD 10-CURRENT (build of
>> CURRENT sources from yesterday, r239295 Wed August 15 17:04:51 CEST 2012
>> amd64, I had to recompile all requirements of port Apache22, since after
>> the port update it core dumped.
>>
>> On FreeBSD 9.1-PRE, with pkg(ng), things went well. Recompilation and
>> installation of all "portmaster -f apache-2.2" requirements went perfect.
>>
>> On both FreeBSD 10-CURRENT boxes it ended up in a mess, all of a
>> sudden(!), while reinstalling port security/cyrus-sasl2, things started
>> to fail in a dramatik way!
>>
>> On both FBSD 10 boxes, the installation of the port security/cyrus-sasl2
>> got corrupted by "install" and/or "mtree" dumping core and signalling
>> SIGNAL 11. Booting into multiuser mode is impossible, login core dumps
>> SIGNAL 11, many other daemons, too. The only way is to boot into single
>> user mode.
>>
>> An installation failed due to pkg(ng) was missing libarchive.so via
> 
> There is pkg-static for recovering in this type of situation.

Oh ... I'm new to pkg(ng).

> 
>> portmaster or via core dumping install(1). By installing on one box, my
>> home box, port security/cyrus-sasl2 manually, luckily install(1) and
>> mtree(1) didn't coredump and it worked - and this precedure rescued me.
>> But on my lab's development box, it doesn't work!
>>
>> On this specific box, where this nasty problem also occured the same way
>> by simply recompiling everything for port www/apache22, including the
>> reinstallation of port security/cyrus-sasl2. Nearly every binary is
>> suddenly coredumping (as on the home box). login, vi, install, devfs,
>> syslogd, mtree, id, find ... a whole lot of binaries seem to be
>> compromised by something I do not see (libsasl2.so perhaps?).
>>
>> I tried to help myself via copying /rescue/vi to /usr/bin/vi to have at
>> least a working vi. But in /rescue, I can not find install or mtree. I'm
>> not familiar with the sophisticated ways of /rescue. Where are
>> install(1) and mtree(1)?
>>
>> Trying to reinstall security/cyrus-sasl2 from single-user fails due
>> install coredumps. pkg(ng) fails due to missing libpkg.so.5 and even
>> rejects being reinstalled. But /usr/local/lib/libpkg.so.0 is even there!
>> Disabling the use of pkg with commenting out WITH_PKGNG=yes in
>> /etc/make.conf leads to the above issues with mtree and install.
>> Disabling this pkgng tag leads to reinstallation of missing packages,
>> which are store in the pkgng sqlite format and not as ASCII anymore, but
>> then I get
>> /var/runld-elf.so.hints: No such file or directory
> 
> Is this a typo, or literal transcription?  (The missing "/" between
> 'run' and 'ld-elf.so.hints', that is.)

A typo, sorry. I had to type it from the screen of the broken box to the
laptop.

> 
>> Error: shared library "iconv.3" does not exist.
>>
>> But most of the libs have never been touch! So what is the loader
>> complaining about?
>>
>> Well, I'm floating like a dead man in the water and I'm glad that one
>> box survided although suffering from the same symptomes.
>>
>> I tried to find rescue images and a rescue DVD of a snap shot server,
>> but there is no way to crawl through the informations on the web pages
>> towards a snapshot. All folders end up in 2011 and highly outdated
>> (www.freebsd.org, I didn't look at mirrors since I thought the main
>> server carries the most recent stuff). This isn't funny. No lead, no
>> hint, even in the download section.
>>
> 
> Yes, I have been complaining about this for a while now...

This is a so unneccessary issue. Why are people bothering themselfs with
hiding a bit of information? If one isn't a cold-blood developer aware
of all the neat knobs of FBSD and where to ask and where to look, a
novice or not-so-well-informed guy like me run into frustration. The
main page should have a hint present, where to find the newest stuff.
Leaving the officiela page the way it is at the moment in this specific
issue, it looks a bit "unmaintained" ...


> 
>> If someone has some hints how to recompile the sources with an emergency
>> booted disk, I highly appreciate some desater advice. Maybe the release
>> of FreeBSD-10-CURRENT sources I compiled do have accidentally a nasty
>> bug, so it would be nice to u

Re: HELP! core dumps: install, mtree, et cetera all of the sudden after portmaster security/cyrus-sasl2

2012-08-16 Thread Garrett Cooper
On Thu, Aug 16, 2012 at 8:33 AM, Hartmann, O.
 wrote:
>
> I ran into a very delicate and nasty situation.

...

> On both FBSD 10 boxes, the installation of the port security/cyrus-sasl2
> got corrupted by "install" and/or "mtree" dumping core and signalling
> SIGNAL 11. Booting into multiuser mode is impossible, login core dumps
> SIGNAL 11, many other daemons, too. The only way is to boot into single
> user mode.

I'm not drawing a correlation between this and unrelated coredumping processes.

> An installation failed due to pkg(ng) was missing libarchive.so via
> portmaster or via core dumping install(1). By installing on one box, my
> home box, port security/cyrus-sasl2 manually, luckily install(1) and
> mtree(1) didn't coredump and it worked - and this precedure rescued me.
> But on my lab's development box, it doesn't work!

Don't make delete-old-lib unless you have it moved off to compat
directories, or have rebuilt everything using the new libarchive.

> On this specific box, where this nasty problem also occured the same way
> by simply recompiling everything for port www/apache22, including the
> reinstallation of port security/cyrus-sasl2. Nearly every binary is
> suddenly coredumping (as on the home box). login, vi, install, devfs,
> syslogd, mtree, id, find ... a whole lot of binaries seem to be
> compromised by something I do not see (libsasl2.so perhaps?).

truss the binaries to figure out exactly what's going wrong.

A lot of this lost effort could be avoided (like others have posted on
the list more than once), by having a centralized package distribution
server, and by having VMs or jails and keeping snapshots with
pre-upgrade state on the package building machine to avoid "dead in
the water scenarios" like you're in right now.

> I tried to help myself via copying /rescue/vi to /usr/bin/vi to have at
> least a working vi. But in /rescue, I can not find install or mtree. I'm
> not familiar with the sophisticated ways of /rescue. Where are
> install(1) and mtree(1)?

I ran into this issue too a little while ago. I basically gave up on
recovering a VM and nuked and repaved it using a LiveCD with a chroot,
some cp -p'ing, etc. But yes.. it would be nice if I could have
recovered the system at least with a static toolchain: cc, binutils
[equivalent], mtree, install, etc.

...

> Disabling this pkgng tag leads to reinstallation of missing packages,
> which are store in the pkgng sqlite format and not as ASCII anymore, but
> then I get
> /var/runld-elf.so.hints: No such file or directory
> Error: shared library "iconv.3" does not exist.

service ldconfig start ?

> But most of the libs have never been touch! So what is the loader
> complaining about?

...

> I tried to find rescue images and a rescue DVD of a snap shot server,
> but there is no way to crawl through the informations on the web pages
> towards a snapshot. All folders end up in 2011 and highly outdated
> (www.freebsd.org, I didn't look at mirrors since I thought the main
> server carries the most recent stuff). This isn't funny. No lead, no
> hint, even in the download section.
>
> If someone has some hints how to recompile the sources with an emergency
> booted disk, I highly appreciate some desater advice. Maybe the release
> of FreeBSD-10-CURRENT sources I compiled do have accidentally a nasty
> bug, so it would be nice to update the sources and have a complete
> recompilation done.
>
> Thanks in advance,

Simply put: fix your infrastructure (as this isn't the first time
you have complained about infrastructure issues on the MLs). A lot of
these issues should not be issues if you set up your infrastructure
properly to deal with building things only once, backup packages
before installation, you had snapshots of your system, etc. This will
help you avoid administration pain, and hopefully will result in less
duplicated work.

Cheers,
-Garrett
___
freebsd-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: HELP! core dumps: install, mtree, et cetera all of the sudden after portmaster security/cyrus-sasl2

2012-08-16 Thread Garrett Cooper
On Thu, Aug 16, 2012 at 11:33 AM, O. Hartmann
 wrote:
> I ran into a very delicate and nasty situation.

Please don't cross-post / double-post.
Thanks,
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


HELP! core dumps: install, mtree, et cetera all of the sudden after portmaster security/cyrus-sasl2

2012-08-16 Thread O. Hartmann
I ran into a very delicate and nasty situation.

On several boxes, FreeBSD 9.1-PRE and FreeBSD 10-CURRENT (build of
CURRENT sources from yesterday, r239295 Wed August 15 17:04:51 CEST 2012
amd64, I had to recompile all requirements of port Apache22, since after
the port update it core dumped.

On FreeBSD 9.1-PRE, with pkg(ng), things went well. Recompilation and
installation of all "portmaster -f apache-2.2" requirements went perfect.

On both FreeBSD 10-CURRENT boxes it ended up in a mess, all of a
sudden(!), while reinstalling port security/cyrus-sasl2, things started
to fail in a dramatik way!

On both FBSD 10 boxes, the installation of the port security/cyrus-sasl2
got corrupted by "install" and/or "mtree" dumping core and signalling
SIGNAL 11. Booting into multiuser mode is impossible, login core dumps
SIGNAL 11, many other daemons, too. The only way is to boot into single
user mode.

An installation failed due to pkg(ng) was missing libarchive.so via
portmaster or via core dumping install(1). By installing on one box, my
home box, port security/cyrus-sasl2 manually, luckily install(1) and
mtree(1) didn't coredump and it worked - and this precedure rescued me.
But on my lab's development box, it doesn't work!

On this specific box, where this nasty problem also occured the same way
by simply recompiling everything for port www/apache22, including the
reinstallation of port security/cyrus-sasl2. Nearly every binary is
suddenly coredumping (as on the home box). login, vi, install, devfs,
syslogd, mtree, id, find ... a whole lot of binaries seem to be
compromised by something I do not see (libsasl2.so perhaps?).

I tried to help myself via copying /rescue/vi to /usr/bin/vi to have at
least a working vi. But in /rescue, I can not find install or mtree. I'm
not familiar with the sophisticated ways of /rescue. Where are
install(1) and mtree(1)?

Trying to reinstall security/cyrus-sasl2 from single-user fails due
install coredumps. pkg(ng) fails due to missing libpkg.so.5 and even
rejects being reinstalled. But /usr/local/lib/libpkg.so.0 is even there!
Disabling the use of pkg with commenting out WITH_PKGNG=yes in
/etc/make.conf leads to the above issues with mtree and install.
Disabling this pkgng tag leads to reinstallation of missing packages,
which are store in the pkgng sqlite format and not as ASCII anymore, but
then I get
/var/runld-elf.so.hints: No such file or directory
Error: shared library "iconv.3" does not exist.

But most of the libs have never been touch! So what is the loader
complaining about?

Well, I'm floating like a dead man in the water and I'm glad that one
box survided although suffering from the same symptomes.

I tried to find rescue images and a rescue DVD of a snap shot server,
but there is no way to crawl through the informations on the web pages
towards a snapshot. All folders end up in 2011 and highly outdated
(www.freebsd.org, I didn't look at mirrors since I thought the main
server carries the most recent stuff). This isn't funny. No lead, no
hint, even in the download section.

If someone has some hints how to recompile the sources with an emergency
booted disk, I highly appreciate some desater advice. Maybe the release
of FreeBSD-10-CURRENT sources I compiled do have accidentally a nasty
bug, so it would be nice to update the sources and have a complete
recompilation done.

Thanks in advance,

oh



signature.asc
Description: OpenPGP digital signature


Re: HELP! core dumps: install, mtree, et cetera all of the sudden after portmaster security/cyrus-sasl2

2012-08-16 Thread Bryan Drewery
On 8/16/2012 10:33 AM, Hartmann, O. wrote:
> I tried to find rescue images and a rescue DVD of a snap shot server,
> but there is no way to crawl through the informations on the web pages
> towards a snapshot. All folders end up in 2011 and highly outdated
> (www.freebsd.org, I didn't look at mirrors since I thought the main
> server carries the most recent stuff). This isn't funny. No lead, no
> hint, even in the download section.

http://pub.allbsd.org/FreeBSD-snapshots/

Bryan
___
freebsd-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: HELP! core dumps: install, mtree, et cetera all of the sudden after portmaster security/cyrus-sasl2

2012-08-16 Thread Glen Barber
On Thu, Aug 16, 2012 at 05:33:20PM +0200, Hartmann, O. wrote:
> 
> I ran into a very delicate and nasty situation.
> 
> On several boxes, FreeBSD 9.1-PRE and FreeBSD 10-CURRENT (build of
> CURRENT sources from yesterday, r239295 Wed August 15 17:04:51 CEST 2012
> amd64, I had to recompile all requirements of port Apache22, since after
> the port update it core dumped.
> 
> On FreeBSD 9.1-PRE, with pkg(ng), things went well. Recompilation and
> installation of all "portmaster -f apache-2.2" requirements went perfect.
> 
> On both FreeBSD 10-CURRENT boxes it ended up in a mess, all of a
> sudden(!), while reinstalling port security/cyrus-sasl2, things started
> to fail in a dramatik way!
> 
> On both FBSD 10 boxes, the installation of the port security/cyrus-sasl2
> got corrupted by "install" and/or "mtree" dumping core and signalling
> SIGNAL 11. Booting into multiuser mode is impossible, login core dumps
> SIGNAL 11, many other daemons, too. The only way is to boot into single
> user mode.
> 
> An installation failed due to pkg(ng) was missing libarchive.so via

There is pkg-static for recovering in this type of situation.

> portmaster or via core dumping install(1). By installing on one box, my
> home box, port security/cyrus-sasl2 manually, luckily install(1) and
> mtree(1) didn't coredump and it worked - and this precedure rescued me.
> But on my lab's development box, it doesn't work!
> 
> On this specific box, where this nasty problem also occured the same way
> by simply recompiling everything for port www/apache22, including the
> reinstallation of port security/cyrus-sasl2. Nearly every binary is
> suddenly coredumping (as on the home box). login, vi, install, devfs,
> syslogd, mtree, id, find ... a whole lot of binaries seem to be
> compromised by something I do not see (libsasl2.so perhaps?).
> 
> I tried to help myself via copying /rescue/vi to /usr/bin/vi to have at
> least a working vi. But in /rescue, I can not find install or mtree. I'm
> not familiar with the sophisticated ways of /rescue. Where are
> install(1) and mtree(1)?
> 
> Trying to reinstall security/cyrus-sasl2 from single-user fails due
> install coredumps. pkg(ng) fails due to missing libpkg.so.5 and even
> rejects being reinstalled. But /usr/local/lib/libpkg.so.0 is even there!
> Disabling the use of pkg with commenting out WITH_PKGNG=yes in
> /etc/make.conf leads to the above issues with mtree and install.
> Disabling this pkgng tag leads to reinstallation of missing packages,
> which are store in the pkgng sqlite format and not as ASCII anymore, but
> then I get
> /var/runld-elf.so.hints: No such file or directory

Is this a typo, or literal transcription?  (The missing "/" between
'run' and 'ld-elf.so.hints', that is.)

> Error: shared library "iconv.3" does not exist.
> 
> But most of the libs have never been touch! So what is the loader
> complaining about?
> 
> Well, I'm floating like a dead man in the water and I'm glad that one
> box survided although suffering from the same symptomes.
> 
> I tried to find rescue images and a rescue DVD of a snap shot server,
> but there is no way to crawl through the informations on the web pages
> towards a snapshot. All folders end up in 2011 and highly outdated
> (www.freebsd.org, I didn't look at mirrors since I thought the main
> server carries the most recent stuff). This isn't funny. No lead, no
> hint, even in the download section.
> 

Yes, I have been complaining about this for a while now...

> If someone has some hints how to recompile the sources with an emergency
> booted disk, I highly appreciate some desater advice. Maybe the release
> of FreeBSD-10-CURRENT sources I compiled do have accidentally a nasty
> bug, so it would be nice to update the sources and have a complete
> recompilation done.
> 

If you can get booted into a recovery medium, you can mount /usr/src and
/usr/obj from the hosed system, and should be able to
installworld/installkernel into the hosed system with DESTDIR set.

Glen

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


HELP! core dumps: install, mtree, et cetera all of the sudden after portmaster security/cyrus-sasl2

2012-08-16 Thread Hartmann, O.

I ran into a very delicate and nasty situation.

On several boxes, FreeBSD 9.1-PRE and FreeBSD 10-CURRENT (build of
CURRENT sources from yesterday, r239295 Wed August 15 17:04:51 CEST 2012
amd64, I had to recompile all requirements of port Apache22, since after
the port update it core dumped.

On FreeBSD 9.1-PRE, with pkg(ng), things went well. Recompilation and
installation of all "portmaster -f apache-2.2" requirements went perfect.

On both FreeBSD 10-CURRENT boxes it ended up in a mess, all of a
sudden(!), while reinstalling port security/cyrus-sasl2, things started
to fail in a dramatik way!

On both FBSD 10 boxes, the installation of the port security/cyrus-sasl2
got corrupted by "install" and/or "mtree" dumping core and signalling
SIGNAL 11. Booting into multiuser mode is impossible, login core dumps
SIGNAL 11, many other daemons, too. The only way is to boot into single
user mode.

An installation failed due to pkg(ng) was missing libarchive.so via
portmaster or via core dumping install(1). By installing on one box, my
home box, port security/cyrus-sasl2 manually, luckily install(1) and
mtree(1) didn't coredump and it worked - and this precedure rescued me.
But on my lab's development box, it doesn't work!

On this specific box, where this nasty problem also occured the same way
by simply recompiling everything for port www/apache22, including the
reinstallation of port security/cyrus-sasl2. Nearly every binary is
suddenly coredumping (as on the home box). login, vi, install, devfs,
syslogd, mtree, id, find ... a whole lot of binaries seem to be
compromised by something I do not see (libsasl2.so perhaps?).

I tried to help myself via copying /rescue/vi to /usr/bin/vi to have at
least a working vi. But in /rescue, I can not find install or mtree. I'm
not familiar with the sophisticated ways of /rescue. Where are
install(1) and mtree(1)?

Trying to reinstall security/cyrus-sasl2 from single-user fails due
install coredumps. pkg(ng) fails due to missing libpkg.so.5 and even
rejects being reinstalled. But /usr/local/lib/libpkg.so.0 is even there!
Disabling the use of pkg with commenting out WITH_PKGNG=yes in
/etc/make.conf leads to the above issues with mtree and install.
Disabling this pkgng tag leads to reinstallation of missing packages,
which are store in the pkgng sqlite format and not as ASCII anymore, but
then I get
/var/runld-elf.so.hints: No such file or directory
Error: shared library "iconv.3" does not exist.

But most of the libs have never been touch! So what is the loader
complaining about?

Well, I'm floating like a dead man in the water and I'm glad that one
box survided although suffering from the same symptomes.

I tried to find rescue images and a rescue DVD of a snap shot server,
but there is no way to crawl through the informations on the web pages
towards a snapshot. All folders end up in 2011 and highly outdated
(www.freebsd.org, I didn't look at mirrors since I thought the main
server carries the most recent stuff). This isn't funny. No lead, no
hint, even in the download section.

If someone has some hints how to recompile the sources with an emergency
booted disk, I highly appreciate some desater advice. Maybe the release
of FreeBSD-10-CURRENT sources I compiled do have accidentally a nasty
bug, so it would be nice to update the sources and have a complete
recompilation done.

Thanks in advance,

oh
___
freebsd-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: sendmail + clamav + spamassasin config help

2012-08-14 Thread Robert Bonomi
> From owner-freebsd-questi...@freebsd.org  Mon Aug 13 21:55:24 2012
> Date: Tue, 14 Aug 2012 02:51:17 -0400 (EDT)
> From: AN 
> To: freebsd-questions@freebsd.org
> Subject: sendmail + clamav + spamassasin config help
>
> FreeBSD mail.neu.net 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #2 r239243: 
> Mon Aug 13 19:20:19 EDT 2012  
> r...@mail.neu.net:/usr/obj/usr/src/sys/GENERIC  amd64
>
> I am trying to configure sendmail + clamav + spamassasin.  The problem I 
> have is that neither clamav or spamassasin runs when I send or receive 
> email.  I would like the server to do the following:
>
> 1. check dns blacklists, which is working (see below)
>
> Aug 14 02:00:54 mail sm-mta[38461]: ruleset=check_relay, 
> arg1=[37.121.149.208], arg2=127.0.0.4, relay=[37.121.149.208], reject=550
> 5.7.1 Rejected: 37.121.149.208 listed at sbl-xbl.spamhaus.org

Confirm.  FEATURE dsnsbl is functioning.
>
> 2. run spamd
> 3. run clamav
> Aug 14 02:04:41 mail sm-mta[38464]: q7E64eCv038464: milter=clmilter, 
> action=rcpt, continue 
> Aug 14 02:04:41 mail sm-mta[38464]: q7E64eCv038464: milter=clmilter, 
> action=header, continue 
> Aug 14 02:04:41 mail lastmessage repeated 12 times 
> Aug 14 02:04:41 mail sm-mta[38464]: q7E64eCv038464: milter=clmilter, 
> action=body, continue 
> Aug 14 02:04:42 mail sm-mta[38464]: q7E64eCv038464: Milter accept: message 
> Aug 14 02:04:42 mail sm-mta[38464]: q7E64eCv038464: --- 250 2.0.0 
> q7E64eCv038464 Message accepted for delivery
> 
> spamd and clamav never execute.

The above logfile entries  appear to show that the milter interfae for clamav 
_is_ being invoked.  Although nothing shows for 'spamassassin'.


NOTE: your copy/paste of the .mc file, etc. *LOST* critical line-break
formatting.  I've had to _guess_ where breaks occured in ressurecting
the files.  There are 'dnl' verbs below that appear to have nothing after 
them.  *IF* what appears below as a separate line following such a 'dnl' is
actually on the same line with the dnl, then _that_ directive will *NOT*
be acted on.  YOU will have to double-check for that.
> 
> # cat mail.neu.net.mc
> divert(-1)
> #
> # Copyright (c) 1983 Eric P. Allman
> # Copyright (c) 1988, 1993
> # The Regents of the University of California.  All rights reserved.
> #
> #
> #
>
> #
> #  This is a generic configuration file for FreeBSD 6.X and later systems. 
> #  If you want to customize it, copy it to a name appropriate for your
> #  environment and do the modifications there.
> #
> #  The best documentation for this .mc file is:
> #  /usr/share/sendmail/cf/README or
> #  /usr/src/contrib/sendmail/cf/README
> #
>
> divert(0)
> VERSIONID(`$FreeBSD: release/9.0.0/etc/sendmail/freebsd.mc 223068 2011-06-14 
> 04:33:43Z gshapiro $')
> OSTYPE(freebsd6) 
> DOMAIN(generic)
>
> FEATURE(access_db, `hash -o -T /etc/mail/access') 
> FEATURE(blacklist_recipients)
> FEATURE(local_lmtp)
> FEATURE(mailertable,`hash -o /etc/mail/mailertable')
> FEATURE(virtusertable, `hash -o > /etc/mail/virtusertable')
>
> dnl Uncomment to allow relaying based on your MX records. 
> dnl NOTE: This can allow sites to use your server as a backup MX without
> dnl your permission. 
> dnl FEATURE(relay_based_on_MX)
>
> dnl DNS based black hole lists 
> dnl  
> dnl DNS based black hole lists come and go on a regular basis 
> dnl so this file will not serve as a database of the available servers. 
> dnl For that, visit 
> dnl http://www.google.com/Top/Computers/Internet/E-mail/Spam/Blacklists/
>
> dnl Uncomment to activate your chosen DNS based blacklist 
> dnl FEATURE(dnsbl,`dnsbl.example.com') 
> dnl Alternatively, you can provide your own server and rejection message: 
> dnl FEATURE(dnsbl,`dnsbl.example.com',``"550 Mail from " $&{client_addr}" 
> rejected'')
> FEATURE(dnsbl,`sbl-xbl.spamhaus.org')
> FEATURE(dnsbl,`bl.spamcop.net') 
>
>
> dnl Dialup users should uncomment and define this appropriately 
> dnl define(`SMART_HOST',`your.isp.mail.server')
>
> dnl Uncomment the first line to change the location of the default 
> dnl /etc/mail/local-host-names and comment out the second line. 
> dnl define(`confCW_FILE',`-o /etc/mail/sendmail.cw') 
> define(`confCW_FILE',`-o /etc/mail/local-host-names')
>
> INPUT_MAIL_FILTER(`clmilter',`S=local:/var/run/clamav/clmilter.sock,F=,T=S:4m;R:4m')dnl
>  
> INPUT_MAIL_FILTER(`spamassassin',`S=local:/var/run/spamass-milter.sock,F=,T=C:15m;S:4m;R:4m;E:10m')dnl
> define(`confINPUT_MAIL_FILTERS',`clmilter,spamassassin')dnl

The 'dnl' at the end of the above li

sendmail + clamav + spamassasin config help

2012-08-14 Thread Robert Huff

AN writes:

>  I am trying to configure sendmail + clamav + spamassasin.  The
>  problem I have is that neither clamav or spamassasin runs when I
>  send or receive email.  I would like the server to do the
>  following:

This has been running fine for years on one of my machines.
Do you have spamassassin and clamd (and the milters) enabled in
/etc/rc.conf?


Robert Huff

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


Re: sendmail + clamav + spamassasin config help

2012-08-14 Thread Wojciech Puchar

the above). At least, that's how I do it.


or, you could consider using Postfix. It's much easier to configure and 
implement content filters.

depends of who is talking and how "easiness" is defined.

Postfix is different. That's all.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: sendmail + clamav + spamassasin config help

2012-08-14 Thread Jamie Paul Griffin
[ Andrea Venturoli wrote on Tue 14.Aug'12 at 10:22:14 +0200 ]

> On 08/14/12 08:51, AN wrote:
> >FreeBSD mail.neu.net 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #2 r239243:
> >Mon Aug 13 19:20:19 EDT 2012
> >r...@mail.neu.net:/usr/obj/usr/src/sys/GENERIC  amd64
> >
> >I am trying to configure sendmail + clamav + spamassasin.  The problem I
> >have is that neither clamav or spamassasin runs when I send or receive
> >email.  I would like the server to do the following:
> >
> >1. check dns blacklists, which is working (see below)
> 
> Not really able to help you here...
> However, you may consider MIMEDefang (which in turn will run all of
> the above). At least, that's how I do it.

or, you could consider using Postfix. It's much easier to configure and 
implement content filters.

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


Re: sendmail + clamav + spamassasin config help

2012-08-14 Thread Andrea Venturoli

On 08/14/12 08:51, AN wrote:

FreeBSD mail.neu.net 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #2 r239243:
Mon Aug 13 19:20:19 EDT 2012
r...@mail.neu.net:/usr/obj/usr/src/sys/GENERIC  amd64

I am trying to configure sendmail + clamav + spamassasin.  The problem I
have is that neither clamav or spamassasin runs when I send or receive
email.  I would like the server to do the following:

1. check dns blacklists, which is working (see below)


Not really able to help you here...
However, you may consider MIMEDefang (which in turn will run all of the 
above). At least, that's how I do it.


HTH.

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


sendmail + clamav + spamassasin config help

2012-08-13 Thread AN
arnings,noexpn,novrfy')
MAILER(local)
MAILER(smtp)

[root@mail /etc/mail]#ps -aux
root1268   0.0  0.3  41200  2668 ??  Is   11:47PM   0:00.07 
/usr/local/sbin/spamass-milter -f -p /var/run/spamass-milter.sock
root1276   0.0  3.8 125724 39080 ??  Ss   11:47PM   0:02.85 
/usr/local/bin/spamd -c -d -r /var/run/spamd/spamd.pid (perl)
root1277   0.0  4.5 133916 45908 ??  I11:47PM   0:07.54 spamd child 
(perl)
root1278   0.0  3.7 125724 37996 ??  I11:47PM   0:00.01 spamd child 
(perl)
clamav  1284   0.0  7.7 217948 79456 ??  Is   11:47PM   0:04.89 
/usr/local/sbin/clamd
clamav  1290   0.0  0.2  27540  2328 ??  Is   11:47PM   0:00.08 
/usr/local/sbin/clamav-milter -c /usr/local/etc/clamav-milter.conf
clamav  1296   0.0  0.2  45080  2312 ??  Is   11:47PM   0:03.12 
/usr/local/bin/freshclam --daemon -p /var/run/clamav/freshclam.pid


Clamav was compiled with the milter enabled.
Please let me know what other info I can provide to help troubleshoot 
this, any help is appreciated.


Thanks in advance
___
freebsd-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: help about free bsp version netcat to work it on ubuntu

2012-07-25 Thread Chad Perrin
On Tue, Jul 24, 2012 at 07:18:13PM +0800, lei yang wrote:
> 
> Aha,I just want to learn want to know how to build the netcat for
> freebsd version on a no-freebsd platform

I'm really curious, now:

Why?

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


Re: help about free bsp version netcat to work it on ubuntu

2012-07-24 Thread Polytropon
On Tue, 24 Jul 2012 19:13:00 +0800, lei yang wrote:
> On Tue, Jul 24, 2012 at 12:47 AM, Polytropon  wrote:
> > On Mon, 23 Jul 2012 23:29:38 +0800, lei yang wrote:
> >> Yes, the second version I post is using the source from you supplied,
> >> then I compiled it, but it has no
> >> "-U" flag like what I post, it seems a version different casued this.
> >
> > Yes. The version distributed by the ports collection is different
> > from that one supplied with the base system of FreeBSD.
> >
> > To try _that_ version, you can download the source tarball and
> > extract it; in the directory
> >
> > # wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/9.0-RELEASE/src.txz
> > # tar xvf src.txz
> 
> Thanks for the help,
> 
> tar xvf src.txz
> tar: This does not look like a tar archive
> tar: Skipping to next header
> tar: Archive contains obsolescent base-64 headers
> tar: Read 4896 bytes from src.txz
> tar: Error exit delayed from previous errors
> [lyang0@ala-lpggp2 lyang0]$ tar xvf src.txz
> tar: This does not look like a tar archive
> tar: Skipping to next header
> tar: Archive contains obsolescent base-64 headers
> tar: Read 4896 bytes from src.txz
> tar: Error exit delayed from previous errors

Oh sorry I forgot: You're _not_ on a FreeBSD system!
That's why you cannot use tar (means: bsdtar) with
the xz compression support.

On your system, you first need to install xz. Use
the unxz to uncompress the archive. Then you will have
a valid tar archive which you can extract with "stock"
tar.



> > # cd cusr/src/ontrib/netcat/
> > # ls
> > FREEBSD-XlistFREEBSD-vendor   atomicio.h   netcat.c
> > FREEBSD-upgrade  atomicio.c   nc.1 socks.c
> > #
> > 
> >
> 
> Suppose gcc -o netcat netcat.c atomicio.c socks.c should work

It seems that I pointed you to a wrong location inside
the src/ tree. Maybe try this instead:

# unxz src.txz
# tar xvf src.tar usr/src/usr.bin/nc/
# tar xvf src.tar usr/src/contrib/netcat/
# cd usr/src/usr.bin/nc/
# ls
Makefile
# cd ../../contrib/netcat/
# ls
FREEBSD-XlistFREEBSD-vendor   atomicio.h   netcat.c
FREEBSD-upgrade  atomicio.c   nc.1 socks.c

"Problem": The Makefile which describes the build
process refers to bsd.prog.mk which is specific to
FreeBSD (and located in src/share/Mk which you'd
also have to extract).

The content of the Makefile is rather simple:

.PATH: ${.CURDIR}/../../contrib/netcat

PROG=   nc
SRCS=   netcat.c atomicio.c socks.c

CFLAGS+=-DIPSEC
LDADD=  -lipsec
DPADD=  ${LIBIPSEC}

.include 

Still it seems that your "simplified" approach could
work: Compile all the .c files.






-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: amd64, 57600 serial install help

2012-07-24 Thread Paul Macdonald

On 21/07/2012 22:06, Ihsan Junaidi Ibrahim wrote:

I assume you have compiled the bootblocks as per the instruction in the 
handbook.

Second, do you have more than one serial port on the box because FreeBSD can 
only work its serial console magic on only one port at a time.

If you redirect your IPMI serial console or just a normal serial console, take 
note it's interrupt number in the BIOS.

You'll need to append the 0x10 flags to your UART device in device.hints file 
if the you plug in the cable at a non-default port.


i have submitted a PR re this as a serial install on 8.3 works fine.

Paul.



--

-
Paul Macdonald
IFDNRG Ltd
Web and video hosting
-
t: 0131 5548070
m: 07970339546
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: help about free bsp version netcat to work it on ubuntu

2012-07-24 Thread Chris Whitehouse

On 24/07/2012 14:36, kpn...@pobox.com wrote:

On Tue, Jul 24, 2012 at 07:13:00PM +0800, lei yang wrote:

On Tue, Jul 24, 2012 at 12:47 AM, Polytropon  wrote:

On Mon, 23 Jul 2012 23:29:38 +0800, lei yang wrote:

Yes, the second version I post is using the source from you supplied,
then I compiled it, but it has no
"-U" flag like what I post, it seems a version different casued this.


Yes. The version distributed by the ports collection is different
from that one supplied with the base system of FreeBSD.

To try _that_ version, you can download the source tarball and
extract it; in the directory

# wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/9.0-RELEASE/src.txz
# tar xvf src.txz


Thanks for the help,

tar xvf src.txz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Read 4896 bytes from src.txz
tar: Error exit delayed from previous errors
[lyang0@ala-lpggp2 lyang0]$ tar xvf src.txz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Read 4896 bytes from src.txz
tar: Error exit delayed from previous errors


Maybe a bad/incomplete download?
%fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/9.0-RELEASE/src.txz
src.txz   100% of   89 MB  216 kBps 
00m00s

%md5 src.txz
MD5 (src.txz) = 7cce6b045f771cef2136df277d16331f
%tar xvf src.txz
x usr/src/
x usr/src/usr.bin/
x usr/src/release/
x usr/src/crypto/
x usr/src/include/
x usr/src/secure/
x usr/src/rescue/
x usr/src/gnu/
x usr/src/sbin/
x usr/src/games/
x usr/src/tools/
x usr/src/contrib/
x usr/src/kerberos5/
x usr/src/share/
...
...
___
freebsd-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: help about free bsp version netcat to work it on ubuntu

2012-07-24 Thread Carl Johnson
lei yang  writes:

> On Tue, Jul 24, 2012 at 12:03 AM, Carl Johnson  wrote:
>> lei yang  writes:
>>
>>> On Mon, Jul 23, 2012 at 12:25 AM, Polytropon  wrote:
 On Sun, 22 Jul 2012 22:41:57 +0800, lei yang wrote:
> Hi,
>
> I want to build a "netcat" on my local pc (ubuntu) with gcc, is it
> possible? I'm new to free bsd

>>>
>>>
>>> it has no "-U" flag, can you point me where I get this version
>>>
>> Have you checked the other version of netcat already available?  A quick
>> check shows these four versions for Ubuntu:
>>
>> netcat: TCP/IP swiss army knife -- transitional package
>> netcat-openbsd: TCP/IP swiss army knife
>> netcat-traditional: TCP/IP swiss army knife
>> netcat6: TCP/IP swiss army knife with IPv6 support
>>
>
> how did you get the list?

I used the surfraw package which is available on freebsd, debian, and
ubuntu.  In this case I just used 'debpackages -u netcat' to do access
the ubuntu packages search page.  There is also 'freebsd -psearch' to
search freebsd ports, and debpackages without -u shows debian packages.

> To be clear, haha, I just want to know how to build a fress bsd netcat
> on a no-fressbsd platform

Others have probably already mentioned this, but you are probably better
off trying ports source instead.  Most of those are written to be
portable and are easily configured for other OSs.  Freebsd port search
shows the following for netcat:

net/cryptcat  Standard netcat enhanced with twofish encryption
net/gnetcat   GPL'ed re-write of the well known networking tool 
netcat
net/nc6   Netcat clone with IPv6 support
net/netcatSimple utility which reads and writes data across 
network connections
net/sbd   A netcat clone with more features and crypto
net/scnc  SSL Capable Netcat
security/sst  A simple SSL tunneling tool (uses netcat)

-- 
Carl Johnsonca...@peak.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: help about free bsp version netcat to work it on ubuntu

2012-07-24 Thread lei yang
On Tue, Jul 24, 2012 at 12:03 AM, Carl Johnson  wrote:
> lei yang  writes:
>
>> On Mon, Jul 23, 2012 at 12:25 AM, Polytropon  wrote:
>>> On Sun, 22 Jul 2012 22:41:57 +0800, lei yang wrote:
 Hi,

 I want to build a "netcat" on my local pc (ubuntu) with gcc, is it
 possible? I'm new to free bsd
>>>
>>
>>
>> it has no "-U" flag, can you point me where I get this version
>>
> Have you checked the other version of netcat already available?  A quick
> check shows these four versions for Ubuntu:
>
> netcat: TCP/IP swiss army knife -- transitional package
> netcat-openbsd: TCP/IP swiss army knife
> netcat-traditional: TCP/IP swiss army knife
> netcat6: TCP/IP swiss army knife with IPv6 support
>

how did you get the list?

To be clear, haha, I just want to know how to build a fress bsd netcat
on a no-fressbsd platform

Lei




> --
> Carl Johnsonca...@peak.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"


Re: help about free bsp version netcat to work it on ubuntu

2012-07-24 Thread lei yang
On Mon, Jul 23, 2012 at 11:52 PM, Alejandro Imass  wrote:
> On Mon, Jul 23, 2012 at 11:29 AM, lei yang  wrote:
>> On Mon, Jul 23, 2012 at 10:36 PM, Polytropon  wrote:
>>> On Mon, 23 Jul 2012 12:59:55 +0800, lei yang wrote:
 On Mon, Jul 23, 2012 at 12:25 AM, Polytropon  wrote:
 > On Sun, 22 Jul 2012 22:41:57 +0800, lei yang wrote:
 >> Hi,
>
> [...]
>
>>
>> I don't know where to find the source code in Red Hat.
>>
>
> Why don't you just toss RedHat and use FreeBSD ? Most everything you
> run on Linux will run on FreeBSD and there are also Desktop-friendly
> distros of FreeBSD such as PC-BSD which, in Linux terms, is to FreeBSD
> somewhat akin to what Ubuntu is to Debian.
>

Aha,I just want to learn want to know how to build the netcat for
freebsd version on a no-freebsd platform

Lei

> Anyway, give PC-BSD a try and you won't regret it:
>
> http://www.pcbsd.org/
>
>
> Cheers,
>
> --
> Alejandro Imass
___
freebsd-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: help about free bsp version netcat to work it on ubuntu

2012-07-24 Thread lei yang
On Tue, Jul 24, 2012 at 12:47 AM, Polytropon  wrote:
> On Mon, 23 Jul 2012 23:29:38 +0800, lei yang wrote:
>> Yes, the second version I post is using the source from you supplied,
>> then I compiled it, but it has no
>> "-U" flag like what I post, it seems a version different casued this.
>
> Yes. The version distributed by the ports collection is different
> from that one supplied with the base system of FreeBSD.
>
> To try _that_ version, you can download the source tarball and
> extract it; in the directory
>
> # wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/9.0-RELEASE/src.txz
> # tar xvf src.txz

Thanks for the help,

tar xvf src.txz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Read 4896 bytes from src.txz
tar: Error exit delayed from previous errors
[lyang0@ala-lpggp2 lyang0]$ tar xvf src.txz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Read 4896 bytes from src.txz
tar: Error exit delayed from previous errors



> # cd cusr/src/ontrib/netcat/
> # ls
> FREEBSD-XlistFREEBSD-vendor   atomicio.h   netcat.c
> FREEBSD-upgrade  atomicio.c   nc.1 socks.c
> #
> 
>

Suppose gcc -o netcat netcat.c atomicio.c socks.c should work

Lei



> You can check the FTP server for other versions of the OS
> (e. g. different branch and architecture, starting at
> ftp://ftp.freebsd.org/pub/FreeBSD/releases/, then selecting
> architecture and finally the OS version). There are also
> different ways of obtaining the sources, but the solution
> shown here should be sufficient.
>
> (You can use "tar xvf src.txz usr/src/contrib/netcat" to
> only extract the files for netcat instead of everything,
> but it _might_ be possible that the build process needs
> some files from other locations.)
>
> If you don't have wget installed, stock "ftp "
> command should also work for downloading.
>
>
>
>
>> I don't know where to find the source code in Red Hat.
>
> Me neither, but check "man hier" on a RH system to get
> the documentation about the file system hierarchy which
> should have detailed information on what is stored where.
>
>
>
>
> --
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


  1   2   3   4   5   6   7   8   9   10   >