• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Samba share problem

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #11
    Originally posted by suityou01 View Post
    Centos 7
    Yep, I think you'll need to use journalctl to view log messages. There are ways to get the various daemons to still write to /var/log... but it needs some configuring and you'll probably need to install syslog
    Brexit is having a wee in the middle of the room at a house party because nobody is talking to you, and then complaining about the smell.

    Comment


      #12
      Originally posted by darmstadt View Post
      Yep, I think you'll need to use journalctl to view log messages. There are ways to get the various daemons to still write to /var/log... but it needs some configuring and you'll probably need to install syslog
      You're probably right but when I try using journalctl it lists no log entries.

      Admittedly having no log files is stifling any attempts to diagnose.
      Knock first as I might be balancing my chakras.

      Comment


        #13
        Originally posted by suityou01 View Post
        There are none. This is the frustrating thing.

        Code:
        log file= /var/log/samba/log.%m
        log level = 5
        And nada. Nichts. Zip. Diddly.
        try log level = 1 in smb.conf, restart Samba, use journalctl -u smbd (or possibly journalctl -u smbd.service)
        Brexit is having a wee in the middle of the room at a house party because nobody is talking to you, and then complaining about the smell.

        Comment


          #14
          Code:
          find . -name "smb.conf"
          ./etc/samba/conf
          ./usr/local/samba/etc/smb.conf

          Knock first as I might be balancing my chakras.

          Comment


            #15
            Originally posted by suityou01 View Post
            Code:
            find . -name "smb.conf"
            ./etc/samba/conf
            ./usr/local/samba/etc/smb.conf

            I suspect /etc/samba/samba.conf
            Brexit is having a wee in the middle of the room at a house party because nobody is talking to you, and then complaining about the smell.

            Comment


              #16
              Originally posted by darmstadt View Post
              I suspect /etc/samba/samba.conf
              So did I which is what caused this thread to be started.
              Knock first as I might be balancing my chakras.

              Comment


                #17
                Originally posted by suityou01 View Post
                There are none. This is the frustrating thing.

                Code:
                log file= /var/log/samba/log.%m
                log level = 5
                And nada. Nichts. Zip. Diddly.
                Originally posted by darmstadt View Post
                try log level = 1 in smb.conf, restart Samba, use journalctl -u smbd (or possibly journalctl -u smbd.service)
                Originally posted by suityou01 View Post
                So did I which is what caused this thread to be started.
                Spot the difference....
                Brexit is having a wee in the middle of the room at a house party because nobody is talking to you, and then complaining about the smell.

                Comment


                  #18
                  Originally posted by darmstadt View Post
                  Spot the difference....
                  You lost me as I iz a
                  Knock first as I might be balancing my chakras.

                  Comment


                    #19
                    Originally posted by suityou01 View Post
                    Code:
                    log file= /var/log/samba/log.%m
                    log level = 5
                    Originally posted by darmstadt View Post
                    try log level = 1 in smb.conf, restart Samba, use journalctl -u smbd (or possibly journalctl -u smbd.service)
                    Originally posted by suityou01 View Post
                    So did I which is what caused this thread to be started.
                    I think darmie is suggesting that you originally said it was at log level 5, so try setting it to 1.
                    Best Forum Advisor 2014
                    Work in the public sector? You can read my FAQ here
                    Click here to get 15% off your first year's IPSE membership

                    Comment


                      #20
                      Originally posted by TheFaQQer View Post
                      I think darmie is suggesting that you originally said it was at log level 5, so try setting it to 1.
                      Oh. I see. Thanks.

                      Of course finding the correct file to set it in also helps.
                      Knock first as I might be balancing my chakras.

                      Comment

                      Working...
                      X