ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Xen Orchestra on Ubuntu 15.10 - Complete installation instructions

    IT Discussion
    how to xen orchestra ubuntu 15.10 debian xen open source ubuntu linux xenserver
    24
    609
    281.7k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DustinB3403D
      DustinB3403
      last edited by

      Reboots are kind of critical to know if anything is broken.....

      dafyreD 1 Reply Last reply Reply Quote 0
      • dafyreD
        dafyre @DustinB3403
        last edited by

        @DustinB3403 said:

        Reboots are kind of critical to know if anything is broken.....

        Only in Windows, lol.

        scottalanmillerS 1 Reply Last reply Reply Quote 0
        • DustinB3403D
          DustinB3403
          last edited by

          And since we're using cron to start the job, it's more easily handled there.

          Uptime of weeks or months is no good for any system.

          Regardless of how awesome it is.

          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller @dafyre
            last edited by

            @dafyre said:

            @DustinB3403 said:

            Reboots are kind of critical to know if anything is broken.....

            Only in Windows, lol.

            Any system that is getting properly patched.

            http://www.smbitjournal.com/2011/02/why-we-reboot-servers/

            1 Reply Last reply Reply Quote 1
            • DanpD
              Danp
              last edited by

              Can't seem to get the startup script working with cron. Entered the command:

              chmod +x xo-start.sh
              

              What did I miss?

              coliverC DustinB3403D 2 Replies Last reply Reply Quote 0
              • coliverC
                coliver @Danp
                last edited by

                @Danp Did you run it with sudo?

                1 Reply Last reply Reply Quote 1
                • DustinB3403D
                  DustinB3403 @Danp
                  last edited by

                  @Danp said:

                  Can't seem to get the startup script working with cron. Entered the command:

                  chmod +x xo-start.sh
                  

                  What did I miss?

                  That just makes the script executable.

                  1 Reply Last reply Reply Quote 0
                  • dafyreD
                    dafyre
                    last edited by

                    Try it from /etc/rc.local ?

                    1 Reply Last reply Reply Quote 0
                    • DanpD
                      Danp
                      last edited by

                      @coliver said:

                      @Danp Did you run it with sudo?

                      Yes, current octal on the file is 0755 so it would appear that the executable flag is set for everyone.

                      @DustinB3403 said:

                      That just makes the script executable.

                      No kidding?! 😏

                      I followed your earlier guide, but it isn't working for some reason.

                      DustinB3403D 1 Reply Last reply Reply Quote 0
                      • DustinB3403D
                        DustinB3403 @Danp
                        last edited by DustinB3403

                        @Danp where did you put the xo-start.sh script? It should be in /etc

                        0_1453925239396_XenCenterMain_2016-01-27_15-06-19.png

                        1 Reply Last reply Reply Quote 0
                        • DustinB3403D
                          DustinB3403
                          last edited by DustinB3403

                          and what is in

                          /etc/crontab
                          

                          ?

                          And this should be what is in "my" /etc/crontab

                          0_1453925266314_XenCenterMain_2016-01-27_15-07-05.png

                          1 Reply Last reply Reply Quote 0
                          • DanpD
                            Danp
                            last edited by

                            Everything looks the same to me. <shrug>

                            Tried running grep CRON /var/log/syslog but don't see anything useful.

                            scottalanmillerS 1 Reply Last reply Reply Quote 0
                            • DanpD
                              Danp
                              last edited by

                              Works as expected when I run cd /etc && ./xo-start.sh from the command line.

                              1 Reply Last reply Reply Quote 0
                              • DustinB3403D
                                DustinB3403
                                last edited by

                                Can anyone else with XO running give the above steps a try and let us know if you're having the same issue?

                                @Danp sorry I'm just not sure what might be off without more details...

                                travisdh1T 1 Reply Last reply Reply Quote 0
                                • travisdh1T
                                  travisdh1 @DustinB3403
                                  last edited by

                                  @DustinB3403 said:

                                  Can anyone else with XO running give the above steps a try and let us know if you're having the same issue?

                                  @Danp sorry I'm just not sure what might be off without more details...

                                  Try adding the XO installation directory to the PATH statement in that crontab. I'm betting it doesn't know where to run things due to the limited environment the system crontabs run in.

                                  scottalanmillerS 1 Reply Last reply Reply Quote 0
                                  • scottalanmillerS
                                    scottalanmiller @travisdh1
                                    last edited by

                                    @travisdh1 said:

                                    @DustinB3403 said:

                                    Can anyone else with XO running give the above steps a try and let us know if you're having the same issue?

                                    @Danp sorry I'm just not sure what might be off without more details...

                                    Try adding the XO installation directory to the PATH statement in that crontab. I'm betting it doesn't know where to run things due to the limited environment the system crontabs run in.

                                    If it needs the PATH, then the command is wrong. It should not know where it is.

                                    travisdh1T 1 Reply Last reply Reply Quote 0
                                    • travisdh1T
                                      travisdh1 @scottalanmiller
                                      last edited by

                                      @scottalanmiller said:

                                      @travisdh1 said:

                                      @DustinB3403 said:

                                      Can anyone else with XO running give the above steps a try and let us know if you're having the same issue?

                                      @Danp sorry I'm just not sure what might be off without more details...

                                      Try adding the XO installation directory to the PATH statement in that crontab. I'm betting it doesn't know where to run things due to the limited environment the system crontabs run in.

                                      If it needs the PATH, then the command is wrong. It should not know where it is.

                                      In my limited experimenting, npm isn't the best implementation of a program. Then we're also dealing with a crontab not running a script/program that we know runs outside of the crontab. At least to me, this just screams that something is missing from PATH at the point it's being run.

                                      1 Reply Last reply Reply Quote 0
                                      • scottalanmillerS
                                        scottalanmiller @Danp
                                        last edited by

                                        @Danp said:

                                        Everything looks the same to me. <shrug>

                                        Tried running grep CRON /var/log/syslog but don't see anything useful.

                                        Did you put it into root's crontab? That's where it needs to be.

                                        DanpD 1 Reply Last reply Reply Quote 1
                                        • DanpD
                                          Danp @scottalanmiller
                                          last edited by

                                          @scottalanmiller I think so... command was sudo nano /etc/crontab .

                                          travisdh1T scottalanmillerS 2 Replies Last reply Reply Quote 0
                                          • travisdh1T
                                            travisdh1 @Danp
                                            last edited by

                                            @Danp said:

                                            @scottalanmiller I think so... command was sudo nano /etc/crontab .

                                            I normally have it in /var/spool/cron/crontabs/root, /etc is normally just settings.

                                            scottalanmillerS 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 10
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 30
                                            • 31
                                            • 12 / 31
                                            • First post
                                              Last post