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=27)
-   -   Some problems and questions (http://www.howtoforge.com/forums/showthread.php?t=55230)

Typhon 4th December 2011 20:59

Some problems and questions
 
Hi
I a new user of ISPC 3, it's work fine but i have many php errors :
In Website quota :
HTML Code:

Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 44 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 45 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 46 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 44 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 45 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 46 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 44 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 45 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 46 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 44 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 45 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 46 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 44 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 45 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 46 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 44 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 45 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 46 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 44 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 45 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 46 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 44 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 45 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 46 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 44 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 45 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 46 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 44 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 45 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 46 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 44 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 45 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 46 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 44 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 45 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 46 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 44 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 45 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 46 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 44 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 45 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 46 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 44 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 45 Notice: Undefined index: user in /usr/local/ispconfig/interface/web/sites/user_quota_stats.php on line 46
In Virtual server :
HTML Code:

Notice: Undefined index: on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 139 Notice: Undefined index: vm:on_after_update in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 139 Notice: Undefined index: active_until_date in /usr/local/ispconfig/interface/lib/classes/tform.inc.php on line 367 Notice: Undefined index: active_until_date in /usr/local/ispconfig/interface/lib/classes/tform.inc.php on line 481 Notice: Undefined variable: template_id_select in /usr/local/ispconfig/interface/web/vm/openvz_vm_edit.php on line 153
In monitoring :
HTML Code:

Notice: Undefined variable: html_server in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 237 Notice: Undefined index: unknown in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 255 Notice: Undefined index: info in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 256 Notice: Undefined index: warning in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 257 Notice: Undefined index: critical in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 258 Notice: Undefined index: error in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 259 Notice: Undefined variable: description in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 72
There are many problems so
For the question :
The panel (ISPC) is on sub.domain.tld and i need to user domain.tld for the principal website, i would know if creating an account with the domain : domain.tld can cause problems with my panel ?

till 5th December 2011 11:32

These are no errors, that are PHP debug messages because you have debugging enabled in PHP.

Edit all php.ini files on your system and change the error_reporting level to:

error_reporting = E_ALL & ~E_NOTICE

and restart apache.

Typhon 5th December 2011 13:06

Ok, thanks
Other questions :D :
-When i go yo Website hard disk quota, i don't have any information about the disk usage
-What is the hash algorithm and the salt used by ISPconfig to hashing passwords ?

till 5th December 2011 15:03

Quote:

-When i go yo Website hard disk quota, i don't have any information about the disk usage
Ensure that quota is installed and activated as decsribed in the perfect setup guide.

Quote:

-What is the hash algorithm and the salt used by ISPconfig to hashing passwords ?
ISPConfig uses the Linux default algorithm which is crypt-md5

Typhon 5th December 2011 15:50

Ah great that's work :)
No questions for the moment, thank you till

Typhon 6th December 2011 13:58

Hi !
I will create manually a client but i would to know if it's required to give the id_rsa and ssh_rsa must ?

falko 6th December 2011 22:06

No, that's needed only if you want to use key-based SSH logins.

Typhon 6th December 2011 22:13

So it's only if i give SSH account ?
If i disable SSH acount for my clients, i don't need to give the rya key ?

falko 7th December 2011 13:33

You can use password-based SSH logins without these fields - they are needed only for key-based logins.

Typhon 7th December 2011 18:07

Quote:

Originally Posted by falko (Post 269073)
You can use password-based SSH logins without these fields - they are needed only for key-based logins.

I did not understand, I do not know the key-based logins and password-based SSH logins
I have an other problem, i try to add a user
PHP Code:

        $username $_POST['username'];
        
$password crypt($_POST['password']);
        
        
$query=$db->prepare('INSERT INTO  client(username, password)
        VALUES (:username, :password)'
);
        
$query->bindValue(':username'$usernamePDO::PARAM_STR);
        
$query->bindValue(':password'$passwordPDO::PARAM_STR);
        if(
$query->execute()){echo 'yes';}
        
$query->CloseCursor(); 

The user is created in the DB but i can't use it for connection, i have this message when i try to login in ISPC :
ERROR

Error
Username or Password wrong.
I think that there are a problem with the password hashing, we must use cryt, no ?

EDIT :Even if i change the password from my admin account i cannot connect….
For information, i have give in the DB ONLY the username and the password


All times are GMT +2. The time now is 18:23.

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