* [Sysadmins] netams & apache2
@ 2008-02-03 7:41 Алексей Синицын
2008-02-03 10:38 ` Andrey Konnov
0 siblings, 1 reply; 15+ messages in thread
From: Алексей Синицын @ 2008-02-03 7:41 UTC (permalink / raw)
To: sysadmins
Приветствую.
Не уверен что это сюда а не в sisyphus@, потому-что пробую на текущем
сизифе и это может быть его проблема. Но установка будет на сервере
4.0.1.
При установке и настройке netams возникла проблема с доступом через
web интерфейс. Подключить модули авторизации я смог, диалог
авторизации проходит нормально, при некорректной паре логин/пароль
отваливает, при авторизации отдает страницу, но с ошибкой 500:
The server encountered an internal error and was unable to complete
your request. Either the server is overloaded or there was an error in
a CGI script.
Вот вывод в лог:
[Sun Feb 03 10:26:13 2008] [crit] [client 127.0.0.1] configuration
error: couldn't check access. No groups file?: /stat/
Возможно я не все сделал в .htaccess? Там я добавил только
Order allow,deny
Allow from all
По такому запросу гугль вывел на проблемы прехода с первого апача на
второй, это похоже не отсюда. Может быть не все модули загружены?
# httpd2 -t -D DUMP_MODULES 2>&1|grep auth
auth_basic_module (shared)
authn_file_module (shared)
authz_host_module (shared)
authz_owner_module (shared)
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Sysadmins] netams & apache2
2008-02-03 7:41 [Sysadmins] netams & apache2 Алексей Синицын
@ 2008-02-03 10:38 ` Andrey Konnov
2008-02-03 13:31 ` Алексей Синицын
0 siblings, 1 reply; 15+ messages in thread
From: Andrey Konnov @ 2008-02-03 10:38 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Алексей Синицын пишет:
> Приветствую.
Приветствую.
>
> Не уверен что это сюда а не в sisyphus@, потому-что пробую на текущем
> сизифе и это может быть его проблема. Но установка будет на сервере
> 4.0.1.
>
> При установке и настройке netams возникла проблема с доступом через
> web интерфейс. Подключить модули авторизации я смог, диалог
> авторизации проходит нормально, при некорректной паре логин/пароль
> отваливает, при авторизации отдает страницу, но с ошибкой 500:
>
> The server encountered an internal error and was unable to complete
> your request. Either the server is overloaded or there was an error in
> a CGI script.
>
> Вот вывод в лог:
>
> [Sun Feb 03 10:26:13 2008] [crit] [client 127.0.0.1] configuration
> error: couldn't check access. No groups file?: /stat/
>
> Возможно я не все сделал в .htaccess? Там я добавил только
Можно .htaccess полностью увидеть?
>
> Order allow,deny
> Allow from all
>
> По такому запросу гугль вывел на проблемы прехода с первого апача на
> второй, это похоже не отсюда. Может быть не все модули загружены?
Попробуйте authz_user_module подключить.
>
> # httpd2 -t -D DUMP_MODULES 2>&1|grep auth
> auth_basic_module (shared)
> authn_file_module (shared)
> authz_host_module (shared)
> authz_owner_module (shared)
> _______________________________________________
> Sysadmins mailing list
> Sysadmins@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sysadmins
--
Andrey Konnov
ankon at altlinux.ru
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Sysadmins] netams & apache2
2008-02-03 10:38 ` Andrey Konnov
@ 2008-02-03 13:31 ` Алексей Синицын
2008-02-03 13:38 ` Andrey Konnov
0 siblings, 1 reply; 15+ messages in thread
From: Алексей Синицын @ 2008-02-03 13:31 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
03.02.08, Andrey Konnov<ankon@altlinux.ru> написал(а):
> > При установке и настройке netams возникла проблема с доступом через
> > web интерфейс. Подключить модули авторизации я смог, диалог
> > авторизации проходит нормально, при некорректной паре логин/пароль
> > отваливает, при авторизации отдает страницу, но с ошибкой 500:
> >
> > The server encountered an internal error and was unable to complete
> > your request. Either the server is overloaded or there was an error in
> > a CGI script.
> >
> > Вот вывод в лог:
> >
> > [Sun Feb 03 10:26:13 2008] [crit] [client 127.0.0.1] configuration
> > error: couldn't check access. No groups file?: /stat/
> >
> > Возможно я не все сделал в .htaccess? Там я добавил только
>
> Можно .htaccess полностью увидеть?
>
> >
> > Order allow,deny
> > Allow from all
> >
> > По такому запросу гугль вывел на проблемы прехода с первого апача на
> > второй, это похоже не отсюда. Может быть не все модули загружены?
>
> Попробуйте authz_user_module подключить.
>
Спасибо, по подключении этого модуля заработало.
Но заработало частично, http://localhost/stat перенаправляет на
текущий день и выводит html, но http://localhost/stat/admintool.cgi по
прежнему выдает ошибку 500, теперь такую:
Error message:
Premature end of script headers: admintool.cgi
На всякий случай подключал все модули что-бы удостовериться что дело
не в них, при этом картина та-же. В логе:
[Sun Feb 03 16:19:36 2008] [error] [client 127.0.0.1] (13)Permission
denied: exec of
'/var/www/apache2/addon-modules/netams/stat/admintool.cgi' failed
[Sun Feb 03 16:19:36 2008] [error] [client 127.0.0.1] Premature end of
script headers: admintool.cgi
На всякий случай:
16:26 root@wind ~ # cat /var/www/apache2/addon-modules/netams/stat/.htaccess
Order allow,deny
Allow from all
#Deny from all
#
AuthName "NeTAMS Administrators Only"
Require user admin
<FilesMatch "\.(gif|jpe?g|png)$">
Require valid-user
Satisfy Any
</FilesMatch>
AuthType Basic
AuthUserFile /var/www/apache2/addon-modules/netams/stat/.htpasswd
16:30 root@wind ~ # cat
/var/www/apache2/addon-modules/netams/admintool/admin/.htaccess
Order allow,deny
Allow from all
<Files *.cgi>
AuthName "NetAMS Admin Authorization"
AuthType Basic
Require valid-user
</Files>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Sysadmins] netams & apache2
2008-02-03 13:31 ` Алексей Синицын
@ 2008-02-03 13:38 ` Andrey Konnov
2008-02-03 13:40 ` Andrey Konnov
0 siblings, 1 reply; 15+ messages in thread
From: Andrey Konnov @ 2008-02-03 13:38 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Алексей Синицын пишет:
> 03.02.08, Andrey Konnov<ankon@altlinux.ru> написал(а):
>
>>> При установке и настройке netams возникла проблема с доступом через
>>> web интерфейс. Подключить модули авторизации я смог, диалог
>>> авторизации проходит нормально, при некорректной паре логин/пароль
>>> отваливает, при авторизации отдает страницу, но с ошибкой 500:
>>>
>>> The server encountered an internal error and was unable to complete
>>> your request. Either the server is overloaded or there was an error in
>>> a CGI script.
>>>
>>> Вот вывод в лог:
>>>
>>> [Sun Feb 03 10:26:13 2008] [crit] [client 127.0.0.1] configuration
>>> error: couldn't check access. No groups file?: /stat/
>>>
>>> Возможно я не все сделал в .htaccess? Там я добавил только
>> Можно .htaccess полностью увидеть?
>>
>>> Order allow,deny
>>> Allow from all
>>>
>>> По такому запросу гугль вывел на проблемы прехода с первого апача на
>>> второй, это похоже не отсюда. Может быть не все модули загружены?
>> Попробуйте authz_user_module подключить.
>>
>
> Спасибо, по подключении этого модуля заработало.
>
> Но заработало частично, http://localhost/stat перенаправляет на
> текущий день и выводит html, но http://localhost/stat/admintool.cgi по
> прежнему выдает ошибку 500, теперь такую:
>
> Error message:
> Premature end of script headers: admintool.cgi
>
> На всякий случай подключал все модули что-бы удостовериться что дело
> не в них, при этом картина та-же. В логе:
>
> [Sun Feb 03 16:19:36 2008] [error] [client 127.0.0.1] (13)Permission
> denied: exec of
> '/var/www/apache2/addon-modules/netams/stat/admintool.cgi' failed
> [Sun Feb 03 16:19:36 2008] [error] [client 127.0.0.1] Premature end of
> script headers: admintool.cgi
>
> На всякий случай:
>
> 16:26 root@wind ~ # cat /var/www/apache2/addon-modules/netams/stat/.htaccess
> Order allow,deny
> Allow from all
> #Deny from all
> #
>
> AuthName "NeTAMS Administrators Only"
> Require user admin
> <FilesMatch "\.(gif|jpe?g|png)$">
> Require valid-user
> Satisfy Any
> </FilesMatch>
> AuthType Basic
> AuthUserFile /var/www/apache2/addon-modules/netams/stat/.htpasswd
>
>
> 16:30 root@wind ~ # cat
> /var/www/apache2/addon-modules/netams/admintool/admin/.htaccess
> Order allow,deny
> Allow from all
> <Files *.cgi>
> AuthName "NetAMS Admin Authorization"
> AuthType Basic
> Require valid-user
> </Files>
> _______________________________________________
> Sysadmins mailing list
> Sysadmins@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sysadmins
mount -l покажите.
--
Andrey Konnov
ankon at altlinux.ru
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Sysadmins] netams & apache2
2008-02-03 13:38 ` Andrey Konnov
@ 2008-02-03 13:40 ` Andrey Konnov
2008-02-03 13:51 ` Алексей Синицын
0 siblings, 1 reply; 15+ messages in thread
From: Andrey Konnov @ 2008-02-03 13:40 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Andrey Konnov пишет:
> Алексей Синицын пишет:
>> 03.02.08, Andrey Konnov<ankon@altlinux.ru> написал(а):
>>
>>>> При установке и настройке netams возникла проблема с доступом через
>>>> web интерфейс. Подключить модули авторизации я смог, диалог
>>>> авторизации проходит нормально, при некорректной паре логин/пароль
>>>> отваливает, при авторизации отдает страницу, но с ошибкой 500:
>>>>
>>>> The server encountered an internal error and was unable to complete
>>>> your request. Either the server is overloaded or there was an error in
>>>> a CGI script.
>>>>
>>>> Вот вывод в лог:
>>>>
>>>> [Sun Feb 03 10:26:13 2008] [crit] [client 127.0.0.1] configuration
>>>> error: couldn't check access. No groups file?: /stat/
>>>>
>>>> Возможно я не все сделал в .htaccess? Там я добавил только
>>> Можно .htaccess полностью увидеть?
>>>
>>>> Order allow,deny
>>>> Allow from all
>>>>
>>>> По такому запросу гугль вывел на проблемы прехода с первого апача на
>>>> второй, это похоже не отсюда. Может быть не все модули загружены?
>>> Попробуйте authz_user_module подключить.
>>>
>> Спасибо, по подключении этого модуля заработало.
>>
>> Но заработало частично, http://localhost/stat перенаправляет на
>> текущий день и выводит html, но http://localhost/stat/admintool.cgi по
>> прежнему выдает ошибку 500, теперь такую:
>>
>> Error message:
>> Premature end of script headers: admintool.cgi
>>
>> На всякий случай подключал все модули что-бы удостовериться что дело
>> не в них, при этом картина та-же. В логе:
>>
>> [Sun Feb 03 16:19:36 2008] [error] [client 127.0.0.1] (13)Permission
>> denied: exec of
>> '/var/www/apache2/addon-modules/netams/stat/admintool.cgi' failed
>> [Sun Feb 03 16:19:36 2008] [error] [client 127.0.0.1] Premature end of
>> script headers: admintool.cgi
>>
>> На всякий случай:
>>
>> 16:26 root@wind ~ # cat /var/www/apache2/addon-modules/netams/stat/.htaccess
>> Order allow,deny
>> Allow from all
>> #Deny from all
>> #
>>
>> AuthName "NeTAMS Administrators Only"
>> Require user admin
>> <FilesMatch "\.(gif|jpe?g|png)$">
>> Require valid-user
>> Satisfy Any
>> </FilesMatch>
>> AuthType Basic
>> AuthUserFile /var/www/apache2/addon-modules/netams/stat/.htpasswd
>>
>>
>> 16:30 root@wind ~ # cat
>> /var/www/apache2/addon-modules/netams/admintool/admin/.htaccess
>> Order allow,deny
>> Allow from all
>> <Files *.cgi>
>> AuthName "NetAMS Admin Authorization"
>> AuthType Basic
>> Require valid-user
>> </Files>
>> _______________________________________________
>> Sysadmins mailing list
>> Sysadmins@lists.altlinux.org
>> https://lists.altlinux.org/mailman/listinfo/sysadmins
>
> mount -l покажите.
>
Да, и еще конфиг виртуального хоста в apache.
--
Andrey Konnov
ankon at altlinux.ru
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Sysadmins] netams & apache2
2008-02-03 13:40 ` Andrey Konnov
@ 2008-02-03 13:51 ` Алексей Синицын
2008-02-03 13:59 ` Andrey Konnov
0 siblings, 1 reply; 15+ messages in thread
From: Алексей Синицын @ 2008-02-03 13:51 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
03.02.08, Andrey Konnov<ankon@altlinux.ru> написал(а):
> >> Но заработало частично, http://localhost/stat перенаправляет на
> >> текущий день и выводит html, но http://localhost/stat/admintool.cgi по
> >> прежнему выдает ошибку 500, теперь такую:
> >>
> >> Error message:
> >> Premature end of script headers: admintool.cgi
> >>
> >> На всякий случай подключал все модули что-бы удостовериться что дело
> >> не в них, при этом картина та-же. В логе:
> >>
> >> [Sun Feb 03 16:19:36 2008] [error] [client 127.0.0.1] (13)Permission
> >> denied: exec of
> >> '/var/www/apache2/addon-modules/netams/stat/admintool.cgi' failed
> >> [Sun Feb 03 16:19:36 2008] [error] [client 127.0.0.1] Premature end of
> >> script headers: admintool.cgi
> >>
> >> На всякий случай:
> >>
> >> 16:26 root@wind ~ # cat /var/www/apache2/addon-modules/netams/stat/.htaccess
> >> Order allow,deny
> >> Allow from all
> >> #Deny from all
> >> #
> >>
> >> AuthName "NeTAMS Administrators Only"
> >> Require user admin
> >> <FilesMatch "\.(gif|jpe?g|png)$">
> >> Require valid-user
> >> Satisfy Any
> >> </FilesMatch>
> >> AuthType Basic
> >> AuthUserFile /var/www/apache2/addon-modules/netams/stat/.htpasswd
> >>
> >>
> >> 16:30 root@wind ~ # cat
> >> /var/www/apache2/addon-modules/netams/admintool/admin/.htaccess
> >> Order allow,deny
> >> Allow from all
> >> <Files *.cgi>
> >> AuthName "NetAMS Admin Authorization"
> >> AuthType Basic
> >> Require valid-user
> >> </Files>
> >> _______________________________________________
> >> Sysadmins mailing list
> >> Sysadmins@lists.altlinux.org
> >> https://lists.altlinux.org/mailman/listinfo/sysadmins
> >
> > mount -l покажите.
> >
>
16:49 al@wind ~ $ mount -l
/dev/sda2 on / type xfs (rw)
/proc on /proc type proc (rw,noexec,nosuid,gid=19)
sysfs on /sys type sysfs (rw)
udevfs on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
shmfs on /dev/shm type tmpfs (rw)
/dev/sda3 on /var type reiserfs (rw,noexec,nosuid,nodev)
/dev/sda6 on /home type xfs (rw)
/dev/sda7 on /usr/local type xfs (rw)
jacktmp on /var/lib/jack/tmp type ramfs (rw)
/tmp on /tmp type tmpfs (rw,noexec,nosuid,nodev,size=300m)
none on /proc/fs/nfsd type nfsd (rw)
16:49 al@wind ~ $
> Да, и еще конфиг виртуального хоста в apache.
>
Это вот про это?
16:48 root@wind ~ # cat /etc/httpd2/conf/addon.d/A.netams-stat.conf
<IfModule alias_module>
<IfModule cgi_module>
<IfModule dir_module>
<Directory /var/www/apache2/addon-modules/netams/stat>
AddHandler cgi-script .cgi
Options FollowSymLinks ExecCGI
AllowOverride All
Order Allow,Deny
Allow from localhost
DirectoryIndex index.html index.cgi admintool.cgi
</Directory>
Alias /stat/ "/var/www/apache2/addon-modules/netams/stat/"
</IfModule>
</IfModule>
</IfModule>
#
16:50 root@wind ~ #
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Sysadmins] netams & apache2
2008-02-03 13:51 ` Алексей Синицын
@ 2008-02-03 13:59 ` Andrey Konnov
2008-02-03 14:16 ` Алексей Синицын
0 siblings, 1 reply; 15+ messages in thread
From: Andrey Konnov @ 2008-02-03 13:59 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Алексей Синицын пишет:
> 03.02.08, Andrey Konnov<ankon@altlinux.ru> написал(а):
>
>>>> Но заработало частично, http://localhost/stat перенаправляет на
>>>> текущий день и выводит html, но http://localhost/stat/admintool.cgi по
>>>> прежнему выдает ошибку 500, теперь такую:
>>>>
>>>> Error message:
>>>> Premature end of script headers: admintool.cgi
>>>>
>>>> На всякий случай подключал все модули что-бы удостовериться что дело
>>>> не в них, при этом картина та-же. В логе:
>>>>
>>>> [Sun Feb 03 16:19:36 2008] [error] [client 127.0.0.1] (13)Permission
>>>> denied: exec of
>>>> '/var/www/apache2/addon-modules/netams/stat/admintool.cgi' failed
>>>> [Sun Feb 03 16:19:36 2008] [error] [client 127.0.0.1] Premature end of
>>>> script headers: admintool.cgi
>>>>
>>>> На всякий случай:
>>>>
>>>> 16:26 root@wind ~ # cat /var/www/apache2/addon-modules/netams/stat/.htaccess
>>>> Order allow,deny
>>>> Allow from all
>>>> #Deny from all
>>>> #
>>>>
>>>> AuthName "NeTAMS Administrators Only"
>>>> Require user admin
>>>> <FilesMatch "\.(gif|jpe?g|png)$">
>>>> Require valid-user
>>>> Satisfy Any
>>>> </FilesMatch>
>>>> AuthType Basic
>>>> AuthUserFile /var/www/apache2/addon-modules/netams/stat/.htpasswd
>>>>
>>>>
>>>> 16:30 root@wind ~ # cat
>>>> /var/www/apache2/addon-modules/netams/admintool/admin/.htaccess
>>>> Order allow,deny
>>>> Allow from all
>>>> <Files *.cgi>
>>>> AuthName "NetAMS Admin Authorization"
>>>> AuthType Basic
>>>> Require valid-user
>>>> </Files>
>>>> _______________________________________________
>>>> Sysadmins mailing list
>>>> Sysadmins@lists.altlinux.org
>>>> https://lists.altlinux.org/mailman/listinfo/sysadmins
>>> mount -l покажите.
>>>
>
>
> 16:49 al@wind ~ $ mount -l
> /dev/sda2 on / type xfs (rw)
> /proc on /proc type proc (rw,noexec,nosuid,gid=19)
> sysfs on /sys type sysfs (rw)
> udevfs on /dev type tmpfs (rw)
> devpts on /dev/pts type devpts (rw)
> shmfs on /dev/shm type tmpfs (rw)
> /dev/sda3 on /var type reiserfs (rw,noexec,nosuid,nodev)
Опцию noexec уберите.
> /dev/sda6 on /home type xfs (rw)
> /dev/sda7 on /usr/local type xfs (rw)
> jacktmp on /var/lib/jack/tmp type ramfs (rw)
> /tmp on /tmp type tmpfs (rw,noexec,nosuid,nodev,size=300m)
> none on /proc/fs/nfsd type nfsd (rw)
> 16:49 al@wind ~ $
>
>
>> Да, и еще конфиг виртуального хоста в apache.
>>
>
> Это вот про это?
>
> 16:48 root@wind ~ # cat /etc/httpd2/conf/addon.d/A.netams-stat.conf
> <IfModule alias_module>
> <IfModule cgi_module>
> <IfModule dir_module>
> <Directory /var/www/apache2/addon-modules/netams/stat>
> AddHandler cgi-script .cgi
> Options FollowSymLinks ExecCGI
> AllowOverride All
> Order Allow,Deny
> Allow from localhost
> DirectoryIndex index.html index.cgi admintool.cgi
> </Directory>
>
> Alias /stat/ "/var/www/apache2/addon-modules/netams/stat/"
> </IfModule>
> </IfModule>
> </IfModule>
> #
> 16:50 root@wind ~ #
> _______________________________________________
> Sysadmins mailing list
> Sysadmins@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sysadmins
--
Andrey Konnov
ankon at altlinux.ru
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Sysadmins] netams & apache2
2008-02-03 13:59 ` Andrey Konnov
@ 2008-02-03 14:16 ` Алексей Синицын
2008-02-03 14:14 ` Andrey Konnov
0 siblings, 1 reply; 15+ messages in thread
From: Алексей Синицын @ 2008-02-03 14:16 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
03.02.08, Andrey Konnov<ankon@altlinux.ru> написал(а):
> Алексей Синицын пишет:
> > 03.02.08, Andrey Konnov<ankon@altlinux.ru> написал(а):
> >
> >>>> Но заработало частично, http://localhost/stat перенаправляет на
> >>>> текущий день и выводит html, но http://localhost/stat/admintool.cgi по
> >>>> прежнему выдает ошибку 500, теперь такую:
> >>>>
> >>>> Error message:
> >>>> Premature end of script headers: admintool.cgi
> >>>>
> >>>> На всякий случай подключал все модули что-бы удостовериться что дело
> >>>> не в них, при этом картина та-же. В логе:
> >>>>
> >>>> [Sun Feb 03 16:19:36 2008] [error] [client 127.0.0.1] (13)Permission
> >>>> denied: exec of
> >>>> '/var/www/apache2/addon-modules/netams/stat/admintool.cgi' failed
> >>>> [Sun Feb 03 16:19:36 2008] [error] [client 127.0.0.1] Premature end of
> >>>> script headers: admintool.cgi
> >>>>
> >>>> На всякий случай:
> >>>>
> >>>> 16:26 root@wind ~ # cat /var/www/apache2/addon-modules/netams/stat/.htaccess
> >>>> Order allow,deny
> >>>> Allow from all
> >>>> #Deny from all
> >>>> #
> >>>>
> >>>> AuthName "NeTAMS Administrators Only"
> >>>> Require user admin
> >>>> <FilesMatch "\.(gif|jpe?g|png)$">
> >>>> Require valid-user
> >>>> Satisfy Any
> >>>> </FilesMatch>
> >>>> AuthType Basic
> >>>> AuthUserFile /var/www/apache2/addon-modules/netams/stat/.htpasswd
> >>>>
> >>>>
> >>>> 16:30 root@wind ~ # cat
> >>>> /var/www/apache2/addon-modules/netams/admintool/admin/.htaccess
> >>>> Order allow,deny
> >>>> Allow from all
> >>>> <Files *.cgi>
> >>>> AuthName "NetAMS Admin Authorization"
> >>>> AuthType Basic
> >>>> Require valid-user
> >>>> </Files>
> >>>> _______________________________________________
> >>>> Sysadmins mailing list
> >>>> Sysadmins@lists.altlinux.org
> >>>> https://lists.altlinux.org/mailman/listinfo/sysadmins
> >>> mount -l покажите.
> >>>
> >
> >
> > 16:49 al@wind ~ $ mount -l
> > /dev/sda2 on / type xfs (rw)
> > /proc on /proc type proc (rw,noexec,nosuid,gid=19)
> > sysfs on /sys type sysfs (rw)
> > udevfs on /dev type tmpfs (rw)
> > devpts on /dev/pts type devpts (rw)
> > shmfs on /dev/shm type tmpfs (rw)
> > /dev/sda3 on /var type reiserfs (rw,noexec,nosuid,nodev)
>
> Опцию noexec уберите.
>
Уже понял, убрал, теперь в браузере "Authentication failed!". Диалога
авторизации не было, после авторизации в http://localhost/stat/ , в
http://localhost/stat/admintool.cgi эта авторизация оказывается не
действительна.
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Sysadmins] netams & apache2
2008-02-03 14:16 ` Алексей Синицын
@ 2008-02-03 14:14 ` Andrey Konnov
2008-02-03 15:37 ` Алексей Синицын
0 siblings, 1 reply; 15+ messages in thread
From: Andrey Konnov @ 2008-02-03 14:14 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Алексей Синицын пишет:
> 03.02.08, Andrey Konnov<ankon@altlinux.ru> написал(а):
>> Алексей Синицын пишет:
>>> 03.02.08, Andrey Konnov<ankon@altlinux.ru> написал(а):
>>>
>>>>>> Но заработало частично, http://localhost/stat перенаправляет на
>>>>>> текущий день и выводит html, но http://localhost/stat/admintool.cgi по
>>>>>> прежнему выдает ошибку 500, теперь такую:
>>>>>>
[skip]
>>> 16:49 al@wind ~ $ mount -l
>>> /dev/sda2 on / type xfs (rw)
>>> /proc on /proc type proc (rw,noexec,nosuid,gid=19)
>>> sysfs on /sys type sysfs (rw)
>>> udevfs on /dev type tmpfs (rw)
>>> devpts on /dev/pts type devpts (rw)
>>> shmfs on /dev/shm type tmpfs (rw)
>>> /dev/sda3 on /var type reiserfs (rw,noexec,nosuid,nodev)
>> Опцию noexec уберите.
>>
>
> Уже понял, убрал, теперь в браузере "Authentication failed!". Диалога
> авторизации не было, после авторизации в http://localhost/stat/ , в
> http://localhost/stat/admintool.cgi эта авторизация оказывается не
> действительна.
А что в логах?
> _______________________________________________
> Sysadmins mailing list
> Sysadmins@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sysadmins
--
Andrey Konnov
ankon at altlinux.ru
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Sysadmins] netams & apache2
2008-02-03 14:14 ` Andrey Konnov
@ 2008-02-03 15:37 ` Алексей Синицын
2008-02-03 18:35 ` Andrey Konnov
2008-02-03 18:57 ` Andrey Konnov
0 siblings, 2 replies; 15+ messages in thread
From: Алексей Синицын @ 2008-02-03 15:37 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
03.02.08, Andrey Konnov<ankon@altlinux.ru> написал(а):
> Алексей Синицын пишет:
> > 03.02.08, Andrey Konnov<ankon@altlinux.ru> написал(а):
> >> Алексей Синицын пишет:
> >>> 03.02.08, Andrey Konnov<ankon@altlinux.ru> написал(а):
> >>>
> >>>>>> Но заработало частично, http://localhost/stat перенаправляет на
> >>>>>> текущий день и выводит html, но http://localhost/stat/admintool.cgi по
> >>>>>> прежнему выдает ошибку 500, теперь такую:
> >>>>>>
>
> [skip]
>
> >>> 16:49 al@wind ~ $ mount -l
> >>> /dev/sda2 on / type xfs (rw)
> >>> /proc on /proc type proc (rw,noexec,nosuid,gid=19)
> >>> sysfs on /sys type sysfs (rw)
> >>> udevfs on /dev type tmpfs (rw)
> >>> devpts on /dev/pts type devpts (rw)
> >>> shmfs on /dev/shm type tmpfs (rw)
> >>> /dev/sda3 on /var type reiserfs (rw,noexec,nosuid,nodev)
> >> Опцию noexec уберите.
> >>
> >
> > Уже понял, убрал, теперь в браузере "Authentication failed!". Диалога
> > авторизации не было, после авторизации в http://localhost/stat/ , в
> > http://localhost/stat/admintool.cgi эта авторизация оказывается не
> > действительна.
>
> А что в логах?
>
Хотел приписать, да видимо пропустил. В логах чисто.
Заметил тут, что если не выполнить "chkconfig netams on", то надо не
забывать его запускать :) , и еще кто-то мне поправляет .htaccess
удаляя первые две строчки разрешающие доступ (может быть сам netams,
если не было выполнено с консоли телнета команды save?)
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Sysadmins] netams & apache2
2008-02-03 15:37 ` Алексей Синицын
@ 2008-02-03 18:35 ` Andrey Konnov
2008-02-03 19:09 ` Алексей Синицын
2008-02-03 18:57 ` Andrey Konnov
1 sibling, 1 reply; 15+ messages in thread
From: Andrey Konnov @ 2008-02-03 18:35 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Алексей Синицын пишет:
> 03.02.08, Andrey Konnov<ankon@altlinux.ru> написал(а):
>> Алексей Синицын пишет:
>>> 03.02.08, Andrey Konnov<ankon@altlinux.ru> написал(а):
>>>> Алексей Синицын пишет:
>>>>> 03.02.08, Andrey Konnov<ankon@altlinux.ru> написал(а):
>>>>>
>>>>>>>> Но заработало частично, http://localhost/stat перенаправляет на
>>>>>>>> текущий день и выводит html, но http://localhost/stat/admintool.cgi по
>>>>>>>> прежнему выдает ошибку 500, теперь такую:
>>>>>>>>
>> [skip]
>>
>>>>> 16:49 al@wind ~ $ mount -l
>>>>> /dev/sda2 on / type xfs (rw)
>>>>> /proc on /proc type proc (rw,noexec,nosuid,gid=19)
>>>>> sysfs on /sys type sysfs (rw)
>>>>> udevfs on /dev type tmpfs (rw)
>>>>> devpts on /dev/pts type devpts (rw)
>>>>> shmfs on /dev/shm type tmpfs (rw)
>>>>> /dev/sda3 on /var type reiserfs (rw,noexec,nosuid,nodev)
>>>> Опцию noexec уберите.
>>>>
>>> Уже понял, убрал, теперь в браузере "Authentication failed!". Диалога
>>> авторизации не было, после авторизации в http://localhost/stat/ , в
>>> http://localhost/stat/admintool.cgi эта авторизация оказывается не
>>> действительна.
>> А что в логах?
>>
>
> Хотел приписать, да видимо пропустил. В логах чисто.
>
> Заметил тут, что если не выполнить "chkconfig netams on", то надо не
> забывать его запускать :)
ага
, и еще кто-то мне поправляет .htaccess
> удаляя первые две строчки разрешающие доступ (может быть сам netams,
> если не было выполнено с консоли телнета команды save?)
Как-то странно. Хотя тут наверное не подскажу (с netams я особо не работал)
> _______________________________________________
> Sysadmins mailing list
> Sysadmins@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sysadmins
--
Andrey Konnov
ankon at altlinux.ru
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Sysadmins] netams & apache2
2008-02-03 18:35 ` Andrey Konnov
@ 2008-02-03 19:09 ` Алексей Синицын
2008-02-03 19:21 ` Andrey Konnov
0 siblings, 1 reply; 15+ messages in thread
From: Алексей Синицын @ 2008-02-03 19:09 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
03.02.08, Andrey Konnov<ankon@altlinux.ru> написал(а):
> >>>> Опцию noexec уберите.
> >>>>
> >>> Уже понял, убрал, теперь в браузере "Authentication failed!". Диалога
> >>> авторизации не было, после авторизации в http://localhost/stat/ , в
> >>> http://localhost/stat/admintool.cgi эта авторизация оказывается не
> >>> действительна.
> >> А что в логах?
> >>
> >
> > Хотел приписать, да видимо пропустил. В логах чисто.
> >
> > Заметил тут, что если не выполнить "chkconfig netams on", то надо не
> > забывать его запускать :)
>
> ага
>
Не включил его при старте потому-что это не рабочая машина и пока
тренировка "на кошечках". И несколько путался когда не работало по
разным причинам. :)
Но доступа к административной части пока нет (и в логах апача чисто),
возможно это уже не .htaccess а конфиг самого netams, попробую
поискать.
> , и еще кто-то мне поправляет .htaccess
> > удаляя первые две строчки разрешающие доступ (может быть сам netams,
> > если не было выполнено с консоли телнета команды save?)
>
> Как-то странно. Хотя тут наверное не подскажу (с netams я особо не работал)
>
Думаю здесь все в порядке, по крайней мере это похоже на то, что
написано в документации :)
А про .htaccess там сказано следующее:
<<Также необходимо настроить доступ к программе путём редактирования
файлов .htaccess. По-умолчанию файлы .htaccess настроены не до конца и
доступ будет отвергаться из-за невозможности выполнить
аутентификацию.>>
Но что именно писать - это типа квест :) , кто не знает тому не
следует пользоваться netams (что, в общем, логично по своему:).
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Sysadmins] netams & apache2
2008-02-03 19:09 ` Алексей Синицын
@ 2008-02-03 19:21 ` Andrey Konnov
0 siblings, 0 replies; 15+ messages in thread
From: Andrey Konnov @ 2008-02-03 19:21 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Алексей Синицын пишет:
> 03.02.08, Andrey Konnov<ankon@altlinux.ru> написал(а):
>
>>>>>> Опцию noexec уберите.
>>>>>>
>>>>> Уже понял, убрал, теперь в браузере "Authentication failed!". Диалога
>>>>> авторизации не было, после авторизации в http://localhost/stat/ , в
>>>>> http://localhost/stat/admintool.cgi эта авторизация оказывается не
>>>>> действительна.
>>>> А что в логах?
>>>>
>>> Хотел приписать, да видимо пропустил. В логах чисто.
>>>
>>> Заметил тут, что если не выполнить "chkconfig netams on", то надо не
>>> забывать его запускать :)
>> ага
>>
>
> Не включил его при старте потому-что это не рабочая машина и пока
> тренировка "на кошечках". И несколько путался когда не работало по
> разным причинам. :)
>
> Но доступа к административной части пока нет (и в логах апача чисто),
> возможно это уже не .htaccess а конфиг самого netams, попробую
> поискать.
>
>> , и еще кто-то мне поправляет .htaccess
>>> удаляя первые две строчки разрешающие доступ (может быть сам netams,
>>> если не было выполнено с консоли телнета команды save?)
>> Как-то странно. Хотя тут наверное не подскажу (с netams я особо не работал)
>>
>
> Думаю здесь все в порядке, по крайней мере это похоже на то, что
> написано в документации :)
>
> А про .htaccess там сказано следующее:
> <<Также необходимо настроить доступ к программе путём редактирования
> файлов .htaccess. По-умолчанию файлы .htaccess настроены не до конца и
> доступ будет отвергаться из-за невозможности выполнить
> аутентификацию.>>
Тогда надо копать в этом направлении. Возможно кто-то еще, кто netams
использует, сможет подсказать.
> Но что именно писать - это типа квест :) , кто не знает тому не
> следует пользоваться netams (что, в общем, логично по своему:).
Я бы не сказал что это логично...
> _______________________________________________
> Sysadmins mailing list
> Sysadmins@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sysadmins
--
Andrey Konnov
ankon at altlinux.ru
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Sysadmins] netams & apache2
2008-02-03 15:37 ` Алексей Синицын
2008-02-03 18:35 ` Andrey Konnov
@ 2008-02-03 18:57 ` Andrey Konnov
2008-02-03 19:11 ` Алексей Синицын
1 sibling, 1 reply; 15+ messages in thread
From: Andrey Konnov @ 2008-02-03 18:57 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
Алексей Синицын пишет:
> 03.02.08, Andrey Konnov<ankon@altlinux.ru> написал(а):
>> Алексей Синицын пишет:
>>> 03.02.08, Andrey Konnov<ankon@altlinux.ru> написал(а):
>>>> Алексей Синицын пишет:
>>>>> 03.02.08, Andrey Konnov<ankon@altlinux.ru> написал(а):
>>>>>
>>>>>>>> Но заработало частично, http://localhost/stat перенаправляет на
>>>>>>>> текущий день и выводит html, но http://localhost/stat/admintool.cgi по
>>>>>>>> прежнему выдает ошибку 500, теперь такую:
>>>>>>>>
>> [skip]
>>
>>>>> 16:49 al@wind ~ $ mount -l
>>>>> /dev/sda2 on / type xfs (rw)
>>>>> /proc on /proc type proc (rw,noexec,nosuid,gid=19)
>>>>> sysfs on /sys type sysfs (rw)
>>>>> udevfs on /dev type tmpfs (rw)
>>>>> devpts on /dev/pts type devpts (rw)
>>>>> shmfs on /dev/shm type tmpfs (rw)
>>>>> /dev/sda3 on /var type reiserfs (rw,noexec,nosuid,nodev)
>>>> Опцию noexec уберите.
>>>>
>>> Уже понял, убрал, теперь в браузере "Authentication failed!". Диалога
>>> авторизации не было, после авторизации в http://localhost/stat/ , в
>>> http://localhost/stat/admintool.cgi эта авторизация оказывается не
>>> действительна.
>> А что в логах?
>>
>
> Хотел приписать, да видимо пропустил. В логах чисто.
Покажите httpd2 -M на всякий случай.
>
> Заметил тут, что если не выполнить "chkconfig netams on", то надо не
> забывать его запускать :) , и еще кто-то мне поправляет .htaccess
> удаляя первые две строчки разрешающие доступ (может быть сам netams,
> если не было выполнено с консоли телнета команды save?)
> _______________________________________________
> Sysadmins mailing list
> Sysadmins@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sysadmins
--
Andrey Konnov
ankon at altlinux.ru
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: [Sysadmins] netams & apache2
2008-02-03 18:57 ` Andrey Konnov
@ 2008-02-03 19:11 ` Алексей Синицын
0 siblings, 0 replies; 15+ messages in thread
From: Алексей Синицын @ 2008-02-03 19:11 UTC (permalink / raw)
To: ALT Linux sysadmin discuss
03.02.08, Andrey Konnov<ankon@altlinux.ru> написал(а):
> >>> Уже понял, убрал, теперь в браузере "Authentication failed!". Диалога
> >>> авторизации не было, после авторизации в http://localhost/stat/ , в
> >>> http://localhost/stat/admintool.cgi эта авторизация оказывается не
> >>> действительна.
> >> А что в логах?
> >>
> >
> > Хотел приписать, да видимо пропустил. В логах чисто.
>
> Покажите httpd2 -M на всякий случай.
>
22:09 root@wind ~ # httpd2 -M
Loaded Modules:
core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
alias_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_owner_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
charset_lite_module (shared)
dir_module (shared)
include_module (shared)
log_config_module (shared)
logio_module (shared)
mime_module (shared)
negotiation_module (shared)
Syntax OK
22:09 root@wind ~ #
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2008-02-03 19:21 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-03 7:41 [Sysadmins] netams & apache2 Алексей Синицын
2008-02-03 10:38 ` Andrey Konnov
2008-02-03 13:31 ` Алексей Синицын
2008-02-03 13:38 ` Andrey Konnov
2008-02-03 13:40 ` Andrey Konnov
2008-02-03 13:51 ` Алексей Синицын
2008-02-03 13:59 ` Andrey Konnov
2008-02-03 14:16 ` Алексей Синицын
2008-02-03 14:14 ` Andrey Konnov
2008-02-03 15:37 ` Алексей Синицын
2008-02-03 18:35 ` Andrey Konnov
2008-02-03 19:09 ` Алексей Синицын
2008-02-03 19:21 ` Andrey Konnov
2008-02-03 18:57 ` Andrey Konnov
2008-02-03 19:11 ` Алексей Синицын
ALT Linux sysadmins discussion
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
public-inbox-index sysadmins
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sysadmins
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git