FATAL: StreamServerPort: bind() failed: errno=13

XosE Vazquez xose@ctv.es
Wed, 20 May 1998 23:16:45 +0200


This is a multi-part message in MIME format.
--------------64964C0D6FE3325DFC6B3F87
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Bruno Unna wrote:
> 
> XosE Vazquez wrote:
> >
> > Lo raro es que he instalado y desintalado TODO el paquete ( uso RH 5 )
> > con el rpm y he borrado TODO el /tmp y sigue el error. Puede ser
> > por otra causa ??
> 
> ¿Cuál es el contenido de tu archivo /etc/rc.d/init.d/postgresql?

Ahi va. Pero el problema no es ese archivo. Debe de ser algo 
relacionado con puerto o algo que bloquea al demonio de postgres.
Lo simpatico es que antes si que funcionaba, hasta que hice...:-???

saludos,
-- 
XosE Vazquez                               <mailto:xose@ctv.es>
A Coruña, Spain                    http://www.ctv.es/USERS/xose
--------------64964C0D6FE3325DFC6B3F87
Content-Type: text/plain; charset=us-ascii; name="postgresql"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="postgresql"

#! /bin/sh
# chkconfig: 345 85 15
# description: Starts and stops the PostgreSQL backend daemon that handles \
#	       all database requests.

# Source function library.
. /etc/rc.d/init.d/functions

# Get config.
. /etc/sysconfig/network

# Check that networking is up.
# Pretty much need it for postmaster.
[ ${NETWORKING} = "no" ] && exit 0

[ -f /usr/bin/postmaster ] || exit 0

# See how we were called.
case "$1" in
  start)
	echo -n "Starting postgresql service: "
	su postgres -c '/usr/bin/postmaster -i -S -D/var/lib/pgsql'
	sleep 1
	pid=`pidof postmaster`
	echo -n "postmaster [$pid]"
	touch /var/lock/subsys/postmaster
	echo
	;;
  stop)
	echo -n "Stopping postgresql service: "
	killproc postmaster
	sleep 2
	rm -f /var/lock/subsys/postmaster
	echo
	;;
  status)
	status postmaster
	;;
  restart)
	$0 stop
	$0 start
	;;
  *)
	echo "Usage: postgres.init {start|stop|status|restart}"
	exit 1
esac

exit 0


--------------64964C0D6FE3325DFC6B3F87--