centos6

Error: php55w-common conflicts with php-common on CentOS 6.5

ε祈祈猫儿з 提交于 2019-12-23 08:54:07
问题 I have installed a fresh 64-bit CentOS 6.5 with PHP5, Mysql5.5, etc. Now when I want to install different apache modules, like php-soap, I get this error: ---> Package php-soap.x86_64 0:5.3.3-27.el6_5 will be installed --> Processing Dependency: php-common(x86-64) = 5.3.3-27.el6_5 for package: php-soap-5.3.3-27.el6_5.x86_64 --> Running transaction check ---> Package php-common.x86_64 0:5.3.3-27.el6_5 will be installed --> Processing Conflict: php55w-common-5.5.12-1.w6.x86_64 conflicts php

Insert entry into crontab unless it already exists (as one-liner if possible) [duplicate]

若如初见. 提交于 2019-12-23 07:43:33
问题 This question already has answers here : How can I programmatically create a new cron job? (17 answers) Closed last year . What's the preferred method to insert an entry into /etc/crontab unless it exists, preferably using a one-liner? Here's my example entry I wish to place into /etc/crontab unless it already exists in there. */1 * * * * some_user python /mount/share/script.py I'm on CentOS 6.6 and so far I have this: if grep "*/1 * * * * some_user python /mount/share/script.py" /etc/crontab

SonarQube exits with 143

孤人 提交于 2019-12-23 07:38:21
问题 I am trying to Setup SonarQube on Centos 6 VM with 6GB of RAM. The process always exits with 143. On analysis I found that the JVM is being sent a SIGTERM signal and thus exiting. There are no core dumps and dmesg is also quite unhelpful. I also tried fiddling with the Memory options to no avail. If some can help me debug this issue it will be quite useful. At least, I will have some idea why this software is being terminated. jvm 1 | 2018.03.06 15:32:59 INFO app[][o.e.p.PluginsService] no

Unable to install vsftpd on centos 6 [closed]

爱⌒轻易说出口 提交于 2019-12-23 06:40:09
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I'm having trouble with installing vsftpd on centos 6. When I enter the command yum install vsftpd I get the following: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.widexs.nl * extras: mirror.serverbeheren.nl * updates: mirror.serverbeheren.nl Setting up Install Process

PostgreSQL service unable to stop/start/restart

牧云@^-^@ 提交于 2019-12-23 03:22:33
问题 I am on CentOS 6.5 running PostGreSQL 9.3 and when I run the command service postgresql-9.3 stop I get the [ OK ] as if it has stopped but the service is either still running or starts automatically when it is stopped because I can run the service postgresql-9.3 stop over and over again and always get the [ OK ] as if it has been stopped. Trying to start or restart gives the [FAILED] message. How can I stop this? I get an error that says FATAL: could not create any TCP/IP sockets when I try

PHP Unable to load dynamic library '/usr/lib64/php/modules/module.so

試著忘記壹切 提交于 2019-12-23 00:26:30
问题 php --version PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/module.so' - /usr/lib64/php/modules/module.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP 5.3.3 (cli) (built: Dec 11 2013 03:29:57) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies 回答1: I check all file in : /etc/php.d/ It was mcrypt.ini with this line extension=module.so but module.so not exist in /usr/lib64

Is it possible to arecord output from dummy card?

会有一股神秘感。 提交于 2019-12-22 14:15:32
问题 I'm trying to mix audio files via dummy card by using dmix and dsnoop: aplay s1.wav & aplay s2.wav & arecord -f dat -t wav -d 3 result.wav But is it possible? I have only dummy card by: modprobe snd-dummy My ~/.asoundrc file is: defaults.pcm.card 1 #dummy card pcm.duplex { type asym playback.pcm "dmix" capture.pcm "dsnoop" } pcm.!default { type plug slave.pcm "duplex" } Running on: CentOS6.5(x86_64) 回答1: The snd-dummy driver throws away playback data, and records silence. For a loopback

Location of sphinx-build on CentOS

那年仲夏 提交于 2019-12-22 12:37:26
问题 I have a brand new CentOS 6 box and wanted to install sphinx, in order to compile documents as generated by readthedocs.org i.e. rst files. In a previous ubuntu box I was running make html and that would invoke the sphinx-build command and compile the documentation. I downloaded the latest version of sphinx and installed it as such: sudo wget http://sphinxsearch.com/files/sphinx-2.1.9-1.rhel6.x86_64.rpm sudo localinstall sphinx-2.1.9-1.rhel6.x86_64.rpm Everything seems to be fine but sphinx

Netty ObjectDecoder throws java.io.StreamCorruptedException: unexpected end of block data

Deadly 提交于 2019-12-22 01:36:10
问题 I've an unusual problem that's causing me to tear my hair out. I have a Netty Client/Server setup. The server sends a command object to the client. The client then sends each of the binary commands found in the command object to a device attached to it's local serial port. The answers to each command ( a binary string) is stored within the command object and when all the commands have been executed, the command object is returned to the server. So I'm using the ObjectEncoder and ObjectDecoder

How to change port GitLab on CentOS 6?

拈花ヽ惹草 提交于 2019-12-22 01:27:40
问题 I tried to change port number on these files. But when I run gitlab-ctl reconfigure for updating. I can't access my link ( http://myaddress.example:8790 ) Those files which I changed are: /var/opt/gitlab/gitlab-rails/etc/gitlab.yml /opt/gitlab/embedded/conf/nginx.conf /opt/gitlab/embedded/cookbooks/gitlab/attributes/default.rb /opt/gitlab/embedded/service/gitlab-rails/config/gitlab.yml /var/opt/gitlab/nginx/conf/gitlab-http.conf In /etc/gitlab/gitlab.rb I change external_url "http://myaddress