Error when you are launching Virtuoso

Submitted by admin on Wed, 04/22/2015 - 12:10

If you get this message when you are launching a Virtuoso instance

<code>
root@ns426641 [/home/user/tools/virtuoso-opensource/bin]# ./virtuoso-t -f -c /home/user/tools/virtuoso-opensource/var/lib/virtuoso/db/virtuoso.ini
Wed Apr 22 2015
12:11:08 { Loading plugin 1: Type `plain', file `wikiv' in `/home/cambio1/virtuoso-opensource/lib/virtuoso/hosting'
12:11:08 WikiV version 0.6 from OpenLink Software
12:11:08 Support functions for WikiV collaboration tool
12:11:08 SUCCESS plugin 1: loaded from /home/cambio1/virtuoso-opensource/lib/virtuoso/hosting/wikiv.so }
12:11:08 { Loading plugin 2: Type `plain', file `mediawiki' in `/home/cambio1/virtuoso-opensource/lib/virtuoso/hosting'
12:11:08 MediaWiki version 0.1 from OpenLink Software
12:11:08 Support functions for MediaWiki collaboration tool
12:11:08 SUCCESS plugin 2: loaded from /home/cambio1/virtuoso-opensource/lib/virtuoso/hosting/mediawiki.so }
12:11:08 { Loading plugin 3: Type `plain', file `creolewiki' in `/home/cambio1/virtuoso-opensource/lib/virtuoso/hosting'
12:11:08 CreoleWiki version 0.1 from OpenLink Software
12:11:08 Support functions for CreoleWiki collaboration tool
12:11:08 SUCCESS plugin 3: loaded from /home/cambio1/virtuoso-opensource/lib/virtuoso/hosting/creolewiki.so }
12:11:08 OpenLink Virtuoso Universal Server
12:11:08 Version 06.01.3127-pthreads for Linux as of Oct 10 2014
12:11:08 uses parts of OpenSSL, PCRE, Html Tidy
12:11:15 Database version 3126
12:11:15 SQL Optimizer enabled (max 1000 layouts)
12:11:17 Compiler unit is timed at 0.000552 msec
12:11:41 built-in procedure "WS.WS.SYS_DAV_RES_RES_CONTENT_INDEX_HOOK" overruled by the RDBMS
12:11:41 built-in procedure "repl_undot_name" overruled by the RDBMS
12:11:41 Roll forward started
12:11:41 3 transactions, 155 bytes replayed (100 %)
12:11:41 Roll forward complete
12:11:42 Checkpoint started
12:11:42 Checkpoint finished, log reused
12:11:42 The function gethostbyname returned error 1 for host "localhost".
12:11:42 Can listen but can't connect to self
12:11:42 Server exiting

</code>

check if your have enough room in your server. Go to the file /etc/nsswitch.conf and check if there is information there. If not and CENTOS 6.x is used you can add this information there

<code>
#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Valid entries include:
#
# nisplus Use NIS+ (NIS version 3)
# nis Use NIS (NIS version 2), also called YP
# dns Use DNS (Domain Name Service)
# files Use the local files
# db Use the local database (.db) files
# compat Use NIS on compat mode
# hesiod Use Hesiod for user lookups
# [NOTFOUND=return] Stop searching if not found so far
#

# To use db, put the "db" in front of "files" for entries you want to be
# looked up first in the databases
#
# Example:
#passwd: db files nisplus nis
#shadow: db files nisplus nis
#group: db files nisplus nis

passwd: files
shadow: files
group: files

#hosts: db files nisplus nis dns
hosts: files dns

# Example - obey only what nisplus tells us...
#services: nisplus [NOTFOUND=return] files
#networks: nisplus [NOTFOUND=return] files
#protocols: nisplus [NOTFOUND=return] files
#rpc: nisplus [NOTFOUND=return] files
#ethers: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files

bootparams: nisplus [NOTFOUND=return] files

ethers: files
netmasks: files
networks: files
protocols: files
rpc: files
services: files

netgroup: nisplus

publickey: nisplus

automount: files nisplus
aliases: files nisplus

</code>

Etiquetas