FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » step 2 on instalation
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
step 2 on instalation [message #3579] Mon, 01 July 2002 22:37 Go to next message
morgoth is currently offline  morgoth   Sweden
Messages: 34
Registered: July 2002
Karma: 0
Member
when i press next on the MySQL part of the instalation (step2) nothing happens in my browser. I use explorer and it just says it is ready

What is wrong????
Re: step 2 on instalation [message #3580 is a reply to message #3579] Mon, 01 July 2002 22:57 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Which version are you trying to install?

FUDforum Core Developer
Re: step 2 on instalation [message #3595 is a reply to message #3579] Tue, 02 July 2002 06:54 Go to previous messageGo to next message
morgoth is currently offline  morgoth   Sweden
Messages: 34
Registered: July 2002
Karma: 0
Member
Version: 20020613


In the adress box in explorer there stand:
mywebsite/install.php?1298168754
and then nothing more happens
Re: step 2 on instalation [message #3602 is a reply to message #3595] Tue, 02 July 2002 12:58 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Could you please show me the output of phpinfo() on your system?

FUDforum Core Developer
Re: step 2 on instalation [message #3626 is a reply to message #3579] Tue, 02 July 2002 16:46 Go to previous messageGo to next message
morgoth is currently offline  morgoth   Sweden
Messages: 34
Registered: July 2002
Karma: 0
Member
i do not know how to do but i got version 4 or later (looked at the rpm i installed from)

but i know something that might be the problem.
my server is behind i simple router/firewall it forwards connections through port 80 to my server.
Do i need to open anymoe ports?
Re: step 2 on instalation [message #3629 is a reply to message #3626] Tue, 02 July 2002 17:20 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
That may have been a problem although unlikely had the script died after you submitted the 1st step where you've specified the forum paths. However, I see no reason why it would die on the 2nd. Could you make a small php script:
<?php phpinfo(); ?>


And show me what it outputs.


FUDforum Core Developer
Re: step 2 on instalation [message #3635 is a reply to message #3579] Tue, 02 July 2002 20:06 Go to previous messageGo to next message
morgoth is currently offline  morgoth   Sweden
Messages: 34
Registered: July 2002
Karma: 0
Member
here it is

Re: step 2 on instalation [message #3636 is a reply to message #3635] Tue, 02 July 2002 20:25 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Config seems allright, I cannot see anything out of place. Check your Apache's log file right after running the install script see if any apache children segfaulted. I can imagine that being the only reason why the script would die and not give any error or warning messages.

FUDforum Core Developer
Re: step 2 on instalation [message #3637 is a reply to message #3579] Tue, 02 July 2002 20:54 Go to previous messageGo to next message
morgoth is currently offline  morgoth   Sweden
Messages: 34
Registered: July 2002
Karma: 0
Member
there was no apache errors

Which port does mysql use?
Do i need to install more than just the standard php packages?

[Updated on: Tue, 02 July 2002 20:56]

Report message to a moderator

Re: step 2 on instalation [message #3638 is a reply to message #3637] Tue, 02 July 2002 20:58 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Mysql uses port 3306 by default I believe. You can make FUDforum uses a UNIX domain socket to connect to MySQL, then your firewall won't be a problem at all.

FUDforum Core Developer
Re: step 2 on instalation [message #3640 is a reply to message #3579] Tue, 02 July 2002 21:01 Go to previous messageGo to next message
morgoth is currently offline  morgoth   Sweden
Messages: 34
Registered: July 2002
Karma: 0
Member
If it would be of interest my referer_log contained these three lines at the end after i tried to install:

http://192.168.123.158/install.php -> /install.php
http://192.168.123.158/install.php?941688619 -> /install.php
http://192.168.123.158/install.php -> /install.php
Re: step 2 on instalation [message #3643 is a reply to message #3579] Tue, 02 July 2002 21:08 Go to previous messageGo to next message
morgoth is currently offline  morgoth   Sweden
Messages: 34
Registered: July 2002
Karma: 0
Member
found the failure.....
i wasn't allowed to connectto the MySQL server....

How do you change this?
Re: step 2 on instalation [message #3645 is a reply to message #3643] Tue, 02 July 2002 21:09 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Well, one way would be to make firewall allow connections from 127.0.0.1 on port 3306. The other would involve using UNIX Domain Sockets. Find file called mysql.sock on your computer and enter the full path to that file with a ':' prefix as the hostname for MySQL.

FUDforum Core Developer
Re: step 2 on instalation [message #3657 is a reply to message #3579] Tue, 02 July 2002 21:27 Go to previous messageGo to next message
morgoth is currently offline  morgoth   Sweden
Messages: 34
Registered: July 2002
Karma: 0
Member
hmmmm
sometimes it is maybe a little good getting frustrated

i tried www.microsoft.com as mysql server and i left the other fields full off junk, but believe it or not:
There were still no error messages!!!!!
it was just a blank page

[Updated on: Tue, 02 July 2002 21:27]

Report message to a moderator

Re: step 2 on instalation [message #3659 is a reply to message #3657] Tue, 02 July 2002 21:34 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
wow that is 'interesting';

try this script:
<?php
error_reporting(E_ALL);
if( !mysql_connect("127.0.0.1", "user", "password") ) {
 exit("Could not connect ".mysql_error()."<br>\n");
}
if( !($r = mysql_query("SELECT VERSION()")) ) {
exit("Query Failed: ".mysql_error()."<br>\n");
}
print_r(mysql_fetch_row($r));
mysql_free_result($r);
?>


Once this script works via the web you'll be able to install the forum.


FUDforum Core Developer
Re: step 2 on instalation [message #3662 is a reply to message #3579] Tue, 02 July 2002 21:46 Go to previous messageGo to next message
morgoth is currently offline  morgoth   Sweden
Messages: 34
Registered: July 2002
Karma: 0
Member
Fatal error: Call to undefined function: mysql_connect() in /var/www/html/skafunka.php on line 3


but there was nothing wrong when i installed it....
will try to reinstall
Re: step 2 on instalation [message #3663 is a reply to message #3662] Tue, 02 July 2002 21:48 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Uhm that error implies lack of MySQL support inside your installation. In fact now that I look at your phpinfo() I see that your PHP did not come with MySQL support.

FUDforum Core Developer
Re: step 2 on instalation [message #3669 is a reply to message #3579] Wed, 03 July 2002 07:47 Go to previous messageGo to next message
morgoth is currently offline  morgoth   Sweden
Messages: 34
Registered: July 2002
Karma: 0
Member
i am downloading redhat 7.3 now.
Is everything i need alredy on this cd's?
Re: step 2 on instalation [message #3670 is a reply to message #3669] Wed, 03 July 2002 11:52 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
I do not know, I do not use redhat. I suspect Redhat did compile their PHP with MySQL module, however it is likely that the MySQL module is not enabled by default. Which means that you will need to make php load it by uncommenting or adding a line to php.ini.

FUDforum Core Developer
Re: step 2 on instalation [message #3671 is a reply to message #3579] Wed, 03 July 2002 22:05 Go to previous messageGo to next message
morgoth is currently offline  morgoth   Sweden
Messages: 34
Registered: July 2002
Karma: 0
Member
the problem speaked about before i managed to fix, but now i get a error 404 when i press next after step 2


if i don't type in any database, it says i don't have access or something like that so i know it got contact

i sent phpinfo with in case you need it
Re: step 2 on instalation [message #3674 is a reply to message #3671] Thu, 04 July 2002 01:40 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Which URL is it trying to access when you get the 404 error message?

FUDforum Core Developer
Re: step 2 on instalation [message #3679 is a reply to message #3579] Thu, 04 July 2002 07:04 Go to previous messageGo to next message
morgoth is currently offline  morgoth   Sweden
Messages: 34
Registered: July 2002
Karma: 0
Member
it works now, expect that i can't access my socket file.
I know it is the right password but still i got access denied for root@localhost (Using password: YES) in /var/www/html/fforum/data/include/db.inc on line 23

--------------------------------------
Error in function/script: db.inc
has caused the following error: unable to establish mysql connection on :/var/lib/mysql/mysql.sock
while processing script name: /var/www/html/fforum/www/adm/admglobal.php
the error occured at: 04/07/2002 07:12:44 GMT
Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
User Ip: 217.210.3.159
Script Accessed: /var/www/html/fforum/www/adm/admglobal.php



note: This is not during the installation, it occures when i change in global configuration

[Updated on: Thu, 04 July 2002 07:06]

Report message to a moderator

Re: step 2 on instalation [message #3681 is a reply to message #3679] Thu, 04 July 2002 12:45 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Does the file exist and if so what are its permissions?

Does it work if you specify 127.0.0.1 as the host?


FUDforum Core Developer
Re: step 2 on instalation [message #3729 is a reply to message #3681] Thu, 04 July 2002 21:56 Go to previous messageGo to next message
morgoth is currently offline  morgoth   Sweden
Messages: 34
Registered: July 2002
Karma: 0
Member
after i while it worked (don't know what's wrong, maybe busy system cause i didn't change any value)

Thanks for a very good forum
and a Special thank to Prottoss for good support

[Updated on: Thu, 04 July 2002 21:57]

Report message to a moderator

Re: step 2 on instalation [message #3730 is a reply to message #3729] Thu, 04 July 2002 21:59 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Hmm, most unusual problem. You may want to turn of persistant connections, since it could cause problems on systems that were not configured to handle them.

FUDforum Core Developer
Re: step 2 on instalation [message #3731 is a reply to message #3730] Thu, 04 July 2002 22:01 Go to previous messageGo to next message
morgoth is currently offline  morgoth   Sweden
Messages: 34
Registered: July 2002
Karma: 0
Member
but it works perfect now
Re: step 2 on instalation [message #3732 is a reply to message #3731] Thu, 04 July 2002 22:15 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
morgoth wrote on Thu, 04 July 2002 18:01

but it works perfect now


Well, if that is the case, then all is fine Smile


FUDforum Core Developer
Re: step 2 on instalation [message #3733 is a reply to message #3732] Thu, 04 July 2002 22:41 Go to previous message
morgoth is currently offline  morgoth   Sweden
Messages: 34
Registered: July 2002
Karma: 0
Member
yes and there was absolutely no problem with upgrading to version 2.2.0, even if i can't see many changes (except for the administration panel)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Update problems from 2.0.2 to 2.2
Next Topic: installation problem after step 5/5
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 05:40:53 GMT 2024

Total time taken to generate the page: 0.02765 seconds