Problem installing Interworx !

Some ideas :

For me it seems to be a mysql connect attempt that fails.

Check that /home/interworx/iworx.ini exists and there is some dsn entry for mysql
dsn=“mysql://iworx:password@unix(/home/interworx/var/run/mysql.sock)/iworx”

Also check that iworx.ini is owned and readable by iworx user

You may also check that there is an iworx databases created.

Finaly I think that only iworx staff will may help you. It’d probably better to open a support ticket

Sorry I don’t help you so much

Pascal

no, thank you for your help pascal :slight_smile:
i openned a ticket and paul fixed it, now i have a fully working interworx, it seems that was the last problem :smiley:

What was the final resolution for the last error you got?

I checked, and there’s a DSN entry:

dsn=“mysql://iworx:@unix(/home/interworx/var/run/mysql.sock)/iworx”

I’m still getting

----- DEBUG STACKTRACE BEGIN -----
/home/interworx/include/debug.php debug_printstacktrace (127)
/home/interworx/include/database.php debug_die (40)
/home/interworx/include/session.php db_connect (58)
0 session_read (0)
/home/interworx/include/nodeworx/NodeWorx.php session_start (504)
/home/interworx/nodeworx/html/index.php continuesession (37)
/home/interworx/nodeworx/html/index.php _il_exec (2)
----- DEBUG STACKTRACE END -----

/home/interworx/include/database.php(40): DB Error: connect failed

This is a fresh install, Fedora Core 2.

I’m dead in my tracks here… hopefully someone responds soon :slight_smile:

Thanks

Joe

Aha!

[root@www5 mysql]# ls -la
total 16
drwxr-xr-x 4 mysql mysql 4096 Mar 12 09:57 .
drwxr-xr-x 18 root root 4096 Mar 11 21:32 …
drwx------ 2 mysql mysql 4096 Mar 12 08:46 mysql
srwxrwxrwx 1 mysql mysql 0 Mar 12 09:57 mysql.sock
drwx------ 2 mysql mysql 4096 Mar 12 08:46 test

No Iwork database. Ok, how do you recreate that?

I feel like such a newbie :frowning:

I was looking in /var/lib/mysql - where I’d anticipate the database being stored, but found one here:

/home/interworx/var/lib/mysql/iworx

drwx------ 2 iworx iworx 4096 Mar 12 08:43 iworx
drwx------ 2 iworx iworx 12288 Mar 12 08:43 iworx_cacti
drwx------ 2 iworx iworx 4096 Mar 12 08:43 iworx_ftp
drwx------ 2 iworx iworx 4096 Mar 12 08:43 iworx_horde
drwx------ 2 iworx iworx 4096 Mar 12 08:43 iworx_mysql
drwx------ 2 iworx iworx 4096 Mar 12 08:43 iworx_spam
drwx------ 2 iworx iworx 4096 Mar 12 09:40 iworx_vpopmail
drwx------ 2 iworx iworx 4096 Mar 11 21:33 mysql

So, I think I’m back to square one. Any help would be appreciated - I promise, I’m very low maintenance when shown once :slight_smile:

Did you get an error when you ran the goiworx.pex script?

The best way for you is to open a support ticket : https://secure.interworx.info/support/helpdesk/

The solution could be to remove all mysql rpm and reinstall them. If I remember well this pbm is a /usr/lib/libmysqlclient.so.xx backward compatibility not found.
Normally the installation of mysql-devel-4.0.21-104.iworx and mysql-shared-4.0.21-104.iworx should be enough.

But I not really sure, so one time again, the best option IS to open a support ticket :slight_smile:

If you find the pbm, or an iworx staff does, thanks to let us know. Next time we’ll able to directly help iworx user :slight_smile:

Good luck

Pascal

Sorry Paul, I was writting this answer when you are answering.

No problem Pascal, your answer regarding opening a support ticket is a very good suggestion as well :slight_smile:

Oh boy, now you’re trying to confuzzle me, aren’t you? :slight_smile:

I followed the instructions here: http://interworx.info/iworx-cp/support/docs/install/script.php - but I dont see a goiworx.pex script in there.

I just saw a /home/interworx/bin/goiworx.pex - but that looks lke the original setup .

The only reported errors during initial setup were:

./iworx-cp-install.sh: line 878: chkconfig: command not found
STATUS: Setting server time / syncing BIOS
./iworx-cp-install.sh: line 697: ntpdate: command not found
./iworx-cp-install.sh: line 698: hwclock: command not found
./iworx-cp-install.sh: line 699: service: command not found
-=-=-=-=-= ALL DONE! THANK YOU! FOR USING InterWorx-CP =-=-=-=-=-

I believe those were because the bash_profile didn’t have the correct path in it - I was hopeful that the install script would have set the path% variables - but I probably missed something.

Anyway, first install, I"m stumped. Here comes a ticket :slight_smile:

Thanks guys, 'preciate your help!

Bam, you guys are GREAT.

Thanks for the prompt Saturday support. I’m all set from here :slight_smile: