HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   First Login Error (http://www.howtoforge.com/forums/showthread.php?t=1703)

evbim 16th December 2005 08:29

First Login Error
 
I finished installation without no errors. I used ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" article to do it.
But now, after installation when I try to login with admin:admin I have this error message:

Quote:

Warning: Cannot modify header information - headers already sent by (output started at /home/admispconfig/ispconfig/lib/config.inc.php:131) in /home/admispconfig/ispconfig/web/login/trylogin.php on line 51
Can you help me?

Thanx.

till 16th December 2005 09:25

Please post line 130 - 135 of the file /home/admispconfig/ispconfig/lib/config.inc.php

If line 131 is the last line of the file ad does not contain "?>" then remove the last empty line.

evbim 16th December 2005 10:00

Resolved.
 
When I remove the emty line after "?>" It is resoved. Thanx for all..

newzen 17th December 2005 06:57

first login problems, fedora core 4
 
i install you system under fedora core 4. I finished the instalation with no error but i cant to login with username admin and password admin.

Would you help me
Thanks.

till 17th December 2005 08:38

Please check the install logfile /var/log/install_ispconfig.log if there where any Database inside.

newzen 17th December 2005 11:33

[QUOTE=till]Please check the install logfile /var/log/install_ispconfig.log if there where any Database inside.[/QUOT

my log install file have the folowing;

sáb dic 17 03:42:00 UTC 2005 - [ISPConfig] - installation directory: /root/install_ispconfig
sáb dic 17 03:42:02 UTC 2005 - [ISPConfig] - operating system: Fedora 4.0
sáb dic 17 03:42:05 UTC 2005 - [ISPConfig] - Neuinstallation eines ISPConfig-Systems. / Installation of a new ISPConfig system. / Installation d'ISPConfig sur un nouveau syst�e.
sáb dic 17 03:42:09 UTC 2005 - [ISPConfig] - selected language: es
sáb dic 17 03:42:20 UTC 2005 - [ISPConfig] - installation note accepted
sáb dic 17 03:42:29 UTC 2005 - [ISPConfig] - licence accepted
sáb dic 17 03:42:32 UTC 2005 - [ISPConfig] - installation mode: standard
sáb dic 17 03:42:38 UTC 2005 - [ISPConfig] - mail: postfix
sáb dic 17 03:42:38 UTC 2005 - [ISPConfig] - dist_mail=postfix ##
sáb dic 17 03:42:39 UTC 2005 - [ISPConfig] - dist_mail_log=/var/log/maillog ##
sáb dic 17 03:42:39 UTC 2005 - [ISPConfig] - dist_mail_virtusertable=/etc/postfix/virtusertable ##
sáb dic 17 03:42:40 UTC 2005 - [ISPConfig] - dist_mail_local_host_names=/etc/postfix/local-host-names ##
sáb dic 17 03:42:43 UTC 2005 - [ISPConfig] - ftp: proftpd
sáb dic 17 03:42:43 UTC 2005 - [ISPConfig] - dist_ftp=proftpd ##
sáb dic 17 03:42:43 UTC 2005 - [ISPConfig] - dist_ftp_conf=/etc/proftpd.conf ##
sáb dic 17 03:42:43 UTC 2005 - [ISPConfig] - dist_ftp_version=standalone ##
sáb dic 17 03:42:43 UTC 2005 - [ISPConfig] - dist_ftp_log=/var/log/xferlog ##
sáb dic 17 03:42:44 UTC 2005 - [ISPConfig] - procmail found: /usr/bin/procmail
sáb dic 17 03:42:44 UTC 2005 - [ISPConfig] - quota found: /usr/bin/quota
sáb dic 17 03:42:44 UTC 2005 - [ISPConfig] - mysql found: /usr/bin/mysql
sáb dic 17 03:42:44 UTC 2005 - [ISPConfig] - openssl found: /usr/bin/openssl
sáb dic 17 03:42:44 UTC 2005 - [ISPConfig] - named found: /usr/sbin/named
sáb dic 17 03:42:44 UTC 2005 - [ISPConfig] - iptables found: /sbin/iptables
sáb dic 17 03:42:44 UTC 2005 - [ISPConfig] - httpd found: /usr/sbin/httpd
sáb dic 17 03:42:51 UTC 2005 - [ISPConfig] - httpd syntax ok!
sáb dic 17 03:42:51 UTC 2005 - [ISPConfig] - dist_path_httpd_root=/home/www ##
sáb dic 17 03:42:53 UTC 2005 - [ISPConfig] - Directory /var/www/sharedip created.
sáb dic 17 03:42:53 UTC 2005 - [ISPConfig] - Use sharedip_index.html_es as SharedIP default page.
sáb dic 17 04:39:57 UTC 2005 - [ISPConfig] - unpacked ISPConfig system
sáb dic 17 04:40:01 UTC 2005 - [ISPConfig] - moved directory ispconfig_tmp to /root/ispconfig
sáb dic 17 04:41:37 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 903: copied directory scripts to /root/ispconfig/
sáb dic 17 04:41:37 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 904: copied directory sv to /root/ispconfig/
sáb dic 17 04:41:37 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 907: copied directory isp to /root/ispconfig/
sáb dic 17 04:41:37 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 908: copied cronolog to /root/ispconfig/
sáb dic 17 04:41:38 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 909: copied cronosplit to /root/ispconfig/
sáb dic 17 04:41:38 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 917: copied ispconfig_server to /etc/rc.d/init.d
sáb dic 17 04:41:48 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 931: copied directory ispconfig to /home/admispconfig/ispconfig
sáb dic 17 04:41:49 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 932: chown -R admispconfig:admispconfig /home/admispconfig
sáb dic 17 04:41:50 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 935: chown -R admispconfig:mysql /home/admispconfig/ispconfig/backup
sáb dic 17 04:41:50 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 936: chmod -R 770 /home/admispconfig/ispconfig/backup
sáb dic 17 04:41:51 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 968: cp -f /etc/proftpd.conf /etc/proftpd.conf.orig
sáb dic 17 04:41:51 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 982: create /etc/proftpd_ispconfig.conf
sáb dic 17 04:41:51 UTC 2005 - [ISPConfig] - Connected successfully to MySQL server
sáb dic 17 04:41:53 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1047: WARNING: could not read in db_ispconfig.sql
sáb dic 17 04:41:53 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1049: rm -f db_ispconfig.sql
sáb dic 17 04:41:54 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1111: chmod 600 /home/admispconfig/ispconfig/lib/config.inc.php
sáb dic 17 04:41:54 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1112: chown admispconfig:admispconfig /home/admispconfig/ispconfig/lib/config.inc.php
sáb dic 17 04:41:54 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1168: cp -f /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.orig
sáb dic 17 04:41:55 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1204: create /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf
sáb dic 17 04:41:55 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1206: create /var/log/httpd/ispconfig_access_log
sáb dic 17 04:41:58 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 567: /etc/rc.d/init.d/crond restart
sáb dic 17 04:41:59 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1247: cp -f /etc/postfix/main.cf /etc/postfix/main.cf.orig
sáb dic 17 04:41:59 UTC 2005 - [ISPConfig] - created virtusertable entry in /etc/postfix/main.cf
sáb dic 17 04:41:59 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1255: create /etc/postfix/virtusertable
sáb dic 17 04:42:02 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1256: postmap /etc/postfix/virtusertable
sáb dic 17 04:42:02 UTC 2005 - [ISPConfig] - created mydestination entry in /etc/postfix/main.cf
sáb dic 17 04:42:02 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1264: create /etc/postfix/local-host-names
sáb dic 17 04:42:02 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1277: cp -f isp/conf/bastille-firewall.cfg.master /etc/Bastille/bastille-firewall.cfg
sáb dic 17 04:42:02 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1278: chmod 644 /etc/Bastille/bastille-firewall.cfg
sáb dic 17 04:42:02 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1301: cp -f security/bastille-firewall /etc/rc.d/init.d
sáb dic 17 04:42:02 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1302: chmod 700 /etc/rc.d/init.d/bastille-firewall
sáb dic 17 04:42:03 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1305: cp -f security/bastille-ipchains /sbin
sáb dic 17 04:42:03 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1306: chmod 700 /sbin/bastille-ipchains
sáb dic 17 04:42:03 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1309: cp -f security/bastille-netfilter /sbin
sáb dic 17 04:42:03 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1310: chmod 700 /sbin/bastille-netfilter
sáb dic 17 04:42:03 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1335: chmod 755 /home/admispconfig/ispconfig/tools/clamav/bin/trashscan
sáb dic 17 04:42:03 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1336: chown admispconfig:admispconfig /home/admispconfig/ispconfig/tools/clamav/bin/trashscan
sáb dic 17 04:42:04 UTC 2005 - [ISPConfig] - /root/install_ispconfig/install.php, Line 1350: delete /root/ispconfig/dist.inc.php
sáb dic 17 04:42:11 UTC 2005 - [ISPConfig] - httpd restart successful
sáb dic 17 04:42:32 UTC 2005 - [ISPConfig] - postfix restart successful
sáb dic 17 04:43:06 UTC 2005 - [ISPConfig] - file /root/ispconfig/dist.info deleted
sáb dic 17 04:43:26 UTC 2005 - [ISPConfig] - directory install_ispconfig deleted
sáb dic 17 04:43:26 UTC 2005 - [ISPConfig] - ##############################

i have no expertice for interpretate this, do you found somthing bad? what i have to to for fix?

Very thanks for yuor quik response.

falko 17th December 2005 13:50

The log looks ok. Can you check if the ISPConfig databse exists and if the table sys_user exists in the ISPConfig database? If the table exists, what is in there?

newzen 17th December 2005 14:33

Quote:

Originally Posted by falko
The log looks ok. Can you check if the ISPConfig databse exists and if the table sys_user exists in the ISPConfig database? If the table exists, what is in there?

where can i find that database and how to check for the table.
excuse im a newbird in mysql and in linux too.
Thanks for your comprension and passient. iand zorry for my poor english.

till 17th December 2005 15:40

You can either install phpmyadmin on your server or use the mysql commandline tools. The commandline tools are not so easy to handle if you dont have some knowledge of SQL commands.

falko 17th December 2005 17:13

Quote:

Originally Posted by newzen
where can i find that database and how to check for the table.

If you want to do it on the comand line:

Code:

mysql -u root -p
Enter password:
SHOW DATABASES;

If the ISPConfig database is listed:
Code:

USE <ispconfig_database>;
SHOW TABLES;

If the sys_user table is listed:

Code:

SELECT * FROM sys_user;
To leave the MySQL shell, type
Code:

quit;


All times are GMT +2. The time now is 04:32.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.