Created
          September 25, 2014 16:41 
        
      - 
      
- 
        Save mattiasarro/217d802d758d7e2362c2 to your computer and use it in GitHub Desktop. 
Revisions
- 
        mattiasarro created this gist Sep 25, 2014 .There are no files selected for viewingThis file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,245 @@ [vagrant@vagrant-centos-6 vagrant]$ rake sphinx:stop Booting asw-api in development environment Braintree transactions will run in sandbox mode Skipping migrations check - have you remembered to run migrations recently? PayPal transactions will run in sandbox mode Pensio transactions will run in sandbox mode Setting Resque to use Redis server at localhost:6379 [deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message. Stopping - Dispatcher... couldn't find PID file - no action taken. Stopping - Delta Script... couldn't find PID file - no action taken. Stopping - searchd... couldn't find PID file - no action taken. [vagrant@vagrant-centos-6 vagrant]$ rm -rf tmp/sphinx [vagrant@vagrant-centos-6 vagrant]$ rake sphinx:create Booting asw-api in development environment Braintree transactions will run in sandbox mode Skipping migrations check - have you remembered to run migrations recently? PayPal transactions will run in sandbox mode Pensio transactions will run in sandbox mode Setting Resque to use Redis server at localhost:6379 [deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message. [vagrant@vagrant-centos-6 vagrant]$ rake sphinx:copy Booting asw-api in development environment Braintree transactions will run in sandbox mode Skipping migrations check - have you remembered to run migrations recently? PayPal transactions will run in sandbox mode Pensio transactions will run in sandbox mode Setting Resque to use Redis server at localhost:6379 [deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message. Permission denied @ rb_sysopen - /var/spool/cron/vagrant The cron job will not run until /vagrant/config/sphinx/vagrant has been copied to /var/spool/cron/vagrant To do this automatically from now on, type the following (requires root access): sudo touch /var/spool/cron/vagrant sudo chown vagrant /var/spool/cron/vagrant Then restart sphinx: rake sphinx:restart RAILS_ENV=development [vagrant@vagrant-centos-6 vagrant]$ rake sphinx:fill_cache FLUSH=true Booting asw-api in development environment Braintree transactions will run in sandbox mode Skipping migrations check - have you remembered to run migrations recently? PayPal transactions will run in sandbox mode Pensio transactions will run in sandbox mode Setting Resque to use Redis server at localhost:6379 [deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message. Filling cache tables... This may take a long time depending on size of data ... event Flushing event Processing 279 records ... yellowpages Flushing yellowpages Processing 3114 records ... members Flushing members Processing 8188 records ... discussions Flushing discussions Processing 73 records ... recommended_contents Flushing recommended_contents Processing 119 records ... privileges Flushing privileges Processing 21 records ... job_listings Flushing job_listings Processing 38 records ... real_estate_listings Flushing real_estate_listings Processing 39 records Cache tables filled [vagrant@vagrant-centos-6 vagrant]$ rake sphinx:index Booting asw-api in development environment Braintree transactions will run in sandbox mode Skipping migrations check - have you remembered to run migrations recently? PayPal transactions will run in sandbox mode Pensio transactions will run in sandbox mode Setting Resque to use Redis server at localhost:6379 [deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message. Permission denied @ rb_sysopen - /var/spool/cron/vagrant The cron job will not run until /vagrant/config/sphinx/vagrant has been copied to /var/spool/cron/vagrant To do this automatically from now on, type the following (requires root access): sudo touch /var/spool/cron/vagrant sudo chown vagrant /var/spool/cron/vagrant Then restart sphinx: rake sphinx:restart RAILS_ENV=development Indexer starting... This may take a long time depending on size of data Sphinx 2.0.6-id64-release (r3473) Copyright (c) 2001-2012, Andrew Aksyonoff Copyright (c) 2008-2012, Sphinx Technologies Inc (http://sphinxsearch.com) using config file '/vagrant/tmp/sphinx/sphinx_init.conf'... skipping non-plain index 'distributed_event'... skipping non-plain index 'distributed_yellowpages'... skipping non-plain index 'distributed_members'... skipping non-plain index 'distributed_discussions'... skipping non-plain index 'distributed_recommended_contents'... skipping non-plain index 'distributed_privileges'... skipping non-plain index 'distributed_job_listings'... skipping non-plain index 'distributed_real_estate_listings'... indexing index 'event'... collected 19 docs, 0.0 MB sorted 0.0 Mhits, 100.0% done total 19 docs, 3926 bytes total 0.135 sec, 28873 bytes/sec, 139.73 docs/sec indexing index 'delta_event_daily'... collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.013 sec, 0 bytes/sec, 0.00 docs/sec indexing index 'delta_event'... collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.012 sec, 0 bytes/sec, 0.00 docs/sec indexing index 'yellowpages'... collected 3114 docs, 0.6 MB sorted 1.8 Mhits, 100.0% done total 3114 docs, 569943 bytes total 1.931 sec, 295068 bytes/sec, 1612.16 docs/sec indexing index 'delta_yellowpages_daily'... collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.012 sec, 0 bytes/sec, 0.00 docs/sec indexing index 'delta_yellowpages'... collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.013 sec, 0 bytes/sec, 0.00 docs/sec indexing index 'members'... collected 6493 docs, 0.8 MB sorted 2.9 Mhits, 100.0% done total 6493 docs, 771702 bytes total 2.004 sec, 384903 bytes/sec, 3238.52 docs/sec indexing index 'delta_members_daily'... collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.014 sec, 0 bytes/sec, 0.00 docs/sec indexing index 'delta_members'... collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.012 sec, 0 bytes/sec, 0.00 docs/sec indexing index 'discussions'... collected 73 docs, 0.0 MB sorted 0.1 Mhits, 100.0% done total 73 docs, 17462 bytes total 0.062 sec, 281137 bytes/sec, 1175.29 docs/sec indexing index 'delta_discussions_daily'... collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.012 sec, 0 bytes/sec, 0.00 docs/sec indexing index 'delta_discussions'... collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.010 sec, 0 bytes/sec, 0.00 docs/sec indexing index 'recommended_contents'... collected 119 docs, 0.0 MB sorted 0.2 Mhits, 100.0% done total 119 docs, 36443 bytes total 0.113 sec, 320812 bytes/sec, 1047.57 docs/sec indexing index 'delta_recommended_contents_daily'... collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.013 sec, 0 bytes/sec, 0.00 docs/sec indexing index 'delta_recommended_contents'... collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.010 sec, 0 bytes/sec, 0.00 docs/sec indexing index 'privileges'... collected 21 docs, 0.0 MB sorted 0.0 Mhits, 100.0% done total 21 docs, 8213 bytes total 0.032 sec, 249052 bytes/sec, 636.80 docs/sec indexing index 'delta_privileges_daily'... collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.011 sec, 0 bytes/sec, 0.00 docs/sec indexing index 'delta_privileges'... collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.011 sec, 0 bytes/sec, 0.00 docs/sec indexing index 'job_listings'... collected 38 docs, 0.0 MB sorted 0.0 Mhits, 100.0% done total 38 docs, 13065 bytes total 0.046 sec, 280010 bytes/sec, 814.41 docs/sec indexing index 'delta_job_listings_daily'... collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.012 sec, 0 bytes/sec, 0.00 docs/sec indexing index 'delta_job_listings'... collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.010 sec, 0 bytes/sec, 0.00 docs/sec indexing index 'real_estate_listings'... collected 39 docs, 0.0 MB sorted 0.0 Mhits, 100.0% done total 39 docs, 12092 bytes total 0.035 sec, 337595 bytes/sec, 1088.83 docs/sec indexing index 'delta_real_estate_listings_daily'... collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.011 sec, 0 bytes/sec, 0.00 docs/sec indexing index 'delta_real_estate_listings'... collected 0 docs, 0.0 MB total 0 docs, 0 bytes total 0.014 sec, 0 bytes/sec, 0.00 docs/sec total 42 reads, 0.011 sec, 746.6 kb/call avg, 0.2 msec/call avg total 218 writes, 0.040 sec, 293.3 kb/call avg, 0.1 msec/call avg Moving indexes to /vagrant/tmp/sphinx/data Indexer finished [vagrant@vagrant-centos-6 vagrant]$ rake sphinx:start Booting asw-api in development environment Braintree transactions will run in sandbox mode Skipping migrations check - have you remembered to run migrations recently? PayPal transactions will run in sandbox mode Pensio transactions will run in sandbox mode Setting Resque to use Redis server at localhost:6379 [deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message. Permission denied @ rb_sysopen - /var/spool/cron/vagrant The cron job will not run until /vagrant/config/sphinx/vagrant has been copied to /var/spool/cron/vagrant To do this automatically from now on, type the following (requires root access): sudo touch /var/spool/cron/vagrant sudo chown vagrant /var/spool/cron/vagrant Then restart sphinx: rake sphinx:restart RAILS_ENV=development Starting - searchd...trying to connect to 127.0.0.1 on port 3312 .trying to connect to 127.0.0.1 on port 3312 Done Starting - Delta Script... Done Starting - Dispatcher... Done must be privileged to use -u Updating online status...### Connecting to 127.0.0.1 on port 3312 Failed Please see log/search.log for more details [vagrant@vagrant-centos-6 vagrant]$