Re: BackupPC error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxx> 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@localhost ~]# vi echos.c
>> [root@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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
>>> 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@xxxxxxxxxxxxxxxxxxxxxxx
>> To unsubscribe or change subscription options:
>> https://admin.fedoraproject.org/mailman/listinfo/users
>> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>>
>>
>
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux