BackupPC-users

Re: [BackupPC-users] Installation problems: BackupPC_serverMesg hangs

2010-04-12 11:05:39
Subject: Re: [BackupPC-users] Installation problems: BackupPC_serverMesg hangs
From: Bruce <bruce AT sqls DOT net>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 12 Apr 2010 10:03:43 -0500
Hmmn, Alright.  I'll try to add more details.  Sorry I wasn't more clear 
previously.   I had thought I was responding to that thread on the forum 
and so left out some details that I felt was already clear in the 
forum.  But this being put here on the mailing list, I can see how it 
seems out of context.

Here's a link to the previous e-mails on this, probably in a more 
comfortable format.  Just from the archives for this mailing list.

http://sourceforge.net/mailarchive/message.php?msg_id=200908251808.11116.chrdr%40gmx.at

The problem is, I cannot communicate with the BackupPC server.  It is 
installed and it does run without any errors.

But when I try to run, say..

BackupPC_serverMesg status info

The command just hangs. The strace information I provided shows that 
it's hanging when trying to read input from the backuppc daemon.

The strace information on the daemon shows that it never gets any 
requests from the client, it sits on the "select" (line 785 of BackupPC 
code) command waiting for some sort of input from any of the handlers 
and never gets anything. The same is true regardless of connecting via 
sockets or tcp.

My limited perl skill mixed with some google searches leads me to 
understand that all the input handlers are added up into a variable 
called FDread using a "vec" command. Then this value is handed off to 
the "select" command where I understand it breaks that FDread variable 
back up and listens on all of the given sources. Looking at the bug 
report https://dev.openwrt.org/ticket/6900 makes me wonder if some 
big/little endian difference is causing the vec or select commands to 
add up the values incorrectly and if so, maybe the select command isn't 
listening on all (or any) of the input sources.

So, what I'm hoping to find out is rather or not this is really how the 
backuppc daemon works and if there's some way to fix the problem.



Luis Paulo wrote:
> Hi, Bruce
>
> My point is that you still don't give me anything to work on
>
> That strace don't mean a thing to me
>
> The other thread didn't add nothing
>
> And, as far as I know, the backuppc server is running on an Access 
> point...
>
> I only know (besides the strace) the backup server hangs (or not), and 
> you are not a very good perl programmer
>
> And that you think, it's because it "never actually gets the requests 
> from clients because it doesn't hear them", "number is being passed to 
> the select command is wrong", "big/little endian differences"
>
> No logs, no commands you have tried
>
> I'm sure you have put a lot of effort on this, but it seems you are 
> stuck, not able to look in other directions.
> Is it really a code problem?
>
> Can't help you in any aspect. Really don't think someone will, hope 
> I'm wrong.
>
> Regards
> Luis
>
> PS: Don't mind the tone, please. Wish I could be of some help.
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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/


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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/