GeoServer
  1. GeoServer
  2. GEOS-385

startup.sh needs to be dos2unixed or it doesn't work

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.3-rc2
    • Fix Version/s: 1.3.0 RC4.SC1
    • Component/s: Configuration
    • Labels:
      None
    • Environment:
      All non-windows -- unix, linux, freebsd, etc.
    • Number of attachments :
      0

      Description

      The startup script bin/startup.sh has windows-style carriage return/linefeeds, so it doesn't work. It leads to very obscure error messages and no small ammount of frustration trying to get the thing to work. The fix is simple though, run:

      dos2unix startup.sh

      This fixes it.

        Activity

        Hide
        dblasby added a comment -

        set fixed version to track

        Show
        dblasby added a comment - set fixed version to track
        Hide
        Chris Holmes added a comment -

        There's probably an ant task to help us, so we don't have to remember every time: http://ant.apache.org/manual/CoreTasks/fixcrlf.html should maybe do the trick?

        Show
        Chris Holmes added a comment - There's probably an ant task to help us, so we don't have to remember every time: http://ant.apache.org/manual/CoreTasks/fixcrlf.html should maybe do the trick?
        Hide
        amit kulkarni added a comment -

        the shutdown.sh needs to be chmod +x and also needs to be dos2unix'ed..

        amit

        Show
        amit kulkarni added a comment - the shutdown.sh needs to be chmod +x and also needs to be dos2unix'ed.. amit
        Hide
        dblasby added a comment -

        I dont see any of the dos LF characters in the file.

        I'll see what I can do about setting +x permissions. I'm not sure how SVN and tar etc... handle this.

        Show
        dblasby added a comment - I dont see any of the dos LF characters in the file. I'll see what I can do about setting +x permissions. I'm not sure how SVN and tar etc... handle this.
        Hide
        Andrea Aime added a comment -

        These issue has been in resolved state for at least one month (quite a bit, a lot more than one month). Batch transitioning them to closed state

        Show
        Andrea Aime added a comment - These issue has been in resolved state for at least one month (quite a bit, a lot more than one month). Batch transitioning them to closed state

          People

          • Assignee:
            Justin Deoliveira
            Reporter:
            Eric Hanson
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 5 minutes
              5m
              Remaining:
              Remaining Estimate - 5 minutes
              5m
              Logged:
              Time Spent - Not Specified
              Not Specified