InterWorx-CP Version 1.8.0 Released

i tried to upgrade my inetwrox to 1.8 and i did exactly what its been said but i got a number of erros and now my interworx from web doesnt work. these r the logs.

httpd-iworx 100 % done 20/87
Stopping InterWorx-web: [ OK ]
Stopping InterWorx-db: [ OK ]
Starting InterWorx-db: [ OK ]
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:2080
no listening sockets available, shutting down
Unable to open logs
Starting InterWorx-web: [FAILED]

interworx 100 % done 25/87
error: %post(interworx-1.8.0-2.iworx) scriptlet failed, exit status 0

Installing mysql-client

Unable to find pid

Restarting httpd and InterWorx-CP

Stopping httpd: [ OK ]
Starting httpd: httpd: module “mod_python.c” is not compatible with this version of Apache (found 20020628, need 20020903).
Please contact the vendor for the correct version.
[FAILED]
iworx: unrecognized service
iworx: unrecognized service

Restarting MySQL

Stopping MySQL: [FAILED]
Starting MySQL: [ OK ]

since i didnt have phyton in my server, the phyton error occured coz of that but what about the others and how can i fix all of these ?

regards

Aftermath,

Could you fill out the form here http://interworx.info/rootdrop and I’ll figure out what the problem is. Unfortuntately just based on those errors I can’t tell you exactly what to do.

Paul

Interworx guys -

I upgraded my RH 9 Sago box from 1.7.1 to 1.8 using the script in the first post of this thread. I later found out that PHP was not parsing in normal pages at all. PHP itself seemed to be working, though – I could get it to respond to command line stuff and yum said it was there. Interworx itself still worked, but I did some searching and I see that you’ve given it a separate php daemon thingy (nice design choice, btw).

I fixed the problem by adding this to /etc/httpd/conf/httpd.conf:

AddType application/x-httpd-php .php .phtml

Now it recognizes PHP file exensions and parses them. I don’t know if this was a fluke on my specific box, but you might want to take a look at that for your next upgrade.

New PHP may not stream video files and content lenght for all files streamed is zero

The following problem could certainly be some other than with the new PHP version.

All I know is that up until yesterday morning, where I did the entire upgrade as described above, I was able to use PHP code to stream video files to surfers, using code similar to the below example, and now it streams absolutely nothing, actually it seems from from the receivers end that the content-lenght is zero.

function sendfile($sFilename){
$nFileSize = filesize($sFilename);
$sContentType = PAYC_GetContentType($sFilename);
header (“Content-type: $sContentType”);
header (“Content-length: $nFileSize”);
if (isset($_GET[‘saveas’]) && ($_GET[‘saveas’]==1))
header (“Content-Disposition: attachment; filename=”. $sFilename);
else
header (“Content-Disposition: inline; filename=”. $sFilename);
readfile($sFilename);
}

Somehow it is going wrong before it tries to output the file, but if I put in some test lines to echo the file lenght it echo’s the file size correctly. All streaming worked perfectly unitl yesterday morning, and I have triple checked that the files to be delivered are on my server in the right location, so I suspect that this problem has to do with the upgrades.

Streaming pictures works fine, HOWEVER suddenly after the upgrade the content-lenght is now zero!?!

you may want to start a new thead for this problem, might get a little more traffic. I would suggest in: InterWorx > NodeWorx > General Discussion

I had some of my php scripts break as well, but all were fixed by using the php fix back then (this has been corrected in the newer versions of the upgrade / install).

Thanks I just did with a follow up…

mod_watch.c not capatible

Hey. During the upgrade I got the following errors-

Running test transaction:
Errors reported doing trial run
file /usr/lib/libaprutil-0.so.0.9.4 conflicts between attempted installs of subversion-0.27.0-2 and apr-util-0.9.4-100.iworx
file /usr/lib/libapr-0.so.0.9.4 conflicts between attempted installs of apr-0.9.4-100.iworx and subversion-0.27.0-2

Starting httpd: httpd: module “mod_watch.c” is not compatible with this version of apache.

Please contact the vendor for the correct version.

[FAILED]

I have not seen anything about his particular SO problem here. Oddly, when I do apachectl -v I get 2.0.40. Maybe I’m misreading but I thought the upgrade bumped the version to 2.0.50.

Any ideas?

My guess is that the old redhat 9 subversion RPM was installed on your server. The first thing I would do is remove that package from your system and try the upgrade again - but it might be a bit of a struggle at this point, so it may be best for you to open a support ticket (https://secure.interworx.info/support/helpdesk/) with your server info, and we’ll take a look at things.

Paul