PDA

View Full Version : Errors during installation / unable to login


tremor
1st November 2008, 20:41
Hello Everybody!

I hope someone here can help me out... After installing ISPconfig I can't login using admin/admin, I just get error 101: wrong username or password. Right in the end of the installation I got the following output:

Connected successfully to MySQL server
sh: Q: No such file or directory
sh: crontab: command not found

The ISPconfig database has been created but it doesn't contain any tables.

I followed the Ubuntu perfect server guide here at how2forge.

I hope someone here can advice me what to do... I'm kind of a newbie at these things.

falko
2nd November 2008, 14:55
What's the output of df -h? I guess your hard drive/partition does not have enough free space.

tremor
2nd November 2008, 15:24
There's plenty of space on the disk. I get the following output from df -h:

Filesystem Size Used Avail Use% Mounted on
/dev/simfs 100G 895M 100G 1% /

So the problem seems to be something else... Can I have missed installing some package since it can't find the command 'crontab'?

falko
3rd November 2008, 15:13
Did you install ISPConfig as root?

tremor
3rd November 2008, 15:42
Did you install ISPConfig as root?

Yes I did. I also wrote the root login and password for the mySQL part of the installation.

falko
4th November 2008, 13:57
What's the output of ls -l /bin/sh?

Did you disable AppArmor?

tremor
6th November 2008, 14:25
What's the output of ls -l /bin/sh?

Did you disable AppArmor?

The output of ls -l /bin/sh is:

lrwxrwxrwx 1 root root 9 Nov 3 15:38 /bin/sh -> /bin/bash

My system didn't come with apparmor so there was nothing for me to disable or remove. I thought maybe I might have made a mistake somewhere along the way so I started all over again on a freshly installed Ubuntu but once again I got the same errors. I'm trying to run ISPconfig on a vps-server, I don't know if that might cause some problems?

/tremor

falko
7th November 2008, 13:04
What kind of VPS? OpenVZ, Xen, VMware, etc?

tremor
10th November 2008, 15:08
What kind of VPS? OpenVZ, Xen, VMware, etc?

I rent my server space from a server company so I don't know what kind of system they run.

I noticed that the crontab package wasn't installed by default so I tried once more to install everything (this time with crontab installed...) and this time I got the following output right after I've chosen if I wanna go with http or https:

Connected successfully to MySQL server
sh: Q: No such file or directory
no crontab for root
Restarting some services...
* Stopping Postfix Mail Transport Agent postfix [ OK ]
* Starting Postfix Mail Transport Agent postfix [ OK ]
* Stopping ftp server proftpd [ OK ]
* Starting ftp server proftpd [ OK ]
Starting ISPConfig system...
/root/ispconfig/httpd/bin/apachectl startssl: httpd started

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /root/ispconfig/scripts/lib/config.inc.php on line 47
No results found!ISPConfig system is now up and running!

falko
11th November 2008, 14:16
That sounds as if the ISPConfig database didn't get installed...

What's the output of uname -a? Maybe this tells us more about the virtualization technique that is being used.

tremor
11th November 2008, 15:03
The output of uname -a is:

Linux GleSYS-vps 2.6.18-92.1.1.el5.028stab057.2 #1 SMP Mon Jul 21 17:08:31 MSD 2008 i686 GNU/Linux

The ISPConfig database has been created but it doesn't contain any tables.

falko
12th November 2008, 14:03
The output of uname -a is:

Linux GleSYS-vps 2.6.18-92.1.1.el5.028stab057.2 #1 SMP Mon Jul 21 17:08:31 MSD 2008 i686 GNU/LinuxUnfortunately there's no indication of the virtualization technique in there... :(

The ISPConfig database has been created but it doesn't contain any tables.Did you type in root as the MySQL user during installation? Does the MySQL password contain any special characters?

tremor
12th November 2008, 14:50
Did you type in root as the MySQL user during installation? Does the MySQL password contain any special characters?

Yes, I typed in root as user. The password contains a '<', but I've never had any problems to log in using mysql -u root -p.

My Ubuntu distribution seems to differ a bit from the one used in the tutorial, I had to install the cron, iptables, telnet and telnetd packages myself and there was no apparmor to remove... Could there be that there are some other packages that I don't have that cause these problems?

falko
13th November 2008, 15:21
Yes, I typed in root as user. The password contains a '<', but I've never had any problems to log in using mysql -u root -p.

Can you change that to a password without any special characters and try again?

tremor
20th November 2008, 19:44
That did it, now everything works! :)

Thank you so much for all your help, I really appriciate it!!