-
Posts
483 -
Joined
-
Last visited
-
Days Won
1
Everything posted by sagnik
-
(XID tnm2xg) A DNS entry for “whatsnew.ml” already exists. You must remove this DNS entry from this server or all servers in the DNS cluster to proceed. I've checked DNS Zones but there is no entry related to the above domain.
-
Now it's working. I think there was a problem in the backend. Anyway thanks for your help, @vanisk.
-
Hi, I've just signed up for Tommy Account using the invitation link I have received in my e-mail inbox. But after signing up, when I've tried to login it says that "Invalid Login". So what is happening when I'm trying to login using valid credentials? Is there any problem with Tommy again?
-
West Bengal, India
-
I don't know too much about Django but I think you need to check your URL Mapping (url.py) and make sure you put those files (base.html, index.html) inside the mapped urls.
-
1.) In heliohost you are allowed to change only a few php.ini configurations. And the "auto_prepend_file" & "auto_append_file" php.ini directive is definitely not supported.2.) There are no ways to prevent account inactivity. But as @flazepe said, "You can donate at least $10 and get it to increase to 2 months and $15 for 3 months and so on. If you donate 5$, you'll also get to increase your storage to 2 GB." 2.1.) If you don't log in at least once in a month your account will be suspended and you can renew your account from "https://www.heliohost.org/renew/". 2.2.) Yes you'll get a notice before 15 days your account gets suspended. If you have any queries, let us know.
-
Let me try every possible ways first if it all gets failed then I'll switch to Linux. Currently I don't want to do so as the implementation is working but with few minor issues (like the Error 404 which is thrown by ASP.NET), if mono doesn't work then Error 404 should be thrown by Apache instead of ASP.NET. If somehow I able to fix it then everything should work properly.
-
Okay. But the 404 error is thrown on both whether accessing the hello.aspx from localhost/hello.aspx or 127.0.0.1:2000/hello.aspx.
-
Okay! Where can I get the source code of mod_mono for 64bits I've found one for 32bits but can't find the 64bits version. Suppose I've successfully found the 64bits version of mod_mono and built it, will it be compatible with the mono version I have? And can I use Visual Studio to build it? And as my mod_mono configuration working by starting the server manually, why all the aspx pages shows a 404 error of ASP.NET which is thrown by Mono not Apache it means the Mono is working as you can see it here: https://imgur.com/a/AxSNJcW?
-
Okay! Actually I've downloaded the mod_mono.so plugin and I don't know if it's compatible with the mono version I'm using! It maybe the cause. If it is, the mod_mono.so doesn't exist neither in the internet (except the website I've downloaded it) nor it comes with the MSI Installer. Then how can I get the right version of mod_mono? I've just noticed that the "mod_mono: connect error (Unknown error). Address: 127.0.0.1 Port: 2000" is still exists in the error.log file of Apache. I can't figure out why even if I start the server manually. And one more thing how can I change the AppData directory of mono?
-
Why I had to start the server manually?
-
Sir, I couldn't find any way to change the AppData folder of mono. Can you tell me how can I do that? One more thing, when I launched a Command Prompt using Administrator rights, I got the following error: Access to the path 'C:\WINDOWS\system32\config\systemprofile\AppData\Local\Microsoft\Windows\INetCache\Content.IE5' is denied.Okay I've managed to run mod_mono with Apache. What I did is changed the MonoServerPath from xsp4.bat to mod-mono-server4.bat which I've created. But a problem is that I had to start the mod-mono-server4 manually as well as I had to supply few options along with it C:\Program Files\Mono>mod-mono-server4 --address 127.0.0.1 --port 2000 --root E:\httpd\htdocsApache is not starting the server by itself. And If I don't start run the command manually the apache is showing a 503 Error. Also if I don't supply the options when starting the server Iget the following output: C:\Program Files\Mono>mod-mono-server4 Listening on: C:\Users\sagni\AppData\Local\Temp\mod_mono_server Root directory: C:\Program Files\Mono\ An address incompatible with the requested protocol was used. at System.Net.Sockets.Socket.Bind (System.Net.EndPoint localEP) [0x00043] in <524453535c1446469839c0b30a8ceaf1>:0 at Mono.WebServer.ModMonoWebSource.CreateSocket () [0x0007e] in <17ccfba99d534c9e8d160e47815fbfe3>:0 at Mono.WebServer.ApplicationServer.Start (System.Boolean bgThread, System.Int32 backlog) [0x00075] in <bbd0a9d3a0d349099be00550c37ebfb4>:0 at (wrapper remoting-invoke-with-check) Mono.WebServer.ApplicationServer.Start(bool,int) at Mono.WebServer.Apache.Server.RealMain (System.String[] args, System.Boolean root, Mono.WebServer.IApplicationHost ext_apphost, System.Boolean v_quiet) [0x00384] in <17ccfba99d534c9e8d160e47815fbfe3>:0 Here is the mod_mono.conf: # mod_mono.conf # Achtung! This file may be overwritten # Use 'include mod_mono.conf' from other configuration file # to load mod_mono module. <IfModule !mod_mono.c> LoadModule mono_module modules/mod_mono.so </IfModule> <IfModule mono_module> AddType application/x-asp-net .config .cs .csproj .dll .resources .resx .sln .vb .vbproj AddType application/x-asp-net .asax .ascx .ashx .asmx .aspx .axd .browser .licx .master .rem .sitemap .skin .soap .webinfo #AddHandler mod_mono .asax .ascx .ashx .asmx .aspx .axd .browser .licx .master .rem .sitemap .skin .soap .webinfo .config .cs .csproj .dll .resources .resx .sln .vb .vbproj MonoAutoApplication disabled MonoPath "C:\Program Files\Mono" #MonoServerPath "C:\Program Files\Mono\lib\mono\gac\mod-mono-server4\4.4.0.0__0738eb9f132ed756\mod-mono-server4" #MonoServerPath "C:\Program Files\Mono\lib\mono\4.5\mod-mono-server4.exe" MonoServerPath "C:\Program Files\Mono\bin\mod-mono-server4.bat" #MonoServerPath "C:\Program Files\Mono\bin\xsp4.bat" MonoListenAddress 127.0.0.1 MonoListenPort 2000 #MonoWapiDir "E:/httpd/htdocs" MonoApplications "/:E:\httpd\htdocs" #MonoApplicationsConfigFile "E:/httpd/htdocs/web.config" #MonoApplicationsConfigDir "E:/httpd/htdocs/webapp" MonoDebug true <IfModule dir_module> DirectoryIndex index.aspx DirectoryIndex Default.aspx DirectoryIndex default.aspx </IfModule> <DirectoryMatch "/(bin|App_Code|App_Data|App_GlobalResources|App_LocalResources)/"> Order deny,allow Deny from all </DirectoryMatch> <Location "/"> #MonoSetServerAlias default Allow from all Order allow,deny SetHandler mono SetOutputFilter DEFLATE SetEnvIfNoCase REQUEST_URI "\.(?:gif|jpe?g|png)$" no-gzip dont-vary AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript </Location> <Location "/mono"> #Allow from 127.0.0.1::1 SetHandler mono-ctrl </Location> </IfModule> Here is a screenshot:https://imgur.com/a/AxSNJcW
-
That's why I don't want to use IIS. Apache provides lot more features than IIS. That's why I want to setup mod_mono with Apache server. No doubt that IIS is very good when it comes to ASP.NET & SQL Server but to setup any other modules such as PHP it's very hard to setup even IIS doesn't allow PHP to be hosted as a module, it just allows to run PHP using FastCGI mode. But with Apache we can run almost everything we want and is very easy to setup. No the domains are not real. Well I'll try to fix the "Access Denied" issue for the "Application Data" folder in the morning. I will let you know, what has happened next. Because setting the mod_mono with Apache is my only option to run ASP.NET pages. And can you tell me how can I change the Directory shown on the command prompt (the Application Data folder)?
-
And what about the virtual hosts I've in Apache? And can I use Windows Hosts file as I did with Apache V Name-based irtual Hosts? And can use MySQL (MySQL 8), PHP (PHP 7.1), Python/Django, Perl, CGI with IIS? I use all of these for education purposes.
-
Okay got it. But how can I fix the "Access Denied" issue on that folder. By the way, you wanted to say that, I should use IIS instead of Apache. But if I do this, I need to change almost all the lines which uses an absolute path because I've installed Apache on "E:\httpd" and the installation of IIS will be in "C:\inetpub". Here is why I'm not using IIS instead of Apache: 4 years ago I had a website built using site builder on a free hosting company "Serversforyou" or something like that. I've learnt the basics of PHP & MySQL by modifying the website I've built using the site builder and with the help of some Google searches. After few months after learning the basics of PHP & MySQL I've created an account on Heliohost as it offers a large amount of features compared to any other hosts and its features were very new to me on that time. What the common thing was that both hosting company included a server signature which was for Apache. That's why I've installed Apache on a Windows XP PC on that time as I didn't know what I'm doing. And all the websites built on that PC is continued till now.
-
I've not specified the directory shown in the command prompt. I want to change this directory. But I don't know how. Yes I'm running mono as the account I use to logon to Windows at startup. And the Directory: "C:\Users\sagni\AppData\Local\Application Data" exists I think but showing "Access is denied." And when I'm trying to create, it shows "The destination already contains a folder named 'Application Data'." But I can't see it even after turning on "Show Hidden Items".
-
If mean to start the server using xsp4 --port 2000, then I did as you said and I've got an Error 404 from ASP (mod_mono) and the server gets closed after visiting "127.0.0.1:2000" & even "127.0.0.1:2000/hello.aspx" but on visiting "localhost/hello.aspx" is showing Apache 503 Service Unavailable Error. Here is the error.log: [Fri Jan 11 19:32:17.808453 2019] [:error] [pid 1864:tid 1800] mod_mono: connect error (Unknown error). Address: 127.0.0.1 Port: 2000 [Fri Jan 11 19:33:05.916807 2019] [:error] [pid 1864:tid 1800] Unknown command: 1347703880 [Fri Jan 11 19:41:54.044848 2019] [:error] [pid 1864:tid 1800] mod_mono: connect error (Unknown error). Address: 127.0.0.1 Port: 2000 [Fri Jan 11 19:41:58.895062 2019] [mpm_winnt:notice] [pid 3276:tid 1100] AH00424: Parent: Received restart signal -- Restarting the server. [Fri Jan 11 19:42:00.183297 2019] [:error] [pid 3276] mod_mono: connect error (Unknown error). Address: 127.0.0.1 Port: 2000 [Fri Jan 11 19:42:00.929365 2019] [mpm_winnt:notice] [pid 1864:tid 1032] AH00364: Child: All worker threads have exited. [Fri Jan 11 19:42:01.198967 2019] [:error] [pid 3276] mod_mono: connect error (Unknown error). Address: 127.0.0.1 Port: 2000 [Fri Jan 11 19:42:02.270816 2019] [:error] [pid 1864:tid 1032] mod_mono: connect error (Unknown error). Address: 127.0.0.1 Port: 2000 [Fri Jan 11 19:42:02.371054 2019] [auth_digest:notice] [pid 3276:tid 1100] AH01757: generating secret for digest authentication ... [Fri Jan 11 19:42:03.272498 2019] [:error] [pid 1864:tid 1032] mod_mono: connect error (Unknown error). Address: 127.0.0.1 Port: 2000 [Fri Jan 11 19:42:03.272498 2019] [:alert] [pid 1864:tid 1032] (OS 6)The handle is invalid. : Failed to acquire dashboard lock before destroying the dashboard [Fri Jan 11 19:42:03.272498 2019] [:warn] [pid 1864:tid 1032] (OS 6)The handle is invalid. : Failed to release dashboard lock after destroying the dashboard [Fri Jan 11 19:42:03.272498 2019] [:warn] [pid 1864:tid 1032] (OS 6)The handle is invalid. : Failed to destroy the dashboard mutex 'C:\\WINDOWS\\TEMP/mod_mono_dashboard_default_2.lock' [Fri Jan 11 19:42:04.533764 2019] [mpm_winnt:notice] [pid 3276:tid 1100] AH00455: Apache/2.4.23 (Win64) OpenSSL/1.0.2j mod_mono/3.12 mod_wsgi/4.6.5 Python/3.6 PHP/7.1.1 configured -- resuming normal operations [Fri Jan 11 19:42:04.533764 2019] [mpm_winnt:notice] [pid 3276:tid 1100] AH00456: Server built: Sep 6 2016 21:33:53 [Fri Jan 11 19:42:04.533764 2019] [core:notice] [pid 3276:tid 1100] AH00094: Command line: 'E:\\httpd\\bin\\httpd.exe -d E:/httpd' [Fri Jan 11 19:42:04.549387 2019] [mpm_winnt:notice] [pid 3276:tid 1100] AH00418: Parent: Created child process 3524 [Fri Jan 11 19:42:05.520762 2019] [auth_digest:notice] [pid 3524:tid 1040] AH01757: generating secret for digest authentication ... Here is a screenshot of Command Prompt Windows while running xsp4 --port 2000:https://imgur.com/a/aoOjJrJ And a screenshot of the page while visiting 127.0.0.1:2000/hello.aspx: https://imgur.com/a/I5HjmuW The screenshot of while visiting localhost/hello.aspx: https://imgur.com/a/0L8k3cs
-
Okay! I've changed the port to 2000. Now I'm getting 503 Service Unavailable. Here is the error log: [Fri Jan 11 18:06:21.180002 2019] [mpm_winnt:notice] [pid 3276:tid 1100] AH00424: Parent: Received restart signal -- Restarting the server. [Fri Jan 11 18:06:22.511253 2019] [:error] [pid 3276] mod_mono: connect error (Unknown error). Address: 127.0.0.1 Port: 2000 [Fri Jan 11 18:06:23.226797 2019] [mpm_winnt:notice] [pid 8232:tid 1032] AH00364: Child: All worker threads have exited. [Fri Jan 11 18:06:24.429895 2019] [auth_digest:notice] [pid 3276:tid 1100] AH01757: generating secret for digest authentication ... [Fri Jan 11 18:06:24.881508 2019] [:error] [pid 8232:tid 1032] mod_mono: connect error (Unknown error). Address: 127.0.0.1 Port: 2000 [Fri Jan 11 18:06:27.465706 2019] [mpm_winnt:notice] [pid 3276:tid 1100] AH00455: Apache/2.4.23 (Win64) OpenSSL/1.0.2j mod_mono/3.12 mod_wsgi/4.6.5 Python/3.6 PHP/7.1.1 configured -- resuming normal operations [Fri Jan 11 18:06:27.465706 2019] [mpm_winnt:notice] [pid 3276:tid 1100] AH00456: Server built: Sep 6 2016 21:33:53 [Fri Jan 11 18:06:27.465706 2019] [core:notice] [pid 3276:tid 1100] AH00094: Command line: 'E:\\httpd\\bin\\httpd.exe -d E:/httpd' [Fri Jan 11 18:06:27.465706 2019] [mpm_winnt:notice] [pid 3276:tid 1100] AH00418: Parent: Created child process 1864 [Fri Jan 11 18:06:28.725957 2019] [auth_digest:notice] [pid 1864:tid 1032] AH01757: generating secret for digest authentication ... I think apache couldn't connect to mod_mono using port 2000. But I can't figure out why!
-
Here is my mod_mono.conf: # mod_mono.conf # Achtung! This file may be overwritten # Use 'include mod_mono.conf' from other configuration file # to load mod_mono module. <IfModule !mod_mono.c> LoadModule mono_module modules/mod_mono.so </IfModule> <IfModule mono_module> AddType application/x-asp-net .config .cs .csproj .dll .resources .resx .sln .vb .vbproj AddType application/x-asp-net .asax .ascx .ashx .asmx .aspx .axd .browser .licx .master .rem .sitemap .skin .soap .webinfo #AddHandler mod_mono .asax .ascx .ashx .asmx .aspx .axd .browser .licx .master .rem .sitemap .skin .soap .webinfo .config .cs .csproj .dll .resources .resx .sln .vb .vbproj MonoAutoApplication disabled MonoPath "C:\Program Files\Mono" #MonoServerPath "C:\Program Files\Mono\lib\mono\gac\mod-mono-server4\4.4.0.0__0738eb9f132ed756\mod-mono-server4" #MonoServerPath "C:\Program Files\Mono\lib\mono\4.5\mod-mono-server4.exe" #MonoServerPath "C:\Program Files\Mono\bin\mod-mono-server4.bat" MonoServerPath "C:\Program Files\Mono\bin\xsp4.bat" #MonoListenAddress 127.0.0.1 MonoListenPort 80 #MonoWapiDir "E:/httpd/htdocs" MonoApplications "/:E:\httpd\htdocs" #MonoApplicationsConfigFile "E:/httpd/htdocs/web.config" #MonoApplicationsConfigDir "E:/httpd/htdocs/webapp" MonoDebug true <IfModule dir_module> DirectoryIndex index.aspx DirectoryIndex Default.aspx DirectoryIndex default.aspx </IfModule> <DirectoryMatch "/(bin|App_Code|App_Data|App_GlobalResources|App_LocalResources)/"> Order deny,allow Deny from all </DirectoryMatch> <Location "/"> #MonoSetServerAlias default Allow from all Order allow,deny SetHandler mono SetOutputFilter DEFLATE SetEnvIfNoCase REQUEST_URI "\.(?:gif|jpe?g|png)$" no-gzip dont-vary AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript </Location> <Location "/mono"> #Allow from 127.0.0.1::1 SetHandler mono-ctrl </Location> </IfModule> Here is my current error.log: [Fri Jan 11 16:33:55.693634 2019] [mpm_winnt:notice] [pid 3276:tid 1100] AH00424: Parent: Received restart signal -- Restarting the server. [Fri Jan 11 16:33:56.834309 2019] [:error] [pid 3276] mod_mono: connect error (Unknown error). Address: 127.0.0.1 Port: 2000 [Fri Jan 11 16:33:57.724921 2019] [mpm_winnt:notice] [pid 4572:tid 1028] AH00364: Child: All worker threads have exited. [Fri Jan 11 16:33:58.006145 2019] [auth_digest:notice] [pid 3276:tid 1100] AH01757: generating secret for digest authentication ... [Fri Jan 11 16:33:59.115484 2019] [:error] [pid 4572:tid 1028] mod_mono: connect error (Unknown error). Address: 127.0.0.1 Port: 2000 [Fri Jan 11 16:33:59.115484 2019] [:warn] [pid 4572:tid 1028] (OS 6)The handle is invalid. : Failed to release dashboard lock after destroying the dashboard [Fri Jan 11 16:34:00.521695 2019] [mpm_winnt:notice] [pid 3276:tid 1100] AH00455: Apache/2.4.23 (Win64) OpenSSL/1.0.2j mod_mono/3.12 mod_wsgi/4.6.5 Python/3.6 PHP/7.1.1 configured -- resuming normal operations [Fri Jan 11 16:34:00.521695 2019] [mpm_winnt:notice] [pid 3276:tid 1100] AH00456: Server built: Sep 6 2016 21:33:53 [Fri Jan 11 16:34:00.521695 2019] [core:notice] [pid 3276:tid 1100] AH00094: Command line: 'E:\\httpd\\bin\\httpd.exe -d E:/httpd' [Fri Jan 11 16:34:00.521695 2019] [mpm_winnt:notice] [pid 3276:tid 1100] AH00418: Parent: Created child process 8232 [Fri Jan 11 16:34:01.881019 2019] [auth_digest:notice] [pid 8232:tid 1032] AH01757: generating secret for digest authentication ... [Fri Jan 11 16:34:03.943454 2019] [mpm_winnt:notice] [pid 8232:tid 1032] AH00354: Child: Starting 64 worker threads. And here is a screenshot of an aspx page working without apache by running xsp4 --port 9000 & visiting localhost:9000/hello.aspx:https://imgur.com/a/5LasWhP Here is the screenshot of the same aspx page showing 500 Error with Apache: https://imgur.com/a/bxISYUB
-
Okay! I've solved it by creating a mod-mono-server4.bat file in /bin directory and changing MonoServerPath to "C:\Program files\Mono\bin\mod-mono-server4.bat" but now I can visit the control panel of mod_mono. As I can now use the mod_mono control panel I've started the mod_mono server which was labelled as default. But now I'm getting a 500 Internal Server Error when I visit a file "localhost/hello.aspx". But the file is working fine when I run "xsp4 --port 9000" and visit localhost:9000/hello.aspx.
-
Here is the Apache error.log: [Fri Jan 11 12:34:23.936929 2019] [auth_digest:notice] [pid 6240:tid 1028] AH01757: generating secret for digest authentication ... [Fri Jan 11 12:34:26.655602 2019] [:error] [pid 6240:tid 1028] mod_mono: connect error (Unknown error). Address: 127.0.0.1 Port: 2000 [Fri Jan 11 12:34:26.655602 2019] [:error] [pid 6240:tid 1028] Failed running 'C:\\Program Files\\Mono\\lib\\mono\\gac\\mod-mono-server4\\4.4.0.0__0738eb9f132ed756\\mod-mono-server4 --address 127.0.0.1 --port 2000 --nonstop --master (null) (null) (null) (null) (null) (null)'. Reason: Unknown error [Fri Jan 11 12:34:26.718099 2019] [mpm_winnt:notice] [pid 6240:tid 1028] AH00354: Child: Starting 64 worker threads.
-
I know but to do it I need to change everything in my websites as I'm running 7 Virtual Host. For example, when I'm including a file in PHP. But I need to run ASP.NET on Windows for college project. My project is to build a website in PHP, but for some specific pages use ASP.NET. My college also suggests to use Linux but I thought I'm already running an Apache server on Windows why not complete the project on the same server instead of installing Linux on my computer. Somehow I've found a Windows (64bits) version of mod_mono.so from a forum (a user on the forum built a x86 & x64 versions for Windows using msvc). So I've downloaded it and loaded with httpd & it has been loaded successfully. But now I'm getting a 503 Service Unavailable error on aspx pages. But when I visit /mono/ directory which is the control panel of mod_mono which is loaded using SetHandler mono-ctrl, I can see the contents. But the other, for example, I've created a simple aspx page on / (http://localhost/test.aspx) to check if mod_mono is working or not, the aspx page is showing a 503 Service Unavailable error.
-
Actually I've not used Linux before. So it will be a problem for me to switch to Linux now. But I need to run mod_mono somehow on Windows. There is a module exists which is mod_aspdotnet but it supports Apache 2.2 only. For now can you tell me why the aspx file giving a Error 503.
-
Well, I've already checked that link but they've only 32bits version of mod_mono for Apache 2.2. But something I found the mod_mono.so (64bits) and created an mod_mono.conf file and included it to httpd.conf. But when I've run an aspx file it gave me a 503 Service Unavailable error. Actually I don't know if mod_mono is working or not. And I want to run mod_mono for whole not only from a specific folder like "mydomain.com/mono/" which is described everywhere in the Internet.
-
Hi! I've installed Mono 5.18 (using msi installer). But the problem is the mod_mono.so & mod_mono.conf are missing from the installation. So I'm unable to configure Apache 2.4 (64Bits) to load mod_mono module. My question is, how can I get those files or how can I run mod_mono with Apache 2.4 (64Bits) on Windows (64Bits)?