CentOS 6 Mono and ApacheMono on Linux: Apache or NginxASP.NET, PostgreSQL, Mono, Ubuntu, Apache: Good...

What are these green text/line displays shown during the livestream of Crew Dragon's approach to dock with the ISS?

How would an AI self awareness kill switch work?

Is divide-by-zero a security vulnerability?

Sometimes a banana is just a banana

Do authors have to be politically correct in article-writing?

Crystal compensation for temp and voltage

Table enclosed in curly brackets

Why can I easily sing or whistle a tune I've just heard, but not as easily reproduce it on an instrument?

Why is this code uniquely decodable?

Meaning of すきっとした

How do we edit a novel that's written by several people?

How can I mix up weapons for large groups of similar monsters/characters?

Is Draco canonically good-looking?

If a druid in Wild Shape swallows a creature whole, then turns back to her normal form, what happens?

Charged enclosed by the sphere

Why is working on the same position for more than 15 years not a red flag?

Dilemma of explaining to interviewer that he is the reason for declining second interview

Which aircraft had such a luxurious-looking navigator's station?

How to properly claim credit for peer review?

ip vs ifconfig commands pros and cons

Can a person refuse a presidential pardon?

It took me a lot of time to make this, pls like. (YouTube Comments #1)

Can a hotel cancel a confirmed reservation?

Why is commutativity optional in multiplication for rings?



CentOS 6 Mono and Apache


Mono on Linux: Apache or NginxASP.NET, PostgreSQL, Mono, Ubuntu, Apache: Good idea?Mono on Apache 2.28 - vhosts does not function properlySetting up Mono/ASP.NET 4.0 on Apache2/Ubuntu: Virtual hosts?Install Mono on CentOS 5.5 using YumRunning mono-based application on Centos StartMono 3.0 not intercepting requests on Apache2/CentOSfastcgi-mono-server2 vs fastcgi-mono-server4Apache2 randomly stop working, error 403issue with mod-mono on centos 7













0















EDIT: Added some extra logs at the end



I'm trying to make Mono 3.0 work on CentOS 6 with Apache. I have compiled Mono, mod_mono and the XPS server from the source. But now I'm getting errors because it doesn't seem to be pointing to the right place.



I want to store my files under /home/mvcgui/wwwroot/. I have put the 'apache' user in the mvcgui group. I've created a VHOST pointing there, like so:



<VirtualHost _default_:80>
ServerAdmin webmaster@tralala.com
DocumentRoot /home/mvcgui/wwwroot
# ServerName mvcgui
ErrorLog /home/mvcgui/logs/error.log
<Directory />
Options FollowSymLinks
</Directory>
MonoServerPath mvc4 "/opt/mono/bin/mod-mono-server4"
# Dev mode
MonoDebug mvc4 true
MonoSetEnv mvc4 MONO_IOMAP=all;PATH=/opt/mono/bin;LD_LIBRARY_PATH=/opt/mono/lib/:$LD_LIBRARY_PATH;

MonoApplications mvc4 "/:/home/mvcgui/wwwroot"
<Location />
Allow from all
Order allow,deny
MonoSetServerAlias mvc4
SetHandler mono
SetOutputFilter DEFLATE
</Location>
</VirtualHost>


However when I make a request to localhost I get this error in the VHOST logs:



Fri Mar 22 15:52:35 2013] [error] [client ::1] (13)Permission denied: access to / denied


I believe however that the rights are correct?



[root@localhost mvcgui]# ls -l
total 8
drwxrwxr-x 2 mvcgui mvcgui 4096 Mar 22 11:41 logs
drwxrwxr-x 7 mvcgui mvcgui 4096 Mar 22 11:14 wwwroot

[root@localhost wwwroot]# ls -l
total 80
drwxr-xr-x 2 mvcgui mvcgui 4096 Mar 22 11:13 bin
drwxr-xr-x 5 mvcgui mvcgui 4096 Mar 22 11:13 Content
-rw-r--r-- 1 mvcgui mvcgui 32038 Mar 22 11:13 favicon.ico
-rw-r--r-- 1 mvcgui mvcgui 3790 Mar 22 11:13 Foundation_readme.txt
-rw-r--r-- 1 mvcgui mvcgui 97 Mar 22 11:13 Global.asax
-rw-r--r-- 1 mvcgui mvcgui 246 Mar 22 11:13 humans.txt
drwxr-xr-x 2 mvcgui mvcgui 4096 Mar 22 11:14 Images
-rw-r--r-- 1 mvcgui mvcgui 3103 Mar 22 11:13 packages.config
-rw-r--r-- 1 mvcgui mvcgui 110 Mar 22 11:13 robots.txt
drwxr-xr-x 3 mvcgui mvcgui 4096 Mar 22 11:14 Scripts
drwxr-xr-x 8 mvcgui mvcgui 4096 Mar 22 11:14 Views
-rw-r--r-- 1 mvcgui mvcgui 4543 Mar 22 11:13 Web.config
[root@localhost wwwroot]#


Note that SELinux and iptables are disabled.



Where could I look to get more troubleshoot info?



EDIT: Under /etc/httpd/logs/error_log I have noticed a more detailed error that shows up only when I start the service:



[Mon Mar 25 09:48:37 2013] [notice] caught SIGTERM, shutting down
mod-mono-server received a shutdown message
[Mon Mar 25 09:48:38 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Mar 25 09:48:38 2013] [notice] Digest: generating secret for digest authentication ...
[Mon Mar 25 09:48:38 2013] [notice] Digest: done
[Mon Mar 25 09:48:38 2013] [notice] Apache/2.2.15 (Unix) DAV/2 mod_mono/2.10 configured -- resuming normal operations
Listening on: /tmp/mod_mono_server_global
Root directory: /
Listening on: /tmp/mod_mono_server_global
Root directory: /
Error: Address already in use
mod-mono-server4
Exception caught during reading the configuration file:
System.MissingMethodException: Method not found: 'System.Configuration.IConfigurationSectionHandler.Create'.
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in <filename unknown>:0
at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in <filename unknown>:0
at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000] in <filename unknown>:0
at Mono.WebServer.Apache.Server.get_AppSettings () [0x00001] in /home/arnaud/Downloads/xsp-2.10.2/src/Mono.WebServer.Apache/main.cs:208
at Mono.WebServer.Apache.Server+ApplicationSettings..ctor () [0x0002a] in /home/arnaud/Downloads/xsp-2.10.2/src/Mono.WebServer.Apache/main.cs:63
Error: Directory "/home/mvcgui/wwwroot/" not found.
[root@localhost conf.d]#









share|improve this question
















bumped to the homepage by Community 12 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • The error concerning the Method not found was fixed by pointing the lib path from /opt/mono/lib/mono/4.0/mod-mono-server4.exe to /opt/mono/lib/mono/4.5/mod-mono-server4.exe. Mod-mono-server4.exe also had to be moved to the 4.5 lib directory. However the problem with the directory not being found is still happening and I have no idea why. Does mod-mono-server run as a different user than apache?

    – Astaar
    Mar 25 '13 at 9:27


















0















EDIT: Added some extra logs at the end



I'm trying to make Mono 3.0 work on CentOS 6 with Apache. I have compiled Mono, mod_mono and the XPS server from the source. But now I'm getting errors because it doesn't seem to be pointing to the right place.



I want to store my files under /home/mvcgui/wwwroot/. I have put the 'apache' user in the mvcgui group. I've created a VHOST pointing there, like so:



<VirtualHost _default_:80>
ServerAdmin webmaster@tralala.com
DocumentRoot /home/mvcgui/wwwroot
# ServerName mvcgui
ErrorLog /home/mvcgui/logs/error.log
<Directory />
Options FollowSymLinks
</Directory>
MonoServerPath mvc4 "/opt/mono/bin/mod-mono-server4"
# Dev mode
MonoDebug mvc4 true
MonoSetEnv mvc4 MONO_IOMAP=all;PATH=/opt/mono/bin;LD_LIBRARY_PATH=/opt/mono/lib/:$LD_LIBRARY_PATH;

MonoApplications mvc4 "/:/home/mvcgui/wwwroot"
<Location />
Allow from all
Order allow,deny
MonoSetServerAlias mvc4
SetHandler mono
SetOutputFilter DEFLATE
</Location>
</VirtualHost>


However when I make a request to localhost I get this error in the VHOST logs:



Fri Mar 22 15:52:35 2013] [error] [client ::1] (13)Permission denied: access to / denied


I believe however that the rights are correct?



[root@localhost mvcgui]# ls -l
total 8
drwxrwxr-x 2 mvcgui mvcgui 4096 Mar 22 11:41 logs
drwxrwxr-x 7 mvcgui mvcgui 4096 Mar 22 11:14 wwwroot

[root@localhost wwwroot]# ls -l
total 80
drwxr-xr-x 2 mvcgui mvcgui 4096 Mar 22 11:13 bin
drwxr-xr-x 5 mvcgui mvcgui 4096 Mar 22 11:13 Content
-rw-r--r-- 1 mvcgui mvcgui 32038 Mar 22 11:13 favicon.ico
-rw-r--r-- 1 mvcgui mvcgui 3790 Mar 22 11:13 Foundation_readme.txt
-rw-r--r-- 1 mvcgui mvcgui 97 Mar 22 11:13 Global.asax
-rw-r--r-- 1 mvcgui mvcgui 246 Mar 22 11:13 humans.txt
drwxr-xr-x 2 mvcgui mvcgui 4096 Mar 22 11:14 Images
-rw-r--r-- 1 mvcgui mvcgui 3103 Mar 22 11:13 packages.config
-rw-r--r-- 1 mvcgui mvcgui 110 Mar 22 11:13 robots.txt
drwxr-xr-x 3 mvcgui mvcgui 4096 Mar 22 11:14 Scripts
drwxr-xr-x 8 mvcgui mvcgui 4096 Mar 22 11:14 Views
-rw-r--r-- 1 mvcgui mvcgui 4543 Mar 22 11:13 Web.config
[root@localhost wwwroot]#


Note that SELinux and iptables are disabled.



Where could I look to get more troubleshoot info?



EDIT: Under /etc/httpd/logs/error_log I have noticed a more detailed error that shows up only when I start the service:



[Mon Mar 25 09:48:37 2013] [notice] caught SIGTERM, shutting down
mod-mono-server received a shutdown message
[Mon Mar 25 09:48:38 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Mar 25 09:48:38 2013] [notice] Digest: generating secret for digest authentication ...
[Mon Mar 25 09:48:38 2013] [notice] Digest: done
[Mon Mar 25 09:48:38 2013] [notice] Apache/2.2.15 (Unix) DAV/2 mod_mono/2.10 configured -- resuming normal operations
Listening on: /tmp/mod_mono_server_global
Root directory: /
Listening on: /tmp/mod_mono_server_global
Root directory: /
Error: Address already in use
mod-mono-server4
Exception caught during reading the configuration file:
System.MissingMethodException: Method not found: 'System.Configuration.IConfigurationSectionHandler.Create'.
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in <filename unknown>:0
at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in <filename unknown>:0
at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000] in <filename unknown>:0
at Mono.WebServer.Apache.Server.get_AppSettings () [0x00001] in /home/arnaud/Downloads/xsp-2.10.2/src/Mono.WebServer.Apache/main.cs:208
at Mono.WebServer.Apache.Server+ApplicationSettings..ctor () [0x0002a] in /home/arnaud/Downloads/xsp-2.10.2/src/Mono.WebServer.Apache/main.cs:63
Error: Directory "/home/mvcgui/wwwroot/" not found.
[root@localhost conf.d]#









share|improve this question
















bumped to the homepage by Community 12 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • The error concerning the Method not found was fixed by pointing the lib path from /opt/mono/lib/mono/4.0/mod-mono-server4.exe to /opt/mono/lib/mono/4.5/mod-mono-server4.exe. Mod-mono-server4.exe also had to be moved to the 4.5 lib directory. However the problem with the directory not being found is still happening and I have no idea why. Does mod-mono-server run as a different user than apache?

    – Astaar
    Mar 25 '13 at 9:27
















0












0








0








EDIT: Added some extra logs at the end



I'm trying to make Mono 3.0 work on CentOS 6 with Apache. I have compiled Mono, mod_mono and the XPS server from the source. But now I'm getting errors because it doesn't seem to be pointing to the right place.



I want to store my files under /home/mvcgui/wwwroot/. I have put the 'apache' user in the mvcgui group. I've created a VHOST pointing there, like so:



<VirtualHost _default_:80>
ServerAdmin webmaster@tralala.com
DocumentRoot /home/mvcgui/wwwroot
# ServerName mvcgui
ErrorLog /home/mvcgui/logs/error.log
<Directory />
Options FollowSymLinks
</Directory>
MonoServerPath mvc4 "/opt/mono/bin/mod-mono-server4"
# Dev mode
MonoDebug mvc4 true
MonoSetEnv mvc4 MONO_IOMAP=all;PATH=/opt/mono/bin;LD_LIBRARY_PATH=/opt/mono/lib/:$LD_LIBRARY_PATH;

MonoApplications mvc4 "/:/home/mvcgui/wwwroot"
<Location />
Allow from all
Order allow,deny
MonoSetServerAlias mvc4
SetHandler mono
SetOutputFilter DEFLATE
</Location>
</VirtualHost>


However when I make a request to localhost I get this error in the VHOST logs:



Fri Mar 22 15:52:35 2013] [error] [client ::1] (13)Permission denied: access to / denied


I believe however that the rights are correct?



[root@localhost mvcgui]# ls -l
total 8
drwxrwxr-x 2 mvcgui mvcgui 4096 Mar 22 11:41 logs
drwxrwxr-x 7 mvcgui mvcgui 4096 Mar 22 11:14 wwwroot

[root@localhost wwwroot]# ls -l
total 80
drwxr-xr-x 2 mvcgui mvcgui 4096 Mar 22 11:13 bin
drwxr-xr-x 5 mvcgui mvcgui 4096 Mar 22 11:13 Content
-rw-r--r-- 1 mvcgui mvcgui 32038 Mar 22 11:13 favicon.ico
-rw-r--r-- 1 mvcgui mvcgui 3790 Mar 22 11:13 Foundation_readme.txt
-rw-r--r-- 1 mvcgui mvcgui 97 Mar 22 11:13 Global.asax
-rw-r--r-- 1 mvcgui mvcgui 246 Mar 22 11:13 humans.txt
drwxr-xr-x 2 mvcgui mvcgui 4096 Mar 22 11:14 Images
-rw-r--r-- 1 mvcgui mvcgui 3103 Mar 22 11:13 packages.config
-rw-r--r-- 1 mvcgui mvcgui 110 Mar 22 11:13 robots.txt
drwxr-xr-x 3 mvcgui mvcgui 4096 Mar 22 11:14 Scripts
drwxr-xr-x 8 mvcgui mvcgui 4096 Mar 22 11:14 Views
-rw-r--r-- 1 mvcgui mvcgui 4543 Mar 22 11:13 Web.config
[root@localhost wwwroot]#


Note that SELinux and iptables are disabled.



Where could I look to get more troubleshoot info?



EDIT: Under /etc/httpd/logs/error_log I have noticed a more detailed error that shows up only when I start the service:



[Mon Mar 25 09:48:37 2013] [notice] caught SIGTERM, shutting down
mod-mono-server received a shutdown message
[Mon Mar 25 09:48:38 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Mar 25 09:48:38 2013] [notice] Digest: generating secret for digest authentication ...
[Mon Mar 25 09:48:38 2013] [notice] Digest: done
[Mon Mar 25 09:48:38 2013] [notice] Apache/2.2.15 (Unix) DAV/2 mod_mono/2.10 configured -- resuming normal operations
Listening on: /tmp/mod_mono_server_global
Root directory: /
Listening on: /tmp/mod_mono_server_global
Root directory: /
Error: Address already in use
mod-mono-server4
Exception caught during reading the configuration file:
System.MissingMethodException: Method not found: 'System.Configuration.IConfigurationSectionHandler.Create'.
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in <filename unknown>:0
at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in <filename unknown>:0
at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000] in <filename unknown>:0
at Mono.WebServer.Apache.Server.get_AppSettings () [0x00001] in /home/arnaud/Downloads/xsp-2.10.2/src/Mono.WebServer.Apache/main.cs:208
at Mono.WebServer.Apache.Server+ApplicationSettings..ctor () [0x0002a] in /home/arnaud/Downloads/xsp-2.10.2/src/Mono.WebServer.Apache/main.cs:63
Error: Directory "/home/mvcgui/wwwroot/" not found.
[root@localhost conf.d]#









share|improve this question
















EDIT: Added some extra logs at the end



I'm trying to make Mono 3.0 work on CentOS 6 with Apache. I have compiled Mono, mod_mono and the XPS server from the source. But now I'm getting errors because it doesn't seem to be pointing to the right place.



I want to store my files under /home/mvcgui/wwwroot/. I have put the 'apache' user in the mvcgui group. I've created a VHOST pointing there, like so:



<VirtualHost _default_:80>
ServerAdmin webmaster@tralala.com
DocumentRoot /home/mvcgui/wwwroot
# ServerName mvcgui
ErrorLog /home/mvcgui/logs/error.log
<Directory />
Options FollowSymLinks
</Directory>
MonoServerPath mvc4 "/opt/mono/bin/mod-mono-server4"
# Dev mode
MonoDebug mvc4 true
MonoSetEnv mvc4 MONO_IOMAP=all;PATH=/opt/mono/bin;LD_LIBRARY_PATH=/opt/mono/lib/:$LD_LIBRARY_PATH;

MonoApplications mvc4 "/:/home/mvcgui/wwwroot"
<Location />
Allow from all
Order allow,deny
MonoSetServerAlias mvc4
SetHandler mono
SetOutputFilter DEFLATE
</Location>
</VirtualHost>


However when I make a request to localhost I get this error in the VHOST logs:



Fri Mar 22 15:52:35 2013] [error] [client ::1] (13)Permission denied: access to / denied


I believe however that the rights are correct?



[root@localhost mvcgui]# ls -l
total 8
drwxrwxr-x 2 mvcgui mvcgui 4096 Mar 22 11:41 logs
drwxrwxr-x 7 mvcgui mvcgui 4096 Mar 22 11:14 wwwroot

[root@localhost wwwroot]# ls -l
total 80
drwxr-xr-x 2 mvcgui mvcgui 4096 Mar 22 11:13 bin
drwxr-xr-x 5 mvcgui mvcgui 4096 Mar 22 11:13 Content
-rw-r--r-- 1 mvcgui mvcgui 32038 Mar 22 11:13 favicon.ico
-rw-r--r-- 1 mvcgui mvcgui 3790 Mar 22 11:13 Foundation_readme.txt
-rw-r--r-- 1 mvcgui mvcgui 97 Mar 22 11:13 Global.asax
-rw-r--r-- 1 mvcgui mvcgui 246 Mar 22 11:13 humans.txt
drwxr-xr-x 2 mvcgui mvcgui 4096 Mar 22 11:14 Images
-rw-r--r-- 1 mvcgui mvcgui 3103 Mar 22 11:13 packages.config
-rw-r--r-- 1 mvcgui mvcgui 110 Mar 22 11:13 robots.txt
drwxr-xr-x 3 mvcgui mvcgui 4096 Mar 22 11:14 Scripts
drwxr-xr-x 8 mvcgui mvcgui 4096 Mar 22 11:14 Views
-rw-r--r-- 1 mvcgui mvcgui 4543 Mar 22 11:13 Web.config
[root@localhost wwwroot]#


Note that SELinux and iptables are disabled.



Where could I look to get more troubleshoot info?



EDIT: Under /etc/httpd/logs/error_log I have noticed a more detailed error that shows up only when I start the service:



[Mon Mar 25 09:48:37 2013] [notice] caught SIGTERM, shutting down
mod-mono-server received a shutdown message
[Mon Mar 25 09:48:38 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Mon Mar 25 09:48:38 2013] [notice] Digest: generating secret for digest authentication ...
[Mon Mar 25 09:48:38 2013] [notice] Digest: done
[Mon Mar 25 09:48:38 2013] [notice] Apache/2.2.15 (Unix) DAV/2 mod_mono/2.10 configured -- resuming normal operations
Listening on: /tmp/mod_mono_server_global
Root directory: /
Listening on: /tmp/mod_mono_server_global
Root directory: /
Error: Address already in use
mod-mono-server4
Exception caught during reading the configuration file:
System.MissingMethodException: Method not found: 'System.Configuration.IConfigurationSectionHandler.Create'.
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection (System.String configKey) [0x00000] in <filename unknown>:0
at System.Configuration.ConfigurationManager.GetSection (System.String sectionName) [0x00000] in <filename unknown>:0
at System.Configuration.ConfigurationManager.get_AppSettings () [0x00000] in <filename unknown>:0
at Mono.WebServer.Apache.Server.get_AppSettings () [0x00001] in /home/arnaud/Downloads/xsp-2.10.2/src/Mono.WebServer.Apache/main.cs:208
at Mono.WebServer.Apache.Server+ApplicationSettings..ctor () [0x0002a] in /home/arnaud/Downloads/xsp-2.10.2/src/Mono.WebServer.Apache/main.cs:63
Error: Directory "/home/mvcgui/wwwroot/" not found.
[root@localhost conf.d]#






apache-2.2 centos6 mono






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 25 '13 at 8:51







Astaar

















asked Mar 22 '13 at 15:00









AstaarAstaar

323616




323616





bumped to the homepage by Community 12 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 12 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • The error concerning the Method not found was fixed by pointing the lib path from /opt/mono/lib/mono/4.0/mod-mono-server4.exe to /opt/mono/lib/mono/4.5/mod-mono-server4.exe. Mod-mono-server4.exe also had to be moved to the 4.5 lib directory. However the problem with the directory not being found is still happening and I have no idea why. Does mod-mono-server run as a different user than apache?

    – Astaar
    Mar 25 '13 at 9:27





















  • The error concerning the Method not found was fixed by pointing the lib path from /opt/mono/lib/mono/4.0/mod-mono-server4.exe to /opt/mono/lib/mono/4.5/mod-mono-server4.exe. Mod-mono-server4.exe also had to be moved to the 4.5 lib directory. However the problem with the directory not being found is still happening and I have no idea why. Does mod-mono-server run as a different user than apache?

    – Astaar
    Mar 25 '13 at 9:27



















The error concerning the Method not found was fixed by pointing the lib path from /opt/mono/lib/mono/4.0/mod-mono-server4.exe to /opt/mono/lib/mono/4.5/mod-mono-server4.exe. Mod-mono-server4.exe also had to be moved to the 4.5 lib directory. However the problem with the directory not being found is still happening and I have no idea why. Does mod-mono-server run as a different user than apache?

– Astaar
Mar 25 '13 at 9:27







The error concerning the Method not found was fixed by pointing the lib path from /opt/mono/lib/mono/4.0/mod-mono-server4.exe to /opt/mono/lib/mono/4.5/mod-mono-server4.exe. Mod-mono-server4.exe also had to be moved to the 4.5 lib directory. However the problem with the directory not being found is still happening and I have no idea why. Does mod-mono-server run as a different user than apache?

– Astaar
Mar 25 '13 at 9:27












1 Answer
1






active

oldest

votes


















0














I ran into the same problem on openSuse 13.1 after upgrading to Mono 3.2 and apache 2.4
The problem for me was actually a simple permission problem, my htdocs directory was not accessible by the mod-mono-server process.



I am using the User and Group directives of apache to set the ownership of the apache process. Previously, these settings where inherited by mod-mono-server, but this doesn't work in apache-2.4 due to a bug in mod_mono. You can check the user and group id mod-mono-server is running under with:



ps ax -o pid,user,group,ruser,rgroup,args|grep mono





share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "2"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f490486%2fcentos-6-mono-and-apache%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I ran into the same problem on openSuse 13.1 after upgrading to Mono 3.2 and apache 2.4
    The problem for me was actually a simple permission problem, my htdocs directory was not accessible by the mod-mono-server process.



    I am using the User and Group directives of apache to set the ownership of the apache process. Previously, these settings where inherited by mod-mono-server, but this doesn't work in apache-2.4 due to a bug in mod_mono. You can check the user and group id mod-mono-server is running under with:



    ps ax -o pid,user,group,ruser,rgroup,args|grep mono





    share|improve this answer






























      0














      I ran into the same problem on openSuse 13.1 after upgrading to Mono 3.2 and apache 2.4
      The problem for me was actually a simple permission problem, my htdocs directory was not accessible by the mod-mono-server process.



      I am using the User and Group directives of apache to set the ownership of the apache process. Previously, these settings where inherited by mod-mono-server, but this doesn't work in apache-2.4 due to a bug in mod_mono. You can check the user and group id mod-mono-server is running under with:



      ps ax -o pid,user,group,ruser,rgroup,args|grep mono





      share|improve this answer




























        0












        0








        0







        I ran into the same problem on openSuse 13.1 after upgrading to Mono 3.2 and apache 2.4
        The problem for me was actually a simple permission problem, my htdocs directory was not accessible by the mod-mono-server process.



        I am using the User and Group directives of apache to set the ownership of the apache process. Previously, these settings where inherited by mod-mono-server, but this doesn't work in apache-2.4 due to a bug in mod_mono. You can check the user and group id mod-mono-server is running under with:



        ps ax -o pid,user,group,ruser,rgroup,args|grep mono





        share|improve this answer















        I ran into the same problem on openSuse 13.1 after upgrading to Mono 3.2 and apache 2.4
        The problem for me was actually a simple permission problem, my htdocs directory was not accessible by the mod-mono-server process.



        I am using the User and Group directives of apache to set the ownership of the apache process. Previously, these settings where inherited by mod-mono-server, but this doesn't work in apache-2.4 due to a bug in mod_mono. You can check the user and group id mod-mono-server is running under with:



        ps ax -o pid,user,group,ruser,rgroup,args|grep mono






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Feb 19 '14 at 14:01

























        answered Feb 19 '14 at 10:36









        matmat

        277116




        277116






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Server Fault!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f490486%2fcentos-6-mono-and-apache%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

            Список ссавців Італії Природоохоронні статуси | Список |...

            Українські прізвища Зміст Історичні відомості |...