Open GoogleCodeExporter opened 9 years ago
Hi
There must be something wrong with your server configuration.
Can you please give use the errors you get in the apache error.log file?
Please check each info you write there.
Something seems to not be managed by the tool, so if we could found what, I
could improve the scripts.
Nils
Original comment by nils.cpa...@gmail.com
on 21 Jul 2011 at 8:54
I'm having the same problem, no error logging, just the log entry that the
install_ajax.php script was initiated.
192.168.2.25 - - [05/Jan/2012:11:14:10 +0100] "POST
/teampass/www/install/install_ajax.php HTTP/1.1" 500 427
"http://192.168.2.1/teampass/www/install/install.php" "Mozilla/5.0 (Macintosh;
Intel Mac OS X 10.7; rv:8.0.1) Gecko/20100101 Firefox/8.0.1"
anyone found a solution to continue my installation yet?
flip
Original comment by Fliph...@gmail.com
on 5 Jan 2012 at 10:20
I'm also seeing the same issue.
Fedora 15
httpd-2.2.21
php-mcrypt-5.3.8-3
php-5.3.8-3
I've tried TeamPass 2.0, 2.1, and for kicks I did the 2.1.1 patch on another
fresh 2.1.
It's doing a post and returning with this 500 error:
127.0.0.1 - - [10/Jan/2012:13:49:06 -0500] "POST
/teampass/install/install_ajax.php HTTP/1.1" 500 -
"http://localhost/teampass/install/install.php" "Mozilla/5.0 (X11; Linux
x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1"
Nothing's being written to the apache error_log as well.
Here's a strace of an apache worker from the POST request:
13:58:05 accept4(4,
{sa_family=AF_INET6, sin6_port=htons(54502), inet_pton(AF_INET6,
"::ffff:127.0.0.1", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28],
SOCK_CLOEXEC) = 10 <18.046739>
13:58:23 getsockname(10, {sa_family=AF_INET6, sin6_port=htons(80),
inet_pton(AF_INET6, "::ffff:127.0.0.1", &sin6_addr), sin6_flowinfo=0,
sin6_scope_id=0}, [28]) = 0 <0.000016>
13:58:23 fcntl(10, F_GETFL) = 0x2 (flags O_RDWR) <0.000040>
13:58:23 fcntl(10, F_SETFL, O_RDWR|O_NONBLOCK) = 0 <0.000012>
13:58:23 read(10, "POST /teampass/install/install_ajax.php HTTP/1.1\r\nHost:
localhost\r\nUser-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1)
Gecko/20100101 Firefox/7.0.1\r\nAccept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\r\nAccept-Langua
ge: en-us,en;q=0.5\r\nAccept-Encoding: gzip, deflate\r\nAccept-Charset:
ISO-8859-1,utf-8;q=0.7,*;q=0.7\r\nConnection: keep-alive\r\nContent-Type:
application/x-www-form-urlencoded; charset=utf-8\r\nReferer:
http://localhost/teampass/install/install.php\r\nContent-Length: 99\r\nCookie:
user_language=english; PHPSESSID=5n8crtb4r6vsveq7hto2h1h8h0\r\nPragma:
no-cache\r\nCache-Control:
no-cache\r\n\r\ntype=step2&db_host=localhost&db_login=teampass&db_password=T4oMT
z09PT2fYd16SOKUnw==&db_bdd=teampass", 8000) = 714 <0.000026>
13:58:23 stat("/var/www/html/teampass/install/install_ajax.php",
{st_mode=S_IFREG|0777, st_size=29971, ...}) = 0 <0.000024>
13:58:23 setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={60, 0}}, NULL) =
0 <0.000016>
13:58:23 rt_sigaction(SIGPROF, {0x7f5be5482620, [PROF], SA_RESTORER|SA_RESTART,
0x7f5bee099350}, {0x7f5be5482620, [PROF], SA_RESTORER|SA_RESTART,
0x7f5bee099350}, 8) = 0 <0.000016>
13:58:23 rt_sigprocmask(SIG_UNBLOCK, [PROF], NULL, 8) = 0 <0.000014>
13:58:23 getcwd("/", 4095) = 2 <0.000021>
13:58:23 chdir("/var/www/html/teampass/install") = 0 <0.000021>
13:58:23 setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={30, 0}}, NULL) =
0 <0.000016>
13:58:23 open("/var/www/html/teampass/install/install_ajax.php", O_RDONLY) = 11
<0.000025>
13:58:23 fstat(11, {st_mode=S_IFREG|0777, st_size=29971, ...}) = 0 <0.000016>
13:58:23 fstat(11, {st_mode=S_IFREG|0777, st_size=29971, ...}) = 0 <0.000013>
13:58:23 fstat(11, {st_mode=S_IFREG|0777, st_size=29971, ...}) = 0 <0.000013>
13:58:23 mmap(NULL, 29971, PROT_READ, MAP_SHARED, 11, 0) = 0x7f5befc16000
<0.000022>
13:58:23 munmap(0x7f5befc16000, 29971) = 0 <0.000032>
13:58:23 close(11) = 0 <0.000026>
13:58:23 open("/var/lib/php/session/sess_5n8crtb4r6vsveq7hto2h1h8h0",
O_RDWR|O_CREAT, 0600) = 11 <0.000049>
13:58:23 flock(11, LOCK_EX) = 0 <0.000016>
13:58:23 fcntl(11, F_SETFD, FD_CLOEXEC) = 0 <0.000015>
13:58:23 fstat(11, {st_mode=S_IFREG|0600, st_size=156, ...}) = 0 <0.000013>
13:58:23 pread(11,
"CPM|i:1;abspath|s:22:\"/var/www/html/teampass\";root_path|s:22:\"/var/www/html/
teampass\";url_path|s:25:\"http://localhost/teampass\";user_language|s:7:\"engli
sh\";", 156, 0) = 156 <0.000034>
13:58:23 getcwd("/var/www/html/teampass/install", 4096) = 31 <0.000019>
13:58:23
lstat("/var/www/html/teampass/install/../includes/libraries/crypt/aes.class.php"
, {st_mode=S_IFREG|0777, st_size=7400, ...}) = 0 <0.000022>
13:58:23 lstat("/var/www/html/teampass/install/../includes/libraries/crypt",
{st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0 <0.000018>
13:58:23 lstat("/var/www/html/teampass/install/../includes/libraries",
{st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0 <0.000018>
13:58:23 lstat("/var/www/html/teampass/includes/libraries/crypt/aes.class.php",
{st_mode=S_IFREG|0777, st_size=7400, ...}) = 0 <0.000019>
13:58:23 lstat("/var/www/html/teampass/includes/libraries/crypt",
{st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0 <0.000017>
13:58:23 lstat("/var/www/html/teampass/includes/libraries",
{st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0 <0.000019>
13:58:23 open("/var/www/html/teampass/includes/libraries/crypt/aes.class.php",
O_RDONLY) = 12 <0.000021>
13:58:23 fstat(12, {st_mode=S_IFREG|0777, st_size=7400, ...}) = 0 <0.000015>
13:58:23 fstat(12, {st_mode=S_IFREG|0777, st_size=7400, ...}) = 0 <0.000014>
13:58:23 fstat(12, {st_mode=S_IFREG|0777, st_size=7400, ...}) = 0 <0.000012>
13:58:23 mmap(NULL, 7400, PROT_READ, MAP_SHARED, 12, 0) = 0x7f5befc1c000
<0.000017>
13:58:23 munmap(0x7f5befc1c000, 7400) = 0 <0.000027>
13:58:23 close(12) = 0 <0.000013>
13:58:23 getcwd("/var/www/html/teampass/install", 4096) = 31 <0.000013>
13:58:23
lstat("/var/www/html/teampass/install/../includes/libraries/crypt/aesctr.class.p
hp", {st_mode=S_IFREG|0777, st_size=7598, ...}) = 0 <0.000017>
13:58:23
lstat("/var/www/html/teampass/includes/libraries/crypt/aesctr.class.php",
{st_mode=S_IFREG|0777, st_size=7598, ...}) = 0 <0.000014>
13:58:23
open("/var/www/html/teampass/includes/libraries/crypt/aesctr.class.php",
O_RDONLY) = 12 <0.000017>
13:58:23 fstat(12, {st_mode=S_IFREG|0777, st_size=7598, ...}) = 0 <0.000010>
13:58:23 fstat(12, {st_mode=S_IFREG|0777, st_size=7598, ...}) = 0 <0.000012>
13:58:23 fstat(12, {st_mode=S_IFREG|0777, st_size=7598, ...}) = 0 <0.000012>
13:58:23 mmap(NULL, 7598, PROT_READ, MAP_SHARED, 12, 0) = 0x7f5befc1c000
<0.000015>
13:58:23 munmap(0x7f5befc1c000, 7598) = 0 <0.000016>
13:58:23 close(12) = 0 <0.000013>
13:58:23 chdir("/") = 0 <0.000064>
13:58:23 pwrite(11,
"CPM|i:1;abspath|s:22:\"/var/www/html/teampass\";root_path|s:22:\"/var/www/html/
teampass\";url_path|s:25:\"http://localhost/teampass\";user_language|s:7:\"engli
sh\";", 156, 0) = 156 <0.000032>
13:58:23 close(11) = 0 <0.000015>
13:58:23 setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={0, 0}}, NULL) =
0 <0.000013>
13:58:23 writev(10, [{"HTTP/1.0 500 Internal Server Error\r\nDate: Tue, 10 Jan
2012 18:58:23 GMT\r\nServer: Apache/2.2.21 (Fedora)\r\nX-Powered-By:
PHP/5.3.8\r\nExpires: Thu, 19 Nov 1981 08:52:00 GMT\r\nCache-Control: no-store,
no-cache, must-revalidate, post-check=0, pre-check=0\r\nPragma:
no-cache\r\nContent-Length: 0\r\nConnection: close\r\nContent-Type: text/html;
charset=utf-8\r\n\r\n", 347}], 1) = 347 <0.000095>
13:58:23 write(7, "127.0.0.1 - - [10/Jan/2012:13:58:23 -0500] \"POST
/teampass/install/install_ajax.php HTTP/1.1\" 500 -
\"http://localhost/teampass/install/install.php\" \"Mozilla/5.0 (X11; Linux
x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1\"\n", 221) = 221 <0.000033>
13:58:23 shutdown(10, SHUT_WR) = 0 <0.000065>
13:58:23 poll([{fd=10, events=POLLIN}], 1, 2000) = 1 ([{fd=10,
revents=POLLIN|POLLHUP}]) <0.000015>
13:58:23 read(10, "", 512) = 0 <0.000015>
13:58:23 close(10) = 0 <0.000025>
13:58:23 read(5, 0x7fff59b8e9df, 1) = -1 EAGAIN (Resource temporarily
unavailable) <0.000013>
13:58:23 accept4(4,
Original comment by Frank.D...@gmail.com
on 10 Jan 2012 at 7:05
Original issue reported on code.google.com by
liorsom...@gmail.com
on 20 Jul 2011 at 11:37