Re: Amrecover issue...

2009-01-02 Thread Christiaan de Vries
: waiting for connection: 0.0.0.0.50037
amandad: time 0.005: sending REP pkt:

CONNECT MESG 50037


amandad: time 0.005: dgram_send_addr(addr=0x80529c0, dgram=0xb7f0b284)
amandad: time 0.005: (sockaddr_in *)0x80529c0 = { 2, 858, 10.100.100.160 }
amandad: time 0.005: dgram_send_addr: 0xb7f0b284-socket = 0
amandad: time 0.005: dgram_recv(dgram=0xb7f0b284, timeout=0, 
fromaddr=0xb7f1b270)

amandad: time 0.005: (sockaddr_in *)0xb7f1b270 = { 2, 858, 10.100.100.160 }
amandad: time 0.005: received ACK pkt:


amandad: time 0.006: stream_accept: connection from 10.100.100.160.5
amandad: time 0.006: try_socksize: send buffer size is 65536
amandad: time 0.006: try_socksize: receive buffer size is 65536
amandad: time 0.006: security_close(handle=0x80529a0, driver=0xb7f092e0 
(BSD))

amandad: time 68710.751: security_stream_close(0x8063010)
amandad: time 68729.749: pid 1414 finish time Tue Dec 30 12:49:14 2008


r...@dub-amanda1:/usr/lib/amanda# ls -al ami*
=
-rwxr-xr-x 1 root root 16248 2007-11-09 01:08 amidxtaped
-rwxr-xr-x 1 root root 34764 2007-11-09 01:08 amindexd
r...@dub-amanda1:/usr/lib/amanda#

Regards,
Christiaan de Vries


Jean-Louis Martineau wrote:

Christiaan de Vries wrote:

Hello Jean-Louis,

File Permissions:
==
bac...@dub-amanda1:~$ ls -al /usr/lib/amanda/amidxtaped
-rwxr-xr-x 1 root root 16248 2007-11-09 01:08 /usr/lib/amanda/amidxtaped

Xinetd.d conf:

r...@dub-amanda1:/etc/xinetd.d# cat /etc/xinetd.d/amidxtape
#default: on
# description: The amanda tape service
service amidxtape
{
#only_from= Amanda client list
   socket_type= stream
   protocol= tcp
   wait= no
   user= backup
   group= backup
   groups= yes
   server= /usr/lib/amanda/amidxtaped
   server_args= -auth=bsd amdump amindexd amidxtaped
   disable= no
}

xinetd amindexd and amidxtaped are not use, you should disable them if 
you don't have older client.

Post /etc/xinetd.d/amanda
Post the amandad.*.debug file
Do /usr/lib/amanda/amidxtaped have the same permission as 
/usr/lib/amanda/amindexd?

Socket:

r...@dub-amanda1:/etc/xinetd.d# netstat -an | grep 10083
tcp0  0 0.0.0.0:10083   0.0.0.0:*   
LISTEN  
FYI: I have tried changing the file ownership to the backup user, but 
to no avail... I also tried to start the amixdtaped deamon with root, 
also no change, still the same error:


amrecover - can't talk to tape server: NAK: execute access to 
/usr/lib/amanda/amidxtaped denied


Kind regards again,
Christiaan de Vries

(Btw, where would I set the 'sethost' and 'settape' variables on the 
client machine permanently?)

Either when you configure amanda or in the amanda-client.conf file.

Jean-Louis





--
Christiaan de Vries
IT Infrastructure Engineer

Baxter-FX
*24 hour dealing desk:*
+353 1 670 04 55Baxter-FX
*e-Mail: *ch...@baxter-fx.com mailto:n...@baxter-fx.com
*Fax: *+353 1 633 54 01
*Web: *www.baxter-fx.com http://www.baxter-fx.com

* *
Baxter-FX
*IM Networks:*
ICQ: 486907046
MSN: chris...@gmail.com
Baxter-FX
*Dealing or Clearing Queries:*
deal...@baxter-fx.com mailto:deal...@baxter-fx.com
*System  Technical Questions:*
supp...@baxter-fx.com mailto:supp...@baxter-fx.com

Baxter-FX
*Address:*
BAXTER Financial Services Ltd.
The Anchorage
17-19 Sir John Rogerson's Quay
Dublin 2
IRELAND

BAXTER Spot-FX, ICE Currency Futures and CME products covered.
Prices and access to other FX markets possible. Please ask us for 
availability.




Re: Amrecover issue...

2008-12-30 Thread Christiaan de Vries

Hello Jean-Louis,

File Permissions:
==
bac...@dub-amanda1:~$ ls -al /usr/lib/amanda/amidxtaped
-rwxr-xr-x 1 root root 16248 2007-11-09 01:08 /usr/lib/amanda/amidxtaped

Xinetd.d conf:

r...@dub-amanda1:/etc/xinetd.d# cat /etc/xinetd.d/amidxtape
#default: on
# description: The amanda tape service
service amidxtape
{
#only_from= Amanda client list
   socket_type= stream
   protocol= tcp
   wait= no
   user= backup
   group= backup
   groups= yes
   server= /usr/lib/amanda/amidxtaped
   server_args= -auth=bsd amdump amindexd amidxtaped
   disable= no
}

Socket:

r...@dub-amanda1:/etc/xinetd.d# netstat -an | grep 10083
tcp0  0 0.0.0.0:10083   0.0.0.0:*   
LISTEN



FYI: I have tried changing the file ownership to the backup user, but to 
no avail... I also tried to start the amixdtaped deamon with root, also 
no change, still the same error:


amrecover - can't talk to tape server: NAK: execute access to 
/usr/lib/amanda/amidxtaped denied


Kind regards again,
Christiaan de Vries

(Btw, where would I set the 'sethost' and 'settape' variables on the 
client machine permanently?)


Jean-Louis Martineau wrote:

Christiaan de Vries wrote:

Thanks for that Jean-Louis! That helped... !

Getting a bit closer to completion again. FYI: I am running the 
client now, and after some configuration issues (such as setting 
setdisk and sethost) I can finally list the back upped files on the 
server from a client connection


Unfortunately, when I try to extract the files, I receive the 
following error:

=
amrecover add SweetSweetKisses_Final.mov
Added file /Documents/SweetSweetKisses_Final.mov
amrecover extract

Extracting files using tape drive changer on host localhost.
The following tapes are needed: DailySet1-13

Restoring files into directory /var/log/amanda/client/DailySet1
Continue [?/Y/n]? y

Extracting files using tape drive changer on host localhost.
Load tape DailySet1-13 now
Continue [?/Y/n/s/t]? y
amrecover - can't talk to tape server: NAK: execute access to 
/usr/lib/amanda/amidxtaped denied

amrecover

Why amandad can't execute? What is your xinetd config? What is the user?
What is the permission on /usr/lib/amanda/amidxtaped?








Jean-Louis




Other GUI's for Amanda (except commercial ones)

2008-12-09 Thread Christiaan de Vries

Hello all,

I have set up an Amanda server, my manager wants a graphical user 
interface, but does not want to purchase Zmanda.. Are there any 
alternatives around at the moment, or would I have a go in writing my own?


Regards,
Christiaan