I solved the problem! I used a wrong port for the web server. Before I used 8080, but it is supposed to be 80.
Strangely, the “GET” requests all worked under 8080, but the “POST” requests didn’t. If you have the reasons about this, please share with me. Thanks for your helps and time. Pengcheng > On Jun 26, 2015, at 9:56 AM, Nooshin Mirzadeh <nooshin.mirza...@epfl.ch> > wrote: > > Dear Pengcheng, > > Can you please change the access permission of the files too? > You can do it by the following command: > > chmod -R 777 /tmp/http_sessions > > I think it should solve the problem. > > Regards, > Nooshin > > On Fri, Jun 26, 2015 at 6:48 PM, pli <p...@cs.rochester.edu > <mailto:p...@cs.rochester.edu>> wrote: > Dear Nooshin, > > I checked the permission of the /tmp/http_sessions directory. The permission > is correct, which is > drwxrwxrwx 2 pli people 4096 Jun 23 13:31 /tmp/http_sessions > > But the files in this directory has different permissions, which is > -rw------- 1 nobody nobody 0 Jun 23 00:59 > sess_8c6d162bf964ea3391bc3a06f2f98ae9 > -rw------- 1 nobody nobody 0 Jun 23 01:17 > sess_9e510569a2bde633b4c399df47600c2a > -rw------- 1 nobody nobody 0 Jun 23 01:27 > sess_7a25f4e3959c904dc1d40d1507bb4966 > > Do you have other suggestions for the problem? > > Thanks, > Pengcheng > > > > 在 2015-06-25 02:22,Nooshin Mirzadeh 写道: > Dear Pengcheng, > > I think this error is related to access permission. Can you please > check the step 8 in the "Installing PHP" section? (The access > permission to the /tmp/http_sessions). > > 8. Make the tmp/http_sessions directory which is specified by php.ini > to store PHP sessions and give read/write permission to everyone: > > mkdir -p /tmp/http_sessions > chmod 777 /tmp/http_sessions > > Regards, > Nooshin > > On Thu, Jun 25, 2015 at 5:15 AM, Pengcheng Li <p...@cs.rochester.edu > <mailto:p...@cs.rochester.edu>> > wrote: > > Dear Alexandros, > > May I ask that is the mailing list of cloudsuite still maintained? > I posted a thread to ask > the question two days ago. I haven’t heard from any persons and > haven’t received any threads > regarding anything else. > > Thanks, > - Pengcheng > > On Jun 23, 2015, at 2:24 PM, pli <p...@cs.rochester.edu > <mailto:p...@cs.rochester.edu>> wrote: > > Hi there, > > May I ask a question about the web severing benchmark? > > I strictly respected the instructions shown in the CloudSuite > benchmark > webpage. Now the whole environment has been setup. > But I always have an issue like the following. The same issue > happens also > for "doAddEvent" transactions. > > I used the Faban command line tools to test the benchmark. It is, > ./bin/fabancli submit OlioDriver default ./run.xml > > The run.xml is configured exactly like what the "Running the > benchmark" in the webpage > says. If needed, I will paste it in the email thread. > > 23:22:23:WARNING:UIDriverAgent[0].5.doAddPerson: Multipart Post > did not work, returned status code: 404 > java.io.IOException: Multipart Post did not work, returned status > code: 404 > at org.apache.olio.workload.driver.UIDriver.doAddPerson (596) > at sun.reflect.NativeMethodAccessorImpl.invoke0 (null) > at sun.reflect.NativeMethodAccessorImpl.invoke (39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke (25) > at java.lang.reflect.Method.invoke (597) > at com.sun.faban.driver.engine.TimeThread.doRun (169) > at com.sun.faban.driver.engine.AgentThread.run (202) > > I manually tested the web serving benchmark with the steps given > by the Olio benchmark. > > https://urldefense.proofpoint.com/v2/url?u=http-3A__svn.apache.org_repos_asf_incubator_olio_docs_php-5Fsetup.html&d=AwICAg&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=URNx93oZUKClkw67__wKyT0riNmKMq5966ML77bMvbs&m=u6GCCoOhzUjPNwA8fTw0ihKPqKwiWWv27ooQyVgqS2I&s=ImQNJ3bmLaBBXoSb6HBWmH47JR-wKVflRzlt7mgv6ls&e= > > <https://urldefense.proofpoint.com/v2/url?u=http-3A__svn.apache.org_repos_asf_incubator_olio_docs_php-5Fsetup.html&d=AwICAg&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=URNx93oZUKClkw67__wKyT0riNmKMq5966ML77bMvbs&m=u6GCCoOhzUjPNwA8fTw0ihKPqKwiWWv27ooQyVgqS2I&s=ImQNJ3bmLaBBXoSb6HBWmH47JR-wKVflRzlt7mgv6ls&e=> > [1] > > including: > 2.Check the home page (HomePage) . > 3.Click on an event (EventDetail). Make sure the whole page looks > OK. > 4.Click on an attendee (PersonDetail) to see a person's profile. > 5.Go back to the home page and click on a tag in the tag cloud. > Choose a big tag and check that we have good results and images get > loaded OK. > 6.Click on the sign up tab. Fill in the form and create a user. > 7.Login using your new login name you just created. The top right > of the screen should show that you're logged on. > 8.Select an event, go back to the EventDetail page but this time > as a logged on user. > 9.Click on the add event tab and add an event. > > All the above events are successful. But when I run it from the > command line, it suffers > the above issues. > > Do you have any solutions on it? > > Thanks, > Pengcheng > > > > Links: > ------ > [1] > https://urldefense.proofpoint.com/v2/url?u=http-3A__svn.apache.org_repos_asf_incubator_olio_docs_php-5Fsetup.html&d=AwICAg&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=URNx93oZUKClkw67__wKyT0riNmKMq5966ML77bMvbs&m=u6GCCoOhzUjPNwA8fTw0ihKPqKwiWWv27ooQyVgqS2I&s=ImQNJ3bmLaBBXoSb6HBWmH47JR-wKVflRzlt7mgv6ls&e= > > <https://urldefense.proofpoint.com/v2/url?u=http-3A__svn.apache.org_repos_asf_incubator_olio_docs_php-5Fsetup.html&d=AwICAg&c=kbmfwr1Yojg42sGEpaQh5ofMHBeTl9EI2eaqQZhHbOU&r=URNx93oZUKClkw67__wKyT0riNmKMq5966ML77bMvbs&m=u6GCCoOhzUjPNwA8fTw0ihKPqKwiWWv27ooQyVgqS2I&s=ImQNJ3bmLaBBXoSb6HBWmH47JR-wKVflRzlt7mgv6ls&e=> > >