Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    [solved]bacula - webgui config - bug?

    pfSense Packages
    2
    8
    997
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      pra last edited by

      Hello

      pfsense version : 2.2.4
      i installed the bacula package
      in webgui , when you configue bacula-client in 'service/bacula-client', the bacula-fd.conf is not complete, and bacula client do a segmentation fault because bacula-fd.conf is incomplet

      the confi via webgui give :
      Director {
      Name = bacula-dir
      Password = "xxxxxxxx"
      }

      the real config need
      Director , FileDaemon, Messages

      than the config file good is :

      Director {
      Name = bacula-dir
      Password = "xxxx"
      }

      FileDaemon {                       
        Name = fw1-fd
        FDport = 9102             
        WorkingDirectory = /tmp
        Pid Directory = /var/run
        Maximum Concurrent Jobs = 20
        FDAddress = ip or fqn
      }

      Messages {
        Name = Standard
        director = bacula-dir = all, !skipped, !restored
      }

      the 'file daemon ' seems not write the 'FileDaemon'  zone in bacula-fd.conf

      thank you for your help

      pra



      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned last edited by

        Segfault on bad configuration sounds like a quality software…  ::) ;D

        Sounds like you did not configure the FileDaemon at all.

        https://github.com/pfsense/pfsense-packages/blob/master/config/bacula-client/bacula-client.inc#L117

        
        		if (!empty($LocalDirector)) {
        			$baculaclient_conf .= "FileDaemon { \n\tName = {$LocalDirector}-fd #\n\tFDport = {$port}\n\tWorkingDirectory = /var/db/bacula\n\tPid Directory = /var/run\n\tMaximum Concurrent Jobs = {$jobs}\n}\n";
        		}
        
        
        1 Reply Last reply Reply Quote 0
        • P
          pra last edited by

          Ok thank you

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned last edited by

            Added a check for configured local director here (together with quite a bit of cleanup and fixes): https://github.com/pfsense/pfsense-packages/pull/1001

            1 Reply Last reply Reply Quote 0
            • P
              pra last edited by

              thank you
              but i am not a specialist of git, how can i get your file
              i use git clone but i don t have the changes

              thank you for your help

              1 Reply Last reply Reply Quote 0
              • D
                doktornotor Banned last edited by

                Not worth it in this case; just wait till it's merged in pfSense and upgrade the package.

                1 Reply Last reply Reply Quote 0
                • P
                  pra last edited by

                  Ok
                  thank you

                  1 Reply Last reply Reply Quote 0
                  • P
                    pra last edited by

                    package upgraded
                    thank you

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post

                    Products

                    • Platform Overview
                    • TNSR
                    • pfSense
                    • Appliances

                    Services

                    • Training
                    • Professional Services

                    Support

                    • Subscription Plans
                    • Contact Support
                    • Product Lifecycle
                    • Documentation

                    News

                    • Media Coverage
                    • Press
                    • Events

                    Resources

                    • Blog
                    • FAQ
                    • Find a Partner
                    • Resource Library
                    • Security Information

                    Company

                    • About Us
                    • Careers
                    • Partners
                    • Contact Us
                    • Legal
                    Our Mission

                    We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                    Subscribe to our Newsletter

                    Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                    © 2021 Rubicon Communications, LLC | Privacy Policy