Tuesday, July 6, 2021

Webmin Bacula Module error solution


Failed to connect to the Bacula database : Failed to login to the database bacula : FATAL: Peer authentication failed for user "bacula". Maybe it is not set up, or the module configuration is incorrect


Change folowing line in pg_hba.conf
My pg_hba.conf was located at /etc/postgresql/version number/main


from

#    TYPE    DATABASE    USER    ADDRESS    METHOD
        local        all                    all                                peer

to

#    TYPE    DATABASE    USER    ADDRESS    METHOD
       local         all                    all                                md5

Wednesday, February 12, 2020

pve-firmware : Conflicts: firmware-linux-free but 3.4 is to be installed




pve-firmware : Conflicts: firmware-linux-free but 3.4 is to be installed

resolved by

apt remove linux-image-amd64 && apt upgrade

Tuesday, January 14, 2020

Disable two-factor authentication in Proxmox

Given that you still can login, you can in the graphical interface, select Datacenter and click on Permissions followed by Users and then select the user in question.
Click on the button TFA and then the button Delete.

Wednesday, December 11, 2019

Proxmox 6.0-4 remove nag message "No Valid Subscription"




Remove the Proxmox “No Valid Subscription” message 6.0-4


Edit pvemanagerlib.js located at:

/usr/share/pve-manager/js/pvemanagerlib.js

line 39368 (as of writing)

Comment out

Proxmox.Utils.checked_command(function() {}); // display subscription status

So it looks like

// Proxmox.Utils.checked_command(function() {}); // display subscription status

Saturday, May 18, 2019

Can't access Synology admin interface with hostname or domain name.

I came across a situation where i could not access the admin interface using the domain and hostname. Accessing the non admin parts of the NAS with hostname worked, as well as accessing the admin interface by IP numbers.

The solution for me, turned out to be a manual sync with the NTP server  (Control panel - Regional options - Time - Update Now).


Thursday, March 28, 2019

Bacula Fatal error: Authorization key rejected by Storage daemon

Did you just suddenly got this error? Authorization key rejected


Don’t poke around in your config files!

(Unless you really really know you changed something in there)

Chances are that you have a version mismatch, maybe the manager or one of your clients have been updated outside he scope of compatibility.

Check that first, it could save you five minutes, maybe ten.

I had a mismatch with some old Ubuntu and Debian systems and upon concluding that not all involved machines would handle a update, I felt reluctantly forced (or at least mildly indifferent) to downgrade the offending client.

Find what version/s the machines can agree on and find a way to downgrade/upgrade your installations.

In my case (that most likely do not mach your case in versions) it was a matter of adding following in sources.list

Do NOT just blindly copy and paste this
###### Comment out this old repo after downgrading bacula
deb http://se.archive.ubuntu.com/ubuntu/ trusty main



followed by

sudo apt-get update


and then

These exact version are most likely NOT for you.
sudo apt-get install bacula-console=5.2.6+dfsg-9.1ubuntu3 bacula-fd=5.2.6+dfsg-9.1ubuntu3 bacula-common=5.2.6+dfsg-9.1ubuntu3 bacula-client=5.2.6+dfsg-9.1ubuntu3

 
And that was it really. The hardest part was to find the version-names of the old packages that I needed.


Wednesday, March 27, 2019

Disallow search engine index in Zimbra robots.txt


Disallow search engines to index your Zimbra
 
Change robots.txt to Disallow from the default
value of Allow with one command. 
 
Step 1: Run as Zimbra user
 
zmprov mcf zimbraMailKeepOutWebCrawlers TRUE 

 

and the value of your https://www.domain.com/robots.txt
will change from Allow to Disallow


Blog Archive