Especially for this scenario, since version 3.3.5 the otrs.LoaderCache.pl script has the --generate option. Run it on both nodes; and you will be able to log in just fine. You could call via a cron job or after installs and upgrades on all your nodes. But as Johannes mentioned, to do a load balanced setup which actually makes sense, it takes a lot of thought and planning. It's not something that works out-of-the box with the default setup.
-- Michiel On Wed, Apr 8, 2015 at 8:54 PM, Johannes Nickel <johannes.nic...@gmail.com> wrote: > There you have your problem. OTRS minimizes the JS and CSS Files, these > files are generated via local scripts, each per machine. It's the same for > the cache files and scripts. You can't yours simply load balance OTRS. There > are several steps you have to look after. > > Regards > > > > > On Wednesday, April 8, 2015, Ali Umair <aum...@i2cinc.com> wrote: >> >> My otrs application run on single node fine, but when run otrs application >> on nodes two nodes for load balancing, after that i am getting this >> exception on login page. I try to execute script of deletecache, loadcache >> and rebuild config but error is still persist... >> >> Ali >> >> On 4/8/2015 12:34 PM, Renee B wrote: >> >> Did you upgrade your OTRS or is it the initial installation? >> >> On 08.04.2015 07:57, Ali Umair wrote: >> >> Hi, >> >> - Browser *(Client Browser firfox and chrome)* >> - OS *(Client browser linx and OTRS running on Linux)* >> - OTRS Version *(3.0.6)* >> - What Host (Linux, Win) *Host is linux* >> - Webserver *(Apache)* >> - Is anything in the logs (apache / nginx error log) and OTRS Log that >> maybe related to you action >> - when does the error occur? >> * >> When i hit on Login page.... Too Old browser message displayed and on >> alert bo javascript message displayed of "*TypeError: Cannot call >> method 'Init' of undefined*" in common JS file >> >> In error log:* >> >> [Sat Mar 28 23:44:11 2015] [error] [;] File does not exist: >> >> /opt/iplOTRS/var/httpd/htdocs/skins/Agent/default/css-cache/CommonCSS_f0d8130800dc2d7b6a226b692b4a8776.css, >> referer: >> >> https://support.innovative-pk.com/otrs/index.pl?Action=AgentTicketSearch;Subaction=Search;Profile=last-search;SortBy=Age;OrderBy=Down;TakeLastSearch=1;StartHit=1;TicketID=161936 >> [Sat Mar 28 23:44:13 2015] [error] [;] File does not exist: >> >> /opt/iplOTRS/var/httpd/htdocs/js/js-cache/CommonJS_26da628935b53a24253a5f2450c56db2.js, >> referer: >> >> https://support.innovative-pk.com/otrs/index.pl?Action=AgentTicketSearch;Subaction=Search;Profile=last-search;SortBy=Age;OrderBy=Down;TakeLastSearch=1;StartHit=1;TicketID=161936 >> [Sat Mar 28 23:44:22 2015] [error] [;] File does not exist: >> >> /opt/iplOTRS/var/httpd/htdocs/js/js-cache/CommonJS_26da628935b53a24253a5f2450c56db2.js, >> referer: https://support.innovative-pk.com/otrs/index.pl >> >> >> >> >> -- >> >> -- >> >> Best Regards >> >> Ali Umair >> >> > > _______________________________________________ > OTRS mailing list: dev - Webpage: http://otrs.org/ > Archive: http://lists.otrs.org/pipermail/dev > To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev _______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev