BackupPC-users

Re: [BackupPC-users] sudo error

2008-12-03 13:41:52
Subject: Re: [BackupPC-users] sudo error
From: WebIntellects Technical Support <josh AT webintellects DOT com>
To: backuppc-users AT lists.sourceforge DOT net
Date: Wed, 03 Dec 2008 10:38:24 -0800
The OS is centos 5 and is up to date. The sudo package is 
sudo-1.6.8p12-12.el5 and has been removed and reinstalled to be sure it 
wasn't a corrupt package.

----------------------------------------
Josh Elson
WebIntellects Technical Support
josh AT webintellects DOT com
800-994-6364
760-477-1100
http://cm.controlmaestro.com
----------------------------------------



backuppc-users-request AT lists.sourceforge DOT net wrote:
> Send BackupPC-users mailing list submissions to
>       backuppc-users AT lists.sourceforge DOT net
>
> To subscribe or unsubscribe via the World Wide Web, visit
>       https://lists.sourceforge.net/lists/listinfo/backuppc-users
> or, via email, send a message with subject or body 'help' to
>       backuppc-users-request AT lists.sourceforge DOT net
>
> You can reach the person managing the list at
>       backuppc-users-owner AT lists.sourceforge DOT net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of BackupPC-users digest..."
>
>
> Today's Topics:
>
>    1. Re: Using perl code within config files (Jeffrey J. Kosowsky)
>    2. sudo error (WebIntellects Technical Support)
>    3. Re: sudo error (Tino Schwarze)
>    4. Re: backuppc doesn't clean cpool (Cesar Voulgaris)
>    5. Re: backuppc doesn't clean cpool (Cesar Voulgaris)
>    6. Re: I broke perfection ... (Kenneth L. Owen)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 03 Dec 2008 12:03:16 -0500
> From: "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org>
> Subject: Re: [BackupPC-users] Using perl code within config files
> To: backuppc-users <backuppc-users AT lists.sourceforge DOT net>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=us-ascii
>
> Craig Barratt wrote at about 15:21:58 -0800 on Tuesday, December 2, 2008:
>  > Jeffrey writes:
>  > 
>  > > Just as an FYI, it is possible to use perl code within config files so
>  > > that you can use a single config file yet still customize
>  > > configurations by pc (or groups of pc's) without having to duplicate
>  > > changes across multiple relatively similar config files each time you
>  > > change a parameter.
>  > > 
>  > > For example, I have a number of windows machines and one linux server.
>  > > For the windows machines, I use a single config file in
>  > > /etc/BackupPC/pc and then create links to it for each of my windows
>  > > machines.
>  > > 
>  > > I then use perl conditional statements to make some configurations
>  > > unique by pc (or group of pc's).
>  > > 
>  > > The trick is that $ARGV[0] is the name of the config file (or link)
>  > > called and thus can be used to determine the machine.
>  > > Personally, I find this trick very helpful...
>  > 
>  > Yes, a nice trick.  But there are two caveats:
>  > 
>
> OK. I am stumped by something here.
> The "trick" works fine when running processes such as dump or restore.
>
> But it seems to fail when the pc config file is read when going to the
> Hosts web page. Specifically when I use the pull-down to go to one of the 
> hosts
> on my list, I can confirm that the host-specific config file is being
> read. However, in that case the value of $ARGV[0] is *undef*.
>
> I am stumped because the code in HostInfo.pm (which I assume is what
> is called here) calls the same "$bpc->ConfigRead($host)" function
> which I believe uses 'do' to read in the config file. I don't see how
> the host-specific config file can be read without setting $ARGV[0]
> unless it is being done some other way elsewhere.
>
> Any thoughts here?
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 03 Dec 2008 09:01:59 -0800
> From: WebIntellects Technical Support <josh AT webintellects DOT com>
> Subject: [BackupPC-users] sudo error
> To: BackupPC-users AT lists.sourceforge DOT net
> Message-ID: <4936BB87.1010206 AT webintellects DOT com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> When trying to backup a server for the first time we are receiving the 
> following error, has anybody seen this and know the fix:
>
> Fatal error (bad version): sudo: symbol lookup error: sudo: undefined symbol: 
> audit_log_user_command
>
>
>   

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>