Network Management

 View Only
Expand all | Collapse all

Netedit issues

This thread has been viewed 36 times
  • 1.  Netedit issues

    Posted Nov 08, 2024 10:32 AM

    I had a previous install that started throwing this error a few months ago.

    netedit/postgresql service has failed

    I never could find a solution, so I did a fresh install about two months ago.  Can't remember if I did an update or not, but today, I got that same error again.  Even in the documentation, it says that it's fine to update the OS.  Can anyone tell me what I'm doing wrong or how to fix this?  Not a Linux guru.  I can get around in Linux, but when it comes to know default directories and command-line, no.

    Download 2.12.0 now to reinstall again.



  • 2.  RE: Netedit issues

    Posted Nov 08, 2024 06:34 PM
    It doesn't have to be this case, but sometimes when you get this postgresql error it can be because the disk is full. Do a df to see how full the partitions are. You can highlight the /usr/ partition to see its size
    /usr/src/pgsql

    ---------------------------------
    Daniel Ruiz
    -----------------------
    Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.
    If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support.
    Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC.
    ---------------------------------





  • 3.  RE: Netedit issues

    Posted Nov 11, 2024 09:51 AM

    Good thought, but it's showing 7% in use right now.  We're a pretty small school district.  We have about 20 switches in there now, so assume that should be enough.  We did use the OVA, so I went with the base requirements which was 115GB.  Our current disk is showing 37GB in VMWare.




  • 4.  RE: Netedit issues

    Posted Nov 11, 2024 10:38 AM

    Did you check if the Hypervisor has enough space to expand disk in the case that you select thin provisioning? I sometimes see similar errors when hypervisor datastore run out of space.

    If you have originally thin provisioned disk, then try with tick provisioning.

    Best, Gorazd



    ------------------------------
    Gorazd Kikelj
    MVP Guru 2024
    ------------------------------



  • 5.  RE: Netedit issues

    Posted Nov 11, 2024 11:00 AM

    I will look at thick provision.  We have 24 TB free, so it's definitely got enough space on host.




  • 6.  RE: Netedit issues

    Posted Nov 13, 2024 07:28 PM

    Indeed, as you confirm, you have plenty of space. As I said at the beginning of the thread, it wasn't always because of that problem. In the logs section you get some additional data besides netedit/postgresql service has failed. In the VMware logs, is there anything related to machine resources? You probably have to access the console with root to see why postgresql is failing. Do you have an open case with TAC?



    ------------------------------
    Daniel Ruiz
    -----------------------
    Any opinions expressed here are solely my own and not necessarily that of Hewlett Packard Enterprise or Aruba Networks.
    If you have urgent issues, always contact your Aruba partner, distributor, or Aruba TAC Support.
    Check https://www.arubanetworks.com/support-services/contact-support/ for how to contact Aruba TAC.
    ------------------------------



  • 7.  RE: Netedit issues

    Posted Nov 14, 2024 09:20 AM

    I will look at logs, but it's mostly gibberish to me.  Just not sure what to look at and nothing related specifically to Netedit.  All of the generic postgresql guides I could find didn't help.  Can't use TAC as we're unsupported using the free version.  Not enough switches to require licensing.




  • 8.  RE: Netedit issues

    Posted Feb 05, 2025 07:13 PM

    Did you get this resolved? I have been having the same issue, it's apparently a bug with newer versions, the wrong database starts up on startup and uses the TCP port so that the correct service fails to start. I'm waiting for an answer on the bug fix. 

    You can try this: 

    sudo systemctl stop postgresql@14-main.service
    sudo systemctl start postgresql-svr.service
    sudo systemctl start netedit-svr.service




  • 9.  RE: Netedit issues

    Posted Feb 13, 2025 03:33 PM

    So not sure if I came across the same issue but sounds very similar. After upgrading to 2.11 and doing the Debian upgrade too, netedit wouldn't start. TAC weren't any help really and we just re-installed NetEdit. Symptom was web interface not working and netedit-svr refusing to run.. But then later after patching the same issue. This time I looked into it deeper.

    • netedit-svr service not running and can't start it
    • errors when trying to start it 'The server requested SCRAM-based authentication, but the password is an empty string'
    • postgresql process was 'kind of running'. I stopped it via systemctl but a 'ps' still shows postgress processes running so I killed those
    • Start postgresql 'systemctl start postgresql-svr.service' and it's running, no problems
    • start Netedit 'systemctl start netedit-svr' but it doesn't start and postgresql has been stopped
    • Looking at the /opt/netedit/bin/netedit-start.sh script I review things line by line and find that the directly /run/netedit-svr where it is trying to write its PID doesn't exist so I create it
    • Start posgresql again and netedit and now its working

    Hope that helps others.




  • 10.  RE: Netedit issues

    Posted Feb 13, 2025 04:31 PM

    In my case postgresql-svr.service and netedit-svr.service will both fail to startup intermittently during reboot due to a tcp port conflict with postgresql@14-main.service. I was able to have a session with the developers on this, and they are actively working on a workaround and fix now. 




  • 11.  RE: Netedit issues

    Posted 21 days ago

    Update, we got this fix for the service startup issue. Seems to be working so far. 

    sudo systemctl mask postgresql
    sudo reboot