SQUID error ==> FATAL: Could not determine fully qualified hostname. Please set ‘visible_hostname’

Suatu ketika pengen nyoba squid pada saat ngjalanin squid ehh ada error “FATAL: Could not determine fully qualified hostname. Please set ‘visible_hostname’ “.

Setelah di gogling ketemu solusinya :

pada squid.conf :

#vim /etc/squid/squid.conf

tambahkan / set :

visible_hostname PROXY

atau

visible_hostname MESIN_SAYA

atau lainnya pada TAG : visible_hostname

contoh :

# TAG: visible_hostname
# If you want to present a special hostname in error messages, etc,
# define this. Otherwise, the return value of gethostname()
# will be used. If you have multiple caches in a cluster and
# get errors about IP-forwarding you must set them to have individual
# names with this setting.
#
#Default:
# none
visible_hostname MESIN_SAYA

Tinggalkan Balasan