Re: devel/libsoup-2.32.2 Compile error _md5 problem

2011-01-21 Thread David Southwell
> On 1/20/11 5:39 PM, David Southwell wrote:
> [...]
> 
> > deleted gobject-introspection
> > Got the similar error messages--
> > 
> > Traceback (most recent call last):
> >   File "../tools/g-ir-scanner", line 43, in 
> >   
> > from giscanner.scannermain import scanner_main
> >   
> >   File "/usr/ports/devel/gobject-introspection/work/gobject-
> > 
> > introspection-0.9.12/giscanner/scannermain.py", line 34, in 
> > 
> > from giscanner.dumper import compile_introspection_binary
> >   
> >   File "/usr/ports/devel/gobject-introspection/work/gobject-
> > 
> > introspection-0.9.12/giscanner/dumper.py", line 26, in 
> > 
> > from .gdumpparser import IntrospectionBinary
> >   
> >   File "/usr/ports/devel/gobject-introspection/work/gobject-
> > 
> > introspection-0.9.12/giscanner/gdumpparser.py", line 30, in 
> > 
> > from .transformer import TransformerException
> >   
> >   File "/usr/ports/devel/gobject-introspection/work/gobject-
> > 
> > introspection-0.9.12/giscanner/transformer.py", line 26, in 
> > 
> > from .cachestore import CacheStore
> >   
> >   File "/usr/ports/devel/gobject-introspection/work/gobject-
> > 
> > introspection-0.9.12/giscanner/cachestore.py", line 24, in 
> > 
> > import hashlib
> >   
> >   File "/usr/local/lib/python2.6/hashlib.py", line 136, in 
> >   
> > md5 = __get_builtin_constructor('md5')
> >   
> >   File "/usr/local/lib/python2.6/hashlib.py", line 63, in
> > 
> > __get_builtin_constructor
> > 
> > import _md5
> > 
> > ImportError: No module named _md5
> > gmake[2]: *** [GLib-2.0.gir] Error 1
> > gmake[2]: Leaving directory `/usr/ports/devel/gobject-
> > introspection/work/gobject-introspection-0.9.12/gir'
> > gmake[1]: *** [all-recursive] Error 1
> > gmake[1]: Leaving directory `/usr/ports/devel/gobject-
> > introspection/work/gobject-introspection-0.9.12'
> > gmake: *** [all] Error 2
> > *** Error code 1
> > 
> > Stop in /usr/ports/devel/gobject-introspection.
> > *** Error code 1
> > 
> > Stop in /usr/ports/devel/libsoup.
> 
> Hi David,
> 
> What is the output of the command "pkg_version -vL="?  Can you build
> libsoup successfully in a clean jail (no ports installed) with an
> up-to-date ports tree?
> 
> From what I've seen by Googling the error message "ImportError: No
> module named _md5", you likely have a broken Python 2.6 installation.
> Can you pkg_delete it and reinstall it as well, assuming you don't have
> a boatload of ports that depend on it?
> 
> Regards,
> Greg

Hi Greg

Thanks for the suggestion I also think it is something to do with python2.6 
which I have already rebuilt one. I am out of the office until Tuesday but will 
set the system on another complete rebuild of python before I leave.  The jail 
idea will have to wait until then.


Thanks
David
I will report back
Photographic Artist
Permanent Installations & Design
Creative Imagery and Advanced Digital Techniques
High Dynamic Range Photography & Official Portraiture
Combined darkroom & digital creations
& Systems Adminstrator for the vizion2000.net network
___
freebsd-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: no apache22, php5 cores

2011-01-21 Thread Odhiambo Washington
On Fri, Jan 21, 2011 at 12:49 AM, Gary Kline  wrote:

>
> Guys,
>
> As of about an hour ago things are back.  I cannot get apache22 to
> launch of my server.  I rebuilt php5 then did a
>
> # php -v
>
> and got an immediate core dump.
>
> Note that I was using portmanager -u -f but without the --resume
> switch and was 88% done upgrading when I accidently killed the xterm
> [[ctwm]. I've made a clean start, this time with the -u -f and
> --resume flags.  Up to about 20%.  Could the php5 troubles be why I
> can't get apache to launch?  [I also rebuilt php5-extensions.
>
> Anything else I should consider?
>
>
Gary, you have several problems-in-one. Not sure where to start, but you can
do this:

cd /usr/local/lib/php
mv 2* _2* (decide what the * is)
mv /usr/local/etc/php/extensions.ini
/usr/local/etc/php/extensions.ini-troublesome
cd /usr/ports/lang/php5
make deinstall
make clean
make install clean
cd /usr/ports/lang/php5-extensions
make deinstall
make clean
make install clean

Apache22:

apachectl configtest

See what errors are generated and start posting those. We are watching.

You may want to see why Apache is not starting. Look at
/var/log/httpd-error.log


-- 
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: problems mounting android htc

2011-01-21 Thread Da Rock

On 01/21/11 07:18, Aryeh Friedman wrote:

A few things:

1. Yes it is required the reason I put it in the first place is ant
refused to build without it. (note 1)

2. How do I check the version on the phone?
   
Depending on your phone, try pressing menu, settings and it should be at 
the bottom: about phone. Software information is what you want.


OT: have you tried the vpn yet?

3. What kind of modifications would be needed to make it work on eclair?

Notes:

1. I eventually (once I get the standard ant style development
working) to customize our existing build system (based around aegis
[http//sf.aegis.net] and cook
[http://miller.emu.id.au/pmiller/software/cook/]) so the fact that ant
complains may not be an issue

On Thu, Jan 20, 2011 at 4:06 PM, Ilias-Dimitrios Vrachnis
  wrote:
   

On Thu, Jan 20, 2011 at 10:39 PM, Aryeh Friedman
  wrote:
 

% ant debug
...
/shared/home/aryeh/HelloAndroid/build.xml:78: For 'AOSP' SDK Preview,
attribute minSdkVersion in AndroidManifest.xml must be 'AOSP'
   

Hmmm. Interesting.
I am looking at the applications I developed under FreeBSD, and I did
not set the minSdkVersion at all in the Manifest.
Try that. If it doesn't work, i'm afraid there are not much more that
can be done. The AOSP version is froyo (2.2). That means that if
omitting the version in the manifest fails, you need the eclair sdk.
I'm afraid that that is not available for freebsd though.

You could target for 2.2 devices only, but if your phone does not run 2.2...
Well, you get the idea...

 

___
freebsd-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: Can't open serial line /dev/cuaa0: no such file or direcotry (2)

2011-01-21 Thread Polytropon
On Fri, 21 Jan 2011 00:04:12 +, Mike Adams  wrote:
> ls /dev shows that there is no cuaa0, only cuad0.  I see that
> this was changed to standardize naming conventions.

Exchanging the UART driver was also a reason, as far as
I know. The "conventional" serial driver can still be
compiled into the kernel, but it isn't the default
anymore since sometime in the 6- branch.



> I've tried sh makedev cuaa0, but get the errorCan't open
> makedev: no such file or directory. 

I think "sh MAKEDEV" would be the correct call. Anyway,
the /dev file system is a virtual file system now controlled
by the devfs and devd system services. There is no need
for the MAKEDEV script anymore.

You could try to add a line like

linkcuad0   cuaa0

to /etc/devfs.conf and then

# /etc/rc.d/devfs restart

but I may be possible that the program you're intending to
use does require the "conventional" serial driver that would
create /dev/cuaa* entries.

See the related man pages for more details.




-- 
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: Should I use the standard-supfile or stable-supfile?

2011-01-21 Thread Polytropon
On Thu, 20 Jan 2011 17:09:49 -0800, Rob Farmer  wrote:
> On Thu, Jan 20, 2011 at 15:42, Ed Flecko  wrote:
> > Thank you Nerius!
> >
> > Would it be smart to run this daily via cron?
> 
> No, the errata branches are only updated once every couple months (on
> average) - that's overkill.

As an addition: It may be an option to switch to binary
updates (using the freebsd-update program) if you want
to track -RELEASE for GENERIC kernel anyway.


-- 
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: chrooted ssh user and /dev/tty permission denied

2011-01-21 Thread Peter Vereshagin
You'll never silence the voice of the voiceless, Ibrahim!
2011/01/20 11:06:30 +0200 Ibrahim Harrani  => To 
freebsd-questions@freebsd.org :
IH> "cannot open /dev/tty: permission denied"  message.

This sounds as a problem of standard handles permissions to me. I'm not
expereinced in C library to qualify it more exactly.
I use such a hack against this, depending on the situattion:
1. -t parameter for your ssh client 
2. /usr/bin/script -qt0 /dev/null before your ssh command

or sometimes both of them.
Sometimes some of those hack leads to higher CPU consumption, so I omit the one.

IH> crw--w  1 root  tty0,  88 Jan 20 11:02 /dev/tty
IH> I tired to change permission as root from out of the chroot by chmod,
IH> the permission never change.

Since some version of freebsd the devices are kept in devfs and chmod may not
work ( although it did recently for me for some of a directory in /dev, or a
symlink, I just don't remember).
You should define a 'mode' rule in some of your /etc/devfs.* configs,
depending on your particular need.

73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB  12F8 0CE1 4AAC A0E2 6627)
--
http://vereshagin.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: Should I use the standard-supfile or stable-supfile?

2011-01-21 Thread Ed Flecko
Excellent! Thank you gentlemen!

Ed
___
freebsd-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: no apache22, php5 cores

2011-01-21 Thread Da Rock

On 01/21/11 07:49, Gary Kline wrote:

Guys,

As of about an hour ago things are back.  I cannot get apache22 to
launch of my server.  I rebuilt php5 then did a

# php -v

and got an immediate core dump.

Note that I was using portmanager -u -f but without the --resume
switch and was 88% done upgrading when I accidently killed the xterm
[[ctwm]. I've made a clean start, this time with the -u -f and
--resume flags.  Up to about 20%.  Could the php5 troubles be why I
can't get apache to launch?  [I also rebuilt php5-extensions.

Anything else I should consider?

thanks much.

   
My first consideration would be to shuffle your extensions. Apache won't 
start if php won't load, and php has a fit if the extensions are loaded 
in the wrong order- ie. module loaded before dependency.


It could be an upgrade disaster, but I'd doubt it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


upgrading a dozen of servers from 7.0 to 8.1

2011-01-21 Thread Radomskiy Yuriy
Hello!

I have around 15 servers running FreeBSD 7.0 across the country.
I would like to upgrade them to 7.3 or even 8.1 using binary updates.
They are primary mail servers all running apache-2.0 + php5-5.2.10, 
mysql-server-5.1, exim-4.69, dovecot-1.1
They are almost identical - they were identical a couple of years ago, but now 
they have some minor differences (soft, settings, scripts)
Hardware is all the same.
All the servers are in production.

The steps I have to do and the questions about them i have:
1. update all soft to current versions (including change of config files)
apache - goto v2.2
php - goto v5.3
mysql - stick with 5.1
exim - goto 4.73
dovecot - goto 1.2.16
q's: 
how can upgrading to apache 2.2 + php5.3 be done with minimal downtime?
can i upgrade or is it better to rebuild it from the scratch (because of major 
version changes)?

2. do a binary upgrade of OS according to handbook 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html

3. rebuil all the software again
portupgrade -af

I have two scenarios for this:
I.
1. restore a server from a backup on a dedicated machine.
2. do all the upgrade procedures on this dedicated server.
3. clone this upgraded server to the original server.
4. Repeat this procedure for each server.
Advantages: 
 - almost garanteed reliability.
Disadvantages: 
 - need to sync data from the last backup with current one.
 - takes very long time.

II.
1. restore one server from backup on a dedicated machine.
2. do all the upgrade procedures on this restored server.
3. write some sort of script that does the upgrate (or makes it easier).
4. upgrate all the servers (since they are almost identical) one at a time.
Advantages: 
 - should be faster 
Disadvantages: 
 - something might go wrong on some particular server(s).

Which method would you sudgest? 
Is there any other method or maybe enhancements ones to do the upgrade?
How can it be used that all servers are almost identical?
How can the process be automated?
Should i be looking into building binary packages of required software and 
redistributing them to the servers instead of building them from the ports tree 
(as it is done now)?

--
Yuriy.
___
freebsd-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: upgrading a dozen of servers from 7.0 to 8.1

2011-01-21 Thread Odhiambo Washington
On Fri, Jan 21, 2011 at 4:54 PM, Radomskiy Yuriy  wrote:

> Hello!
>
> I have around 15 servers running FreeBSD 7.0 across the country.
> I would like to upgrade them to 7.3 or even 8.1 using binary updates.
> They are primary mail servers all running apache-2.0 + php5-5.2.10,
> mysql-server-5.1, exim-4.69, dovecot-1.1
> They are almost identical - they were identical a couple of years ago, but
> now they have some minor differences (soft, settings, scripts)
> Hardware is all the same.
> All the servers are in production.
>
> The steps I have to do and the questions about them i have:
> 1. update all soft to current versions (including change of config files)
> apache - goto v2.2
> php - goto v5.3
> mysql - stick with 5.1
> exim - goto 4.73
> dovecot - goto 1.2.16
> q's:
> how can upgrading to apache 2.2 + php5.3 be done with minimal downtime?
>

portupgrade -o lang/php52 lang/php5

That will upgrade your php from 5.2.10 to 5.2.17. Please stick with
php-5.2.x unless you are sure php-5.3 will not break some web apps you are
running.

upgrade php-extensions the same way.


can i upgrade or is it better to rebuild it from the scratch (because of
> major version changes)?
>


You can upgrade. Please follow the instructions from
http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-7x-8x.txt

Just note one thing I noticed while upgrading my servers:

s/compat7x-`uname -m`-7.2.702000.200906.1.tbz/compat7x-`uname
-m`-7.3.703000.201008.tbz/g




> 2. do a binary upgrade of OS according to handbook
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html
>

You can do that, but I personally prefer
http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-7x-8x.txt.
I have never used freebsd-update on any system I run, but that is out of
choice, not any other reason!



>
> 3. rebuil all the software again
> portupgrade -af
>

If you follow
http://people.freebsd.org/~rse/upgrade/freebsd-upgrade-7x-8x.txt,
there will not be any urgency in doing portupgrade -af.



>
> I have two scenarios for this:
> I.
> 1. restore a server from a backup on a dedicated machine.
> 2. do all the upgrade procedures on this dedicated server.
> 3. clone this upgraded server to the original server.
> 4. Repeat this procedure for each server.
> Advantages:
>  - almost garanteed reliability.
> Disadvantages:
>  - need to sync data from the last backup with current one.
>  - takes very long time.
>
>
Too tedious!!



> II.
> 1. restore one server from backup on a dedicated machine.
> 2. do all the upgrade procedures on this restored server.
> 3. write some sort of script that does the upgrate (or makes it easier).
> 4. upgrate all the servers (since they are almost identical) one at a time.
> Advantages:
>  - should be faster
> Disadvantages:
>  - something might go wrong on some particular server(s).
>

Too tedious!!



> Which method would you sudgest?
>


As I suggested above!!


> Is there any other method or maybe enhancements ones to do the upgrade?
>

??


> How can it be used that all servers are almost identical?
>

Using RSE's methods, your servers will remain as identical as they are now.
Only you will end up running FreeBSD 8.x :-)



> How can the process be automated?
>

Unattended? Never for a server!!!
Scripted?? By RSE!!


> Should i be looking into building binary packages of required software and
> redistributing them to the servers instead of building them from the ports
> tree (as it is done now)?
>
>
No.

-- 
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: HP LaserJet P1102 on FreeBSD 8.1

2011-01-21 Thread Warren Block

On Fri, 21 Jan 2011, Bahman Kahinpour wrote:


I have a HP LaserJet P1102 printer and I want to use it with FreeBSD 8.1.


That's a foo2zjs printer, according to openprinting.org. 
http://forums.freebsd.org/showthread.php?t=18933 may help.


___
freebsd-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: devel/libsoup-2.32.2 Compile error _md5 problem

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

On 1/21/11 12:41 AM, Chris Brennan wrote:
> On Thu, Jan 20, 2011 at 9:35 PM, Greg Larkin  wrote:
> 
>>  Hi David,
>>
>> What is the output of the command "pkg_version -vL="?  Can you build
>> libsoup successfully in a clean jail (no ports installed) with an
>> up-to-date ports tree?
>>
>> - From what I've seen by Googling the error message "ImportError: No
>> module named _md5", you likely have a broken Python 2.6 installation.
>> Can you pkg_delete it and reinstall it as well, assuming you don't have
>> a boatload of ports that depend on it?
>>
>> Regards,
>> Greg
>>
> 
>  Don't meant to hijkack this thread but my issue is slightly related. I.e.
> broken Python :( I've built and rebuild Python26 and migrated everything I
> can think of that depended on Py25 -> Py26 and stuff still goes boom.
> Horrible booms too! Most notably it's gobject-introspection and py-dbus and
> so much depends on these that I'm about to throw the switch on this box and
> start over again. When it does it claims it can't find the py26 headers
> tho what gives?

Hi Chris,

Please post some compiler output with the error message here, and that
might help someone troubleshoot the problem.

Regards,
Greg
- -- 
Greg Larkin

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

iEYEARECAAYFAk05rh0ACgkQ0sRouByUApCX/wCghx+vAZtG4vi0LAepjBY8E6dW
xRsAoJP26O71ZBJNBl+l4gEllv43yJ8O
=KaQf
-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: upgrading a dozen of servers from 7.0 to 8.1

2011-01-21 Thread Ivan Voras

On 21/01/2011 14:54, Radomskiy Yuriy wrote:


how can upgrading to apache 2.2 + php5.3 be done with minimal downtime?


That's the more important question. I think that upgrading the 
configuration of your software will take more time than upgrading FreeBSD.


For example: apache22 port has a different (and better) configuration 
file structure than 2.0, and some web application still don't work with 
php 5.3.


If you know reasonably good enough how FreeBSD works, I don't think you 
will have trouble with that part of the upgrade (especially if you have 
a remote KVM or other console access).


___
freebsd-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: use of menus crashes Firefox? (resolved, I think)

2011-01-21 Thread Chuck Swiger
On Jan 20, 2011, at 9:07 PM, Keith Seyffarth wrote:
> And menus work in Firefox 3.6. I'll have to actually work with it for a
> day tomorrow to see how it holds up, but I've tried a variety of things
> and it seems to be playing nicely.

Very good.

> It looks like the solution was to rebuild the kernel with semaphore
> support through P1003_1B_SEMAPHORES.

Indeed.  Someone pointed out that you might have been able to kldload sem 
module, and if that worked that might well have been a good solution.  However, 
kernel modules normally get loaded automagically when needed, so if there was a 
difference in behavior, compiling the option in directly sometimes works 
better, and is also a bit more efficient in terms of kernel resources.

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: devel/libsoup-2.32.2 Compile error _md5 problem

2011-01-21 Thread Chris Brennan
On Fri, Jan 21, 2011 at 11:02 AM, Greg Larkin  wrote:

> Hi Chris,
>
> Please post some compiler output with the error message here, and that
> might help someone troubleshoot the problem.
>
>
I ran portmaster -a again this morning *just* so I could reproduce this
error :D

checking whether Python support is requested... checking whether
/usr/local/bin/python2.6 version >= 2.5... yes
checking for /usr/local/bin/python2.6 version... 2.6
checking for /usr/local/bin/python2.6 platform... freebsd7
checking for /usr/local/bin/python2.6 script directory...
${prefix}/lib/python2.6/site-packages
checking for /usr/local/bin/python2.6 extension module directory...
${exec_prefix}/lib/python2.6/site-packages
checking for headers required to compile python extensions... not found
configure: error: Python headers not found
===>  Script "configure" failed unexpectedly.
Please run the gnomelogalyzer, available from
"http://www.freebsd.org/gnome/gnomelogalyzer.sh";, which will diagnose the
problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
solve the problem, report the build failure to the FreeBSD GNOME team at
gn...@freebsd.org, and attach (a)
"/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.9.12/config.log",
(b) the output of the failed make command, and (c) the gnomelogalyzer
output.
Also, it might be a good idea to provide an overview of all packages
installed
on your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any
website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use
send-pr(1) with the attachment. Try to avoid sending any attachments to the
mailing list (gn...@freebsd.org), because attachments sent to FreeBSD
mailing
lists are usually discarded by the mailing list software.
*** Error code 1

Stop in /usr/ports/devel/gobject-introspection.

===>>> make failed for devel/gobject-introspection
===>>> Aborting update

===>>> Update for devel/gobject-introspection failed
===>>> Aborting update


As you can see, it fails to find the py26 headers (which do exist)

[root@Ziggy [~]# python -V
Python 2.6.6
[root@Ziggy [~]# lsl /usr/local/include/python2.6/
total 530
  2 drwxr-xr-x2 root  wheel   2.0K Jan 20 12:43 .
  6 drwxr-xr-x  141 root  wheel   6.0K Jan 21 12:59 ..
 20 -r--r--r--1 root  wheel20K Jan 20 12:42 Python-ast.h
  6 -r--r--r--1 root  wheel   4.2K Jan 20 12:42 Python.h
 44 -r--r--r--1 root  wheel44K Jan 20 12:42 abstract.h
  2 -r--r--r--1 root  wheel   1.1K Jan 20 12:42 asdl.h
  2 -r--r--r--1 root  wheel   230B Jan 20 12:42 ast.h
  2 -r--r--r--1 root  wheel   792B Jan 20 12:42 bitset.h
  2 -r--r--r--1 root  wheel   912B Jan 20 12:42 boolobject.h
  2 -r--r--r--1 root  wheel   922B Jan 20 12:42 bufferobject.h
  2 -r--r--r--1 root  wheel   1.9K Jan 20 12:42 bytearrayobject.h
  4 -r--r--r--1 root  wheel   3.2K Jan 20 12:42 bytes_methods.h
  2 -r--r--r--1 root  wheel   1.4K Jan 20 12:42 bytesobject.h
  2 -r--r--r--1 root  wheel   2.0K Jan 20 12:42 cStringIO.h
  2 -r--r--r--1 root  wheel   651B Jan 20 12:42 cellobject.h
  6 -r--r--r--1 root  wheel   5.0K Jan 20 12:42 ceval.h
  4 -r--r--r--1 root  wheel   2.9K Jan 20 12:43 classobject.h
  2 -r--r--r--1 root  wheel   1.8K Jan 20 12:43 cobject.h
  4 -r--r--r--1 root  wheel   3.4K Jan 20 12:43 code.h
  6 -r--r--r--1 root  wheel   4.9K Jan 20 12:43 codecs.h
  2 -r--r--r--1 root  wheel   1.1K Jan 20 12:43 compile.h
  2 -r--r--r--1 root  wheel   1.5K Jan 20 12:43 complexobject.h
 10 -r--r--r--1 root  wheel   8.4K Jan 20 12:43 datetime.h
  4 -r--r--r--1 root  wheel   2.4K Jan 20 12:43 descrobject.h
  6 -r--r--r--1 root  wheel   5.8K Jan 20 12:43 dictobject.h
  2 -r--r--r--1 root  wheel   253B Jan 20 12:43 enumobject.h
  2 -r--r--r--1 root  wheel   1.3K Jan 20 12:43 errcode.h
  2 -r--r--r--1 root  wheel   557B Jan 20 12:43 eval.h
  4 -r--r--r--1 root  wheel   2.8K Jan 20 12:43 fileobject.h
  6 -r--r--r--1 root  wheel   4.9K Jan 20 12:43 floatobject.h
  4 -r--r--r--1 root  wheel   2.9K Jan 20 12:43 frameobject.h
  4 -r--r--r--1 root  wheel   2.9K Jan 20 12:43 funcobject.h
  2 -r--r--r--1 root  wheel   891B Jan 20 12:43 genobject.h
  2 -r--r--r--1 root  wheel   1.9K Jan 20 12:43 graminit.h
  2 -r--r--r--1 root  wheel   2.0K Jan 20 12:43 grammar.h
  4 -r--r--r--1 root  wheel   2.2K Jan 20 12:43 import.h
  4 -r--r--r--1 root  wheel   2.7K Jan 20 12:43 intobject.h
  2 -r--r--r--1 root  wheel   274B Jan 20 12:43 intrcheck.h
  2 -r--r--r--1 root  wheel   522B Jan 20 12:43 iterobject.h
  4 -r--r--r--1 root  wheel   2.5K Jan 20 12:43 listobject.h
  4 -r--r--r--1 root  wheel   2.3K Jan 20 12:43 longintrepr.h
  6 -r--r--r--1 root  wheel   5.5K Jan 20 12:43 longobject.h
  2 -r--r--r--1 root  wheel   713B Jan 20 12:43 marshal.h
  2 -r--r--r--1 root  wheel   253B Jan 20 12:43 metagrammar.h
  4 -r--r--r--1 root  wheel   3.2K Jan 20 12:4

Re: rescue cd with networkign and ssh!

2011-01-21 Thread Devin Teske
On Thu, 2011-01-20 at 11:24 -0800, Devin Teske wrote:
> On Thu, 2011-01-20 at 13:53 +, Paul Macdonald wrote:
> > Hi,
> > 
> > can any recommend a live cd (any distro) that will mount ufs and has 
> > networking+sshd.
> 
> How about DruidBSD? http://druidbsd.sf.net/
> 
> Bullet Points:
> - ISO is 24MB
> - Contains over 150 standard (and some non-standard) BSD utilities
> - Runs entirely from memory
> - Is based on FreeBSD-8.1
> - Includes the tmpfs kernel module (should you need to allocate more
> disk space from RAM)
> - Works from optical media (CD/DVD) and USB flash drives

How to get this onto a thumb drive (using FreeBSD):

Step 1: Download DruidBSD-1.0b1.iso

Step 2: Insert your USB thumb drive.

Step 3: Execute: camcontrol devlist
NOTE: find the `daN' device associated with your thumb drive

Step 4: Execute: dd if=DruidBSD-1.0b1.iso of=/dev/da5
NOTE: assuming that `da5' is your thumb drive

Step 5: Execute: echo "p 2 0x0c * *" | fdisk -f - /dev/da5
NOTE: again, assuming `da5' is your thumb drive

Step 6: Execute: newfs_msdos /dev/da5s2
NOTE: again, assuming `da5' is your thumb drive

That's it. You now have a thumb drive with:

a. An invisible boot partition for booting into DruidBSD
b. The remainder of unused space allocated as a DOS-compatible
partition, usable under Mac, Windows, Linux, and UNIX.

When you plug the thumbdrive into any computer, it may appear to the
untrained eye that it's a blank thumb drive. Little do they know that
there's an invisible bootable partition chalk-full of utilities and a
full BSD distro.

NOTE: If want a UFS partition instead of a W95 FAT LBA partition, change
the above "p 2 0x0c * *" to instead "p 2 0xa5 * *" and also change
"newfs_msdos" to instead "newfs".
--
Devin


> - Utilizes crunchgen to maintain tiny footprint
> - Designed to be a fully-operational FreeBSD distribution for embedded
> devices but doubles as an amazing rescue-disc
> - Graphical boot-loader
> 
> Full Disclosure: I'm the author.
> 
> Quick-steps:
> 
> 1. Download either DruidBSD-X.Y.iso (24MB) or Druid-X.Y.iso (same as
> former, but adds valuable diagnostic utilities such as windiag, memtest,
> seatools, dban, and killdisk; 32MB).
> 
> 2. Burn to optical media _or_ use dd(1) to write directly to thumb drive
> _or_ load it directly into a VMware virtual machine's virtual-CDROM.
> 
> 3. Boot. That's it.
> 
> 
> 
> NOTE: If http://druidbsd.sf.net/ doesn't load for you, try instead
> http://druidbsd.sourceforge.net/ (the former produces a 302-redirect to
> the latter which may not be followed by all HTTP clients).
> 
> 
> > 
> > I've tried pc bsie (2.1, 2.0, 1.1) which doesn't even seem to work on a 
> > test machine here , won;t mount the /dev/cd image ( folder is 0 bytes in 
> > iso) .
> > 
> > Ubuntu live will boot the box and sshd can be installed but it won;t 
> > mount the disks (apparently it needs a custom kernel).
> > 
> > the live cd image needs to work in a datacenter.
> > 
> > thanks
> > Paul.
> > 
> 
-- 
Cheers,
Devin Teske

-> CONTACT INFORMATION <-
Business Solutions Consultant II
FIS - fisglobal.com
510-735-5650 Mobile
510-621-2038 Office
510-621-2020 Office Fax
909-477-4578 Home/Fax
devin.te...@fisglobal.com

-> LEGAL DISCLAIMER <-
This message  contains confidential  and proprietary  information
of the sender,  and is intended only for the person(s) to whom it
is addressed. Any use, distribution, copying or disclosure by any
other person  is strictly prohibited.  If you have  received this
message in error,  please notify  the e-mail sender  immediately,
and delete the original message without making a copy.

-> END TRANSMISSION <-

___
freebsd-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: rescue cd with networkign and ssh!

2011-01-21 Thread Chris Brennan
On Fri, Jan 21, 2011 at 2:23 PM, Devin Teske  wrote:

> How to get this onto a thumb drive (using FreeBSD):
>
> Step 1: Download DruidBSD-1.0b1.iso
>
> Step 2: Insert your USB thumb drive.
>
> Step 3: Execute: camcontrol devlist
> NOTE: find the `daN' device associated with your thumb drive
>
> Step 4: Execute: dd if=DruidBSD-1.0b1.iso of=/dev/da5
> NOTE: assuming that `da5' is your thumb drive
>
> Step 5: Execute: echo "p 2 0x0c * *" | fdisk -f - /dev/da5
> NOTE: again, assuming `da5' is your thumb drive
>
> Step 6: Execute: newfs_msdos /dev/da5s2
> NOTE: again, assuming `da5' is your thumb drive
>
> That's it. You now have a thumb drive with:
>
> a. An invisible boot partition for booting into DruidBSD
> b. The remainder of unused space allocated as a DOS-compatible
> partition, usable under Mac, Windows, Linux, and UNIX.
>
> When you plug the thumbdrive into any computer, it may appear to the
> untrained eye that it's a blank thumb drive. Little do they know that
> there's an invisible bootable partition chalk-full of utilities and a
> full BSD distro.
>
> NOTE: If want a UFS partition instead of a W95 FAT LBA partition, change
> the above "p 2 0x0c * *" to instead "p 2 0xa5 * *" and also change
> "newfs_msdos" to instead "newfs".


Sweet, this is exactly what I needed.

>
___
freebsd-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: NTPd GPS with BU-353 USB on FreeBSD 8.x??

2011-01-21 Thread Craig Whipp
On Sat, January 15, 2011 7:51 pm, Howard Leadmon wrote:
>
> I would have sworn I had a doc on configuring the BU-353 GPS receiver on
> FreeBSD, and in fact why I picked one up on the cheap when I had the chance.
>
>
> That said, I have googled and binged and everything else, and I'll be damned
> if I can find any definitive instructions as to how to get this working on my
> FreeBSD server.
>
> If anyone has this working, or knows of how I can get this configured and
> running with ntpd, a little help would be most appreciated...
>
>
>
> ---
> Howard

I've seen reference to this in the man page for astro/gpsd, you might want to 
look
there.

- Craig


___
freebsd-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: no apache22, php5 cores

2011-01-21 Thread Gary Kline
On Fri, Jan 21, 2011 at 01:37:28PM +0300, Odhiambo Washington wrote:
> On Fri, Jan 21, 2011 at 12:49 AM, Gary Kline  wrote:
> 
> >
> > Guys,
> >
> > As of about an hour ago things are back.  I cannot get apache22 to
> > launch of my server.  I rebuilt php5 then did a
> >
> > # php -v
> >
> > and got an immediate core dump.
> >
> > Note that I was using portmanager -u -f but without the --resume
> > switch and was 88% done upgrading when I accidently killed the xterm
> > [[ctwm]. I've made a clean start, this time with the -u -f and
> > --resume flags.  Up to about 20%.  Could the php5 troubles be why I
> > can't get apache to launch?  [I also rebuilt php5-extensions.
> >
> > Anything else I should consider?
> >
> >
> Gary, you have several problems-in-one. Not sure where to start, but you can
> do this:
> 
> cd /usr/local/lib/php
> mv 2* _2* (decide what the * is)
> mv /usr/local/etc/php/extensions.ini
> /usr/local/etc/php/extensions.ini-troublesome
> cd /usr/ports/lang/php5
> make deinstall
> make clean
> make install clean
> cd /usr/ports/lang/php5-extensions
> make deinstall
> make clean
> make install clean
> 
> Apache22:
> 
> apachectl configtest
> 
> See what errors are generated and start posting those. We are watching.
> 
> You may want to see why Apache is not starting. Look at
> /var/log/httpd-error.log
> 

I am just about to do exactly that, Wash.   --Now that I've had
27 cups of coffee and am awake.[[ Did _not_ knoe about the 
configtest option to apachectl, tho, and appreciate the
pointer.]]

gary


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

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


Re: NTPd GPS with BU-353 USB on FreeBSD 8.x??

2011-01-21 Thread Nathan Vidican
On Fri, Jan 21, 2011 at 2:21 PM, Craig Whipp  wrote:
>
> On Sat, January 15, 2011 7:51 pm, Howard Leadmon wrote:
> >
> > I would have sworn I had a doc on configuring the BU-353 GPS receiver on
> > FreeBSD, and in fact why I picked one up on the cheap when I had the chance.
> >
> >
> > That said, I have googled and binged and everything else, and I'll be damned
> > if I can find any definitive instructions as to how to get this working on 
> > my
> > FreeBSD server.
> >
> > If anyone has this working, or knows of how I can get this configured and
> > running with ntpd, a little help would be most appreciated...
> >
> >
> >
> > ---
> > Howard
>
> I've seen reference to this in the man page for astro/gpsd, you might want to 
> look
> there.
>
> - Craig
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

See: 
http://desrablog.blogspot.com/2010/02/freebsd-with-gps-to-give-stratum-0-time.html

--
Nathan Vidican
nat...@vidican.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: no apache22, php5 cores

2011-01-21 Thread Gary Kline
On Fri, Jan 21, 2011 at 01:37:28PM +0300, Odhiambo Washington wrote:
> On Fri, Jan 21, 2011 at 12:49 AM, Gary Kline  wrote:
> 
> >
> Gary, you have several problems-in-one. Not sure where to start, but you can
> do this:
> 
> cd /usr/local/lib/php
> mv 2* _2* (decide what the * is)
> mv /usr/local/etc/php/extensions.ini
> /usr/local/etc/php/extensions.ini-troublesome
> cd /usr/ports/lang/php5
> make deinstall
> make clean
> make install clean
> cd /usr/ports/lang/php5-extensions
> make deinstall
> make clean
> make install clean
> 
> Apache22:
> 
> apachectl configtest
> 
> See what errors are generated and start posting those. We are watching.
> 
> You may want to see why Apache is not starting. Look at
> /var/log/httpd-error.log
> 

OK, First, the apachectl configtest test return an "Ok";
aoache and everything other essential seems to be working.  What
is failing is being able to reach my own websites.  I can point
lynx at www.thought.org [or any of my virtual sites], and things
time out.

***

Maybe the new bind97?


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

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


Re: no apache22, php5 cores

2011-01-21 Thread Gary Kline
On Fri, Jan 21, 2011 at 11:05:53PM +1000, Da Rock wrote:
> On 01/21/11 07:49, Gary Kline wrote:
> >Guys,
> >
> >As of about an hour ago things are back.  I cannot get apache22 to
> >launch of my server.  I rebuilt php5 then did a
> >
> ># php -v
> >
> >and got an immediate core dump.
> >
> >Note that I was using portmanager -u -f but without the --resume
> >switch and was 88% done upgrading when I accidently killed the xterm
> >[[ctwm]. I've made a clean start, this time with the -u -f and
> >--resume flags.  Up to about 20%.  Could the php5 troubles be why I
> >can't get apache to launch?  [I also rebuilt php5-extensions.
> >
> >Anything else I should consider?
> >
> >thanks much.
> >
> My first consideration would be to shuffle your extensions. Apache
> won't start if php won't load, and php has a fit if the extensions
> are loaded in the wrong order- ie. module loaded before dependency.
> 
> It could be an upgrade disaster, but I'd doubt it.


Everything seems to be working except that

% lynx http://www.thought.org/

times out.  Oh, and I haven't tried host thought.org yet.  It
may be my latest bind97 since bind9 had an en-of-life recently.


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


Re: no apache22, php5 cores

2011-01-21 Thread Brad Mettee

Gary Kline wrote:

Everything seems to be working except that

% lynx http://www.thought.org/

times out.  Oh, and I haven't tried host thought.org yet.  It
may be my latest bind97 since bind9 had an en-of-life recently.
  


Have you tried?:
nslookup www.thought.org

If it resolves, then bind9 isn't your problem. Try this instead and see 
what happens:

telnet www.thought.org 80

Also, netstat should show port 80 open and waiting for a connection too.

Hope this helps,

Brad

___
freebsd-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: no apache22, php5 cores

2011-01-21 Thread Gary Kline
On Fri, Jan 21, 2011 at 05:01:25PM -0500, Brad Mettee wrote:
> Gary Kline wrote:
> > Everything seems to be working except that
> >
> > % lynx http://www.thought.org/
> >
> > times out.  Oh, and I haven't tried host thought.org yet.  It
> > may be my latest bind97 since bind9 had an en-of-life recently.
> 
> Have you tried?:
> nslookup www.thought.org


Works, altho it ignores my orginal nameserver , it is happy with
8.8.8.8.


> 
> If it resolves, then bind9 isn't your problem. Try this instead and
> see what happens:
> telnet www.thought.org 80


Times out.  I hope this means sometimg!
> 
> Also, netstat should show port 80 open and waiting for a connection too.


I didn't try netstat during the telnet try, but netstat alone 
[from here on my desktop] looks interesting.  (I don't use it
that often).

I'll paste in some output; you tell me if it looks interesting!
ctive Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address   Foreign Address
State  
tcp0  0 tao.thought.org:37916   74.125.209.81:www
ESTABLISHED
tcp0  0 tao.thought.org:55475   unknown.iad.scnet.n:www
CLOSE_WAIT 
tcp0  0 tao.thought.org:46990   208.117.252.26:www
ESTABLISHED
tcp0  0 tao.thought.org:44131   ethic.thought.org:imaps
ESTABLISHED
tcp0  0 tao.thought.org:58950   ethic.thought.org:imap2
ESTABLISHED
tcp0  1 tao.thought.org:34636   67.132.30.58:www
FIN_WAIT1  
tcp0  0 tao.thought.org:38330   67.132.30.58:www
ESTABLISHED
tcp0  0 tao.thought.org:51084   cds309.sea.llnw.net:www
ESTABLISHED
tcp0  0 tao.thought.org:60963   pz-in-f147.1e100.ne:www
ESTABLISHED
tcp0  0 tao.thought.org:56229   208.117.252.159:www
ESTABLISHED
tcp0  0 tao.thought.org:42114   ethic.thought.org:ssh
ESTABLISHED
tcp0336 tao.thought.org:59156   addons.acelb.sj.m:https
ESTABLISHED
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags   Type   State I-Node   Path
unix  2  [ ] DGRAM4578
/var/spool/postfix/de



Looking at, say, the first "Foreign Address", does that mean
that 74.125.209.81:wwwis looking at my www?  Or I connected
with his

gary




> 
> Hope this helps,
> 
> Brad
> 

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


Re: no apache22, php5 cores

2011-01-21 Thread Brad Mettee

Gary Kline wrote:

On Fri, Jan 21, 2011 at 05:01:25PM -0500, Brad Mettee wrote:
  


Works, altho it ignores my orginal nameserver , it is happy with
8.8.8.8.


  

If it resolves, then bind9 isn't your problem. Try this instead and
see what happens:
telnet www.thought.org 80




Times out.  I hope this means sometimg!
  

Also, netstat should show port 80 open and waiting for a connection too.




	I didn't try netstat during the telnet try, but netstat alone 
	[from here on my desktop] looks interesting.  (I don't use it

that often).

I'll paste in some output; you tell me if it looks interesting!
ctive Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address   Foreign Address
State  
tcp0  0 tao.thought.org:37916   74.125.209.81:www

ESTABLISHED
tcp0  0 tao.thought.org:55475   unknown.iad.scnet.n:www
CLOSE_WAIT 
tcp0  0 tao.thought.org:46990   208.117.252.26:www

ESTABLISHED
tcp0  0 tao.thought.org:44131   ethic.thought.org:imaps
ESTABLISHED
tcp0  0 tao.thought.org:58950   ethic.thought.org:imap2
ESTABLISHED
tcp0  1 tao.thought.org:34636   67.132.30.58:www
FIN_WAIT1  
tcp0  0 tao.thought.org:38330   67.132.30.58:www

ESTABLISHED
tcp0  0 tao.thought.org:51084   cds309.sea.llnw.net:www
ESTABLISHED
tcp0  0 tao.thought.org:60963   pz-in-f147.1e100.ne:www
ESTABLISHED
tcp0  0 tao.thought.org:56229   208.117.252.159:www
ESTABLISHED
tcp0  0 tao.thought.org:42114   ethic.thought.org:ssh
ESTABLISHED
tcp0336 tao.thought.org:59156   addons.acelb.sj.m:https
ESTABLISHED
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags   Type   State I-Node   Path
unix  2  [ ] DGRAM4578
/var/spool/postfix/de



Looking at, say, the first "Foreign Address", does that mean
that 74.125.209.81:wwwis looking at my www?  Or I connected
with his
  

Those lines mean you're connected to them.

Post your output from this:
netstat -an | grep tcp

This should show current connections AND current listening sockets. If 
you don't see anything on *.80, then httpd isn't running, or at least 
isn't listening on the right port.



--
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  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: no apache22, php5 cores

2011-01-21 Thread Da Rock

On 01/22/11 08:42, Gary Kline wrote:

On Fri, Jan 21, 2011 at 05:01:25PM -0500, Brad Mettee wrote:
   

Gary Kline wrote:
 

Everything seems to be working except that

% lynx http://www.thought.org/

times out.  Oh, and I haven't tried host thought.org yet.  It
may be my latest bind97 since bind9 had an en-of-life recently.
   

Have you tried?:
nslookup www.thought.org
 


Works, altho it ignores my orginal nameserver , it is happy with
8.8.8.8.


   

If it resolves, then bind9 isn't your problem. Try this instead and
see what happens:
telnet www.thought.org 80
 


Times out.  I hope this means sometimg!
   

Also, netstat should show port 80 open and waiting for a connection too.
 


I didn't try netstat during the telnet try, but netstat alone
[from here on my desktop] looks interesting.  (I don't use it
that often).

I'll paste in some output; you tell me if it looks interesting!
ctive Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address   Foreign Address
State
tcp0  0 tao.thought.org:37916   74.125.209.81:www
ESTABLISHED
tcp0  0 tao.thought.org:55475   unknown.iad.scnet.n:www
CLOSE_WAIT
tcp0  0 tao.thought.org:46990   208.117.252.26:www
ESTABLISHED
tcp0  0 tao.thought.org:44131   ethic.thought.org:imaps
ESTABLISHED
tcp0  0 tao.thought.org:58950   ethic.thought.org:imap2
ESTABLISHED
tcp0  1 tao.thought.org:34636   67.132.30.58:www
FIN_WAIT1
tcp0  0 tao.thought.org:38330   67.132.30.58:www
ESTABLISHED
tcp0  0 tao.thought.org:51084   cds309.sea.llnw.net:www
ESTABLISHED
tcp0  0 tao.thought.org:60963   pz-in-f147.1e100.ne:www
ESTABLISHED
tcp0  0 tao.thought.org:56229   208.117.252.159:www
ESTABLISHED
tcp0  0 tao.thought.org:42114   ethic.thought.org:ssh
ESTABLISHED
tcp0336 tao.thought.org:59156   addons.acelb.sj.m:https
ESTABLISHED
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags   Type   State I-Node   Path
unix  2  [ ] DGRAM4578
/var/spool/postfix/de



Looking at, say, the first "Foreign Address", does that mean
that 74.125.209.81:wwwis looking at my www?  Or I connected
with his

gary




   

Hope this helps,

Brad

 
   
Run ps ax | grep httpd. If it doesn't show up then its not working. If 
it says NO_HTTP_ACCEPT or similar its not working either.


Also, regardless of the output there, try commenting out loading the php 
module in httpd.conf. If apache works then it is just a php problem. 
9/10 the php problem is just the extensions dependencies problem. 
/usr/local/etc/php/extensions.ini - recode at the top (required by most 
other extensions), and shuffle the others as required. ie.:


extension=recode.so
extension=yaz.so
extension=fileinfo.so
extension=pdf.so
extension=fribidi.so
extension=imap.so
extension=mysql.so
extension=xml.so
extension=ncurses.so
extension=sockets.so
extension=gmp.so
extension=pgsql.so
extension=exif.so
extension=json.so
extension=ming.so
extension=mbstring.so
extension=zlib.so
extension=pcntl.so
extension=mssql.so
extension=dbase.so
extension=pdo.so
extension=tidy.so
extension=mhash.so
extension=gettext.so
extension=xmlrpc.so
extension=sysvshm.so
extension=ftp.so
extension=pcre.so
extension=filter.so
extension=ctype.so
extension=mcrypt.so
extension=odbc.so
extension=ldap.so
extension=bcmath.so
#extension=recode.so
extension=hash.so
extension=zip.so
extension=xmlwriter.so
extension=interbase.so
extension=tokenizer.so
extension=calendar.so
extension=dba.so
extension=gd.so
extension=snmp.so
extension=session.so
extension=soap.so
extension=sysvsem.so
extension=iconv.so
extension=sybase_ct.so
extension=simplexml.so
extension=spl.so
extension=shmop.so
extension=sysvmsg.so
extension=readline.so
extension=curl.so
extension=bz2.so
extension=openssl.so
extension=wddx.so
extension=dom.so
extension=xsl.so
extension=sqlite.so
extension=xmlreader.so
extension=pdo_sqlite.so
extension=mysqli.so
extension=posix.so
extension=pspell.so

(Thats probably an old one - been floating around my ~)

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


troubles rebuilding extensions.ini

2011-01-21 Thread Gary Kline

It might be as simple as rebuilding php5-extensions _with_ the right .so files
listed in /usr/local/etc/php/extension.ini; I have my doubts, but this is a
first guess.

IS there a way to include the make config when you are rebuilding the port?
I can edit the makefile but I 'd rather do it the other way.

tia,

gary



-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.97a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org
 ethic 
___
freebsd-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: troubles rebuilding extensions.ini

2011-01-21 Thread Da Rock

On 01/22/11 09:43, Gary Kline wrote:

It might be as simple as rebuilding php5-extensions _with_ the right .so files
listed in /usr/local/etc/php/extension.ini; I have my doubts, but this is a
first guess.

IS there a way to include the make config when you are rebuilding the port?
I can edit the makefile but I 'd rather do it the other way.

tia,

gary



   
You can always try make config on any port to reset any options. Most of 
the time with php extensions its merely a case of reordering them 
though. Every build and upgrade changes things (extensions are added or 
removed, etc) so the order is changed as ports are only appended to the 
ini file.


Keep a copy somewhere safe once you have it right and patch it as 
necessary- at least your web server will keep running that way.

___
freebsd-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: no apache22, php5 cores

2011-01-21 Thread Gary Kline
On Fri, Jan 21, 2011 at 06:15:56PM -0500, Brad Mettee wrote:
> Gary Kline wrote:
> >On Fri, Jan 21, 2011 at 05:01:25PM -0500, Brad Mettee wrote:
> >  
> >
> > Looking at, say, the first "Foreign Address", does that mean
> > that 74.125.209.81:wwwis looking at my www?  Or I connected
> > with his
> >  
> Those lines mean you're connected to them.
> 
> Post your output from this:
> netstat -an | grep tcp
> 
> This should show current connections AND current listening sockets. If 
> you don't see anything on *.80, then httpd isn't running, or at least 
> isn't listening on the right port.
> 
> 
> -- 
> 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  for information about our company.


holy scow!  there's a lot it.

Looking at just netstat -an |more, I Don't see any port at top
headers.  The 10.* stuff is my internal, of course. 230 is my server,
and 108 the desktop.  Everything is as-was.  80 is the web, e.g.
25 is, what, mail.  Oh!!! Duhhh, shioot, sorry.  

Does this tell yuo anything?


tcp4   0  0 10.47.0.230.25 178.94.32.87.26106 TIME_WAIT
tcp4   0 91 10.47.0.230.25 209.85.161.50.56239ESTABLISHED
tcp4   0  0 10.47.0.230.99310.47.0.230.62807  ESTABLISHED
tcp4   0  0 10.47.0.230.62807  10.47.0.230.993ESTABLISHED
tcp4   0  0 127.0.0.1.6011 *.*LISTEN
tcp6   0  0 ::1.6011   *.*LISTEN
tcp4   0  0 10.47.0.230.22 10.47.0.108.55228  ESTABLISHED
tcp4   0  0 127.0.0.1.6010 *.*LISTEN
tcp6   0  0 ::1.6010   *.*LISTEN
tcp4   0  0 10.47.0.230.22 10.47.0.108.42114  ESTABLISHED
tcp4   0  0 10.47.0.230.14310.47.0.108.58950  ESTABLISHED
tcp4   0  0 *.6000 *.*LISTEN
tcp6   0  0 *.6000 *.*LISTEN
tcp4   0  0 *.587  *.*LISTEN
tcp6   0  0 *.25   *.*LISTEN
tcp4   0  0 *.25   *.*LISTEN
tcp4   0  0 *.22   *.*LISTEN
tcp6   0  0 *.22   *.*LISTEN
tcp4   0  0 *.**.*CLOSED
tcp46  0  0 *.443  *.*LISTEN
tcp4   0  0 *.**.*CLOSED
tcp46  0  0 *.80   *.*LISTEN
tcp4   0  0 *.995  *.*LISTEN
tcp4   0  0 *.110  *.*LISTEN
tcp4   0  0 *.993  *.*LISTEN
tcp4   0  0 *.143  *.*LISTEN
tcp4   0  0 *.3306 *.*LISTEN
tcp4   0  0 127.0.0.1.783  *.*LISTEN
tcp4   0  0 *.515  *.*LISTEN
tcp6   0  0 *.515  *.*LISTEN
tcp6   0  0 *.2049 *.*LISTEN
tcp4   0  0 *.2049 *.*LISTEN
tcp4   0  0 *.817  *.*LISTEN
tcp6   0  0 *.817  *.*LISTEN
tcp4   0  0 *.111  *.*LISTEN
tcp6   0  0 *.111  *.*LISTEN
tcp6   0  0 ::1.953*.*LISTEN
tcp4   0  0 127.0.0.1.953  *.*LISTEN
tcp4   0  0 127.0.0.1.53   *.*LISTEN
tcp4   0  0 10.47.0.230.53 *.*LISTEN

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.97a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org
 ethic 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


switching to perl-threaded

2011-01-21 Thread Robert Fitzpatrick
I guess I did a stupid thing to 'make deinstall' and then 'make
reinstall' to change my perl option for WITH_THREADS. Now it seems all
my modules are lost as my LWP::Simple does not work anymore. I then
tried to pkg_delete that, successful, and 'perl -MCPAN -e "install
LWP::Simple' only to fail with a lot of these...

> Can't load 
> '/usr/local/lib/perl5/site_perl/5.10.1/mach/auto/HTML/Parser/Parser.so

What is the best way to handle getting my modules working under threaded
perl? That module in particular was done through CPAN because I couldn't
seem to find a port for it.

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


Re: switching to perl-threaded

2011-01-21 Thread Da Rock

On 01/22/11 10:25, Robert Fitzpatrick wrote:

I guess I did a stupid thing to 'make deinstall' and then 'make
reinstall' to change my perl option for WITH_THREADS. Now it seems all
my modules are lost as my LWP::Simple does not work anymore. I then
tried to pkg_delete that, successful, and 'perl -MCPAN -e "install
LWP::Simple' only to fail with a lot of these...

   

Can't load 
'/usr/local/lib/perl5/site_perl/5.10.1/mach/auto/HTML/Parser/Parser.so
 

What is the best way to handle getting my modules working under threaded
perl? That module in particular was done through CPAN because I couldn't
seem to find a port for it.

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

cd /usr/ports/lang/perl && make config (turn on threads)
portupgrade -rf lang/perl
___
freebsd-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: no apache22, php5 cores

2011-01-21 Thread Gary Kline
On Sat, Jan 22, 2011 at 09:28:50AM +1000, Da Rock wrote:
> On 01/22/11 08:42, Gary Kline wrote:
> >On Fri, Jan 21, 2011 at 05:01:25PM -0500, Brad Mettee wrote:
> >   
> >>Gary Kline wrote:
> >> 
> >
> >
> >   
> >>Hope this helps,
> >>
> >>Brad
> >>
> >> 
> >   
> Run ps ax | grep httpd. If it doesn't show up then its not working. If 
> it says NO_HTTP_ACCEPT or similar its not working either.


yes!  i was wondering.  I tried this around noon and got a slew of the
DNOHTTPACCEPT ...  I Was going to mention this but didn't.

Shouldve.


> 
> Also, regardless of the output there, try commenting out loading the php 
> module in httpd.conf. If apache works then it is just a php problem. 
> 9/10 the php problem is just the extensions dependencies problem. 
> /usr/local/etc/php/extensions.ini - recode at the top (required by most 
> other extensions), and shuffle the others as required. ie.:


By jove [[aka ohshit]], apache still works.  With all the php stuff
commented out.  just to be sure, i'll try Wash's apachectl 
For some reason i just dont trust scripts... .

Says ^Syntax OK

Still, even with apache22 going I can't reach any of my sites.  At
lwast two have index.html, so these subdomains ought to work, right?


> 
> extension=recode.so
> extension=yaz.so
> extension=fileinfo.so
> extension=pdf.so
> extension=fribidi.so
> extension=imap.so
> extension=mysql.so
> extension=xml.so
> extension=ncurses.so
> extension=sockets.so
> extension=gmp.so
> extension=pgsql.so
> extension=exif.so
> extension=json.so
> extension=ming.so
> extension=mbstring.so
> extension=zlib.so
> extension=pcntl.so
> extension=mssql.so
> extension=dbase.so
> extension=pdo.so
> extension=tidy.so
> extension=mhash.so
> extension=gettext.so
> extension=xmlrpc.so
> extension=sysvshm.so
> extension=ftp.so
> extension=pcre.so
> extension=filter.so
> extension=ctype.so
> extension=mcrypt.so
> extension=odbc.so
> extension=ldap.so
> extension=bcmath.so
> #extension=recode.so
> extension=hash.so
> extension=zip.so
> extension=xmlwriter.so
> extension=interbase.so
> extension=tokenizer.so
> extension=calendar.so
> extension=dba.so
> extension=gd.so
> extension=snmp.so
> extension=session.so
> extension=soap.so
> extension=sysvsem.so
> extension=iconv.so
> extension=sybase_ct.so
> extension=simplexml.so
> extension=spl.so
> extension=shmop.so
> extension=sysvmsg.so
> extension=readline.so
> extension=curl.so
> extension=bz2.so
> extension=openssl.so
> extension=wddx.so
> extension=dom.so
> extension=xsl.so
> extension=sqlite.so
> extension=xmlreader.so
> extension=pdo_sqlite.so
> extension=mysqli.so
> extension=posix.so
> extension=pspell.so
> 
> (Thats probably an old one - been floating around my ~)
> 

Good grief, there are more than i'd thought.  I asked before how the
above strings got stuck into the extensions.ini.  I'll ck my mail
queue, but in case you know, will you clue me in?


> HTH

Well, at least we know that apache works ;-)

-g


> ___
> freebsd-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.97a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.org
 ethic 
___
freebsd-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: no apache22, php5 cores

2011-01-21 Thread Michael Ross
Am 22.01.2011, 00:28 Uhr, schrieb Da Rock  
:


Run ps ax | grep httpd. If it doesn't show up then its not working. If  
it says NO_HTTP_ACCEPT or similar its not working either.


Like -DNO_HTTP_ACCEPT in the ps output?

That doesn't mean "not accepting http" but "http accept filter disabled",
i.e. accf_http.ko is not/can not be loaded. The server can work fine  
without it.



Michael
___
freebsd-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: no apache22, php5 cores

2011-01-21 Thread Da Rock

On 01/22/11 11:03, Gary Kline wrote:

On Sat, Jan 22, 2011 at 09:28:50AM +1000, Da Rock wrote:
   

On 01/22/11 08:42, Gary Kline wrote:
 

On Fri, Jan 21, 2011 at 05:01:25PM -0500, Brad Mettee wrote:

   

Gary Kline wrote:

 



   

Hope this helps,

Brad


 


   

Run ps ax | grep httpd. If it doesn't show up then its not working. If
it says NO_HTTP_ACCEPT or similar its not working either.
 


yes!  i was wondering.  I tried this around noon and got a slew of the
DNOHTTPACCEPT ...  I Was going to mention this but didn't.

Shouldve.


   

Also, regardless of the output there, try commenting out loading the php
module in httpd.conf. If apache works then it is just a php problem.
9/10 the php problem is just the extensions dependencies problem.
/usr/local/etc/php/extensions.ini - recode at the top (required by most
other extensions), and shuffle the others as required. ie.:
 


By jove [[aka ohshit]], apache still works.  With all the php stuff
commented out.  just to be sure, i'll try Wash's apachectl 
For some reason i just dont trust scripts... .

Says ^Syntax OK

Still, even with apache22 going I can't reach any of my sites.  At
lwast two have index.html, so these subdomains ought to work, right?


   

extension=recode.so
extension=yaz.so
extension=fileinfo.so
extension=pdf.so
extension=fribidi.so
extension=imap.so
extension=mysql.so
extension=xml.so
extension=ncurses.so
extension=sockets.so
extension=gmp.so
extension=pgsql.so
extension=exif.so
extension=json.so
extension=ming.so
extension=mbstring.so
extension=zlib.so
extension=pcntl.so
extension=mssql.so
extension=dbase.so
extension=pdo.so
extension=tidy.so
extension=mhash.so
extension=gettext.so
extension=xmlrpc.so
extension=sysvshm.so
extension=ftp.so
extension=pcre.so
extension=filter.so
extension=ctype.so
extension=mcrypt.so
extension=odbc.so
extension=ldap.so
extension=bcmath.so
#extension=recode.so
extension=hash.so
extension=zip.so
extension=xmlwriter.so
extension=interbase.so
extension=tokenizer.so
extension=calendar.so
extension=dba.so
extension=gd.so
extension=snmp.so
extension=session.so
extension=soap.so
extension=sysvsem.so
extension=iconv.so
extension=sybase_ct.so
extension=simplexml.so
extension=spl.so
extension=shmop.so
extension=sysvmsg.so
extension=readline.so
extension=curl.so
extension=bz2.so
extension=openssl.so
extension=wddx.so
extension=dom.so
extension=xsl.so
extension=sqlite.so
extension=xmlreader.so
extension=pdo_sqlite.so
extension=mysqli.so
extension=posix.so
extension=pspell.so

(Thats probably an old one - been floating around my ~)

 

Good grief, there are more than i'd thought.  I asked before how the
above strings got stuck into the extensions.ini.  I'll ck my mail
queue, but in case you know, will you clue me in?


   

HTH
 

Well, at least we know that apache works ;-)

-g
   

Apache will work with php, but some sites may be coded with it, so they 
will simply show the code- careful with security! Better stop apache to 
be sure until it works with php, OR comment out the sites using it.


When you build the php-extensions port, everything selected via make 
config options is built, and as it is built (it doesn't give 2 hoots 
about extension dependencies) it appends the extensions.ini. You need to 
reorder the extensions so that the extensions are loaded AFTER the 
extensions they depend on. And they will change from time to time 
killing your apache once IT reloads- reloading the php module will fail 
and it won't respond.


Once you have discovered which extensions rely on which, you'll get the 
idea. The extensions.ini I posted should get you started. But subtract 
and add what you need. Running php should give you some clue as to what 
is wrong, and a quick search on google will generally provide you what 
you need.


From memory recode should be at the top (needed by most), hash relies 
on mhash (I think- or the reverse); sorry I can't exactly remember 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: no apache22, php5 cores

2011-01-21 Thread Terrence Koeman
> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> questi...@freebsd.org] On Behalf Of Da Rock
> Sent: Saturday, January 22, 2011 02:22
> To: freebsd-questions@freebsd.org
> Subject: Re: no apache22, php5 cores
>

[snip]
> Apache will work with php, but some sites may be coded with it, so they
> will simply show the code- careful with security! Better stop apache to
> be sure until it works with php, OR comment out the sites using it.

Afaik it's possible to protect yourself against this problem by configuring 
Apache to refuse serving some types of files (.php, etc.) as static. This 
provides a safeguard against serving up config files with passwords and whatnot.

As I don't run Apache any longer I can't help with the details, but I remember 
it being quite simple to accomplish.

There's also a script floating around on the internet that will detect a php 
load failure, send a mail about it, switch config files and start up apache 
without PHP and have it serve up a PHP load error page for all PHP requests.

--
Regards,
T. Koeman, MTh/BSc/BPsy; Technical Monk

MediaMonks B.V. (www.mediamonks.com)
Please quote relevant replies in correspondence.



___
freebsd-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: no apache22, php5 cores

2011-01-21 Thread Terrence Koeman
> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> questi...@freebsd.org] On Behalf Of Brad Mettee
> Sent: Saturday, January 22, 2011 00:16
> To: Gary Kline; FreeBSD Mailing List
> Subject: Re: no apache22, php5 cores

[snip]
> Post your output from this:
> netstat -an | grep tcp
>
> This should show current connections AND current listening sockets. If
> you don't see anything on *.80, then httpd isn't running, or at least
> isn't listening on the right port.
>

Might also want to try 'lsof -nPi |grep LISTEN', that shows what process is 
listening as well. Maybe not really added value here, but it sure helps when 
you're troubleshooting address/port in use errors and such.

--
Regards,
T. Koeman, MTh/BSc/BPsy; Technical Monk

MediaMonks B.V. (www.mediamonks.com)
Please quote relevant replies in correspondence.



___
freebsd-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: troubles rebuilding extensions.ini

2011-01-21 Thread Chris Brennan
On Fri, Jan 21, 2011 at 6:49 PM, Da Rock <
freebsd-questi...@herveybayaustralia.com.au> wrote:

> You can always try make config on any port to reset any options. Most of
> the time with php extensions its merely a case of reordering them though.
> Every build and upgrade changes things (extensions are added or removed,
> etc) so the order is changed as ports are only appended to the ini file.
>
> Keep a copy somewhere safe once you have it right and patch it as
> necessary- at least your web server will keep running that way.
>
>
make rmconfig will remove/reset the config to factory default, then make
config to restart fresh.
___
freebsd-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: troubles rebuilding extensions.ini

2011-01-21 Thread Polytropon
On Fri, 21 Jan 2011 22:57:07 -0500, Chris Brennan  wrote:
> make rmconfig will remove/reset the config to factory default, then make
> config to restart fresh.

And "make rmconfig-recursive" will do so for any other port
the current port depends on. A very handy solution if the
trouble hides in a dependency of a dependency... :-)

Just see "man ports" for a list of all targets.


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