BackupPC error
Reid Rivenburgh
reidr at pobox.com
Thu Aug 11 16:07:01 UTC 2011
It looks like I needed to create /var/run/BackupPC, owned by account
backuppc. I notice in the changelog for the most recent package that
the socket creation was moved there, but it seems it didn't make sure
the directory exists.
Reid
On Thu, Aug 11, 2011 at 9:58 AM, Reid Rivenburgh <reidr at pobox.com> wrote:
> Ah, that's a good point, those two lines of the LOG file may not be
> related, which would be misleading. I should check if any sockets are
> being created. Thanks for the tip.
>
> Reid
>
> On Thu, Aug 11, 2011 at 9:55 AM, j.e.aneiros <jesus.aneiros at gmail.com> wrote:
>> Well I never have used BackupPC software but for me the problem is not the
>> hosts file.
>> I think the program is trying to open a UNIX socket file and for some reason
>> (the directory where the file should reside no longer exists or some
>> permission problems) is failing.
>> I was able to replicate you problem with a program of my own trying to
>> create UNIX socket in a directory that doesn't exist:
>> [root at localhost ~]# vi echos.c
>> [root at localhost ~]# ./echos
>> bind: No such file or directory
>> The offended lines of code:
>> if (bind(s, (struct sockaddr *)&local, len) == -1) {
>> perror("bind");
>> exit(1);
>> }
>> On Thu, Aug 11, 2011 at 11:01 AM, Reid Rivenburgh <reidr at pobox.com> wrote:
>>>
>>> Hi. I'm running F15 and have been using BackupPC successfully for
>>> years. I rebooted my computer this morning and noticed that BackupPC
>>> failed to start. Its log file has this:
>>>
>>> 2011-08-11 08:00:25 Reading hosts file
>>> 2011-08-11 08:00:25 unix bind() failed: No such file or directory
>>>
>>> But the hosts file exists. I haven't touched it in a long time.
>>>
>>> -rw-r--r--. 1 backuppc backuppc 2301 Jan 12 2011 /etc/BackupPC/hosts
>>>
>>> The version of BackupPC I'm running is BackupPC-3.2.1-1.fc15.x86_64.
>>> Does anyone have any hints about why it's failing?
>>>
>>> Thanks,
>>> Reid
>>> --
>>> users mailing list
>>> users at lists.fedoraproject.org
>>> To unsubscribe or change subscription options:
>>> https://admin.fedoraproject.org/mailman/listinfo/users
>>> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>>
>>
>>
>> --
>> J. E. Aneiros
>> GNU/Linux User #190716 en http://counter.li.org
>> perl -e '$_=pack(c5,0105,0107,0123,0132,(1<<3)+2);y[A-Z][N-ZA-M];print;'
>> PK fingerprint: 5179 917E 5B34 F073 E11A AFB3 4CB3 5301 4A80 F674
>>
>> --
>> users mailing list
>> users at lists.fedoraproject.org
>> To unsubscribe or change subscription options:
>> https://admin.fedoraproject.org/mailman/listinfo/users
>> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>>
>>
>
More information about the users
mailing list