struct fileops question

2010-10-20 Thread Fernando Apesteguía
Hi,

I'm trying to understand  some pieces of the FreeBSD kernel.
Having a look at struct fileops in file.h I was wondering why other file related
functions don't have an entry in the vector. I was thinking in mmap, fsync or
sendfile.

Can anyone tell me the reason?

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

2010-10-20 Thread Gary Kline
On Wed, Oct 20, 2010 at 07:26:01AM +0200, Matthias Apitz wrote:
 El día Tuesday, October 19, 2010 a las 07:29:46PM -0700, Gary Kline escribió:
 
  PS:  I really _was_ current on hardware stuff.  Back in the VAX
  780 days :-) 
 
 I booted my first UNIX V7 tape on a PDP-11 around 1982, I think.
 
   matthias
 
 -- 
 Matthias Apitz
 t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
 e g...@unixarea.de - w http://www.unixarea.de/


I taught myself C porting about a dozen utilities from V6 to V7
on the 11/70, summer of '79 :-)  That was soo, way cool.

gary


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.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


rugy-pg and rubygem-pg in ports

2010-10-20 Thread Chad Perrin
Is there any particular reason there are two copies of the PostgreSQL
library for the Ruby programming language in FreeBSD ports?  Do the
ruby-pg and rubygem-pg ports differ in some meaningful way?  The
pkg-descr files for these ports do not give any really substantial clues
to what differences, if any, exist between these two ports aside from the
names.

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


pgp5ndp9cDtjv.pgp
Description: PGP signature


Re: Netbooks BSD

2010-10-20 Thread Uffe Jakobsen



On 20/10/10 04.29, Gary Kline wrote:



$150 is seriously in my price range [!]  But what about the
optical drive?  If I can buy one on sale and install FBSD from a
CD or DVD, do all optivcal drive fit all notebooks?


With a few things that I probably will buy.  An optical, a 16 or
32G SSD ...c.)  So if there is a fire-sale at Costco or
wherever  for an HP 9 or 10  Atom notebook, will I be able
to use another vendor's optical drive?


An optical drive will propably not fit in side a 9 or 10 notebook 
(netbook)...


If you are going for a netbook I'd go for an external USB optical drive 
- all netbooks that I've come across can boot from external usb medias.


Personally I prefer to install stable FreeBSD from USB memory stick. 
Since 8.0 FreeBSD has shipped a memstick disk image that nicely fits 
into a 1G USB memory stick.


See: 
http://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/8.1/FreeBSD-8.1-RELEASE-i386-memstick.img


/Uffe


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


Single user mode: no shell prompt

2010-10-20 Thread Martin Schweizer
Hello

If I start the server in single user mode I get never a prompt/shell (at the 
console). After successfully boot in single user mode I see a the last line:
Trying to mount root from ufs:/dev/mfid0s1a. The only thing I can do is 
CTRL-ALT-DEL, then the system reboots as usual (with no broken file system). 
All works well in multi user mode. I have no other problems with this server. 
Attached you find the /var/run/dmesg.boot. Any ideas are welcome.


Copyright (c) 1992-2010 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 8.1-RELEASE #1: Sun Oct 17 12:46:44 CEST 2010
mar...@firewall.acutronic.ch:/usr/obj/usr/src/sys/GENERIC amd64
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(R) CPU   E5310  @ 1.60GHz (1605.51-MHz K8-class CPU)
  Origin = GenuineIntel  Id = 0x6f7  Family = 6  Model = f  Stepping = 7
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x4e33dSSE3,DTES64,MON,DS_CPL,VMX,TM2,SSSE3,CX16,xTPR,PDCM,DCA
  AMD Features=0x20100800SYSCALL,NX,LM
  AMD Features2=0x1LAHF
  TSC: P-state invariant
real memory  = 4294967296 (4096 MB)
avail memory = 4077580288 (3888 MB)
ACPI APIC Table: INTEL  S5000PAL
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
FreeBSD/SMP: 2 package(s) x 4 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
 cpu4 (AP): APIC ID:  4
 cpu5 (AP): APIC ID:  5
 cpu6 (AP): APIC ID:  6
 cpu7 (AP): APIC ID:  7
ioapic0 Version 2.0 irqs 0-23 on motherboard
ioapic1 Version 2.0 irqs 24-47 on motherboard
lapic0: Forcing LINT1 to edge trigger
kbd1 at kbdmux0
acpi0: INTEL S5000PAL on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
cpu2: ACPI CPU on acpi0
cpu3: ACPI CPU on acpi0
cpu4: ACPI CPU on acpi0
cpu5: ACPI CPU on acpi0
cpu6: ACPI CPU on acpi0
cpu7: ACPI CPU on acpi0
acpi_hpet0: High Precision Event Timer iomem 0xfed0-0xfed003ff on acpi0
Timecounter HPET frequency 14318180 Hz quality 900
ipmi0: IPMI System Interface port 0xca2,0xca3 on acpi0
ipmi0: KCS mode found at io 0xca2 on acpi
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xca2,0xca3,0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pcib1: ACPI PCI-PCI bridge at device 2.0 on pci0
pci1: ACPI PCI bus on pcib1
pcib2: ACPI PCI-PCI bridge irq 16 at device 0.0 on pci1
pci2: ACPI PCI bus on pcib2
pcib3: ACPI PCI-PCI bridge irq 16 at device 0.0 on pci2
pci3: ACPI PCI bus on pcib3
pcib4: ACPI PCI-PCI bridge irq 16 at device 1.0 on pci2
pci4: ACPI PCI bus on pcib4
pcib5: ACPI PCI-PCI bridge irq 16 at device 2.0 on pci2
pci5: ACPI PCI bus on pcib5
em0: Intel(R) PRO/1000 Network Connection 7.0.5 port 0x3020-0x303f mem 
0xb882-0xb883,0xb840-0xb87f irq 18 at device 0.0 on pci5
em0: Using MSI interrupt
em0: [FILTER]
em0: Ethernet address: 00:04:23:d9:9a:42
em1: Intel(R) PRO/1000 Network Connection 7.0.5 port 0x3000-0x301f mem 
0xb880-0xb881,0xb800-0xb83f irq 19 at device 0.1 on pci5
em1: Using MSI interrupt
em1: [FILTER]
em1: Ethernet address: 00:04:23:d9:9a:43
pcib6: ACPI PCI-PCI bridge at device 0.3 on pci1
pci6: ACPI PCI bus on pcib6
pcib7: PCI-PCI bridge at device 3.0 on pci0
pci7: PCI bus on pcib7
pcib8: ACPI PCI-PCI bridge at device 4.0 on pci0
pci8: ACPI PCI bus on pcib8
pcib9: ACPI PCI-PCI bridge at device 5.0 on pci0
pci9: ACPI PCI bus on pcib9
pcib10: ACPI PCI-PCI bridge at device 6.0 on pci0
pci10: ACPI PCI bus on pcib10
mfi0: LSI MegaSAS 1078 port 0x2000-0x20ff mem 
0xb8b0-0xb8b3,0xb8b4-0xb8b7 irq 16 at device 0.0 on pci10
mfi0: Megaraid SAS driver Ver 3.00 
mfi0: 45159 (340875603s/0x0020/info) - Shutdown command received from host
mfi0: 45160 (boot + 3s/0x0020/info) - Firmware initialization started (PCI ID 
0060/1000/100a/8086)
mfi0: 45161 (boot + 3s/0x0020/info) - Firmware version 1.12.172-0470
mfi0: 45162 (boot + 4s/0x0008/info) - Battery started charging
mfi0: 45163 (boot + 4s/0x0008/info) - Battery temperature is normal
mfi0: 45164 (boot + 4s/0x0008/WARN) - Battery requires reconditioning; please 
initiate a LEARN cycle
mfi0: 45165 (boot + 4s/0x0008/info) - Battery Present
mfi0: 45166 (boot + 4s/0x0020/info) - Board Revision 
mfi0: 45167 (boot + 15s/0x0002/info) - Unexpected sense: PD 113(e0x00/s19) Path 
500600b0007ffe20 , CDB: 12 01 83 00 60 00, Sense: 70 00 05 00 00 00 00 1d 00 
00 00 00 
mfi0: 45168 (boot + 15s/0x0004/info) - Enclosure (SES) discovered on PD 0b(c 
None/p1)
mfi0: 45169 (boot + 15s/0x0002/info) - Inserted: Encl PD 0b
mfi0: 45170 (boot + 15s/0x0002/info) - Inserted: PD 0b(c None/p1) Info: 

Greybeards (Re: Netbooks BSD)

2010-10-20 Thread perryh
Matthias Apitz g...@unixarea.de wrote:
 El d?a Tuesday, October 19, 2010 a las 07:29:46PM -0700, Gary Kline escribi?:
  PS:  I really _was_ current on hardware stuff.  Back in the VAX
  780 days :-) 
 I booted my first UNIX V7 tape on a PDP-11 around 1982, I think.

Gotcha beat :)  UNIX V6, PDP-11/34, RK05 disk cartridge, 1975.
The whole runtime fit on one RK05.  The sources took a second one.
___
freebsd-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: Greybeards (Re: Netbooks BSD)

2010-10-20 Thread Svein Skogen (Listmail account)
On 20.10.2010 09:47, per...@pluto.rain.com wrote:
 Matthias Apitz g...@unixarea.de wrote:
 El d?a Tuesday, October 19, 2010 a las 07:29:46PM -0700, Gary Kline escribi?:
 PS:  I really _was_ current on hardware stuff.  Back in the VAX
 780 days :-) 
 I booted my first UNIX V7 tape on a PDP-11 around 1982, I think.
 
 Gotcha beat :)  UNIX V6, PDP-11/34, RK05 disk cartridge, 1975.
 The whole runtime fit on one RK05.  The sources took a second one.

I guess I'm just a kid, then, since I wasn't exposed to computers until
6 years later (my excuse was being born in 1975). CP/M-80 and MP/M-80
with intel asm, was where I started my hairpulling... Anybody else got
nightmares about 8 inch floppies? ;)

//Svein

-- 
+---+---
  /\   |Svein Skogen   | sv...@d80.iso100.no
  \ /   |Solberg Østli 9| PGP Key:  0xE5E76831
   X|2020 Skedsmokorset | sv...@jernhuset.no
  / \   |Norway | PGP Key:  0xCE96CE13
|   | sv...@stillbilde.net
 ascii  |   | PGP Key:  0x58CD33B6
 ribbon |System Admin   | svein-listm...@stillbilde.net
Campaign|stillbilde.net | PGP Key:  0x22D494A4
+---+---
|msn messenger: | Mobile Phone: +47 907 03 575
|sv...@jernhuset.no | RIPE handle:SS16503-RIPE
+---+---
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?

 Picture Gallery:
  https://gallery.stillbilde.net/v/svein/




signature.asc
Description: OpenPGP digital signature


Re: download cvsup?

2010-10-20 Thread Dick Hoogendijk
Are the forwarders in your named.conf file OK?
___
freebsd-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: filter a binary file and reduce 0x150a to 0x15

2010-10-20 Thread andrew clarke
On Tue 2010-10-19 21:21:00 UTC-0400, Karl Vogel (vogelke+u...@pobox.com) wrote:

me% perl -0pe 's/\025\n/\025/g;'  blah | od -c

Nitpicking a little, but Perl isn't part of the FreeBSD base any more.
Most FreeBSD users probably have it installed, though (perhaps as a
dependency)...
___
freebsd-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: download cvsup?

2010-10-20 Thread Michael Powell
Dick Hoogendijk wrote:

 Are the forwarders in your named.conf file OK?

That was the next thing I was about to suggest. His FIOS router should be 
running DNS itself by default, with it pointing to Verizon's name servers. 
So he could try using 192.168.1.1 in his named.conf forwarders directive. 
This would just recurse out to Verizon's name servers and should get a basic 
external resolution going, provided he has not altered the default router 
setup.

Example from mine: (don't just cut and paste but adjust as required)

options {
directory   /etc/namedb;
pid-file/var/run/named/pid;
dump-file   /var/dump/named_dump.db;
statistics-file /var/stats/named.stats;

listen-on   { 127.0.0.1; 192.168.10.1; };

allow-recursion {127.0.0.1; 192.168.10.0/24;};

// If you've got a DNS server around at your upstream provider, enter
// its IP address here, and enable the line below.  This will make you
// benefit from its cache, thus reduce overall DNS traffic in the Internet.

forwarders {
 208.67.222.222; 208.67.220.220; 192.168.1.1;
};


//  query-source address * port 53;
};

---/ Below are snipped out zone file directives for my local stuff  /---

The first two IP addresses in my forwarders clause are for OpenDNS. You 
could delete them so as to only have 192.168.1.1 and your FreeBSD's DNS 
server will then forward requests to your FIOS router which will then 
request from Verizon. Use of the listen-on and allow-recursion is not 
necessary, but if you decide to utilize make sure they reflect values which 
apply to your situation. Do rndc reload or reboot to take effect.

I think he has some other issues pending as well, but one thing at a time.  
:-)

-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: need help with php.

2010-10-20 Thread Odhiambo Washington
On Wed, Oct 20, 2010 at 5:34 AM, Alejandro Imass a...@p2ee.org wrote:

 On Mon, Oct 18, 2010 at 11:31 PM, Gary Kline kl...@thought.org wrote:
 
  Ok, I've done everything I can think of and still my php5 fails.
  Several pages use a php counter [[that I wrote years ago.  That is
  the main thing that is busted.  Anybody up to helping me with this
  one?
 

 Did you happen to upgrade to 5.3? It breaks a lot of code that used to
 run finr in 5.2. If you did upgrade, try downgrading to 5.2, it will
 we a pain though, use portmaster if possible IMO.


Downgrading from 5.3 to 5.2 wasn't quite a pain, unless I missed something.

1. pkg_delete -f php5-\*
2. rm -rf /usr/local/lib/php/*
3. cp /dev/null /usr/local/etc/php/extensions.ini
4. cd /usr/ports/lang/php52  make config  make install clean
5. cd /usr/ports/lang/php52-extensions
6. pkgdb -F
7. apachectl configtest
8. /usr/local/etc/rc.d/apache22 stop  /usr/local/etc/rc.d/apache22 start
9. less /var/log/httpd-error.log - check for any clues that apache might be
affected.
10. ps ax | grep httpd



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!
___
freebsd-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: Greybeards (Re: Netbooks BSD)

2010-10-20 Thread Arthur Chance

On 10/20/10 09:32, Svein Skogen (Listmail account) wrote:

On 20.10.2010 09:47, per...@pluto.rain.com wrote:

Matthias Apitzg...@unixarea.de  wrote:

El d?a Tuesday, October 19, 2010 a las 07:29:46PM -0700, Gary Kline escribi?:

PS:  I really _was_ current on hardware stuff.  Back in the VAX
780 days :-)

I booted my first UNIX V7 tape on a PDP-11 around 1982, I think.


Gotcha beat :)  UNIX V6, PDP-11/34, RK05 disk cartridge, 1975.
The whole runtime fit on one RK05.  The sources took a second one.


I guess I'm just a kid, then, since I wasn't exposed to computers until
6 years later (my excuse was being born in 1975). CP/M-80 and MP/M-80
with intel asm, was where I started my hairpulling... Anybody else got
nightmares about 8 inch floppies? ;)

//Svein



Hard or soft sectored?

--
Although the wombat is real and the dragon is not, few know what a
wombat looks like, but everyone knows what a dragon looks like.

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


dd to clone disks - new disk fails to boot.

2010-10-20 Thread Modulok
Problem: I copied from an old hard drive to a new one via FreeBSD's
dd. The new drive won't boot. The old drive worked fine. (The new
drive is known-to-work.)

Background: I have a system with a 160GB disk in it. It runs windows.
It works. I have a blank 250GB disk. I want to copy the entire 160GB
disk onto the 250GB disk, shuffle the SATA cables and boot to it.
Basically, I'm just replacing the small hard drive with a larger one.
I would then extend the partition using something like gpartd.

I booted to a live FreeBSD disk and used dd like so:

dd if=/dev/ad4 of=/dev/ad8 bs=1m

About an hour later it finished. No errors. I turned the machine off,
unplugged the small disk and connected the big disk into the primary
SATA header. The BIOS chokes on the new disk. It refuses to boot from
it and instead reports 'disk error'. This is bogus because the new big
disk is physically known-to-work. In theory it should be an exact copy
of all of the data that was on the old, small disk. I thought a dd
from one disk to another would be all that was needed. I've done this
before, but only with near identical hard drive models and it worked.
What gives? Is there some kind of partition (aka 'slice' in FreeBSD
terms) table or CHS/LBA black magic going on?

Any ideas? Thanks.
-Modulok-
___
freebsd-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: Greybeards (Re: Netbooks BSD)

2010-10-20 Thread Mike Jeays
On October 20, 2010 03:47:38 am per...@pluto.rain.com wrote:
 Matthias Apitz g...@unixarea.de wrote:
  El d?a Tuesday, October 19, 2010 a las 07:29:46PM -0700, Gary Kline 
escribi?:
 PS:  I really _was_ current on hardware stuff.  Back in the VAX
 780 days :-)
  
  I booted my first UNIX V7 tape on a PDP-11 around 1982, I think.
 
 Gotcha beat :)  UNIX V6, PDP-11/34, RK05 disk cartridge, 1975.
 The whole runtime fit on one RK05.  The sources took a second one.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

Machine code on an English Electric DEUCE, here, in 1965. Everything since has 
seemed easy. See my web post if you want more details.
-- 
http://www.jeays.ca

___
freebsd-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: Greybeards (Re: Netbooks BSD)

2010-10-20 Thread Jerry Dunham
On 20 Oct 2010 at 10:32, Svein Skogen (Listmail account) wrote:

 On 20.10.2010 09:47, per...@pluto.rain.com wrote:
  Matthias Apitz g...@unixarea.de wrote:
  El d?a Tuesday, October 19, 2010 a las 07:29:46PM -0700, Gary Kline 
  escribi?:
PS:  I really _was_ current on hardware stuff.  Back in the VAX
780 days :-) 
  I booted my first UNIX V7 tape on a PDP-11 around 1982, I think.
  
  Gotcha beat :)  UNIX V6, PDP-11/34, RK05 disk cartridge, 1975.
  The whole runtime fit on one RK05.  The sources took a second one.
 
 I guess I'm just a kid, then, since I wasn't exposed to computers until
 6 years later (my excuse was being born in 1975). CP/M-80 and MP/M-80
 with intel asm, was where I started my hairpulling... Anybody else got
 nightmares about 8 inch floppies? ;)

Well, I used to design 8-inch floppy drives.  Fortunately, the nightmares have 
subsided and 
I'm just left with this twitch ... this twitch ... this twitch ...



--
Jerry Dunham
Moderater, Texas Great Dane Rescue
jdun...@texas.net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dd to clone disks - new disk fails to boot.

2010-10-20 Thread Warren Block

On Wed, 20 Oct 2010, Modulok wrote:


Problem: I copied from an old hard drive to a new one via FreeBSD's
dd. The new drive won't boot. The old drive worked fine. (The new
drive is known-to-work.)

Background: I have a system with a 160GB disk in it. It runs windows.
It works. I have a blank 250GB disk. I want to copy the entire 160GB
disk onto the 250GB disk, shuffle the SATA cables and boot to it.
Basically, I'm just replacing the small hard drive with a larger one.
I would then extend the partition using something like gpartd.

I booted to a live FreeBSD disk and used dd like so:

   dd if=/dev/ad4 of=/dev/ad8 bs=1m

About an hour later it finished. No errors. I turned the machine off,
unplugged the small disk and connected the big disk into the primary
SATA header. The BIOS chokes on the new disk. It refuses to boot from
it and instead reports 'disk error'.


If the BIOS is complaining, see if the new drive has a SATA 150 jumper, 
or some other compatibility mode.

___
freebsd-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: PHP version dependency problems, was need help with php.

2010-10-20 Thread Gary Kline
On Wed, Oct 20, 2010 at 12:31:01AM -, John Levine wrote:
  compiled correctly.  Then, still nothing.  Typing php at a
  root prompt outputs these warnings.  What's strange is that I
  _thought_ I had mysql set up correctly.  
 
 PHP has a bunch of version dependencies on other ports that the guy
 who maintains the PHP port refuses to fix or even to document.  I sent
 in two fixes for a pcre dependency, one of which was a one-line change
 to the makefile to use the bundled pcre, the other of which was a
 different one-line change to note the version depenency on the
 separate pcre port.  He rejected them both, insisting that everyone
 always keeps all their ports current.  That's absurd, but there's not
 much to be done.
 
 The failures were odd PHP bugs in packages like mediawiki that used
 to work just fine.
 
 So if you've built PHP on a system that's not freshly installed, I'd
 suggest one of these to bring all the ports on which it depends up to
 date.
 
 # portupgrade -R php\*
 # portmaster php\*
 
 R's,
 John


Still stumped.  I upgraded via portmaster; I installed the
test.php.  The APACHE  flag is on in the lang/php5 Makefile.
Nada.  I just rebuilt the suite with the DEBUG ON; how is this
supposed to help?

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.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: Greybeards (Re: Netbooks BSD)

2010-10-20 Thread Kevin Oberman
 Date: Wed, 20 Oct 2010 00:47:38 -0700
 From: per...@pluto.rain.com
 Sender: owner-freebsd-mob...@freebsd.org
 
 Matthias Apitz g...@unixarea.de wrote:
  El d?a Tuesday, October 19, 2010 a las 07:29:46PM -0700, Gary Kline 
  escribi?:
 PS:  I really _was_ current on hardware stuff.  Back in the VAX
 780 days :-) 
  I booted my first UNIX V7 tape on a PDP-11 around 1982, I think.
 
 Gotcha beat :)  UNIX V6, PDP-11/34, RK05 disk cartridge, 1975.
 The whole runtime fit on one RK05.  The sources took a second one.

UNIX V6 on a PDP-11/40, 2xRK05 disk, 1975, but it was before the 11/34
came out, so I think I have you beat by a few weeks, at least. 

That said, my project moved away from Unix to DEC's RSX11-D and later
IAS, so I had little contact with Unix until about 1980 on a VAX11/750
at the UC-Davis Dept. of Applied Science running BSD 4.1(?).
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: ober...@es.net  Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
___
freebsd-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: Greybeards (Re: Netbooks BSD)

2010-10-20 Thread Gary Kline
On Wed, Oct 20, 2010 at 12:47:38AM -0700, per...@pluto.rain.com wrote:
 Matthias Apitz g...@unixarea.de wrote:
  El d?a Tuesday, October 19, 2010 a las 07:29:46PM -0700, Gary Kline 
  escribi?:
 PS:  I really _was_ current on hardware stuff.  Back in the VAX
 780 days :-) 
  I booted my first UNIX V7 tape on a PDP-11 around 1982, I think.
 
 Gotcha beat :)  UNIX V6, PDP-11/34, RK05 disk cartridge, 1975.
 The whole runtime fit on one RK05.  The sources took a second one.


I remember the 11/34 fondly.  The whole EE department at Cory
Hall was running one one; then when I interned at Livermore my
job of porting the Portable F77 Compiler was done with vi and
the source code that Stu Feldman wrote.  I love[d] those bloody 
old computers, :-)  Dunno why.   Maybe because they really 
*were* about computing.  Not streaming [[whatever]] or having 
php running.  (Blah^9^9^9)

:)



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.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: Greybeards (Re: Netbooks BSD)

2010-10-20 Thread Gary Kline
On Wed, Oct 20, 2010 at 10:32:58AM +0200, Svein Skogen (Listmail account) wrote:
 On 20.10.2010 09:47, per...@pluto.rain.com wrote:
  Matthias Apitz g...@unixarea.de wrote:
  El d?a Tuesday, October 19, 2010 a las 07:29:46PM -0700, Gary Kline 
  escribi?:
PS:  I really _was_ current on hardware stuff.  Back in the VAX
780 days :-) 
  I booted my first UNIX V7 tape on a PDP-11 around 1982, I think.
  
  Gotcha beat :)  UNIX V6, PDP-11/34, RK05 disk cartridge, 1975.
  The whole runtime fit on one RK05.  The sources took a second one.
 
 I guess I'm just a kid, then, since I wasn't exposed to computers until
 6 years later (my excuse was being born in 1975). CP/M-80 and MP/M-80
 with intel asm, was where I started my hairpulling... Anybody else got
 nightmares about 8 inch floppies? ;)
 
 //Svein


Ouch!!  My first computer was a CP/M and MP/M (8080-8088) with
two 8 floppies and a HUGE 256K of memory.  ...Bought in 1981. 
Finally junked in 1987.  (What, me cheap?)  Lots of hair pulling
and ---nah, you don't want to hear!

gary


 
 -- 
 +---+---
   /\   |Svein Skogen   | sv...@d80.iso100.no
   \ /   |Solberg Østli 9| PGP Key:  0xE5E76831
X|2020 Skedsmokorset | sv...@jernhuset.no
   / \   |Norway | PGP Key:  0xCE96CE13
 |   | sv...@stillbilde.net
  ascii  |   | PGP Key:  0x58CD33B6
  ribbon |System Admin   | svein-listm...@stillbilde.net
 Campaign|stillbilde.net | PGP Key:  0x22D494A4
 +---+---
 |msn messenger: | Mobile Phone: +47 907 03 575
 |sv...@jernhuset.no | RIPE handle:SS16503-RIPE
 +---+---
 A: Because it fouls the order in which people normally read text.
 Q: Why is top-posting such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing on usenet and in e-mail?
 
  Picture Gallery:
   https://gallery.stillbilde.net/v/svein/
 
 



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.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: Greybeards (Re: Netbooks BSD)

2010-10-20 Thread Tim Daneliuk
On 10/20/2010 11:55 AM, Gary Kline wrote:
 On Wed, Oct 20, 2010 at 12:47:38AM -0700, per...@pluto.rain.com wrote:
 Matthias Apitz g...@unixarea.de wrote:
 El d?a Tuesday, October 19, 2010 a las 07:29:46PM -0700, Gary Kline 
 escribi?:
PS:  I really _was_ current on hardware stuff.  Back in the VAX
780 days :-) 
 I booted my first UNIX V7 tape on a PDP-11 around 1982, I think.

 Gotcha beat :)  UNIX V6, PDP-11/34, RK05 disk cartridge, 1975.
 The whole runtime fit on one RK05.  The sources took a second one.
 
 
   I remember the 11/34 fondly.  The whole EE department at Cory
   Hall was running one one; then when I interned at Livermore my
   job of porting the Portable F77 Compiler was done with vi and
   the source code that Stu Feldman wrote.  I love[d] those bloody 
   old computers, :-)  Dunno why.   Maybe because they really 
   *were* about computing.  Not streaming [[whatever]] or having 
   php running.  (Blah^9^9^9)
 
   :)
 
 
 

Heck, when I started out, they didn't even have zeros and ones yet.
We had to settle for os and ls ...


-- 

Tim Daneliuk
tun...@tundraware.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: Netbooks BSD

2010-10-20 Thread Gary Kline
On Wed, Oct 20, 2010 at 08:26:14AM +0200, Uffe Jakobsen wrote:
 
 
 On 20/10/10 04.29, Gary Kline wrote:
 
 
  $150 is seriously in my price range [!]  But what about the
  optical drive?  If I can buy one on sale and install FBSD from a
  CD or DVD, do all optivcal drive fit all notebooks?
 
 
  With a few things that I probably will buy.  An optical, a 16 or
  32G SSD ...c.)  So if there is a fire-sale at Costco or
  wherever  for an HP 9 or 10  Atom notebook, will I be able
  to use another vendor's optical drive?
 
 An optical drive will propably not fit in side a 9 or 10 notebook
 (netbook)...
 
 If you are going for a netbook I'd go for an external USB optical
 drive - all netbooks that I've come across can boot from external
 usb medias.
 
 Personally I prefer to install stable FreeBSD from USB memory stick.
 Since 8.0 FreeBSD has shipped a memstick disk image that nicely
 fits into a 1G USB memory stick.
 
 See: 
 http://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/8.1/FreeBSD-8.1-RELEASE-i386-memstick.img
 
 /Uffe


Sure, the optical uses [I think] a USB connector.  Pretty sure
that all these tiny toys are made at one factory! and then
labeled by the vendor.  If all the opticals are essentially 
the same, then great.  --Re memory sticks, I have never used
them.  It is probably as-simple as using a CDROM or DVD; I'll ck
out the URL.  

gary




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

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.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: need help with php.

2010-10-20 Thread Gary Kline
On Wed, Oct 20, 2010 at 12:42:36PM +0300, Odhiambo Washington wrote:
 On Wed, Oct 20, 2010 at 5:34 AM, Alejandro Imass a...@p2ee.org wrote:
 
  On Mon, Oct 18, 2010 at 11:31 PM, Gary Kline kl...@thought.org wrote:
  
   Ok, I've done everything I can think of and still my php5 fails.
   Several pages use a php counter [[that I wrote years ago.  That is
   the main thing that is busted.  Anybody up to helping me with this
   one?
  
 
  Did you happen to upgrade to 5.3? It breaks a lot of code that used to
  run finr in 5.2. If you did upgrade, try downgrading to 5.2, it will
  we a pain though, use portmaster if possible IMO.
 
 
 Downgrading from 5.3 to 5.2 wasn't quite a pain, unless I missed something.
 
 1. pkg_delete -f php5-\*
 2. rm -rf /usr/local/lib/php/*
 3. cp /dev/null /usr/local/etc/php/extensions.ini
 4. cd /usr/ports/lang/php52  make config  make install clean
 5. cd /usr/ports/lang/php52-extensions
 6. pkgdb -F
 7. apachectl configtest
 8. /usr/local/etc/rc.d/apache22 stop  /usr/local/etc/rc.d/apache22 start
 9. less /var/log/httpd-error.log - check for any clues that apache might be
 affected.
 10. ps ax | grep httpd
 


I just noted a [warn] I hadn't caught before:  anybody know why
the CommonName != the server name?

::


[Wed Oct 20 08:01:56 2010] [notice] caught SIGTERM, shutting down
[Wed Oct 20 08:01:59 2010] [warn] RSA server certificate CommonName
(CN) `Gary Kline' does NOT match server name!?
[Wed Oct 20 08:02:00 2010] [warn] RSA server certificate CommonName
(CN) `Gary Kline' does NOT match server name!?
[Wed Oct 20 08:02:00 2010] [notice] Digest: generating secret for
digest authentication ...
[Wed Oct 20 08:02:00 2010] [notice] Digest: done
[Wed Oct 20 08:02:01 2010] [notice] Apache/2.2.16 (FreeBSD)
mod_ssl/2.2.16 OpenSSL/0.9.8e DAV/2 PHP/5.3.3 with Suhosin-Patch
configured -- resuming normal operations


Anyway, thanks, Wash, for your cookbook backup commands.  ((See,
***this*** is why I am not among the early adopters; it's why 
I'm still at 7.3, etc, etc.  ))

Anyway, I'll try backing up and trying again,

gary

PS: just a minor FWIW: after a final try at this a 00.33:08 hours
locattime, I switched off the display and went-to-bed.  Which
is to say that while I may be or am a fool, I'm not a 
*damned*-fool..

(*mumble*)



 
 
 -- 
 Best regards,
 Odhiambo WASHINGTON,
 Nairobi,KE
 +254733744121/+254722743223
 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 Damn!!

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.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: need help with php.

2010-10-20 Thread Ryan Coleman
That's if someone messed up the original CSR, IMO, or didn't get the ServerName 
directive just right.

On Oct 20, 2010, at 12:49 PM, Gary Kline wrote:
   I just noted a [warn] I hadn't caught before:  anybody know why
   the CommonName != the server name?
 
   ::
 
 
 [Wed Oct 20 08:01:56 2010] [notice] caught SIGTERM, shutting down
 [Wed Oct 20 08:01:59 2010] [warn] RSA server certificate CommonName
 (CN) `Gary Kline' does NOT match server name!?
 [Wed Oct 20 08:02:00 2010] [warn] RSA server certificate CommonName
 (CN) `Gary Kline' does NOT match server name!?
 [Wed Oct 20 08:02:00 2010] [notice] Digest: generating secret for
 digest authentication ...
 [Wed Oct 20 08:02:00 2010] [notice] Digest: done
 [Wed Oct 20 08:02:01 2010] [notice] Apache/2.2.16 (FreeBSD)
 mod_ssl/2.2.16 OpenSSL/0.9.8e DAV/2 PHP/5.3.3 with Suhosin-Patch
 configured -- resuming normal operations
 
 
   Anyway, thanks, Wash, for your cookbook backup commands.  ((See,
   ***this*** is why I am not among the early adopters; it's why 
   I'm still at 7.3, etc, etc.  ))
 
   Anyway, I'll try backing up and trying again,
 
   gary
 
   PS: just a minor FWIW: after a final try at this a 00.33:08 hours
   locattime, I switched off the display and went-to-bed.  Which
   is to say that while I may be or am a fool, I'm not a 
   *damned*-fool..
 
   (*mumble*)
 
 
 
 
 
 -- 
 Best regards,
 Odhiambo WASHINGTON,
 Nairobi,KE
 +254733744121/+254722743223
 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
 Damn!!
 
 -- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.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: Netbooks BSD

2010-10-20 Thread David Brodbeck
On Wed, Oct 20, 2010 at 10:32 AM, Gary Kline kl...@thought.org wrote:
        Sure, the optical uses [I think] a USB connector.  Pretty sure
        that all these tiny toys are made at one factory! and then
        labeled by the vendor.  If all the opticals are essentially
        the same, then great.

I think they all pretty much follow the same standard. I've even had
success using an IDE CD-ROM drive plugged into a USB-to-IDE adapter
cable, before.
___
freebsd-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: Greybeards (Re: Netbooks BSD)

2010-10-20 Thread Bob Hall
On Wed, Oct 20, 2010 at 12:07:55PM -0500, Tim Daneliuk wrote:
 On 10/20/2010 11:55 AM, Gary Kline wrote:
  On Wed, Oct 20, 2010 at 12:47:38AM -0700, per...@pluto.rain.com wrote:
  Matthias Apitz g...@unixarea.de wrote:
  El d?a Tuesday, October 19, 2010 a las 07:29:46PM -0700, Gary Kline 
  escribi?:
   PS:  I really _was_ current on hardware stuff.  Back in the VAX
   780 days :-) 
  I booted my first UNIX V7 tape on a PDP-11 around 1982, I think.
 
  Gotcha beat :)  UNIX V6, PDP-11/34, RK05 disk cartridge, 1975.
  The whole runtime fit on one RK05.  The sources took a second one.
 
  I remember the 11/34 fondly.  The whole EE department at Cory
  Hall was running one one; then when I interned at Livermore my
  job of porting the Portable F77 Compiler was done with vi and
  the source code that Stu Feldman wrote.  I love[d] those bloody 
  old computers, :-)  Dunno why.   Maybe because they really 
  *were* about computing.  Not streaming [[whatever]] or having 
  php running.  (Blah^9^9^9)
  
  :)
 
 Heck, when I started out, they didn't even have zeros and ones yet.
 We had to settle for os and ls ...

When I started out, we didn't have read/write heads for the hard disks.
We had to copy the data from the screen to the disk by hand using
magnetized sewing needles. In order to read the damn things we had to
pass a compass over the disk and see where the needle deflected.
___
freebsd-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: need help with php.

2010-10-20 Thread Gary Kline
On Wed, Oct 20, 2010 at 01:14:27PM -0500, Ryan Coleman wrote:
 That's if someone messed up the original CSR, IMO, or didn't get the 
 ServerName directive just right.
 


--I don't know what the snag is, but even 5.2 fails.  php execs;
it just doesn't do anything.  I built the test.php with

? phpinfo(); ?

and zip.  Scrreen is blank.  Let me try konqueror; maybe I don't
have something turned on it firfox3.

gary




 On Oct 20, 2010, at 12:49 PM, Gary Kline wrote:
  I just noted a [warn] I hadn't caught before:  anybody know why
  the CommonName != the server name?
  
  ::
  
  
  [Wed Oct 20 08:01:56 2010] [notice] caught SIGTERM, shutting down
  [Wed Oct 20 08:01:59 2010] [warn] RSA server certificate CommonName
  (CN) `Gary Kline' does NOT match server name!?
  [Wed Oct 20 08:02:00 2010] [warn] RSA server certificate CommonName
  (CN) `Gary Kline' does NOT match server name!?
  [Wed Oct 20 08:02:00 2010] [notice] Digest: generating secret for
  digest authentication ...
  [Wed Oct 20 08:02:00 2010] [notice] Digest: done
  [Wed Oct 20 08:02:01 2010] [notice] Apache/2.2.16 (FreeBSD)
  mod_ssl/2.2.16 OpenSSL/0.9.8e DAV/2 PHP/5.3.3 with Suhosin-Patch
  configured -- resuming normal operations
  
  
  Anyway, thanks, Wash, for your cookbook backup commands.  ((See,
  ***this*** is why I am not among the early adopters; it's why 
  I'm still at 7.3, etc, etc.  ))
  
  Anyway, I'll try backing up and trying again,
  
  gary
  
  PS: just a minor FWIW: after a final try at this a 00.33:08 hours
  locattime, I switched off the display and went-to-bed.  Which
  is to say that while I may be or am a fool, I'm not a 
  *damned*-fool..
  
  (*mumble*)
  
  
  
  
  
  -- 
  Best regards,
  Odhiambo WASHINGTON,
  Nairobi,KE
  +254733744121/+254722743223
  _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  Damn!!
  
  -- 
  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
 The 7.90a release of Jottings: http://jottings.thought.org/index.php
http://journey.thought.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
 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.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: Greybeards (Re: Netbooks BSD)

2010-10-20 Thread Mike Jeays
On October 20, 2010 03:46:06 pm Bob Hall wrote:
 On Wed, Oct 20, 2010 at 12:07:55PM -0500, Tim Daneliuk wrote:
  On 10/20/2010 11:55 AM, Gary Kline wrote:
   On Wed, Oct 20, 2010 at 12:47:38AM -0700, per...@pluto.rain.com wrote:
   Matthias Apitz g...@unixarea.de wrote:
   El d?a Tuesday, October 19, 2010 a las 07:29:46PM -0700, Gary Kline 
escribi?:
  PS:  I really _was_ current on hardware stuff.  Back in the VAX
  780 days :-)
   
   I booted my first UNIX V7 tape on a PDP-11 around 1982, I think.
   
   Gotcha beat :)  UNIX V6, PDP-11/34, RK05 disk cartridge, 1975.
   The whole runtime fit on one RK05.  The sources took a second one.
   
 I remember the 11/34 fondly.  The whole EE department at Cory
 Hall was running one one; then when I interned at Livermore my
 job of porting the Portable F77 Compiler was done with vi and
 the source code that Stu Feldman wrote.  I love[d] those bloody
 old computers, :-)  Dunno why.   Maybe because they really
 *were* about computing.  Not streaming [[whatever]] or having
 php running.  (Blah^9^9^9)
 
 :)
  
  Heck, when I started out, they didn't even have zeros and ones yet.
  We had to settle for os and ls ...
 
 When I started out, we didn't have read/write heads for the hard disks.
 We had to copy the data from the screen to the disk by hand using
 magnetized sewing needles. In order to read the damn things we had to
 pass a compass over the disk and see where the needle deflected.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-
unsubscr...@freebsd.org

OK, I guess you win! End-of-thread time?


-- 
http://www.jeays.ca
http://www.rotarycpmm.ca
___
freebsd-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: Greybeards (Re: Netbooks BSD)

2010-10-20 Thread Arthur Chance

On 10/20/10 20:46, Bob Hall wrote:

On Wed, Oct 20, 2010 at 12:07:55PM -0500, Tim Daneliuk wrote:

On 10/20/2010 11:55 AM, Gary Kline wrote:

On Wed, Oct 20, 2010 at 12:47:38AM -0700, per...@pluto.rain.com wrote:

Matthias Apitzg...@unixarea.de  wrote:

El d?a Tuesday, October 19, 2010 a las 07:29:46PM -0700, Gary Kline escribi?:

PS:  I really _was_ current on hardware stuff.  Back in the VAX
780 days :-)

I booted my first UNIX V7 tape on a PDP-11 around 1982, I think.


Gotcha beat :)  UNIX V6, PDP-11/34, RK05 disk cartridge, 1975.
The whole runtime fit on one RK05.  The sources took a second one.


I remember the 11/34 fondly.  The whole EE department at Cory
Hall was running one one; then when I interned at Livermore my
job of porting the Portable F77 Compiler was done with vi and
the source code that Stu Feldman wrote.  I love[d] those bloody
old computers, :-)  Dunno why.   Maybe because they really
*were* about computing.  Not streaming [[whatever]] or having
php running.  (Blah^9^9^9)

:)


Heck, when I started out, they didn't even have zeros and ones yet.
We had to settle for os and ls ...


When I started out, we didn't have read/write heads for the hard disks.
We had to copy the data from the screen to the disk by hand using
magnetized sewing needles. In order to read the damn things we had to
pass a compass over the disk and see where the needle deflected.


Enough Monty Python Yorkshiremen claims, already. :-)

Getting back to reality, although I never did it (fortunately), a friend 
of mine who was about a decade older than me (I'm mid/late 50s) had the 
experience of programming microcode on a machine by inserting brass 
slugs for 0s and ferrite slugs for 1s on a pin board. Anyone got any 
idea what that was? He was (UK) military so maybe it wasn't a generally 
known box.


--
Although the wombat is real and the dragon is not, few know what a
wombat looks like, but everyone knows what a dragon looks like.

-- Avram Davidson, _Adventures in Unhistory_
___
freebsd-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: need help with php.

2010-10-20 Thread Brad Mettee

Gary Kline wrote:

On Wed, Oct 20, 2010 at 01:14:27PM -0500, Ryan Coleman wrote:
  

That's if someone messed up the original CSR, IMO, or didn't get the ServerName 
directive just right.





--I don't know what the snag is, but even 5.2 fails.  php execs;
it just doesn't do anything.  I built the test.php with

? phpinfo(); ?

and zip.  Scrreen is blank.  Let me try konqueror; maybe I don't
have something turned on it firfox3.

gary
  

Try using ?php as your beginning tag.

You can also try running php test.php from a shell and see if you get 
anything back.


What does php -v return?


___
freebsd-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: need help with php.

2010-10-20 Thread Alejandro Imass
On Wed, Oct 20, 2010 at 1:49 PM, Gary Kline kl...@thought.org wrote:
 On Wed, Oct 20, 2010 at 12:42:36PM +0300, Odhiambo Washington wrote:
 On Wed, Oct 20, 2010 at 5:34 AM, Alejandro Imass a...@p2ee.org wrote:

        Anyway, thanks, Wash, for your cookbook backup commands.  ((See,
        ***this*** is why I am not among the early adopters; it's why
        I'm still at 7.3, etc, etc.  ))

        Anyway, I'll try backing up and trying again,

        gary

Yeah well, it's not so much the OS's fault here. I've said it before:
the PHP people are crazy and irresponsible with their upgrades. I have
never had these problems with Perl in the entire 5.x lifetime!!!

If you want to avoid future problems I'd drop PHP altogether. I ask
for appologies beforehand if this raises a language flame, but PHP
sucks in so many ways that it would just take me too long to write.
Use Perl.

Best,
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: need help with php.

2010-10-20 Thread Kevin Kinsey

Gary Kline wrote:

On Wed, Oct 20, 2010 at 01:14:27PM -0500, Ryan Coleman wrote:

That's if someone messed up the original CSR, IMO, or didn't get the ServerName 
directive just right.


--I don't know what the snag is, but even 5.2 fails.  php execs;
it just doesn't do anything.  I built the test.php with

? phpinfo(); ?

and zip.  Scrreen is blank.  Let me try konqueror; maybe I don't
have something turned on it firfox3.

gary


Short Tags are (wisely /opinion) deprecated now.

?php phpinfo(); ?

should Just Work(tm).  If not, post back ;-)

HTH,

Kevin Kinsey

P.S.  I do think you might be able to turn them back on via
php.ini ... but it's not recommended.   


___
freebsd-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: need help with php.

2010-10-20 Thread Gary Kline
On Wed, Oct 20, 2010 at 04:16:54PM -0400, Brad Mettee wrote:
 Gary Kline wrote:
 On Wed, Oct 20, 2010 at 01:14:27PM -0500, Ryan Coleman wrote:
 That's if someone messed up the original CSR, IMO, or didn't get the 
 ServerName directive just right.
 
 
 
  --I don't know what the snag is, but even 5.2 fails.  php execs;
  it just doesn't do anything.  I built the test.php with
 
  ? phpinfo(); ?
 
  and zip.  Scrreen is blank.  Let me try konqueror; maybe I don't
  have something turned on it firfox3.
 
  gary
 Try using ?php as your beginning tag.


Yeah, been doing that.  As a CLI guy, that's preferred:)
I'll cutpaste.  You tell me.  [[this is with 5.2... ]]


r...@ethic:/usr/local/www/apache22/data# ?
Invalid null command.
r...@ethic:/usr/local/www/apache22/data# ? echo hi ?
Missing name for redirect.
r...@ethic:/usr/local/www/apache22/data# php ./test.php
? phpinfo(); ?
r...@ethic:/usr/local/www/apache22/data# 


Hm.  php aimed at ./test.php just catenates the file.  Does
that tell you anything?



 
 You can also try running php test.php from a shell and see if you
 get anything back.
 
 What does php -v return?
 

Good one: never thought-of.




r...@ethic:/usr/local/www/apache22/data# php -v
PHP 5.2.14 with Suhosin-Patch 0.9.7 (cli) (built: Oct 20 2010
11:06:21) (DEBUG)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
r...@ethic:/usr/local/www/apache22/data# 


I built this before going to grab some coffee; then added the 
debug, etc.  This still tells me nothing.  You?  Anybody??


gary


 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.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: need help with php.

2010-10-20 Thread Brad Mettee

Gary Kline wrote:

On Wed, Oct 20, 2010 at 04:16:54PM -0400, Brad Mettee wrote:
  

Gary Kline wrote:


On Wed, Oct 20, 2010 at 01:14:27PM -0500, Ryan Coleman wrote:
  

That's if someone messed up the original CSR, IMO, or didn't get the ServerName 
directive just right.



--I don't know what the snag is, but even 5.2 fails.  php execs;
it just doesn't do anything.  I built the test.php with

? phpinfo(); ?

and zip.  Scrreen is blank.  Let me try konqueror; maybe I don't
have something turned on it firfox3.

gary
  

Try using ?php as your beginning tag.




Yeah, been doing that.  As a CLI guy, that's preferred:)
I'll cutpaste.  You tell me.  [[this is with 5.2... ]]


r...@ethic:/usr/local/www/apache22/data# ?
Invalid null command.
r...@ethic:/usr/local/www/apache22/data# ? echo hi ?
Missing name for redirect.
r...@ethic:/usr/local/www/apache22/data# php ./test.php
? phpinfo(); ?
r...@ethic:/usr/local/www/apache22/data# 



Hm.  php aimed at ./test.php just catenates the file.  Does
that tell you anything?
  
It tells us that PHP is working fine, and that nothing is wrong with the 
program itself.


I think it's down to a config problem now. Full tag usage ?php is 
required UNLESS you edit the php.ini. Here's the part you're looking for 
along with the comments:

-
; Allow the ? tag.  Otherwise, only ?php and script tags are recognized.
; NOTE: Using short tags should be avoided when developing applications or
; libraries that are meant for redistribution, or deployment on PHP
; servers which are not under your control, because short tags may not
; be supported on the target server. For portable, redistributable code,
; be sure not to use short tags.
short_open_tag = Off
-

___
freebsd-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: need help with php.

2010-10-20 Thread Indexer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 Try using ?php as your beginning tag.
 
 r...@ethic:/usr/local/www/apache22/data# php ./test.php
 ? phpinfo(); ?
 r...@ethic:/usr/local/www/apache22/data# 
 
 
   Hm.  php aimed at ./test.php just catenates the file.  Does
   that tell you anything?
 


Yes, it tells me that you cant read properly.

you need to make test.php 

?php phpinfo(); ? 

THEN you do your php ./test.php command

here ill make it easy for you

echo ?php phpinfo(); ?  test.php ; php test.php

forexample

[williambr...@mai ~]$ echo ?php phpinfo(); ?  test.php ; php test.php
phpinfo()
PHP Version = 5.3.2
.


most likely the default php config has short tags OFF and it has been this way 
for some time now. It is a good thing because it forces you NOT to be lazy, and 
it avoids issues with other languages that do use ? as their only syntax for 
embedding code (I think asp.net does it)

William Brown

pgp.mit.edu



-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)

iQIcBAEBAgAGBQJMv1W9AAoJEHF16AnLoz6Jlh0P/R71ueWi6ah6dD5lzuB8QX+x
97mHleEojPkFElrsYpH+FF6yAngPFa7AkxV3N7sVUS+o7CiQ+ER9m8KuyVPwaTKR
wsaT64pIyW/85221TFVTCryyU4MhQ1kfDc2Q2MF5gEXDfOe14NPnXT+O+gEBUz/g
WWlUr2m54YiQ3G2FaA0e9gyfaHaGLgda4IOC9zsVqGkuJPzDsKi7EiL9aBGDayE5
GHg+TxbUBvmkp6HrT0Amz0xjX7M8PBXi4kB9Jj1PmNQaHnjmStYMK8FPTeZ+R+RP
7Lp9iutqpI5gVfda8msCqFIvzEt7vJOlep0/ucFENoA6Se+mJNkAh8J+OCFXW7bJ
gpmEmVt5MhoEFevvS54GYaBPEUmK//1Oud36sqSLTAYKeLbLCzwJaMaoJQ/afGvM
gAFInwHWlqjbKfYMEJC0mf9+B2Au7zPiuh12dNiyJfxcqG+w5AfYsf3tqBiUBo+t
p8SmH1SFJnCPykF+QFVi9XnLlN6c+iiF3sP9jbBACGU+yny4VyPGtvpU56m7KJTo
WkKHrBMQH8FeuV2BONFxoz+AGzV0I2qOJ7CigJ9Q/1GI175J6KLx1tou9BF2vrsD
exdyUMJJrxUwZKnUSkpW/pAEQ6Pj5q6RkNKgiB2YzgZ6bpDU8fWrNn8ikh0QitD+
+DtSANLQxce32KZUf+9z
=0oHb
-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


Re: Resin 3.1.9, Apache 2.2.16 and mod_caucho?

2010-10-20 Thread Andy Wodfer
Got mod_caucho.so installed. The makefile only refers to Apache 20 while I am 
running 22. I changed the path in the Makefile to /usr/ports/www/apache22 and 
the compile arg to yes and it installed fine. Will test now.

Cheers,
Andy

---
Mvh/Rgds,
Andreas Wideroe andr...@wideroe.net


Den 14. okt. 2010 kl. 21:20 skrev Andy Wodfer wod...@gmail.com:

 On Thu, Oct 14, 2010 at 7:56 PM, Michael Powell nightre...@hotmail.com 
 wrote:
 Christer Solskogen wrote:
 
 [snip]
   Both Apache (port 80) and Resin3.1 (port 8080) runs fine alone.
  
 
  You probably have that module already installed. It comes with
  www/resin3 according to the Makefile.
 
 
  Don't think so. locate (updated) and find only shows these:
 
  ./tmp/caucho
  ./usr/local/resin3/webapps/resin-doc/WEB-INF/classes/com/caucho
  ./usr/local/resin3/webapps/resin-doc/WEB-INF/xsl/caucho
  ./usr/local/resin3/webapps/resin-doc/examples/amber-basic/WEB-
 INF/classes/com/caucho
 
 
  You might need to have apache[2|22] installed first.
 
 
 
 You do need Apache installed first as apxs is used to build the mod_caucho
 module. Install Apache by the ports system as you normally would. See the
 'Compiling mod_caucho.so' section here:
 
 http://www.caucho.com/resin-3.1/doc/install-apache.xtp
 
 If the configure script doesn't/can't find apxs automagically use the CLI
 switch and provide it with the location. It should be able to find it.
 
 Then config resin.conf and httpd.conf accordingly.
 
 Thanks Mike!
 
 Will try that and report back.
 
 Cheers,
 Andy 
 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Netbooks BSD

2010-10-20 Thread Gary Kline
On Wed, Oct 20, 2010 at 11:32:01AM -0700, David Brodbeck wrote:
 On Wed, Oct 20, 2010 at 10:32 AM, Gary Kline kl...@thought.org wrote:
         Sure, the optical uses [I think] a USB connector.  Pretty sure
         that all these tiny toys are made at one factory! and then
         labeled by the vendor.  If all the opticals are essentially
         the same, then great.
 
 I think they all pretty much follow the same standard. I've even had
 success using an IDE CD-ROM drive plugged into a USB-to-IDE adapter
 cable, before.


That kinda makes me laugh, because isn't the idea of USB to 
have *one* standard plug that fits into one jack?  --Seriously, 
my favorite clicky keyboard is a PS/2 and I have a USB adaptor 
that saved me.

The thing about the memsticks is that on my tower cases, you
have to get down and crawl around and find the jack...  Is there
such a thing as a USB extender cable, say, a meter or two long?  

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.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: Netbooks BSD

2010-10-20 Thread Kevin Oberman
 Date: Wed, 20 Oct 2010 14:15:46 -0700
 From: Gary Kline kl...@thought.org
 Sender: owner-freebsd-mob...@freebsd.org
 
 On Wed, Oct 20, 2010 at 11:32:01AM -0700, David Brodbeck wrote:
  On Wed, Oct 20, 2010 at 10:32 AM, Gary Kline kl...@thought.org wrote:
          Sure, the optical uses [I think] a USB connector.  Pretty sure
          that all these tiny toys are made at one factory! and then
          labeled by the vendor.  If all the opticals are essentially
          the same, then great.
  
  I think they all pretty much follow the same standard. I've even had
  success using an IDE CD-ROM drive plugged into a USB-to-IDE adapter
  cable, before.
 
 
   That kinda makes me laugh, because isn't the idea of USB to 
   have *one* standard plug that fits into one jack?  --Seriously, 
   my favorite clicky keyboard is a PS/2 and I have a USB adaptor 
   that saved me.
 
   The thing about the memsticks is that on my tower cases, you
   have to get down and crawl around and find the jack...  Is there
   such a thing as a USB extender cable, say, a meter or two long?  

Sure. My SmartCard token is plugged into one on my desk. Not knowing
where you are I an only suggest Radio Shack or, if there is one near you,
Frys. You can easily order one on-line for a LARGE number of
vendors. Just remember that the maximum length of 5 meters.

I see prices for brand-name cables at about $8.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: ober...@es.net  Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4  EADA 927D EBB3 987B 3751
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Netbooks BSD

2010-10-20 Thread Lowell Gilbert
Gary Kline kl...@thought.org writes:

 On Wed, Oct 20, 2010 at 11:32:01AM -0700, David Brodbeck wrote:
 On Wed, Oct 20, 2010 at 10:32 AM, Gary Kline kl...@thought.org wrote:
         Sure, the optical uses [I think] a USB connector.  Pretty sure
         that all these tiny toys are made at one factory! and then
         labeled by the vendor.  If all the opticals are essentially
         the same, then great.
 
 I think they all pretty much follow the same standard. I've even had
 success using an IDE CD-ROM drive plugged into a USB-to-IDE adapter
 cable, before.


   That kinda makes me laugh, because isn't the idea of USB to 
   have *one* standard plug that fits into one jack?  --Seriously, 
   my favorite clicky keyboard is a PS/2 and I have a USB adaptor 
   that saved me.

The plug isn't the issue.  Drivers are.

   The thing about the memsticks is that on my tower cases, you
   have to get down and crawl around and find the jack...  Is there
   such a thing as a USB extender cable, say, a meter or two long?  

Yes. Pretty much any place you can buy a USB drive will have them.
Even my local pharmacy carries them.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Netbooks BSD

2010-10-20 Thread David Brodbeck
On Wed, Oct 20, 2010 at 2:42 PM, Lowell Gilbert
freebsd-questions-lo...@be-well.ilk.org wrote:
 The plug isn't the issue.  Drivers are.

Fortunately, USB mass storage devices are highly standardized.  One of
the things they got right.

Now, the USB keyboard protocol...ugh, they really dropped the ball on
that one.  It's standardized, which is good, but it's a polling
interface and tends to occasionally lose events under high CPU load,
which is bad.  Especially if it's a key-up event that gets lost.
___
freebsd-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: Greybeards (Re: Netbooks BSD)

2010-10-20 Thread David Brodbeck
On Wed, Oct 20, 2010 at 1:10 PM, Arthur Chance free...@qeng-ho.org wrote:
 On 10/20/10 20:46, Bob Hall wrote:
 Getting back to reality, although I never did it (fortunately), a friend of
 mine who was about a decade older than me (I'm mid/late 50s) had the
 experience of programming microcode on a machine by inserting brass slugs
 for 0s and ferrite slugs for 1s on a pin board. Anyone got any idea what
 that was? He was (UK) military so maybe it wasn't a generally known box.

Don't know about that one, but some early desktop calculators (and I
think some early computerized phone switching systems) used etched PC
boards as ROM.  The HP 9100 had 32K of ROM on a 16-layer PC board
using this method.
___
freebsd-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: Greybeards (Re: Netbooks BSD)

2010-10-20 Thread Gary Kline
On Wed, Oct 20, 2010 at 09:10:28PM +0100, Arthur Chance wrote:
 On 10/20/10 20:46, Bob Hall wrote:
 On Wed, Oct 20, 2010 at 12:07:55PM -0500, Tim Daneliuk wrote:
 On 10/20/2010 11:55 AM, Gary Kline wrote:
 On Wed, Oct 20, 2010 at 12:47:38AM -0700, per...@pluto.rain.com wrote:
 Matthias Apitzg...@unixarea.de  wrote:
 El d?a Tuesday, October 19, 2010 a las 07:29:46PM -0700, Gary Kline 
 escribi?:
 PS:  I really _was_ current on hardware stuff.  Back in the VAX
 780 days :-)
 I booted my first UNIX V7 tape on a PDP-11 around 1982, I think.
 
 Gotcha beat :)  UNIX V6, PDP-11/34, RK05 disk cartridge, 1975.
 The whole runtime fit on one RK05.  The sources took a second one.
 
I remember the 11/34 fondly.  The whole EE department at Cory
Hall was running one one; then when I interned at Livermore my
job of porting the Portable F77 Compiler was done with vi and
the source code that Stu Feldman wrote.  I love[d] those bloody
old computers, :-)  Dunno why.   Maybe because they really
*were* about computing.  Not streaming [[whatever]] or having
php running.  (Blah^9^9^9)
 
:)
 
 Heck, when I started out, they didn't even have zeros and ones yet.
 We had to settle for os and ls ...
 
 When I started out, we didn't have read/write heads for the hard disks.
 We had to copy the data from the screen to the disk by hand using
 magnetized sewing needles. In order to read the damn things we had to
 pass a compass over the disk and see where the needle deflected.
 
 Enough Monty Python Yorkshiremen claims, already. :-)
 
 Getting back to reality, although I never did it (fortunately), a
 friend of mine who was about a decade older than me (I'm mid/late
 50s) had the experience of programming microcode on a machine by
 inserting brass slugs for 0s and ferrite slugs for 1s on a pin
 board. Anyone got any idea what that was? He was (UK) military so
 maybe it wasn't a generally known box.
 

This microcode programming sounds just vagely familiar; seems like
mid/late-80's or early-90's. Am i right?  --Most uses for
supercomputers are mil/spooks/; that's the only reason the
idea might have floated past me.

Anyway, enjoyed the laughs... .
-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.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: need help with php.

2010-10-20 Thread Gary Kline
On Wed, Oct 20, 2010 at 04:45:17PM -0400, Brad Mettee wrote:
 Gary Kline wrote:
 On Wed, Oct 20, 2010 at 04:16:54PM -0400, Brad Mettee wrote:
 Gary Kline wrote:
 On Wed, Oct 20, 2010 at 01:14:27PM -0500, Ryan Coleman wrote:
 That's if someone messed up the original CSR, IMO, or didn't get the 
 ServerName directive just right.
 
--I don't know what the snag is, but even 5.2 fails.  php execs;
it just doesn't do anything.  I built the test.php with
 
? phpinfo(); ?
 
and zip.  Scrreen is blank.  Let me try konqueror; maybe I don't
have something turned on it firfox3.
 
gary
 Try using ?php as your beginning tag.
 
 
  Yeah, been doing that.  As a CLI guy, that's preferred:)
  I'll cutpaste.  You tell me.  [[this is with 5.2... ]]
 
 
 r...@ethic:/usr/local/www/apache22/data# ?
 Invalid null command.
 r...@ethic:/usr/local/www/apache22/data# ? echo hi ?
 Missing name for redirect.
 r...@ethic:/usr/local/www/apache22/data# php ./test.php
 ? phpinfo(); ?
 r...@ethic:/usr/local/www/apache22/data#
 
 
  Hm.  php aimed at ./test.php just catenates the file.  Does
  that tell you anything?
 It tells us that PHP is working fine, and that nothing is wrong with
 the program itself.
 
 I think it's down to a config problem now. Full tag usage ?php is
 required UNLESS you edit the php.ini. Here's the part you're looking
 for along with the comments:
 -
 ; Allow the ? tag.  Otherwise, only ?php and script tags are recognized.
 ; NOTE: Using short tags should be avoided when developing applications or
 ; libraries that are meant for redistribution, or deployment on PHP
 ; servers which are not under your control, because short tags may not
 ; be supported on the target server. For portable, redistributable code,
 ; be sure not to use short tags.
 short_open_tag = Off
 -
 
What i found about ten minutes ago is just hard to believe.  But
php.ini and the cp I made of it [just because], PHP.ini was/is 
garbaged.  [???-bar]

I di a make extract in the php52 dir and looked into the
work/*/* directory to see what the src build stuff looked like.  
A `locate php.ini' tells me that, at least for FreeBSD, the init
file doesn't go into /usr/local/lib.

I'll copy the distribution init over the garbaged 
/usr/local/etc/php.int and start from there.  

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.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: Netbooks BSD

2010-10-20 Thread Chip Camden
Quoth David Brodbeck on Wednesday, 20 October 2010:

 Now, the USB keyboard protocol...ugh, they really dropped the ball on
 that one.  It's standardized, which is good, but it's a polling
 interface and tends to occasionally lose events under high CPU load,
 which is bad.  Especially if it's a key-up event that gets lost.

Ugh.

The silver lining: that explains a lot of omissions I was beginning to blame on
senility.

-- 
Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F
http://camdensoftware.com | http://chipstips.com| http://chipsquips.com


pgpuBGEdJtprk.pgp
Description: PGP signature


Re: need help with php.

2010-10-20 Thread Gary Kline
On Wed, Oct 20, 2010 at 03:53:47PM -0700, Gary Kline wrote:

[ save the electrons]

WEll guys, methinks things are back after some months of
not-working.  Since Sunday night I've managed to pull thr few
remaining hair out of my head.  That's insignificant.  Thanks for
your help.  

time for a cookie!

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.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: Netbooks BSD

2010-10-20 Thread David Brodbeck
On Wed, Oct 20, 2010 at 4:19 PM, Chip Camden
sterl...@camdensoftware.com wrote:
 Quoth David Brodbeck on Wednesday, 20 October 2010:

 Now, the USB keyboard protocol...ugh, they really dropped the ball on
 that one.  It's standardized, which is good, but it's a polling
 interface and tends to occasionally lose events under high CPU load,
 which is bad.  Especially if it's a key-up event that gets lost.

 Ugh.

 The silver lining: that explains a lot of omissions I was beginning to blame 
 on
 senility.

I first noticed it on an underpowered Linux box, where scrolling an
xterm took basically 100% CPU.  When using a USB keyboard, holding
down ENTER in the xterm would result in an endless stream of ENTERs
because the CPU would become too loaded to register the key being
released.

I don't see it as much now -- my computers are faster -- but I still
see it occasionally.

The IPMI serial-over-LAN console interface seems to have the same
problem in spades.  I have to really limit my typing speed when I'm
controlling a system that way or nearly every other character
disappears.
___
freebsd-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: Greybeards (Re: Netbooks BSD)

2010-10-20 Thread Rich Kulawiec

Unix, v6, on a PDP-11 (although I can't recall which model), circa 1977.
Got away from it for a bit, then landed in the middle of the v6-v7 shift
and the BSD takeover a couple of years later.  Still recall being amazed
by the Fujitsu Eagle (small form factor, large capacity).

And I'm appalled that my phone has more horsepower than a dual-cpu VAX
11/780 with a floating-point accelerator.  That just doesn't seem right.

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


My mail server flagged spam!

2010-10-20 Thread Marwan Sultan

Hello list..
 
  Well! im kinda lost here..
  I have like 8 domains hosted in my server. FreeBSD 7.2R, sendmail, 
openwebmail, spamassassin, milter all installed.
 
  I have few customers complaining that thier emails (the domain they send 
from) to hotmail/yahoo..etc..
  flagged as spam! i have googled and found most of problems about forward, 
reverse DNS.
  for me PTR, reverse DNS matchs the domain name. all the 8 domains matchs 
reverse, PTR.
 
  if I check that domain in mxtoolbox.com
  it complains Warning - Reverse DNS does not match SMTP Banner
  could it be the SMTP banner flagging the mail as spam?
 
  ofcourse the SMTP banner matchs 1 domain out of the 8. which is my server 
main domain.
  SO if anyone sends any email from my server the SMTP banner will show my 
sever name.
  this one should not be a problem isnt?
 
  Now the case become worse! the same customers who are using that domain
  complaining that even if they send to the same domain name x...@domain1.com 
to y...@domain1.com
  same domain to same server.. its flagged as spam too.
 
  No, none of my domains in any black list.
 
  Anyhints please?
 
  Thank you
- Marwan Sultan   
___
freebsd-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: My mail server flagged spam!

2010-10-20 Thread Chuck Swiger
On Oct 20, 2010, at 5:10 PM, Marwan Sultan wrote:
 Hello list..
 
  Well! im kinda lost here..
  I have like 8 domains hosted in my server. FreeBSD 7.2R, sendmail, 
 openwebmail, spamassassin, milter all installed.
 
  I have few customers complaining that thier emails (the domain they send 
 from) to hotmail/yahoo..etc..
  flagged as spam! i have googled and found most of problems about forward, 
 reverse DNS.
  for me PTR, reverse DNS matchs the domain name. all the 8 domains matchs 
 reverse, PTR.

Since you didn't provide an example DSN or even anonymized logs of a bounce, we 
can't guess-- in general you'd discuss a specific bounce message with the 
postmaster of site which bounced it.  As for hotmail.com, they can't even be 
bothered to make postmaster@ work:

  http://www.rfc-ignorant.org/tools/lookup.php?domain=hotmail.com

...which means they're sufficiently broken that you should expect mail failures.

Regards,
-- 
-Chuck

___
freebsd-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: My mail server flagged spam!

2010-10-20 Thread Matthew Seaman
On 21/10/2010 01:10, Marwan Sultan wrote:
   if I check that domain in mxtoolbox.com
   it complains Warning - Reverse DNS does not match SMTP Banner
   could it be the SMTP banner flagging the mail as spam?

This is certainly possible.  It would add spam points on my servers.

The address in question is the one presented by your mail server during
the SMTP dialogue -- the first line it sends in fact.  Something like this:

   EHLO smtp.example.com

By default it will use the hostname of your server, but you can override
that.

It is this address that you have to be really strict about: the address
should resolve to the IP that the server connects via (not necessarily
the IP of the server if there are NAT gateways involved), and a reverse
lookup of that IP should return the name again.

This name used in the EHLO banner doesn't have to be anything to do with
the addresses on the e-mail, except in as far as either side is using
SPF and you have chosen to add that information to the SPF selector(s).
 SPF seems to be going out of favour now, and sensible mail admins
didn't make accept/deny decisions entirely on pass/fail of SPF tests,
but still, for best results with a mail system, you should take care to
get that right.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature