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, 09:20:04

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 - Mansoor

Pages: [1]
1
Kloxo-MR Technical Helps / Re: Database Admin Missing
« on: 2019-11-12, 19:38:37 »
BTW this is output of reset-mysql-root-password script:

Code: [Select]
# sh /script/reset-mysql-root-password
Stop MySQL service...
MySQL ROOT password reset...
Start MySQL service...
191112 13:35:41 mysqld_safe A mysqld process already exists
Connect failed: Access denied for user 'root'@'localhost' (using password: YES)
[1]+  Done                    mysqld_safe --skip-grant-tables

2
Kloxo-MR Technical Helps / Database Admin Missing
« on: 2019-11-12, 19:18:02 »
i've installed kloxo-mr7 on Centos 6.9
i had problem with Mysql from start & tested almost any solution provided in forum & other tutorials i've found over internet. BTW i'm using mariadb, once i've switched to mysql but sadly lost even access to kloxo admin panel
So reverted back to mariadb.
After several things i've tried in forum, with entering command below, i've lost admin users of mysql too and now IDk how to fix this one.
Code: [Select]
mysqld --skip-grant-tables --user=mysql,
This is output of sysinfo script is just like below:

Code: [Select]
A. Control Panel:               
   - Kloxo-MR: 7.0.0.c-2019070501
   - Web: hiawatha-10.9.0-f.2.mr.el6.x86_64
   - PHP: php56s - 5.6.40-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.10 (Final) x86_64
   - Hostname: vm1105591707.bitcommand.com
C. Services:
   1. MySQL: MariaDB-server-10.0.38-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php71u-cli-7.1.33-1.el6.ius.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.40-1.ius.el6
          * php70m - 7.0.33-1.ius.el6
          * php71m - 7.1.33-1.el6.ius
      - Used: --PHP Branch--
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.9.0-f.2.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.47-2.el6.x86_64
     - Nginx: nginx-1.17.5-1.el6.ngx.x86_64
     - Apache: httpd24u-2.4.41-1.el6.ius.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: djbdns
     - Bind: bind-9.9.9-1.mr.el6.x86_64
     - DJBDns: djbdns-1.05-17.4.mr.el6.x86_64
     - NSD: nsd-4.2.2-1.el6.x86_64
     - PowerDNS: pdns-4.1.8-1.el6.MIND.x86_64
     - Yadifa: yadifa-2.2.5-1.mr.el6.x86_64
   6. Mail: qmail-toaster-1.03-1.3.57.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.57.mr.el6.x86_64
      - spam: bogofilter-1.2.4-1.el6.x86_64
   7. FTP: pure-ftpd
      - pure-ftpd: pure-ftpd-1.0.49-1.mr.el6.x86_64
   8. Stats: awstats
      - awstats: kloxomr-stats-awstats-7.7-1.mr.noarch
D. Memory:
             total       used       free     shared    buffers     cached
Mem:          2005        754       1251          0         43        379
-/+ buffers/cache:        331       1674
Swap:         4575          0       4575
E. Disk Space:
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
                      143G  4.4G  131G   4% /


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

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

3
sadly couldn't do the job at that time through your way so i did that using rewrite mode on .htaccess file.
thanks for your help anyway.

4
thanks again, i made the changes but it doesn't made any change in subdomain behaviour
maybe i made a mistake in copying file & path
i've did like this:

Code: [Select]
cp /opt/configs/apache/conf/domains/sub.domain.com.conf /opt/configs/apache/conf/customs/sub.domain.com.conf.Modified
is it correct or i misunderstood and did it in a wrong way?

one more thing, there is no "proxy_fcgi_event" in server php settings, i've selected "fcgid_event"

5
Thanks for your kind help and really sorry for my childish kind questions, i didn't take a nap drom couple of nights that's why maybe i ask some stupid questions.
this is my proxy block code in virtualhost:

Code: [Select]
<IfVersion >= 2.4>
                <IfModule mod_proxy_fcgi.c>
                        ProxyRequests Off
                        ProxyErrorOverride On
                        ProxyPass /error !
                        ErrorDocument 500 /error/500.html
                        <Proxy "unix:/opt/configs/php-fpm/sock/php-apache.sock|fcgi://localhost">
                                ProxySet timeout=300
                                ProxySet connectiontimeout=300
                                # need disablereuse=on for 'ondemand'
                                ProxySet disablereuse=on
                                ProxySet max=25
                                ProxySet retry=0
                        </Proxy>
                        <FilesMatch \.php$>
                                SetHandler proxy:fcgi://localhost
                        </FilesMatch>
                </IfModule>
        </IfVersion>

may you help me to do my changes in file?

what i need is:
sub.domain.tld to be pointed to myserver:660 without changing url in addressbar

thanks agin for your kind help

6
I'm on apache right now and since i can't change webserver at this point (several scripts are up and configured & i can't take risk of losing any of them) i think using apache method would be the best but i couldn't find a way to do so.

found this solution but i don't know where shoud i enter this, because httpd.conf doesn't look like what i've seen till now and also there are 3 different httpd.conf files in server in different paths:
Code: [Select]
<VirtualHost *:80>
    ServerAdmin me@mydomain.com
    ServerName dev.mydomain.com
    ProxyPreserveHost On

    # setup the proxy
    <Proxy *>
        Order allow,deny
        Allow from all
    </Proxy>
    ProxyPass / http://localhost:660/
    ProxyPassReverse / http://localhost:660/
</VirtualHost>

7
Hi
I have a centos 6.9 server with kloxo-mr7 installed and everything works like a charm but i have a problem, i have a service on port 660 and my senior said it has to be loaded on sub.domain.com without need of entering port number (if anybody enter sub.domain.com data should be loaded from myserver:660 without changing address bar url to 660 port)

what i did till now:
made sub.domain.com from kloxo panel
searched couple of days to find the solution and everywhere people suggested to setup in apache virtualhost but i couldn't find it anywhere in server (config files which includes virtualhost)

thanks for your kind help in advance

Pages: [1]

Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.033 seconds with 22 queries.

web stats analysis