Hello all!

I need help for a very triggy amanda problem!

amrecover cannot connect...


FreeBSD serv.xxxx.de 3.3-RELEASE FreeBSD 3.3-RELEASE #3: Fri Jun
15 20:39:59 CEST 2001
[EMAIL PROTECTED]:/usr/src/sys/compile/ADVipfw  i386


AMRECOVER Version 2.4.2p2. Contacting server on serv ...
amrecover: did not get a reserved port: 50090
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Also Telnet cannot connect.

The acvaidable Ports are:

serv>amanda-2.4.2p2# sysctl -a |grep port
vfs.nfs.nfs_privport: 0
net.inet.ip.portrange.lowfirst: 1023
net.inet.ip.portrange.lowlast: 600
net.inet.ip.portrange.first: 1024
net.inet.ip.portrange.last: 5000
net.inet.ip.portrange.hifirst: 49152
net.inet.ip.portrange.hilast: 65535


And this is the amanda/configure:

serv>amanda-2.4.2p2# less configure.root
#!/bin/bash

./configure                                                     \
                --with-user=amanda                              \
                --with-group=disk                               \
                --with-portrange=50001,50100                    \
                --with-udpportrange=850,854                     \
                --with-tape-server=serv.advisio.de
\
                --with-index-server=serv.advisio.de              \
                --with-tape-device=/dev/nrsa0                   \
                --disable-libtool                               \
                --enable-static=yes                             \
                --enable-shared=no                              \
                --with-amandahosts        \
                 --with-bsd-security                             \
                --prefix=/sw/i386_fbsd3/amanda-2.4.2p2          \
                --exec-prefix=/sw/i386_fbsd3/amanda-2.4.2p2/bin \
                                                                \
                --libdir=/sw/i386_fbsd3/amanda-2.4.2p2/lib      \
                --bindir=/sw/i386_fbsd3/amanda-2.4.2p2/bin      \
                --sbindir=/sw/i386_fbsd3/amanda-2.4.2p2/bin     \
                --libexecdir=/sw/i386_fbsd3/amanda-2.4.2p2/bin  \
                --datadir=/sw/i386_fbsd3/amanda-2.4.2p2/share   \
                --sharedstatedir=/var/lib/amanda                \
                --localstatedir=/var/lib                        \
                --sysconfdir=/etc                               \
                --with-config=DailySet1


After that also fails:

- /usr/src/sys/netinet/in.h changed
- Kernel new compiled
o reboot
- Wrrong:((
    serv>mf# sysctl -w net.inet.ip.portrange.lowfirst=600
    net.inet.ip.portrange.lowfirst: 1023 -> 600
    serv>mf# sysctl -w net.inet.ip.portrange.lowlast=1023
    net.inet.ip.portrange.lowlast: 600 -> 1023
    serv>mf# sysctl -a |grep port
    vfs.nfs.nfs_privport: 0
    net.inet.ip.portrange.lowfirst: 600
    net.inet.ip.portrange.lowlast: 1023
    net.inet.ip.portrange.first: 1024
    net.inet.ip.portrange.last: 50100
    net.inet.ip.portrange.hifirst: 50101
    net.inet.ip.portrange.hilast: 65535
    serv>mf# telnet localhost 1024
    Trying 127.0.0.1...
    telnet: Unable to connect to remote host: Connection refused
    serv>mf# amrecover
    AMRECOVER Version 2.4.2p2. Contacting server on am-index ...
    amrecover: did not get a reserved port: 50068

regards

Michael Fritsch
infinis GmbH

Reply via email to