Re: [Bacula-users] bsockcore issue.

2019-12-16 Thread Erik P. Olsen
OH, just found out that this was due to a run in which the catalog was not mounted. Sorry for the confusion but I haven't realised that till now. But on the other hand the problem may be caused by wrong authorisation for user bacula to the bacula database. I can only access the database with

Re: [Bacula-users] Ignore ctime

2019-12-16 Thread Martin Simmons
> On Mon, 16 Dec 2019 14:20:52 +0100, Helmut Ritter said: > > Hi, > > afaics this is still valid: > > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497514 > > As a result if I run a nightly script to ensure proper permissions on > folders (e.g. /var/www) Bacula picks all those files up

Re: [Bacula-users] bsockcore issue.

2019-12-16 Thread Erik P. Olsen
Thanks, that could very well be it: [erik@Erik-PC ~]$ mysql bacula -u bacula -p Enter password: ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'bacula' [erik@Erik-PC ~]$ But then: [erik@Erik-PC ~]$ mysql bacula -u root -p Enter password: Reading table information for

Re: [Bacula-users] bsockcore issue.

2019-12-16 Thread Erik P. Olsen
On 2019-12-16 at 13:59:07 Martin Simmons wrote: > It looks like nothing is listening on port 9101, which is why bconsole cannot > connect. > > What is the output of running lsof as root? E.g. where 4226 is the pid of > bacula-dir (check it again with pgrep before running this): > > lsof -p

Re: [Bacula-users] bsockcore issue.

2019-12-16 Thread Erik P. Olsen
On 2019-12-16 at 07:08:07 Josh Fisher wrote: > There should be 3 listening ports, bacula-sd listening on tcp 9101, > bacula-fd listening on tcp 9102, and bacula-sd listening on 9103. > Bconsole connects to bacula-sd's port 9101, regardless of interface. > > Try netstat -nltp. It should show

Re: [Bacula-users] bsockcore issue.

2019-12-16 Thread Alf Normann Klausen
Dear Eric, In your email of 7th of December I can see this output: Dec 7 11:04:00 Erik-PC bacula-dir[1196]: bacula-dir: dird.c:1234-0 mysql.c:268 Unable to connect to MySQL server. Dec 7 11:04:00 Erik-PC bacula-dir[1196]: Database=bacula User=bacula Dec 7 11:04:00 Erik-PC bacula-dir[1196]:

Re: [Bacula-users] bsockcore issue.

2019-12-16 Thread Martin Simmons
It looks like nothing is listening on port 9101, which is why bconsole cannot connect. What is the output of running lsof as root? E.g. where 4226 is the pid of bacula-dir (check it again with pgrep before running this): lsof -p 4226 You may need to install the lsof package from Fedora.

Re: [Bacula-users] bsockcore issue.

2019-12-16 Thread Josh Fisher
On 12/16/2019 8:35 AM, Martin Simmons wrote: On Mon, 16 Dec 2019 07:08:07 -0500, Josh Fisher said: On 12/14/2019 3:43 PM, Erik P. Olsen wrote: OK, I tried your suggestion and got: [erik@Erik-PC ~]$ pgrep -lf bacula-dir 4226 bacula-dir [erik@Erik-PC ~]$ netstat -an |grep LISTEN|grep 910 tcp

Re: [Bacula-users] bsockcore issue.

2019-12-16 Thread Martin Simmons
> On Mon, 16 Dec 2019 07:08:07 -0500, Josh Fisher said: > > On 12/14/2019 3:43 PM, Erik P. Olsen wrote: > > OK, I tried your suggestion and got: > > > > [erik@Erik-PC ~]$ pgrep -lf bacula-dir > > 4226 bacula-dir > > > > [erik@Erik-PC ~]$ netstat -an |grep LISTEN|grep 910 > > tcp0

[Bacula-users] Ignore ctime

2019-12-16 Thread Helmut Ritter
Hi, afaics this is still valid: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497514 As a result if I run a nightly script to ensure proper permissions on folders (e.g. /var/www) Bacula picks all those files up although nothing (except ctime) changed. Can I configure bacula to ignore

Re: [Bacula-users] bsockcore issue.

2019-12-16 Thread Josh Fisher
On 12/14/2019 3:43 PM, Erik P. Olsen wrote: OK, I tried your suggestion and got: [erik@Erik-PC ~]$ pgrep -lf bacula-dir 4226 bacula-dir [erik@Erik-PC ~]$ netstat -an |grep LISTEN|grep 910 tcp0 0 0.0.0.0:91020.0.0.0:* LISTEN tcp0 0