Hi Rajendra, The logs that you're seeing on the console means that the gocd server has started.
As to your other question, when you install the go server and agent using zip, you do not need to do so as the 'go' user. As long as the user starting the go server has read permissions to /etc/default/go-server. The directory /etc/go is used to store the configuration related files of the go-server. In deb and rpm installations, this directory is owned by the 'go' user. For the zip installation, the configuration is stored in the '<server_installation_directory>/config' - Varsha On Tuesday, 14 March 2017 23:14:07 UTC+5:30, Rajendra Rawat wrote: > > Thank you Aravind for help. > I have a question on zip installer. Do I need to install the go server and > go agent as go user before using zip installer. > I am asking because as per the server.sh script [part of zip installer for > starting go server] refers to > the /etc/default/go-server, /var/run/go-server, /etc/go etc. > > And if I start the server by just unziping the package. it gives me error > below. > > > > [ofssobp@whf00bkw go-server-17.2.0]$ sh server.sh > OpenJDK 64-Bit Server VM warning: ignoring option PermSize=128m; support > was removed in 8.0 > Reading change scripts from directory > /scratch/app/product/go-server-17.2.0/db/h2deltas... > dbdeploy v2.11 > Creating index SYS:SYS_ID 0% > Creating index SYS:SYS_ID 0% > Changes currently applied to database: > 1..90, 221001, 230001..230009, 240001, 240002, 300001..300011, > 1202001..1202003, 1203002..1203005, 1301001, 1302001, 1303001..1303004, > 1304001, 1401001, 1403001, 1403002, 1501001..1501003, 1502001, 1503001, > 1503002, 1606001, 1606002, 1607001, 1610001, 1701001, 1702001 > Scripts available: > 1..90, 221001, 230001..230009, 240001, 240002, 300001..300011, > 1202001..1202003, 1203002..1203005, 1301001, 1302001, 1303001..1303004, > 1304001, 1401001, 1403001, 1403002, 1501001..1501003, 1502001, 1503001, > 1503002, 1606001, 1606002, 1607001, 1610001, 1701001, 1702001 > To be applied: > (none) > Creating index SYS:SYS_ID 0% > Creating index SYS:SYS_ID 0% > Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property ' > http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not > recognized. > Compiler warnings: > WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property ' > http://javax.xml.XMLConstants/property/accessExternalDTD' is not > recognized.' > Compiler warnings: > WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property ' > http://javax.xml.XMLConstants/property/accessExternalDTD' is not > recognized.' > Compiler warnings: > WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property ' > http://javax.xml.XMLConstants/property/accessExternalDTD' is not > recognized.' > Compiler warnings: > WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property ' > http://javax.xml.XMLConstants/property/accessExternalDTD' is not > recognized.' > Compiler warnings: > WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property ' > http://javax.xml.XMLConstants/property/accessExternalDTD' is not > recognized.' > Compiler warnings: > WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property ' > http://javax.xml.XMLConstants/property/accessExternalDTD' is not > recognized.' > Compiler warnings: > WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property ' > http://javax.xml.XMLConstants/property/accessExternalDTD' is not > recognized.' > Compiler warnings: > WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property ' > http://javax.xml.XMLConstants/property/accessExternalDTD' is not > recognized.' > Compiler warnings: > WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property ' > http://javax.xml.XMLConstants/property/accessExternalDTD' is not > recognized.' > Compiler warnings: > WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property ' > http://javax.xml.XMLConstants/property/accessExternalDTD' is not > recognized.' > DEPRECATION WARNING: Filter object with #filter method is deprecated. > Define method corresponding to filter type (#before, #after or #around). > (called from transaction_actions at > /scratch/app/product/go-server-17.2.0/work/jetty-0.0.0.0-8153-cruise.war-_go-any-/webapp/WEB-INF/rails.new/vendor/engines/oauth2_provider/lib/oauth2_provider/transaction_helper.rb:18) > DEPRECATION WARNING: Filter object with #filter method is deprecated. > Define method corresponding to filter type (#before, #after or #around). > (called from transaction_actions at > /scratch/app/product/go-server-17.2.0/work/jetty-0.0.0.0-8153-cruise.war-_go-any-/webapp/WEB-INF/rails.new/vendor/engines/oauth2_provider/lib/oauth2_provider/transaction_helper.rb:18) > DEPRECATION WARNING: Filter object with #filter method is deprecated. > Define method corresponding to filter type (#before, #after or #around). > (called from transaction_actions at > /scratch/app/product/go-server-17.2.0/work/jetty-0.0.0.0-8153-cruise.war-_go-any-/webapp/WEB-INF/rails.new/vendor/engines/oauth2_provider/lib/oauth2_provider/transaction_helper.rb:18) > DEPRECATION WARNING: Filter object with #filter method is deprecated. > Define method corresponding to filter type (#before, #after or #around). > (called from transaction_actions at > /scratch/app/product/go-server-17.2.0/work/jetty-0.0.0.0-8153-cruise.war-_go-any-/webapp/WEB-INF/rails.new/vendor/engines/oauth2_provider/lib/oauth2_provider/transaction_helper.rb:18) > > > Thanks & Regards > > Rajendra Rawat > > On Tue, Mar 14, 2017 at 8:31 PM, Aravind SV <[email protected]> > wrote: > >> Hello! >> >> The debian and rpm installers will create >> <https://github.com/gocd/gocd/blob/4d6ff9461545511adb1c5682ed0b319dca2fd2bb/installers/linux/shared/before-install.sh.erb#L19-L20> >> >> a user called "go". If you really want to use a different user, there are >> two options: >> >> 1. The easy one: Use the zip package instead. The user you use to start >> the server is the user the server or agent will run as. >> >> 2. The not-so-easy one: If you really want to use the deb installer, you >> can change the ownership of all the files used by the server and/or agent >> to be your new user and change the script in /etc/init.d/go-server to >> change the user, etc. This is *not recommended* because it'll make >> upgrading very difficult. >> >> Hope that helps, >> Cheers, >> Aravind >> >> >> On Tue, Mar 14, 2017 at 7:11 PM, Rajendra Rawat < >> [email protected]> wrote: >> >>> in other words, what does below statement mean. >>> >>> The installer will create a user called go if one does not exist on the >>> machine. The home directory will be set to /var/go. If you want to >>> create your own go user, make sure you do it before you install the >>> GoCD agent. >>> >>> Thanks & Regards >>> >>> Rajendra Rawat >>> >>> On Wed, Mar 8, 2017 at 6:52 PM, Rajendra Rawat < >>> [email protected]> wrote: >>> >>>> Hi Everyone. >>>> >>>> I need help on installation of go agent and go server. >>>> I want to use my own user instead of default go user, for installation. >>>> >>>> Is it possible ? if yes what is the process ... how to give my own user >>>> name ? >>>> >>>> Help would be greatly appreciated. >>>> >>>> Rajendra. >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "go-cd" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "go-cd" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "go-cd" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
