Upgrade to mysql-server-5.0.67 - ERROR 2003 (HY000)

2008-08-30 Thread ervin
I upgraded to mysql-server-5.0.67 and got the error below so all
websites were in error 

ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'/tmp/mysql.sock'

The SOLUTION was:

Datadir is deprecated place for my.cnf, please move it to /usr/local/etc


-best regards ev

FreeBSD FreeWeb.local 6.3-RELEASE-p1 FreeBSD 6.3-RELEASE-p1 #8
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Removing a port its dependencies /

2008-08-12 Thread ervin
works smoothly - thx :-)

2008/8/10 Pieter de Goeje [EMAIL PROTECTED]

 On Sunday 10 August 2008, ervin wrote:
  hi,
 
  I installed a port  with make install and it worked including
  installation of dependencies
 
  Removing the port:
 
  Do I use pkg_delete or  ?
  I want the dependencies to me removed as well  the make deinstall
  deinstall the primary port but not the dependencies.

 You can use pkg_rmleaves or pkg_cutleaves (both in ports/ports-mgmt).

 --
 Pieter de Goeje




-- 


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


Removing a port its dependencies /

2008-08-10 Thread ervin
hi,

I installed a port  with make install and it worked including installation
of dependencies

Removing the port:

Do I use pkg_delete or  ?
I want the dependencies to me removed as well  the make deinstall
deinstall the primary port but not the dependencies.

-- 

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


PHP5 install error

2008-05-01 Thread ervin
hi
made a portsnap fetch update   but I still get this error  ideas?
portaudit shows the vulnerability ... but that should be included in
the port or?

Error:
make clean  make install
===  Cleaning for php5-5.2.5_1
===  php5-5.2.5_1 has known vulnerabilities:
= php -- integer overflow vulnerability.
   Reference: 
http://www.FreeBSD.org/ports/portaudit/f6377f08-12a7-11dd-bab7-0016179b2dd5.html
= Please update your ports tree and try again.
*** Error code 1

Stop in /var/ports/lang/php5.

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


FreeBSD-EN-08:01.libpthread

2008-04-17 Thread ervin
I get the following error while installing the patch below . any
ideas how to solve?

install: rename: /lib/[EMAIL PROTECTED] to /lib/libpthread.so.2: Operation not 
permitted
*** Error code 71

ciao ev

FreeBSD-EN-08:01.libpthread Errata Notice
 The FreeBSD Project

Topic:  Problems with fork(2) within threaded programs

Category:   core
Module: libpthread
Announced:  2008-04-17
Credits:Julian Elischer, Dan Eischen
Affects:FreeBSD 6.3
Corrected:  2008-02-04 20:05:20 UTC (RELENG_6, 6.3-STABLE)
   2008-04-16 23:59:48 UTC (RELENG_6_3, 6.3-RELEASE-p2)

For general information regarding FreeBSD Errata Notices and Security
Advisories, including descriptions of the fields above, security
branches, and the following sections, please visit
URL:http://security.freebsd.org/.

I.   Background

POSIX threads are a set of functions that support applications with
requirements for multiple flows of control, called threads, within a
process.  The fork(2) system call is used to create a new process.

II.  Problem Description

The libpthread threading library on FreeBSD 6.3 fails to properly
reinitialize mutexes when a threaded process invokes fork(2).

III. Impact

After the fork(2) system returns, the newly created child process may
freeze in user space for no apparent reason.  This affects any threaded
application that invokes fork(2), most frequently those that call
fork(2) before execve(2) or system(3) to run external programs.

IV.  Workaround

On some systems, using libthr instead of libpthread, via the libmap
configuration file libmap.conf(5), may be an acceptable workaround.

V.   Solution

Perform one of the following:

1) Upgrade your vulnerable system to 6-STABLE or the RELENG_6_3
security branch dated after the correction date.

2) To patch your present system:

The following patch has been verified to apply to FreeBSD 6.3 systems:

a) Download the relevant patch from the location below, and verify the
detached PGP signature using your PGP utility.

# fetch http://security.FreeBSD.org/patches/EN-08:01/libpthread.patch
# fetch http://security.FreeBSD.org/patches/EN-08:01/libpthread.patch.asc

b) Execute the following commands as root:

# cd /usr/src
# patch  /path/to/patch
# cd /usr/src/lib/libpthread
# make obj  make depend  make  make install

VI.  Correction details

The following list contains the revision numbers of each file that was
corrected in FreeBSD.

Branch   Revision
 Path
- -
RELENG_6
 src/lib/libpthread/sys/lock.c   1.9.2.2
 src/lib/libpthread/thread/thr_kern.c  1.116.2.2
RELENG_6_3
 src/UPDATING 1.416.2.37.2.6
 src/sys/conf/newvers.sh   1.69.2.15.2.5
 src/lib/libpthread/sys/lock.c   1.9.2.1.8.1
 src/lib/libpthread/thread/thr_kern.c  1.116.2.1.6.1
- -

VII. References

The latest revision of this advisory is available at
http://security.FreeBSD.org/advisories/FreeBSD-EN-08:01.libpthread.asc

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFIBpWeFdaIBMps37IRAg2wAJ9jwXi2ZTaYXBdsU6CzS8dCzsQ5cwCcD2Fu
NCao693yWJo1bJrCrrbG8Ww=
=7mo1
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD-EN-08:01.libpthread

2008-04-17 Thread ervin
thx  :-) ... that did the trick / the keyword was security level which
I had at 2 /

On 17/04/2008, Mel [EMAIL PROTECTED] wrote:
 On Thursday 17 April 2008 14:59:10 ervin wrote:
   I get the following error while installing the patch below . any
   ideas how to solve?
  
   install: rename: /lib/[EMAIL PROTECTED] to /lib/libpthread.so.2: Operation 
 not
   permitted *** Error code 71


 Most likely, chflags noschg /lib/libpthread.so.2 then make install. If that
  doesn't work, report back with your kern.securelevel and whether /lib is
  mounted read only or not.


  --
  Mel

  Problem with today's modular software: they start with the modules
 and never get to the software part.



-- 


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


Re: FreeBSD-EN-08:01.libpthread

2008-04-17 Thread ervin
Mel,

thx  :-) ... that did the trick / the keyword was security level which
I had at 2 /

ervin

On 17/04/2008, Mel [EMAIL PROTECTED] wrote:
 On Thursday 17 April 2008 14:59:10 ervin wrote:
   I get the following error while installing the patch below . any
   ideas how to solve?
  
   install: rename: /lib/[EMAIL PROTECTED] to /lib/libpthread.so.2: Operation 
 not
   permitted *** Error code 71


 Most likely, chflags noschg /lib/libpthread.so.2 then make install. If that
  doesn't work, report back with your kern.securelevel and whether /lib is
  mounted read only or not.


  --
  Mel

  Problem with today's modular software: they start with the modules
 and never get to the software part.

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


Re: IPFW - kernel: drop session / too many entries

2008-03-09 Thread ervin
I'm running

FreeBSD FreeWeb.local 6.3-RELEASE-p1 with apache2 php5 mysql5


On 09/03/2008, ervin [EMAIL PROTECTED] wrote:
 I get this message in the /etc/security file:

  Mar  9 14:24:45 FreeWeb kernel: drop session 80.198.0.217:61236 -
  192.168.1.99:80, too many entries

  which causes a delay when accessing the web server (one of them is
  www.valentin-jensen.org)

  I have the following in my sysctl.conf:

  net.inet.ip.fw.verbose=1
  net.inet.ip.fw.verbose_limit=5
  net.inet.ip.fw.dyn_max=8192

  Any ideas ?


  --

  mvh/best regards  ervin

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


IPFW - kernel: drop session / too many entries

2008-03-09 Thread ervin
I get this message in the /etc/security file:

Mar  9 14:24:45 FreeWeb kernel: drop session 80.198.0.217:61236 -
192.168.1.99:80, too many entries

which causes a delay when accessing the web server (one of them is
www.valentin-jensen.org)

I have the following in my sysctl.conf:

net.inet.ip.fw.verbose=1
net.inet.ip.fw.verbose_limit=5
net.inet.ip.fw.dyn_max=8192

Any ideas ?

-- 

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


Re: IPFW - kernel: drop session / too many entries

2008-03-09 Thread ervin
solved

change the limit src-addr x to a reasonable higher value (for me a 2
to 4 modification made the difference)

On 09/03/2008, ervin [EMAIL PROTECTED] wrote:
 I'm running

  FreeBSD FreeWeb.local 6.3-RELEASE-p1 with apache2 php5 mysql5



  On 09/03/2008, ervin [EMAIL PROTECTED] wrote:
   I get this message in the /etc/security file:
  
Mar  9 14:24:45 FreeWeb kernel: drop session 80.198.0.217:61236 -
192.168.1.99:80, too many entries
  
which causes a delay when accessing the web server (one of them is
www.valentin-jensen.org)
  
I have the following in my sysctl.conf:
  
net.inet.ip.fw.verbose=1
net.inet.ip.fw.verbose_limit=5
net.inet.ip.fw.dyn_max=8192
  
Any ideas ?
  
  
--
  
mvh/best regards  ervin
  

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