[ports] Need help for port which claims to install but doesn't; package installs ok

2012-05-27 Thread Gary Aitken
First, my apologies for previous posts which hijacked an existing thread.
I thought changing the subject line was ok and had forgotten about in-reply-to.

So my apologies for a repost; I've gotten no replies and am not sure others 
actually
saw / processed it or just ignored because of the bad etiquette.  
As my mother told me, I'll never get to eat with the Queen.
Trying to be a good citizen, not always succeeding...

I'm having trouble installing some ports, notably
  devel/libmowgli 
  multimedia/libdvdcss
Running on a 4 processor amd64 with 16GB
  make -v install 
claims to install, 
but none of the files which should have been installed are actually there.

I've done:

portsnap fetch
portsnap update
pkgdb -F

portupgrade -irRv libmowgli
  ** None has been installed or upgraded.

cd devel/libmowgli
make distclean
make clean
make -v install
  At this point
/usr/local/include/libmowgli
  should exist and contain a bunch of .h files; but the dir doesn't even 
exist
/usr/local/lib
  should contain a number of libmowgli.* files; but there are none

Deinstalling shows the above headers and libs are not there as expected:
pkg_deinstall -v libmowgli-1.0.0
---  Deinstalling 'libmowgli-1.0.0'
Change working directory to /usr/local
Delete file /usr/local/include/libmowgli/mowgli.h
pkg_delete: file '/usr/local/include/libmowgli/mowgli.h' doesn't exist
...
Delete file /usr/local/lib/libmowgli.so
pkg_delete: file '/usr/local/lib/libmowgli.so' doesn't exist
...
Delete directory /usr/local/include/libmowgli
pkg_delete: file '/usr/local/include/libmowgli' doesn't exist
pkg_delete: unable to completely remove directory '/usr/local/include/libmowgli'
Execute '/sbin/ldconfig -R'
pkg_delete: couldn't entirely delete package `libmowgli-1.0.0'
(perhaps the packing list is incorrectly specified?)
[Updating the pkgdb format:bdb_btree in /var/db/pkg ... - 571 packages found 
(-1 +0) (...) done]
---  Listing the results (+:done / -:ignored / *:skipped / !:failed)
+ libmowgli-1.0.0
---  Packages processed: 1 done, 0 ignored, 0 skipped and 0 failed

Assuming everything is clean at this point, doing:

  make distclean
  make clean
  make -v install

still ends up with empty directories.

Portions of the output from make -v install which fails:

===  License check disabled, port has not defined LICENSE
= libmowgli-1.0.0.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
= Attempting to fetch http://distfiles.atheme.org/libmowgli-1.0.0.tar.bz2
libmowgli-1.0.0.tar.bz2   100% of  103 kB  129 kBps
===  Extracting for libmowgli-1.0.0
= SHA256 Checksum OK for libmowgli-1.0.0.tar.bz2.
===  Patching for libmowgli-1.0.0
===   libmowgli-1.0.0 depends on executable: gmake - found
===  Configuring for libmowgli-1.0.0
...
===  Building for libmowgli-1.0.0
...
===  Installing for libmowgli-1.0.0
===   Generating temporary packing list
===  Checking if devel/libmowgli already installed
...
===   Running ldconfig
/sbin/ldconfig -m /usr/local/lib
===   Registering installation for libmowgli-1.0.0

Downloading the tarball and using pkg_add works, at least for libmowgli.
However, there is no package for libdvdcss for amd64 at ftp.freebsd.org,
so I need this to work.

Any hints on what might be wrong, or how to get some expanded output 
from the port install process, would be greatly appreciated.

Thanks,

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


need help on installing bsd in virtual box

2012-04-27 Thread dhillon sandeep
Hi,
   I am struggling in installing the bsd in virtualbox
i am totally new to unix, but have previously installed
Ubuntu linux in my virtual box, i have dounloaded both the images bootonly and 
release iso, after creating the new virtual machine and starting it for first 
time and by selecting the iso image nothing is happening or getting installed 
in the virtual machine. I downloaded the iso images from your BSD website. 
Please let me know what i am doing wrong or what do i need to do to install bsd.
 
 
Thanks
Sandeep.
___
freebsd-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 on installing bsd in virtual box

2012-04-27 Thread Derek Ragona

At 05:01 PM 4/27/2012, dhillon sandeep wrote:

Hi,
   I am struggling in installing the bsd in virtualbox
i am totally new to unix, but have previously installed
Ubuntu linux in my virtual box, i have dounloaded both the images bootonly 
and release iso, after creating the new virtual machine and starting it 
for first time and by selecting the iso image nothing is happening or 
getting installed in the virtual machine. I downloaded the iso images from 
your BSD website. Please let me know what i am doing wrong or what do i 
need to do to install bsd.



Thanks
Sandeep.



You need to be specific on which version of virtualbox you are using and 
which version of FreeBSD.  I have had no problem install FreeBSD in 
virtualbox, and in other virtual environments.  I use the disk1 iso and 
boot that which brings up the FreeBSD installer.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

___
freebsd-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 on installing bsd in virtual box

2012-04-27 Thread Polytropon
On Fri, 27 Apr 2012 23:01:28 +0100 (BST), dhillon sandeep wrote:
 Hi,
    I am struggling in installing the bsd in virtualbox
 i am totally new to unix, but have previously installed
 Ubuntu linux in my virtual box, i have dounloaded both the
 images bootonly and release iso, after creating the new
 virtual machine and starting it for first time and by
 selecting the iso image nothing is happening or getting
 installed in the virtual machine. I downloaded the iso
 images from your BSD website. Please let me know what i
 am doing wrong or what do i need to do to install bsd.

As you have experiences with Ubuntu, maybe you're interested
in giving VirtualBSD a try? It's a preinstalled and preconfigured
image containing a FreeBSD installation. You can play it
with Virtualbox.

http://www.virtualbsd.info/

You can find instructions and screenshots on that web page.

Regarding the installation of a normal FreeBSD OS, refer
to the handbook with explains the basic steps of installation
and configuration.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/index.html

You need to properly configure your virtual environment and
pay attention to 32/64 bit when doing so. The bootonly image
is typically used to install the system via network, there are
no installation datasets on that media. The CD1 and DVD1 media
images will be the ones used in typical installations.



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


need help in freebsd

2012-03-25 Thread Stanley Aisi
hi there,

i need your help in freebsd

regards,

Stanley
papua new guinea
___
freebsd-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 in freebsd

2012-03-25 Thread Edward M

On 03/25/2012 04:36 PM, Stanley Aisi wrote:

hi there,

i need your help in freebsd

regards,

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


 One is  seeking the wrong kind of help...



http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/article.html#AEN114

___
freebsd-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 in freebsd

2012-03-25 Thread Erich Dollansky
Hi,

On Monday 26 March 2012 06:36:35 Stanley Aisi wrote:
 hi there,
 
 i need your help in freebsd
 
you found the right place to get help but you have to be a bit more specific.

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: need help in freebsd

2012-03-25 Thread Colin Barnabas
On Mon, Mar 26, 2012 at 09:36:35AM +1000, Stanley Aisi wrote:
 hi there,
 
 i need your help in freebsd
 
 regards,
 
 Stanley
 papua new guinea
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Need Help with a Raid 1 Time critical issue.

2012-02-07 Thread Morris Allen


To whom it may concern:

 

I have been using the following instructions, I am unable to maintain a
Raid1 installation. I have sent this to the Bug group and programming group
( docs/164620 http://www.freebsd.org/cgi/query-pr.cgi?pr=164620cat=docs :
Raid 1 issues) and was told to contact your groups. During the initial setup
the Raid appears to be there. But when I reboot, the system stops, and will
not totally reboot. One issue is my fstab file, using basis install, does
not look anything like the file listed below. I really need to get this
going my time is getting short and I am in trouble on this box.  On reboot,
it destroys the Raid that it indicated was present, before the reboot.  I
have listed my equipment below and have pasted a copy of the instructions I
use to the letter.

 

Your help would be greatly appreciated, as I have a time limit on this box
and the clock is ticking.  This unit must be working with all software
before Feb. 28.

Thanks

Morris Allen (Moe)

 


Environment

 


Intel DQ 57Tm Motherboard Intel Processor I5 650 8gb Kingston mem 2- 1TB
Sata 3 Hard Drives Unable to install Raid1

 


Description

 


Using the following instructions, I am unable to maintain a Raid1
installation. I have sent this to the programming group ( docs/164620
http://www.freebsd.org/cgi/query-pr.cgi?pr=164620cat=docs : Raid 1
issues) and was told to contact document group. During the initial setup the
Raid appears to be there. But when I reboot, the system stops, and will not
totally reboot. One issue is my fstab file, using basis install, does not
look anything like the file listed below. I really need to get this going my
time is getting short and I am in trouble on this box.

This is the setup that I am trying to use.

# sysctl kern.geom.debugflags=17

Now create the mirror. Begin the process by storing meta-data information on
the primary disk device, effectively creating the /dev/mirror/gm device
using the following command:



Warning: Creating a mirror out of the boot drive may result in data loss if
any data has been stored on the last sector of the disk. This risk is
reduced if creating the mirror is done promptly after a fresh install of
FreeBSD. The following procedure is also incompatible with the default
installation settings of FreeBSD 9.X which use the new GPT partition scheme.
GEOM will overwrite GPT metadata, causing data loss and possibly an
unbootable system.
# gmirror label -vb round-robin gm0 /dev/da0

The system should respond with:
Metadata value stored on /dev/da0.
Done.

Initialize GEOM, this will load the /boot/kernel/geom_mirror.ko kernel
module:
# gmirror load



Note: When this command completes successfully, it creates the gm0 device
node under the /dev/mirror directory.

Enable loading of the geom_mirror.ko kernel module during system
initialization:
# echo 'geom_mirror_load=YES'  /boot/loader.conf

Edit the /etc/fstab file, replacing references to the old da0 with the new
device nodes of the gm0 mirror device.



Note: If vi(1) is your preferred editor, the following is an easy way to
accomplish this task:
# vi /etc/fstab

In vi(1) back up the current contents of fstab by typing :w /etc/fstab.bak.
Then replace all old da0 references with gm0 by typing :%s/da/mirror\/gm/g.


The resulting fstab file should look similar to the following. It does not
matter if the disk drives are SCSI or ATA, the RAID device will be gm
regardless.
# Device Mountpoint FStype Options Dump Pass#
/dev/mirror/gm0s1b none swap sw 0 0
/dev/mirror/gm0s1a / ufs rw 1 1
/dev/mirror/gm0s1d /usr ufs rw 0 0
/dev/mirror/gm0s1f /home ufs rw 2 2
#/dev/mirror/gm0s2d /store ufs rw 2 2
/dev/mirror/gm0s1e /var ufs rw 2 2
/dev/acd0 /cdrom cd9660 ro,noauto 0 0

Reboot the system:
# shutdown -r now

 


How-To-Repeat

 


This is a clean install each time and I have the same results everytime I
try to install the Raid1. No change.. this is the x64 BSD V9

 

 

Morris Allen (Moe)

___

 

E-mail is a privilege.  Not a right.

Stop Spam now!!!

 

___
freebsd-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 a Raid 1 Time critical issue.

2012-02-07 Thread Warren Block
A link to the Handbook would be preferable to copying all the 
information.


If this is FreeBSD-9.0, then it's due to a GPT/gmirror conflict and a 
more particular boot loader.


See the release notes:

http://www.freebsd.org/releases/9.0R/relnotes-detailed.html#AEN1277
___
freebsd-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 a Raid 1 Time critical issue.

2012-02-07 Thread Andrey V. Elsukov
On 08.02.2012 6:17, Morris Allen wrote:
 I have been using the following instructions, I am unable to maintain a
 Raid1 installation. I have sent this to the Bug group and programming group
 ( docs/164620 http://www.freebsd.org/cgi/query-pr.cgi?pr=164620cat=docs :
 Raid 1 issues) and was told to contact your groups. During the initial setup
 the Raid appears to be there. But when I reboot, the system stops, and will
 not totally reboot. One issue is my fstab file, using basis install, does
 not look anything like the file listed below. I really need to get this
 going my time is getting short and I am in trouble on this box.  On reboot,
 it destroys the Raid that it indicated was present, before the reboot.  I
 have listed my equipment below and have pasted a copy of the instructions I
 use to the letter.

Probably as quick workaround you can set variable
kern.geom.part.check_integrity=0 in your /boot/loader.conf.

See also:
http://lists.freebsd.org/pipermail/freebsd-geom/2012-January/005149.html

-- 
WBR, Andrey V. Elsukov



signature.asc
Description: OpenPGP digital signature


Re: dead; need help reconnecting

2011-12-05 Thread Ryan Coleman

On Dec 5, 2011, at 1:06 AM, Gary Kline wrote:

 On Sun, Dec 04, 2011 at 09:56:57PM -0600, Ryan Coleman wrote:
 
 Also I suggest a proper UPS and the apcupsd daemon. I use it for all my 
 UPS's in the field. All 10 of them.
 
   I've had a UPS for 22 months.  it has saved my server from
   disaster five or 6 timed   [[and you thought that the
   power grid here in settle was beyond good??  Bah, humbug.]]
 
 
 Feel free to install it and connect to d3photography.com:3551
 
 
   how exactly?  no, gimmee a few decades to recover from thin
   trauma !  mumble.
It's just a remote monitor. It's nice to have.

Take either the Macbook or Windows machine and install the APCagent client 
program to monitor. Pretty easy to find. Very low system resource utilization.

 
 --
 Ryan
 On Dec 4, 2011, at 7:22 PM, Gary Kline wrote:
 
 On Fri, Dec 02, 2011 at 08:00:25PM -0600, Ryan Coleman wrote:
 Date: Fri, 2 Dec 2011 20:00:25 -0600
 From: Ryan Coleman edi...@d3photography.com
 Subject: Re: dead; need help reconnecting
 To: FreeBSD Questions freebsd-questions@freebsd.org
 X-Mailer: Apple Mail (2.1251.1)
 
 You need to define Dead, Gary.
 
 Your posts lack... proper detail most of the time.
 
 On Dec 2, 2011, at 6:26 PM, Gary Kline wrote:
 
 weds morning at 4 was my last log so it was around  then that my telco 
 modem broke.  a few   hours ago a  tech reset the
 router with all 5 ips.  my bsd server is dead/water.  only my wifes pc 
 and daughters nmacbook work.   i have spent hours under desk trying one 
 thing/time.
 
 does anyone have any suuggestions what  to try next? i have only bsd 
 server;  ubuntu desktop.   standalone firewall.  one hub/switgh.
 
 gary
 ___
 
 
 ryan, 
 
 by dead i meant that i had 0.0 connection to the net.
 long-story-short, it was indeed the telephone company's
 modem that blew out.  they were able to get one circuit
 working, and they were content with that.  but i was still
 dead.  this morning a telco technician [and friend] dropped
 by with his tools and after several calls to the office for 
 my IP's and other info got me back online.  
 
 I have no idea how their router/modem works; i have no idea 
 how they were able to get my wife's PC back, much less my 
 entire domain.
 
 (this is further OT, but FWIW, one guy suggested that a
 power surge may have broken the modem/router.  30-35 years
 ago a =real= modem ran at 1200 baud and was lightening fast.  
 obviously, i haven't kept up... .)
 
 
 
 
 
 -- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Journey Toward the Dawn, E-Book: http://www.thought.org
 The 8.57a release of Jottings: http://jottings.thought.org
Twenty-five years of service to the Unix community.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
 
 -- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 8.57a release of Jottings: http://jottings.thought.org
 Twenty-five years of service to the Unix community.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Re: dead; need help reconnecting

2011-12-05 Thread Gary Kline
On Mon, Dec 05, 2011 at 07:46:44AM -0600, Ryan Coleman wrote:
 Date: Mon, 5 Dec 2011 07:46:44 -0600
 From: Ryan Coleman edi...@d3photography.com
 Subject: Re: dead; need help reconnecting
 To: Gary Kline kl...@thought.org
 Cc: FreeBSD Questions freebsd-questions@freebsd.org
 X-Mailer: Apple Mail (2.1251.1)
 
 
 On Dec 5, 2011, at 1:06 AM, Gary Kline wrote:
 
  On Sun, Dec 04, 2011 at 09:56:57PM -0600, Ryan Coleman wrote:
  
  Also I suggest a proper UPS and the apcupsd daemon. I use it for all my 
  UPS's in the field. All 10 of them.
  
  I've had a UPS for 22 months.  it has saved my server from
  disaster five or 6 timed   [[and you thought that the
  power grid here in settle was beyond good??  Bah, humbug.]]
  
  
  Feel free to install it and connect to d3photography.com:3551
  
  
  how exactly?  no, gimmee a few decades to recover from thin
  trauma !  mumble.
 It's just a remote monitor. It's nice to have.
 
 Take either the Macbook or Windows machine and install the APCagent client 
 program to monitor. Pretty easy to find. Very low system resource utilization.
 

can you send a URL?  I'Ve never heard of this..  [[i
know thatt i'm a crummy sysadmin]]


  
  --
  Ryan
  On Dec 4, 2011, at 7:22 PM, Gary Kline wrote:
  
  On Fri, Dec 02, 2011 at 08:00:25PM -0600, Ryan Coleman wrote:
  Date: Fri, 2 Dec 2011 20:00:25 -0600
  From: Ryan Coleman edi...@d3photography.com
  Subject: Re: dead; need help reconnecting
  To: FreeBSD Questions freebsd-questions@freebsd.org
  X-Mailer: Apple Mail (2.1251.1)
  
  You need to define Dead, Gary.
  
  Your posts lack... proper detail most of the time.
  
  On Dec 2, 2011, at 6:26 PM, Gary Kline wrote:
  
  weds morning at 4 was my last log so it was around  then that my telco 
  modem broke.  a few   hours ago a  tech reset the
  router with all 5 ips.  my bsd server is dead/water.  only my wifes pc 
  and daughters nmacbook work.   i have spent hours under desk trying one 
  thing/time.
  
  does anyone have any suuggestions what  to try next? i have only 
  bsd server;  ubuntu desktop.   standalone firewall.  one hub/switgh.
  
  gary
  ___
  
  
ryan, 
  
by dead i meant that i had 0.0 connection to the net.
long-story-short, it was indeed the telephone company's
modem that blew out.  they were able to get one circuit
working, and they were content with that.  but i was still
dead.  this morning a telco technician [and friend] dropped
by with his tools and after several calls to the office for 
my IP's and other info got me back online.  
  
I have no idea how their router/modem works; i have no idea 
how they were able to get my wife's PC back, much less my 
entire domain.
  
(this is further OT, but FWIW, one guy suggested that a
power surge may have broken the modem/router.  30-35 years
ago a =real= modem ran at 1200 baud and was lightening fast.  
obviously, i haven't kept up... .)

  
  
  
  
  -- 
  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 8.57a release of Jottings: http://jottings.thought.org
 Twenty-five years of service to the Unix community.
  
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org
  
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  freebsd-questions-unsubscr...@freebsd.org
  
  
  -- 
  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
Journey Toward the Dawn, E-Book: http://www.thought.org
   The 8.57a release of Jottings: http://jottings.thought.org
  Twenty-five years of service to the Unix community.
  
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 8.57a release of Jottings: http://jottings.thought.org
 Twenty-five years of service to the Unix community.

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


Re: dead; need help reconnecting

2011-12-04 Thread Gary Kline
On Fri, Dec 02, 2011 at 08:00:25PM -0600, Ryan Coleman wrote:
 Date: Fri, 2 Dec 2011 20:00:25 -0600
 From: Ryan Coleman edi...@d3photography.com
 Subject: Re: dead; need help reconnecting
 To: FreeBSD Questions freebsd-questions@freebsd.org
 X-Mailer: Apple Mail (2.1251.1)
 
 You need to define Dead, Gary.
 
 Your posts lack... proper detail most of the time.
 
 On Dec 2, 2011, at 6:26 PM, Gary Kline wrote:
 
  weds morning at 4 was my last log so it was around  then that my telco 
  modem broke.  a few   hours ago a  tech reset the
  router with all 5 ips.  my bsd server is dead/water.  only my wifes pc and 
  daughters nmacbook work.   i have spent hours under desk trying one 
  thing/time.
   
  does anyone have any suuggestions what  to try next? i have only bsd 
  server;  ubuntu desktop.   standalone firewall.  one hub/switgh.
   
  gary
  ___


ryan, 

by dead i meant that i had 0.0 connection to the net.
long-story-short, it was indeed the telephone company's
modem that blew out.  they were able to get one circuit
working, and they were content with that.  but i was still
dead.  this morning a telco technician [and friend] dropped
by with his tools and after several calls to the office for 
my IP's and other info got me back online.  

I have no idea how their router/modem works; i have no idea 
how they were able to get my wife's PC back, much less my 
entire domain.

(this is further OT, but FWIW, one guy suggested that a
power surge may have broken the modem/router.  30-35 years
ago a =real= modem ran at 1200 baud and was lightening fast.  
obviously, i haven't kept up... .)





-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 8.57a release of Jottings: http://jottings.thought.org
 Twenty-five years of service to the Unix community.

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


Re: dead; need help reconnecting

2011-12-04 Thread Ryan Coleman
They probably switched it from NAT to passthru with only 2 IPs.

But that's not your problem to figure out.

What you need to do is what the error is from:
Check the following:
1) Computer (is one computer having an issue or could one computer be the CAUSE 
of the issue?)
2) Cabling - is there a bad Ethernet cable. Replace any custom cables with 
prefab. You'd be amazed how many problems come from bad cuts.
3) Networking layer - is there a bad NIC or switch? - you've had this problem 
before.
4) When you bring the network to one device - can you get online? Can someone 
ping your public IP address from somewhere else?
5) Is the Telco in the midst of an outage or did hardware fail?

There is more to those 5 items but they are great ones to work from.

9 times out of 10 it's somewhere under #1.

Also I suggest a proper UPS and the apcupsd daemon. I use it for all my UPS's 
in the field. All 10 of them.

Feel free to install it and connect to d3photography.com:3551
--
Ryan
On Dec 4, 2011, at 7:22 PM, Gary Kline wrote:

 On Fri, Dec 02, 2011 at 08:00:25PM -0600, Ryan Coleman wrote:
 Date: Fri, 2 Dec 2011 20:00:25 -0600
 From: Ryan Coleman edi...@d3photography.com
 Subject: Re: dead; need help reconnecting
 To: FreeBSD Questions freebsd-questions@freebsd.org
 X-Mailer: Apple Mail (2.1251.1)
 
 You need to define Dead, Gary.
 
 Your posts lack... proper detail most of the time.
 
 On Dec 2, 2011, at 6:26 PM, Gary Kline wrote:
 
 weds morning at 4 was my last log so it was around  then that my telco 
 modem broke.  a few   hours ago a  tech reset the
 router with all 5 ips.  my bsd server is dead/water.  only my wifes pc and 
 daughters nmacbook work.   i have spent hours under desk trying one 
 thing/time.
 
 does anyone have any suuggestions what  to try next? i have only bsd 
 server;  ubuntu desktop.   standalone firewall.  one hub/switgh.
 
 gary
 ___
 
 
   ryan, 
 
   by dead i meant that i had 0.0 connection to the net.
   long-story-short, it was indeed the telephone company's
   modem that blew out.  they were able to get one circuit
   working, and they were content with that.  but i was still
   dead.  this morning a telco technician [and friend] dropped
   by with his tools and after several calls to the office for 
   my IP's and other info got me back online.  
 
   I have no idea how their router/modem works; i have no idea 
   how they were able to get my wife's PC back, much less my 
   entire domain.
 
   (this is further OT, but FWIW, one guy suggested that a
   power surge may have broken the modem/router.  30-35 years
   ago a =real= modem ran at 1200 baud and was lightening fast.  
   obviously, i haven't kept up... .)
   
 
 
 
 
 -- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 8.57a release of Jottings: http://jottings.thought.org
 Twenty-five years of service to the Unix community.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Re: dead; need help reconnecting

2011-12-04 Thread Gary Kline
On Sun, Dec 04, 2011 at 09:56:57PM -0600, Ryan Coleman wrote:
 Date: Sun, 4 Dec 2011 21:56:57 -0600
 From: Ryan Coleman edi...@d3photography.com
 Subject: Re: dead; need help reconnecting
 To: Gary Kline kl...@thought.org
 Cc: FreeBSD Questions freebsd-questions@freebsd.org
 X-Mailer: Apple Mail (2.1251.1)
 
 They probably switched it from NAT to passthru with only 2 IPs.
 
 But that's not your problem to figure out.
 
 What you need to do is what the error is from:
 Check the following:
 1) Computer (is one computer having an issue or could one computer be the 
 CAUSE of the issue?)
 2) Cabling - is there a bad Ethernet cable. Replace any custom cables with 
 prefab. You'd be amazed how many problems come from bad cuts.
 3) Networking layer - is there a bad NIC or switch? - you've had this problem 
 before.
 4) When you bring the network to one device - can you get online? Can someone 
 ping your public IP address from somewhere else?
 5) Is the Telco in the midst of an outage or did hardware fail?


it turned out that the modem was at fault.  the first time,
the tech fixed it partially.  by installing a NEW modem
[router], i was back on.  so is everything else that runs
thru my switch.

(((this time, very soon--say in the morning, my time--i'm
going to plug the router into my surge protector.  just
because it msy prevent another fault.)))

gary

 
 There is more to those 5 items but they are great ones to work from.
 
 9 times out of 10 it's somewhere under #1.
 
 Also I suggest a proper UPS and the apcupsd daemon. I use it for all my UPS's 
 in the field. All 10 of them.
 
 Feel free to install it and connect to d3photography.com:3551
 --
 Ryan
 On Dec 4, 2011, at 7:22 PM, Gary Kline wrote:
 
  On Fri, Dec 02, 2011 at 08:00:25PM -0600, Ryan Coleman wrote:
  Date: Fri, 2 Dec 2011 20:00:25 -0600
  From: Ryan Coleman edi...@d3photography.com
  Subject: Re: dead; need help reconnecting
  To: FreeBSD Questions freebsd-questions@freebsd.org
  X-Mailer: Apple Mail (2.1251.1)
  
  You need to define Dead, Gary.
  
  Your posts lack... proper detail most of the time.
  
  On Dec 2, 2011, at 6:26 PM, Gary Kline wrote:
  
  weds morning at 4 was my last log so it was around  then that my telco 
  modem broke.  a few   hours ago a  tech reset the
  router with all 5 ips.  my bsd server is dead/water.  only my wifes pc 
  and daughters nmacbook work.   i have spent hours under desk trying one 
  thing/time.
  
  does anyone have any suuggestions what  to try next? i have only bsd 
  server;  ubuntu desktop.   standalone firewall.  one hub/switgh.
  
  gary
  ___
  
  
  ryan, 
  
  by dead i meant that i had 0.0 connection to the net.
  long-story-short, it was indeed the telephone company's
  modem that blew out.  they were able to get one circuit
  working, and they were content with that.  but i was still
  dead.  this morning a telco technician [and friend] dropped
  by with his tools and after several calls to the office for 
  my IP's and other info got me back online.  
  
  I have no idea how their router/modem works; i have no idea 
  how they were able to get my wife's PC back, much less my 
  entire domain.
  
  (this is further OT, but FWIW, one guy suggested that a
  power surge may have broken the modem/router.  30-35 years
  ago a =real= modem ran at 1200 baud and was lightening fast.  
  obviously, i haven't kept up... .)
  
  
  
  
  
  -- 
  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
Journey Toward the Dawn, E-Book: http://www.thought.org
   The 8.57a release of Jottings: http://jottings.thought.org
  Twenty-five years of service to the Unix community.
  
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 8.57a release of Jottings: http://jottings.thought.org
 Twenty-five years of service to the Unix community.

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


Re: dead; need help reconnecting

2011-12-04 Thread Gary Kline
On Sun, Dec 04, 2011 at 09:56:57PM -0600, Ryan Coleman wrote:
 
 Also I suggest a proper UPS and the apcupsd daemon. I use it for all my UPS's 
 in the field. All 10 of them.
 
I've had a UPS for 22 months.  it has saved my server from
disaster five or 6 timed   [[and you thought that the
power grid here in settle was beyond good??  Bah, humbug.]]


 Feel free to install it and connect to d3photography.com:3551


how exactly?  no, gimmee a few decades to recover from thin
trauma !  mumble.


 --
 Ryan
 On Dec 4, 2011, at 7:22 PM, Gary Kline wrote:
 
  On Fri, Dec 02, 2011 at 08:00:25PM -0600, Ryan Coleman wrote:
  Date: Fri, 2 Dec 2011 20:00:25 -0600
  From: Ryan Coleman edi...@d3photography.com
  Subject: Re: dead; need help reconnecting
  To: FreeBSD Questions freebsd-questions@freebsd.org
  X-Mailer: Apple Mail (2.1251.1)
  
  You need to define Dead, Gary.
  
  Your posts lack... proper detail most of the time.
  
  On Dec 2, 2011, at 6:26 PM, Gary Kline wrote:
  
  weds morning at 4 was my last log so it was around  then that my telco 
  modem broke.  a few   hours ago a  tech reset the
  router with all 5 ips.  my bsd server is dead/water.  only my wifes pc 
  and daughters nmacbook work.   i have spent hours under desk trying one 
  thing/time.
  
  does anyone have any suuggestions what  to try next? i have only bsd 
  server;  ubuntu desktop.   standalone firewall.  one hub/switgh.
  
  gary
  ___
  
  
  ryan, 
  
  by dead i meant that i had 0.0 connection to the net.
  long-story-short, it was indeed the telephone company's
  modem that blew out.  they were able to get one circuit
  working, and they were content with that.  but i was still
  dead.  this morning a telco technician [and friend] dropped
  by with his tools and after several calls to the office for 
  my IP's and other info got me back online.  
  
  I have no idea how their router/modem works; i have no idea 
  how they were able to get my wife's PC back, much less my 
  entire domain.
  
  (this is further OT, but FWIW, one guy suggested that a
  power surge may have broken the modem/router.  30-35 years
  ago a =real= modem ran at 1200 baud and was lightening fast.  
  obviously, i haven't kept up... .)
  
  
  
  
  
  -- 
  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
Journey Toward the Dawn, E-Book: http://www.thought.org
   The 8.57a release of Jottings: http://jottings.thought.org
  Twenty-five years of service to the Unix community.
  
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 8.57a release of Jottings: http://jottings.thought.org
 Twenty-five years of service to the Unix community.

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


dead; need help reconnecting

2011-12-02 Thread Gary Kline
weds morning at 4 was my last log so it was around  then that my telco modem 
broke.  a few   hours ago a  tech reset the
router with all 5 ips.  my bsd server is dead/water.  only my wifes pc and 
daughters nmacbook work.   i have spent hours under desk trying one thing/time.
 
does anyone have any suuggestions what  to try next? i have only bsd 
server;  ubuntu desktop.   standalone firewall.  one hub/switgh.
 
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


Re: dead; need help reconnecting

2011-12-02 Thread Ryan Coleman
You need to define Dead, Gary.

Your posts lack... proper detail most of the time.

On Dec 2, 2011, at 6:26 PM, Gary Kline wrote:

 weds morning at 4 was my last log so it was around  then that my telco modem 
 broke.  a few   hours ago a  tech reset the
 router with all 5 ips.  my bsd server is dead/water.  only my wifes pc and 
 daughters nmacbook work.   i have spent hours under desk trying one 
 thing/time.
  
 does anyone have any suuggestions what  to try next? i have only bsd 
 server;  ubuntu desktop.   standalone firewall.  one hub/switgh.
  
 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

___
freebsd-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 pf configuration

2011-10-10 Thread Victor Sudakov
Matthew Seaman wrote:
  
 I need no details, just a general hint how to setup such security
 levels, preferably independent of actual IP addressses behind the
 interfaces (a :network macro is not always sufficient).

You may use urpf-failed instead :network
urpf-failed: Any source address that fails a unicast reverse path
forwarding (URPF) check, i.e. packets coming in on an interface
other than that which holds the route back to the packet's source
address.
   
   Excuse me, I do not see how this is relevant to my question (allowing
   traffic to be initiated from a more secure interface to a less secure
   interface and not vice versa).
  Sorry, you can't do this with pf, ipf or ipfw (the 3 firewalls in
  FreeBSD). There is no concept of security level at all, you must specify
  on each interface the traffic allowed (in input and output).
  
  My reply was about the use of the interface:network addresses.
 
 pf has the concept of packet tagging.  So you can write a small rule to
 tag traffic crossing eg. your set of internal interfaces and then write
 one ruleset to filter all that traffic identified by tag.
 
 Quoting pf.conf(5):  This can be used, for example, to
provide trust between interfaces and to determine if packets
have been processed by translation rules.

I guess the tagging feature can be useful. Thank you for the hint. If
I come up with a working ruleset, I'll post it here.


-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.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: need help with pf configuration

2011-10-10 Thread Victor Sudakov
Nikos Vassiliadis wrote:
 
 I have a configuration with 2 inside interfaces, 1 outside and 1 dmz
 interface. The traffic should be able to flow
 
 1) from inside1 to any (and back)
 2) from inside2 to any (and back)
 3) from dmz to outside only (and back).
 
 I need no details, just a general hint how to setup such security
 levels, preferably independent of actual IP addressses behind the
 interfaces (a :network macro is not always sufficient).
 
 You may use urpf-failed instead :network
 urpf-failed: Any source address that fails a unicast reverse path
 forwarding (URPF) check, i.e. packets coming in on an interface other
 than that which holds the route back to the packet's source address.
 
 Excuse me, I do not see how this is relevant to my question (allowing
 traffic to be initiated from a more secure interface to a less secure
 interface and not vice versa).
 
 
 What if you combine macros and lists?
 The ruleset below seems scalable to any number of interfaces.
 
 inside1 = em1
 inside2 = em2
 dmz = em0
 insides = { $inside1:network $inside2:network }

The problem is, there could be several routed networks behind the
inside interfaces. Not all inside networks are directly connected, and
the :network macro works only for directly connected interfaces,
right?

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.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: need help with pf configuration

2011-10-10 Thread Patrick Lamaiziere
Le Mon, 10 Oct 2011 14:10:53 +0700,
Victor Sudakov suda...@sibptus.tomsk.ru a écrit :

 The problem is, there could be several routed networks behind the
 inside interfaces. Not all inside networks are directly connected, and
 the :network macro works only for directly connected interfaces,
 right?

Rigth, this is why I suggest urpf-failed instead.

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: need help with pf configuration

2011-10-09 Thread Patrick Lamaiziere
Le Sun, 9 Oct 2011 12:15:54 +0700,
Victor Sudakov v...@mpeks.tomsk.su a écrit :

 I have a configuration with 2 inside interfaces, 1 outside and 1 dmz
 interface. The traffic should be able to flow
 
 1) from inside1 to any (and back)
 2) from inside2 to any (and back)
 3) from dmz to outside only (and back).
 
 I need no details, just a general hint how to setup such security
 levels, preferably independent of actual IP addressses behind the
 interfaces (a :network macro is not always sufficient).

You may use urpf-failed instead :network
urpf-failed: Any source address that fails a unicast reverse path
forwarding (URPF) check, i.e. packets coming in on an interface other
than that which holds the route back to the packet's source address.

something like
block in quick on $inside1 from urpf-failed to any
pass in quick on $inside1

I've not tested this.

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: need help with pf configuration

2011-10-09 Thread Victor Sudakov
Patrick Lamaiziere wrote:
 
  I have a configuration with 2 inside interfaces, 1 outside and 1 dmz
  interface. The traffic should be able to flow
  
  1) from inside1 to any (and back)
  2) from inside2 to any (and back)
  3) from dmz to outside only (and back).
  
  I need no details, just a general hint how to setup such security
  levels, preferably independent of actual IP addressses behind the
  interfaces (a :network macro is not always sufficient).
 
 You may use urpf-failed instead :network
 urpf-failed: Any source address that fails a unicast reverse path
 forwarding (URPF) check, i.e. packets coming in on an interface other
 than that which holds the route back to the packet's source address.

Excuse me, I do not see how this is relevant to my question (allowing
traffic to be initiated from a more secure interface to a less secure
interface and not vice versa).

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.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: need help with pf configuration

2011-10-09 Thread Patrick Lamaiziere
Le Sun, 9 Oct 2011 14:39:10 +0700,
Victor Sudakov v...@mpeks.tomsk.su a écrit :

   I need no details, just a general hint how to setup such security
   levels, preferably independent of actual IP addressses behind the
   interfaces (a :network macro is not always sufficient).
  
  You may use urpf-failed instead :network
  urpf-failed: Any source address that fails a unicast reverse path
  forwarding (URPF) check, i.e. packets coming in on an interface
  other than that which holds the route back to the packet's source
  address.
 
 Excuse me, I do not see how this is relevant to my question (allowing
 traffic to be initiated from a more secure interface to a less secure
 interface and not vice versa).

Sorry, you can't do this with pf, ipf or ipfw (the 3 firewalls in
FreeBSD). There is no concept of security level at all, you must specify
on each interface the traffic allowed (in input and output).

My reply was about the use of the interface:network addresses.

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: need help with pf configuration

2011-10-09 Thread Matthew Seaman
On 09/10/2011 10:31, Patrick Lamaiziere wrote:
 Le Sun, 9 Oct 2011 14:39:10 +0700,
 Victor Sudakov v...@mpeks.tomsk.su a écrit :
 
I need no details, just a general hint how to setup such security
levels, preferably independent of actual IP addressses behind the
interfaces (a :network macro is not always sufficient).
   
   You may use urpf-failed instead :network
   urpf-failed: Any source address that fails a unicast reverse path
   forwarding (URPF) check, i.e. packets coming in on an interface
   other than that which holds the route back to the packet's source
   address.
  
  Excuse me, I do not see how this is relevant to my question (allowing
  traffic to be initiated from a more secure interface to a less secure
  interface and not vice versa).
 Sorry, you can't do this with pf, ipf or ipfw (the 3 firewalls in
 FreeBSD). There is no concept of security level at all, you must specify
 on each interface the traffic allowed (in input and output).
 
 My reply was about the use of the interface:network addresses.

pf has the concept of packet tagging.  So you can write a small rule to
tag traffic crossing eg. your set of internal interfaces and then write
one ruleset to filter all that traffic identified by tag.

Quoting pf.conf(5):  This can be used, for example, to
   provide trust between interfaces and to determine if packets
   have been processed by translation rules.

I think that's roughly equivalent to what the OP was asking about.

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


Re: need help with pf configuration

2011-10-09 Thread Nikos Vassiliadis

On 10/9/2011 10:39 AM, Victor Sudakov wrote:

Patrick Lamaiziere wrote:



I have a configuration with 2 inside interfaces, 1 outside and 1 dmz
interface. The traffic should be able to flow

1) from inside1 to any (and back)
2) from inside2 to any (and back)
3) from dmz to outside only (and back).

I need no details, just a general hint how to setup such security
levels, preferably independent of actual IP addressses behind the
interfaces (a :network macro is not always sufficient).


You may use urpf-failed instead :network
urpf-failed: Any source address that fails a unicast reverse path
forwarding (URPF) check, i.e. packets coming in on an interface other
than that which holds the route back to the packet's source address.


Excuse me, I do not see how this is relevant to my question (allowing
traffic to be initiated from a more secure interface to a less secure
interface and not vice versa).



What if you combine macros and lists?
The ruleset below seems scalable to any number of interfaces.

inside1 = em1
inside2 = em2
dmz = em0
insides = { $inside1:network $inside2:network }

pass in on $dmz from $dmz:network to any
block in on $dmz from any to $insides

This expands nicely to:
lab# pfctl -vf te
inside1 = em1
inside2 = em2
dmz = em0
insides = { em1:network em2:network }
pass in on em0 inet from 192.168.73.0/24 to any flags S/SA keep state
block drop in on em0 inet from any to 10.0.0.0/29
block drop in on em0 inet from any to 192.168.56.0/24

HTH, Nikos
___
freebsd-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 pf configuration

2011-10-09 Thread Victor Sudakov
Patrick Lamaiziere wrote:
 
I need no details, just a general hint how to setup such security
levels, preferably independent of actual IP addressses behind the
interfaces (a :network macro is not always sufficient).
   
   You may use urpf-failed instead :network
   urpf-failed: Any source address that fails a unicast reverse path
   forwarding (URPF) check, i.e. packets coming in on an interface
   other than that which holds the route back to the packet's source
   address.
  
  Excuse me, I do not see how this is relevant to my question (allowing
  traffic to be initiated from a more secure interface to a less secure
  interface and not vice versa).
 
 Sorry, you can't do this with pf, ipf or ipfw (the 3 firewalls in
 FreeBSD). There is no concept of security level at all, you must specify
 on each interface the traffic allowed (in input and output).

Actually you can with ipfw. The following concise ruleset should do it:

check-state
permit ip from any to any recv INSIDE xmit DMZ keep-state
permit ip from any to any recv INSIDE xmit OUTSIDE keep-state
permit ip from any to any recv DMZ xmit OUTSIDE keep-state

 

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.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


need help with pf configuration

2011-10-08 Thread Victor Sudakov
Colleagues,

I have a configuration with 2 inside interfaces, 1 outside and 1 dmz
interface. The traffic should be able to flow

1) from inside1 to any (and back)
2) from inside2 to any (and back)
3) from dmz to outside only (and back).

I need no details, just a general hint how to setup such security
levels, preferably independent of actual IP addressses behind the
interfaces (a :network macro is not always sufficient). It would be
nice to find a configuration that would scale to any number of
interfaces with different security levels.

On a Cisco PIX I would configure

outside security0
inside1 security100
inside2 security100
dmz security50

and that's it, the PIX logic would do the rest.

Thank you very much in advance for any input.

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
sip:suda...@sibptus.tomsk.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: Need Help Installing and Configuring Xorg

2011-06-13 Thread perryh
Chuck Swiger cswi...@mac.com wrote:

 Sun's OpenWin (X11+Motif+DPS extension, IIRC) ...

I'm fairly sure OpenWin did not include Motif, at least initially
(although it may have been added later -- my experience with OpenWin
ended with SunOS 4).  olwm had a look and feel all its own.
___
freebsd-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 Installing and Configuring Xorg (Polytropon)

2011-06-13 Thread Graham Bentley
 When it installs it comes with twm (Trivial Window Manager)
Tom's Window Manager? A great little wm :)
http://www.cpcnw.co.uk/twm/twmrc.htm
 


___
freebsd-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 Installing and Configuring Xorg

2011-06-12 Thread Bill Tillman


From: Daniel Staal dst...@usa.net
To: John or Judy Hixson johnorj...@earthlink.net; 
freebsd-questions@freebsd.org
Sent: Fri, June 10, 2011 8:24:23 PM
Subject: Re: Need Help Installing and Configuring Xorg

--As of June 10, 2011 4:26:27 PM -0700, John or Judy Hixson is alleged to have 
said:

 I'm having trouble getting Xorg to run on my just recently installed
 FreeBSD 7.4-RELEASE(i386) system. I'm trying to follow the procedures in
 Sections 5.3 and 5.4 of the Handbook and can't seem to get startx to
 fire up; I get a black screen when I try. Here's what I've done so far:

--As for the rest, it is mine.

Weird question: Have you installed xterm yet?  Without a window manager 
configured, startx will try to open X with a single xterm window.  (At least, 
as 
installed from ports, I believe.)  I'm not sure what it would do if it couldn't 
find xterm, but a blank black screen sounds possible...

If I'm right, Xorg is _running,_ you just haven't started any programs in it.  
Which you might be able to see if you ssh'd into the box.  If so, you could 
kill 
Xorg and get your terminal back on your standard terminal.

Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


I have installed and configured Xorg many times on several different machines. 
When it installs it comes with twm (Trivial Window Manager) which is the 
default, no frills window manager. It should have installed with the Xorg port. 
If you installed via pkg_add I can't say for sure that tvw installs by default, 
but using the ports it will. Without a window manager, you will see nothing but 
a black graphics screen when you run startx.

There are loads of other windows managers and choices for desktop. I am a big 
believer in the KISS method and prefer not to add in all the overhead that 
comes 
with KDE or GNOME and I just use tvm. I can open any application and it looks 
fine, I can open several Xterm windows with it and spread them across my dual 
monitor setup. It just works for me but I'm sure others will toot their horns 
for KDE and GNOME, etc...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Need Help Installing and Configuring Xorg

2011-06-12 Thread Chuck Swiger
On Jun 12, 2011, at 4:40 AM, Bill Tillman wrote:
 I have installed and configured Xorg many times on several different 
 machines. 
 When it installs it comes with twm (Trivial Window Manager) [ ... ]

twm doesn't stand for Trivial Window Manager-- it stands for Tom's Window 
Manager because it was written by Tom LaStrange on Sun-3_35 or 3_50 hardware 
back around X11R1.

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: Need Help Installing and Configuring Xorg

2011-06-12 Thread Polytropon
On Sun, 12 Jun 2011 11:25:02 -0700, Chuck Swiger cswi...@mac.com wrote:
 On Jun 12, 2011, at 4:40 AM, Bill Tillman wrote:
  I have installed and configured Xorg many times on several different 
  machines. 
  When it installs it comes with twm (Trivial Window Manager) [ ... ]
 
 twm doesn't stand for Trivial Window Manager-- it stands
 for Tom's Window Manager because it was written by Tom
 LaStrange on Sun-3_35 or 3_50 hardware back around X11R1.

Without any further investigation and research, my
brain seems to remember that is's (also?) called
Tab Window Manager. Is my brain wrong here? :-)


-- 
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: Need Help Installing and Configuring Xorg

2011-06-12 Thread Robert Simmons
On Sun, Jun 12, 2011 at 2:25 PM, Chuck Swiger cswi...@mac.com wrote:
 twm doesn't stand for Trivial Window Manager-- it stands for Tom's Window 
 Manager because it was written by Tom LaStrange on Sun-3_35 or 3_50 hardware 
 back around X11R1.

Stood for, you mean.  It evolved to Tab Window Manager, and now it is
Timeless Window Manager according to the source code:
http://cgit.freedesktop.org/xorg/app/twm/
___
freebsd-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 Installing and Configuring Xorg

2011-06-12 Thread Chuck Swiger
On Jun 12, 2011, at 11:29 AM, Polytropon wrote:
 twm doesn't stand for Trivial Window Manager-- it stands
 for Tom's Window Manager because it was written by Tom
 LaStrange on Sun-3_35 or 3_50 hardware back around X11R1.
 
 Without any further investigation and research, my
 brain seems to remember that is's (also?) called
 Tab Window Manager. Is my brain wrong here? :-)

I went by wikipedia to double-check.

I'm right about the original name.  At some point after twm was included in the 
X11 core distribution, later developers decided to rename it to Tab Window 
Manager because they'd changed so much code.  (If they'd done it with Tom's 
OK, then I don't have any concern; if they'd just renamed it themselves without 
discussion with the original author, well, I'd find that a bit tacky.)

I remember switching from uwm? to twm around 1990 and finding the later vastly 
more tolerable.  But I also largely switched from X11 to Display Postscript on 
NEXTSTEP or Sun's OpenWin (X11+Motif+DPS extension, IIRC) around then.

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: Need Help Installing and Configuring Xorg

2011-06-12 Thread Bill Tillman






From: Chuck Swiger cswi...@mac.com
To: Polytropon free...@edvax.de
Cc: FreeBSD Questions freebsd-questions@freebsd.org
Sent: Sun, June 12, 2011 2:43:16 PM
Subject: Re: Need Help Installing and Configuring Xorg



I stand corrected. Tab Window Manager it iseither way, I use it because 
it's 
just plain simple and I don't really need all the whistles and bells that come 
with the other WM's. I'm still stuck with using Windows because all my business 
is conducted there and it's got all the bells and whistles one would need.

On Jun 12, 2011, at 11:29 AM, Polytropon wrote:
 twm doesn't stand for Trivial Window Manager-- it stands
 for Tom's Window Manager because it was written by Tom
 LaStrange on Sun-3_35 or 3_50 hardware back around X11R1.
 
 Without any further investigation and research, my
 brain seems to remember that is's (also?) called
 Tab Window Manager. Is my brain wrong here? :-)

I went by wikipedia to double-check.

I'm right about the original name.  At some point after twm was included in the 
X11 core distribution, later developers decided to rename it to Tab Window 
Manager because they'd changed so much code.  (If they'd done it with Tom's 
OK, 
then I don't have any concern; if they'd just renamed it themselves without 
discussion with the original author, well, I'd find that a bit tacky.)

I remember switching from uwm? to twm around 1990 and finding the later vastly 
more tolerable.  But I also largely switched from X11 to Display Postscript on 
NEXTSTEP or Sun's OpenWin (X11+Motif+DPS extension, IIRC) around then.

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


Need Help Installing and Configuring Xorg

2011-06-10 Thread John or Judy Hixson
I'm having trouble getting Xorg to run on my just recently installed FreeBSD 
7.4-RELEASE(i386) system. I'm trying to follow the procedures in Sections 5.3 
and 5.4 of the Handbook and can't seem to get startx to fire up; I get a 
black screen when I try. Here's what I've done so far:
1. Installed Xorg from packages per 5.3. That seemed ultimately to go 
OK.
2. As my Xorg is version 7.5, I next enabled hald and dbus per 5.4.2.
3. Then as I remember, I tried to startx and ended up with a black 
screen from which I could not escape. Had to manually shut off and restart the 
PC.
4. Next I think I went ahead with the Xorg -configure per 5.4.2. and 
ended up with an error saying that fbdev was missing. Don't know what fbdev 
is.
5. Somewhere in the mailing list archives I found a similar error 
description that solved the problem by installing fbdev from packages or ports 
or can't remember where. Anyway fbdev seemed to install OK, at least I didn't 
see anymore error messages to that effect.
5. When I run Xorg -configure now and then look at the configuration 
file xorg.conf.new, I can't see any obvious errors but of course I mostly don't 
know what I'm l;ooking at.
6. The Handbook next suggests testing the configuration and gives 
instructions for a modified command for later versions of Xorg. I found that 
the modified command does not work. Fortunately my screen tells me a different 
command to test the server config: X -config /root/xorg.conf.new.
7. OK, so I try the alternative test command but still end up at a 
black screen from which I've found no escape. (As an aside I'd sure like to 
find a more graceful way to recover from that black screen. The procedure 
described in 5.4.2, Ctrl+Alt+Bksp, does not work even when enabled for later 
Xorg versions. Nor does Ctrl+Alt+Fn.)

I'm sure there are logs or files I could supply that would help sort out this 
problem; if I knew what they were I'd send them. As I don't have email 
configured of the FreeBSD machine, I'll have to manually copy those lines. I'm 
so new I don't know any other way to get text off of the machine.

Here's my hardware for what it's worth: SONY Vaio Desktop, Pentium 4 2.0GHz, 
2GB RAM,  GeForce FX5200 256MB PCI Vid Card, 2x IDE HDD's, DVD-RW, CD-ROM, FDD. 
I do have my mouse (Ikari Optical), keyboard (Logitech Wireless), and montior 
(ASUS LCD) running through a KVM, but they haven't had any troubles being 
recognized and operating after bootup.

Would appreciate anyone's suggestions. Thanks. John Hixson 
___
freebsd-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 Installing and Configuring Xorg

2011-06-10 Thread Daniel Staal
--As of June 10, 2011 4:26:27 PM -0700, John or Judy Hixson is alleged to 
have said:



I'm having trouble getting Xorg to run on my just recently installed
FreeBSD 7.4-RELEASE(i386) system. I'm trying to follow the procedures in
Sections 5.3 and 5.4 of the Handbook and can't seem to get startx to
fire up; I get a black screen when I try. Here's what I've done so far:


--As for the rest, it is mine.

Weird question: Have you installed xterm yet?  Without a window manager 
configured, startx will try to open X with a single xterm window.  (At 
least, as installed from ports, I believe.)  I'm not sure what it would do 
if it couldn't find xterm, but a blank black screen sounds possible...


If I'm right, Xorg is _running,_ you just haven't started any programs in 
it.  Which you might be able to see if you ssh'd into the box.  If so, you 
could kill Xorg and get your terminal back on your standard terminal.


Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
freebsd-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 Installing and Configuring Xorg

2011-06-10 Thread Edward
On 6/11/11 7:26 AM, John or Judy Hixson wrote:
 I'm having trouble getting Xorg to run on my just recently installed FreeBSD 
[snip]
 Would appreciate anyone's suggestions. Thanks. John Hixson 
If you're trying to try FreeBSD as a Desktop, PC BSD (http://pcbsd.org/)
would definitely make your life much easier. :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


need help with bind; either the originial, or the new

2011-01-24 Thread Gary Kline
release.
Reply-To: 
X-Organization: Thought Unlimited. Public service Unix since 1986.
X-Of_Interest: With  24 years  of service to the  Unix community.


Guys,

I need some feedback from those DNS wizards onlist.  The trouble 
I've been having has to do with bind/named.  

My server failed when the old bind9 reached its end-of-life.  
Thr new bind97 is not a drop-in replacement and from the
troubles I See in my /var/log/messages, I don't understand 
why things are suddenly breaking.

Can I go back to the original, builtin bind in /contrib?  Else,
how can I go to the dns/bind9 that has worked for years?

thanks for any insights,

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 7.97a release of Jottings: http://jottings.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


I need help

2010-11-15 Thread Mohsen Mostafa Jokar
Hello.
My name is mohsen,I'm a student in software engineering.I'm from Iran.
I see Non-English Mailing lists in FreeBSD web site,and i understand FreeBSD
not have mailing list for my countery.
FrreBSD is popular distro in my country,I want know for create new mailing
list for my country what should i do?
I thankful If you guide me.

Thanks.
Best 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: I need help

2010-11-15 Thread Alejandro Imass
On Mon, Nov 15, 2010 at 7:16 AM, Mohsen Mostafa Jokar
mohsenjo...@gmail.com wrote:
 Hello.
 My name is mohsen,I'm a student in software engineering.I'm from Iran.
 I see Non-English Mailing lists in FreeBSD web site,and i understand FreeBSD
 not have mailing list for my countery.
 FrreBSD is popular distro in my country,I want know for create new mailing
 list for my country what should i do?
 I thankful If you guide me.

Hi Mohsen,

Look at the statement at the bottom of the non-English mailing list bullets:

If you create other FreeBSD mailing lists, let us know about them.
The link points to here: http://www.freebsd.org/mailto.html

You would need to round-up local FBSD user groups to see if they can
contribute to the maintenance of your server and Internet/Hosting
costs. Probably your best bet is a University that is willing to host
the server for you.

Once you have firgured out who and how you are going to cover the
costs of your mailing list and tie a domain to it. A domain like
FreeBSD would almost certainly be taken, in your case, Mr. Mehdi
Halataei has registered FreeBSD.ir but FreeBSD.org.ir is free so the
first thing I would do is go to http://www.nic.ir/ before some else
takes it. I would also contact Mr. Halataei to see what his intentions
are with that domain and maybe work together.

Once you have solved the issues above, get yourself some hardware and
set-up Mailman for your list. Once the list is ___working and
active___, contact the FBSD people to see if they can add it to the
non-English list. There may be some legal issues here because of the
export controls to Iran, in fact, there are probably even legal issues
downloading FBSD to Iran in the first place, although I think that
most components and ports qualify for exception of category 5 part II
of EAR, but I'm not an expert and this issue has come up several times
here so check the archives for more information.

A cheaper and fast alternative is to use Google Groups but I don't
know if it's legal or not, because as you probably know Google has no
direct presence in Iran. Check out with them first before you use that
option so later you won't lose your list archives if they shut down
the list.

--
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-21 Thread four . harrisons
Sorry for top posting - I'm stuck on my phone.

Shouldn't that be:

use perl;

;-)

Peter Harrison
www.4harrisons.blogspot.com


-
From:   Alejandro Imass a...@p2ee.org
Subject:Re: need help with php.
Date:   20th October 2010 21:28

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

___
freebsd-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-21 Thread Alejandro Imass
On Thu, Oct 21, 2010 at 4:53 AM,  four.harris...@googlemail.com wrote:
 Sorry for top posting - I'm stuck on my phone.

 Shouldn't that be:

 use perl;


That is correct sir! ;-)

 ;-)

 Peter Harrison
 www.4harrisons.blogspot.com

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


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

2010-10-19 Thread Gary Kline
On Mon, Oct 18, 2010 at 11:58:29PM -0400, Brad Mettee wrote:
 I do a lot with PHP.
 
 We can discuss on the list or in private.

How about we start onlist and if there are any complaints, we
can take it off-list?  I did keep it up and by now I feel like
I've been beat up by somebody with a club... .

 
 Does PHP fail to run, or are you seeing errors thrown by it?

Completely fail;  I find had minor errors before lang/php5
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.  


r...@ethic:/usr/local/www/apache22/data# php
PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
PHP Warning:  Module 'session' already loaded in Unknown on line 0

Does this mean anything obvious to you?  I have my mysql notes
on two other computers and will dig into the matter in the
morning.  IIRC, the mysql stuff shouldn't have any effect on a
counter.

 
 What's the URL of the failing script?

www.thought.org/ or www.thought.org/index.php and the counter,
www.thought.org.counter.php.  I hacked the counter several years
ago.  I'll send you the script offlist, if you want.

Final thought is that this can't be _that_ big a deal... I hope.


 
 Gary Kline 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?
 
 gary
 
 
 
 
 -- 
 Brad Mettee
 PC HotShots, Inc.
 Baltimore, MD
 (410) 426-7617
 - Let us bring out the **Power** of your PCs. -
 - Custom Business Software Solutions since 1991 -
 Visit us http://www.pchotshots.com for information about our company.

-- 
 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-19 Thread Lars Eighner

On Mon, 18 Oct 2010, Gary Kline wrote:


r...@ethic:/usr/local/www/apache22/data# php
PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
PHP Warning:  Module 'session' already loaded in Unknown on line 0

Does this mean anything obvious to you?  I have my mysql notes
on two other computers and will dig into the matter in the
morning.  IIRC, the mysql stuff shouldn't have any effect on a
counter.


It means a module is listed twice in extensions.ini (usually in
/usr/local/etc/ )  Make the message go away by removing redundant entries
manually or with sort -u.  This warning should be harmless in execution and
usually is only a bother when running command-line one-liners.

Unfortunately, many of the php module ports add themselves to
extensions.ini without checking whether they are already there.  After a few
upgrades you may have many entries for some modules.

Whatever is really wrong with your php, this isn't it.  As I said, harmless,
and generally not noticed except at the command line.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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-19 Thread John Levine
   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
___
freebsd-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-19 Thread Alejandro Imass
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.

Alejandro Imass

 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

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


need help with php.

2010-10-18 Thread Gary Kline

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?

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-18 Thread Brad Mettee

I do a lot with PHP.

We can discuss on the list or in private.

Does PHP fail to run, or are you seeing errors thrown by it?

What's the URL of the failing script?

Gary Kline 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?

gary



  


--
Brad Mettee
PC HotShots, Inc.
Baltimore, MD
(410) 426-7617
- Let us bring out the **Power** of your PCs. -
- Custom Business Software Solutions since 1991 -
Visit us http://www.pchotshots.com for information about our company.
___
freebsd-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 SATA disk timing out in 8.1 Beta

2010-06-19 Thread Graeme Dargie


-Original Message-
From: Jerry Bell [mailto:je...@nrdx.com] 
Sent: 18 June 2010 06:11
To: freebsd-questions@freebsd.org
Subject: Need help with SATA disk timing out in 8.1 Beta

I am having all sorts of problems with drives in a new server.
I have a 450G sata drive that hold my root partition, works great, no 
issues.
I have a second, 1TB drive that has been all sorts of trouble.  When 
writing to this disk, I occasionally see errors like this:

Jun 17 07:40:36 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error 
(retrying request) LBA=1564898207
Jun 17 07:40:36 www3 kernel: ad8: FAILURE - WRITE_DMA48 
status=51READY,DSC,ERROR error=10NID_NOT_FOUND LBA=1564898207
Jun 17 07:57:12 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error 
(retrying request) LBA=1565052351
Jun 17 07:57:12 www3 kernel: ad8: FAILURE - WRITE_DMA48 
status=51READY,DSC,ERROR error=10NID_NOT_FOUND LBA=1565052351
Jun 17 09:45:12 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error 
(retrying request) LBA=1565983775
Jun 17 09:45:12 www3 kernel: ad8: FAILURE - WRITE_DMA48 
status=51READY,DSC,ERROR error=10NID_NOT_FOUND LBA=1565983775
Jun 17 09:50:24 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error 
(retrying request) LBA=1566082719
Jun 17 09:50:24 www3 kernel: ad8: FAILURE - WRITE_DMA48 
status=51READY,DSC,ERROR error=10NID_NOT_FOUND LBA=1566082719
Jun 17 10:01:25 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error 
(retrying request) LBA=1566358623
Jun 17 10:01:25 www3 kernel: ad8: FAILURE - WRITE_DMA48 
status=51READY,DSC,ERROR error=10NID_NOT_FOUND LBA=1566358623
Jun 17 10:02:59 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error 
(retrying request) LBA=1566387807
Jun 17 10:02:59 www3 kernel: ad8: FAILURE - WRITE_DMA48 
status=51READY,DSC,ERROR error=10NID_NOT_FOUND LBA=1566387807
Jun 17 10:18:59 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error 
(retrying request) LBA=43231
Jun 17 10:18:59 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error 
(retrying request) LBA=57567
Jun 17 10:18:59 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error 
(retrying request) LBA=773471
Jun 17 10:18:59 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error 
(retrying request) LBA=786271
Jun 17 10:18:59 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error 
(retrying request) LBA=810079
Jun 17 10:19:00 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error 
(retrying request) LBA=76767
Jun 17 10:19:00 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error 
(retrying request) LBA=784479

Last week, I asked the datacenter to provide me with a new 1TB drive, 
and they did.  It formatted fine, no errors.  I copied files to it, ran 
bonnie, etc, and no signs of any DMA issues.
Until this morning when I started having the errors again.

If I run a tool like bonnie, I am very easily reproduce the errors.  
After some research, I find that these errors are often indicative of 
SATA cable problems.
The datacenter replaced the cable, and the problem continues.
The datacenter moved the sata cable to a new SATA port, and the problem 
continues
The datacenter adds a BRAND NEW 1TB drive (now the system has 3 drive), 
and I am unable to format the drive because of these errors:
ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request)
LBA=168172351
ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request)
LBA=602334847
ad10: FAILURE - WRITE_DMA48 status=51READY,DSC,ERROR 
error=10NID_NOT_FOUND LBA=602334847
ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request)
LBA=427014463
ad10: FAILURE - WRITE_DMA48 status=51READY,DSC,ERROR 
error=10NID_NOT_FOUND LBA=427014463
ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request)
LBA=15425407
ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request)
LBA=471408895
ad10: FAILURE - WRITE_DMA48 status=51READY,DSC,ERROR 
error=10NID_NOT_FOUND LBA=471408895
ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request)
LBA=91422655
ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request)
LBA=203161183
ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) 
LBA=1211817727
ad10: FAILURE - WRITE_DMA48 status=51READY,DSC,ERROR 
error=10NID_NOT_FOUND LBA=1211817727
ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request)
LBA=37998847
ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request)
LBA=309632575
ad10: FAILURE - WRITE_DMA48 status=51READY,DSC,ERROR 
error=10NID_NOT_FOUND LBA=309632575
ad10: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=24831007
ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request)
LBA=59067391
ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request)
LBA=497744575
ad10: FAILURE - WRITE_DMA48 status=51READY,DSC,ERROR 
error=10NID_NOT_FOUND LBA=497744575
ad10: FAILURE - WRITE_MUL status=51READY,DSC,ERROR 
error=84ICRC,ABORTED LBA=1128895
ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request)
LBA=13920511
ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request)
LBA=547029919
ad10: FAILURE - WRITE_DMA48 status

Re: Need help with SATA disk timing out in 8.1 Beta

2010-06-19 Thread Adam Vande More
On Fri, Jun 18, 2010 at 12:11 AM, Jerry Bell je...@nrdx.com wrote:

 I am having all sorts of problems with drives in a new server.
 I have a 450G sata drive that hold my root partition, works great, no
 issues.
 I have a second, 1TB drive that has been all sorts of trouble.  When
 writing to this disk, I occasionally see errors like this:

 Jun 17 07:40:36 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error
 (retrying request) LBA=1564898207
 snip
 I am at the end of my ability to troubleshoot this.  Could this be a
 problem with FreeBSD 8.1 beta and not the drives after all?
 I have seen a reference to a patch for previous versions that increase the
 DMA timeout time to 10 or 15 seconds, which fixes problems, but I am not
 certain that would fix my particular issue.


You could use ahci which might workaround the issue and give you better
performance.

load it from /boot/loader.conf

beware it will change names of detected devices, you may want to consider
using glabel.

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


Re: Need help with SATA disk timing out in 8.1 Beta

2010-06-18 Thread Matthias Gamsjager
Have you changed the cable?
___
freebsd-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 SATA disk timing out in 8.1 Beta

2010-06-18 Thread Jerry Bell

Yes, twice.
On 6/18/2010 4:52 AM, Matthias Gamsjager wrote:

Have you changed the cable?
___
freebsd-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


Need help with SATA disk timing out in 8.1 Beta

2010-06-17 Thread Jerry Bell

I am having all sorts of problems with drives in a new server.
I have a 450G sata drive that hold my root partition, works great, no 
issues.
I have a second, 1TB drive that has been all sorts of trouble.  When 
writing to this disk, I occasionally see errors like this:


Jun 17 07:40:36 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error 
(retrying request) LBA=1564898207
Jun 17 07:40:36 www3 kernel: ad8: FAILURE - WRITE_DMA48 
status=51READY,DSC,ERROR error=10NID_NOT_FOUND LBA=1564898207
Jun 17 07:57:12 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error 
(retrying request) LBA=1565052351
Jun 17 07:57:12 www3 kernel: ad8: FAILURE - WRITE_DMA48 
status=51READY,DSC,ERROR error=10NID_NOT_FOUND LBA=1565052351
Jun 17 09:45:12 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error 
(retrying request) LBA=1565983775
Jun 17 09:45:12 www3 kernel: ad8: FAILURE - WRITE_DMA48 
status=51READY,DSC,ERROR error=10NID_NOT_FOUND LBA=1565983775
Jun 17 09:50:24 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error 
(retrying request) LBA=1566082719
Jun 17 09:50:24 www3 kernel: ad8: FAILURE - WRITE_DMA48 
status=51READY,DSC,ERROR error=10NID_NOT_FOUND LBA=1566082719
Jun 17 10:01:25 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error 
(retrying request) LBA=1566358623
Jun 17 10:01:25 www3 kernel: ad8: FAILURE - WRITE_DMA48 
status=51READY,DSC,ERROR error=10NID_NOT_FOUND LBA=1566358623
Jun 17 10:02:59 www3 kernel: ad8: WARNING - WRITE_DMA48 UDMA ICRC error 
(retrying request) LBA=1566387807
Jun 17 10:02:59 www3 kernel: ad8: FAILURE - WRITE_DMA48 
status=51READY,DSC,ERROR error=10NID_NOT_FOUND LBA=1566387807
Jun 17 10:18:59 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error 
(retrying request) LBA=43231
Jun 17 10:18:59 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error 
(retrying request) LBA=57567
Jun 17 10:18:59 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error 
(retrying request) LBA=773471
Jun 17 10:18:59 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error 
(retrying request) LBA=786271
Jun 17 10:18:59 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error 
(retrying request) LBA=810079
Jun 17 10:19:00 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error 
(retrying request) LBA=76767
Jun 17 10:19:00 www3 kernel: ad8: WARNING - WRITE_DMA UDMA ICRC error 
(retrying request) LBA=784479


Last week, I asked the datacenter to provide me with a new 1TB drive, 
and they did.  It formatted fine, no errors.  I copied files to it, ran 
bonnie, etc, and no signs of any DMA issues.

Until this morning when I started having the errors again.

If I run a tool like bonnie, I am very easily reproduce the errors.  
After some research, I find that these errors are often indicative of 
SATA cable problems.

The datacenter replaced the cable, and the problem continues.
The datacenter moved the sata cable to a new SATA port, and the problem 
continues
The datacenter adds a BRAND NEW 1TB drive (now the system has 3 drive), 
and I am unable to format the drive because of these errors:

ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=168172351
ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=602334847
ad10: FAILURE - WRITE_DMA48 status=51READY,DSC,ERROR 
error=10NID_NOT_FOUND LBA=602334847

ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=427014463
ad10: FAILURE - WRITE_DMA48 status=51READY,DSC,ERROR 
error=10NID_NOT_FOUND LBA=427014463

ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=15425407
ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=471408895
ad10: FAILURE - WRITE_DMA48 status=51READY,DSC,ERROR 
error=10NID_NOT_FOUND LBA=471408895

ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=91422655
ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=203161183
ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) 
LBA=1211817727
ad10: FAILURE - WRITE_DMA48 status=51READY,DSC,ERROR 
error=10NID_NOT_FOUND LBA=1211817727

ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=37998847
ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=309632575
ad10: FAILURE - WRITE_DMA48 status=51READY,DSC,ERROR 
error=10NID_NOT_FOUND LBA=309632575

ad10: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=24831007
ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=59067391
ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=497744575
ad10: FAILURE - WRITE_DMA48 status=51READY,DSC,ERROR 
error=10NID_NOT_FOUND LBA=497744575
ad10: FAILURE - WRITE_MUL status=51READY,DSC,ERROR 
error=84ICRC,ABORTED LBA=1128895

ad10: WARNING - WRITE_DMA UDMA ICRC error (retrying request) LBA=13920511
ad10: WARNING - WRITE_DMA48 UDMA ICRC error (retrying request) LBA=547029919
ad10: FAILURE - WRITE_DMA48 status=51READY,DSC,ERROR 
error=10NID_NOT_FOUND LBA=547029919


So, the problem has occurred on 3 different drives.
SATA ports and cables do not appear to impact the problem.
The 

Re: need help with apache22 and libphp5.so

2010-06-08 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/06/2010 03:58:13, Gary Kline wrote:
   question number one, which port builds the apache php5
   library?  number two; is there one that will resolve the
   missing 'ap_user_id'?

Do you now, or did you once have apache13 installed on this machine?  It
sounds as if your lang/php5 port has linked against the wrong apache
version.

There have been some pretty important changes to the apache ports
recently.  Principally nowadays you have to have a separate devel/apr1
port installed, instead of defaulting to the one bundled with apache.
See the 20100518 entry in /usr/ports/UPDATING.  If you follow the
instructions there to reinstall www/apache22, then reinstall lang/php5
and all php5- or pecl- modules it should work better.

Optionally, you can add APACHE_PORT= www/apache22 to /etc/make.conf
but it should come right without having to do that.

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
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwN3FQACgkQ8Mjk52CukIyuKACcCZOooVkGIULlKoxEo2rgvSdl
dHYAoIVSn4pL8vkvUj6dVbmldiC+3Eb9
=bluo
-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: need help with apache22 and libphp5.so

2010-06-08 Thread Gary Kline
On Tue, Jun 08, 2010 at 06:59:48AM +0100, Matthew Seaman wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 08/06/2010 03:58:13, Gary Kline wrote:
  question number one, which port builds the apache php5
  library?  number two; is there one that will resolve the
  missing 'ap_user_id'?
 
 Do you now, or did you once have apache13 installed on this machine?  It
 sounds as if your lang/php5 port has linked against the wrong apache
 version.


Yes, and it is beyond bizarre since i've been using apache22
since jan, '08.   i've followed the instructions in UPDATING
more than a dzn times since 6p.m. or so  i finally looked
[and Saw]  that libphp5.so was going into apache22 rather
than apache/; i.e.:
/usr/local/libexec/apache/libphp5.so.  i'm almost certain.

it took more than three months late last summer - fall to
move my server off an ancient hp tower and into a duo-core
dell.  in the end i jmay have done a wholesale copy of the
binaries and done many upgrades.  hours ago i did indeed have
to delete apache13.  
 
 There have been some pretty important changes to the apache ports
 recently.  Principally nowadays you have to have a separate devel/apr1
 port installed, instead of defaulting to the one bundled with apache.

Right.  AS of 18may or so i guess the default is to use the
portable runtime libs [pl].  prior to this i was not AFAIK.
I keep the apache22 ports reasonably current by default, and
had not realized that my last portmaster and portupgrades had
gione awry.  By sheer chance late afternoon i saw one of my
tabs was labelled with Error...  


 See the 20100518 entry in /usr/ports/UPDATING.  If you follow the
 instructions there to reinstall www/apache22, then reinstall lang/php5
 and all php5- or pecl- modules it should work better.
 
 Optionally, you can add APACHE_PORT= www/apache22 to /etc/make.conf
 but it should come right without having to do that.
 


I hath donne that, Sire.  {it may be a wee bit olde fashioned
to used /etc/make.conf to write such in stone, but by the
time apache22 is at, say, apache3x, i shall be long
departed!}


   Cheers,
 
si, and Proost or na zdravi!

gary

oh, and santay[sp?]



   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
 -BEGIN PGP SIGNATURE-
 Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
 
 iEYEARECAAYFAkwN3FQACgkQ8Mjk52CukIyuKACcCZOooVkGIULlKoxEo2rgvSdl
 dHYAoIVSn4pL8vkvUj6dVbmldiC+3Eb9
 =bluo
 -END PGP SIGNATURE-

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

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


need help with apache22 and libphp5.so

2010-06-07 Thread Gary Kline

i'v been having trouble upgrading stuff for the past n weeks.  i
just noticed that my web server won't build.  or/when it does, it
won't start.  i just fired off /usr/local/sbin/apachetl -k start
and get:



httpd: Syntax error on line 104 of
/usr/local/etc/apache22/httpd.conf: Cannot load
/usr/local/libexec/apache22/libphp5.so into server: Cannot open
/usr/local/libexec/apache22/libphp5.so

When i try to locate this file, i find it in apache/libphp5.so:


r...@ethic:/usr/local/sbin# locate php5.so
/usr/local/libexec/apache/libphp5.so

Can anybody explain the recent changes?  i did read UPDATING, but
didn't get that much out of it...

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

___
freebsd-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 apache22 and libphp5.so

2010-06-07 Thread Gary Kline
On Mon, Jun 07, 2010 at 06:21:11PM -0700, Gary Kline wrote:
 
 i'v been having trouble upgrading stuff for the past n weeks.  i
 just noticed that my web server won't build.  or/when it does, it
 won't start.  i just fired off /usr/local/sbin/apachetl -k start
 and get:
 
 
 
 httpd: Syntax error on line 104 of
 /usr/local/etc/apache22/httpd.conf: Cannot load
 /usr/local/libexec/apache22/libphp5.so into server: Cannot open
 /usr/local/libexec/apache22/libphp5.so
 
 When i try to locate this file, i find it in apache/libphp5.so:
 
 
 r...@ethic:/usr/local/sbin# locate php5.so
 /usr/local/libexec/apache/libphp5.so
 
 Can anybody explain the recent changes?  i did read UPDATING, but
 didn't get that much out of it...
 

{*}


guys, i understand that it is 'improper' to reply to one's
own post, esp'ly the first reply, but i have discovered more
of what is ggoing on.  

First, i tried to start apache22 with the script in
/usr/local/etc/rc.d; same outcome, just same results are
starting the binary directly.  nonetheless,  i edited the
httpd.conf in /usr/local/etc/apache22.  i corrected the
libphp.so directory to read 'apache' rather than 'apache22'.

so the library is presumably loaded, then something else is
missing.  i cannot find ap_user_id; neither locate nor a
recursive grep finds this string.  

when i exec the /usr/local/etc/rc.d/apache22 with 'configtest'
as an arg i get this:


Performing sanity check on apache22 configuration:
httpd: Syntax error on line 104 of /usr/local/etc/apache22/httpd.conf: Cannot 
load /usr/local/libexec/apache/libphp5.so into server: 
/usr/local/libexec/apache/libphp5.so: Undefined symbol ap_user_id
r...@ethic:/usr/local/etc/rc.d# 
 


question number one, which port builds the apache php5
library?  number two; is there one that will resolve the
missing 'ap_user_id'?

several months ago i built a friend's website; he is is
contruction which is hurting; i figured having a website
might give him an edge.  no ..  this was gratis.  not dime,
dollar, nor favor is involved.  i would like to get apache up
for myself and my friend.  gotta say that this port wasn't
handled very well in /usr/ports/UPDATING.  OR, too, i may be
the idiot de jour.  i only care that my webserver gets up
again, so thanks for any clues!

gary


 
 
 
 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.83a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org  99 44/100% Guaranteed Novel

___
freebsd-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 apache22 and libphp5.so

2010-06-07 Thread Jeremy Johnston
On 06/07/10 19:58, Gary Kline wrote:
 On Mon, Jun 07, 2010 at 06:21:11PM -0700, Gary Kline wrote:
   
 i'v been having trouble upgrading stuff for the past n weeks.  i
 just noticed that my web server won't build.  or/when it does, it
 won't start.  i just fired off /usr/local/sbin/apachetl -k start
 and get:



 httpd: Syntax error on line 104 of
 /usr/local/etc/apache22/httpd.conf: Cannot load
 /usr/local/libexec/apache22/libphp5.so into server: Cannot open
 /usr/local/libexec/apache22/libphp5.so

 When i try to locate this file, i find it in apache/libphp5.so:


 r...@ethic:/usr/local/sbin# locate php5.so
 /usr/local/libexec/apache/libphp5.so

 Can anybody explain the recent changes?  i did read UPDATING, but
 didn't get that much out of it...

 
 {*}


   guys, i understand that it is 'improper' to reply to one's
   own post, esp'ly the first reply, but i have discovered more
   of what is ggoing on.  

   First, i tried to start apache22 with the script in
   /usr/local/etc/rc.d; same outcome, just same results are
   starting the binary directly.  nonetheless,  i edited the
   httpd.conf in /usr/local/etc/apache22.  i corrected the
   libphp.so directory to read 'apache' rather than 'apache22'.

   so the library is presumably loaded, then something else is
   missing.  i cannot find ap_user_id; neither locate nor a
   recursive grep finds this string.  

   when i exec the /usr/local/etc/rc.d/apache22 with 'configtest'
   as an arg i get this:


 Performing sanity check on apache22 configuration:
 httpd: Syntax error on line 104 of /usr/local/etc/apache22/httpd.conf: Cannot 
 load /usr/local/libexec/apache/libphp5.so into server: 
 /usr/local/libexec/apache/libphp5.so: Undefined symbol ap_user_id
 r...@ethic:/usr/local/etc/rc.d#   



   question number one, which port builds the apache php5
   library?  number two; is there one that will resolve the
   missing 'ap_user_id'?

   several months ago i built a friend's website; he is is
   contruction which is hurting; i figured having a website
   might give him an edge.  no ..  this was gratis.  not dime,
   dollar, nor favor is involved.  i would like to get apache up
   for myself and my friend.  gotta say that this port wasn't
   handled very well in /usr/ports/UPDATING.  OR, too, i may be
   the idiot de jour.  i only care that my webserver gets up
   again, so thanks for any clues!

   gary


   


 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
   

the lang/php5 (or lang/php52) port builds the apache module. you will
need to rebuild the php port.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Need help troubleshooting NIC

2010-02-08 Thread Mike Galvez
Over the weekend one my servers went down due to extended power failure.
The file system reports clean, but something has gone sideways with
networking. The server is a Dell 2950 running 7.0 release, and it's been
working fine for well over a year. It uses the BCE driver. Ifconfig
shows it to be up and active and configured with the correct IP, mask
and gateway, but I can't ping anything. 

I've tested the ethernet connection with a nearby machine and it works.
I also booted the 2950 from an Ubuntu live CD and the NIC worked, so i
don't think it's a hardware issue.

Is there a way I can rebuild the driver without having to rebuild the
kernel?

-- 
Michael Galvez
Information Technology Specialist University of Virginia
___
freebsd-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 troubleshooting NIC

2010-02-08 Thread Adam Vande More
On Mon, Feb 8, 2010 at 1:19 PM, Mike Galvez gal...@virginia.edu wrote:

 Over the weekend one my servers went down due to extended power failure.
 The file system reports clean, but something has gone sideways with
 networking. The server is a Dell 2950 running 7.0 release, and it's been
 working fine for well over a year. It uses the BCE driver. Ifconfig
 shows it to be up and active and configured with the correct IP, mask
 and gateway, but I can't ping anything.

 I've tested the ethernet connection with a nearby machine and it works.
 I also booted the 2950 from an Ubuntu live CD and the NIC worked, so i
 don't think it's a hardware issue.

 Is there a way I can rebuild the driver without having to rebuild the
 kernel?


What does netstat -r show?

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


Re: Need help troubleshooting NIC

2010-02-08 Thread Mike Galvez
On Mon, Feb 08, 2010 at 04:24:39PM -0600, Adam Vande More wrote:
 On Mon, Feb 8, 2010 at 1:19 PM, Mike Galvez gal...@virginia.edu wrote:
 
  Over the weekend one my servers went down due to extended power failure.
  The file system reports clean, but something has gone sideways with
  networking. The server is a Dell 2950 running 7.0 release, and it's been
  working fine for well over a year. It uses the BCE driver. Ifconfig
  shows it to be up and active and configured with the correct IP, mask
  and gateway, but I can't ping anything.
 
  I've tested the ethernet connection with a nearby machine and it works.
  I also booted the 2950 from an Ubuntu live CD and the NIC worked, so i
  don't think it's a hardware issue.
 
  Is there a way I can rebuild the driver without having to rebuild the
  kernel?
 
 
 What does netstat -r show?
 
 -- 
 Adam Vande More
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Adam,

Thanks for the reply. netstat -r shows a segfault before it finishes.
The machine is back online, but I beginning to think that maybe the nics
are flaky after all.

netstat -r
Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif
Expire
defaultcarruthers1-all-ro UGS 0   498375   bce0
localhost  localhost  UH  0  270lo0
128.143.87.0   link#1 UC  00   bce0
carruthers1-all-ro 00:d0:05:34:40:00  UHLW20   bce0 1197
Segmentation fault


-- 
Michael Galvez 
Information Technology Specialist University of Virginia
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


need help setting up webpage for xyxbuilders.us domain..

2010-01-28 Thread Gary Kline

can anybody help me set up my /etc/namedb/ files and mt
/usr/local/etc/apache22/ files to help a builder friend?  since
this probably isn't exactly on-topic, this might best be handled 
offlist from now on.  

nutshell is that this gentleman has saved me, my house, my family
umpteen times and i'm waaay overdue to return the favors.  i have no
idea how much work having a web page will get him, but it's
certainly worth a try.

thanks, guys,

gary


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix

___
freebsd-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 the last-two-ports!

2010-01-22 Thread Chris Rees
2010/1/22 Gary Kline kl...@thought.org:
 On Thu, Jan 21, 2010 at 10:19:29PM +0100, Polytropon wrote:
 On Thu, 21 Jan 2010 13:07:00 -0800, Gary Kline kl...@thought.org wrote:
      I have looked for this library to rebuild it; can't find.  Anybody know
      what's going on?

 Port:   nspr-4.6.7
 Path:   /usr/ports/devel/nspr
 Info:   A platform-neutral API for system level and libc like function

 This port installs libnspr.


        Thanks muchly.   I'd like to know which pkg_*  utility you used to find
        which port builds what.  if there is one!

        Another question is: Are there any other brosers that offer use of the
        festival tts app?  Konqueror is the only one i know of, altho there are
        some plugins that are alledged to work ... on linux.

        I'll stop there:_)

        gary

        ps: ff3.5 is rebuilding... .

pkg_which works for installed ports...

If the port isn't installed, then try this:

[ch...@amnesiac]~% echo /usr/ports/*/pkg-plist /usr/ports/*/Makefile |
xargs grep libnspr4.so

Obviously we need to search the Makefile too because some ports use
PLIST_FILES instead of pkg-plist.

Unfortunately this doesn't work if the plist is dynamically created...

HTH

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: need help with the last-two-ports!

2010-01-22 Thread Polytropon
On Thu, 21 Jan 2010 19:33:09 -0800, Gary Kline kl...@thought.org wrote:
   surprised how many things depend on that nspr...  wow.

It seems to be because many other things depend on Netscape
(or the corresponding HTML renderer or who knows what); from
the port's description:

Netscape Portable Runtime (NSPR) provides a
platform-neutral API for system level and
libc like functions. The API is used in the
Mozilla client, many of Netscape/AOL/iPlanet's
and other software offerings.

So why port software complicatedly to FreeBSD when all
the OS-specific stuff can be abstracted by another port? :-)


-- 
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: need help with the last-two-ports!

2010-01-22 Thread Gary Kline
On Sat, Jan 23, 2010 at 12:05:39AM +0100, Polytropon wrote:
 On Thu, 21 Jan 2010 19:33:09 -0800, Gary Kline kl...@thought.org wrote:
  surprised how many things depend on that nspr...  wow.
 
 It seems to be because many other things depend on Netscape
 (or the corresponding HTML renderer or who knows what); from
 the port's description:
 
   Netscape Portable Runtime (NSPR) provides a
   platform-neutral API for system level and
   libc like functions. The API is used in the
   Mozilla client, many of Netscape/AOL/iPlanet's
   and other software offerings.
 
 So why port software complicatedly to FreeBSD when all
 the OS-specific stuff can be abstracted by another port? :-)
 


It wasn't until I checked into the tests that I started to get a
clue; and since i never checked into the code, I can't say that much.  
But if these functions were to be a kind of libc that compiled and ran
Everywhere, these guys deserve five gold stars.
 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.79a release of Jottings: http://jottings.thought.org/index.php

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


need help with the last-two-ports!

2010-01-21 Thread Gary Kline

guys,

after days and weeks of portupgrading firefox35 is one of the two that
still fail to build.  both get wedged on
/usr/local/lib/libspr4.so; can anybody tell me how to resolve this?



gmake[3]: Entering directory
`/usr/ports/www/firefox35/work/mozilla-1.9.1/js/src'
c++ -o js -I/usr/local/include  -I/usr/local/include -fno-rtti -fno-exceptions
-Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
-Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -O2
-fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -fshort-wchar -pipe
-DNDEBUG -DTRIMMED -Os -fstrict-aliasing   js.o jsapi.o jsarena.o jsarray.o
jsatom.o jsbool.o jscntxt.o jsdate.o jsdbgapi.o jsdhash.o jsdtoa.o jsemit.o
jsexn.o jsfun.o jsgc.o jshash.o jsinterp.o jsinvoke.o jsiter.o jslock.o
jslog2.o jsmath.o jsnum.o jsobj.o json.o jsopcode.o jsparse.o jsprf.o
jsregexp.o jsscan.o jsscope.o jsscript.o jsstr.o jsutil.o jsxdrapi.o jsxml.o
prmjtime.o jstracer.o Assembler.o Fragmento.o LIR.o RegAlloc.o avmplus.o
Nativei386.o jsbuiltins.o-pthread  -Wl,-rpath-link,/bin
-Wl,-rpath-link,/usr/local/lib  -L./../../dist/bin -L./../../dist/lib
-L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread -lm -pthread -lm -pthread
-pthread -L/usr/local/lib -liconv -lm -pthread -lc
/usr/local/lib/libnspr4.so: undefined reference to `shm...@fbsd_1.1'
/usr/local/lib/libplds4.so: undefined reference to `sem...@fbsd_1.1'
gmake[3]: *** [js] Error 1
gmake[3]: Leaving directory
`/usr/ports/www/firefox35/work/mozilla-1.9.1/js/src'
gmake[2]: *** [libs_tier_js] Error 2
gmake[2]: Leaving directory `/usr/ports/www/firefox35/work/mozilla-1.9.1'
gmake[1]: *** [tier_js] Error 2
gmake[1]: Leaving directory `/usr/ports/www/firefox35/work/mozilla-1.9.1'
gmake: *** [default] Error 2
*** Error code 1

Stop in /usr/ports/www/firefox35.
r...@tao:/usr/ports/www/firefox35#
   
I have looked for this library to rebuild it; can't find.  Anybody know
what's going on?

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.79a release of Jottings: http://jottings.thought.org/index.php

___
freebsd-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 the last-two-ports!

2010-01-21 Thread Polytropon
On Thu, 21 Jan 2010 13:07:00 -0800, Gary Kline kl...@thought.org wrote:
   I have looked for this library to rebuild it; can't find.  Anybody know
   what's going on?

Port:   nspr-4.6.7
Path:   /usr/ports/devel/nspr
Info:   A platform-neutral API for system level and libc like function

This port installs libnspr.


-- 
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: need help with the last-two-ports!

2010-01-21 Thread Lowell Gilbert
Gary Kline kl...@thought.org writes:

   guys,

   after days and weeks of portupgrading firefox35 is one of the two that
   still fail to build.  both get wedged on
   /usr/local/lib/libspr4.so; can anybody tell me how to resolve this?



 gmake[3]: Entering directory
 `/usr/ports/www/firefox35/work/mozilla-1.9.1/js/src'
 c++ -o js -I/usr/local/include  -I/usr/local/include -fno-rtti -fno-exceptions
 -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
 -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -O2
 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -fshort-wchar -pipe
 -DNDEBUG -DTRIMMED -Os -fstrict-aliasing   js.o jsapi.o jsarena.o jsarray.o
 jsatom.o jsbool.o jscntxt.o jsdate.o jsdbgapi.o jsdhash.o jsdtoa.o jsemit.o
 jsexn.o jsfun.o jsgc.o jshash.o jsinterp.o jsinvoke.o jsiter.o jslock.o
 jslog2.o jsmath.o jsnum.o jsobj.o json.o jsopcode.o jsparse.o jsprf.o
 jsregexp.o jsscan.o jsscope.o jsscript.o jsstr.o jsutil.o jsxdrapi.o jsxml.o
 prmjtime.o jstracer.o Assembler.o Fragmento.o LIR.o RegAlloc.o avmplus.o
 Nativei386.o jsbuiltins.o-pthread  -Wl,-rpath-link,/bin
 -Wl,-rpath-link,/usr/local/lib  -L./../../dist/bin -L./../../dist/lib
 -L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread -lm -pthread -lm -pthread
 -pthread -L/usr/local/lib -liconv -lm -pthread -lc
 /usr/local/lib/libnspr4.so: undefined reference to `shm...@fbsd_1.1'

Right there is the path.  You spelled it wrong in your paragraph at the
top of the message; perhaps that's the problem?  If so, you should try
cut and paste instead of retyping the paths.

 /usr/local/lib/libplds4.so: undefined reference to `sem...@fbsd_1.1'
 gmake[3]: *** [js] Error 1
 gmake[3]: Leaving directory
 `/usr/ports/www/firefox35/work/mozilla-1.9.1/js/src'
 gmake[2]: *** [libs_tier_js] Error 2
 gmake[2]: Leaving directory `/usr/ports/www/firefox35/work/mozilla-1.9.1'
 gmake[1]: *** [tier_js] Error 2
 gmake[1]: Leaving directory `/usr/ports/www/firefox35/work/mozilla-1.9.1'
 gmake: *** [default] Error 2
 *** Error code 1

 Stop in /usr/ports/www/firefox35.
 r...@tao:/usr/ports/www/firefox35#

   I have looked for this library to rebuild it; can't find.  Anybody know
   what's going on?

[1001] (dhcptest) ~ ls -l /usr/local/lib/libnspr*
-rw-r--r--  1 root  wheel  330246 Jan 14 14:52 /usr/local/lib/libnspr4.a
lrwxr-xr-x  1 root  wheel  13 Jan 14 14:52
/usr/local/lib/libnspr4.so@ - libnspr4.so.1
-r-xr-xr-x  1 root  wheel  197348 Jan 14 14:52
/usr/local/lib/libnspr4.so.1*
[1002] (dhcptest) ~ pkg_info -W /usr/local/lib/libnspr4.so.1
/usr/local/lib/libnspr4.so.1 was installed by package nspr-4.8.2
[1003] (dhcptest) ~ 

But if you really rebuilt everything, that should've already been
rebuilt by now.  On most desktops, other things will use it too.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-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 the last-two-ports!

2010-01-21 Thread Gary Kline
On Thu, Jan 21, 2010 at 10:19:29PM +0100, Polytropon wrote:
 On Thu, 21 Jan 2010 13:07:00 -0800, Gary Kline kl...@thought.org wrote:
  I have looked for this library to rebuild it; can't find.  Anybody know
  what's going on?
 
 Port:   nspr-4.6.7
 Path:   /usr/ports/devel/nspr
 Info:   A platform-neutral API for system level and libc like function
 
 This port installs libnspr.
 

Thanks muchly.   I'd like to know which pkg_*  utility you used to find
which port builds what.  if there is one!

Another question is: Are there any other brosers that offer use of the
festival tts app?  Konqueror is the only one i know of, altho there are
some plugins that are alledged to work ... on linux.   

I'll stop there:_)

gary

ps: ff3.5 is rebuilding... .




 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.79a release of Jottings: http://jottings.thought.org/index.php

___
freebsd-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 the last-two-ports!

2010-01-21 Thread Gary Kline
On Thu, Jan 21, 2010 at 04:30:36PM -0500, Lowell Gilbert wrote:
 Gary Kline kl...@thought.org writes:
 
  guys,
 
  after days and weeks of portupgrading firefox35 is one of the two that
  still fail to build.  both get wedged on
  /usr/local/lib/libspr4.so; can anybody tell me how to resolve this?
 
 
 
  gmake[3]: Entering directory
  `/usr/ports/www/firefox35/work/mozilla-1.9.1/js/src'
  c++ -o js -I/usr/local/include  -I/usr/local/include -fno-rtti 
  -fno-exceptions
  -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
  -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof -Wno-long-long -O2
  -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -fshort-wchar -pipe
  -DNDEBUG -DTRIMMED -Os -fstrict-aliasing   js.o jsapi.o jsarena.o jsarray.o
  jsatom.o jsbool.o jscntxt.o jsdate.o jsdbgapi.o jsdhash.o jsdtoa.o jsemit.o
  jsexn.o jsfun.o jsgc.o jshash.o jsinterp.o jsinvoke.o jsiter.o jslock.o
  jslog2.o jsmath.o jsnum.o jsobj.o json.o jsopcode.o jsparse.o jsprf.o
  jsregexp.o jsscan.o jsscope.o jsscript.o jsstr.o jsutil.o jsxdrapi.o jsxml.o
  prmjtime.o jstracer.o Assembler.o Fragmento.o LIR.o RegAlloc.o avmplus.o
  Nativei386.o jsbuiltins.o-pthread  -Wl,-rpath-link,/bin
  -Wl,-rpath-link,/usr/local/lib  -L./../../dist/bin -L./../../dist/lib
  -L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread -lm -pthread -lm -pthread
  -pthread -L/usr/local/lib -liconv -lm -pthread -lc
  /usr/local/lib/libnspr4.so: undefined reference to `shm...@fbsd_1.1'
 
 Right there is the path.  You spelled it wrong in your paragraph at the
 top of the message; perhaps that's the problem?  If so, you should try
 cut and paste instead of retyping the paths.
 
  /usr/local/lib/libplds4.so: undefined reference to `sem...@fbsd_1.1'
  gmake[3]: *** [js] Error 1
  gmake[3]: Leaving directory
  `/usr/ports/www/firefox35/work/mozilla-1.9.1/js/src'
  gmake[2]: *** [libs_tier_js] Error 2
  gmake[2]: Leaving directory `/usr/ports/www/firefox35/work/mozilla-1.9.1'
  gmake[1]: *** [tier_js] Error 2
  gmake[1]: Leaving directory `/usr/ports/www/firefox35/work/mozilla-1.9.1'
  gmake: *** [default] Error 2
  *** Error code 1
 
  Stop in /usr/ports/www/firefox35.
  r...@tao:/usr/ports/www/firefox35#
 
  I have looked for this library to rebuild it; can't find.  Anybody know
  what's going on?
 
 [1001] (dhcptest) ~ ls -l /usr/local/lib/libnspr*
 -rw-r--r--  1 root  wheel  330246 Jan 14 14:52 /usr/local/lib/libnspr4.a
 lrwxr-xr-x  1 root  wheel  13 Jan 14 14:52
 /usr/local/lib/libnspr4.so@ - libnspr4.so.1
 -r-xr-xr-x  1 root  wheel  197348 Jan 14 14:52
 /usr/local/lib/libnspr4.so.1*
 [1002] (dhcptest) ~ pkg_info -W /usr/local/lib/libnspr4.so.1
 /usr/local/lib/libnspr4.so.1 was installed by package nspr-4.8.2
 [1003] (dhcptest) ~ 
 
 But if you really rebuilt everything, that should've already been
 rebuilt by now.  On most desktops, other things will use it too.


i do have other uses of pkg_info, but not -W; thanks for the datapoint.
yes, for a name of path this long i woulf have eventually moused and
cut and pasted.  this time i was particularly careful. Still, bzt.

win some, lose more, :)

gary 

ps: i did several portupgrades and as many pkgdb -Fv ... for some
reason there were consistently two that failed.  ff35 was one.  


 
 -- 
 Lowell Gilbert, embedded/networking software engineer, Boston area
   http://be-well.ilk.org/~lowell/

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.79a release of Jottings: http://jottings.thought.org/index.php

___
freebsd-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 the last-two-ports!

2010-01-21 Thread Polytropon
On Thu, 21 Jan 2010 16:14:30 -0800, Gary Kline kl...@thought.org wrote:
   Thanks muchly.   I'd like to know which pkg_*  utility you used to find
   which port builds what.  if there is one!

There is, but I did it the old-fahioned way, shame on me. :-)

% cd /usr/ports
% make search name=nspr

It doesn't work in all imaginable cases, of course, but
here, it did.


-- 
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: need help with the last-two-ports!

2010-01-21 Thread Gary Kline
On Fri, Jan 22, 2010 at 02:15:57AM +0100, Polytropon wrote:
 On Thu, 21 Jan 2010 16:14:30 -0800, Gary Kline kl...@thought.org wrote:
  Thanks muchly.   I'd like to know which pkg_*  utility you used to find
  which port builds what.  if there is one!
 
 There is, but I did it the old-fahioned way, shame on me. :-)
 
   % cd /usr/ports
   % make search name=nspr
 
 It doesn't work in all imaginable cases, of course, but
 here, it did.
 

i hope i NEVER forget this: pkg_info -W port

surprised how many things depend on that nspr...  wow.


 
 -- 
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.79a release of Jottings: http://jottings.thought.org/index.php

___
freebsd-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 configuring upsd, sound and logo saver on freebsd 8.0

2010-01-02 Thread Manish Jain

On 01/01/10 20:26, Matthew Seaman wrote:

Manish Jain wrote:


3) For my console saver ('logo'), I get the following error message at
boot-time :

module_register_init: MOD_LOAD (logo_saver, 0x81044010, 0)
error 19


Seems to be a long standing bug on amd64 systems: graphics based console
screen savers don't work. Any of the text based screen savers will function
correctly, although they don't look as nice.

Cheers,

Matthew




Hello Matthew,

Thanks for your reply. The only point that remains to be made is that I 
find the 'Cheers' at the end of your message quite ironic.


Being the owner of 2 kittens, I must dutifully assert that there is 
nothing to cheer about under the current situation. For the three of us, 
it has been a long-standing favourite pastime to watch Chuck in action. 
We would miss football (for some reason called soccer in the US) games / 
cricket games / movies / all other forms of entertainment, just to wait 
and watch for Chuck to show up. My kittens never managed to grab him, 
despite numerous valiant efforts. But this never undermined the 
fascination all three of us shared for Chuck.


If ever the FreeBSD operating system or AMD processors had a bug, this 
would be it. Above all, even to someone not in love with cats, having a 
genial and smiling mouse would be infinitely preferable to having such a 
nasty bug.



Cheers

Manish Jain
invalid.poin...@gmail.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Need help configuring upsd, sound and logo saver on freebsd 8.0

2010-01-02 Thread Pieter de Goeje
On Saturday 02 January 2010 19:37:23 Manish Jain wrote:
 On 01/01/10 20:26, Matthew Seaman wrote:
  Manish Jain wrote:
  3) For my console saver ('logo'), I get the following error message at
  boot-time :
 
  module_register_init: MOD_LOAD (logo_saver, 0x81044010, 0)
  error 19
 
  Seems to be a long standing bug on amd64 systems: graphics based console
  screen savers don't work. Any of the text based screen savers will
  function correctly, although they don't look as nice.
 
  Cheers,
 
  Matthew

 Hello Matthew,

 Thanks for your reply. The only point that remains to be made is that I
 find the 'Cheers' at the end of your message quite ironic.

 Being the owner of 2 kittens, I must dutifully assert that there is
 nothing to cheer about under the current situation. For the three of us,
 it has been a long-standing favourite pastime to watch Chuck in action.
 We would miss football (for some reason called soccer in the US) games /
 cricket games / movies / all other forms of entertainment, just to wait
 and watch for Chuck to show up. My kittens never managed to grab him,
 despite numerous valiant efforts. But this never undermined the
 fascination all three of us shared for Chuck.

 If ever the FreeBSD operating system or AMD processors had a bug, this
 would be it. Above all, even to someone not in love with cats, having a
 genial and smiling mouse would be infinitely preferable to having such a
 nasty bug.


 Cheers

 Manish Jain
 invalid.poin...@gmail.com

I can report that logo_saver works great on FreeBSD-CURRENT/amd64 with vesa 
loaded and options SC_PIXEL_MODE in the kernel configuration. Vesa support 
for amd64 systems was introduced after FreeBSD 8 was branched. 

Regards,

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


Need help configuring upsd, sound and logo saver on freebsd 8.0

2010-01-01 Thread Manish Jain


Hello All,

I recently installed FreeBSD 8.0 on my amd64 system attached to an APC 
UPS via USB and a RealTek HDA onboard soundcard. I chose 'logo' as the 
screensaver during installation, and put snd_hda_load=YES in 
/boot/loader.conf and upsd_enable=YES in /etc/rc.conf.


On booting, the sound driver gets loaded successfully and the APC UPS is 
also detected (although there is no mention of the UPS in the output of 
dmesg). I have the following problems :


1) There is no sound. AFAIK, there is a sysctl parameter to be tuned for 
setting the correct audio channel (in my case hdac1), but I have 
forgotten the parameter name. Can someone please remind me ?


2) upsd complains of inappropriate ioctl no matter which USB device node 
I set in /usr/local/etc/upsd.conf. How can I set the device name 
correctly so that the OS can shut itself down properly on extended power 
failure ?


3) For my console saver ('logo'), I get the following error message at 
boot-time :


module_register_init: MOD_LOAD (logo_saver, 0x81044010, 0) error 19


Happy New Year and Thanks for any help
Manish Jain
invalid.poin...@gmail.com



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


Re: Need help configuring upsd, sound and logo saver on freebsd 8.0

2010-01-01 Thread Roland Smith
On Fri, Jan 01, 2010 at 05:00:38PM +0530, Manish Jain wrote:
 
 I recently installed FreeBSD 8.0 on my amd64 system attached to an APC 
 UPS via USB and a RealTek HDA onboard soundcard. I chose 'logo' as the 
 screensaver during installation, and put snd_hda_load=YES in 
 /boot/loader.conf and upsd_enable=YES in /etc/rc.conf.
 
 On booting, the sound driver gets loaded successfully and the APC UPS is 
 also detected (although there is no mention of the UPS in the output of 
 dmesg). I have the following problems :

If there is nothing in dmesg, how do you know if it is detected?

 1) There is no sound. AFAIK, there is a sysctl parameter to be tuned for 
 setting the correct audio channel (in my case hdac1), but I have 
 forgotten the parameter name. Can someone please remind me ?

I think 'hw.snd.default_unit' is the one you are looking for. The command 'cat
/dev/sndstat' gives you an overview of which devices are available.

Also have a look at the output of 'mixer'. Maybe some volume is just set to
0. :-)

 2) upsd complains of inappropriate ioctl no matter which USB device node 
 I set in /usr/local/etc/upsd.conf. How can I set the device name 
 correctly so that the OS can shut itself down properly on extended power 
 failure ?

If the UPS daemon acts as a serial device, it binds to the ucom(4) driver. So
you'd expect to see a /dev/cuaU? and /dev/ttyU? device.
 
 3) For my console saver ('logo'), I get the following error message at 
 boot-time :
 
 module_register_init: MOD_LOAD (logo_saver, 0x81044010, 0) error 19

Can't help you here. I never use it.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgp5lVEv4djoz.pgp
Description: PGP signature


Re: Need help configuring upsd, sound and logo saver on freebsd 8.0

2010-01-01 Thread Frank Shute
On Fri, Jan 01, 2010 at 05:00:38PM +0530, Manish Jain wrote:

 
 Hello All,
 
 I recently installed FreeBSD 8.0 on my amd64 system attached to an APC 
 UPS via USB and a RealTek HDA onboard soundcard. I chose 'logo' as the 
 screensaver during installation, and put snd_hda_load=YES in 
 /boot/loader.conf and upsd_enable=YES in /etc/rc.conf.
 
 On booting, the sound driver gets loaded successfully and the APC UPS is 
 also detected (although there is no mention of the UPS in the output of 
 dmesg). I have the following problems :
 
 1) There is no sound. AFAIK, there is a sysctl parameter to be tuned for 
 setting the correct audio channel (in my case hdac1), but I have 
 forgotten the parameter name. Can someone please remind me ?

hw.snd.default_unit=1

in /etc/sysctl.conf ?

 
 2) upsd complains of inappropriate ioctl no matter which USB device node 
 I set in /usr/local/etc/upsd.conf. How can I set the device name 
 correctly so that the OS can shut itself down properly on extended power 
 failure ?

Have you tried sysutils/apcupsd. It's designed to work with APC upses.

Fairly easy to install  configure.

 
 3) For my console saver ('logo'), I get the following error message at 
 boot-time :
 
 module_register_init: MOD_LOAD (logo_saver, 0x81044010, 0) error 19
 
 
 Happy New Year and Thanks for any help
 Manish Jain


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html


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


Re: Need help configuring upsd, sound and logo saver on freebsd 8.0

2010-01-01 Thread Matthew Seaman

Manish Jain wrote:

3) For my console saver ('logo'), I get the following error message at 
boot-time :


module_register_init: MOD_LOAD (logo_saver, 0x81044010, 0) error 19


Seems to be a long standing bug on amd64 systems: graphics based console
screen savers don't work.  Any of the text based screen savers will function
correctly, although they don't look as nice.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


I need help on installation

2009-12-30 Thread Roger Agraviador
I found an old pc that I just reformatted the HDD using G parted, now that I
try to boot from a Free BSD CD (7.2 release) the Intel chip gives me an
error message that the system boot failed and asks me to insert a system
disk which I do not have, how do I go about that because I virtually cannot
install any operating system.

Do I have to install a boot loader like GRUB2? If so How do I go about that?
Since I have found no iso image of GRUB2 to burn into a live cd.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: I need help on installation

2009-12-30 Thread Oliver Mahmoudi
now that I try to boot from a Free BSD CD (7.2 release) the Intel chip gives
me an
error message that the system boot failed and asks me to insert a system
disk which I do not have

- are you sure that you have burned the 1st CD as a bootable ISO image?
- have you checked the boot sequence in your BIOS and labeled to try your CD
drive before your HD?
- what type of an Intel chip is it?

Do I have to install a boot loader like GRUB2?

- actually this shouldn't be necessary since the 1st FBSD CD is bootable


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


Re: I need help on installation

2009-12-30 Thread Fbsd1

Roger Agraviador wrote:

I found an old pc that I just reformatted the HDD using G parted, now that I
try to boot from a Free BSD CD (7.2 release) the Intel chip gives me an
error message that the system boot failed and asks me to insert a system
disk which I do not have, how do I go about that because I virtually cannot
install any operating system.

Do I have to install a boot loader like GRUB2? If so How do I go about that?
Since I have found no iso image of GRUB2 to burn into a live cd.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org




you have to change your bios boot options to boot from cd instead of the 
hard drive. after the freebsd install is complete then change it back


or if your bios allow a boot order change it to first look at cd drive 
and then hard drive to boot from

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


Re: I need help on installation

2009-12-30 Thread Peter Ulrich Kruppa
Am Mittwoch, den 30.12.2009, 01:27 -0800 schrieb Roger Agraviador:
 I found an old pc that I just reformatted the HDD using G parted, now
 that I
 try to boot from a Free BSD CD (7.2 release) the Intel chip gives me
 an
 error message that the system boot failed and asks me to insert a
 system
 disk which I do not have, how do I go about that because I virtually
 cannot
 install any operating system.
Did you enable booting from CD in your BIOS?

 
 Do I have to install a boot loader like GRUB2? 
No.

 If so How do I go about
 that?
 Since I have found no iso image of GRUB2 to burn into a live cd.
Greetings

Uli.

 ___
 freebsd-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: need help; cacti fails to build on 7.2-R, p4....

2009-11-26 Thread Gary Kline
On Thu, Nov 26, 2009 at 10:26:42AM +0530, Vaibhav Gavane wrote:
 Upgrade x11/libxcb


YEs, exactly right.  (ALong with portupgrade and other
build/fix tools.)

thanks much,

gary
-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.31a release of Jottings: http://jottings.thought.org/index.php

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


need help; cacti fails to build on 7.2-R, p4....

2009-11-25 Thread Gary Kline


Can anybody clue me in why cacti isn't building?  I obv'ly see the
stderr's, but want to know What now

This is after the 3D screen stuff.


checking whether to build static libraries... yes
checking for vasprintf... yes
checking for ssize_t... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XCB... configure: error: Package requirements (xcb =
1.4) were not met:

Requested 'xcb = 1.4' but version of XCB is 1.2

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XCB_CFLAGS
and XCB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

===  Script configure failed unexpectedly.
Please report the problem to ntar...@cs.uoi.gr [maintainer] and attach
the
/usr/ports/x11/xcb-util/work/xcb-util-0.3.6/config.log including the
output
of the failure of your make command. Also, it might be a good idea to
provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/x11/xcb-util.
*** Error code 1

Stop in /usr/ports/graphics/cairo.
*** Error code 1

Stop in /usr/ports/graphics/cairo.
*** Error code 1

Stop in /usr/ports/databases/rrdtool.
*** Error code 1

Stop in /usr/ports/databases/rrdtool.
*** Error code 1

Stop in /usr/ports/net-mgmt/cacti.
r...@ethic:/usr/ports/net-mgmt/cacti#  

-- 
   Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
  Misfortune doesn't improve anyone.  That is a fable to reassure the
 afflicted.  A life of hardship humiliates man and forces him to expend
all his energy on resisting its deadly pressure.  If a man comes out of
it improved, it only means that he has spent an enormous amount of energy
on improving in spite of everything.  Just think what he might have done 
without that pressure. --Jiri Mucha, *Living and Partly Living*


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