MRatWork Forum by Mustafa Ramadhan
Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: mehawk on 2019-05-26, 16:01:38
-
Hello,
I just ran yum clean all & yum update -y. It went fine but when I ran sh /script/upcp it failed with lots of following messages:
https://repo.ius.io/archive/6/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
To address this issue please refer to the below wiki article
https://wiki.centos.org/yum-errors
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: mratwork-ius-archive. Please verify its path and try again
And now my apache is failing to start with following error msgs:
*** Process for HTTPD service ***
- Process: restart
Stopping httpd: [FAILED]
Starting httpd: httpd: Syntax error on line 13 of /etc/httpd/conf/httpd.conf: Ca nnot load modules/mod_authn_alias.so into server: /etc/httpd/modules/mod_authn_a lias.so: cannot open shared object file: No such file or directory
[FAILED]
I can fix httpd by simply commenting the line but i dont know what effect it will have. I tried installing mod_authn_alias manually excluding by mratwork-ius & mratwork-ius-archive but there was no package available.
Any suggestions what should I do now?
Update:
By commenting mod_authn_alias i just found that mod_authn_default is also missing..
I have temporarily switched to nginx because this is a production server. So any help will be great.
-
It's trouble for CentOS 32bit. Better change your 32bit to 64bit.
Change '$basearch' to 'i686' in 'mratwork-ius' inside '/etc/yum.repos.d/mratwork.repo'.
-
It's trouble for CentOS 32bit. Better change your 32bit to 64bit.
Ok, I get your point. Is there any easy way of upgrading 32 bit to 64bit without reinstalling centos or kloxo-mr?
-
Sadly, no options except reinstall.
In the future, Kloxo-MR not support to CentOS 6/7 32bit. Mostly reason are: (1) many VPS providers no longer provide CentOS 32bit, and (2) some applications (including Hiawatha) no longer be compiled on CentOS 32bit
-
Sadly, no options except reinstall.
In the future, Kloxo-MR not support to CentOS 6/7 32bit. Mostly reason are: (1) many VPS providers no longer provide CentOS 32bit, and (2) some applications (including Hiawatha) no longer be compiled on CentOS 32bit
Thankfully, I have multple VPSs to store backup of data but still it will be very hard step for me if anything goes wrong while restoring the kloxo backup.
Do you recommend Kloxo MR's backup and restore utility for backing up entire server configurations & files in this case?
-
Use 'sh /script/raw-backup'. And then use 'sh /script/raw-restore'.
-
ok I replaced '$basesearch'with i686 in both mratwork-ius & mratwork-ius-archive and it failed so checked the link looks like they have archived i686. So I changed the link of mratwork-ius in '/etc/yum.repos.d/mratwork.repo' and then tried updating the system. It failed due to conflicts. then i ran
yum update -y --disablerepo=mratwork-ius-archive
because basically now mratwork-ius is same as mratwor-ius-archive.
it updated the system but now there are package conflicts in httpd. I tried to remove httpd completely and then reinstalling it again it fails.
here is what i did:
yum remove httpd*
then:
yum install httpd24u*
but apache fails to start due to some modules
So I tried again by removing httpd24u*
yum remove httpd24u*
and installing httpd using:
yum install httpd* --skip httpd24u
but seems like despite disabling httpd24u its still fetching one package which is httpd24u-filesystem. As mentioned in the following output:
[root@server1 ~]# yum install httpd* --skip httpd24u
Loaded plugins: fastestmirror, presto, priorities, protectbase, refresh-
: packagekit, replace, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.trouble-free.net
* extras: mirror.atlanticmetro.net
* mratwork-epel: mirror.cogentco.com
* mratwork-release-neutral-noarch: rpms.mratwork.com
* mratwork-release-version-arch: rpms.mratwork.com
* mratwork-webtatic: us-east.repo.webtatic.com
* mratwork-webtatic-testing: us-east.repo.webtatic.com
* updates: mirror.wdc1.us.leaseweb.net
0 packages excluded due to repository protections
Package httpd24u-mod_proxy_uwsgi is obsoleted by httpd24u, trying to install httpd24u-2.4.39-1.ius.el6.i686 instead
Resolving Dependencies
--> Running transaction check
---> Package httpd.i386 0:2.2.31-1.mr.el6 will be installed
---> Package httpd-devel.i386 0:2.2.31-1.mr.el6 will be installed
--> Processing Dependency: apr-util-devel for package: httpd-devel-2.2.31-1.mr.el6.i386
--> Processing Dependency: apr-devel for package: httpd-devel-2.2.31-1.mr.el6.i386
---> Package httpd-itk.i686 0:2.2.22-7.el6 will be installed
---> Package httpd-manual.i386 0:2.2.31-1.mr.el6 will be installed
---> Package httpd-tools.i386 0:2.2.31-1.mr.el6 will be installed
---> Package httpd24u.i686 0:2.4.39-1.ius.el6 will be installed
---> Package httpd24u-devel.i686 0:2.4.39-1.ius.el6 will be installed
---> Package httpd24u-filesystem.noarch 0:2.4.39-1.ius.el6 will be installed
---> Package httpd24u-manual.noarch 0:2.4.39-1.ius.el6 will be installed
---> Package httpd24u-mod_ldap.i686 0:2.4.39-1.ius.el6 will be installed
---> Package httpd24u-mod_proxy_html.i686 1:2.4.39-1.ius.el6 will be installed
---> Package httpd24u-mod_security2.i686 0:2.9.2-1.ius.el6 will be installed
---> Package httpd24u-mod_security2-mlogc.i686 0:2.9.2-1.ius.el6 will be installed
---> Package httpd24u-mod_session.i686 0:2.4.39-1.ius.el6 will be installed
---> Package httpd24u-mod_ssl.i686 1:2.4.39-1.ius.el6 will be installed
---> Package httpd24u-mod_xsendfile.i686 0:0.12-1.ius.el6 will be installed
---> Package httpd24u-tools.i686 0:2.4.39-1.ius.el6 will be installed
--> Running transaction check
---> Package apr-devel.i386 0:1.5.2-1.mr.el6 will be installed
---> Package apr-util-devel.i386 0:1.5.4-1.mr.el6 will be installed
--> Processing Conflict: httpd24u-manual-2.4.39-1.ius.el6.noarch conflicts httpd-manual < 2.4.39-1.ius.el6
--> Processing Conflict: httpd24u-devel-2.4.39-1.ius.el6.i686 conflicts httpd-devel < 2.4.39-1.ius.el6
--> Processing Conflict: httpd24u-tools-2.4.39-1.ius.el6.i686 conflicts httpd-tools < 2.4.39-1.ius.el6
--> Processing Conflict: httpd24u-2.4.39-1.ius.el6.i686 conflicts httpd < 2.4.39-1.ius.el6
--> Running transaction check
---> Package apr-devel.i386 0:1.5.2-1.mr.el6 will be installed
---> Package apr-util-devel.i386 0:1.5.4-1.mr.el6 will be installed
---> Package httpd.i386 0:2.2.31-1.mr.el6 will be installed
---> Package httpd-devel.i386 0:2.2.31-1.mr.el6 will be installed
---> Package httpd-manual.i386 0:2.2.31-1.mr.el6 will be installed
---> Package httpd-tools.i386 0:2.2.31-1.mr.el6 will be installed
---> Package httpd24u-filesystem.noarch 0:2.4.39-1.ius.el6 will be installed
---> Package httpd24u-mod_security2-mlogc.i686 0:2.9.2-1.ius.el6 will be installed
--> Processing Dependency: httpd24u-mod_security2 for package: httpd24u-mod_security2-mlogc-2.9.2-1.ius.el6.i686
--> Running transaction check
---> Package httpd24u-mod_security2.i686 0:2.9.1-1.ius.el6 will be installed
--> Processing Dependency: httpd-mmn = 20120211x8632 for package: httpd24u-mod_security2-2.9.1-1.ius.el6.i686
--> Processing Dependency: httpd24u for package: httpd24u-mod_security2-2.9.1-1.ius.el6.i686
--> Running transaction check
---> Package httpd24u.i686 0:2.4.38-1.ius.el6 will be installed
--> Processing Dependency: httpd24u-filesystem = 2.4.38-1.ius.el6 for package: httpd24u-2.4.38-1.ius.el6.i686
--> Processing Dependency: httpd24u-filesystem = 2.4.38-1.ius.el6 for package: httpd24u-2.4.38-1.ius.el6.i686
--> Processing Dependency: httpd24u-tools = 2.4.38-1.ius.el6 for package: httpd24u-2.4.38-1.ius.el6.i686
--> Running transaction check
---> Package httpd24u.i686 0:2.4.38-1.ius.el6 will be installed
--> Processing Dependency: httpd24u-filesystem = 2.4.38-1.ius.el6 for package: httpd24u-2.4.38-1.ius.el6.i686
--> Processing Dependency: httpd24u-filesystem = 2.4.38-1.ius.el6 for package: httpd24u-2.4.38-1.ius.el6.i686
---> Package httpd24u-tools.i686 0:2.4.38-1.ius.el6 will be installed
--> Processing Conflict: httpd24u-2.4.38-1.ius.el6.i686 conflicts httpd < 2.4.38-1.ius.el6
--> Processing Conflict: httpd24u-tools-2.4.38-1.ius.el6.i686 conflicts httpd-tools < 2.4.38-1.ius.el6
--> Running transaction check
---> Package httpd24u.i686 0:2.4.38-1.ius.el6 will be installed
---> Package httpd24u-mod_security2.i686 0:2.9.1-1.ius.el6 will be installed
--> Processing Dependency: httpd24u-mod_security2 for package: httpd24u-mod_security2-mlogc-2.9.2-1.ius.el6.i686
---> Package httpd24u-tools.i686 0:2.4.38-1.ius.el6 will be installed
--> Running transaction check
---> Package httpd24u-mod_security2.i686 0:2.9.1-1.ius.el6 will be installed
---> Package httpd24u-mod_security2-mlogc.i686 0:2.9.2-1.ius.el6 will be installed
--> Running transaction check
---> Package apr-devel.i386 0:1.5.2-1.mr.el6 will be installed
---> Package apr-util-devel.i386 0:1.5.4-1.mr.el6 will be installed
---> Package httpd.i386 0:2.2.31-1.mr.el6 will be installed
---> Package httpd-devel.i386 0:2.2.31-1.mr.el6 will be installed
---> Package httpd-manual.i386 0:2.2.31-1.mr.el6 will be installed
---> Package httpd-tools.i386 0:2.2.31-1.mr.el6 will be installed
---> Package httpd24u-filesystem.noarch 0:2.4.39-1.ius.el6 will be installed
--> Finished Dependency Resolution
Packages skipped because of dependency problems:
httpd-itk-2.2.22-7.el6.i686 from mratwork-epel
httpd24u-2.4.38-1.ius.el6.i686 from mratwork-ius
httpd24u-2.4.39-1.ius.el6.i686 from mratwork-ius
httpd24u-devel-2.4.39-1.ius.el6.i686 from mratwork-ius
httpd24u-manual-2.4.39-1.ius.el6.noarch from mratwork-ius
httpd24u-mod_ldap-2.4.39-1.ius.el6.i686 from mratwork-ius
1:httpd24u-mod_proxy_html-2.4.39-1.ius.el6.i686 from mratwork-ius
httpd24u-mod_security2-2.9.1-1.ius.el6.i686 from mratwork-ius
httpd24u-mod_security2-2.9.2-1.ius.el6.i686 from mratwork-ius
httpd24u-mod_security2-mlogc-2.9.2-1.ius.el6.i686 from mratwork-ius
httpd24u-mod_session-2.4.39-1.ius.el6.i686 from mratwork-ius
1:httpd24u-mod_ssl-2.4.39-1.ius.el6.i686 from mratwork-ius
httpd24u-mod_xsendfile-0.12-1.ius.el6.i686 from mratwork-ius
httpd24u-tools-2.4.38-1.ius.el6.i686 from mratwork-ius
httpd24u-tools-2.4.39-1.ius.el6.i686 from mratwork-ius
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
httpd i386 2.2.31-1.mr.el6 mratwork-release-version-arch
3.4 M
httpd-devel i386 2.2.31-1.mr.el6 mratwork-release-version-arch
147 k
httpd-manual i386 2.2.31-1.mr.el6 mratwork-release-version-arch
1.1 M
httpd-tools i386 2.2.31-1.mr.el6 mratwork-release-version-arch
119 k
httpd24u-filesystem noarch 2.4.39-1.ius.el6 mratwork-ius 27 k
Installing for dependencies:
apr-devel i386 1.5.2-1.mr.el6 mratwork-release-version-arch
1.0 M
apr-util-devel i386 1.5.4-1.mr.el6 mratwork-release-version-arch
599 k
Skipped (dependency problems):
httpd-itk i686 2.2.22-7.el6 mratwork-epel 140 k
httpd24u i686 2.4.38-1.ius.el6 mratwork-ius 1.3 M
httpd24u i686 2.4.39-1.ius.el6 mratwork-ius 1.3 M
httpd24u-devel i686 2.4.39-1.ius.el6 mratwork-ius 209 k
httpd24u-manual noarch 2.4.39-1.ius.el6 mratwork-ius 2.4 M
httpd24u-mod_ldap i686 2.4.39-1.ius.el6 mratwork-ius 68 k
httpd24u-mod_proxy_html i686 1:2.4.39-1.ius.el6 mratwork-ius 47 k
httpd24u-mod_security2 i686 2.9.1-1.ius.el6 mratwork-ius 232 k
httpd24u-mod_security2 i686 2.9.2-1.ius.el6 mratwork-ius 235 k
httpd24u-mod_security2-mlogc i686 2.9.2-1.ius.el6 mratwork-ius 32 k
httpd24u-mod_session i686 2.4.39-1.ius.el6 mratwork-ius 52 k
httpd24u-mod_ssl i686 1:2.4.39-1.ius.el6 mratwork-ius 111 k
httpd24u-mod_xsendfile i686 0.12-1.ius.el6 mratwork-ius 15 k
httpd24u-tools i686 2.4.38-1.ius.el6 mratwork-ius 84 k
httpd24u-tools i686 2.4.39-1.ius.el6 mratwork-ius 84 k
Transaction Summary
================================================================================
Install 7 Package(s)
Total size: 6.4 M
Installed size: 24 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Check Error:
file /etc/httpd/conf.d/README conflicts between attempted installs of httpd24u-filesystem-2.4.39-1.ius.el6.noarch and httpd-2.2.31-1.mr.el6.i386
Error Summary
-------------
-
Try using 'sh /script/switch-apache'
-
Ok. I gave up on the idea of fixing the apache after I read that 32-bit versions will not be supported.
I started doing backup using:
sh /script/raw-backup
After an hour or two my putty session got interrupted while the script was backing up home folder. Is there anyway I can check and verify if the backup was successful or completed? If backup is completed where backup archive is located on the disk?
-
You will see '*** Kloxo-MR raw-backup - END ***' message at the end of process.