求助:启动tinyerp-server时出错
-
第一次使用,什么都不懂。是ubuntu 7.10,从源里安装psql和tinyerp, 手动创建了两个数据库,为mydb和tony, 在shell中打入"$tinyerp-server -dtony"时输出到“INFO:init:addon:profile_service:registering classes
ERROR: address already in use”停止,使用另一数据库仍是如此。请教指点,到现在,我边client的皮都没见到:o,因为一运行,它总是显示Database: Could not conect to Server!
-
[code]tony@tony-laptop:~$ tinyerp-server restart
Mon, 18 Feb 2008 22:42:28 INFO:objects:initialising distributed objects services
Mon, 18 Feb 2008 22:42:28 INFO:init:connecting to database
Mon, 18 Feb 2008 22:42:28 INFO:init:could not connect to database 'terp'!
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:base:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:network:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:marketing:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:base_partner_relation:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:custom:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:productivity_analysis:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:hr:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:subscription:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:base_setup:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:product:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:letter:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:account:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:sandwich:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_sw_church:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_no:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_nl:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_us_service:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_ca_en:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_us_manufacturing:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:hr_expense:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_pl:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:account_tax_include:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_pa:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_fr:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_ch_german:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_it_cc2424:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_la:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_uk:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_sw_food:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_nl_standard:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_simple:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_ve:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_us_ucoa_ez:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_us_general:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_ca_fr:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:crm:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_br:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_sw:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_sp:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_ch:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:hr_timesheet:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_cz:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_cn_traditional:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_co:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_cn:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_da:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_be:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_hu:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:account_followup:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_de_skr03:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_us_ucoa:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_ca-qc:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:stock:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_au:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_at:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_id:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_it:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_chart_be_frnl:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_ch_pcpbl_plangensimpl:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:product_electronic:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:purchase:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_ch_pcpbl_independant:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:hr_timesheet_invoice:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_ch_pcpbl_menage:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_ch_vat_net:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:product_expiry:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_ch_pcpbl_plangen:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_ch_vat_forfait:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_ch_vat_brut:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:hr_timesheet_ical:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:l10n_ch_pcpbl_association:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:report_crm:registering classes
Mon, 18 Feb 2008 22:42:28 INFO:init:addon:purchase_tax_include:registering classes
Mon, 18 Feb 2008 22:42:29 INFO:init:addon:report_analytic_line:registering classes
Mon, 18 Feb 2008 22:42:29 INFO:init:addon:report_purchase:registering classes
Mon, 18 Feb 2008 22:42:29 INFO:init:addon:mrp:registering classes
Mon, 18 Feb 2008 22:42:29 INFO:init:addon:profile_accounting:registering classes
Mon, 18 Feb 2008 22:42:29 INFO:init:addon:sale:registering classes
Mon, 18 Feb 2008 22:42:29 INFO:init:addon:product_extended:registering classes
Mon, 18 Feb 2008 22:42:29 INFO:init:addon:esale_joomla:registering classes
Mon, 18 Feb 2008 22:42:29 INFO:init:addon:report_sale:registering classes
Mon, 18 Feb 2008 22:42:29 INFO:init:addon:sale_tax_include:registering classes
Mon, 18 Feb 2008 22:42:29 INFO:init:addon:edi:registering classes
Mon, 18 Feb 2008 22:42:29 INFO:init:addon:sale_crm:registering classes
Mon, 18 Feb 2008 22:42:29 INFO:init:addon:esale_osc:registering classes
Mon, 18 Feb 2008 22:42:29 INFO:init:addon:sale_journal:registering classes
Mon, 18 Feb 2008 22:42:29 INFO:init:addon:delivery:registering classes
Mon, 18 Feb 2008 22:42:29 INFO:init:addon:project:registering classes
Mon, 18 Feb 2008 22:42:29 INFO:init:addon:hr_timesheet_project:registering classes
Mon, 18 Feb 2008 22:42:29 INFO:init:addon:profile_manufacturing:registering classes
Mon, 18 Feb 2008 22:42:29 INFO:init:addon:report_project:registering classes
Mon, 18 Feb 2008 22:42:29 INFO:init:addon:scrum:registering classes
Mon, 18 Feb 2008 22:42:29 INFO:init:addon:profile_service:registering classes
ERROR: address already in use[/code]以上是shell输出,请教教我,谢谢!
-
[quote]ERROR: address already in use[/quote]
从报得错看,多数是tiny的监听端口被占用了。
你可以用以下命令检查一下8069 和 8070端口在你的系统中的使用情况:[code]lsof -i :8069
lsof -i :8070
或
netstat -lpn |grep 8069netstat -lpn |grep 8070[/code]另外,如果想立刻就摸一下client的皮,为什么不试试论坛里提供的中文版V0.33呢?不过它是windows下的安装包,但是中文报表,工作流打印等都已经设置好了,安装好后只要双击桌面的客户端就能跑起来。
等对系统有一定认识了再转到Linux下研究也不迟啊。[[i] 本帖最后由 digitalsatori 于 2008-2-19 11:38 编辑 [/i]]
-
[code]tony@tony-laptop:~$ netstat -p |grep 8069
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
STREAM CONNECTED 18069 - /var/run/dbus/system_bus_socket
tony@tony-laptop:~$ [/code][code]tony@tony-laptop:~$ netstat -l |grep 8069
tcp 0 0 localhost:8069 : LISTEN
tony@tony-laptop:~$ [/code][code]tony@tony-laptop:~$ netstat -l |grep 8070
tony@tony-laptop:~$ [/code]怎么办?谢谢。
另,我没有windows啊,没法用windows版的。
-
[code]tony@tony-laptop:~$ tinyerp-server -d tony --db_port=8073
Tue, 19 Feb 2008 22:22:44 INFO:objects:initialising distributed objects services
Tue, 19 Feb 2008 22:22:44 INFO:init:connecting to database
Tue, 19 Feb 2008 22:22:44 INFO:init:could not connect to database 'tony'!
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:base:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:network:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:marketing:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:base_partner_relation:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:custom:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:productivity_analysis:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:hr:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:subscription:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:base_setup:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:product:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:letter:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:account:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:sandwich:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_sw_church:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_no:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_nl:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_us_service:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_ca_en:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_us_manufacturing:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:hr_expense:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_pl:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:account_tax_include:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_pa:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_fr:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_ch_german:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_it_cc2424:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_la:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_uk:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_sw_food:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_nl_standard:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_simple:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_ve:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_us_ucoa_ez:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_us_general:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_ca_fr:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:crm:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_br:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_sw:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_sp:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_ch:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:hr_timesheet:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_cz:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_cn_traditional:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_co:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_cn:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_da:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_be:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_hu:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:account_followup:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_de_skr03:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_us_ucoa:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_ca-qc:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:stock:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_au:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_at:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_id:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_it:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_chart_be_frnl:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_ch_pcpbl_plangensimpl:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:product_electronic:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:purchase:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_ch_pcpbl_independant:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:hr_timesheet_invoice:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_ch_pcpbl_menage:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_ch_vat_net:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:product_expiry:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_ch_pcpbl_plangen:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_ch_vat_forfait:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_ch_vat_brut:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:hr_timesheet_ical:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:l10n_ch_pcpbl_association:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:report_crm:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:purchase_tax_include:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:report_analytic_line:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:report_purchase:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:mrp:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:profile_accounting:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:sale:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:product_extended:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:esale_joomla:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:report_sale:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:sale_tax_include:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:edi:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:sale_crm:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:esale_osc:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:sale_journal:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:delivery:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:project:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:hr_timesheet_project:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:profile_manufacturing:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:report_project:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:scrum:registering classes
Tue, 19 Feb 2008 22:22:44 INFO:init:addon:profile_service:registering classes
ERROR: address already in use[/code]使用8073端口也不行。
-
"--db_port="
参数是指定连接数据库的端口(默认安装的pgsql的端口为5432)。
要改变服务器的监听端口可以使用如下的参数:"--port="
设定xmlrpc端口
"--net_port="
设定netrpc端口
-
eagle5678你好。我们目前做的中文化工作还非常有限。也曾经考虑过写一个shell脚本以帮助Linux上的自动化安装,但是考虑到Linux的发行版本实在太多,很难取舍。windows毕竟是大多数人熟悉的平台,我们发行的windows上的安装包也只是用于方便大家测试了解Tiny ERP。
不知道tonytam是否根据我的说明解决了他的问题,你能否将你的问题做一个具体的描述。