Brocade Fibre Channel Networking Community

Expand all | Collapse all

Restart http services 6510

  • 1.  Restart http services 6510

    Posted 29 days ago
    ​I have a 6510 which I cannot manage over http either from BNA or web interface (issue occurred after an upgrade from 8.0 to 8.1).  I can putty to it.  How do I restart http services on it without power cycling?


  • 2.  RE: Restart http services 6510

    Posted 29 days ago
    ipfilter --show
    to check port 80 is permitted or denied connections


  • 3.  RE: Restart http services 6510

    Posted 29 days ago
    Hi,

    I had the same situation after I upgrade Lenovo Flex System switches to 8.1.
    I generate a new certificate which fixes the problem.

    seccertutil generate -https -keysize 2048 -hash sha256 -type rsa -years 5

    https://datacentersupport.lenovo.com/us/en/products/servers/flex/v7000/solutions/ht504537


  • 4.  RE: Restart http services 6510

    Posted 27 days ago
    Edited by Marian Bezeg 27 days ago
    Hello,

    1. Log into the switch as root (not admin) and
    2. execute /fabos/libexec/webdconfigure and answer 'yes' to the HTTP Restart question.

     

                   switch:root> /fabos/libexec/webdconfigure

                   http attributes (yes, y, no, n): yes

                             HTTP Restart (yes, y, no, n): yes

                             HTTP enabled (yes, y, no, n):

                             ErrorLog Enabled (yes, y, no, n):

                             AccessLog Enabled (yes, y, no, n):

                             SSLLog Enabled (yes, y, no, n):

                             HTTP Port: (1..60000)

                             Secure HTTP Port: (1..60000)

                             HTTP IsAlive Check Enabled (yes, y, no, n):

                             HTTP Max HeapSize: (256..1024)

                   webtools attributes (yes, y, no, n):

                   cal attributes (yes, y, no, n):

     

                   switch:root> ps -ef | grep http

                   root     23369     1  0 10:08 ?        00:00:00 /usr/apache/bin/httpd.0 -f /fabos/webtools/bin/httpd.conf.0

                   nobody   23370 23369  0 10:08 ?        00:00:00 /usr/apache/bin/fcgi-pm -f /fabos/webtools/bin/httpd.conf.0

                   nobody   23938 23369  0 10:53 ?        00:00:00 /usr/apache/bin/httpd.0 -f /fabos/webtools/bin/httpd.conf.0

                   nobody   23949 23369  0 10:54 ?        00:00:00 /usr/apache/bin/httpd.0 -f /fabos/webtools/bin/httpd.conf.0

                   nobody   23960 23369  0 10:55 ?        00:00:00 /usr/apache/bin/httpd.0 -f /fabos/webtools/bin/httpd.conf.0

                   root     24060 23978  0 10:55 pts/0    00:00:00 grep http


    be aware that if you mess up something under root account you may lost warranty.

    ------------------------------
    If my answer fulfilled your question please mark the reply as "Make Best Answer"

    Kind Regards

    Marian
    ------------------------------



  • 5.  RE: Restart http services 6510

    Posted 23 days ago
    ​Just a follow up, found out what the issue is, as I couldn't start https.  When you upgrade from 8.0 to 8.1 if you dont have the cert chain set up it wipes https certs.  Had to reimport issuer/root cert plus identity cert.  Thanks all for your responses.