Commenting out these lines:
if (geteuid() == 0 || getuid() == 0) {
error(_("amservice must not be setuid root"));
}
in these modules:
common-src/amservice.c
server-src/amcheck.c
server-src/dumper.c
server-src/planner.c
allowed amdump 3.5 to complete successfully as user root.
On Fri, Sep 29, 2017 at 13:02:33 -0400, Jean-Louis Martineau wrote:
> On 29/09/17 12:08 PM, Steven Backus wrote:
> > Yes. Seems best to let it read all the files on the systems
(You may not want to get into changing your setup at this stage, but
note that the usual configuration runs most of the
On 29/09/17 02:07 PM, Steven Backus wrote:
> Jean-Louis Martineau writes:
> > It will fail, there is similar code in planner.c, driver.c and
> > amservice.c
>
> Found it in planner.c and amservice.c but not in driver.c.
Sorry, it's in dumper.c
This message is the
Jean-Louis Martineau writes:
> It will fail, there is similar code in planner.c, driver.c and
> amservice.c
Found it in planner.c and amservice.c but not in driver.c.
Steve
--
Steven J. BackusComputer Systems Manager
University of Utah
Jean-Louis Martineau writes:
> I'm wondering if I should patch amanda to allow it.
Perhaps a warning that it's BAD instead of this misleading error.
> Anyway, you can try to remove the check in server-src/amcheck.c, but it
> might fail somewhere else.
Done, amcheck
On 29/09/17 12:08 PM, Steven Backus wrote:
> Jean-Louis Martineau writes:
>
> > The error message is misleading.
> > The problem is that you run it as root!
>
> > Amanda is not expected to be run as root, do you always run
> > amanda as root?
>
> Yes. Seems best to let
The error message is misleading.
The problem is that you run it as root!
Amanda is not expected to be run as root, do you always run amanda as root?
Jean-Louis
On 29/09/17 11:31 AM, Steven Backus wrote:
> Trying amanda 3.5 on Centos 7.4.1708. Did:
>
> ./configure --with-user=root
Trying amanda 3.5 on Centos 7.4.1708. Did:
./configure --with-user=root --with-group=root --with-config=gen2
--with-bsd-security --with-amandahosts --prefix=/local
compiled and installed. Tried to run amcheck:
/local/sbin/amcheck -c gen2
got:
** (process:15340): CRITICAL **: amcheck must
This is a long standing bug and is not easy to fix.
It is fixed in the not yet release 3.5 branch.
All connect system call are done in different thread.
All bind system call are done in separate processes.
planner, dumper, amcheck, amservice do not require to be setuid root.
Only the new ambind
> On Jul 16, 2017, at 7:20 AM, Luc Lalonde wrote:
>
> Hello Folks,
>
> I think that this is an old bug that has come back in version 3.4.5.
>
> If one of the clients is not reachable for an ‘amcheck’, then I get multiple
> errors:
>
> #
> [root@beagle
Hello Folks,
I think that this is an old bug that has come back in version 3.4.5.
If one of the clients is not reachable for an ‘amcheck’, then I get multiple
errors:
#
[root@beagle amandad]# su amandabackup -c '/usr/sbin/amcheck Journalier-VTAPE'
Amanda Tape Server Host Check
Am 25.08.2011 19:28, schrieb Stefan G. Weichinger:
[c10b101b] ? sys_ioctl+0x2d/0x46
[c1471f10] ? sysenter_do_call+0x12/0x26
Is my tapedrive dying?
After some fiddling and a complete powerdown WITHOUT inserted tape
(important as it seems ...) it works again. Phew.
Greets ...
I see problems with amcheck here.
32bit Gentoo Linux, Kernel 3.0.3, amanda 3.3.0
Tried with 2 different tapes to rule out defectiv media (LTO-2).
amcheck fails and lets amcheck-device hang there, hard or not to kill,
only via booting.
dmesg:
INFO: task amcheck-device:5074
Hi,
I am trying to configure amanda on Solaris10/sparc and running into some
issues. amanda package was installed through CSW/blastwave.
Below is what I see when amanda user tries to run amcheck.
opt/csw/sbin/amcheck fullbackup
Amanda Tape Server Host Check
-
I wonder if one can edit their posts , I could not find option to do so. so
adding info below,
Root user can run that command , however the resultdoes not seem accurate,
bash-3.00# /opt/csw/libexec/chg-zd-mtx -info
1 10 1
bash-3.00# /opt/csw/sbin/mtx -f /dev/scsi/changer/c2t6d0 status
nbsp;
UPengan,
check the file protections on the .amandahosts file in the
amanda user's login directory.
Ignore the directory does not exist messages, they are
informational and will be corrected by amanda when it next runs.
Not sure what to tell youabout the no slots message, I'm
guessing that you
-rwxr-xr-xnbsp; nbsp;1 amandanbsp; nbsp;sysnbsp; nbsp; nbsp; nbsp;
nbsp; nbsp; 0 May 20nbsp; 2010 .amandahosts
Su - amanda
mkdir fullbackup
cd fullback
ls -al
-rw-r--r-- 1 amanda sys 7911 Nov 18 15:07 amanda.conf
-rw-r--r-- 1 amanda root1663 May 26 13:33 amanda.conf_old
Your email are unreadable!
The message was: /opt/csw/etc/amanda/.amandahosts#58; incorrect
permissions; file must be accessible only by its owner
Try: chmod 700 .amandahosts
Jean-Louis
upengan78 wrote:
-rwxr-xr-xnbsp; nbsp;1 amandanbsp; nbsp;sysnbsp; nbsp; nbsp; nbsp; nbsp;
nbsp; 0 May
I'm really sorry, I see all this stuff that looks like
html or hard coded spaces and I can't follow it.
On Thu, Nov 18, 2010 at 04:37:35PM -0500, upengan78 wrote:
-rwxr-xr-xnbsp; nbsp;1 amandanbsp; nbsp;sysnbsp; nbsp; nbsp; nbsp;
nbsp; nbsp; 0 May 20nbsp; 2010 .amandahosts
Su - amanda
Okay guys, I am not sure what's going wrong that you can't read my posts here.
What I am doing is pretty straightforward, going to backupcentral.com and
Amanda forums and writing my posts. I am using codes button available on forum
tools to highlight the configuration part. I am not emailing my
cat chg-zd-mtx.20101118170102.debug
chg-zd-mtx: debug 1 pid 14462 ruid 1066 euid 1066: start at Thu Nov 18 17:01:02
2010
17:01:03 Using config file /opt/csw/etc/amanda/changer.conf
17:01:03 Arg info:
$# = 1
$0 = /opt/csw/libexec/chg-zd-mtx
$1 = -info
17:01:03 Running:
What's your xinetd config? Did it execute amandad? Check system log.
If amanda get executed, post its debug file.
localhost resolve to an IPv6 address, can you use a name that resolve
only to an IPv4 address.
Jean-Louis
aminukapon wrote:
Hello all,
I ran across a problem when I tried to
On Tue, 7 Jul 2009 11:55:27 -0700 (PDT)
aminukapon aminuka...@yahoo.com wrote:
Hello all,
I ran across a problem when I tried to run amcheck on my setup of
amanda using a new machine.. On our old setup I had the same problem
and figured it was the permissions on the amandahosts file which I
Hello all,
I ran across a problem when I tried to run amcheck on my setup of amanda using
a new machine.. On our old setup I had the same problem and figured it was the
permissions on the amandahosts file which I fixed. But now I tried the same fix
on the new setup but I still get the same
Not sure if this is your issue, but...
I've had some funny issues when I've been unable to resolve
client names, or clients not properly resolving amanda server
names, as in when the amanda client is a solaris zone or in
an odd segement of my network.
I never rely on localhost and always use
On Tue, Jul 07, 2009 at 11:55:27AM -0700, aminukapon wrote:
amcheck: debug 1 pid 12972 ruid 34 euid 0: start at Tue Jul 7 14:52:58 2009
amcheck: debug 1 pid 12972 ruid 34 euid 34: rename at Tue Jul 7 14:52:58 2009
amcheck-clients: time 0.003: security_getdriver(name=BSD) returns 0xb7f19c00
On Mon, 2008-09-29 at 20:18 +0200, [EMAIL PROTECTED] wrote:
Hello everybody,
I have a backup solution up and running for all the enterprise servers
based on a 2.4.5 server et 2.4.5 client under Gentoo.
The latest server delivered are under RHEL 5. So I installed the
oldest client-backup I
Hello everybody,
I have a backup solution up and running for all the enterprise servers
based on a 2.4.5 server et 2.4.5 client under Gentoo.
The latest server delivered are under RHEL 5. So I installed the oldest
client-backup I found: 2.5.1.
And when I install the rpm, it created everything
On 4/30/07, Jon LaBadie [EMAIL PROTECTED] wrote:
On Mon, Apr 30, 2007 at 04:19:59PM +0300, Teodor Nicolescu wrote:
Hello!
I have a problem with performing a backup for a Windows share. Amcheck
fails
with the following error
Amanda Backup Client Hosts Check
-sh-2.05b$ cat /etc/amandapass
//hostname/share hostname\user%pass domainname
On XP and W2K I am using:
//hostname/share user%pass hostname
That worked for W98 too.
looking in amanda log, I think I once found the Samba command that is
used by Amanda. I did some fiddling around the command
Hello!
I have a problem with performing a backup for a Windows share. Amcheck fails
with the following error
Amanda Backup Client Hosts Check
WARNING: 172.16.1.61: selfcheck request failed: Connection refused
Client check: 1 host checked in 10.020 seconds
On Mon, Apr 30, 2007 at 04:19:59PM +0300, Teodor Nicolescu wrote:
Hello!
I have a problem with performing a backup for a Windows share. Amcheck fails
with the following error
Amanda Backup Client Hosts Check
WARNING: 172.16.1.61: selfcheck request
Yogesh,
Always look in the log and debug files if you have a problem.
What's in the amcheck.*.debug, amandad.*.debug and selfcheck.*.debug files?
Jean-Louis
Yogesh Hasabnis wrote:
Hi,
We use Amanda 2.5.0p2 in our backup setup. The setup
was working fine for last 2 months. I have started
The selfcheck process is hang.
Could you strace it and attach a debugger to it and get a backtrace.
It's often because of a stale mount point.
Did 'df' succeed?
Jean-Louis
Yogesh Hasabnis wrote:
Hello Jean-Louis,
Thanks for the reply.
The amcheck*.debug reads as follows:
amcheck: debug 1
Yes, I observe that the df command doesn't respond for
quite some time.
Do you mean that I should run strace
/usr/sbin/amcheck config_name command?
Regards
Yogesh
--- Jean-Louis Martineau [EMAIL PROTECTED] wrote:
The selfcheck process is hang.
Could you strace it and attach a debugger to it
Hello Jean-Louis,
Thanks for the reply.
The amcheck*.debug reads as follows:
amcheck: debug 1 pid 21824 ruid 30318 euid 0: start at
Wed Apr 18 17:00:00 2007
amcheck-clients: time 0.036: bind_portrange2: trying
port=639
amcheck-clients: time 0.041: dgram_bind: socket bound
to 0.0.0.0.639
Yogesh Hasabnis wrote:
Yes, I observe that the df command doesn't respond for
quite some time.
Do you mean that I should run strace
/usr/sbin/amcheck config_name command?
no, run 'strace -p pid of selfcheck'
But don't it if 'df' hang.
You must fix your mount problem:
- umount not
We initially had a problem with this also, I'm sure there
was a more subtle way - but we simply disabled the OS X
system's FW. Your problem and/or site policy may be different.
On Mon, Jul 03, 2006 at 06:54:26PM -0400, Josh Steadmon wrote:
On 2006.07.03 23:05, Paul Bijnens wrote:
30 seconds
Hello,
I've recently tried to set up my OS X (10.4.7) laptop to backup to my
Amanda server running Gentoo. My Amanda server has been backing itself
up without any problems for a while now. However, when I run amcheck,
it times out trying to contact my laptop:
[EMAIL PROTECTED]:~ amcheck -c
This is the output of ls -l /dev/hda2:
brw-rw 1 root disk 3, 2 Nov 30 2000 /dev/hda2
I dont know if the group backup has permissions to access /dev/hda2, I am
not the system administrator, how can I know it?
Thanks.
Pablo.
_
Pablo Quinta Vidal wrote:
This is the output of ls -l /dev/hda2:
brw-rw 1 root disk 3, 2 Nov 30 2000 /dev/hda2
I dont know if the group backup has permissions to access /dev/hda2, I
am not the system administrator, how can I know it?
Amanda must belong to the group disk.
Log in as amanda on
Hi list!!
I have a problem with the amcheck while doing amcheck Diaria:
Amanda Tape Server Host Check
--
...
...
NOTE: info dir /usr/adm/amanda/Diaria/curinfo/127.0.0.1: does not exist
...
Amanda Backup Client Hosts Check
On Tuesday 13 April 2004 13:50, Pablo Quinta Vidal wrote:
Hi list!!
I have a problem with the amcheck while doing amcheck Diaria:
Amanda Tape Server Host Check
--
...
...
NOTE: info dir /usr/adm/amanda/Diaria/curinfo/127.0.0.1: does not
exist ...
Amanda
Greetings. I'm still smarting from a large bullet wound in my foot, and I
thought it might have some bearing on the problem with amcheck.
I installed Amanda by compiling from source on a linux box. I hadn't done
this in a while, and I absent-mindedly made a directory:
/tmp/amanda
on
Am Donnerstag, 6. November 2003 17:31 schrieben Sie:
On Thu, 6 Nov 2003 at 5:04pm, Christoph Brunner wrote
Is there a firewall on this box? What are the settings? Are TCP
wrappers getting in the way? If you watch the traffic during the
amcheck, what do you see?
The firewall is
On Fri, 7 Nov 2003 at 10:45am, Christoph Brunner wrote
a tcpdump on the loopback device says:
=
tcpdump: listening on lo
10:40:45.589797 backup03m.1008 backup03m.10080: udp 117 (DF)
10:40:55.482650 backup03m.1008 backup03m.10080: udp 117 (DF)
Am Freitag, 7. November 2003 15:38 schrieben Sie:
On Fri, 7 Nov 2003 at 10:45am, Christoph Brunner wrote
a tcpdump on the loopback device says:
=
tcpdump: listening on lo
10:40:45.589797 backup03m.1008 backup03m.10080: udp 117 (DF)
10:40:55.482650
On Fri, 7 Nov 2003 at 3:54pm, Christoph Brunner wrote
netstat says:
tcp0 0 *:amandaidx *:* LISTEN
udp0 0 *:amanda*:*
Distribution is Gentoo Linux 1.4.
I'm
Hi,
when i run amcheck, i get an error, that the host, i am currently working on,
is not available:
[EMAIL PROTECTED] amanda $ amcheck -c DailySet1
Amanda Backup Client Hosts Check
WARNING: backup03m:
On Thursday 06 November 2003 03:57, Christoph Brunner wrote:
Hi,
when i run amcheck, i get an error, that the host, i am currently
working on, is not available:
[EMAIL PROTECTED] amanda $ amcheck -c DailySet1
Amanda Backup Client Hosts Check
Hi,
my amanda file in /etc/xinet.d/ looks exactly like this, the options are set
correctly, too. I am not running inetd, only xinetd.
Only the localhost (backup03m) is not passed correctly in amcheck, other hosts
are ok.
I tried the disklist file with 'localhost' instead of 'backup03m': The
On Thursday 06 November 2003 04:35, Christoph Brunner wrote:
Hi,
my amanda file in /etc/xinet.d/ looks exactly like this, the options
are set correctly, too. I am not running inetd, only xinetd.
Only the localhost (backup03m) is not passed correctly in amcheck,
other hosts are ok.
I tried the
Hi,
amcheck fails, whether 'backup03m' is in my hosts file or not.
But, anyway, 'backup03m' is in the DNS and can be resolved correctly.
'backup03m' is the only name of the host, it has no aliases.
Nice greetings,
Christoph
Am Donnerstag, 6. November 2003 11:05 schrieben Sie:
On Thursday 06
On Thursday 06 November 2003 05:16, InterNetX - Christoph Brunner
wrote:
Hi,
amcheck fails, whether 'backup03m' is in my hosts file or not.
But, anyway, 'backup03m' is in the DNS and can be resolved
correctly. 'backup03m' is the only name of the host, it has no
aliases.
Mmm, dunno if its
Hi,
sure it has a FQDN in the hosts file, but, as i wrote, amcheck fails, whether
i use backup03m or the FQDN. amcheck also fails, whether i use the hosts file
or the named to resolve the host name.
Nice greetings
Christoph
Am Donnerstag, 6. November 2003 11:28 schrieben Sie:
On Thursday 06
On Thursday 06 November 2003 05:37, Christoph Brunner wrote:
Hi,
sure it has a FQDN in the hosts file, but, as i wrote, amcheck
fails, whether i use backup03m or the FQDN. amcheck also fails,
whether i use the hosts file or the named to resolve the host name.
Nice greetings
Christoph
Somebody
Christoph Brunner [EMAIL PROTECTED] writes:
Hi,
when i run amcheck, i get an error, that the host, i am currently working on,
is not available:
[EMAIL PROTECTED] amanda $ amcheck -c DailySet1
Amanda Backup Client Hosts Check
Hi,
nslookup, dig and host do not use the same resolver as regular libc
based applications do. Try ping or telnet and see if it figures the
IP out.
ping works correct.
When using xinetd, which version are you using? Does upgrading the
client to xinetd 2.3.12 or xinetd CVS help? Older
On Thu, 6 Nov 2003 at 3:59pm, Christoph Brunner wrote
nslookup, dig and host do not use the same resolver as regular libc
based applications do. Try ping or telnet and see if it figures the
IP out.
ping works correct.
When using xinetd, which version are you using? Does upgrading the
On Thu, Nov 06, 2003 at 09:57:01AM +0100, Christoph Brunner wrote:
Hi,
when i run amcheck, i get an error, that the host, i am currently working on,
is not available:
[EMAIL PROTECTED] amanda $ amcheck -c DailySet1
Amanda Backup
Hi,
It appears you have set up an amanda server and several external
client systems. Have you also done the client part of an install
on the server? It does have to be done because when backing up
itself, the server responds as a client.
What do you mean with 'client part'? When i install
On Thu, Nov 06, 2003 at 05:23:20PM +0100, Christoph Brunner wrote:
Hi,
It appears you have set up an amanda server and several external
client systems. Have you also done the client part of an install
on the server? It does have to be done because when backing up
itself, the server
On Sat, 2003-03-22 at 21:50, Marty Shannon, RHCE wrote:
I added a second IP address / interface (eth0:1)
selfcheck request timed out. Host down?
If I shut down eth0:1 amcheck works.
If you're on a Redhat-based system, edit
/etc/sysconfig/network-scripts/ifcfg-eth0:1 (or
On Sun, Mar 23, 2003 at 12:38:34AM -0800, philo vivero wrote:
On Sat, 2003-03-22 at 21:50, Marty Shannon, RHCE wrote:
I added a second IP address / interface (eth0:1)
selfcheck request timed out. Host down?
If I shut down eth0:1 amcheck works.
If you're on a Redhat-based
I added a second IP address / interface (eth0:1) to a client machine - now amcheck
fails with this message:
selfcheck request timed out. Host down?
If I shut down eth0:1 amcheck works.
How can I get it to work with eth0:1 enabled?
On Sat, 2003-03-22 at 03:27, lloyd wrote:
I added a second IP address / interface (eth0:1)
selfcheck request timed out. Host down?
If I shut down eth0:1 amcheck works.
If you're on a Redhat-based system, edit
/etc/sysconfig/network-scripts/ifcfg-eth0:1 (or whatever has the
definition for
On 22 Mar 2003 12:42:52 -0800
philo vivero [EMAIL PROTECTED] wrote:
On Sat, 2003-03-22 at 03:27, lloyd wrote:
I added a second IP address / interface (eth0:1)
selfcheck request timed out. Host down?
If I shut down eth0:1 amcheck works.
If you're on a Redhat-based system, edit
lloyd wrote:
On 22 Mar 2003 12:42:52 -0800
philo vivero [EMAIL PROTECTED] wrote:
On Sat, 2003-03-22 at 03:27, lloyd wrote:
I added a second IP address / interface (eth0:1)
selfcheck request timed out. Host down?
If I shut down eth0:1 amcheck works.
If you're on a
68 matches
Mail list logo