
15th May 2009, 12:39
|
|
Junior Member
|
|
Join Date: Apr 2009
Posts: 21
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Installation errors
Followed the tutorial on this page: http://howtoforge.org/perfect-server...-ispconfig3-p5
No errors on the debian stuff, though I did have to run make twice when installing MyDns
When I try intalling IspConfig I get these errors:
/
Code:
tmp/ispconfig3_install/install# php -q install.php
>> Initial configuration
Notice: Undefined variable: distver in /tmp/ispconfig3_install/install/lib/install.lib.php on line 135
Notice: Undefined variable: distid in /tmp/ispconfig3_install/install/lib/install.lib.php on line 135
Notice: Undefined variable: distbaseid in /tmp/ispconfig3_install/install/lib/install.lib.php on line 135
Linux Distribution or Version not recognized.godzooky:/tmp/ispconfig3_install/install#
Any ideas what I need to do to fix this? Some kind of edit to install.lib.php or a missing package perhaps?
|

15th May 2009, 12:45
|
|
Member
|
|
Join Date: Mar 2009
Posts: 68
Thanks: 2
Thanked 14 Times in 9 Posts
|
|
I had this problem too.
I changed the part that finds the Debian version in lib/install.lib.php, line 73, into
if(trim(file_get_contents('/etc/debian_version')) == '5.0.1' || trim(file_get_contents('/etc/debian_version')) == 'lenny/sid') {
That solved my problem.
|
|
The Following User Says Thank You to tio289 For This Useful Post:
|
|

15th May 2009, 20:56
|
|
Junior Member
|
|
Join Date: Apr 2009
Posts: 21
Thanks: 0
Thanked 1 Time in 1 Post
|
|
That worked and let me install it ... cheers for that mate
I have a new problem now though, let me login with the default user/password and as expected advised me to change the admin password, which I did
I also created another admin user at the same time, then I logged out
Now I can't log in as either 'admin' with both the new and old password, nor can I log in as the second username I created
Anyone able to help me with that?
|

16th May 2009, 11:35
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,903
Thanks: 693
Thanked 4,194 Times in 3,212 Posts
|
|
Looks as if you entered a wrong password or set wrong permissions for the admin user. You should not change the admin user, just change its password. You can try to fix this in the sys_user database table by comparing your user with the one from the sql dump that is in the ispconfig installer.
|

16th May 2009, 12:39
|
|
Junior Member
|
|
Join Date: Apr 2009
Posts: 21
Thanks: 0
Thanked 1 Time in 1 Post
|
|
I didn't change the admin user mate, just changed the admin user's password
That shouldn't really have locked me out of the admin account
When I added the second user, I could understand being locked out of that one if I set permissions incorrectly, but again creating a second user with bad options shouldn't have locked me out of the admin account
If I could get into the admin account I could check out the settings for the new user, but the admin account doesn't accept either the old or the new password
I'm wondering if the simplest solution wouldn't be to just delete the databases and run the ispconfig installer again, though I will have a look what I can see in the databases when I've a bit more time later today
|

16th May 2009, 22:30
|
|
Member
|
|
Join Date: Feb 2007
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Centos 5.3
Same deal here,
Notice: Undefined variable: distver in /tmp/ispconfig3_install/install/lib/install.lib.php on line 135
Notice: Undefined variable: distid in /tmp/ispconfig3_install/install/lib/install.lib.php on line 135
Notice: Undefined variable: distbaseid in /tmp/ispconfig3_install/install/lib/install.lib.php on line 135
******when installing on Cenos 5.2 updated to 5.3******
I modified the line 122, in the same file (/tmp/ispconfig3_install/install/lib/install.lib.php )to
if(stristr($content,'CentOS release 5.3 (Final)')) {
Then the install continued.
Thanks
madmac
|

17th May 2009, 02:18
|
|
Junior Member
|
|
Join Date: Apr 2009
Posts: 21
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Perhaps the packages in a mirror or two could do with an update to match the latest releases of some distributions
Been too long a day for me to try fixing my login problem now, started fairly early this morning, finished work and dived straight in the bath, got out and logged into this forum ... it's 1.17 am
Luckily my name isn't Jack ... or I'd be an extremely dull boy!
|

17th May 2009, 09:37
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,903
Thanks: 693
Thanked 4,194 Times in 3,212 Posts
|
|
First, if nobody claims that centos 5.3 is supported by the current stable release, why do you complain that its not suppoerted in the version that you used? Second, there is already a beta version that supports centos 5.3, so if you want to use a linux distribution that is not supported in the last stable relaese, then you can use the beta release.
http://www.howtoforge.com/forums/showthread.php?t=34555
|

18th May 2009, 23:06
|
|
Junior Member
|
|
Join Date: Apr 2009
Posts: 21
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Fixed that by doing as I said and deleting the databases then re-creating them using the ispconfig install script
Did exactly the same as last time to change the admin password and create a second admin user (At least I don't recall doing anything differently)
Worked fine this time and the second user I created does seem to have full admin privs, once I check into that a bit further and I'm sure my new user can do everything I'll disable the original admin user
Just need to figure out how to use the thing now ...
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 01:49.
|
|
Recent comments
20 hours 1 min ago
1 day 2 hours ago
1 day 6 hours ago
1 day 8 hours ago
1 day 16 hours ago
2 days 2 hours ago
2 days 2 hours ago
2 days 6 hours ago
2 days 10 hours ago
2 days 11 hours ago