ppa:rayanayar/tryton-3.0 から Tryton 3.0 をインストールした後、https://gist.github.com/sharoonthomas/5857450 の要点スクリプトのように、新しいデータベースを作成しようとすると、常に「間違ったサーバー パスワード」が表示されます。トライトン クライアント。
何故ですか?規定どおりに /etc/trytond.conf にグローバル データベース管理者パスワードを入力しました。
# Configure the Tryton server password
admin_passwd = my_admin_password
私はそれをチェックしました
- tryton ユーザーは postgreSQL に存在し、Linux ユーザーとして存在し、trytond.conf に名前とパスワードがあります。
PostgreSQL サーバーが再起動されます
root@Tryton:~# service postgresql restart * Restarting PostgreSQL 9.1 database server [ OK ]
Tryton サーバーが再起動され、実行されている
root@Tryton:~# sudo /etc/init.d/tryton-server restart * Restarting Tryton Application Platform trytond start-stop-daemon: warning: failed to kill 50063: No such process [ OK ] root@Tryton:~# ps aux | grep trytond tryton 37312 0.2 1.0 292796 17368 ? Sl Mar01 7:45 /usr/bin/python /usr/bin/trytond --config=/etc/trytond.conf --logfile=/var/log/tryton/trytond.log root 40178 0.0 2.0 576524 34776 pts/4 Sl+ Mar01 0:03 gedit /etc/trytond.conf root 50332 0.0 0.0 8112 896 pts/6 S+ 10:45 0:00 grep --color=auto trytond
Python はポート localhost:8000 でリッスンしています
root@Tryton:~# netstat -tupan | grep python tcp 0 0 127.0.0.1:8000 0.0.0.0:* LISTEN 37312/python
「プロファイルの作成」に「localhost」と「8000」を入力すると、クライアントは「作成」ボタンを表示します