Re: problems setting up mason in CentOS 6

Jonathan Swartz <[email protected]> Wed, 6 Jan 2016 06:09:33 -0800
Newsgroups gmane.comp.web.mason.user
Message-ID <[email protected]>
That is strange. What happens if you just create the obj directory manually?

On Jan 5, 2016, at 9:53 PM, Richard Welty <[email protected]> wrote:

> On 1/6/16 12:26 AM, Adam Sj=F8gren wrote:
>> Richard writes:
>> =

>>> i am using .mhtml for the components, but the exposed web pages
>>> are all .html and i want mason to process them.
>> [...]
>> =

>>>    <LocationMatch "\.m+html$">
>> Don't you want "\.m?html$" here?
>> =

>> "m+" means "one or more 'm's". I think you want "m?" meaning "zero or
>> one 'm's".
> yeah dumb mistake. spotted it a couple of minutes ago, fixed it and have
> moved on.
> =

> now getting an internal server error. saw some selinux issues, ran
> audit2allow and
> cleaned that up, but still getting the internal server error. apache log
> says it's a
> permissions problem with mason-data but i don't see the issue and i
> don't see any
> new selinux messages in audit.log
> =

> ls -ld /web/na-motor/mason-data/
> drwxr-xr-x. 2 apache apache 4096 Jan  6 00:51 /web/na-motor/mason-data/
> =

> [Wed Jan 06 00:51:31 2016] [error] [client 104.236.140.111] Cannot
> create directory '/web/na-motor/mason-data/obj' (mkdir
> /web/na-motor/mason-data/obj: Permission denied at
> /usr/share/perl5/HTML/Mason/Interp.pm line 301.\n) for user 'apache',
> group 'apache'. Perhaps you need to create or set permissions on your
> data_dir ('/web/na-motor/mason-data'). \nStack:\n =

> [/usr/share/perl5/HTML/Mason/Interp.pm:318]\n =

> [/usr/share/perl5/HTML/Mason/Interp.pm:222]\n =

> [/usr/share/perl5/HTML/Mason/Interp.pm:169]\n =

> [/usr/share/perl5/HTML/Mason/Interp.pm:155]\n =

> [/usr/share/perl5/Class/Container.pm:329]\n =

> [/usr/share/perl5/Class/Container.pm:53]\n =

> [/usr/share/perl5/HTML/Mason/ApacheHandler.pm:632]\n =

> [/usr/share/perl5/HTML/Mason/ApacheHandler.pm:411]\n  [(eval 35):6]\n =

> [-e:0]\n
> =

> -- =

> [email protected]
> Averill Park Networking - GIS & IT Consulting
> OpenStreetMap - PostgreSQL - Linux
> Java - Web Applications - Search
> =

> =

> -------------------------------------------------------------------------=
-----
> _______________________________________________
> Mason-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mason-users


---------------------------------------------------------------------------=
---