Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-05-16, 01:27:37

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Spacedust

Pages: 1 ... 70 71 [72] 73
1066
Kloxo-MR Technical Helps / 403 Error on all customer domain
« on: 2013-02-27, 03:46:59 »
I've checked all and seems all nginx and apache configs are ok but I got 403 Errors on all this customer domains.

Code: [Select]
/script/fixweb --client=clientname
didn't helped.

1067
How to set timeouts to see such error:

Code: [Select]
PHP Maximum execution time of 120 seconds exceeded
instead of white page or Internal Server Error when using nginxproxy + Apache + php_fpm_event ?

1068
I'm using PHP 5.4.12 from remi-repo because he's got tons of additional modules.

In Kloxo I've selected just standard php. The only problem is when I set php 5.2 with this:

Code: [Select]
AddHandler x-httpd-php52 .php
it displays Internal Server Error 500.

I was testing on clean domain so permissions for suphp is not an issue.

Mustafa can you help me with this ?

I think it's related to _default.conf which should have all users for suphp...

1069
Kloxo-MR Technical Helps / Error 500 after logging to Kloxo
« on: 2013-02-18, 22:50:24 »
I found a weird issue when I clear temporary files, cookies etc. in my browser and I forgot to logout of Kloxo then after logging in I got Error 500 Internal Server Error.

I've runned /script/upcp and then stopped this when it was on /script/fixweb because Kloxo was already working good.

How to fix this ?

1070
Kloxo-MR Releases / [FIXED] Critical bug in Kloxo-MR
« on: 2013-02-15, 07:03:09 »
When user is deleted from Kloxo-MR files inside /etc/php-fpm.d remains causing php-fpm fail to start and all PHP pages are down !

1072
This is my 100 request for the same...

Stop errors and warnings inside phpMyAdmin

/usr/local/lxlabs/kloxo/httpdocs/thirdparty/phpMyAdmin/main.php

Code: [Select]
/**
 * Warning about different MySQL library and server version
 * (a difference on the third digit does not count).
 * If someday there is a constant that we can check about mysqlnd, we can use it instead
 * of strpos().
 * If no default server is set, PMA_DBI_get_client_info() is not defined yet.
 * Drizzle can speak MySQL protocol, so don't warn about version mismatch for Drizzle servers.
 */
//if (function_exists('PMA_DBI_get_client_info') && !PMA_DRIZZLE) {
//    $_client_info = PMA_DBI_get_client_info();
//    if ($server > 0 && strpos($_client_info, 'mysqlnd') === false && substr(PMA_MYSQL_CLIENT_API, 0, 3) != substr(PMA_MYSQL_INT_VERSION, 0, 3)) {
//        trigger_error(
//            PMA_sanitize(
//                sprintf(
//                    __('Your PHP MySQL library version %s differs from your MySQL server version %s. This may cause unpredictable behavior.'),
//                    $_client_info,
//                    substr(
//                        PMA_MYSQL_STR_VERSION,
//                        0,
//                        strpos(PMA_MYSQL_STR_VERSION . '-', '-')
//                    )
//                )
//            ),
//            E_USER_NOTICE
//        );
//    }
//    unset($_client_info);
//}

import file /usr/local/lxlabs/kloxo/httpdocs/thirdparty/setup/scripts/create_tables.sql via phpMyAdmin directly - this will create database phpmyadmin itself.

In /usr/local/lxlabs/kloxo/httpdocs/thirdparty/config.inc.php file:

Code: [Select]
/* User for advanced features */
 $cfg['Servers'][$i]['controluser'] = 'root';
 $cfg['Servers'][$i]['controlpass'] = 'somepassword';
/* Advanced phpMyAdmin features */
 $cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
 $cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
 $cfg['Servers'][$i]['relation'] = 'pma_relation';
 $cfg['Servers'][$i]['table_info'] = 'pma_table_info';
 $cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
 $cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
 $cfg['Servers'][$i]['column_info'] = 'pma_column_info';
 $cfg['Servers'][$i]['history'] = 'pma_history';
 $cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
 $cfg['Servers'][$i]['recent'] = 'pma_recent';
 $cfg['Servers'][$i]['table_uiprefs'] = 'pma_table_uiprefs';
 $cfg['Servers'][$i]['tracking'] = 'pma_tracking';
 $cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';

1073
Kloxo-MR Technical Helps / How to hide php and nginx version
« on: 2013-02-10, 21:19:24 »
How to hide this ?

Quote
[root@server /]# curl -s --head domain.com
HTTP/1.1 200 OK
Server: nginx/1.3.12
Date: Sun, 10 Feb 2013 15:20:53 GMT
Content-Type: text/html
Connection: keep-alive
X-Powered-By: PHP/5.4.11
Cache-Control: public

1074
Kloxo-MR Technical Helps / How to fix all webmail
« on: 2013-02-10, 02:06:52 »
/script/fixwebmail doesn't fix all files...

Code: [Select]
[root@nowosci ~]# /script/fixwebmail
Preparing Horde database
- Fix MySQL commands in import files of Horde
cp: cannot stat on `/home/kloxo/httpd/webmail/horde/scripts/sql/horde_groupware.mysql.sql': No such file or directory
cp: cannot stat on `/home/kloxo/httpd/webmail/horde/config/horde_conf.php': No such file or directory
- Generating password
- Add password to configuration file
- Database installed
Preparing RoundCube database
- Fixing MySQL commands in import files
cp: cannot stat on `/home/kloxo/httpd/webmail/roundcube/SQL/roundcube_mysql.initial.sql': No such file or directory
cp: cannot stat on `/home/kloxo/httpd/webmail/roundcube/config/roundcube_main.inc.php': No such file or directory
cp: cannot stat on `/home/kloxo/httpd/webmail/roundcube/config/roundcube_db.inc.php': No such file or directory
- Generating password
- Add Password to configuration file
- Database installed
Preparing T-Dah Database
- No need database
cp: cannot stat on `/home/kloxo/httpd/webmail/t-dah/inc/config/t-dah_config.mail.php': No such file or directory
cp: cannot stat on `/home/kloxo/httpd/webmail/t-dah/inc/config/t-dah_config.paths.php': No such file or directory
cp: cannot stat on `/home/kloxo/httpd/webmail/t-dah/inc/config/t-dah_config.php': No such file or directory
Preparing Afterlogic database
- Fixing MySQL commands in import files
sh: /home/kloxo/httpd/webmail/afterlogic/data/settings/afterlogic_initial.sql: No such file or directory
cp: cannot stat on `/home/kloxo/httpd/webmail/afterlogic/data/settings/afterlogic_settings.xml': No such file or directory
- Generating password
- Add Password to configuration file
- Database installed
Preparing Squirrelmail Database
- No need database
Install Webmail chooser
- Install process

1076
Even if I check: "Log me on automatically each visit"

I have to enter login and password each time. Please fix this.

1077
When I got into webmail.domain.com I got a RoundCube error:

"WebMail is not configured properly."

Running /script/fixwebmail didn't helped.

1078
I got Varnish on port 80 and Apache on port 8080.

How configure mod_rpaf2 properly ?

This config doesn't work:

Quote
### MR -- read /usr/local/lxlabs/kloxo/file/apache/conf.d/rpaf.conf.original for full description ###

LoadModule rpaf_module modules/mod_rpaf-2.0.so

RPAFenable      On
RPAFsethostname On
# RPAFproxy_ips   127.0.0.1:30080
RPAFproxy_ips   127.0.0.1:8080
RPAFheader      X-Forwarded-For
# RPAFheader      X-Real-IP

Probably because it's enabled twice in /etc/httpd/conf.d/rpaf.conf and /home/apache/etc/conf.d/rpaf.conf:

Code: [Select]
[Fri Jan 04 21:36:08 2013] [warn] module rpaf_module is already loaded, skipping

1079
I did this:

Code: [Select]
1. copy '/home/apache/tpl/domains.conf.tpl' to '/home/apache/tpl/custom.domains.conf.tpl' and '/home/apache/tpl/defaults.conf.tpl' to '/home/apache/tpl/custom.defaults.conf.tpl'
2. edit custom.* files in portion:
Code: [Select all] [Show/ hide]

if ($reverseproxy) {
    $ports[] = '30080';
    $ports[] = '30443';
} else {
    $ports[] = '80';
    $ports[] = '443';
}


for '80' and '443' to another port where varnish call apache.
3. run 'sh /script/fixweb' and 'service httpd restart'

but it shows this:

Code: [Select]
(98)Address already in use: make_sock: could not bind to address [::]:8080
                                                           [FAILED]

There is nothing on port 8080:

Code: [Select]
[root@ks391381 /]# lsof -i :8080
[root@ks391381 /]#

1080
Kloxo-MR Technical Helps / Kloxo warnings
« on: 2013-01-02, 18:11:23 »
How to get rid of these:

Quote
Filesystem  /var/lib/mysql (/dev/md3) on localhost is using 89%

Pages: 1 ... 70 71 [72] 73

Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.049 seconds with 18 queries.

web stats analysis