Group: Member 
Post Group: Newbie
Posts: 4
Status: 
|
Sorry this has taken me so long.
The actual command is /usr/local/cpanel/3rdparty/bin/php and it has made no difference. Zikula still did not deploy properly.
I straced, and have some info, don't know if it will help...
Here's all the info I found for zikula, including a tiny bit of data just before:
Code open("/usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/iscripts.php", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0755, st_size=14764, ...}) = 0
read(3, "<?php\n\n/////////////////////////"..., 8192) = 8192
read(3, "ellaBook is a small and simple P"..., 8192) = 6572
read(3, "", 8192) = 0
read(3, "", 8192) = 0
close(3) = 0
time(NULL) = 1261817371
lstat64("/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/var/softaculous", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/var/softaculous/zikula", 0xbfb2f5f8) = -1 ENOENT (No such file or directory)
open("/var/softaculous/zikula/info.xml", O_RDONLY) = -1 ENOENT (No such file or directory)
time(NULL) = 1261817371
lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel/whostmgr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel/whostmgr/docroot", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel/whostmgr/docroot/cgi", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel/whostmgr/docroot/cgi/softaculous", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/main", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/main/functions", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/main/functions/file_functions.php", {st_mode=S_IFREG|0755, st_size=12125, ...}) = 0
stat64("/var/softaculous/zikula/", 0xbfb306a0) = -1 ENOENT (No such file or directory)
time(NULL) = 1261817371
lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel/whostmgr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel/whostmgr/docroot", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel/whostmgr/docroot/cgi", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel/whostmgr/docroot/cgi/softaculous", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/main", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/main/functions", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/main/functions/file_functions.php", {st_mode=S_IFREG|0755, st_size=12125, ...}) = 0
stat64("/var/softaculous/zikula/", 0xbfb306a0) = -1 ENOENT (No such file or directory)
rmdir("/var/softaculous/zikula") = -1 ENOENT (No such file or directory)
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x1601e8) = 26102
close(4) = 0
fstat64(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0
read(3, "a13811412c13e120\n", 8192) = 17
read(3, "", 8192) = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
close(3) = 0
waitpid(26102, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0) = 26102
time(NULL) = 1261817371
lstat64("/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/var/softaculous", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/var/softaculous/zikula.zip", {st_mode=S_IFREG|0644, st_size=39525732, ...}) = 0
open("/var/softaculous/zikula.zip", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=39525732, ...}) = 0
lseek(3, 0, SEEK_CUR) = 0
lseek(3, 0, SEEK_CUR) = 0
open("/etc/hosts", O_RDONLY) = 4
fcntl64(4, F_GETFD) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=271, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x169000
read(4, "# Do not remove the following li"..., 4096) = 271
read(4, "", 4096) = 0
close(4) = 0
skip a bunch... and then:
Code poll([{fd=4, events=POLLIN|POLLERR|POLLHUP}], 1, 60000) = 1 ([{fd=4, revents=POLLIN}])
recv(4, "S\245i[\216kJ\374lD/D\252\306Z\r&4lE\222\321R\f\364\22K\333\20'6\342"..., 8192, MSG_DONTWAIT) = 1448
write(3, "\351\364\334\216\331\355xOP\224\214\244\\\323\3625SB;n_U\325~\305\323\325\364\276\243yF"..., 672) = 672
write(3, "\263\333:\324v\251,\362\317\272\241\302U\206S\270Eq\fL\341\226\266\311-\256\351 \n", 29) = 29
write(3, "\fE\322\331\206\221t\207\27\2012\300tW\263d\337\243\"j\206J\246ZciY\226\16?J\34"..., 860) = 860
write(3, "\215\352\232\257S\366\210\266f\207}/~\25\266\213\360:y\0sh}\350{\336\371K\242\366\313\317"..., 117) = 117
write(3, "\3030\fC\317\335W\214~@|\37Y\376%\270N\33pc\2638\244\373\373e\264;\354$\301\223"..., 136) = 136
poll([{fd=4, events=POLLIN|POLLERR|POLLHUP}], 1, 60000) = 1 ([{fd=4, revents=POLLIN}])
recv(4, "\373\26\331\264\0336\3347\23\304M\220<\260?\263\311\355\2\340\22\362k\216lu\223h\354\231\34\17"..., 8192, MSG_DONTWAIT) = 1448
write(3, "\0\0\0zikula.zipt\373\3\254pM\320-\10\37\333\266m\333\266m\333\266m"..., 330) = 330
write(3, "\343\361{\377N\"\243\374^\f>\20\277\347\363x\271=\236\177L&\213\327O\214\315[\310\370\221\230"..., 444) = 444
write(3, "\273yE$O\343U^h\211\303\37\0069\2029\333\227\211\303\307\347\365\203\3325\220.6E\2505"..., 223) = 223
write(3, "[\316\364v\370\316hh7v:\355\270>*G@\215|\4\352\233=\330\203\371\255\274\2077\2U"..., 85) = 85
write(3, "\240\307\272\233\24\37\37?\224\35\372p\330\227\215\342>\355\345\360\333\324\251\251\257\231\34Y\324\371\7T"..., 170) = 170
write(3, "\206Y\345\210G\247) mI\306\345*\4\366=\\@hP\267\301,\314\256\17\201\tG#\231J"..., 178) = 178
write(3, "\343\211\371$\205Z\00437\356\337\242GI,Y\361\305\271MI|\37V/\6f\361\306\4\216f"..., 210) = 210
poll([{fd=4, events=POLLIN|POLLERR|POLLHUP}], 1, 60000) = 1 ([{fd=4, revents=POLLIN}])
recv(4, "\7v\2053\4}\354^\3\270c\263\357\256O\265+\272\266{v\255\267\363\373\254u\31)\221D\304"..., 8192, MSG_DONTWAIT) = 1448
write(3, "C\r\334\217\232\304hZ\370Zm\201\271nFF\336x\273lp@E\34\255\220\331\332\3430\0\333"..., 133) = 133
write(3, "\254pt\3026\231tS\351$\231Dc\225\264d\4\251a-vT\225U\234si\214cZ\252\251"..., 797) = 797
write(3, "\355u~\274\226\235v\343\345\334Y\270\322\274nJ\346@\227$\35607\304\356\34.K\344\277\\\241"..., 316) = 316
---snip---
Code poll([{fd=4, events=POLLIN|POLLERR|POLLHUP}], 1, 60000) = 1 ([{fd=4, revents=POLLIN}])
recv(4, "\345\245\20]5P3\4\272\267/\256[/\252\274U#+=\277\350\301\274\t@))\20\237\335["..., 8192, MSG_DONTWAIT) = 1448
write(3, "\23\216\367\5\302\311\210\360\364\231u\25\206Y'\210\242\371+\347\177\1\353:&\300\275\313q\335_5"..., 601) = 601
write(3, "\0\0\0zikula.sql\304=ks\233\310\262\337\367W\314\361\207k\373\226l\t\220"..., 457) = 457
write(3, ")\202\37\360\251\r\270\25\305\350J\203{!\370\347\252 @\371\301\266P\fS\1\220\220\23\260Q "..., 237) = 237
write(3, "\230\220\1\264\2126\202`\326\265j\362\202\232z\247\232\300\347 \354\240\232\300\32\260\204\246\351VAE"..., 59) = 59
--snip--
Code poll([{fd=4, events=POLLIN|POLLERR|POLLHUP}], 1, 60000) = 1 ([{fd=4, revents=POLLIN}])
recv(4, "2\350}\256I\300g\224\372\30\5!\2502\334\337\26\344zpc\302\vm\370^\203\300\17\202G\1"..., 8192, MSG_DONTWAIT) = 1248
write(3, "=\22\272\232WwvE\343 /\267\16E:\0\331\230\340P\4I\274N\34287\26\314X\v\200"..., 277) = 277
write(3, "\322\355\31\353`\261\31M\247[i8'\370\35k\16\262\16=\7\373\270\256\271\37\262\315\345}\27\306"..., 397) = 397
write(3, "\262mJ\262h\201\330H\375,\36Oo?\350\246\314OEV\330\366\200\330\341lTWP\325\366|"..., 95) = 95
write(3, "\0\0\264)\0\0\n", 7) = 7
write(3, "\0\0\0\0\0\0\0\1\0 \0\0\0\0\0\0\0config.phpPK\1\2\24"..., 71) = 71
write(3, "\0\0images/logo.gifPK\1\2\24\0\n", 24) = 24
write(3, "\0\0\0\0\0\310\t\3;\0\0\0\0\0\0\0\0\0\0\0\0\7\0\0\0\0\0\0\0\0\0\20"..., 61) = 61
write(3, ";1\276,\241\366\3\0\0J\f\0\0\n", 14) = 14
write(3, "\0\0\0\0\0\0\0\1\0 \0\0\0V\37\0\0import.phpPK\1\2\24"..., 110) = 110
write(3, "\0\0\0\0\0\0\0\1\0 \0\0\0O/\0\0install.jsPK\1\2\24"..., 284) = 284
write(3, "\0\0\0\0\0\0\0\0\0 \0\0\0-R\0\0zikula.zipPK\1\2\24"..., 56) = 56
poll([{fd=4, events=POLLIN|POLLERR|POLLHUP}], 1, 60000) = 1 ([{fd=4, revents=POLLIN}])
recv(4, "", 8192, MSG_DONTWAIT) = 0
write(3, "\0\0\0\0\0\0\0\1\0 \0\0\0=\372L\0zikula.sqlPK\5\6\0"..., 49) = 49
close(4) = 0
close(3) = 0
stat64("/var/softaculous/zikula.zip", {st_mode=S_IFREG|0644, st_size=44585873, ...}) = 0
time(NULL) = 1261817376
lstat64("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel", {st_mode=S_IFDIR|0711, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel/whostmgr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel/whostmgr/docroot", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel/whostmgr/docroot/cgi", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel/whostmgr/docroot/cgi/softaculous", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/main", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/main/classes", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/main/classes/pclzip.php", {st_mode=S_IFREG|0755, st_size=254403, ...}) = 0
time(NULL) = 1261817376
open("/usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/main/classes/pclzip.php", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0755, st_size=254403, ...}) = 0
open("/usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser/main/classes/pclzip.php", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0755, st_size=254403, ...}) = 0
mmap2(NULL, 254403, PROT_READ, MAP_SHARED, 4, 0) = 0x18e000
munmap(0x18e000, 254403) = 0
close(4) = 0
read(3, "<?php\r\n// ----------------------"..., 8192) = 8192
read(3, "_zipname)\r\n {\r\n //--(MAGIC-P"..., 8192) = 8192
read(3, " }\r\n\r\n // ----- Call the crea"..., 8192) = 8192
read(3, " // ----------------------------"..., 8192) = 8192
read(3, "$v_options[PCLZIP_OPT_PATH];\r\n "..., 8192) = 8192
read(3, "-- Look for the optional second "..., 8192) = 8192
read(3, "ing the content of an other one."..., 8192) = 8192
read(3, "--------------------------------"..., 8192) = 8192
read(3, " PclZip::privErrorLog(PCLZIP_"..., 8192) = 8192
read(3, "-//PclTraceFctMessage(__FILE__, "..., 8192) = 8192
read(3, "race)--//PclTraceFctMessage(__FI"..., 8192) = 8192
brk(0x9be8000) = 0x9be8000
read(3, "}\r\n \r\n @closed"..., 8192) = 8192
read(3, "pBackMagicQuotes();\r\n\r\n "..., 8192) = 8192
read(3, "ber of elt in list\r\n $v_nb = "..., 8192) = 8192
read(3, " from real file\r\n if ($p_"..., 8192) = 8192
read(3, "$p_remove_dir, 0, 2) == \"./\")) {"..., 8192) = 8192
read(3, "\n // ----- Return\r\n //--(M"..., 8192) = 8192
read(3, " $this->privSwapBackMagicQuotes("..., 8192) = 8192
read(3, "ct) && (($v_header['flag'] & 1) "..., 8192) = 8192
read(3, "-PclTrace)--//PclTraceFctEnd(__F"..., 8192) = 8192
read(3, "N_FAIL,\r\n\t\t\t \"Newer "..., 8192) = 8192
read(3, "R_ABORTED;\r\n }\r\n }\r\n\r\n "..., 8192) = 8192
read(3, "aceFctEnd(__FILE__, __LINE__, $v"..., 8192) = 8192
read(3, "----- Return\r\n //--(MAGIC-P"..., 8192) = 8192
read(3, "--------------------------------"..., 8192) = 8192
read(3, "_dir['disk'].'\\'');\r\n $p_cent"..., 8192) = 8192
read(3, "LINE__, 3, \"Found as part of an "..., 8192) = 8192
brk(0x9c28000) = 0x9c28000
read(3, "iles : reset the file\r\n else "..., 8192) = 8192
read(3, " $v_read_size = ($v_size < P"..., 8192) = 8192
read(3, "--------------------------------"..., 8192) = 8192
read(3, "\"'\");\r\n\r\n // ----- Look for"..., 8192) = 8192
read(3, "isk_letter) && (($v_position = s"..., 8192) = 451
read(3, "", 8192) = 0
read(3, "", 8192) = 0
close(3) = 0
stat64("/var/softaculous/zikula.zip", {st_mode=S_IFREG|0644, st_size=44585873, ...}) = 0
access("/var/softaculous/zikula.zip", R_OK) = 0
uname({sys="Linux", node="fyre.fyrenetworks.com", ...}) = 0
time(NULL) = 1261817376
lstat64("/var", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/var/softaculous", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat64("/var/softaculous/zikula.zip", {st_mode=S_IFREG|0644, st_size=44585873, ...}) = 0
open("/var/softaculous/zikula.zip", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=44585873, ...}) = 0
lseek(3, 0, SEEK_CUR) = 0
lseek(3, 44585873, SEEK_SET) = 44585873
lseek(3, 44585851, SEEK_SET) = 44585851
read(3, "PK\5\6\0\0\0\0\f\0\f\0\244\2\0\0s3M\0\0\0", 8192) = 22
lseek(3, 0, SEEK_SET) = 0
lseek(3, 5059443, SEEK_SET) = 5059443
read(3, "\327\224\377\262w\372\310\37m]q\212P\264\300:bnzdi\222\261\276J__\340n\251q\262"..., 8192) = 8192
close(3) = 0
time(NULL) = 1261817376
...and that would be all of it.
At no time do I see the .zip file being parsed and extracted as I do others (for instance, I tracked 'webcal' through the strace).
Keep in mind this is the free version.
The command I used to log the strace was:
Code root@fyre [/var/softaculous]# strace /usr/local/cpanel/3rdparty/bin/php /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/cron.php > logfile.log 2>&1
If this doesn't immediately provide an answer, would it be possible for me to see the unencoded version of the cron.php file? I would be happy to digitally sign a non-disclosure agreement, and provide proof of identity. (Then again, if the file requires multiple included files, etc... that would be pointless, as I would not ask you to reveal your code further than a single file.)
Thanks.
-Eric
|