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-03-28, 22:41:10

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.


Messages - mohsenrag

Pages: 1 [2] 3 4
16
WOW,
I checked same upload on other server, and 2nd server also had the same error.

Code: [Select]
Max Execution Time 180
Max Input Time  1200
Memory Limit 64M
Post Max Size 50M
Upload File Max Size 50M
Max Input Vars 3000

phpinfo is reachable here. also at the end of page there is some input to send file for test.


17
Max Execution Time 180
Max Input Time  1200
Memory Limit 64M
Post Max Size 50M
Upload File Max Size 50M
Max Input Vars 3000

phpinfo is reachable here. also at the end of page there is some input to send file for test.
http://portal.tehrannsr.org/test.php

18
I run a new server and install kloxo successfully. also install my script and every thing is ok but just when try to upload files more than 8MB, Upload by browser done but on refresh, I get Error 500.

I read many topic in this site. I did every thing and solutions to solve problems
fixowner
fixpermission
fixweb
change PHP branch
change PHP Type
Use Apache 2.4

restart-all successfully done with no error

Code: [Select]
sh /script/sysinfo -y
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016091501
   - Web: hiawatha-10.3.0-f.1.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: portal.tehrannsr.org
C. Services:
   1. MySQL: MariaDB-server-10.0.27-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php56u-cli-5.6.28-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.38-1.ius.el6
          * php56m-5.6.28-1.ius.el6
          * php70m-7.0.13-1.w6
      - Used: php56m-fpm
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.3.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.41-1.el6.x86_64
     - Nginx: nginx-1.11.6-1.el6.ngx.x86_64
     - Apache: httpd-2.2.31-1.mr.el6.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - 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.20.mr.el6.x86_64
      - smtp: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - spam: bogofilter-1.2.4-1.el6.x86_64
   7. Stats: awstats
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1877        511       1365          1         20        220
   -/+ buffers/cache:        270       1606
   Swap:         4031          0       4031
E. Disk Space:
   Filesystem            Size  Used Avail Use% Mounted on
   /dev/mapper/VolGroup-lv_root
                          45G  3.8G   39G   9% /


*** Process Time: 00:00:02:44.164809 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)

Log Error:
Code: [Select]
104.237.234.68 - - [30/Nov/2016:01:26:55 +0330] "GET / HTTP/1.1" 200 3069 "-" "-"
137.116.71.170 - - [30/Nov/2016:02:46:09 +0330] "GET /robots.txt HTTP/1.1" 200 25 "-" "CSS Certificate Spider (http://www.css-security.com/certificatespider/)"
79.181.137.92 - - [30/Nov/2016:08:14:33 +0330] "GET / HTTP/1.0" 200 3069 "-" "masscan/1.0 (https://github.com/robertdavidgraham/masscan)"

also keep-alive is enabled, post_max_size is 50MB

19
Kloxo-MR Technical Helps / Change some variable ini php
« on: 2016-07-19, 17:20:19 »
Hi,

For installation Active Collab it needs to something:

Error — max_execution_time is to be set more than 300 seconds.
Error — always_populate_raw_post_data is set to '0'
This option needs to be set to '-1' in PHP configuration file for Active Collab to work properly.
Warning — zlib.output_compression is turned off. Please turn it on for faster server/browser communication

for this max_execution_time , I changed from panel of admin and panel of user in php configure.

for always_populate_raw_post_data I use your procedure ::

1. Copy '/opt/configs/phpini/tpl/php.ini.tpl' ke custom.php.ini.tpl
2. Sisipkan 'always_populate_raw_post_data = -1' dibawah '[PHP]' di custom.php.ini.tpl
3. Disable 'display error' in 'php configure' untuk client terkait
4. Jalankan 'sh /script/fixphp; sh /script/restart-web -y'

with Thanks to Google translate ;)

for zlib.output_compression  using::
Pergi ke 'admin > servers > localhost > php configure'.
But it's not enable for change from panel.

and I get nothing for all of them.

20
Kloxo-MR Technical Helps / Re: Encoding problem after update
« on: 2016-07-19, 17:01:46 »
Thank u

Finally I convert sql dump file from windows-1252 to utf-8 and restore to database.

It solved.

21
Kloxo-MR Technical Helps / Re: Encoding problem after update
« on: 2016-07-18, 10:49:02 »
I checked it.
After all I restore the database dump file from one week ago,
But there still we have the problem with decode

22
Kloxo-MR Technical Helps / Re: Encoding problem after update
« on: 2016-07-18, 08:49:09 »
both are utf-8

/etc/php.ini
default_charset = "utf-8"

23
Kloxo-MR Technical Helps / Encoding problem after update
« on: 2016-07-18, 06:15:37 »
After update from 6.5 to 7.0 everything is ok, but in one of the website we have text in database like this:
سرویس ها

before update we see texts in browser correct for Persian language.
But after update we see it the same in browser.

24
sh /script/restart-all
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]
Stopping named:                                            [  OK  ]
Starting named:                                            [  OK  ]
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [FAILED]
Starting kloxo-hiawatha: Syntax error in hiawatha.conf on line 57.
                                                           [FAILED]
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]

25
I disable it and chkconfig off.

after last cleanup nothing work. even httpd cannot install

please help. I'm in a very bad critical situation

26
 service iptables restart
iptables: Setting chains to policy ACCEPT: nat mangle filte[  OK  ]
iptables: Flushing firewall rules:                         [  OK  ]
iptables: Unloading modules:                               [  OK  ]
iptables: No config file.                                  [WARNING]

27
It seems there is something wrong:

I found that I cannot ping ns1.techroom.ir from internet which it is my main dns...




sh /script/cleanup
Already use mysql55. No replace
*** Executing Update (cleanup) - BEGIN ***
Fix Database Issues
- Fix admin account database settings
- Set default database settings
- Fix resourceplan settings in database
- Alter some database tables to fit that of Kloxo
- Set default welcome text at Kloxo login page
- Remove default db password if exists
- Create flag dir
Fix IP Address
- Fix process
Fix Services
- Fix process
Create domain backup dirs
- Create process
- Create OS system user admin
- User admin exists
Set Watchdog defaults
- Set process
Fix MySQL root password
- Fix process
Set admin contact email
- Set process
Get Kloxo License info
- Get process
- Create database interface template (Forced)
ERROR 1045 (28000): Access denied for user 'kloxo'@'localhost' (using password: YES)
Fix Self SSL
- Fix process
Prepare for Kloxo
- OS Create Kloxo init.d service file
- OS Fix programroot path permissions
- OS Restart Kloxo service
Check for bogofilter
- wordlist.db already exists
Remove Old dirs
- Remove process
Initialize Some Binary files
- php-cgi binary already installed
- Symlink /usr/local/bin/php already exists
Remove lighttpd errorlog
- Remove process
Fix the secure logfile
- Fix process
Clean hosts.deny
- Clean process
Killing gettraffic system process
- Killing process
Update Services Branch List
- List for 'dns' branch
- List for 'dovecot' branch
- List for 'httpd' branch
- List for 'lighttpd' branch
- List for 'mysql' branch
- List for 'nginx' branch
- List for 'php' branch
- List for 'qmail' branch
Checking for rpm packages
- For autorespond-toaster package
- For courier-authlib-toaster package
- For courier-imap-toaster package
- For daemontools-toaster package
- For ezmlm-toaster package
- For libdomainkeys-toaster package
- For libsrs2-toaster package
- For maildrop-toaster package
- For qmail-pop3d-toaster package
- For qmail-toaster package
- For ripmime-toaster package
- For ucspi-tcp-toaster package
- For vpopmail-toaster package
- For fetchmail package
- For bogofilter package
- For spamdyke package
- For spamdyke-utils package
- For pure-ftpd package
- For php54 package
- For php54-mbstring package
- For php54-mysql package
- For php54-pear package
- For php54-pecl-geoip package
- For php54-pecl-imagick package
- For php54-gd package
- For php54-mcrypt package
- For php54-xml package
- For php54-bcmath package
- For php54-pgsql package
- For webalizer package
- For dos2unix package
- For rrdtool package
- For xinetd package
- For lxjailshell package
Initialize /script/ dir
- Initialize processes
Install Kloxo service
- Install process
Installing jailshell to system
- Already exists
Set /home permission to 0755
- Set process
- chown apache:apache FOR /home/kloxo/httpd/ AND INSIDE
- chmod 644 FOR *.php* INSIDE /home/kloxo/httpd/
- chmod 755 FOR *.pl* INSIDE /home/kloxo/httpd/
- chmod 755 FOR /home/kloxo/httpd/ AND INSIDE
- chmod 771 FOR /home/kloxo/httpd/
Enable xinetd service
- Enable process
Fix suexec
- Fix process
Install/Fix Services/Permissions/Configfiles
- Set permissions for /usr/bin/php-cgi
- Set permissions for closeinput binary
- Set permissions for phpsuexec.sh script
- Set permissions for /var/lib/php/session/ dir
- Set permissions for /var/bogofilter/ dir
- Kill sisinfoc system process
Execute/remove/initialize/install script
- Execute vpopmail.sh
- Remove /home/kloxo/httpd/script dir
- Initialize /home/kloxo/httpd/script dir
- Set ownership apache:apache for /home/kloxo/httpd/script dir
- Install phpinfo.php into /home/kloxo/httpd/script dir
Enable the correct drivers (Service daemons)
- Uninstall web__apache
- Uninstall web__lighttpd
- Uninstall web__nginx
Remove cache dir
- Remove process
Restart syslog service
- Restart process
Initialize awstats dirdata
- Initialize process
Update Kloxo database
- Updating process
Remove old lxlabs ssh key
- Remove process
Preparing MySQL/MariaDB service
- MySQL activated
Updating Core packages
- New httpd* lighttpd* nginx* hiawatha* version installed
- New mod_* mysql* mariadb* MariaDB* php* version installed
- New bind* djbdns* maradns* pdns* nsd* version installed
- New pure-ftpd* *-toaster bogofilter version installed
- New kloxomr-webmail-*.noarch version installed
- New kloxomr-addon-*.noarch version installed
- New kloxomr-editor-*.noarch version installed
- New kloxomr-thirdparty-*.noarch version installed
Preparing some services again
- qmail enabled and restart queue
Add 'hostname' information to '/etc/hosts'
- Add ip, short and full name of 'hostname'
Initialize some skeletons
- Php files for default web page
- Skeleton for default web page
- Php files for disable web page
- Skeleton for disable web page
- Php files for webmail web page
- Skeleton for webmail web page
- Php files for cp web page
- Skeleton for cp web page
- chown apache:apache FOR /home/kloxo/httpd/ AND INSIDE
- chmod 644 FOR *.php* INSIDE /home/kloxo/httpd/
- chmod 755 FOR *.pl* INSIDE /home/kloxo/httpd/
- chmod 755 FOR /home/kloxo/httpd/ AND INSIDE
- chmod 771 FOR /home/kloxo/httpd/
- Php files for login web page
- Skeleton for login web page
- No exists user-skeleton
- No exists user-logo
Initialize phpMyAdmin configfile
- phpMyAdmin: Set db password in configfile
Initialize OS admin account description
- Initialize process
Copy all contents of bind
- Copy /usr/local/lxlabs/kloxo/file/bind to /home/bind
- Copy /home/bind/etc/conf/named.conf to /etc//named.conf
Copy all contents of djbdns
- Copy /usr/local/lxlabs/kloxo/file/djbdns to /home/djbdns
Initialize apache config
- /etc/httpd/conf.d dir already exists
- /home/apache/tpl dir already exists
- /home/apache/conf dir already exists
- /home/apache/etc dir already exists
- /home/apache/etc/conf dir already exists
- /home/apache/etc/conf.d dir already exists
Copy all contents of apache
- Copy /usr/local/lxlabs/kloxo/file/apache to /home/apache
- Copy /home/apache/etc/conf/httpd.conf to /etc/httpd/conf/httpd.conf
- Copy /home/apache/etc/conf.d/~lxcenter.conf to /etc/httpd/conf.d/~lxcenter.conf
- Copy /home/apache/etc/conf.d/ssl.conf to /etc/httpd/conf.d/ssl.conf
- Copy /home/apache/etc/conf.d/__version.conf to /etc/httpd/conf.d/__version.conf
- chown root:root FOR /home/apache/ AND INSIDE
- chmod 755 FOR *.sh INSIDE /home/apache/
Initialize lighttpd config
- /etc/lighttpd/conf.d dir already exists
- /home/lighttpd/tpl dir already exists
- /home/lighttpd/conf dir already exists
- /home/lighttpd/etc dir already exists
- /home/lighttpd/etc/conf dir already exists
- /home/lighttpd/etc/conf.d dir already exists
Copy all contents of lighttpd
- Copy /usr/local/lxlabs/kloxo/file/lighttpd to /home/lighttpd
- Copy /home/lighttpd/etc/conf/lighttpd.conf to /etc/lighttpd/lighttpd.conf
- Copy /home/lighttpd/etc/conf.d/~lxcenter.conf to /etc/lighttpd/conf.d/~lxcenter.conf
- Copy /home/lighttpd/etc/conf.d/ssl.conf to /etc/lighttpd/conf.d/ssl.conf
- chown root:root FOR /home/lighttpd/ AND INSIDE
- chmod 755 FOR *.sh INSIDE /home/lighttpd/
Initialize nginx config
- /etc/nginx/conf.d dir already exists
- /home/nginx/tpl dir already exists
- /home/nginx/conf dir already exists
- /home/nginx/etc dir already exists
- /home/nginx/etc/conf dir already exists
- /home/nginx/etc/conf.d dir already exists
Copy all contents of nginx
- Copy /usr/local/lxlabs/kloxo/file/nginx to /home/nginx
- Copy /home/nginx/etc/conf/nginx.conf to /etc/nginx/nginx.conf
- Copy /home/nginx/etc/conf.d/~lxcenter.conf to /etc/nginx/conf.d/~lxcenter.conf
- chown root:root FOR /home/nginx/ AND INSIDE
- chmod 755 FOR *.sh INSIDE /home/nginx/
- Install /etc/php-fpm.conf
- Copy php-fpm init to /etc/init.d dir
Initialize PureFtp service
- Initialize process
- Restart xinetd service for pureftp
Initialize logrotate
Preparing RoundCube database
- Fixing MySQL commands in import files
- Generating password
- Add Password to configuration file
- Could not grant privileges. Script Abort
*** Restart services - BEGIN ***
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]
Stopping named: .                                          [  OK  ]
Starting named:                                            [  OK  ]
Stopping Hiawatha web server:                              [FAILED]
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [FAILED]
Starting kloxo-hiawatha: Syntax error in hiawatha.conf on line 57.
                                                           [FAILED]
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
*** Restart services - END ***

Process Time: 00:00:00:56.56153 (dd:hh:mm:ss:xxxxxx)
[root@server1 sysconfig]# ^C
[root@server1 sysconfig]# nano /usr/local/lxlabs/kloxo/init/hiawatha.conf.base
[root@server1 sysconfig]# sh /script/restart
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [FAILED]
Starting kloxo-hiawatha: Syntax error in hiawatha.conf on line 57.
                                                           [FAILED]

28
 cat /usr/local/lxlabs/kloxo/init/hiawatha.conf
# Hiawatha main configuration file
#

ServerString = Hiawatha for Kloxo-MR

ServerId = lxlabs
ConnectionsTotal = 2048
ConnectionsPerIP = 64
SystemLogfile = /usr/local/lxlabs/kloxo/log/hiawatha-system.log
GarbageLogfile = /usr/local/lxlabs/kloxo/log/hiawatha-garbage.log

MaxUrlLength = 65536

PIDfile = /var/run/kloxo-hiawatha.pid

BanOnGarbage = 300
BanOnMaxPerIP = 60
BanOnMaxReqSize = 300
KickOnBan = yes
RebanDuringBan = yes

ThreadPoolSize = 50

#CGIhandler = /opt/php52s/bin/php-cgi:php
#ExecuteCGI = yes
WaitForCGI = yes

FastCGIserver {
        FastCGIid = PHP5
        ConnectTo = /usr/local/lxlabs/kloxo/init/kloxo-phpcgi.sock
        Extension = php
}

MimetypeConfig = hiawatha-mimetype.conf

Binding {
        BindingId = port_nonssl
        Port = 7778
        #Interface = 0.0.0.0
        MaxKeepAlive = 3600
        TimeForRequest = 3600
        MaxRequestSize = 102400
        ## not able more than 100MB; hiawatha-9.3-2 able until 2GB
        MaxUploadSize = 2000
}

Binding {
        BindingId = port_ssl
        Port = 7777
        #Interface = 0.0.0.0
        MaxKeepAlive = 3600
        TimeForRequest = 3600
        MaxRequestSize = 102400
        ## not able more than 100MB; hiawatha-9.3-2 able until 2GB
        MaxUploadSize = 2000
        #RequiredCA = /usr/local/lxlabs/kloxo/etc/program.ca
        SSLcertFile = /usr/local/lxlabs/kloxo/etc/program.pem
}

Hostname = 0.0.0.0
WebsiteRoot = /usr/local/lxlabs/kloxo/httpdocs
StartFile = index.php
AccessLogfile = /usr/local/lxlabs/kloxo/log/hiawatha-access.log
ErrorLogfile = /usr/local/lxlabs/kloxo/log/hiawatha-error.log

UseFastCGI = PHP5

TimeForCGI = 3600
ErrorHandler = 401:/error/401.html
ErrorHandler = 403:/error/403.html
#ErrorHandler = 404:/error/404.html
ErrorHandler = 404:/htmllib/lbin/sitepreview.php
ErrorHandler = 501:/error/501.html
ErrorHandler = 503:/error/503.html

VirtualHost {
        #RequiredBinding = port7777
        RequireSSL = yes

        Hostname = 0.0.0.0
        WebsiteRoot = /usr/local/lxlabs/kloxo/httpdocs
        StartFile = index.php
        AccessLogfile = /usr/local/lxlabs/kloxo/log/hiawatha-access.log
        ErrorLogfile = /usr/local/lxlabs/kloxo/log/hiawatha-error.log

        ## MR -- disable this UseFastCGI with # in front and create blank '/usr/local/lxlabs/kloxo/init/kloxo_use_php-cgi' file
        ## if want use php-cgi without spawn-fcgi (less memory usage)
        UseFastCGI = PHP5

        TimeForCGI = 3600
        ErrorHandler = 401:/error/401.html
        ErrorHandler = 403:/error/403.html
        #ErrorHandler = 404:/error/404.html
        ErrorHandler = 404:/htmllib/lbin/sitepreview.php
        ErrorHandler = 501:/error/501.html
        ErrorHandler = 503:/error/503.html
}

29
 sh /script/restart-all
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]
Stopping named: .                                          [  OK  ]
Starting named:                                            [  OK  ]
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [FAILED]
Starting kloxo-hiawatha: Syntax error in hiawatha.conf on line 57.
                                                           [FAILED]
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]

30
Hi,
I had to install soap in php. I did and my sites could not reach databases. so I removes soap and I have nothing.

I tried to use fixweb, fixdns, fixmysql and so on.
When I use sh cleanup, everything was damaged.

I set hiawatha off and httpd on. stop hiawatha and start httpd.
Right now when I trying to reach admin woth 7778 or 7777 I get

Quote
This site can’t be reached
149.202.20.238 took too long to respond.

and every domains goes to page:
Quote
If you are seeing this page, it means that web has not been configured for this domain on this server.

This could be due to the following causes:
Kloxo has not restarted the web server yet after you added the domain. Please wait for the web server to restart.
 
The domain is pointing to the wrong Kloxo server. Ping the domain and make sure that the IP matches one of the IPaddress seen in admin home -> ipaddresses
...

I'm in a critical status.

Quote
sh sysinfo

A. Kloxo-MR: 6.5.0.f-2015083001

B. OS: CentOS release 6.7 (Final) i686

C. Apps:
   1. MySQL: mysql55-5.5.50-1.ius.el6.i686
   2. PHP: php54-5.4.45-1.ius.el6.i686
   3. Httpd: httpd-2.2.31-1.mr.el6.i386
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.i386
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.i386
   7. Dns: bind-9.9.7-1.mr.el6.i386

D. Php-type (for Httpd/proxy):

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1024        183        840          3          0         50
   -/+ buffers/cache:        133        890
   Swap:           32          0         32


critical status... please help

Thanks in advance

Pages: 1 [2] 3 4

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

Page created in 0.086 seconds with 17 queries.

web stats analysis