My mistake in last message. Here is the correct text:

...
The fact is that the only difference is how bacula-sd is invoked:

   1. $ sudo systemctl start bacula-sd  => UPLOAD ERROR
   2. $ sudo bacula-sd -fP -c /opt/bacula/etc/bacula-sd.conf  => UPLOAD OK

Best regards.
Otaci MArtins

Em ter., 21 de set. de 2021 às 11:17, Otaci Martins <otaci.mart...@gmail.com>
escreveu:

> Heitor, this is only a LAB not a production system.
>
> First i am using user=root, but after your last message i changed to
> user=bacula with same results. The cache /tmp in this LAB does not affect
> the results here.
>
> The fact is that the only difference is how bacula-sd is invoked:
>
>    1. $ sudo systemctl start bacula-sd  => UPLOAD OK
>    2. $ sudo bacula-sd -fP -c /opt/bacula/etc/bacula-sd.conf  => UPLOAD
>    ERROR
>
> All other configurations and environments are exactly the same, running in
> the same machine, just changing how bacula-sd is invoked.
>
> Tks
> Otaci Martins
>
> Em ter., 21 de set. de 2021 às 10:56, Heitor Faria <hei...@bacula.com.br>
> escreveu:
>
>> Hello Otaci,
>>
>> IMHO your scenario is kind of confusing.
>>
>> 1. Your service init file is using the root Linux user. Like I wrote
>> before, not recommendable:
>> "[Service]
>> Type=simple
>> User=root"
>>
>> 2. You are using /tmp as cache/volume storage, what is absolutely not
>> recommendable.
>>
>> Regards,
>>
>
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to