Did not use port_upgrade

2006-08-18 Thread David Daugherty

I did not use port_upgrade to upgrade my mysql-server, php and apache.
I just ran the make and make install and clean. I've got mysql to run
the latest version but my older apache is still at 2.0 (should be at
2.2) and my php is still running at 4.x (should be at 5.1).

Do I need to make deinstall all of these ports and start all over?

--
Doc

[EMAIL PROTECTED]

"Strive to be the greatest man in your country, and you may be
disappointed.  Strive to be the best and you may succeed"

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


Re: DNS problems - slow to resolve

2005-01-02 Thread David Daugherty
Ok, I wasn't getting the IPs in my resolv.conf because I had
dhclient.conf modified to supersede to the local DNS. Here's what I
did to determine the DNS that my ISP was assigning me.

I changed the dhclient.conf back to empty and restarted the network.
This then put the IPs of the two DNS servers assigned into my
resolv.conf. I then took these two IPs and added them to my forwarders
section in my named.conf. Rebooted and name lookup is much faster now.

It only took my wife grumping about having to hit refresh 20+ times to
bring up a web page in order for me to fix this since we've moved and
changed ISPs.

Thanks for the ideas everyone.


On Sun, 2 Jan 2005 10:52:14 -0500, David Daugherty
<[EMAIL PROTECTED]> wrote:
> Ah, yes..dig. Forgot that it had a resolve time in there.
> 
> Here's a perfect example of the slowness I'm talking about:
> su-2.05b# dig yahoo.com
> 
> ; <<>> DiG 8.3 <<>> yahoo.com
> ;; res options: init recurs defnam dnsrch
> ;; res_nsend: Operation timed out
> su-2.05b# dig yahoo.com
> 
> ; <<>> DiG 8.3 <<>> yahoo.com
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1563
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 5, ADDITIONAL: 0
> ;; QUERY SECTION:
> ;;  yahoo.com, type = A, class = IN
> 
> ;; ANSWER SECTION:
> yahoo.com.  5M IN A 216.109.112.135
> yahoo.com.  5M IN A 66.94.234.13
> 
> ;; AUTHORITY SECTION:
> yahoo.com.  1d6h52m8s IN NS  ns2.yahoo.com.
> yahoo.com.  1d6h52m8s IN NS  ns3.yahoo.com.
> yahoo.com.  1d6h52m8s IN NS  ns4.yahoo.com.
> yahoo.com.  1d6h52m8s IN NS  ns5.yahoo.com.
> yahoo.com.  1d6h52m8s IN NS  ns1.yahoo.com.
> 
> ;; Total query time: 6179 msec
> ;; FROM: datasphereweb.com to SERVER: 127.0.0.1
> ;; WHEN: Sun Jan  2 09:55:17 2005
> ;; MSG SIZE  sent: 27  rcvd: 149
> 
> First one didn't resolve in time. Second one, 6 seconds!!!
> 
> On Sun, 2 Jan 2005 10:49:28 -0500, David Daugherty
> <[EMAIL PROTECTED]> wrote:
> > The problem with resolv.conf is that it just puts insightbb.com in
> > there. Doing a whois on insightbb.com gives a few DNS servers but none
> > of them are any speedier lookups then the others. If I put the IP that
> > insightbb.com resolves to it's still slow.
> >
> >
> > On Sun, 2 Jan 2005 09:41:20 -0600, Josh Paetzel <[EMAIL PROTECTED]> wrote:
> > > On Sunday 02 January 2005 09:22, David Daugherty wrote:
> > > > I'm running BIND 9 for my own DNS and I'm connecting to the
> > > > Internet through cable modem. In my named.conf I have a forwarders
> > > > section where I put the IPs for my ISPs DNS. Since my connection to
> > > > the ISP is DHCP how can I determine the DNS IPs that have been
> > > > assigned? I don't see it when man'ing ifconfig.
> > >
> > > /etc/resolv.conf lists which nameservers your system is using.
> > >
> > > (Hope I didn't completely interpret your question) :-/
> > >
> > > --
> > > Thanks,
> > >
> > > Josh Paetzel
> > >
> >
> > --
> > Doc
> >
> > [EMAIL PROTECTED]
> > 317.536.1858
> >
> > "The only thing necessary for evil to triumph is for good men to do
> > nothing."
> >   - Edmund Burke
> >
> 
> --
> Doc
> 
> [EMAIL PROTECTED]
> 317.536.1858
> 
> "The only thing necessary for evil to triumph is for good men to do
> nothing."
>   - Edmund Burke
> 


-- 
Doc

[EMAIL PROTECTED]
317.536.1858

"The only thing necessary for evil to triumph is for good men to do
nothing."
   - Edmund Burke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DNS problems - slow to resolve

2005-01-02 Thread David Daugherty
Ah, yes..dig. Forgot that it had a resolve time in there.

Here's a perfect example of the slowness I'm talking about:
su-2.05b# dig yahoo.com

; <<>> DiG 8.3 <<>> yahoo.com 
;; res options: init recurs defnam dnsrch
;; res_nsend: Operation timed out
su-2.05b# dig yahoo.com

; <<>> DiG 8.3 <<>> yahoo.com 
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1563
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 5, ADDITIONAL: 0
;; QUERY SECTION:
;;  yahoo.com, type = A, class = IN

;; ANSWER SECTION:
yahoo.com.  5M IN A 216.109.112.135
yahoo.com.  5M IN A 66.94.234.13

;; AUTHORITY SECTION:
yahoo.com.  1d6h52m8s IN NS  ns2.yahoo.com.
yahoo.com.  1d6h52m8s IN NS  ns3.yahoo.com.
yahoo.com.  1d6h52m8s IN NS  ns4.yahoo.com.
yahoo.com.  1d6h52m8s IN NS  ns5.yahoo.com.
yahoo.com.  1d6h52m8s IN NS  ns1.yahoo.com.

;; Total query time: 6179 msec
;; FROM: datasphereweb.com to SERVER: 127.0.0.1
;; WHEN: Sun Jan  2 09:55:17 2005
;; MSG SIZE  sent: 27  rcvd: 149

First one didn't resolve in time. Second one, 6 seconds!!!

On Sun, 2 Jan 2005 10:49:28 -0500, David Daugherty
<[EMAIL PROTECTED]> wrote:
> The problem with resolv.conf is that it just puts insightbb.com in
> there. Doing a whois on insightbb.com gives a few DNS servers but none
> of them are any speedier lookups then the others. If I put the IP that
> insightbb.com resolves to it's still slow.
> 
> 
> On Sun, 2 Jan 2005 09:41:20 -0600, Josh Paetzel <[EMAIL PROTECTED]> wrote:
> > On Sunday 02 January 2005 09:22, David Daugherty wrote:
> > > I'm running BIND 9 for my own DNS and I'm connecting to the
> > > Internet through cable modem. In my named.conf I have a forwarders
> > > section where I put the IPs for my ISPs DNS. Since my connection to
> > > the ISP is DHCP how can I determine the DNS IPs that have been
> > > assigned? I don't see it when man'ing ifconfig.
> >
> > /etc/resolv.conf lists which nameservers your system is using.
> >
> > (Hope I didn't completely interpret your question) :-/
> >
> > --
> > Thanks,
> >
> > Josh Paetzel
> >
> 
> --
> Doc
> 
> [EMAIL PROTECTED]
> 317.536.1858
> 
> "The only thing necessary for evil to triumph is for good men to do
> nothing."
>   - Edmund Burke
> 


-- 
Doc

[EMAIL PROTECTED]
317.536.1858

"The only thing necessary for evil to triumph is for good men to do
nothing."
   - Edmund Burke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: DNS problems - slow to resolve

2005-01-02 Thread David Daugherty
The problem with resolv.conf is that it just puts insightbb.com in
there. Doing a whois on insightbb.com gives a few DNS servers but none
of them are any speedier lookups then the others. If I put the IP that
insightbb.com resolves to it's still slow.


On Sun, 2 Jan 2005 09:41:20 -0600, Josh Paetzel <[EMAIL PROTECTED]> wrote:
> On Sunday 02 January 2005 09:22, David Daugherty wrote:
> > I'm running BIND 9 for my own DNS and I'm connecting to the
> > Internet through cable modem. In my named.conf I have a forwarders
> > section where I put the IPs for my ISPs DNS. Since my connection to
> > the ISP is DHCP how can I determine the DNS IPs that have been
> > assigned? I don't see it when man'ing ifconfig.
> 
> /etc/resolv.conf lists which nameservers your system is using.
> 
> (Hope I didn't completely interpret your question) :-/
> 
> --
> Thanks,
> 
> Josh Paetzel
> 


-- 
Doc

[EMAIL PROTECTED]
317.536.1858

"The only thing necessary for evil to triumph is for good men to do
nothing."
   - Edmund Burke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


DNS problems - slow to resolve

2005-01-02 Thread David Daugherty
I'm running BIND 9 for my own DNS and I'm connecting to the Internet
through cable modem. In my named.conf I have a forwarders section
where I put the IPs for my ISPs DNS. Since my connection to the ISP is
DHCP how can I determine the DNS IPs that have been assigned? I don't
see it when man'ing ifconfig.

Are there tools/commands I can use to determine the resolution time
that my lookups are taking? A lot of my web browser requests are
timing out (name lookups) and I have to keep hitting refresh until it
finally resolves.

-- 
Doc

[EMAIL PROTECTED]
317.536.1858

"The only thing necessary for evil to triumph is for good men to do
nothing."
   - Edmund Burke
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: problems with LDAP TLS and nss_ldap on 5.2.1

2004-06-09 Thread David Daugherty
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> [EMAIL PROTECTED]
> Sent: Tuesday, June 08, 2004 6:27 AM
> ... running "/etc/rc.d/slapd start" doesn't  even start the 
> server but doesn't complain either. So I have no clue what's 
> going wrong and right now I have to run the server without TLS.
I had the same problem with slapd not reporting any errors on start. So I
added the line:
local4.*/var/log/ldap.log
To my /etc/syslog.conf to have it log out everything going on. This helped.

---
|> /\ \/ @

[EMAIL PROTECTED]
DataSphere - Databases, back end web programming and networking
317.536.1858
ICQ: 21106703

"The only thing necessary for evil to triumph is for good men to do
nothing."
- Edmund Burke 

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


RE: Don't know what else to do with DHCP...help??

2004-05-31 Thread David Daugherty
> [mailto:[EMAIL PROTECTED] On Behalf Of Don
> Sent: Monday, May 31, 2004 5:09 AM
> To: [EMAIL PROTECTED]
> Subject: Don't know what else to do with DHCP...help??

> when booting there is a long pause when the dhclient 
> startsmy guess is it is querying the server for the dhcp 
> info. however once it comes back up it shows me as having 
> BROADCAST of 255.255.255.255 and nothing I have done has 
> enabled me to fix it.
Just a shot in the dark on my part, but if you're trying to install with a
cable modem try power cycling the modem. I had a similar problem when
switched out my NICs. It would hang for about 1-2 minutes on the dhclient
part of the boot then not give me an IP.

---
|> /\ \/ @

[EMAIL PROTECTED]
DataSphere - Databases, back end web programming and networking
317.536.1858
ICQ: 21106703

"The only thing necessary for evil to triumph is for good men to do
nothing."
- Edmund Burke 


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


RE: Network Gateway

2004-01-29 Thread David Daugherty
You should use spaces, instead of tabs, when laying this out.

---
|> /\ \/ @

[EMAIL PROTECTED]
DataSphere - Databases, back end web programming and networking
425.415.7470
ICQ: 21106703

"The only thing necessary for evil to triumph is for good men to do
nothing."
- Edmund Burke 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Evan Sayer
> Sent: Thursday, January 29, 2004 4:57 PM
> To: [EMAIL PROTECTED]
> Subject: Network Gateway
> 
> I am a little unsure of what hardware to buy for this network.
> 
> _____
> |  ||  |  
>   
> __
> |  A |> |  B |-->  
> |__C_|
> |__||__|  
> | 
> | |->|   D |
>   
> |<|  |   |__ |
>   
> |  
>   |
>   
> |  
>   |
>  
> |   
>|_
>   |   
>   
> ||  |
>   |   
>   F  | 
> |  E |
>   
> |___ | 
> |__|
> 
> A is my cable modem, b is a freebsd gateway/natd/bind/httpd 
> server (lot's of stuff, but most of them don't get too many 
> requests; the webserver is very small).  I use natd's port 
> redirection to give f and e the ability to be accessed from 
> the internet via ssh and ftp.  F is the main file server, 
> while E holds other unrelated files and is also a bakcup 
> server for F.  E also does samba for another client i didn't 
> put on there.  D is an unrelated lan.  You'll notice i have 
> skipped c.  
> This is because i don't know what to buy (router, switch, or 
> hub).  I think when you run natd it acts as a firewall (the 
> data under the gateway needs to be protected), but is it 
> enough to warrant not buying a router?  I'm not sure how hubs 
> or switches work.  Thanks a lot (i hope someone has an answer 
> becuase these stupid drawings took me like an hour).
> 
> ___
> [EMAIL PROTECTED] mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"
> 

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


/ is filling up

2003-06-04 Thread David Daugherty
My / partition is getting pretty full, 92%. Usually the culprit is something
I'm not rotating in /var/log, but that's not the case this time. Does anyone
have any suggestions to find out where this is? I'm guessing it's probably
something using ls and sort but I'll be damned if I can put something
together that helps this problem.

David Daugherty

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


RE: SSH through firewall

2002-12-09 Thread David Daugherty
> [mailto:[EMAIL PROTECTED]] On Behalf Of 
> Joshua Lokken
> I often transfer files to my home machines from work using 
> scp.  Currently, if I want to move a file to a machine on my 
> LAN, I first have to copy the file to a user home dir on the 
> gateway box, then recopy it from the gateway to the internal 
> box.  How do I avoid this extra step?  eg,
I currently do exactly this by placing these 2 lines in my natd.conf:

redirect_port   tcp 192.168.xxx.xxx:22  
redirect_port   udp 192.168.xxx.xxx:22  

Of course some numbers have been changed to protect the innocent 

 ---
|> /\ \/ @

[EMAIL PROTECTED]
DataSphere - Databases, back end web programming and networking
360.656.6226
ICQ: 21106703



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



RE: dhclient too verbose in /var/log/messages

2002-11-23 Thread David Daugherty
It's not much to go on but you might be able to find something under
'man dhclient.conf'

 ---
|> /\ \/ @

[EMAIL PROTECTED]
DataSphere - Databases, back end web programming and networking
360.656.6226
ICQ: 21106703

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On Behalf Of David Kelly
> Sent: Thursday, November 21, 2002 7:27 AM
> To: [EMAIL PROTECTED]
> Subject: dhclient too verbose in /var/log/messages
> 
> 
> For the last year or so something changed in dhclient and/or 
> my ISP resulting in dhclient being way too chatty with syslog 
> and flooding /var/log/messages with this about every 75 
> minutes, when my DHCP lease is renewed:
> 
> Nov 21 05:43:00 Frisket dhclient: New Network Number: 
> 24.214.110.0 Nov 21 05:43:00 Frisket dhclient: New Broadcast 
> Address: 24.214.110.255
> 
> I don't see any ready way to configure dhclient to mute this output.
> 
> Placing a sed filter in /etc/syslog.conf would be one way to 
> stifle the chattyness but that should be the avenue of last 
> resort. How might I convince dhclient to be quiet and/or log 
> elsewhere?
> 
> -- 
> David Kelly N4HHE, [EMAIL PROTECTED] 
> =
> The human mind ordinarily operates at only ten percent of its 
> capacity -- the rest is overhead for the operating system.
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
> 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



RE: sysutils/cpuburn lives up to its name

2002-11-12 Thread David Daugherty
> [mailto:owner-freebsd-questions@;FreeBSD.ORG] On Behalf Of Ray Kohler
> The subject explains it pretty well -- last night
> I ran burnK7 from the cpuburn port and my system is
> toast. Now I'm trying to figure out just what it
> was I killed so I can replace it.
> About 40 seconds into the run, the system switched
> the power off. Now it won't switch back on again.
> ACPI was disabled (relevant, since this was -current)
> but APM was on. I know the power supply is good
> since the on-board NIC shows a link on the Linksys
> it's attached to, and that only happens when it has
> power. The system just does nothing when I push the
> power switch.
> So what needs replaced? The Motherboard? The CPU?
> Something else?
Generally, when this happens it's best to remove everything from the box
except for things necessary. Remove it all except the video card, then
try to boot and see if you can get the video's BIOS to pop up. Then put
the memory back and try booting again. Then put the hard drive back in
and try booting again. You should get the idea from here on out ;-)

---
|> /\ \/ @

[EMAIL PROTECTED]
DataSphere - Databases, back end web programming and networking
360.656.6226
ICQ: 21106703 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message