Hi guys, I re-install the host from scratch with Opensuse 13.2.
I recompiled Rivet with the basic options: --with-aspx=/usr/bin/aspx2 --prefix=/usr/local The configure output is: checking for tclsh... /usr/bin/tclsh8.6 configure: we are building Rivet with Tcl 8.6.3 checking mod_rivet core... apache-2 checking for Apache base... /usr/local/apache2 checking for Apache apxs... /usr/bin/apxs2 checking for Apache apr... checking for apr-1-config... /usr/bin/apr-1-config /usr/bin/apr-1-config checking for Apache apu... 1.5.3 apu-1-config checking for Rivet tcl library target... /usr/local/apache2/lib/rivet2.2.4 checking whether rivet version is printed in Apache signature... no, Rivet version will be hidden checking where Rivet will save uploads... /tmp checking whether Rivet has to honor HEAD requests... no, Rivet will shunt HEAD requests checking whether Rivet will create an interpreter for each virtual host... no checking maximum size of a POST... unlimited size checking whether files are uploaded to Tcl variables... yes checking if ::rivet namespace will be automatically imported for compatibility... yes checking code for request handling... request checking for Rivet core commands code... rivetcmds checking for Rivet channel code path... channel checking Major version... 2 checking Minor version... 2 checking Point version... 4 configure: Rivet package version is 2.2 configure: forcing Rivet to export commands from ::rivet namespace Rivet works great, pages are generated normally. But I can't create a log file or write an upload files into the local file system. The web server forked https as wwwrun as usual. There is nothing I can think of preventing the interpreter to write to the local file system accroding to the user rights. Any hints? Thank you. Brice. On Tue, Feb 9, 2016 at 5:04 PM, Brice Hamon <[email protected]> wrote: > Hi guys, > > I am upgrading the OS of a web server machine from OpenSuse 11.3 to 13.2. > > I installed the OS plain vanilla, and used the OpenSuse Rivet 2.2.4 > package installation (thanks Harald). > > I reconfigured the web server and I am now facing two strange related > issues. > > 1) I use a RivetServerConf ServerInitScript file which inits a bunch of DB > connections. It is also suppose to generate a /tmp log file. But nothing > get's generated. No file, no error in apache. I just get the apache log: > > [Tue Feb 09 16:32:48.027413 2016] [mpm_prefork:notice] [pid 1801] AH00163: > Apache/2.4.10 (Linux/SUSE) OpenSSL/1.0.1k-fips Rivet configured -- resuming > normal operations > [Tue Feb 09 16:32:48.027704 2016] [core:notice] [pid 1801] AH00094: > Command line: '/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf -D SSL > -D SYSTEMD -D FOREGROUND' > > When I run the same script manually in a tclsh as root, the file gets > created no problem. > > 2) The river module loads and runs fine, but from inside a rivet page, I > can't create a debug log file under /tmp. I am getting a permission denied. > It used to work fine on Rivet 2.2.3. > > > So it seems to be a right problem more than anything but I was wondering > if someone had that problem before. > > Thank you. > Brice. > > > This email has been sent from a virus-free computer protected by Avast. > www.avast.com <https://www.avast.com/sig-email> > <#1365290567_DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2> >
