Re: how to start apache22 without ssl

2007-07-14 Thread mrspock
 Norberto Meijome wrote:
 On Fri, 13 Jul 2007 13:27:41 -0400
 pj [EMAIL PROTECTED] wrote:

 Somethings isn't quite right here.
 It was suggested I load the accf_http from the /boot/loader.conf file.
 I
 did. So, now I removed the line from /boot/loader.conf; it is empty of
 any directives. I rebooted and accf_http.ko is no longer in the kernel
 -
 according to kldstat.

 man loader.conf

 Once you understand what loader.conf is for, and what a kernel module
 is, you
 should understand what has happened.

 ps xa | grep htt gives

  /usr/local/sbin/httpd - DNOHTTPACCEPT

 Something is fishy here... any thoughts?

 nothing fishy at all. read the man, read about kernel modules, read :)

 Why me? I always seem to get these weird anomalies... :(

 sorry to break it to you, but odds are it's due to your current lack of
 understanding of the system, rather than the universe poised against you
 :)
 don't worry, it's fixable (understanding, not the universe ;) ).

 Good luck,
 _
 {Beto|Norberto|Numard} Meijome

 There are two kinds of stupid people. One kind says,'This is old and
 therefore
 good'. The other kind says, 'This is new, and therefore better.'
  John Brunner, 'The Shockwave Rider'.

 I speak for myself, not my employer. Contents may be hot. Slippery when
 wet.
 Reading disclaimers makes you go blind. Writing them is worse. You have
 been
 Warned.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

 Well, I don't think the universe is against me. I rather think that
 there is a really serious lack of communications skills among many
 programmers. I find that often the simplest installations are overly
 complicated and convoluted, if you will. For example, I have been
 strugglling with the installation of CUPS. For some reason the CUPS
 metaport would not install. I finally decided to install only the
 cups-base and then the configuration and implementation were child's
 play. No need to install gnu-ghostscript of gutenprint or any of the
 other stuff - I just put the ppd file for my specific printer in the
 cups/ppd directory, tweaked the configuration and bingo. The same for
 OpenOffice.org... I had to figure out a way to simplify the installation
 and had no need to go through 12 hours of compilation from the source
 code. The binary was a snap, once I figured it out. Apache22 and Samba
 had me confused for a while, but with a little help from the mailing
 list I got straightened out and it all works like a charm.

 But the httpd -DNOHTTPACEPT remains a mystery; after removing the
 loader.config entry, I rebooted, checked the kldstat, found the module
 no longer loaded in the kernel but the ps waux | grep httpd still came
 up with -DNOHTTPDACCEPT. I did not do any further tweaking or make any
 changes to apache22 and now it boots correctly and the -DNOHTTPDACCEPT
 is no longer there. Now, wouldn't you say that is weird. But then, I do
 admit that I do not understand the system.

 However, I am the greatest fan of understanding you could find. That's
 why I ask questions that may seem strange at times.
 BTW, my advice to programmers and, for that matter, anyone in any kind
 of a project - think about the end user and how he will see the results
 of your works, how he will use it without having the creator's vision.

 I enormously appreciate the help you and everyone who responded were
 able to offer. Hope I can do so for others as I grow with the system.
 Phil


I believe you have forgotten to set:

 apache22_http_accept_enable=YES

in /etc/rc.conf.


  Eduardo.




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


Re: partition problem

2007-06-30 Thread mrspock
 no,ad0 not detected in boot,please help me to solve this problem

 On 6/29/07, Lowell Gilbert [EMAIL PROTECTED]
 wrote:
 erik freaks [EMAIL PROTECTED] writes:

  please help me when I try to install freebsd 6.2(when make partition)
 I
 got
  this message:
 
  No disk found ! Please verify that the disk controller is being
 probed
  properly during boot time
 
  please help me my Motherboard is Asus P4P8X, harddisk IDE Samgsung
 160Gb,
  I connected my Harddisk on Primary Master, its detected in BIOS
  how to solve this problem plesase help me

 Is ad0 detected in the kernel messages when you boot the install disk?



Try to update your BIOS.


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


Re: Interesting Change In ssh Behavior

2007-06-22 Thread mrspock

 On Tue, 19 Jun 2007, Tim Daneliuk wrote:

 Bill Campbell wrote:
 On Tue, Jun 19, 2007, Tim Daneliuk wrote:
 I just recently update one 6.2 and one 4.11 machine to the latest
 stable
 sources and built world.  Now, for some odd reason, I cannot tunnel X
 via ssh from remote clients.  Did the defaults for sshd change lately
 or is there some other culprit?

 First make sure that the sshd_config file on the server machine
 has ``X11Forwarding yes'' set.

 Had the problem too, had to set

 XAuthLocation /usr/X11R6/bin/xauth

 in ssd_config although this should be the default.

 Best regards

 Konrad Heuer
 GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED]


if you are using 6.2-STABLE then you have to set:

XAuthLocation /usr/local/bin/xauth

in ssd_config.

and restart the ssh daemon:

/etc/rc.d/sshd restart

Thanks, Konrad.



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


Re: probe Hardware manually in FreeBSD 6.2

2007-06-16 Thread mrspock
 hi..
 when I try to install freeBSD 6.2 I got this message No disk found !
 Please
 verify that the disk
 controller is being probed properly during boot time

 how can I solve this problem,please..
 ___

Can you give us more information?
What kind of motherboard you have?
What kind of disk(s) you are using?

If you press [scroll lock] and use the arrow keys
you will see the complete inventory of your hardware.



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


Re: beryl/agpgart/i810/Intel 950 GMA

2007-06-15 Thread mrspock

Thank you, guys.

My system has been updated to 6.2-STABLE and now
I can see my /dev/agpgart perfectly.

I think it is important to notice that 6.2-RELEASE does
not handle my video card: 950 GMA.

Thank you Reid,  thanks list.

  Eduardo.


 On 6/14/07, Reid Linnemann [EMAIL PROTECTED] wrote:
 Written by Kevin Downey on 06/14/07 11:32
  On 6/14/07, Reid Linnemann [EMAIL PROTECTED] wrote:
  Written by Eduardo Viruena Silva on 06/13/07 21:07
  
   Hello Guys,
  
   I have an Intel 950 GMA video card,
   built-in in my computer's motherboard.
   My motherboard is D945NT.
  
   I installed FreeBSD-6.2-RELEASE, and cvsupdated
   it to FreeBSD-6.2-RELEASE-p5.
  
   Installed my ports and cvsupdated them.
  
   I found beryl  in /usr/ports/x11-wm, it
   seemed to depend on Xorg-7.2
  
   I successfully upgrade Xorg-6.9 to Xorg-7.2.
   I also compiled beryl, everything seems to be ok.
  
   ..and I have tried to make it work, I give up.
  
   The problem seems to be that X is
   trying to find /dev/agpgart, according
   to my /var/log/Xorg.0.log:
  
   (II) I810(0): VESA VBE OEM Vendor: Intel Corporation
   (II) I810(0): VESA VBE OEM Product: Intel(r) 82945G Chipset Family
   Graphics Controller
   (II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
   (II) I810(0): Integrated Graphics Chipset: Intel(R) 945G
   (--) I810(0): Chipset: 945G
   (--) I810(0): Linear framebuffer at 0x4000
   (--) I810(0): IO registers at addr 0x5010
   (==) I810(0): Write-combining range (0x5010,0x8) was
 already
  clear
   (II) I810(0): 2 display pipes available.
   (II) I810(0): detected 7932 kB stolen memory.
   (EE) GARTInit: Unable to open /dev/agpgart (No such file or
 directory)
   (WW) I810(0): /dev/agpgart is either not available, or no memory is
   available
   for allocation.  Using pre-allocated memory only.
   (--) I810(0): Pre-allocated VideoRAM: 7932 kByte
  
   I have seen beryl working on Gentoo Linux,
   /dev/agpgart is present in an identical system,
   and it seems to me that it is not a problem
   of memory allocation.
  
   so...
  
   What do I have to do to create /dev/agpgart?
  
   My kernel has
  
   device agp
  
   present.
  
   Thank you in advance.
  
Eduardo.
  
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
   [EMAIL PROTECTED]
 
  It looks to me like you don't have working dri/drm. You have to have
  direct rendering working before you can get beryl working. AFAIK, drm
  support for your chipset is not available in 6.1-RELEASE, and the drm
  module is what provides the agpgart device.
 
  sys/dev/drm/drm_pciids.h on 6-STABLE from about February shows this:
 
  #define i915_PCI_IDS \
   {0x8086, 0x3577, 0, Intel i830M GMCH}, \
   {0x8086, 0x2562, 0, Intel i845G GMCH}, \
   {0x8086, 0x3582, 0, Intel i852GM/i855GM GMCH}, \
   {0x8086, 0x2572, 0, Intel i865G GMCH}, \
   {0x8086, 0x2582, 0, Intel i915G}, \
   {0x8086, 0x2592, 0, Intel i915GM}, \
   {0x8086, 0x2772, 0, Intel i945G}, \
   {0x8086, 0x27A2, 0, Intel i945GM}, \
   {0, 0, 0, NULL}
 
  So you have to have the i915 module loaded to use this chipset.
 Though
  the i915 driver was ported for 6.1-RELEASE there was no Makefile
  included, and it never really worked until after 6.2-RELEASE.
  Personally, I'm tracking 6-STABLE and I've had drm working with an
 i845G
since February of this year when anholt MFC'd a load of i915 drm
  changes. See this log for more info:
 
  http://anholt.livejournal.com/34566.html
  in an email on may 19th anholt indicated that there is no working
  support for the 965G
 

 Thanks for the link to anholt's journal. This doesn't affect the 945G,
 though, right?


 Truth is best determined by examination of reality. If your 945G is
 working then I would say it is unaffected.

 --
 i'll unhook my oily pink mini-kimono, you kill him in honolulu --
 www.thelastcitadel.com
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]



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


shell question

2005-04-05 Thread mrspock

Hello FreeBSD gurus!

I address you in hope of enlightment.

Here is the problem:

I have a program that creates a PostScript output
and writes it to its standard output.

This program also writes diagnostic messages to
the standard error output at the same time, in
this case the messages are written in plain text.

I need to concatenate the standard output and
then standard error output in a file, but I need
to convert the standard output into PostScript
before the concatenation.

  program stdin stdout  2 stderr
  cat stdout  out
  a2ps stdout  out

a2ps is in the ports and it converts plain text
into PostScript.

The problem is that I don't want to use the temporary
file that I used above (stdout, stderr, out), I just
want a filter

In a diagram, it can be seen as:

 stdin == program ==  [stdout, a2ps(stderr)]


I have tried:

   cat stdin | program 2 tmp | ( cat  a2ps tmp )

but I still need a temporary file.

Can it be done?
Can you help me and tell me how ?

Thanks in advance.

   -Eduardo.

PS. Please, answer to my e-mail address, I am not
subscribed to the list.


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