Switching

 View Only
last person joined: yesterday 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
Expand all | Collapse all

[EX/4200] WEB_CONFIG_OPEN_ERROR: Could not open '/jail/var/etc/httpd.conf' for writing

  • 1.  [EX/4200] WEB_CONFIG_OPEN_ERROR: Could not open '/jail/var/etc/httpd.conf' for writing

    Posted 05-05-2020 00:36

    Hi, after upgrading to Junos 12.3R12-S14 on my EX 4200 switch I can not access the web-management anymore

    junos version

    > show version
    fpc0:
    --------------------------------------------------------------------------
    Model: ex4200-48t
    JUNOS Base OS boot [12.3R12-S14]
    JUNOS Base OS Software Suite [12.3R12-S14]
    JUNOS Kernel Software Suite [12.3R12-S14]
    JUNOS Crypto Software Suite [12.3R12-S14]
    JUNOS Online Documentation [12.3R12-S14]
    JUNOS Enterprise Software Suite [12.3R12-S14]
    JUNOS Packet Forwarding Engine Enterprise Software Suite [12.3R12-S14]
    JUNOS Routing Software Suite [12.3R12-S14]
    JUNOS Web Management [12.3R12-S14]
    JUNOS FIPS mode utilities [12.3R12-S14]

    log file

    May  5 00:24:36   init: web-management (PID 4466) started
    May 5 00:24:37 httpd-gk: WEB_CONFIG_OPEN_ERROR: Could not open '/jail/var/etc/httpd.conf' for writing May 5 00:24:37 httpd-gk: WEB_CONFIGURATION_UPDATE: Unable to read configuration during commit May 5 00:24:37 init: web-management (PID 4466) exited with status=1

    system storage

    > show system storage
    fpc0:
    --------------------------------------------------------------------------
    Filesystem              Size       Used      Avail  Capacity   Mounted on
    /dev/da0s1a             183M       130M        38M       78%  /
    devfs                   1.0K       1.0K         0B      100%  /dev
    /dev/md0                 69M        69M         0B      100%  /packages/mnt/jbase
    /dev/md1                5.8M       1.1M       4.2M       21%  /packages/mfs-fips-mode-powerpc
    /dev/md2                2.9M       2.9M         0B      100%  /packages/mnt/fips-mode-powerpc-12.3R12-S14
    /dev/md3                9.6M       5.0M       3.9M       56%  /packages/mfs-jcrypto-ex
    /dev/md4                 14M        14M         0B      100%  /packages/mnt/jcrypto-ex-12.3R12-S14
    /dev/md5                7.9M       3.3M       4.0M       46%  /packages/mfs-jdocs-ex
    /dev/md6                6.0M       6.0M         0B      100%  /packages/mnt/jdocs-ex-12.3R12-S14
    /dev/md7                 43M        39M       608K       99%  /packages/mfs-jkernel-ex
    /dev/md8                109M       109M         0B      100%  /packages/mnt/jkernel-ex-12.3R12-S14
    /dev/md9                 12M       7.5M       3.6M       68%  /packages/mfs-jpfe-ex42x
    /dev/md10                21M        21M         0B      100%  /packages/mnt/jpfe-ex42x-12.3R12-S14
    /dev/md11                17M        12M       3.2M       79%  /packages/mfs-jroute-ex
    /dev/md12                38M        38M         0B      100%  /packages/mnt/jroute-ex-12.3R12-S14
    /dev/md13                12M       7.2M       3.6M       67%  /packages/mfs-jswitch-ex
    /dev/md14                21M        21M         0B      100%  /packages/mnt/jswitch-ex-12.3R12-S14
    /dev/md15                15M      10.0M       3.4M       75%  /packages/mfs-jweb-ex
    /dev/md16                27M        27M         0B      100%  /packages/mnt/jweb-ex-12.3R12-S14
    /dev/da0s3e             123M       1.8M       111M        2%  /var
    /dev/md17               252M        12K       232M        0%  /tmp
    /dev/da0s3d             369M        26K       339M        0%  /var/tmp
    /dev/da0s4d              62M       208K        57M        0%  /config
    /dev/md18               118M        22M        87M       20%  /var/rundb
    procfs                  4.0K       4.0K         0B      100%  /proc
    /var/tmp                369M        26K       339M        0%  /packages/mnt/jweb-ex-12.3R12-S14/jail/var/tmp/uploads

    nothing in /jail/var/etc

    > start shell
    % cd /jail/var/etc
    % ls -al
    total 8
    dr-xr-xr-x  2 root  wheel  2048 Aug 22  2019 .
    dr-xr-xr-x  6 root  wheel  2048 Aug 22  2019 ..

    configuration

    set system services web-management http port 80
    set system services web-management http interface vlan.500

    Apreciate any help.

     

    Thanks,

    Dan



  • 2.  RE: [EX/4200] WEB_CONFIG_OPEN_ERROR: Could not open '/jail/var/etc/httpd.conf' for writing
    Best Answer

     
    Posted 05-05-2020 03:29

    Hi Ndanl,

     

    This issue has been reported earlier where in upgrading to 12.3R12-S14  JWEB stops working. 

    If you want this feature work, upgrade the device 12.3R12-S15 or downgrade to 12.3R12-S12.

     

    If this solves your problem, please mark this post as "Accepted Solution" so we can help others too 🙂

     

    Regards

    Nadeem