Hi Guillaume, setting rights to 777 shows that there is a permission problem. LAM runs with the user that nginx runs. Maybe not all files were writable for user "nginx". It is a bit strange that you need to change rights in /var/tmp and /var/sess. LAM uses tmp+sess directories in its installation folder.
Best regards Roland On 08.12.2014 10:09, Guillaume Pierre wrote: > *Hi* > > I’m new to lam, and I think it’s a great idea. I’m using a virtual machin > (from > Osx Virtual Box binary) running Ubuntu 14.04.1 LTS > But I have some concerns (actually there are 3 main issues, but I’ll do 3 > different requests). > > Here is the main problem I encounter : > > I use Nginx ax a web server. It is using the user « nginx » to launch kid > processes. Here is some infos about that : > > *sudo lsof -nP -i | grep LISTEN* > nginx 2997 root 6u IPv4 134392 0t0 TCP *:80 (LISTEN) > nginx 2997 root 7u IPv4 134393 0t0 TCP *:8080 (LISTEN) > nginx 2997 root 8u IPv4 134394 0t0 TCP *:12345 (LISTEN) > nginx 2997 root 9u IPv4 134395 0t0 TCP *:34567 (LISTEN) > *nginx 2998 nginx 6u IPv4 134392 0t0 TCP *:80 (LISTEN)* > *nginx 2998 nginx 7u IPv4 134393 0t0 TCP *:8080 (LISTEN)* > *nginx 2998 nginx 8u IPv4 134394 0t0 TCP *:12345 (LISTEN)* > *nginx 2998 nginx 9u IPv4 134395 0t0 TCP *:34567 (LISTEN)* > > In the other hand, Lam is running but ONLY when everything is CHMOD 777 … > which > is not what I’m looking as you can expect. > > _First issue : if I omit to put 777 on var/sess/ and var/tmp/ , I just CANT > access anything. Here is a screenshot :_ > > > > _Second issue : if I do chmod 777 both files (var/sess/ and var/tmp/ ) I get > an > access, but many errors : _ > > > Actually, there is A LOT of « Upgrade Failed » > But, I have to say that *I can connect* to the BerkeleyDB trough LDAP. > /(I’have not been able yet to set any data… Lam give me strange alerts, and > always complain about missing element. But, as I’m a very newby with LDAP, I > dont know at this time if me or Lam is the fault. I’ll see later.)/ > > Anyway, *if I chmod 777 the whole Lam directory, every error suddenly > disappear...* > > *_Does anyone have an idea on how I can tell Lam that the nginx user, who own > Lam files, IS actually the legitim web server user?_* > > Thank you. > > *Guillaume Pierre > ***g <mailto:[email protected]>[email protected] > <mailto:[email protected]>** > > > > > > > > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Lam-public mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/lam-public >
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________ Lam-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lam-public
