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-08, 20:43:24

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

Pages: [1] 2
1
Kloxo-MR Technical Helps / Re: php55m php 5.5.36 curl module
« on: 2016-06-10, 18:04:20 »
Yah I've run that command a few times. It seems to run successfully. It installs all versions up to php55s, after that it can't find anything else to do. Says no packages for the rest:

Code: [Select]
=== BEGIN 'php56m' install ===
- No PHP packages exists. Only detecting 'php56u', 'php56' or 'php56w'. Exit

=== BEGIN 'php56s' install ===
- No PHP packages exists. Only detecting 'php56u', 'php56' or 'php56w'. Exit

=== BEGIN 'php70m' install ===
- No PHP packages exists. Only detecting 'php70u', 'php70' or 'php70w'. Exit

=== BEGIN 'php70s' install ===
- No PHP packages exists. Only detecting 'php70u', 'php70' or 'php70w'. Exit

[root@dedicated ~]#

I attempted to remove php-common-5.3.3 and then install php55w-common, but I still had the same Requires: libcurl.so.3()(64bit) error. Then I manually reinstalled php-common-5.3.3, however now I've got server 500 errors for all domains. So it's really messed now. lol.

This isn't the only issue I've had since the update. I also can't access webmail; I get a storage connection failure. And I can't get my owncloud to work anymore that I installed with my instructions here: https://forum.mratwork.com/kloxo-mr-technical-helps/owncloud-install-transaction-check-error/msg45819/#msg45819. Apache won't start when I have the conf enabled.

And it reset all the SSL Certs I had uploaded manually and I can't seem to find where Kloxo's httpd.conf (or whatever conf it is using) to update change it back.

And lastly all the el5 packages that are installed on my el6 system from your repo. I don't think that's correct at all, and is probably going to cause problems down the road:

Code: [Select]
[root@dedicated php.d]# rpm -qa | grep el5
qmail-toaster-1.03-1.3.55.mr.el5.x86_64
libedit-20090923-3.0_1.el5.rf.x86_64
pure-ftpd-1.0.37-1.mr.el5.x86_64
libsrs2-toaster-1.0.18-1.3.7.mr.el5.x86_64
http-parser-2.0-6.20121128gitcd01361.el5.x86_64
m4-1.4.16-1.mr.el5.x86_64
bind-libs-9.9.7-1.mr.el5.x86_64
daemontools-toaster-0.76-1.3.7.mr.el5.x86_64
vpopmail-toaster-5.4.33-1.4.4.mr.el5.x86_64
http-parser-devel-2.0-6.20121128gitcd01361.el5.x86_64
autoconf26x-2.63-4.ius.el5.noarch
bind-utils-9.9.7-1.mr.el5.x86_64
ezmlm-toaster-0.53.324-1.3.9.mr.el5.x86_64
ucspi-tcp-toaster-0.88-1.3.12.mr.el5.x86_64
nginx-1.11.1-1.el5.ngx.x86_64
hiawatha-10.3.0-f.1.mr.el5.x86_64
GeoIP-1.6.5-2.el5.x86_64
libdomainkeys-toaster-0.68-1.3.7.mr.el5.x86_64
mysqlclient15-5.0.92-3.ius.el5.x86_64
autorespond-toaster-2.0.5-1.4.2.mr.el5.x86_64
qmail-pop3d-toaster-1.03-1.3.55.mr.el5.x86_64
nsd-4.1.9-1.mr.el5.x86_64
[root@dedicated php.d]#


It's too bad because I really like Kloxo.

Maybe a fresh install of Kloxo 7 would work. I might give it a try.

I don't think my server is salvageable.

EDIT: Fixed the 500 errors by changing from Apache to Nginx and then back to Apache in the Switch Program section of the panel.

2
Kloxo-MR Technical Helps / Re: php55m php 5.5.36 curl module
« on: 2016-06-10, 17:32:34 »
Well crap. Yeah clearly my server is messed up. I guess a format is in order. Damn it.

Really regretting upgrading from 6.5 to 7.0 now. lol.

3
Kloxo-MR Technical Helps / Re: php55m php 5.5.36 curl module
« on: 2016-06-10, 16:56:50 »
Hi MRatWork! Thanks for the reply.

The ini file is being loaded, as when I go to my server's phpinfo page I can see the ini in the list;

Code: [Select]
/opt/php55m/etc/php.d/bcmath.ini, /opt/php55m/etc/php.d/bz2.ini, /opt/php55m/etc/php.d/calendar.ini, /opt/php55m/etc/php.d/ctype.ini, /opt/php55m/etc/php.d/curl.ini, /opt/php55m/etc/php.d/dom.ini, /opt/php55m/etc/php.d/exif.ini, /opt/php55m/etc/php.d/fileinfo.ini, /opt/php55m/etc/php.d/ftp.ini, /opt/php55m/etc/php.d/gd.ini, /opt/php55m/etc/php.d/gearman.ini, /opt/php55m/etc/php.d/geoip.ini, /opt/php55m/etc/php.d/gettext.ini, /opt/php55m/etc/php.d/gmp.ini, /opt/php55m/etc/php.d/iconv.ini, /opt/php55m/etc/php.d/igbinary.ini, /opt/php55m/etc/php.d/imap.ini, /opt/php55m/etc/php.d/intl.ini, /opt/php55m/etc/php.d/json.ini, /opt/php55m/etc/php.d/ldap.ini, /opt/php55m/etc/php.d/mbstring.ini, /opt/php55m/etc/php.d/mcrypt.ini, /opt/php55m/etc/php.d/mysqlnd.ini, /opt/php55m/etc/php.d/mysqlnd_mysql.ini, /opt/php55m/etc/php.d/mysqlnd_mysqli.ini, /opt/php55m/etc/php.d/pdo.ini, /opt/php55m/etc/php.d/pdo_mysqlnd.ini, /opt/php55m/etc/php.d/pdo_sqlite.ini, /opt/php55m/etc/php.d/phar.ini, /opt/php55m/etc/php.d/posix.ini, /opt/php55m/etc/php.d/pspell.ini, /opt/php55m/etc/php.d/recode.ini, /opt/php55m/etc/php.d/shmop.ini, /opt/php55m/etc/php.d/simplexml.ini, /opt/php55m/etc/php.d/snmp.ini, /opt/php55m/etc/php.d/soap.ini, /opt/php55m/etc/php.d/sockets.ini, /opt/php55m/etc/php.d/sysvmsg.ini, /opt/php55m/etc/php.d/sysvsem.ini, /opt/php55m/etc/php.d/sysvshm.ini, /opt/php55m/etc/php.d/tidy.ini, /opt/php55m/etc/php.d/tokenizer.ini, /opt/php55m/etc/php.d/xml.ini, /opt/php55m/etc/php.d/xml_wddx.ini, /opt/php55m/etc/php.d/xmlreader.ini, /opt/php55m/etc/php.d/xmlrpc.ini, /opt/php55m/etc/php.d/xmlwriter.ini, /opt/php55m/etc/php.d/xsl.ini, /opt/php55m/etc/php.d/z-memcached.ini, /opt/php55m/etc/php.d/zip.ini

curl.ini is the fourth on the list: /opt/php55m/etc/php.d/curl.ini. However even with the curl.ini loading and it having 'extension=curl.so', the Curl module doesn't load as it isn't referenced in the output of "php55m-cli -m" nor is the block of curl info present on the phpinfo page.

I do have "PHP used" set to one of the multiple ones; currently it is set to php55m. And when I check my domains, I do see that it is indeed running that version.

The 'php55m-cli -v' commands do work, as I listed the output of '-v' and '-m' in my first post on this issue.

EDIT:
I feel like it has something to do with:
Code: [Select]
[root@dedicated ~]# yum install php55w-common
Loaded plugins: fastestmirror, priorities, protectbase, replace
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.us.leaseweb.net
 * epel: ftp.osuosl.org
 * extras: mirror.us.leaseweb.net
 * mratwork-ius-stable: mirror.symnds.com
 * mratwork-remi-php56: remi.check-update.co.uk
 * mratwork-webtatic: us-east.repo.webtatic.com
 * rpmforge: mirror.us.leaseweb.net
 * rpmforge-extras: mirror.us.leaseweb.net
 * updates: mirror.us.leaseweb.net
0 packages excluded due to repository protections
Resolving Dependencies
--> Running transaction check
---> Package php55w-common.x86_64 0:5.5.36-1.w5 will be installed
--> Processing Dependency: libcurl.so.3()(64bit) for package: php55w-common-5.5.36-1.w5.x86_64
--> Processing Conflict: php55w-common-5.5.36-1.w5.x86_64 conflicts php-common < 5.5.0
--> Finished Dependency Resolution
Error: php55w-common conflicts with php-common-5.3.3-47.el6.x86_64
Error: Package: php55w-common-5.5.36-1.w5.x86_64 (mratwork-webtatic)
           Requires: libcurl.so.3()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@dedicated ~]#
Isn't php55w-common needed for Curl and a lot of the other standard stuff? The error I outlined in my second post leads me to believe that php55w-common can't install and so I am missing some libraries for curl to work properly, hence why it is missing from the output of -m and phpinfo even with the ini loading.

4
Kloxo-MR Technical Helps / Re: php55m php 5.5.36 curl module
« on: 2016-06-10, 00:49:35 »
Wanted to add more information I found out.:

I'm not able to switch the php branch in the panel, so I tried to run the command manually: 'yum replace php-cli --replace-with=php55w-cli'. When I do that I get the following error. Seems related to the curl issue:

Code: [Select]
[root@dedicated yum.repos.d]# yum replace php-cli --replace-with=php55w-cli
Loaded plugins: fastestmirror, priorities, protectbase, replace
Replacing packages takes time, please be patient...
Loading mirror speeds from cached hostfile
 * base: mirror.us.leaseweb.net
 * extras: mirror.us.leaseweb.net
 * mratwork-ius-stable: mirror.symnds.com
 * mratwork-webtatic: us-east.repo.webtatic.com
 * updates: mirror.us.leaseweb.net
0 packages excluded due to repository protections

WARNING: Unable to resolve all providers: ['config(php-common)', 'php-common(x86-64)', 'php-cli(x86-64)', 'config(php-fpm)', 'php-fpm(x86-64)']

This may be normal depending on the package.  Continue? [y/N] y
Resolving Dependencies
--> Running transaction check
---> Package php-cli.x86_64 0:5.3.3-47.el6 will be erased
---> Package php-common.x86_64 0:5.3.3-47.el6 will be erased
---> Package php-fpm.x86_64 0:5.3.3-47.el6 will be erased
---> Package php55w-cli.x86_64 0:5.5.36-1.w5 will be installed
---> Package php55w-common.x86_64 0:5.5.36-1.w5 will be installed
--> Processing Dependency: libcurl.so.3()(64bit) for package: php55w-common-5.5.36-1.w5.x86_64
---> Package php55w-fpm.x86_64 0:5.5.36-1.w5 will be installed
--> Finished Dependency Resolution
Error: Package: php55w-common-5.5.36-1.w5.x86_64 (mratwork-webtatic)
           Requires: libcurl.so.3()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@dedicated yum.repos.d]#

However libcurl seems to be installed already:
Code: [Select]
[root@dedicated yum.repos.d]# yum install libcurl
Loaded plugins: fastestmirror, priorities, protectbase, replace
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.us.leaseweb.net
 * extras: mirror.us.leaseweb.net
 * mratwork-ius-stable: mirror.symnds.com
 * mratwork-webtatic: us-east.repo.webtatic.com
 * updates: mirror.us.leaseweb.net
0 packages excluded due to repository protections
Package libcurl-7.19.7-52.el6.x86_64 already installed and latest version
Nothing to do
[root@dedicated yum.repos.d]#

5
Kloxo-MR Technical Helps / php55m php 5.5.36 curl module
« on: 2016-06-09, 23:48:58 »
Hey all,

I recently upgraded from 6.5.0.f to 7.0.0.b and had a hell of a time getting everything working again. But alas it looks like it is coming together except for 1 thing.

I can't get the curl php module to work with php55m.

If I load phpinfo curl.ini is loaded, but the extension isn't. The output on the command line doesn't list it either:

Code: [Select]
[root@dedicated /]# php55m-cli -v
PHP 5.5.36 (cli) (built: May 28 2016 13:28:32)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
[root@dedicated /]#
[root@dedicated /]# php55m-cli -m
[PHP Modules]
bcmath
bz2
calendar
Core
ctype
date
dom
ereg
exif
fileinfo
filter
ftp
gd
gearman
geoip
gettext
gmp
hash
iconv
igbinary
intl
json
ldap
libxml
mbstring
memcached
mhash
mysql
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
pspell
readline
recode
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
zip
zlib

[Zend Modules]

[root@dedicated /]#

If I just run "php -m" on the command line it is listed:
Code: [Select]
[root@dedicated /]# php -v
PHP 5.3.3 (cli) (built: May 10 2016 21:39:50)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
[root@dedicated /]#
[root@dedicated /]# php -m
[PHP Modules]
bz2
calendar
Core
ctype
curl
date
ereg
exif
fileinfo
filter
ftp
gettext
gmp
hash
iconv
json
libxml
openssl
pcntl
pcre
Phar
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
standard
tokenizer
xml
zip
zlib

[Zend Modules]

[root@dedicated /]#

Any ideas how I can get this working? I'm trying to install a php application that requires it.

Sysinfo output:
Code: [Select]
[root@dedicated /]# sh /script/sysinfo
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016060903
   - Web: hiawatha-10.3.0-f.1.mr.el5.x86_64
   - PHP: php54s-5.4.45-1.ius.el5 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: ****************
C. Services:
   1. MySQL: MariaDB-server-10.0.25-1.x86_64
   2. PHP:
      - 'Branch' installed: php-cli-5.3.3-47.el6.x86_64
      - 'Multiple' installed:
        * php52m-5.2.17-102.mr.el5
        * php53m-5.3.29-1.ius.el5
        * php54m-5.4.45-1.ius.el5
        * php55m-5.5.36-1.w5
        * php56m-
        * php70m-
      - 'Used' selected: php55m-fpm
      - 'Multiple' status: disable
   3. Web Used: apache
     - Hiawatha: --unused--
     - Lighttpd: --uninstalled--
     - Nginx: --uninstalled--
     - Httpd: httpd-2.2.31-1.mr.el5.x86_64
       - PHP Type: php-fpm_event
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: nsd
     - Bind: --uninstalled--
     - DJBDns: --uninstalled--
     - NSD: nsd-4.1.9-1.mr.el5.x86_64
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el5.x86_64
      - spam: bogofilter-1.2.4-1.el6.x86_64
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:         32067       1527      30539         31         90        824
   -/+ buffers/cache:        612      31454
   Swap:        16103          0      16103
E. Disk Space:
   Filesystem            Size  Used Avail Use% Mounted on
   /dev/mapper/vg_dedicated-lv_root
                          50G  5.0G   42G  11% /


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

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

[root@dedicated /]#

I notice some of the packages that are installed at el5, shouldn't they be el6?

6
Once you can get to the homepage of your ownCloud install, it'll ask you to create a user account and setup a database to use. I highly recommend changing the default database to MySQL, if you don't want to then you can skip the steps below and just create an account and start using it.

I followed the instructions here, more or less unmodified:

First up, get to the mysql command prompt (as root). You'll need your root password, if you don't know it you can reset it in the panel.
Code: [Select]
[root@dedicated tmp]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 66489
Server version: 5.5.45 Distributed by The IUS Community Project

Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>

Once at the prompt we need to first create the user:
Code: [Select]
mysql> CREATE USER 'owncloud'@'localhost' IDENTIFIED BY 'YOURPASSWORDHERE';
Next create the database:
Code: [Select]
mysql> CREATE DATABASE IF NOT EXISTS owncloud;
Lastly grant permissions to the database for the new user you created, you'll need the password you entered above:
Code: [Select]
mysql> GRANT ALL PRIVILEGES ON owncloud.* TO 'owncloud'@'localhost' IDENTIFIED BY 'YOURPASSWORDHERE';
If everything ran without errors, you can quit now:
Code: [Select]
mysql> quit
Now that you've created the database, go back to the ownCloud setup page. Enter the username and password of the administrator account you want to create. Then click on mysql database and enter the values you created above.

DB User: owncloud
DB Pass: YOURPASSWORDHERE (or whatever you entered in the commands above)
DB Name: owncloud
DB Host: localhost

Click finish setup. You should then be in!

You can then go ahead and setup your local clients and apps, entering in your panel address (with https://) and the port you setup in the first steps. Of course since the SSL Cert is self signed, you'll have to accept the warning. But that's ok.

7
EDIT: I am by no means a master at Kloxo, or servers for that matter. There might be better ways to do this, or I might have done something wrong. I'm just writing out here what worked for me. If there is a better, or more logical, way of doing something please let me know.

I finally had some time to reply to this thread with an outline of what I did to get ownCloud installed alongside Kloxo.

I didn't want to start my server over, as suggested and install ownCloud first - then install Kloxo. So I opted for the manual install. I'll outline the steps I took here, to get it working.

I wanted to install ownCloud alongside Kloxo (read: not under a user) and have it run from an unused port on the same domain the panel is on. You could very easily just install and run this from a user account or a subdomain created within the panel.

First up check dependencies:
  • PHP module ctype
  • PHP module dom
  • PHP module GD
  • PHP module iconv
  • PHP module JSON
  • PHP module libxml
  • PHP module mb multibyte
  • PHP module SimpleXML
  • PHP module zip
  • PHP module zlib
  • PHP module mysql (you could use a different database, but mysql is recommended and what I'll be covering here)
Recommended:
  • PHP module curl (highly recommended, some functionality, e.g. http user authentication, depends on this)
  • PHP module fileinfo (highly recommended, enhances file analysis performance)
  • PHP module bz2 (recommended, required for extraction of apps)
  • PHP module intl (increases language translation performance)
  • PHP module mcrypt (increases file encryption performance)
  • PHP module openssl (required for accessing HTTPS resources)
Required for specific apps:
  • PHP module ldap (for ldap integration)
  • smbclient (for SMB storage)
  • PHP module ftp (for FTP storage)
  • PHP module exif (for image rotation in pictures app)
For preview generation (optional):
  • PHP module imagick
  • avconv or ffmpeg
  • OpenOffice or libreOffice

You can check which php modules you have installed via command line (or checking the output of php_info page):
Code: [Select]
[root@dedicated tmp]# php -m
[PHP Modules]
bcmath
bz2
calendar
Core
...
...
etc

If a module you need isn't installed, you can attempt to install it via package manager (I am assuming CentOS here):

Code: [Select]
[root@dedicated tmp]# yum install php53u-bz2
Obviously replace php53u with your php version from Kloxo. After you've installed all modules, restart php:

Code: [Select]
[root@dedicated ssl]# sh /script/restart-web
Then check php again with php -m.

Depending which php version you run will depend on which version of ownCloud you can run... ownCloud 8+ requires PHP 5.4+. So if you check your Kloxo settings under Admin > Web - Mail - Database > Webserver Config (or just enter Webserver Config into the search) you can see which PHP version you are running under "Php Branch". Everything under version 8 requires PHP 5.3.8+.

If you are running PHP 5.4+ then you can get the latest version of ownCloud, if you aren't get version 7.0.9:
Code: [Select]
[root@dedicated ~]# cd /tmp
[root@dedicated tmp]# wget https://download.owncloud.org/community/owncloud-7.0.9.tar.bz2
--2015-09-08 23:36:26--  https://download.owncloud.org/community/owncloud-7.0.9.tar.bz2
Resolving download.owncloud.org... 144.76.105.220, 209.126.100.233
Connecting to download.owncloud.org|144.76.105.220|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 28635307 (27M) [application/x-bzip]
Saving to: “owncloud-7.0.9.tar.bz2”

100%[=======================================================================================================>] 28,635,307  8.14M/s   in 3.4s

2015-09-08 23:36:30 (8.14 MB/s) - “owncloud-7.0.9.tar.bz2” saved [28635307/28635307]

[root@dedicated tmp]#
If you are downloading the latest version because your PHP can run it, change the wget URL to https://download.owncloud.org/community/owncloud-8.1.1.tar.bz2 and then change the extract command below.

Once downloaded, extract it:
Code: [Select]
[root@dedicated tmp]# tar -xjf owncloud-7.0.9.tar.bz2
Next we want to move it to the correct location (that it will be served from). As I said I want it to run beside Kloxo on a different port, and not under a user, so I want to move it to the default folder that Kloxo is in (so it is organized and in a logical place on the server). If you are going to run it under a user/domain you've setup in the panel, move the extracted folder to that location instead:

Code: [Select]
[root@dedicated tmp]# mv owncloud /home/kloxo/httpd
Next, chown the files to the user that will be executing them (the php user, or account owner) and fix the directory and file permissions on the newly extracted and moved files:

Code: [Select]
[root@dedicated tmp]# cd /home/kloxo/httpd
[root@dedicated httpd]# chown -R apache:apache owncloud
[root@dedicated httpd]# find owncloud -type d -exec chmod 750 {} \;
[root@dedicated httpd]# find owncloud -type f -exec chmod 640 {} \;

Next we need to create a new webserver configuration. I'm using Apache, so I create a new .conf file. Again, because I am running it alongside Kloxo I'm going to do this in the default folder for webserver .conf files. If you are installing under a user, this step will probably already be completed.

Code: [Select]
[root@dedicated httpd]# vi /etc/httpd/conf.d/owncloud.conf
Paste the following into the above file:
Code: [Select]
Listen 9111
<VirtualHost *:9111>
        ServerName YOUR.PANEL.DOMAINNAME.COM
        DocumentRoot "/home/kloxo/httpd/owncloud"

        SSLEngine On
        SSLCertificateFile /home/kloxo/httpd/ssl/owncloud.crt
        SSLCertificateKeyFile /home/kloxo/httpd/ssl/owncloud.key
        SuexecUserGroup apache apache
        SuPhp_UserGroup apache apache

        <Directory /home/kloxo/httpd/owncloud>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                Allow from all
                # add any possibly required additional directives here
                # e.g. the Satisfy directive (see below for details):
                Satisfy Any
        </Directory>

        CustomLog "/home/kloxo/httpd/owncloud/owncloud-custom_log" combined
        ErrorLog "/home/kloxo/httpd/owncloud/owncloud-error_log"
</VirtualHost>

As you can see from this conf file, we set a few options. Most importantly, the port to listen on 9111 in this case and the ServerName, which is the domain name of the panel. Lastly, because we want this to be secure, we set the SSLCert paths to self-signed certs. We'll generate them next and make sure they are owned by the apache user:

Code: [Select]
[root@dedicated httpd]# cd /home/kloxo/httpd/ssl/
[root@dedicated ssl]# openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout owncloud.key -out owncloud.crt
[root@dedicated ssl]# chown apache:apache owncloud.*

After running the first command, you'll have to enter a few options. The defaults will work, except for Common Name enter your servers (panels) domain name.

Lastly we restart apache and webservices:
Code: [Select]
[root@dedicated ssl]# sh /script/restart-web
Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
[root@dedicated oc]#

If you don't get any errors after restarting you should be ready to access ownCloud from the port you entered in the .conf file.

If you do get errors, I guess retrace your steps and see what it wrong/different. The install may change slightly if your server is configured differently (ie. Nginx, etc.). You can always just delete all the folders/files you've created here to revert back.

8
I have this exact same problem. I was able to run the yum update by excluding this package from the update command with "yum update --exclude=ImageMagick". However it would be nice to complete all updates. My output below:
Code: [Select]
[root@dedicated yum.repos.d]# yum update
Loaded plugins: fastestmirror, priorities, protectbase, replace
Setting up Update Process
Loading mirror speeds from cached hostfile
 * base: centos.host-engine.com
 * extras: centos.host-engine.com
 * mratwork-epel: mirrors.mit.edu
 * mratwork-ius-stable: mirror.symnds.com
 * rpmforge: mirror.us.leaseweb.net
 * rpmforge-extras: mirror.us.leaseweb.net
 * updates: centos.host-engine.com
0 packages excluded due to repository protections
Resolving Dependencies
--> Running transaction check
---> Package ImageMagick.x86_64 0:6.5.4.7-7.el6_5 will be updated
--> Processing Dependency: libMagickCore.so.2()(64bit) for package: php53u-pecl-imagick-3.1.2-1.ius.el6.x86_64
--> Processing Dependency: libMagickWand.so.2()(64bit) for package: php53u-pecl-imagick-3.1.2-1.ius.el6.x86_64
---> Package ImageMagick.x86_64 0:6.7.2.7-2.el6 will be an update
--> Processing Dependency: libwmf-0.2.so.7()(64bit) for package: ImageMagick-6.7.2.7-2.el6.x86_64
--> Running transaction check
---> Package ImageMagick.x86_64 0:6.5.4.7-7.el6_5 will be updated
--> Processing Dependency: libMagickCore.so.2()(64bit) for package: php53u-pecl-imagick-3.1.2-1.ius.el6.x86_64
--> Processing Dependency: libMagickWand.so.2()(64bit) for package: php53u-pecl-imagick-3.1.2-1.ius.el6.x86_64
---> Package libwmf.x86_64 0:0.2.8.4-23.el6 will be installed
--> Finished Dependency Resolution
Error: Package: php53u-pecl-imagick-3.1.2-1.ius.el6.x86_64 (@mratwork-ius-stable)
           Requires: libMagickWand.so.2()(64bit)
           Removing: ImageMagick-6.5.4.7-7.el6_5.x86_64 (@updates)
               libMagickWand.so.2()(64bit)
           Updated By: ImageMagick-6.7.2.7-2.el6.x86_64 (base)
               Not found
Error: Package: php53u-pecl-imagick-3.1.2-1.ius.el6.x86_64 (@mratwork-ius-stable)
           Requires: libMagickCore.so.2()(64bit)
           Removing: ImageMagick-6.5.4.7-7.el6_5.x86_64 (@updates)
               libMagickCore.so.2()(64bit)
           Updated By: ImageMagick-6.7.2.7-2.el6.x86_64 (base)
               Not found
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@dedicated yum.repos.d]#

Is it update or install Kloxo-MR 6.5?.

Sorry, what do you mean by this? I am running Kloxo 6.5.0.f-2015081101 if that is what you are asking.

9
Hello All.

I'm attempting to install Owncloud (https://owncloud.org/) on my Dedicated server but am running into some conflicts with the transaction check part of the install. I'm not sure how to proceed.

It's a CentOS release 6.7, x64.

I've tried two different methods of installing:

FIRST - using mratwork-epel repo:
It runs good, then gets to the Transaction Test and fails with the following:
Code: [Select]
Transaction Check Error:
  file /etc/php.ini from install of php-common-5.3.3-46.el6_6.x86_64 conflicts with file from package php53u-common-5.3.29-1.ius.el6.x86_64
  file /usr/lib64/php/modules/curl.so from install of php-common-5.3.3-46.el6_6.x86_64 conflicts with file from package php53u-common-5.3.29-1.ius.el6.x86_64
  file /usr/lib64/php/modules/fileinfo.so from install of php-common-5.3.3-46.el6_6.x86_64 conflicts with file from package php53u-common-5.3.29-1.ius.el6.x86_64
  file /usr/lib64/php/modules/json.so from install of php-common-5.3.3-46.el6_6.x86_64 conflicts with file from package php53u-common-5.3.29-1.ius.el6.x86_64
  file /usr/lib64/php/modules/phar.so from install of php-common-5.3.3-46.el6_6.x86_64 conflicts with file from package php53u-common-5.3.29-1.ius.el6.x86_64
  file /usr/lib64/php/modules/zip.so from install of php-common-5.3.3-46.el6_6.x86_64 conflicts with file from package php53u-common-5.3.29-1.ius.el6.x86_64
  file /usr/bin/phar.phar from install of php-cli-5.3.3-46.el6_6.x86_64 conflicts with file from package php53u-cli-5.3.29-1.ius.el6.x86_64
  file /usr/bin/php from install of php-cli-5.3.3-46.el6_6.x86_64 conflicts with file from package php53u-cli-5.3.29-1.ius.el6.x86_64
  file /usr/bin/php-cgi from install of php-cli-5.3.3-46.el6_6.x86_64 conflicts with file from package php53u-cli-5.3.29-1.ius.el6.x86_64
  file /usr/share/man/man1/php.1.gz from install of php-cli-5.3.3-46.el6_6.x86_64 conflicts with file from package php53u-cli-5.3.29-1.ius.el6.x86_64

I'm not sure how to proceed. Looks like the installer is trying to use the default php-common-5.3.3-46.el6_6 when I have the php53u-common-5.3.29-1.ius.el6.x86_64 package installed from the mratwork-epel repo.

Next I tried installing from the official repo:

SECOND - isv:ownCloud:community.repo
I setup the repo:
Code: [Select]
cd /etc/yum.repos.d/
wget http://download.opensuse.org/repositories/isv:ownCloud:community/CentOS_6/isv:ownCloud:community.repo
yum install owncloud
After running the command to install, it picked up the mratwork-epel package, so I added an exclude to there and ran it again. Now it grabs it from the official package but dies during the Resolving Dependencies step:
Code: [Select]
Error: php56u conflicts with php53u-5.3.29-1.ius.el6.x86_64
Error: php56u-common conflicts with php53u-common-5.3.29-1.ius.el6.x86_64
Error: php56u-cli conflicts with php53u-cli-5.3.29-1.ius.el6.x86_64
Error: php56u-xml conflicts with php53u-xml-5.3.29-1.ius.el6.x86_64

Similar error looks like.

Any advice?

Thanks so much.

10
Kloxo-MR Technical Helps / Re: Can't Map IP to Domain
« on: 2015-03-27, 18:10:05 »
Okay. I will look at backing up my server and updating to 7.0.0.b this weekend. I'll report back here. Thanks.

11
Kloxo-MR Technical Helps / Re: Can't Map IP to Domain
« on: 2015-03-27, 17:03:30 »
Yep. All A records point to the assigned IP, even the __BASE__. The only one that doesn't is the cp subdomain A record. That one points to the shared IP that kloxo is on.

The reason I'm trying to do this is I want to add a SSL Cert.

12
Kloxo-MR Technical Helps / Re: Can't Map IP to Domain
« on: 2015-03-27, 15:01:37 »
Thanks, but seeing as 7.0 is in beta I'm a little nervous.

13
Need reboot.

Thanks for the reply! I did reboot, a couple times, but that wouldn't fix it. Anyways, the above fix I posted work so no worries. Thanks.

14
Kloxo-MR Technical Helps / Can't Map IP to Domain
« on: 2015-03-26, 22:37:03 »
Hi Everyone,

I'm trying to map a dedicated IP address to a specific IP on my server, but no matter what I try I always just get the default kloxo page when I browse to http://ipaddress. You know the one, "If you are seeing this page, it means that web has not been configured for this domain on this server".

- I have 5 IPs.
- I have 1 IP assigned to a specific user (myself) in the panel (Exclusive Client)
- I assign that IP to the domain I want under either Admin -> Clients -> Myself ->IP Addresses -> THE IP -> Configure Domain OR through Admin -> IP Addresses -> THE IP ->Configure Domain. They are both set.
- I have two dnstpls, one for shared (that has the shared IP as A records) and another for dedicated (that uses the dedicated IP that I am trying to assign)... only the Exclusive Client (myself) is using the dedicated dnstpl
- The domain in question pings to the dedicated IP
- If I browse to the domain in question, the site loads fine.

I've tried a bunch of stuff that people have suggested on the kloxo forums; like rebooting, restarting httpd, switching from apache to lighthttpd and back to apache. Nothing works.

Any have any other ideas?

15
I was able to run the few commands after tweaking them a bit:

'yum remove httpd* mod_* php53u -y' worked
then
'yum install -y httpd php53u mod_ssl mod_rpaf mod_ruid2 mod_suphp mod_fastcgi mod_fcgid mod_define' worked

However now when I attempt to start apache I get the following error:
Code: [Select]
[root@dedicated httpd]# service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
Unable to open logs
                                                           [FAILED]
[root@dedicated httpd]#

I've rebooted the server to make sure there wasn't an old apache process running, but it is still giving that error.

Code: [Select]
[root@dedicated script]# netstat -tulpn| grep :80
[root@dedicated script]#

Also when I do a 'sh /script/restart-web' I notice httpd isn't in the list of things it is attempting to restart.
Code: [Select]
[root@dedicated script]# sh /script/restart-web
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm:                                          [  OK  ]
[root@dedicated script]#

I've really buggered it.



EDIT: I got it to work again by going to switch program. I swtiched to lighthttpd, and then back to apache. Everything started properly now.

Pages: [1] 2

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

Page created in 0.036 seconds with 20 queries.

web stats analysis