mirror of
https://github.com/gigablast/open-source-search-engine.git
synced 2024-10-04 12:17:35 +03:00
more help/documentation updates
This commit is contained in:
parent
f10e5fa3e5
commit
f293045ace
@ -326,8 +326,10 @@ retry19:
|
||||
close ( m_sock );
|
||||
fprintf(stderr,"Failed to bind socket on port %li: %s."
|
||||
"\n"
|
||||
"Are you already running gb?\n",
|
||||
(long)port,mstrerror(g_errno));
|
||||
"Are you already running gb?\n"
|
||||
"If not, try editing ./hosts.conf to\n"
|
||||
"change the port from %li to something bigger.\n",
|
||||
(long)port,mstrerror(g_errno),(long)port);
|
||||
return false;
|
||||
}
|
||||
close ( m_sock );
|
||||
|
@ -104,9 +104,9 @@ You will need the following packages installed<br>
|
||||
<br>
|
||||
<b>3.</b> Run <b>make</b> to compile. (e.g. use 'make -j 4' to compile on four cores)
|
||||
<br>
|
||||
<b>4.</b> Run <b>./gb 0</b> to start a single gigablast node which listens on port 8000. (If it fails to bind to that port, edit the hosts.conf it generates and change the port from 8000 to something else greater than 8000)
|
||||
<b>4.</b> Run <b>./gb 0</b> to start a single gigablast node which listens on port 8000.
|
||||
<br>
|
||||
<b>5.</b> The first time you run gb, wait about 30 seconds for it to build some files. Check the logs to see when it completes.
|
||||
<b>5.</b> The first time you run gb, wait about 30 seconds for it to build some files. Check the log file to see when it completes.
|
||||
<br>
|
||||
<b>6.</b> Go to the <a href=http://127.0.0.1:8000/>root page</a> to begin.
|
||||
|
||||
|
5
main.cpp
5
main.cpp
@ -1480,7 +1480,10 @@ int main2 ( int argc , char *argv[] ) {
|
||||
tryagain:
|
||||
if ( ! g_proxy.initHttpServer( httpPort, httpsPort ) ) {
|
||||
log("db: HttpServer init failed. Another gb "
|
||||
"already running?" );
|
||||
"already running? If not, try editing "
|
||||
"./hosts.conf to "
|
||||
"change the port from %li to something bigger"
|
||||
, (long)httpPort );
|
||||
// this is dangerous!!! do not do the shutdown thing
|
||||
return 1;
|
||||
// just open a socket to port X and send
|
||||
|
Loading…
Reference in New Issue
Block a user