I am a bit confused by sphinx on my enterprise system. im not sure if puppet screwed something up or what. I noticed it says at the top of my /etc/sphinx/sphinx.conf file:

searchd
{
    listen = 127.0.0.1:9312
    listen = 127.0.0.1:9306:mysql41
    log = /var/log/sphinx/searchd.log
    query_log  = /var/log/sphinx/query.log
    read_timeout = 5
    max_children = 30
    pid_file     = /var/run/sphinx/searchd.pid
    max_matches  = 500
    seamless_rotate = 1
    preopen_indexes = 0
    unlink_old = 1
    workers = threads
    collation_server = utf8_general_ci
    rt_flush_period = 3600
    binlog_path = /var/lib/sphinx
}

indexer
{
        mem_limit = 128M
}

source base
{
    type = pgsql
    sql_host = 127.0.0.1
    sql_user = baruwa
    sql_pass = xxxxxxxxxxxx
    sql_db = baruwa
}

Why does it say mysql at the top when no mysql server is running or installed? Then it says postgres at the bottom under source base.

Also, production.ini has: sphinx.url = mysql://root:@127.0.0.1:9306


_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

Reply via email to