Имеется Fedora 9
По рекомендации на сайте mono ( замена ASP.NET на Unix платформе) я установил mod_mono для Apache.
Рестартанул Апаче.
В итоге тестовая страница написанная на ASP.NET не работает и браузер выдает следущее
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Запуск ASP.NET скриптов (помогите!)
Модераторы: SLEDopit, Модераторы разделов
-
ford1813
- Сообщения: 383
- ОС: Slackware
Re: Запуск ASP.NET скриптов
Arthes писал(а): ↑15.06.2009 11:22Имеется Fedora 9
По рекомендации на сайте mono ( замена ASP.NET на Unix платформе) я установил mod_mono для Apache.
Рестартанул Апаче.
В итоге тестовая страница написанная на ASP.NET не работает и браузер выдает следущее
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
А что у нас теперь смотреть логи немодно ?
-
Arthes
- Сообщения: 282
- ОС: OS X Yosemite and CentOS
Re: Запуск ASP.NET скриптов
Код: Выделить всё
[error] Failed to connect to mod-mono-server after several attempts to spawn the process.-
ford1813
- Сообщения: 383
- ОС: Slackware
Re: Запуск ASP.NET скриптов
А в гугл ошибку забивать пробовали?
Там ссылок море.
Там ссылок море.
-
Arthes
- Сообщения: 282
- ОС: OS X Yosemite and CentOS
Re: Запуск ASP.NET скриптов
разумеется...
Там где отвечают пинают на один и тот же сайт. на котором черным по белому сказано
Код: Выделить всё
- Disabling SELinux
Set SELinux in permissive mode (setenforce 0) to avoid the following error.
503 Service Temporarily Unavailable
[error] Failed to connect to mod-mono-server after several attempts to spawn the process.
To put the system into permissive mode, issue this command.
# setenforce 0
Managing the policies for SELinux is beyond the scope of this article, but you can find more information about SELinux in the Fedora SELinux Project Page (http://fedoraproject.org/wiki/SELinux).Selinux у меня выключен еще на этапе загрузки ядра.
--- все равно выполнил setenforce 0
--- рестартанул Апаче, ошибка та же
-
Arthes
- Сообщения: 282
- ОС: OS X Yosemite and CentOS
Re: Запуск ASP.NET скриптов
Выяснилось что надо было доустановить еще xsp
и тут вот вышла такая ошибка с yum
как устранить которою пока не знаю
1) Обновил yum
Код
yum update yum
2)
и тут вот вышла такая ошибка с yum
как устранить которою пока не знаю
Код: Выделить всё
yum install --enablerepo=rawhide xsp1) Обновил yum
Код
yum update yum
2)
Код: Выделить всё
yum install --enablerepo=rawhide xsp
Loaded plugins: refresh-packagekit
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package xsp.i586 0:2.4-8.fc11 set to be updated
--> Processing Dependency: mono-core >= 2.4 for package: xsp
--> Running transaction check
---> Package mono-core.i586 0:2.4-19.fc12 set to be updated
--> Processing Dependency: mono(monodoc) = 1.0.0.0 for package: mono-core
--> Processing Dependency: mono(Mono.Mozilla) = 0.2.0.0 for package: mono-winforms
--> Processing Dependency: mono-core = 1.9.1-2.fc9 for package: mono-data-sqlite
--> Processing Dependency: mono-core = 1.9.1-2.fc9 for package: mono-winforms
--> Processing Dependency: mono-core = 1.9.1-2.fc9 for package: mono-data
--> Processing Dependency: mono-core = 1.9.1-2.fc9 for package: mono-extras
--> Processing Dependency: mono-core = 1.9.1-2.fc9 for package: mono-web
--> Running transaction check
---> Package mono-data.i586 0:2.4-19.fc12 set to be updated
---> Package mono-data-sqlite.i586 0:2.4-19.fc12 set to be updated
---> Package mono-extras.i586 0:2.4-19.fc12 set to be updated
---> Package mono-web.i586 0:2.4-19.fc12 set to be updated
---> Package mono-winforms.i586 0:2.4-19.fc12 set to be updated
---> Package monodoc.i586 0:2.4-19.fc12 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
=============================================================================
Package Arch Version Repository Size
================================================================================
=============================================================================
Installing:
xsp i586 2.4-8.fc11 rawhide 350 k
Installing for dependencies:
monodoc i586 2.4-19.fc12 rawhide 7.3 M
Updating for dependencies:
mono-core i586 2.4-19.fc12 rawhide 12 M
mono-data i586 2.4-19.fc12 rawhide 1.5 M
mono-data-sqlite i586 2.4-19.fc12 rawhide 157 k
mono-extras i586 2.4-19.fc12 rawhide 1.5 M
mono-web i586 2.4-19.fc12 rawhide 3.1 M
mono-winforms i586 2.4-19.fc12 rawhide 3.0 M
Transaction Summary
================================================================================
=============================================================================
Install 2 Package(s)
Update 6 Package(s)
Remove 0 Package(s)
Total size: 29 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
rpmlib(FileDigests) is needed by xsp-2.4-8.fc11.i586
rpmlib(FileDigests) is needed by mono-winforms-2.4-19.fc12.i586
rpmlib(FileDigests) is needed by mono-extras-2.4-19.fc12.i586
rpmlib(FileDigests) is needed by monodoc-2.4-19.fc12.i586
rpmlib(FileDigests) is needed by mono-web-2.4-19.fc12.i586
rpmlib(FileDigests) is needed by mono-data-2.4-19.fc12.i586
rpmlib(FileDigests) is needed by mono-core-2.4-19.fc12.i586
rpmlib(FileDigests) is needed by mono-data-sqlite-2.4-19.fc12.i586
Complete!
(1, [u'Please report this error in http://yum.baseurl.org/report'])-
Arthes
- Сообщения: 282
- ОС: OS X Yosemite and CentOS
Re: Запуск ASP.NET скриптов
OS : Fedora 10
1) Установил mod_mono а также весь комплект xsp из репозитария rawhide
yum install --enablerepo=rawhide xsp
3)
-----------------
В итоге
то же самое если пробовать запустить скрипт в самом миниатюрном WEB сервере xsp
Сдается мне что проблема с самим MONO или xsp....
Ибо в самом xsp в обход Апача должно запускаться 100%
Что скажите??????
1) Установил mod_mono а также весь комплект xsp из репозитария rawhide
yum install --enablerepo=rawhide xsp
3)
Код: Выделить всё
================================================================================
============================================================
Package Арх. Версия Repository Size
================================================================================
============================================================
Installing:
xsp i586 2.4-8.fc11 rawhide 350 k
Installing for dependencies:
monodoc i586 2.4-19.fc12 rawhide 7.3 M
Updating for dependencies:
mono-core i586 2.4-19.fc12 rawhide 12 M
mono-data i586 2.4-19.fc12 rawhide 1.5 M
mono-data-sqlite i586 2.4-19.fc12 rawhide 157 k
mono-extras i586 2.4-19.fc12 rawhide 1.5 M
mono-web i586 2.4-19.fc12 rawhide 3.1 M
mono-winforms i586 2.4-19.fc12 rawhide 3.0 M
Transaction Summary
================================================================================
============================================================
Install 2 Package(s)
Update 6 Package(s)
Remove 0 Package(s)
Total download size: 29 M
Выполнить [y/N]: y-----------------
В итоге
Код: Выделить всё
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Если ставить mod_mono из rawhide то
Код
Server Error in '/mono' Application
Object reference not set to an instance of an object
Description: HTTP 500. Error processing request.
Stack Trace:
System.NullReferenceException: Object reference not set to an instance of an object
at System.Web.Compilation.BuildManager.GetPrecompiledType (System.String virtualPath) [0x00000]
at System.Web.Compilation.BuildManager.GetPrecompiledApplicationType () [0x00000]
at System.Web.HttpApplicationFactory.InitType (System.Web.HttpContext context) [0x00000]
Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433
Ставил по инструкции для Федоры с офф сайта ASP.NET.то же самое если пробовать запустить скрипт в самом миниатюрном WEB сервере xsp
Сдается мне что проблема с самим MONO или xsp....
Ибо в самом xsp в обход Апача должно запускаться 100%
Что скажите??????