Announcement

Collapse
No announcement yet.

List of good troubleshooting commands?

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • List of good troubleshooting commands?

    I'm wondering if there is a consolidated list of helpful UT troubleshooting commands somewhere. I've seen commands to check the database size, check disk space, check to see what applications are installed and/or running, etc. I've also seen and used top and jnettop. I still feel like I really don't know what to look for if I'm having a problem and I'd like to be a little more self-sufficient.

    What other commands have you all found helpful?
    Disclaimer: I may or may not have had enough coffee when I'm posting. Interpret my responses thusly.

  • #2
    backups
    /usr/share/untangle/autodump
    to be understood, you must first understand. :)
    Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself. If you need Untangle support please call or email [email protected]

    Comment


    • #3
      Not upgrading
      tail -n 100 /var/log/uvm/apt.log
      to be understood, you must first understand. :)
      Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself. If you need Untangle support please call or email [email protected]

      Comment


      • #4
        Here are some that I know of:

        top (show cpu load and usage)

        jnettop (show network traffic)

        ucli instances (show installed and running modules)

        sudo du -hs /var/lib/postgresql/ (show the size of the database)

        ifconfig -a (show all interfaces, even if down)
        Disclaimer: I may or may not have had enough coffee when I'm posting. Interpret my responses thusly.

        Comment


        • #5
          ucli sessions 1 | wc -l (shows the current number of sessions on the box)

          I'd like to find out more about the ucli commands available. It seems to be useful, but I can't find any documentation on it.
          Disclaimer: I may or may not have had enough coffee when I'm posting. Interpret my responses thusly.

          Comment


          • #6
            Have fun

            optional args:
            -h hostname
            -u username
            -w password
            -t timeout (default 120000)
            -p policy
            -v
            toolbox commands:
            ucli install mackage-name
            ucli uninstall mackage-name
            ucli update
            ucli upgrade
            ucli requestInstall mackage-name
            toolbox lists:
            ucli available
            ucli installed
            ucli uninstalled
            ucli upgradable
            ucli uptodate
            node manager commands:
            ucli instantiate mackage-name [ args ]
            ucli start TID
            ucli stop TID
            ucli destroy TID
            ucli neverStarted
            node manager lists:
            ucli instances
            node live sessions:
            ucli sessions [ TID ]
            admin manager:
            ucli who
            ucli getRegInfo
            ucli passwd [ -a | -d ] login [ password ]
            uvm commands:
            ucli shutdown
            ucli serverStats
            ucli gc
            ucli loadRup
            ucli setProperty key value
            policy manager:
            ucli addPolicy name [notes]
            ucli listPolicies
            reporting manager:
            ucli isReportingEnabled
            ucli areReportsAvailable
            ucli prepareReports [ args ]
            ucli startReports
            ucli stopReports
            logging manager:
            ucli userLogs tid
            ucli resetLogs
            ucli logError [text]
            apt commands:
            ucli register mackage-name
            ucli unregister mackage-name
            argon commands:
            nucli server commands:
            ucli restartCliServer
            debugging commands:
            ucli aptTail
            to be understood, you must first understand. :)
            Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself. If you need Untangle support please call or email [email protected]

            Comment


            • #7
              jnettop - it seems to show some good info, but it is showing my WAN connection and such, how can i view where the bandwidth is going on the LAN side... example my UT box says i am using about 80kb steady in.... but i want to know who it is..

              how do i change the device from eth0 to eth1

              [EDIT]


              jnettop -i eth1

              Last edited by Mathiau; 01-27-2010, 04:00 PM.
              kv-2 | UT 11.0.1 | Dell R610 Server | Intel Xeon 2.8Ghz Quad Cores | 24Gb DDR3 ECC | 1 Intel QPort NIC | Integrated Broadcom QP | Dell Perc 4i | 6 x 73G 2.5 15k SAS raid 10 | 100mb/100mb | 30mb/30Mb

              Comment


              • #8
                Originally posted by Mathiau View Post
                jnettop - it seems to show some good info, but it is showing my WAN connection and such, how can i view where the bandwidth is going on the LAN side... example my UT box says i am using about 80kb steady in.... but i want to know who it is..

                how do i change the device from eth0 to eth1

                [EDIT]


                jnettop -i eth1

                or I think just hit I inside jnettop
                m.
                <BR>
                Big Frickin Disclaimer:
                While I'm pretty sure, I can't guarantee that I know what I'm doing. There might be a better way to do this, and this way might actually suck. Make sure you understand the implications of what you're doing before trying to follow these directions.
                <BR>It often helps troubleshooting if you have a good network map. Look <A HREF="http://forums.untangle.com/tip-day/5407-how-draw-network-diagram.html">here</A> if you want my advice on how to draw one. <BR> <B>Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself.
                If you need Untangle support please call or email [email protected]<B>

                Comment


                • #9
                  Pressing the number keys switches between the available interfaces on your server.
                  Disclaimer: I may or may not have had enough coffee when I'm posting. Interpret my responses thusly.

                  Comment


                  • #10
                    Can this threath be a sticky at top of forum for easy access ? is becoming a bible
                    The world is divided into 10 kinds of people, who know binary and those not

                    Comment


                    • #11
                      yup, i saw that after as well when i was checking out that top menu, now i have jnettop open on a 3rd monitor all day watching it now and then for people sucking up bandwidth.
                      kv-2 | UT 11.0.1 | Dell R610 Server | Intel Xeon 2.8Ghz Quad Cores | 24Gb DDR3 ECC | 1 Intel QPort NIC | Integrated Broadcom QP | Dell Perc 4i | 6 x 73G 2.5 15k SAS raid 10 | 100mb/100mb | 30mb/30Mb

                      Comment


                      • #12
                        Thank you for this!

                        Some good stuff.

                        Comment


                        • #13
                          Can this threath be a sticky at top of forum for easy access ? is becoming a bible
                          Done. TGIF.
                          to be understood, you must first understand. :)
                          Attention: Support and help on the Untangle Forums is provided by volunteers and community members like yourself. If you need Untangle support please call or email [email protected]

                          Comment


                          • #14
                            tcpdump

                            Google it, learn it, love it...

                            The most useful troubleshooting tool in the world for figuring out where your packets went.
                            Rob Sandling, BS:SWE, MCP, Microsoft Certified: Azure Administrator Associate
                            NexgenAppliances.com
                            Phone: 866-794-8879 x201
                            Email: [email protected]

                            Comment


                            • #15
                              Lost admin gui password

                              You can with a terminal root access add a new account.

                              Code:

                              ucli passwd -a username password

                              Then you can login to the webgui with the new user id and password.

                              Original from Webfool in webfilter sub thread
                              The world is divided into 10 kinds of people, who know binary and those not

                              Comment

                              Working...
                              X
                              😀
                              🥰
                              🤢
                              😎
                              😡
                              👍
                              👎