[freeside] can't configure after installation.

Randall Lucas rlucas at tercent.net
Wed Jul 16 13:11:19 PDT 2003


Hi Rick,

I could be wrong but I don't think the Apache User and Group directives  
can be Virtual host-specific (they act on the actual running child  
processes of apache).  You need to have an actual separate instance of  
apache running.  See apache docs.  Don't run this on the same box as  
another apache, unless you set it to listen on a different port and use  
a different pid and scoreboard file etc.  Again -- see apache docs.

In other words, unless ps -auxwww | grep apache (or http) shows some  
apache children running as user freeside, you're not going to get  
anywhere.

Randall

On Wednesday, July 16, 2003, at 02:27 PM, Rick Bragg wrote:

> Thanks Randall, That seemed to get me a bit further! It was a  
> permission problem with the global-asa
>
> Now I am running into this in my apache error log:
>
> ------------
> [Wed Jul 16 14:05:46 2003] [error] [asp] [20465] [error] Not running  
> uid freeside! at /usr/local/etc/freeside/asp-global//global.asa line  
> 62 <--> , /usr/lib/perl5/site_perl/5.6.1/Apache/ASP.pm line 1488
> [Wed Jul 16 14:05:46 2003] [error] [asp] [20465] [error] Can't call  
> method "can" on an undefined value at  
> /usr/local/etc/freeside/asp-global//global.asa line 70. <--> ,  
> /usr/lib/perl5/site_perl/5.6.1/Apache/ASP.
> pm line 1488
> ------------
>
> here is my virtual host entry: (I will use SSL after I get this  
> working)
> ------------
> <VirtualHost 192.168.0.12:80>
>     User freeside
>     Group freeside
>     ServerAdmin webmaster at gmnet.net
>     DocumentRoot /var/www/freeside.gmnet.net/htdocs
>     ServerName freeside.gmnet.net
>     ErrorLog /var/www/freeside.gmnet.net/logs/error_log
>     CustomLog /var/www/freeside.gmnet.net/logs/access_log common
>     PerlModule Apache::ASP
>     <Directory /var/www/freeside.gmnet.net/htdocs/freeside-asp>
>         <Files ~ (\.cgi)>
>             AddHandler perl-script .cgi
>             PerlHandler Apache::ASP
>         </Files>
>         <Perl>
>             $MLDBM::RemoveTaint = 1;
>         </Perl>
>         PerlSetVar Global /usr/local/etc/freeside/asp-global/
>         PerlSetVar Debug 2
>     </Directory>
>     <Directory /var/www/freeside.gmnet.net/htdocs/freeside-asp>
>         AuthName Freeside
>         AuthType Basic
>         AuthUserFile /usr/local/etc/freeside/htpasswd
>         require valid-user
>     </Directory>
> </VirtualHost>
> ---------------------------
>
> All my files in /usr/etc/freeside/ are owned by freeside.freeside As  
> well as all the files in the virtual host directory.  Also, apache is  
> in the freeside group. Maybe I need to put freeside in the apache  
> group?
>
> Thanks again for your help.
> Again does anyone have any suggestions?
>
> Rick
>
>
>
>
> Randall Lucas wrote:
>> Hi Rick,
>> See http://www.sisd.com/freeside/list-archive/msg02726.html
>> http://www.mail-archive.com/asp@perl.apache.org/msg00687.html
>> Are  you certain your asp-global dir exists?
>>> [Wed Jul 16 10:24:23 2003] [error] can't open file  
>>> /usr/local/etc/freeside/asp-global//.state/server/internal.lock: No  
>>> such file or directory at /usr/lib/
>> Best,
>> Randall
>> On Wednesday, July 16, 2003, at 10:31 AM, Rick Bragg wrote:
>>> When I click on "Configuration" I get a server error. looking at the  
>>> apache error logs, this is what I get:
>>>
>>> ----------------
>>> [Wed Jul 16 10:24:23 2003] [error] can't open file  
>>> /usr/local/etc/freeside/asp-global//.state/server/internal.lock: No  
>>> such file or directory at  
>>> /usr/lib/perl5/site_perl/5.6.1/MLDBM/Sync.pm line 239.
>>>         MLDBM::Sync::Lock('MLDBM::Sync=HASH(0x8b7a470)', 1) called  
>>> at /usr/lib/perl5/site_perl/5.6.1/MLDBM/Sync.pm line 231
>>>         MLDBM::Sync::ReadLock('MLDBM::Sync=HASH(0x8b7a470)') called  
>>> at /usr/lib/perl5/site_perl/5.6.1/MLDBM/Sync.pm line 79
>>>         MLDBM::Sync::AUTOLOAD('MLDBM::Sync=HASH(0x8b7a470)',  
>>> 'application') called at  
>>> /usr/lib/perl5/site_perl/5.6.1/Apache/ASP/State.pm line 337
>>>          
>>> Apache::ASP::State::FETCH('Apache::ASP::State=HASH(0x8b786f8)',  
>>> 'application') called at  
>>> /usr/lib/perl5/site_perl/5.6.1/Apache/ASP/State.pm line 72
>>>         Apache::ASP::State::new('Apache::ASP=HASH(0x8355d24)',  
>>> 'application', 'server') called at  
>>> /usr/lib/perl5/site_perl/5.6.1/Apache/ASP/State.pm line 324
>>>         Apache::ASP::State::TIEHASH('Apache::ASP::State',  
>>> 'Apache::ASP=HASH(0x8355d24)', 'application', 'server') called at  
>>> /usr/lib/perl5/site_perl/5.6.1/Apache/ASP/Application.pm line 17
>>>         Apache::ASP::Application::new('Apache::ASP=HASH(0x8355d24)')  
>>> called at /usr/lib/perl5/site_perl/5.6.1/Apache/ASP/StateManager.pm  
>>> line 70
>>>         Apache::ASP::InitState('Apache::ASP=HASH(0x8355d24)') called  
>>> at /usr/lib/perl5/site_perl/5.6.1/Apache/ASP.pm line 398
>>>         Apache::ASP::new('Apache::ASP', 'Apache=SCALAR(0x8355c34)',  
>>> '/var/www/freeside.gmnet.net/htdocs/freeside-asp/config/config- 
>>> vi...') called at /usr/lib/perl5/site_perl/5.6.1/Apache/ASP.pm line  
>>> 169
>>>         Apache::ASP::handler('Apache=SCALAR(0x8355c34)') called at  
>>> /dev/null line 0
>>>         eval {...} called at /dev/null line 0
>>>
>>> ----------------
>>>
>>> i'm using
>>> Redhat 9, Perl 8 (no threads), Apache::ASP,
>>>
>>> The thing that sticks out in my mind it this:
>>> can't open file  
>>> /usr/local/etc/freeside/asp-global//.state/server/internal.lock: No  
>>> such file or directory
>>>
>>> Why is there two slashes and a dot after asp-global?
>>>
>>> I'm not sure what I should do next.
>>>
>>> Any suggestions?
>>>
>>> Thanks,
>>> Rick
>>>
>




More information about the freeside-users mailing list