ZABBIX Forums  
  #1  
Old 13-04-2012, 10:20
malik malik is offline
Junior Member
 
Join Date: Jan 2012
Location: Paris (France)
Posts: 25
Default Zabbix_server does not start

Hello,

I search help,

I installed a new zabbix server, but it not starting.

#/etc/init.d/zabbix_server start
#Starting zabbix_server: Usage: /usr/local/sbin/zabbix_server {start|stop|restart|condrestart}

And the service not running.
Have you a solution for this problem ?

In "/usr/local/sbin/", I copied the "zabbix_server" file from file .tar.gz (/zabbix-1.8.11/misc/init.d/redhat/8.0/zabbix_server)
The acces are in "chmod 755"

Thank you for your help,

Malik.
Reply With Quote
  #2  
Old 17-04-2012, 09:20
Davidus Davidus is offline
Senior Member
 
Join Date: Dec 2010
Location: Tbilisi, GE
Posts: 278
Default

What do you see in zabbix_server.log file?
Reply With Quote
  #3  
Old 17-04-2012, 17:01
HullZabbix HullZabbix is offline
Senior Member
 
Join Date: Feb 2011
Posts: 104
Default

I'm not 100% certain but in my build document I have:
(within the zabbix extract folder)
cp misc/init.d/redhat/8.0/zabbix_* /etc/init.d/

so it's copying to /etc/init.d/ not usr/local/sbin

then with nano i edit /etc/init.d/zabbix_server
to include the line:
progdir=”/usr/local/sbin/”
Do the exactly the same with zabbix_agentd.

Then add the services:
chkconfig --add zabbix_server
chkconfig --add zabbix_agentd

Set to start at run level 3,4,5
chkconfig --level 345 zabbix_server on
chkconfig --level 345 zabbix_agentd on

Then set the permission on the scripts
chmod 755 /etc/init.d/zabbix_server
chmod 755 /etc/init.d/zabbix_agentd
Reply With Quote
  #4  
Old 18-04-2012, 07:31
Davidus Davidus is offline
Senior Member
 
Join Date: Dec 2010
Location: Tbilisi, GE
Posts: 278
Default

and how the compilation of zabbix went?
Reply With Quote
  #5  
Old 23-04-2012, 11:04
malik malik is offline
Junior Member
 
Join Date: Jan 2012
Location: Paris (France)
Posts: 25
Default

Hello,

I'm sorry, I did not have acces on Zabbix since the last week.

In the zabbix_server.log, nothing.

For the compilation, not error.

I retry with instructions of AxidaZabbix, but when I restart the zabbix_server, I have "#Starting zabbix_server: Usage: /usr/local/sbin/zabbix_server {start|stop|restart|condrestart}" always.

I do restart the compilation of zabbix ?
Reply With Quote
  #6  
Old 23-04-2012, 11:09
HullZabbix HullZabbix is offline
Senior Member
 
Join Date: Feb 2011
Posts: 104
Default

Just to be clear, you're in a console windows and you type:

Code:
service zabbix_server start
Then you get:
"#Starting zabbix_server: Usage: /usr/local/sbin/zabbix_server {start|stop|restart|condrestart}"
Reply With Quote
  #7  
Old 23-04-2012, 11:22
malik malik is offline
Junior Member
 
Join Date: Jan 2012
Location: Paris (France)
Posts: 25
Default

yes exactly.
I use "putty" for the connection on zabbix server
Reply With Quote
  #8  
Old 23-04-2012, 12:19
malik malik is offline
Junior Member
 
Join Date: Jan 2012
Location: Paris (France)
Posts: 25
Default

I retried the compilation of zabbix.
I used your instructions for zabbix_server and now, it's OK
Thank you for your help.
My problem is resolved.

Best regards,

Malik.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 23:29.