Hot!install policy error when enable url filter

Author
cuongtl
New Member
  • Total Posts : 7
  • Scores: 0
  • Reward points: 0
  • Joined: 2020/08/05 01:55:56
  • Status: offline
2021/06/08 02:47:12 (permalink)
0

install policy error when enable url filter

Hi all,
I am using FMG 1000F ver 7.0. When i enable "url filter" and install to fortigate then appear errors:
------- Start to retry --------
FG100E-01 $ config webfilter urlfilter
FG100E-01 (urlfilter) $ edit 1
FG100E-01 (1) $ config entries
FG100E-01 (entries) $ edit 1
FG100E-01 (1) $ set url "youtube.com"
FG100E-01 (1) $ set action block
FG100E-01 (1) $ next
FG100E-01 (entries) $ end
FG100E-01 (1) $ next
Attribute 'name' MUST be set.
Command fail. Return code 1
FG100E-01 (urlfilter) $ end
FG100E-01 $ config webfilter profile
FG100E-01 (profile) $ edit "BLOCK URL"
FG100E-01 (BLOCK URL) $ config web
FG100E-01 (web) $ set urlfilter-table 1
entry not found in datasource
value parse error before '1'
Command fail. Return code -3
FG100E-01 (web) $ end
FG100E-01 (BLOCK URL) $ next
FG100E-01 (profile) $ end

---> generating verification report
( webfilter urlfilter )
add entry 1
( webfilter urlfilter entries )
add entry 1
(vdom root: webfilter urlfilter 1 entries 1:url)
remote original:
to be installed: "youtube.com"
(vdom root: webfilter urlfilter 1 entries 1:action)
remote original:
to be installed: block
(vdom root: webfilter profile "BLOCK URL" web:urlfilter-table)
remote original:
to be installed: 1
<--- done generating verification report

install failed
-----------------------------------------------
Someone can give me an advice?
Thanks!

Attached Image(s)

#1

4 Replies Related Threads

    jorge.americo
    Bronze Member
    • Total Posts : 40
    • Scores: 0
    • Reward points: 0
    • Joined: 2019/06/12 06:49:38
    • Location: Bahia/Brasil
    • Status: offline
    Re: install policy error when enable url filter 2021/06/08 05:54:53 (permalink)
    0
    Initially you have a syntax error:
    ===================
    Attribute 'name' MUST be set.
    Command fail. Return code 1
    ===================
     
    it's missing
    set name {string}

    look this:
    https://docs.fortinet.com...ig-webfilter-urlfilter
    #2
    Toshi Esumi
    Expert Member
    • Total Posts : 2596
    • Scores: 255
    • Reward points: 0
    • Joined: 2014/11/06 09:56:42
    • Status: offline
    Re: install policy error when enable url filter 2021/06/08 12:39:05 (permalink)
    0
    Then must be a bug since you created "test" url filter under Object Configuration->Security Profiles->[webfilter_name]->URL Filter GUI.
    #3
    cuongtl
    New Member
    • Total Posts : 7
    • Scores: 0
    • Reward points: 0
    • Joined: 2020/08/05 01:55:56
    • Status: offline
    Re: install policy error when enable url filter 2021/06/08 19:22:28 (permalink)
    0
    toshiesumi
    Then must be a bug since you created "test" url filter under Object Configuration->Security Profiles->[webfilter_name]->URL Filter GUI.


    Hi, full log as following:
     
    Starting log (Run on device)

    Start installing
    FG100E-01 $ config webfilter urlfilter
    FG100E-01 (urlfilter) $ edit 3
    FG100E-01 (3) $ config entries
    FG100E-01 (entries) $ edit 1
    FG100E-01 (1) $ set url "youtube.com"
    FG100E-01 (1) $ set action block
    FG100E-01 (1) $ next
    FG100E-01 (entries) $ end
    FG100E-01 (3) $ next
    Attribute 'name' MUST be set.
    Command fail. Return code 1
    FG100E-01 (urlfilter) $ end
    FG100E-01 $ config webfilter profile
    FG100E-01 (profile) $ edit "BLOCK URL"
    FG100E-01 (BLOCK URL) $ config web
    FG100E-01 (web) $ set urlfilter-table 3
    entry not found in datasource
    value parse error before '3'
    Command fail. Return code -3
    FG100E-01 (web) $ end
    FG100E-01 (BLOCK URL) $ next
    FG100E-01 (profile) $ end

    ---> generating verification report
    ( webfilter urlfilter )
    add entry 3
    ( webfilter urlfilter entries )
    add entry 1
    (vdom root: webfilter urlfilter 3 entries 1:url)
    remote original:
    to be installed: "youtube.com"
    (vdom root: webfilter urlfilter 3 entries 1:action)
    remote original:
    to be installed: block
    (vdom root: webfilter profile "BLOCK URL" web:urlfilter-table)
    remote original:
    to be installed: 3
    <--- done generating verification report
     
    ------- Start to retry --------
    FG100E-01 $ config webfilter urlfilter
    FG100E-01 (urlfilter) $ edit 3
    FG100E-01 (3) $ config entries
    FG100E-01 (entries) $ edit 1
    FG100E-01 (1) $ set url "youtube.com"
    FG100E-01 (1) $ set action block
    FG100E-01 (1) $ next
    FG100E-01 (entries) $ end
    FG100E-01 (3) $ next
    Attribute 'name' MUST be set.
    Command fail. Return code 1
    FG100E-01 (urlfilter) $ end
    FG100E-01 $ config webfilter profile
    FG100E-01 (profile) $ edit "BLOCK URL"
    FG100E-01 (BLOCK URL) $ config web
    FG100E-01 (web) $ set urlfilter-table 3
    entry not found in datasource
    value parse error before '3'
    Command fail. Return code -3
    FG100E-01 (web) $ end
    FG100E-01 (BLOCK URL) $ next
    FG100E-01 (profile) $ end

    ---> generating verification report
    ( webfilter urlfilter )
    add entry 3
    ( webfilter urlfilter entries )
    add entry 1
    (vdom root: webfilter urlfilter 3 entries 1:url)
    remote original:
    to be installed: "youtube.com"
    (vdom root: webfilter urlfilter 3 entries 1:action)
    remote original:
    to be installed: block
    (vdom root: webfilter profile "BLOCK URL" web:urlfilter-table)
    remote original:
    to be installed: 3
    <--- done generating verification report

    install failed
    -------------------------------------------
    on GUI i have set named "test" but the log is not set?
    #4
    Toshi Esumi
    Expert Member
    • Total Posts : 2596
    • Scores: 255
    • Reward points: 0
    • Joined: 2014/11/06 09:56:42
    • Status: offline
    Re: install policy error when enable url filter 2021/06/08 20:40:10 (permalink)
    0
    I would open a ticket at TAC. I'm currently running (not deployed yet) 6.4.6 FMG-VM but keep encountering problems. I opened probably about a dozen TTs against 6.4.5 but 5 of them are recognized as bug (most of them were already reported), then upgraded to 6.4.6 last Wed, and opened another TT for a potential bug. They're so buggy.
    #5
    Jump to:
    © 2021 APG vNext Commercial Version 5.5