From: Cornelison, L. - 1. - M. <cor...@ll...> - 2011-04-12 14:24:51
|
Thanks -- I made the following (probably redundant) changes for my 1.1 logging: Logger.php >>> list($logType, $currentVerbosity) = @explode('-', $setting); if (empty($currentVerbosity) || !is_numeric($currentVerbosity)) { $currentVerbosity = 1; config.ini >>> [Logging] file = "/usr/local/vufind/messages.log:alert-2,error-5,notice-2,debug-5" email = "cor...@ll...:alert-5,error-5" I am getting an error 111 -- Connection refused. My best guess on this is to try a complete re-do of the Apache connection steps, from the Installing on Fedora instructions page... # Set permissions so apache can access appropriate directories and services. cd $VUFIND_HOME/web chcon -R unconfined_u:object_r:httpd_sys_content_t:s0 * setsebool -P httpd_can_network_relay=1 # set up Apache for VuFind and reload configuration chcon system_u:object_r:httpd_config_t:s0 $VUFIND_HOME/httpd-vufind.conf ln -s $VUFIND_HOME/httpd-vufind.conf /etc/httpd/conf.d/httpd-vufind.conf apachectl restart -----Original Message----- From: cor...@ll... [mailto:cor...@ll...] Sent: Tuesday, April 12, 2011 10:10 AM To: Cornelison, Lee - 1150 - MITLL Subject: VuFind Log Message Apr 12 10:09:58 vufind [error] [pear_error: message="Connection refused" code=111 mode=callback callback=handlePEARError prefix="" info=""] Server Context: Array ( [HTTP_HOST] => bmenk-linux [HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 (.NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 [HTTP_ACCEPT_LANGUAGE] => en-us,en;q=0.5 [HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7 [HTTP_KEEP_ALIVE] => 115 [HTTP_CONNECTION] => keep-alive [HTTP_COOKIE] => PHPSESSID=avu326t9ljc2hbd12g93mh82d5 [HTTP_CACHE_CONTROL] => max-age=0 [PATH] => /sbin:/usr/sbin:/bin:/usr/bin [SERVER_SIGNATURE] => <address>Apache/2.2.15 (Red Hat) Server at bmenk-linux Port 80</address> [SERVER_SOFTWARE] => Apache/2.2.15 (Red Hat) [SERVER_NAME] => bmenk-linux [SERVER_ADDR] => 155.34.170.96 [SERVER_PORT] => 80 [REMOTE_ADDR] => 155.34.170.15 [DOCUMENT_ROOT] => /var/www/html [SERVER_ADMIN] => bm...@ll... [SCRIPT_FILENAME] => /usr/local/vufind/web/index.php [REMOTE_PORT] => 9227 [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => GET [QUERY_STRING] => [REQUEST_URI] => /vufind/ [SCRIPT_NAME] => /vufind/index.php [PHP_SELF] => /vufind/index.php [REQUEST_TIME] => 1302617398 ) Backtrace: Array ( [0] => Array ( [file] => /usr/share/pear/PEAR.php [line] => 533 [function] => PEAR_Error [class] => PEAR_Error [type] => -> [args] => Array ( [0] => Connection refused [1] => 111 [2] => 16 [3] => handlePEARError [4] => ) ) [1] => Array ( [file] => /usr/share/pear/Net/Socket.php [line] => 185 [function] => raiseError [class] => PEAR [object] => Net_Socket Object ( [fp] => [blocking] => 1 [persistent] => [addr] => 127.0.0.1 [port] => 8181 [timeout] => [lineLength] => 2048 [newline] => [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) [type] => -> [args] => Array ( [0] => Connection refused [1] => 111 ) ) [2] => Array ( [file] => /usr/share/pear/HTTP/Request.php [line] => 737 [function] => connect [class] => Net_Socket [object] => Net_Socket Object ( [fp] => [blocking] => 1 [persistent] => [addr] => 127.0.0.1 [port] => 8181 [timeout] => [lineLength] => 2048 [newline] => [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) [type] => -> [args] => Array ( [0] => localhost [1] => 8181 [2] => [3] => [4] => ) ) [3] => Array ( [file] => /usr/local/vufind/web/sys/Proxy_Request.php [line] => 110 [function] => sendRequest [class] => HTTP_Request [object] => Proxy_Request Object ( [_useProxy:Proxy_Request:private] => [_url] => Net_URL Object ( [options] => Array ( [encode_query_keys] => ) [url] => http://localhost:8181/solr/biblio/admin/ping [protocol] => http [username] => [password] => [host] => localhost [port] => 8181 [path] => /solr/biblio/admin/ping [querystring] => Array ( ) [anchor] => [useBrackets] => 1 [user] => [pass] => ) [_method] => GET [_http] => 1.1 [_requestHeaders] => Array ( [user-agent] => PEAR HTTP_Request class ( http://pear.php.net/ ) [connection] => close [accept-encoding] => gzip [host] => localhost:8181 ) [_user] => [_pass] => [_proxy_host] => [_proxy_port] => [_proxy_user] => [_proxy_pass] => [_postData] => Array ( ) [_body] => [_bodyDisallowed] => Array ( [0] => TRACE ) [_bodyRequired] => Array ( [0] => POST [1] => PUT ) [_postFiles] => Array ( ) [_timeout] => [_response] => [_allowRedirects] => [_maxRedirects] => 3 [_redirects] => 0 [_useBrackets] => 1 [_listeners] => Array ( ) [_saveBody] => 1 [_readTimeout] => [_socketOptions] => [_sock] => Net_Socket Object ( [fp] => [blocking] => 1 [persistent] => [addr] => 127.0.0.1 [port] => 8181 [timeout] => [lineLength] => 2048 [newline] => [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) ) [type] => -> [args] => Array ( [0] => 1 ) ) [4] => Array ( [file] => /usr/local/vufind/web/sys/Solr.php [line] => 154 [function] => sendRequest [class] => Proxy_Request [object] => Proxy_Request Object ( [_useProxy:Proxy_Request:private] => [_url] => Net_URL Object ( [options] => Array ( [encode_query_keys] => ) [url] => http://localhost:8181/solr/biblio/admin/ping [protocol] => http [username] => [password] => [host] => localhost [port] => 8181 [path] => /solr/biblio/admin/ping [querystring] => Array ( ) [anchor] => [useBrackets] => 1 [user] => [pass] => ) [_method] => GET [_http] => 1.1 [_requestHeaders] => Array ( [user-agent] => PEAR HTTP_Request class ( http://pear.php.net/ ) [connection] => close [accept-encoding] => gzip [host] => localhost:8181 ) [_user] => [_pass] => [_proxy_host] => [_proxy_port] => [_proxy_user] => [_proxy_pass] => [_postData] => Array ( ) [_body] => [_bodyDisallowed] => Array ( [0] => TRACE ) [_bodyRequired] => Array ( [0] => POST [1] => PUT ) [_postFiles] => Array ( ) [_timeout] => [_response] => [_allowRedirects] => [_maxRedirects] => 3 [_redirects] => 0 [_useBrackets] => 1 [_listeners] => Array ( ) [_saveBody] => 1 [_readTimeout] => [_socketOptions] => [_sock] => Net_Socket Object ( [fp] => [blocking] => 1 [persistent] => [addr] => 127.0.0.1 [port] => 8181 [timeout] => [lineLength] => 2048 [newline] => [_debug] => [_default_error_mode] => [_default_error_options] => [_default_error_handler] => [_error_class] => PEAR_Error [_expected_errors] => Array ( ) ) ) [type] => -> [args] => Array ( ) ) [5] => Array ( [file] => /usr/local/vufind/web/sys/ConnectionManager.php [line] => 151 [function] => __construct [class] => Solr [object] => Solr Object ( [debug] => [raw] => [client] => [host] => http://localhost:8181/solr/biblio [core] => biblio [status] => [_illegal:Solr:private] => Array ( [0] => ! [1] => : [2] => ; [3] => [ [4] => ] [5] => { [6] => } ) [searchSpecsFile:protected] => conf/searchspecs.yaml [_searchSpecs:Solr:private] => [_caseSensitiveBooleans:Solr:private] => 1 [_caseSensitiveRanges:Solr:private] => 1 [_solrShards:Solr:private] => Array ( ) [_solrShardsFieldsToStrip:Solr:private] => Array ( ) [_highlight:Solr:private] => ) [type] => -> [args] => Array ( [0] => http://localhost:8181/solr ) ) [6] => Array ( [file] => /usr/local/vufind/web/sys/SearchObject/Solr.php [line] => 94 [function] => connectToIndex [class] => ConnectionManager [type] => :: [args] => Array ( ) ) [7] => Array ( [file] => /usr/local/vufind/web/sys/SearchObject/Factory.php [line] => 59 [function] => __construct [class] => SearchObject_Solr [object] => SearchObject_Solr Object ( [query:protected] => [facetLimit:protected] => 30 [facetOffset:protected] => [facetPrefix:protected] => [facetSort:protected] => [index:protected] => [fields:protected] => score [method:protected] => POST [indexResult:protected] => [indexEngine:protected] => [allFacetSettings:protected] => Array ( ) [searchSubType:protected] => [hiddenFilters:protected] => Array ( ) [spellingLimit:protected] => 3 [dictionary:protected] => default [spellSimple:protected] => [spellSkipNumeric:protected] => 1 [view:protected] => [searchTerms:protected] => Array ( ) [sort:protected] => [defaultSort:protected] => relevance [defaultSortByType:protected] => Array ( ) [filterList:protected] => Array ( ) [page:protected] => 1 [limit:protected] => 20 [resultsTotal:protected] => 0 [serverUrl:protected] => http://bmenk-linux.llan.ll.mit.edu/vufind [resultsModule:protected] => Search [resultsAction:protected] => Results [facetConfig:protected] => Array ( ) [checkboxFacets:protected] => Array ( ) [translatedFacets:protected] => Array ( ) [defaultIndex:protected] => [sortOptions:protected] => Array ( ) [searchId:protected] => [savedSearch:protected] => [searchType:protected] => basic [basicSearchType:protected] => basic [advancedSearchType:protected] => advanced [disableLogging:protected] => [debug:protected] => [advancedTypes:protected] => Array ( ) [basicTypes:protected] => Array ( ) [spellcheck:protected] => 1 [suggestions:protected] => Array ( ) [recommend:protected] => [recommendIni:protected] => searches [autocompleteStatus:protected] => [initTime:protected] => [endTime:protected] => [totalTime:protected] => [queryStartTime:protected] => [queryEndTime:protected] => [queryTime:protected] => ) [type] => -> [args] => Array ( ) ) [8] => Array ( [file] => /usr/local/vufind/web/sys/Interface.php [line] => 119 [function] => initSearchObject [class] => SearchObjectFactory [type] => :: [args] => Array ( ) ) [9] => Array ( [file] => /usr/local/vufind/web/index.php [line] => 72 [function] => UInterface [class] => UInterface [object] => UInterface Object ( [lang] => [_vufindTheme:UInterface:private] => default [template_dir] => /usr/local/vufind/web/interface/themes/default [compile_dir] => /usr/local/vufind/web/interface/compile/c21f969b5f03d33d43e04f8f136e7682 [config_dir] => configs [plugins_dir] => Array ( [0] => plugins [1] => /usr/local/vufind/web/interface/plugins ) [debugging] => [error_reporting] => [debug_tpl] => [debugging_ctrl] => NONE [compile_check] => 1 [force_compile] => [caching] => [cache_dir] => /usr/local/vufind/web/interface/cache/c21f969b5f03d33d43e04f8f136e7682 [cache_lifetime] => 3600 [cache_modified_check] => [php_handling] => 0 [security] => [secure_dir] => Array ( ) [security_settings] => Array ( [PHP_HANDLING] => [IF_FUNCS] => Array ( [0] => array [1] => list [2] => isset [3] => empty [4] => count [5] => sizeof [6] => in_array [7] => is_array [8] => true [9] => false [10] => null ) [INCLUDE_ANY] => [PHP_TAGS] => [MODIFIER_FUNCS] => Array ( [0] => count ) [ALLOW_CONSTANTS] => [ALLOW_SUPER_GLOBALS] => 1 ) [trusted_dir] => Array ( ) [left_delimiter] => { [right_delimiter] => } [request_vars_order] => EGPCS [request_use_auto_globals] => 1 [compile_id] => [use_sub_dirs] => [default_modifiers] => Array ( ) [default_resource_type] => file [cache_handler_func] => [autoload_filters] => Array ( ) [config_overwrite] => 1 [config_booleanize] => 1 [config_read_hidden] => [config_fix_newlines] => 1 [default_template_handler_func] => [compiler_file] => Smarty_Compiler.class.php [compiler_class] => Smarty_Compiler [config_class] => Config_File [_tpl_vars] => Array ( [site] => Array ( [path] => /vufind [url] => http://bmenk-linux.llan.ll.mit.edu/vufind [local] => /usr/local/vufind/web [email] => cor...@ll... [title] => Unrestricted Library Catalog [beta] [theme] => default [language] => en [locale] => en_US [timezone] => America/New_York [displayDateFormat] => m-d-Y [displayTimeFormat] => H:i [defaultModule] => Search [defaultLoggedInModule] => MyResearch [defaultRecordTab] => Holdings [defaultAccountPage] => Favorites [admin_enabled] => ) [path] => /vufind [url] => http://bmenk-linux.llan.ll.mit.edu/vufind [fullPath] => /vufind/ [supportEmail] => cor...@ll... ) [_smarty_vars] => [_sections] => Array ( ) [_foreach] => Array ( ) [_tag_stack] => Array ( ) [_conf_obj] => [_config] => Array ( [0] => Array ( [vars] => Array ( ) [files] => Array ( ) ) ) [_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f [_version] => 2.6.26 [_inclusion_depth] => 0 [_compile_id] => [_smarty_debug_id] => SMARTY_DEBUG [_smarty_debug_info] => Array ( ) [_cache_info] => Array ( ) [_file_perms] => 420 [_dir_perms] => 505 [_reg_objects] => Array ( ) [_plugins] => Array ( [modifier] => Array ( ) [function] => Array ( [translate] => Array ( [0] => translate [1] => [2] => [3] => [4] => 1 [5] => ) [char] => Array ( [0] => char [1] => [2] => [3] => [4] => 1 [5] => ) ) [block] => Array ( ) [compiler] => Array ( ) [prefilter] => Array ( ) [postfilter] => Array ( ) [outputfilter] => Array ( ) [resource] => Array ( ) [insert] => Array ( ) ) [_cache_serials] => Array ( ) [_cache_include] => [_cache_including] => [debug] => 1 ) [type] => -> [args] => Array ( ) ) ) |