Page 1 of 5 123 ... LastLast
Results 1 to 10 of 41
  1. #1
    Master Untangler neiby's Avatar
    Join Date
    Jun 2009
    Location
    Denver, CO
    Posts
    603

    Default 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. #2
    Untangle Ninja gotkimchi's Avatar
    Join Date
    Jan 2007
    Location
    Bay Area
    Posts
    2,112

    Default

    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 support@untangle.com

  3. #3
    Untangle Ninja gotkimchi's Avatar
    Join Date
    Jan 2007
    Location
    Bay Area
    Posts
    2,112

    Default

    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 support@untangle.com

  4. #4
    Master Untangler neiby's Avatar
    Join Date
    Jun 2009
    Location
    Denver, CO
    Posts
    603

    Default

    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)
    Justy likes this.
    Disclaimer: I may or may not have had enough coffee when I'm posting. Interpret my responses thusly.

  5. #5
    Master Untangler neiby's Avatar
    Join Date
    Jun 2009
    Location
    Denver, CO
    Posts
    603

    Default

    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.

  6. #6
    Untangle Ninja gotkimchi's Avatar
    Join Date
    Jan 2007
    Location
    Bay Area
    Posts
    2,112

    Default

    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 support@untangle.com

  7. #7
    Untangle Ninja Mathiau's Avatar
    Join Date
    Feb 2008
    Location
    Costa Frickn' Rica
    Posts
    1,636

    Default

    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 at 05:00 PM.

  8. #8
    Untangle Ninja mrunkel's Avatar
    Join Date
    Jul 2008
    Posts
    3,040

    Default

    Quote 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.


    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.

    It often helps troubleshooting if you have a good network map. Look here if you want my advice on how to draw one.
    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 support@untangle.com

  9. #9
    Master Untangler neiby's Avatar
    Join Date
    Jun 2009
    Location
    Denver, CO
    Posts
    603

    Default

    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.

  10. #10
    Untangle Ninja dwasserman's Avatar
    Join Date
    Jun 2008
    Location
    Argentina
    Posts
    4,366

    Default

    Can this threath be a sticky at top of forum for easy access ? is becoming a bible

Page 1 of 5 123 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO 3.6.0 PL2