- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
NSE-4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Then must be a bug since you created "test" url filter under Object Configuration->Security Profiles->[webfilter_name]->URL Filter GUI.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
toshiesumi wrote:Hi, full log as following:Then must be a bug since you created "test" url filter under Object Configuration->Security Profiles->[webfilter_name]->URL Filter GUI.
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
