مشکل در استارت IBSng فوری
تمام مراحل نصب و کانفیگ IBSng رو بدون مشکل وخطا جلو رفتیم اما موقع استارت IBSng با این ارور مواجه میشیم :
کد:
[root@static ~]# /etc/init.d/IBSng start
Starting IBSng Core: importing required files ...
forking ...
IBSng started with pid=0
Calling Initializer routins
IBSng started with pid=22704
Shutting down on error
IBSng Failed to start!
Traceback (most recent call last):
File "/usr/local/IBSng/ibs.py", line 65, in start
mainThreadInitialize()
File "/usr/local/IBSng/ibs.py", line 40, in mainThreadInitialize
core.main.init()
File "/usr/local/IBSng/core/main.py", line 41, in init
server.init()
File "/usr/local/IBSng/core/server/server.py", line 11, in init
server=xmlrpcserver.XMLRPCServer((defs.IBS_SERVER_IP,defs.IBS_SERVER_PORT))
AttributeError: 'module' object has no attribute 'IBS_SERVER_IP'
[FAILED]
[root@static ~]# service httpd reload vs restart
Reloading httpd: [FAILED]
[root@static ~]# service httpd reload vs restart
Reloading httpd: [FAILED]
[root@static ~]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: [ OK ]
[root@static ~]# service httpd reload vs restart
Reloading httpd:
[root@static ~]# service httpd reload vs restart
Reloading httpd:
[root@static ~]# service httpd reload
Reloading httpd:
[root@static ~]# service httpd restart
Stopping httpd: [ OK ]
Starting httpd: [ OK ]
[root@static ~]# service postgresql restartservice postgresql restart
Usage: /etc/init.d/postgresql {start|stop|status|restart|condrestart|condstop|reload|force-reload}
[root@static ~]# service postgresql restart
Stopping postgresql service: [ OK ]
Starting postgresql service: [ OK ]
[root@static ~]# service IBSng start
Starting IBSng Core: importing required files ...
forking ...
IBSng started with pid=0
Calling Initializer routins
IBSng started with pid=22980
Shutting down on error
IBSng Failed to start!
Traceback (most recent call last):
File "/usr/local/IBSng/ibs.py", line 65, in start
mainThreadInitialize()
File "/usr/local/IBSng/ibs.py", line 40, in mainThreadInitialize
core.main.init()
File "/usr/local/IBSng/core/main.py", line 41, in init
server.init()
File "/usr/local/IBSng/core/server/server.py", line 11, in init
server=xmlrpcserver.XMLRPCServer((defs.IBS_SERVER_IP,defs.IBS_SERVER_PORT))
AttributeError: 'module' object has no attribute 'IBS_SERVER_IP'
[FAILED]
چندین بار هم httpd و postgresql رو ریست کردیم درست نشد
راهنمایی کنید
ممنون
پاسخ : مشکل در استارت IBSng فوری
ریست کنین بعد دستورات وارد کنین
service iptables status
service httpd status
service postgresql status
service IBSng status
service pptpd status
service iptables start
service postgresql start
service httpd start
service pptpd start
service IBSng start
service IBSng restart
برای اجرای دستورات به صورت اتوماتیک بعد از روشن شدن سرور
chkconfig httpd on
chkconfig postgresql on
chkconfig pptpd on
chkconfig IBSng on
پاسخ : مشکل در استارت IBSng فوری
با filezilla به مسیر /var/log برید و لاگهای رو پاک کنید
احتمالا درست بشه .
پاسخ : مشکل در استارت IBSng فوری
باز هم مشکل پابرجاست :
نقل قول:
[root@static ~]# service iptables status
Firewall is stopped.
[root@static ~]# service httpd statusservice httpd status
Usage: httpd {start|stop|restart|condrestart|try-restart|force-reload|reload|status|fullstatus|graceful|help|conf igtest}
[root@static ~]# service httpd status
httpd is stopped
[root@static ~]# service postgresql status
postmaster is stopped
[root@static ~]# service IBSng status
ibs.py is stopped
[root@static ~]# service pptpd status
pptpd: unrecognized service
[root@static ~]# service iptables start
[root@static ~]# service iptables start
[root@static ~]# service postgresql start
Starting postgresql service: [ OK ]
[root@static ~]# service httpd start
Starting httpd: [ OK ]
[root@static ~]# service pptpd start
pptpd: unrecognized service
[root@static ~]# service IBSng start
Starting IBSng Core: importing required files ...
forking ...
IBSng started with pid=0
Calling Initializer routins
IBSng started with pid=3565
Shutting down on error
Traceback (most recent call last):
File "/usr/local/IBSng/ibs.py", line 65, in start
mainThreadInitialize()
File "/usr/local/IBSng/ibs.py", line 40, in mainThreadInitialize
core.main.init()
File "/usr/local/IBSng/core/main.py", line 41, in init
server.init()
File "/usr/local/IBSng/core/server/server.py", line 11, in init
server=xmlrpcserver.XMLRPCServer((defs.IBS_SERVER_ IP,defs.IBS_SERVER_PORT))
AttributeError: 'module' object has no attribute 'IBS_SERVER_IP'
IBSng Failed to start!
[FAILED]
[root@static ~]# service IBSng restart
Stopping ibs.py: [FAILED]
Starting IBSng Core: importing required files ...
forking ...
IBSng started with pid=0
Calling Initializer routins
IBSng started with pid=3591
Shutting down on error
Traceback (most recent call last):
File "/usr/local/IBSng/ibs.py", line 65, in start
mainThreadInitialize()
File "/usr/local/IBSng/ibs.py", line 40, in mainThreadInitialize
core.main.init()
File "/usr/local/IBSng/core/main.py", line 41, in init
server.init()
File "/usr/local/IBSng/core/server/server.py", line 11, in init
server=xmlrpcserver.XMLRPCServer((defs.IBS_SERVER_ IP,defs.IBS_SERVER_PORT))
AttributeError: 'module' object has no attribute 'IBS_SERVER_IP'
IBSng Failed to start!
[FAILED]
اطلاعات سرور رو پ.خ کردم
ممنون میشم بررسی کنید و مشکل رو برطرف کنید
پاسخ : مشکل در استارت IBSng فوری
نقل قول:
نوشته اصلی توسط
ServerDL.com
با filezilla به مسیر /var/log برید و لاگهای رو پاک کنید
احتمالا درست بشه .
روی سرور هیچ کنترل پنلی نصب نیست
ftp هم نداره فکر کنم
ایا میشه با فایل زیلا اینکارو کرد با این شرایط؟
پاسخ : مشکل در استارت IBSng فوری
نقل قول:
نوشته اصلی توسط
mr.rival
روی سرور هیچ کنترل پنلی نصب نیست
ftp هم نداره فکر کنم
ایا میشه با فایل زیلا اینکارو کرد با این شرایط؟
خواستید اطلاعات رو پ-خ کنید .
به کنترل پنل ربطی ندارد
خود httpd-https-ibsng نیز لاگ تولید می کنند
پاسخ : مشکل در استارت IBSng فوری
از طریق پیام خصوصی در ارتباط باشید براتون چک کنم
پاسخ : مشکل در استارت IBSng فوری
با این دستورات انجام دادم هنوز همین ارور میدهد
یکی از رایج ترین مشکلاتی که برای سرورهای IBSng پیش میاد، پر شدن هارد سرور به دلیل افزایش حجم خیلی زیاد فایلهای لاگ هست.
با این دستور میتونید فضای استفاده شده و خالی هارد سرور رو ببینید :
df -h
و ارور زیر که به دلیل Start نشدن سرویس IBSng که در اثر Start نشدن Postgresql هست :
Internal Error, Can’t connect to IBS Core
فایلهای لاگ IBSng کجا هستند ؟
/var/log/IBSng
برای دیدن سایز و لیست فایلها و فولدر های موجود میتونید از دستور زیر استفاده کنید :
du -sh *
مثل تصویر :
بعد فایلها رو با دستور زیر حذف میکنیم :
rm -rf /var/log/IBSng/ibs_error.log
خب حالا میتونید سرور رو یک بار ریستارت کنید تا همه چیز بدون مشکل بالا بیاد یا اینکه دستورات زیر رو بزنید :
service postgresql start
service IBSng start
سوالی که اینجا بوجود میاد اینه که اصلا چرا این مشکل بوجود میاد ؟! دلیل کانفیگ ناقص IBSng هست و تنظیم نکردن قسمتی هست که بصورت اتوماتیک Log ها رو پاک میکنه ( گزینه Clean Reports در منوی Setting) هست :
بدید دوستمون میتوانند مشکل برطرف کنند
- - - Updated - - -
برنامه winscp داشته باشی میتوانی دستی پاک کنین
پاسخ : مشکل در استارت IBSng فوری
نقل قول:
نوشته اصلی توسط
ServerDL.com
خواستید اطلاعات رو پ-خ کنید .
به کنترل پنل ربطی ندارد
خود httpd-https-ibsng نیز لاگ تولید می کنند
ارسال شد
پاسخ : مشکل در استارت IBSng فوری
دوستان کسی هست این کانفیگ رو انجام بده ؟
هیچ کدوم از این دوستان نتونستن مشکل رو حل کنن
یعنی واقعا نمیشه؟