Ad Widget

Collapse

Wheezy upgrade problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vascoleiria
    Junior Member
    • Apr 2014
    • 24

    #16
    No error when starting the service

    regarding logs

    root@zabbix:~# cat /var/log/messages
    Aug 4 06:25:09 zabbix rsyslogd: [origin software="rsyslogd" swVersion="8.4.2" x-pid="414" x-info="http://www.rsyslog.com"] rsyslogd was HUPed
    Aug 4 06:27:14 zabbix rsyslogd0: action 'action 17' resumed (module 'builtinmpipe') [try http://www.rsyslog.com/e/0 ]
    Aug 4 06:27:14 zabbix rsyslogd-2359: action 'action 17' resumed (module 'builtinmpipe') [try http://www.rsyslog.com/e/2359 ]
    Aug 4 14:49:20 zabbix rsyslogd-2007: action 'action 17' suspended, next retry is Sun Aug 4 14:49:50 2019 [try http://www.rsyslog.com/e/2007 ]
    Aug 5 06:25:06 zabbix rsyslogd: [origin software="rsyslogd" swVersion="8.4.2" x-pid="414" x-info="http://www.rsyslog.com"] rsyslogd was HUPed
    Aug 5 06:27:13 zabbix rsyslogd0: action 'action 17' resumed (module 'builtinmpipe') [try http://www.rsyslog.com/e/0 ]
    Aug 5 06:27:13 zabbix rsyslogd-2359: action 'action 17' resumed (module 'builtinmpipe') [try http://www.rsyslog.com/e/2359 ]


    /var/log/daemon.log
    Aug 5 07:45:21 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 07:45:22 zabbix dhclient: bound to 10.17.224.220 -- renewal in 138 seconds.
    Aug 5 07:47:39 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 07:47:39 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 07:47:39 zabbix dhclient: bound to 10.17.224.220 -- renewal in 173 seconds.
    Aug 5 07:50:32 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 07:50:32 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 07:50:32 zabbix dhclient: bound to 10.17.224.220 -- renewal in 166 seconds.
    Aug 5 07:53:18 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 07:53:18 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 07:53:18 zabbix dhclient: bound to 10.17.224.220 -- renewal in 173 seconds.
    Aug 5 07:54:53 zabbix ntpd_intres[492]: host name not found: marte.arslvt.min-saude.pt
    Aug 5 07:56:11 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 07:56:11 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 07:56:11 zabbix dhclient: bound to 10.17.224.220 -- renewal in 153 seconds.
    Aug 5 07:58:44 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 07:58:44 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 07:58:44 zabbix dhclient: bound to 10.17.224.220 -- renewal in 174 seconds.
    Aug 5 08:01:39 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 08:01:39 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 08:01:39 zabbix dhclient: bound to 10.17.224.220 -- renewal in 148 seconds.
    Aug 5 08:04:07 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 08:04:07 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 08:04:07 zabbix dhclient: bound to 10.17.224.220 -- renewal in 152 seconds.
    Aug 5 08:06:39 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 08:06:39 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 08:06:39 zabbix dhclient: bound to 10.17.224.220 -- renewal in 146 seconds.
    Aug 5 08:09:05 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 08:09:05 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 08:09:05 zabbix dhclient: bound to 10.17.224.220 -- renewal in 160 seconds.
    Aug 5 08:10:56 zabbix ntpd_intres[492]: host name not found: marte.arslvt.min-saude.pt
    Aug 5 08:11:45 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 08:11:45 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 08:11:45 zabbix dhclient: bound to 10.17.224.220 -- renewal in 152 seconds.
    Aug 5 08:14:17 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 08:14:17 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 08:14:17 zabbix dhclient: bound to 10.17.224.220 -- renewal in 158 seconds.
    Aug 5 08:16:55 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 08:16:55 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 08:16:55 zabbix dhclient: bound to 10.17.224.220 -- renewal in 146 seconds.
    Aug 5 08:19:21 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 08:19:21 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 08:19:21 zabbix dhclient: bound to 10.17.224.220 -- renewal in 145 seconds.
    Aug 5 08:21:46 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 08:21:46 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 08:21:46 zabbix dhclient: bound to 10.17.224.220 -- renewal in 155 seconds.
    Aug 5 08:24:21 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 08:24:21 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 08:24:21 zabbix dhclient: bound to 10.17.224.220 -- renewal in 169 seconds.
    Aug 5 08:26:59 zabbix ntpd_intres[492]: host name not found: marte.arslvt.min-saude.pt
    Aug 5 08:27:11 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 08:27:11 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 08:27:11 zabbix dhclient: bound to 10.17.224.220 -- renewal in 166 seconds.
    Aug 5 08:29:57 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 08:29:57 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 08:29:57 zabbix dhclient: bound to 10.17.224.220 -- renewal in 172 seconds.
    Aug 5 08:32:49 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 08:32:49 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 08:32:49 zabbix dhclient: bound to 10.17.224.220 -- renewal in 173 seconds.
    Aug 5 08:35:42 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 08:35:42 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 08:35:42 zabbix dhclient: bound to 10.17.224.220 -- renewal in 176 seconds.
    Aug 5 08:38:38 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 08:38:38 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 08:38:38 zabbix dhclient: bound to 10.17.224.220 -- renewal in 149 seconds.
    Aug 5 08:41:07 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 08:41:07 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 08:41:07 zabbix dhclient: bound to 10.17.224.220 -- renewal in 160 seconds.
    Aug 5 08:43:02 zabbix ntpd_intres[492]: host name not found: marte.arslvt.min-saude.pt
    Aug 5 08:43:47 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 08:43:47 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 08:43:47 zabbix dhclient: bound to 10.17.224.220 -- renewal in 154 seconds.
    Aug 5 08:46:22 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 08:46:22 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 08:46:22 zabbix dhclient: bound to 10.17.224.220 -- renewal in 179 seconds.
    Aug 5 08:49:21 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 08:49:21 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 08:49:21 zabbix dhclient: bound to 10.17.224.220 -- renewal in 156 seconds.
    Aug 5 08:51:57 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 08:51:57 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 08:51:57 zabbix dhclient: bound to 10.17.224.220 -- renewal in 181 seconds.
    Aug 5 08:54:58 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 08:54:58 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 08:54:58 zabbix dhclient: bound to 10.17.224.220 -- renewal in 179 seconds.
    Aug 5 08:56:06 zabbix systemd[1]: Starting user-0.slice.
    Aug 5 08:56:06 zabbix systemd[1]: Created slice user-0.slice.
    Aug 5 08:56:06 zabbix systemd[1]: Starting User Manager for UID 0...
    Aug 5 08:56:06 zabbix systemd[1]: Starting Session 223 of user root.
    Aug 5 08:56:06 zabbix systemd[1]: Started Session 223 of user root.
    Aug 5 08:56:06 zabbix systemd[21920]: Starting Paths.
    Aug 5 08:56:06 zabbix systemd[21920]: Reached target Paths.
    Aug 5 08:56:06 zabbix systemd[21920]: Starting Timers.
    Aug 5 08:56:06 zabbix systemd[21920]: Reached target Timers.
    Aug 5 08:56:06 zabbix systemd[21920]: Starting Sockets.
    Aug 5 08:56:06 zabbix systemd[21920]: Reached target Sockets.
    Aug 5 08:56:06 zabbix systemd[21920]: Starting Basic System.
    Aug 5 08:56:06 zabbix systemd[21920]: Reached target Basic System.
    Aug 5 08:56:06 zabbix systemd[21920]: Starting Default.
    Aug 5 08:56:06 zabbix systemd[21920]: Reached target Default.
    Aug 5 08:56:06 zabbix systemd[21920]: Startup finished in 6ms.
    Aug 5 08:56:06 zabbix systemd[1]: Started User Manager for UID 0.
    Aug 5 08:56:06 zabbix systemd[1]: Starting Session 224 of user root.
    Aug 5 08:56:06 zabbix systemd[1]: Started Session 224 of user root.
    Aug 5 08:56:11 zabbix systemd[1]: Started LSB: Start zabbix-server daemon.

    /var/log/syslog
    Aug 5 08:51:57 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 08:51:57 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 08:51:57 zabbix dhclient: bound to 10.17.224.220 -- renewal in 181 seconds.
    Aug 5 08:54:58 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 08:54:58 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 08:54:58 zabbix dhclient: bound to 10.17.224.220 -- renewal in 179 seconds.
    Aug 5 08:56:06 zabbix systemd[1]: Starting user-0.slice.
    Aug 5 08:56:06 zabbix systemd[1]: Created slice user-0.slice.
    Aug 5 08:56:06 zabbix systemd[1]: Starting User Manager for UID 0...
    Aug 5 08:56:06 zabbix systemd[1]: Starting Session 223 of user root.
    Aug 5 08:56:06 zabbix systemd[1]: Started Session 223 of user root.
    Aug 5 08:56:06 zabbix systemd[21920]: Starting Paths.
    Aug 5 08:56:06 zabbix systemd[21920]: Reached target Paths.
    Aug 5 08:56:06 zabbix systemd[21920]: Starting Timers.
    Aug 5 08:56:06 zabbix systemd[21920]: Reached target Timers.
    Aug 5 08:56:06 zabbix systemd[21920]: Starting Sockets.
    Aug 5 08:56:06 zabbix systemd[21920]: Reached target Sockets.
    Aug 5 08:56:06 zabbix systemd[21920]: Starting Basic System.
    Aug 5 08:56:06 zabbix systemd[21920]: Reached target Basic System.
    Aug 5 08:56:06 zabbix systemd[21920]: Starting Default.
    Aug 5 08:56:06 zabbix systemd[21920]: Reached target Default.
    Aug 5 08:56:06 zabbix systemd[21920]: Startup finished in 6ms.
    Aug 5 08:56:06 zabbix systemd[1]: Started User Manager for UID 0.
    Aug 5 08:56:06 zabbix systemd[1]: Starting Session 224 of user root.
    Aug 5 08:56:06 zabbix systemd[1]: Started Session 224 of user root.
    Aug 5 08:56:11 zabbix systemd[1]: Started LSB: Start zabbix-server daemon.
    Aug 5 08:57:57 zabbix dhclient: DHCPREQUEST on eth0 to 10.17.224.249 port 67
    Aug 5 08:57:57 zabbix dhclient: DHCPACK from 10.17.224.249
    Aug 5 08:57:57 zabbix dhclient: bound to 10.17.224.220 -- renewal in 145 seconds.
    Aug 5 08:59:04 zabbix ntpd_intres[492]: host name not found: marte.arslvt.min-saude.pt


    Comment

    • Markku
      Senior Member
      Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
      • Sep 2018
      • 1781

      #17
      To repeat the situation as you have told:
      - zabbix-server is not starting
      - you don’t see Zabbix server process in the process list
      - there is no output when you try to start zabbix-server service with systemctl
      - there is no output in zabbix_server.log
      (you didn’t provide the journalctl output regarding zabbix-server)

      You need to find out what happens in systemd when it tries to start Zabbix server. Try something like https://www.certdepot.net/systemd-se...ebugging-tips/
      and similar hints.

      Markku

      Comment

      • vascoleiria
        Junior Member
        • Apr 2014
        • 24

        #18
        This is taking too long. I think I'll make a new VM with the same version and import the database. What do you think?

        Comment

        • zux
          Member
          • Sep 2018
          • 93

          #19
          that should probably work. What do you get if you just execute zabbix_server from the command line?

          Comment

          • vascoleiria
            Junior Member
            • Apr 2014
            • 24

            #20
            Nothing no error just exits

            Comment

            • vascoleiria
              Junior Member
              • Apr 2014
              • 24

              #21
              I think I'll use ubuntu this time, its less messier with the upgrades, what is your opinion?

              Comment

              • zux
                Member
                • Sep 2018
                • 93

                #22
                No error usually means that it's at least past some mistakes. might even be started. Check ps aux and zabbix_server.log after that.

                Comment

                • vascoleiria
                  Junior Member
                  • Apr 2014
                  • 24

                  #23
                  Nope there is no zabbix_server.log just zabbix_agent.log

                  Comment

                  • Markku
                    Senior Member
                    Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
                    • Sep 2018
                    • 1781

                    #24
                    Originally posted by vascoleiria
                    This is taking too long. I think I'll make a new VM with the same version and import the database. What do you think?
                    Yes, it is possible to install a new server, install the same Zabbix version from official packages (check the availability before choosing your Linux distro), and then you can export+import the database. YMMV of course.

                    Markku

                    Comment

                    • vascoleiria
                      Junior Member
                      • Apr 2014
                      • 24

                      #25
                      Just created a new Vm with ubuntu server 18.04.3 , exported the .sql and now importing , it is 1.4 Gb it is going to take some time...

                      Comment

                      • vascoleiria
                        Junior Member
                        • Apr 2014
                        • 24

                        #26
                        Good news! Ubuntu 18.04 LTS installed sucessfuly with zabbix and database import with no problems ( I think) Now for the upgrade of Zabbix

                        Comment

                        • vascoleiria
                          Junior Member
                          • Apr 2014
                          • 24

                          #27
                          I went into database log and I get a couple of errors, what I found strange is this one

                          4561:20190812:081950.939 current database version (mandatory/optional): 03040000/03040007
                          4561:20190812:081950.939 required mandatory version: 03040000

                          Shouldn't have upgrade it ? Can I force it?

                          Also just found out this

                          Zabbix agent on Zabbix server is unreachable for 5 minutes
                          Last edited by vascoleiria; 12-08-2019, 11:42.

                          Comment

                          • zux
                            Member
                            • Sep 2018
                            • 93

                            #28
                            this:
                            Code:
                            required mandatory version: 03040000
                            means, that you are running version 3.4

                            Comment

                            • vascoleiria
                              Junior Member
                              • Apr 2014
                              • 24

                              #29
                              I found out that for strange reason the agent was not installed in the server.

                              Comment

                              • vascoleiria
                                Junior Member
                                • Apr 2014
                                • 24

                                #30
                                I end up solving the problem by installing from scratch with Ubuntu 18.04.3 LTS and importing the sql database from the command line. All working

                                Comment

                                Working...