MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: azzureal on 2016-04-02, 08:07:22
-
I reinstall kloxo mr on fresh server.
And then i restore server data.
1. Alert: Login Unsuccessful
2. 500 error.
[root@tiger ~]# sh /script/fixweb
- For help, type '/script/fixweb [--help|-h]'
- No argument supplied. Defaulting to localhost (master) servers
Fixing Web server config
*** Process Time: 00:00:00:00.483 (dd:hh:mm:ss:xxxxxx) ***
[root@tiger ~]#
fixweb didn't work, I quess.
[root@tiger ~]# sh /script/sysinfo
A. Control Panel:
- Kloxo-MR: 7.0.0.b-2016032701
- Web: hiawatha-10.1.0-f.6.mr.el6.x86_64
- PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
- OS: CentOS release 6.7 (Final) x86_64
- Hostname: tiger.hostingis.com
C. Services:
1. MySQL: MariaDB-server-10.0.24-1.el6.x86_64
2. PHP:
- Branch: php54-cli-5.4.45-1.ius.el6.x86_64
- Multiple:
* php52m-5.2.17-102.mr.el6
* php53m-5.3.29-1.ius.el6
* php54m-5.4.45-1.ius.el6
* php55m-5.5.33-1.ius.el6
* php56m-5.6.19-1.ius.el6
* php70m-7.0.4-1.w6
- Used: --Use PHP Branch--
3. Web Used:
- Hiawatha: --unused--
- Lighttpd: --uninstalled--
- Nginx: nginx-1.9.13-1.el6.ngx.x86_64
- Httpd: httpd-2.2.31-1.mr.el6.x86_64
- PHP Type: [unknown]
4. WebCache:
- ATS: --uninstalled--
- Squid: --uninstalled--
- Varnish: --uninstalled--
5. Dns:
- Bind: bind-9.9.7-1.mr.el6.x86_64
- DJBDns: --uninstalled--
- NSD: --uninstalled--
- PowerDNS: --uninstalled--
- Yadifa: --uninstalled--
6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
- pop3/imap4: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
-
Setting up again 'switch programs' (web, dns and etc) and also 'php type' in 'webserver configure'.
Also to make sure, run 'sh /script/fix-chownchmod'.
-
I can;t login to panel.
-
Did you run 'sh /script/upcp -y' for reinstall Kloxo-MR?. If yes, try login with 'admin' as user and 'admin' as 'password'.
Or try reset password 'sh /script/resetpassword master YOURPASSWORD'.
-
I can logged in on First time.
My db data was restored after fresh installation.
Now I can't log in.
I think 500 erroe will be fixed after fixweb, but fixweb isn't work properly.
-
If you restore for all data, you need resetting in 'switch programs' and 'webserver configure'. So, that why you found 'error 500'.
It's weird for can't login after restore.
-
I got it.
How can I login?
-
So try change login password with 'sh /script/restartpassword master YOURNEWPASSWORD'.
-
None affected.
[root@tiger lib]# sh /script/resetpassword master s123
Notice : The resource you have requested doesn't exist. The server returned the error message: <br> only_admin_can_modify_general nname <br>
-
Use this tricks:
1. Reinstall with new database
# rename kloxo database
mv -rf /var/lib/mysql/kloxo /var/lib/mysql/kloxoold
# reinstall KLoxo-MR
sh /script/upcp -y
2. Login to panel with 'admin' as 'user' and 'admin' as password
3. Restore from backup
4. Reset password via 'admin > password'
5. Resetting web and dns via 'switch programs' and 'php-type' via 'webserver configure'.
-
I reinstalled OS.
Now i moved domain's conf.
I need to make php-fpm.d/*.conf files and database for old server.
Please let me knoe how to process.
-
Configure automatically created with 'sh /script/cleanup'.
-
How can I load httpd.event?
now
|-dbus-daemon
|-hald-+-hald-runner-+-hald-addon-acpi
| | |-hald-addon-gene
| | `-hald-addon-inpu
| `-{hald}
|-httpd---5*[httpd] <====
|-irqbalance
|-kloxo-hiawatha---51*[{kloxo-hiawatha}]
|-6*[mingetty]
|-mysqld_safe---mysqld---6*[{mysqld}]
|-php
|-2*[php-fpm]
|-portreserve
-
I run cleanup but domain's php-fpm conf didn't created.
-
Go to 'admin > webserver configure' and then change in 'php type' to 'suphp' and then change back to 'php-fpm_event'. To make sure, run 'sh /script/fixphp; sh /script/fixweb; sh /script/restart-web -y'.
-
I think system is normal.
<?php
phpinfo();
?> not work
<?php
$a = 4+5;
echo $a;
?> work.
I don;t know what' problem
-
I think system is normal.
<?php
phpinfo();
?> not work
<?php
$a = 4+5;
echo $a;
?> work.
I don;t know what' problem
What's you mean 'not work'. Result phpinfo didn't appeared?.
-
Yes not appeared.
-
I run phpinfo by ssh, it is work.
But browser show balnk.
-
Try 'sh /script/fix-chownchmod' to fix ownership and permissions issue for files and directories. You can do also in 'webserver configure' and 'file manager' (click 'perms' for file or directory).
-
solved. Thanks very much.