2016-04-01から1ヶ月間の記事一覧
権限について深く考えずに設定していたら、以下のエラーが出てきた。 2016-04-28 18:27:24.891 19077 ERROR oslo_messaging.rpc.dispatcher mkdir(name, mode) 2016-04-28 18:27:24.891 19077 ERROR oslo_messaging.rpc.dispatcher OSError: [Errno 13] Perm…
下記を/etc/sysconfig/iptablesに記載する。 # sample configuration for iptables service # you can edit this manually or use system-config-firewall # please do not ask us to add additional ports/services to this default configuration *filter …
railsのDBがsqliteの時は、counter cultureでculture_fix_countsを普通に実行できていたが、DBをpostgresqlに変えると、以下のようなエラーが出るようになった。 irb(main):007:0> Picture.counter_culture_fix_counts PG::GroupingError: ERROR: column "al…
sqliteはDBの更新処理時の排他制御がいまいちなので、postgresqlに乗り換える。 必要なパッケージのインストール $ sudo apt-get install postgresql libpq-dev Gemfileのsqliteを削除して、postgresを追加 $ vi Gemfile - gem 'sqlite3' + gem "pg" gemを追…