Fresh Linux Install Apache 503 Error

  1. 2 years ago

    Just completed a fresh install on Linux Mint 17.3 64-bit per copying and pasting the suggested install guide into terminal. When I try to access the webapp, I get a 503 from Apache. The log file shows an error parsing 'EntityName' on line 37 position 43 of something. I'm not an expert in setting up any kind of webserver, but I'm wondering is this a null value in some config file that I need to set before the web-based configuration can start.

    Here is my Apache Error Log:

    [Wed Jun 08 13:47:36.137835 2016] [mpm_event:notice] [pid 5666:tid 140157149026176] AH00489: Apache/2.4.7 (Ubuntu) configured -- resuming normal operations
    [Wed Jun 08 13:47:36.137887 2016] [core:notice] [pid 5666:tid 140157149026176] AH00094: Command line: '/usr/sbin/apache2'
    [Wed Jun 08 14:11:40.724432 2016] [mpm_event:notice] [pid 5666:tid 140157149026176] AH00491: caught SIGTERM, shutting down
    [Wed Jun 08 14:11:41.786302 2016] [mpm_event:notice] [pid 7401:tid 140031816587136] AH00489: Apache/2.4.7 (Ubuntu) mod_mono/3.12 configured -- resuming normal operations
    [Wed Jun 08 14:11:41.786348 2016] [core:notice] [pid 7401:tid 140031816587136] AH00094: Command line: '/usr/sbin/apache2'
    Listening on: /tmp/mod_mono_server_clonedeploy
    Root directory: /var/www/html/clonedeploy/
    [Wed Jun 08 14:24:14.750828 2016] [mpm_event:notice] [pid 7401:tid 140031816587136] AH00491: caught SIGTERM, shutting down
    mod-mono-server received a shutdown message
    [Wed Jun 08 14:24:16.807916 2016] [mpm_event:notice] [pid 12771:tid 140442300057472] AH00489: Apache/2.4.7 (Ubuntu) mod_mono/3.12 configured -- resuming normal operations
    [Wed Jun 08 14:24:16.807974 2016] [core:notice] [pid 12771:tid 140442300057472] AH00094: Command line: '/usr/sbin/apache2'
    Handling exception type XmlException
    Message is An error occurred while parsing EntityName. Line 37, position 43.
    IsTerminating is set to True
    An error occurred while parsing EntityName. Line 37, position 43.
      at (wrapper xdomain-invoke) Mono.WebServer.Apache.Server:RealMain (string[],bool,Mono.WebServer.IApplicationHost,bool)
      at (wrapper remoting-invoke-with-check) Mono.WebServer.Apache.Server:RealMain (string[],bool,Mono.WebServer.IApplicationHost,bool)
      at Mono.WebServer.Apache.Server.RealMain (System.String[] args, Boolean root, IApplicationHost ext_apphost, Boolean v_quiet) <0x4130c3e0 + 0x0087f> in <filename unknown>:0 
      at (wrapper remoting-invoke-with-check) Mono.WebServer.Apache.Server:RealMain (string[],bool,Mono.WebServer.IApplicationHost,bool)
      at Mono.WebServer.Apache.Server.Main (System.String[] args) <0x4130bd70 + 0x000e3> in <filename unknown>:0 
    [ERROR] FATAL UNHANDLED EXCEPTION: System.Xml.XmlException: An error occurred while parsing EntityName. Line 37, position 43.
    
    Server stack trace: 
      at System.Xml.XmlTextReaderImpl.Throw (System.Exception e) <0x40d86b50 + 0x000a3> in <filename unknown>:0 
      at System.Xml.XmlTextReaderImpl.Throw (System.String res, System.String arg) <0x40d86500 + 0x000ab> in <filename unknown>:0 
      at System.Xml.XmlTextReaderImpl.Throw (System.String res) <0x40d864d0 + 0x00023> in <filename unknown>:0 
      at System.Xml.XmlTextReaderImpl.ParseEntityName () <0x40d86360 + 0x000af> in <filename unknown>:0 
      at System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow (Int32 curPos, Char quoteChar, System.Xml.NodeData attr) <0x40d4c5d0 + 0x006d3> in <filename unknown>:0 
      at System.Xml.XmlTextReaderImpl.ParseAttributes () <0x40d47cb0 + 0x007af> in <filename unknown>:0 
      at System.Xml.XmlTextReaderImpl.ParseElement () <0x40d44fb0 + 0x0044f> in <filename unknown>:0 
      at System.Xml.XmlTextReaderImpl.ParseElementContent () <0x40d45e60 + 0x002d7> in <filename unknown>:0 
      at System.Xml.XmlTextReaderImpl.Read () <0x40d3f670 + 0x00057> in <filename unknown>:0 
      at System.Xml.XmlTextReader.Read () <0x40d3f650 + 0x0001a> in <filename unknown>:0 
      at System.Xml.XmlWriter.WriteNode (System.Xml.XmlReader reader, Boolean defattr) <0x40d6aee0 + 0x0034c> in <filename unknown>:0 
      at System.Xml.XmlReader.ReadOuterXml () <0x40d69750 + 0x0015a> in <filename unknown>:0 
      at System.Configuration.SectionInfo.ReadData (System.Configuration.Configuration config, System.Xml.XmlReader reader, Boolean overrideAllowed) <0x40d691e0 + 0x00283> in <filename unknown>:0 
      at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlReader reader, System.Configuration.Configuration config, Boolean overrideAllowed, Boolean root) <0x40d68940 + 0x0031c> in <filename unknown>:0 
      at System.Configuration.SectionGroupInfo.ReadRootData (System.Xml.XmlReader reader, System.Configuration.Configuration config, Boolean overrideAllowed) <0x40d688e0 + 0x00043> in <filename unknown>:0 
      at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlReader reader, System.String fileName) <0x40d3f2a0 + 0x00223> in <filename unknown>:0 
      at System.Configuration.Configuration.Load () <0x40d370f0 + 0x0010b> in <filename unknown>:0 
      at System.Configuration.Configuration.Init (IConfigSystem system, System.String configPath, System.Configuration.Configuration parent) <0x40d36930 + 0x00227> in <filename unknown>:0 
      at System.Configuration.Configuration..ctor (System.Configuration.InternalConfigurationSystem system, System.String locationSubPath) <0x40d360a0 + 0x00173> in <filename unknown>:0 
      at System.Configuration.InternalConfigurationFactory.Create (System.Type typeConfigHost, System.Object[] hostInitConfigurationParams) <0x40d35c80 + 0x0006f> in <filename unknown>:0 
      at System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration (System.String path, System.String site, System.String locationSubPath, System.String server, System.String userName, System.String password, Boolean fweb) <0x40d323d0 + 0x0036a> in <filename unknown>:0 
      at System.Web.Configuration.WebConfigurationManager.GetSection (System.String sectionName, System.String path, System.Web.HttpContext context) <0x40d31d90 + 0x000af> in <filename unknown>:0 
      at System.Web.Configuration.WebConfigurationManager.GetSection (System.String sectionName) <0x40d34c20 + 0x00033> in <filename unknown>:0 
      at System.Web.Configuration.HttpConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) <0x40d34c00 + 0x00013> in <filename unknown>:0 
      at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) <0x40d34b40 + 0x0002e> in <filename unknown>:0 
      at System.Configuration.ConfigurationManager.get_AppSettings () <0x40d34ad0 + 0x00017> in <filename unknown>:0 
      at Mono.WebServer.Options.Settings.Setting`1[T]..ctor (System.String name, Mono.WebServer.Options.Settings.Parser`1 parser, System.String description, System.String appSetting, System.String environment, Nullable`1 defaultValue, System.String prototype) <0x40d94530 + 0x0039f> in <filename unknown>:0 
      at Mono.WebServer.Options.Settings.NullableSetting`1[T]..ctor (System.String name, Mono.WebServer.Options.Settings.Parser`1 parser, System.String description, System.String appSetting, System.String environment, Nullable`1 defaultValue, System.String prototype) <0x40d94390 + 0x00053> in <filename unknown>:0 
      at Mono.WebServer.Options.Settings.NullableUInt16Setting..ctor (System.String name, System.String description, System.String appSetting, System.String environment, Nullable`1 defaultValue, System.String prototype) <0x40d942c0 + 0x000bf> in <filename unknown>:0 
      at Mono.WebServer.Apache.ConfigurationManager..ctor (System.String name, Boolean quietDefault, System.String rootDefault) <0x40d93570 + 0x00383> in <filename unknown>:0 
      at Mono.WebServer.Apache.Server.RealMain (System.String[] args, Boolean root, IApplicationHost ext_apphost, Boolean v_quiet) <0x40d92670 + 0x00103> in <filename unknown>:0 
      at (wrapper remoting-invoke-with-check) Mono.WebServer.Apache.Server:RealMain (string[],bool,Mono.WebServer.IApplicationHost,bool)
      at (wrapper xdomain-dispatch) Mono.WebServer.Apache.Server:RealMain (object,byte[]&,byte[]&,string[],bool,bool) 

    It looks like when you edited the web.config file for marker2 you must have used some characters that mono doesn't like, try removing the special characters.

  2. clonedeploy

    9 Jun 2016 Administrator Answer

    It looks like when you edited the web.config file for marker2 you must have used some characters that mono doesn't like, try removing the special characters.

  3. Thank you so much!

 

or Sign Up to reply!