Peter,

On Tue, Jun 14, 2011 at 10:40:09PM +0200, Peter Kunst wrote:
> Hi Brian,
> 
> On 6/14/11 10:09 PM, Brian Cuttler wrote:
> >
> >Hi amanda users,
> >
> >I built amanda 3.3.0 on Solaris/Sparc 10 with the following.
> >
> >PATH
> >/usr/local/bin:/usr/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin: \
> >/usr/ccs/bin:/usr/sfw/bin:/opt/sfw/gcc-3/bin:/opt/sfw/bin: \
> >/usr/local/bin:/opt/SUNWspro/bin:/usr/ucb
> >
> >
> >./configure --with-user=amanda --with-group=sys 
> >--with-udpportrange=932,948 \
> >    --with-tcpportrange=10084,10100 --with-gnutar=/usr/sfw/bin/gtar \
> >    --with-gnuplot=/opt/sfw/bin/gnuplot --without-libiconv-prefix \
> >    --without-libintl-prefix \
> >   LDFLAGS="-L/usr/sfw/lib -R/usr/sfw/lib" \
> >   CPPFLAGS="-I/usr/sfw/include -I/opt/sfw/include" \
> >   CFLAGS="-I/usr/sfw/include -I/opt/sfw/include -I/usr/local/include" \
> >   CC=/opt/SUNWspro/bin/cc EGREP=/usr/sfw/bin/gegrep
> >
> >autoconfigured completed, gmake and gmake install completed.
> >
> >However the SMF amanda service keeps going into 'maintenance' mode
> >which kind of puts a kink in backups since all client DLEs are on
> >the server.
> >
> >I did update amanda.conf syntax, added amanda/TCP to /etc/services,
> >update /etc/inetd.conf and removed and rebuild SMF services and
> >updated the typetype to BSDTCP.
> >
> >Oh yes, it may be interesting to note that we had been running
> >amanda 2.4.4 on this system.
> >
> >Interestingly, the SMF service IMMEDIATLY goes into maintenance
> >mode - it doesn't wait for me to run amcheck or anything.
> >
> >This tells me the error is pretty low level, before amanda has a
> >chance to write to /tmp/amanda and I don't find anything related
> >in /var/adm/messages, nor does the service have its own log file
> >specified in SMF, it falls under the inetd restarter which is not
> >showing anything.
> >
> >Has anyone else seen this ?
> >Suggestions for work around/fixes ?
> 
> some time ago, i've fixed this by completely removing the SMF entry and 
> recreating it, using "svccfg delete svc:bla/amanda ; rm 
> /var/svc/manifest/network/amandad-udp.xml". SMF uses an older (sometimes 
> buggy) version of sqlite to write it's internal disk based datastore.

Yes - those are pretty much exactly the steps I'd followed.

# vi /etc/inetd.conf
# svcadm disable 
# rm, to delete manifest
# svccfg, to remove service entry from database
# inetconv, to bring in new amanda service definition.

I tried this more than once.

thanks - Brian






> 
> Hope this helps.
> 
>  Cheers,
>  Peter
---
   Brian R Cuttler                 [email protected]
   Computer Systems Support        (v) 518 486-1697
   Wadsworth Center                (f) 518 473-6384
   NYS Department of Health        Help Desk 518 473-0773



IMPORTANT NOTICE: This e-mail and any attachments may contain
confidential or sensitive information which is, or may be, legally
privileged or otherwise protected by law from further disclosure.  It
is intended only for the addressee.  If you received this in error or
from someone who was not authorized to send it to you, please do not
distribute, copy or use it or any attachments.  Please notify the
sender immediately by reply e-mail and delete this from your
system. Thank you for your cooperation.


Reply via email to