I get the above error on FreeBSD, trying to access the conductor web ui.
The tutorial code runs fine, as does the database server.

I have allready tried the conductor vsp from 6.1.2 (which worked for me,
on fbsd-8).

Running ktrace I get this:

4544 virtuoso-t GIO   fd 0 read 527 bytes
       "GET /conductor/ HTTP/1.1\r
        Host: localhost:8890\r
        User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0.1) Gecko/20100101
Firefox/9.0.1\r
        Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
\r
        Accept-Language: de-DE,de;q=0.8,de-de;q=0.6,en-us;q=0.4,en;q=0.2\r
        Accept-Encoding: gzip, deflate\r
        Accept-Charset: UTF-8,*\r
        DNT: 1\r
        Connection: keep-alive\r
        Referer: http://localhost:8890/tutorial/xml/\r
        Cookie: _boss_session=b5667f411c5a62adc5dcf13dbd2d21f1982681ff;
z_pid=ijCklv6OsfhKGb5MbLXJ\r
        Cache-Control: max-age=0\r
        \r
       "
  4544 virtuoso-t RET   recvfrom 527/0x20f
  4544 virtuoso-t CALL  getsockname(0,0x7fffff57a380,0x7fffff57a39c)
  4544 virtuoso-t STRU  struct sockaddr { AF_INET, 127.0.0.1:8890 }
  4544 virtuoso-t RET   getsockname 0
  4544 virtuoso-t CALL  gettimeofday(0x7fffff579b10,0)
  4544 virtuoso-t RET   gettimeofday 0
  4544 virtuoso-t CALL  stat(0x81165f6a8,0x7fffff579ef0)
  4544 virtuoso-t NAMI  "/usr/local/virtuoso/vspGET"
  4544 virtuoso-t RET   stat -1 errno 2 No such file or directory


and then

  4544 virtuoso-t CALL  stat(0x8137da2e8,0x7fffff577360)
  4544 virtuoso-t NAMI
"/usr/local/virtuoso/vsp/DAV/VAD/conductor/main_tabs.vspx"
  4544 virtuoso-t RET   stat -1 errno 2 No such file or directory

and then, after opening /etc/nsswitch.con and /etc/hosts

  4544 virtuoso-t RET   socket 12/0xc
  4544 virtuoso-t CALL  connect(0xc,0x8175bbe00,0x10)
  4544 virtuoso-t STRU  struct sockaddr { AF_INET, 127.0.0.1:80 }
  4544 virtuoso-t RET   connect -1 errno 61 Connection refused
  4544 virtuoso-t CALL  close(0xc)
  4544 virtuoso-t RET   close 0
  4544 virtuoso-t CALL  close(0xffffffff)
  4544 virtuoso-t RET   close -1 errno 9 Bad file descriptor

followed finally by

  4544 virtuoso-t CALL  sendto(0,0x80f0b7000,0x1b3,0,0,0)
  4544 virtuoso-t GIO   fd 0 wrote 435 bytes
       "HTTP/1.1 200 OK\r
        Server: Virtuoso/06.01.3127 (FreeBSD) amd64-portbld-freebsd9.0  \r
        Connection: Keep-Alive\r
        Content-Type: text/html; charset=UTF-8\r
        Date: Fri, 13 Jan 2012 12:20:33 GMT\r
        Accept-Ranges: bytes\r
        Content-Length: 206\r
        \r
        <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
        <html>
          <head>
            <title>Error HTCLI</title>
          </head>
          <body>
            <h3>Error HTCLI</h3><pre>
        HC001: Connection Error in HTTP Client
          </pre></body>
        </html>
       "
  4544 virtuoso-t RET   sendto 435/0x1b3
  4544 virtuoso-t CALL  select(0x1,0x7fffff57ce50,0,0,0x7fffff57ced0)
  4544 virtuoso-t RET   select 0

--------------



I a) do not understand the two local paths virtuoso tries to access
(/usr/local/virtuoso/vspGET
and /usr/local/virtuoso/DAV/VAD/conductor/main_tabs.vspx), both
obviously do not exist in the filesystem. 

http://localhost:8890/DAV/VAD/conductor/main_tabs.vspx exists...

And why does it try to access 127.0.0.1:80? Nothing virtuoso related is
running on port 80...

So what is virtuoso doing here, and where does it fail?


Any hints or tips how to go on debugging would be welcome,

Mathias

P.S.

This is the default port install on freebsd.

Here is virtuoso.ini

;
;  virtuoso.ini
;
;  Configuration file for the OpenLink Virtuoso VDBMS Server
;
;  To learn more about this product, or any other product in our
;  portfolio, please check out our web site at:
;
;      http://virtuoso.openlinksw.com/
;
;  or contact us at:
;
;      [email protected]
;
;  If you have any technical questions, please contact our support
;  staff at:
;
;      [email protected]
;

;
;  Database setup
;
[Database]
DatabaseFile                    = /usr/local/virtuoso/db/virtuoso.db
ErrorLogFile                    = /usr/local/virtuoso/db/virtuoso.log
LockFile                        = /usr/local/virtuoso/db/virtuoso.lck
TransactionFile                 = /usr/local/virtuoso/db/virtuoso.trx
xa_persistent_file              = /usr/local/virtuoso/db/virtuoso.pxa
ErrorLogLevel                   = 7
FileExtend                      = 200
MaxCheckpointRemap              = 2000
Striping                        = 0
TempStorage                     = TempDatabase


[TempDatabase]
DatabaseFile                    = /usr/local/virtuoso/db/virtuoso-temp.db
TransactionFile                 = /usr/local/virtuoso/db/virtuoso-temp.trx
MaxCheckpointRemap              = 2000
Striping                        = 0


;
;  Server parameters
;
[Parameters]
ServerPort                      = 1111
LiteMode                        = 0
DisableUnixSocket               = 1
DisableTcpSocket                = 0
;SSLServerPort                  = 2111
;SSLCertificate                 = cert.pem
;SSLPrivateKey                  = pk.pem
;X509ClientVerify               = 0
;X509ClientVerifyDepth          = 0
;X509ClientVerifyCAFile         = ca.pem
ServerThreads                   = 20
CheckpointInterval              = 60
O_DIRECT                        = 0
NumberOfBuffers                 = 2000
MaxDirtyBuffers                 = 1200
CaseMode                        = 2
MaxStaticCursorRows             = 5000
CheckpointAuditTrail            = 0
AllowOSCalls                    = 0
SchedulerInterval               = 10
DirsAllowed                     = ., /usr/local/virtuoso/vad
ThreadCleanupInterval           = 0
ThreadThreshold                 = 10
ResourcesCleanupInterval        = 0
FreeTextBatchSize               = 100000
SingleCPU                       = 0
VADInstallDir                   = /usr/local/virtuoso/vad/
PrefixResultNames               = 0
RdfFreeTextRulesSize            = 100
IndexTreeMaps                   = 256



[HTTPServer]
ServerPort                      = 8890
ServerRoot                      = /usr/local/virtuoso/vsp
ServerThreads                   = 20
DavRoot                         = DAV
EnabledDavVSP                   = 0
HTTPProxyEnabled                = 0
TempASPXDir                     = 0
DefaultMailServer               = localhost:25
ServerThreads                   = 10
MaxKeepAlives                   = 10
KeepAliveTimeout                = 10
MaxCachedProxyConnections       = 10
ProxyConnectionCacheTimeout     = 15
HTTPThreadSize                  = 280000
HttpPrintWarningsInOutput       = 0
Charset                         = UTF-8

[AutoRepair]
BadParentLinks                  = 0

[Client]
SQL_PREFETCH_ROWS               = 100
SQL_PREFETCH_BYTES              = 16000
SQL_QUERY_TIMEOUT               = 0
SQL_TXN_TIMEOUT                 = 0
;SQL_NO_CHAR_C_ESCAPE           = 1
;SQL_UTF8_EXECS                 = 0
;SQL_NO_SYSTEM_TABLES           = 0
;SQL_BINARY_TIMESTAMP           = 1
;SQL_ENCRYPTION_ON_PASSWORD     = -1

[VDB]
ArrayOptimization               = 0
NumArrayParameters              = 10
VDBDisconnectTimeout            = 1000
KeepConnectionOnFixedThread     = 0

[Replication]
ServerName                      = db-JAIL-1926
ServerEnable                    = 1
QueueMax                        = 50000


;
;  Striping setup
;
;  These parameters have only effect when Striping is set to 1 in the
;  [Database] section, in which case the DatabaseFile parameter is
ignored.
;
;  With striping, the database is spawned across multiple segments
;  where each segment can have multiple stripes.
;
;  Format of the lines below:
;    Segment<number> = <size>, <stripe file name> [, <stripe file
name> .. ]
;
;  <number> must be ordered from 1 up.
;
;  The <size> is the total size of the segment which is equally divided
;  across all stripes forming  the segment. Its specification can be in
;  gigabytes (g), megabytes (m), kilobytes (k) or in database blocks
;  (b, the default)
;
;  Note that the segment size must be a multiple of the database page
size
;  which is currently 8k. Also, the segment size must be divisible by
the
;  number of stripe files forming  the segment.
;
;  The example below creates a 200 meg database striped on two segments
;  with two stripes of 50 meg and one of 100 meg.
;
;  You can always add more segments to the configuration, but once
;  added, do not change the setup.
;
[Striping]
Segment1                        = 100M, db-seg1-1.db, db-seg1-2.db
Segment2                        = 100M, db-seg2-1.db
;...

;[TempStriping]
;Segment1                       = 100M, db-seg1-1.db, db-seg1-2.db
;Segment2                       = 100M, db-seg2-1.db
;...

;[Ucms]
;UcmPath                        = <path>
;Ucm1                           = <file>
;Ucm2                           = <file>
;...


[Zero Config]
ServerName                      = virtuoso (JAIL-1926)
;ServerDSN                      = ZDSN
;SSLServerName                  = 
;SSLServerDSN                   = 


[Mono]
;MONO_TRACE                     = Off
;MONO_PATH                      = <path_here>
;MONO_ROOT                      = <path_here>
;MONO_CFG_DIR                   = <path_here>
;virtclr.dll                    =


[URIQA]
DynamicLocal                    = 1
DefaultHost                     = localhost:8890


[SPARQL]
;ExternalQuerySource            = 1
;ExternalXsltSource             = 1
;DefaultGraph                   = http://localhost:8890/dataspace
;ImmutableGraphs                = http://localhost:8890/dataspace
ResultSetMaxRows                = 10000
MaxQueryCostEstimationTime      = 400   ; in seconds
MaxQueryExecutionTime           = 60    ; in seconds
DefaultQuery                    = select distinct ?Concept where {[]
a ?Concept}
DeferInferenceRulesInit         = 0  ; controls inference rules loading
;PingService                    = http://rpc.pingthesemanticweb.com/


[Plugins]
LoadPath                        = /usr/local/lib/virtuoso/hosting
Load1                           = plain, wikiv
Load2                           = plain, mediawiki
Load3                           = plain, creolewiki
;Load4                  = plain, im
;Load5          = plain, wbxml2
;Load6                  = plain, hslookup
;Load7                  = attach, libphp5.so
;Load8                  = Hosting, hosting_php.so
;Load9                  = Hosting,hosting_perl.so
;Load10         = Hosting,hosting_python.so
;Load11         = Hosting,hosting_ruby.so
;Load12                         = msdtc,msdtc_sample



Reply via email to