Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
No other settings were changed. But when I login to Poweradmin website and try to configure it I get error: "Session Expired". When I login to my server, I usually have this line in browser with random number >130000 like this: http://192.168.1.102/poweradmin/inde...ime=1323017188
I know this is a little late and i am a little pissed that no one answered you much sooner!
Basically, you deleted your config.inc.php settings and only gave it enough info to connect to database.
You need to cd into your web root directory, add the session info along with other parameters to this file
"/inc/config.ini.php"
You wont find this in any documentation online but I went through the same issue as you and discovered it myself.
Basically the template came preloaded with the paramets so just copy and paste the template and only plug in the info you generated
during setup such as the example below:
Your config.inc.php should look as follows:
<?php
// Database settings
$db_host = 'yourlocalhost';
$db_user = 'youruser';
$db_pass = 'yourpassword';
$db_name = 'databasename';
$db_port = '3306';
$db_type = 'mysql';
$db_layer = 'PDO';
//$db_file = ''; # used only for SQLite, provide full path to database file
//$db_debug = false; # show all SQL queries
//$db_layer = 'MDB2'; # or PDO
// Security settings
// This should be changed upon install
$session_key = 'yoursessionkey';
$password_encryption = 'md5'; // or md5salt
// Syslog usage - writes authentication attempts to syslog
// This facility could be used in combination with fail2ban to
// ban IPs with break-in attempts
$syslog_use = false;
$syslog_ident = 'poweradmin';
// On Windows usually only LOG_USER is available
$syslog_facility = LOG_USER;
The session is kept open until the browser gets closed or the logout button gets pressed. There is no explicit timeout settings available.
Code:
// Predefined DNS settings
$dns_hostmaster = '';
$dns_ns1 = '';
$dns_ns2 = '';
$dns_ttl = 86400;
$dns_fancy = false;
$dns_strict_tld_check = true;
// Timezone settings
//$timezone = 'UTC';
// Logging settings
// Syslog usage - writes authentication attempts to syslog
// This facility could be used in combination with fail2ban to
// ban IPs with break-in attempts
$syslog_use = false;
$syslog_ident = 'poweradmin';
// On Windows usually only LOG_USER is available
$syslog_facility = LOG_USER;
// PowerDNSSEC settings
$pdnssec_use = false;
$pdnssec_command = '/usr/bin/pdnssec';
?>
I know this is a little late and i am a little pissed that no one answered you much sooner!
Basically, you deleted your config.inc.php settings and only gave it enough info to connect to database.
You need to cd into your web root directory, add the session info along with other parameters to this file
"/inc/config.ini.php"
You wont find this in any documentation online but I went through the same issue as you and discovered it myself.
Basically the template came preloaded with the paramets so just copy and paste the template and only plug in the info you generated
during setup such as the example below:
Your config.inc.php should look as follows:
<?php
// Database settings
$db_host = 'yourlocalhost';
$db_user = 'youruser';
$db_pass = 'yourpassword';
$db_name = 'databasename';
$db_port = '3306';
$db_type = 'mysql';
$db_layer = 'PDO';
//$db_file = ''; # used only for SQLite, provide full path to database file
//$db_debug = false; # show all SQL queries
//$db_layer = 'MDB2'; # or PDO
// Security settings
// This should be changed upon install
$session_key = 'yoursessionkey';
$password_encryption = 'md5'; // or md5salt
// Syslog usage - writes authentication attempts to syslog
// This facility could be used in combination with fail2ban to
// ban IPs with break-in attempts
$syslog_use = false;
$syslog_ident = 'poweradmin';
// On Windows usually only LOG_USER is available
$syslog_facility = LOG_USER;
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.