centos6

ICE default IO error handler doing an exit(), pid = 11281, errno = 4

这一生的挚爱 提交于 2019-12-03 12:35:44
One of our PyQt app throwa an error about ICEAuthority as below and exit - ICE default IO error handler doing an exit(), pid = 11281, errno = 4 On looking at the trace, we see the following - write(25, "\1\0\3\200\3\0\0\0\3\0\0\0\t\0\0\0\10\0\0\0\1\0\0\0\377rtStyle", 32) = 32 read(25, 0x16a67f0, 8) = ? ERESTARTSYS (To be restarted) — SIGCHLD (Child exited) @ 0 (0) — write(6, "\0", 1) = 1 rt_sigreturn(0x2) = -1 EINTR (Interrupted system call) write(2, "ICE default IO error handler doi"..., 69) = 69 This looks like the ICEAuthority file read operation failed to restart after handling the SIGCHLD

Invalid command WSGIDaemonProcess Deploy Django application on CentOS 6.7

六眼飞鱼酱① 提交于 2019-12-03 10:32:30
I am using Django 1.8 on CentOS 6.7 with Apache Server version: Apache/2.2.15 (Unix). I have followed the steps in How To Serve Django Applications with Apache and mod_wsgi on CentOS 7. But at last step when I start the Apache server with command : service httpd start instead of systemctl start httpd beacuse I have Centos 6.7 not CentOS 7 according to tutorial. It is giving the following error: Starting httpd: Syntax error on line 10 of /etc/httpd/conf.d/django.conf: Invalid command 'WSGIDaemonProcess', perhaps misspelled or defined by a module ot included in the server configuration you can

restart apache service automatically using cron 12AM daily

血红的双手。 提交于 2019-12-03 10:11:08
I have a CentOs setup in test server. I wanna to run a cron job (the cron needs to run apache server at 12AM) daily. My cron.daily fodler is located in /etc/cron.daily Please let me know the steps how to implement this. Usually I use to restart the apache service using the below command: service httpd restart I wanna to do restart apache service automatically using cron 12AM daily. Thanks in advance. While @einterview's answer is almost correct, it's important to note that a * in the minute column will run the job every minute of that hour. If intending to run once every hour, steps would be:

Locale Error in centos

北慕城南 提交于 2019-12-03 02:05:01
问题 Every time I login to my CentOS 6 server through SSH I get this error Can anyone please explain what does that error mean & how to fix? -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory 回答1: The Fix: Thanks for Millie Smith (https://stackoverflow.com/users/2850543/millie-smith) & http://linuxforums.org.uk/index.php?topic=10318.0 Using root user through ssh Run these commands vi /etc/environment & add these lines: LANG=en_US.utf-8 LC_ALL=en_US.utf-8

Locale Error in centos

为君一笑 提交于 2019-12-02 17:11:18
Every time I login to my CentOS 6 server through SSH I get this error Can anyone please explain what does that error mean & how to fix? -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory Seif Hatem The Fix: Thanks for Millie Smith ( https://stackoverflow.com/users/2850543/millie-smith ) & http://linuxforums.org.uk/index.php?topic=10318.0 Using root user through ssh Run these commands vi /etc/environment & add these lines: LANG=en_US.utf-8 LC_ALL=en_US.utf-8 Before connecting to the host via SSH, you can set LC_ALL to C , e.g. LC_ALL=C ssh user@example

PHP memory allocation doesn't work

江枫思渺然 提交于 2019-12-02 11:58:35
问题 Wordpress Site Centos6 Apache 2.2 PHP 5.5 RAM 4gb I have the following php error message: Fatal error: Allowed memory size of 268435456 bytes exhausted The problem is that I have allocated 512M on php. I have changed the proper variable in php.ini . Also I have edited my wp-config.php with defining the following: define( 'WP_MEMORY_LIMIT' , '512M' ); define( 'WP_MAX_MEMORY_LIMIT' , '512M' ); I couldn't figure out why I'm having the message that I have allocated only 268435456 bytes even after

Error with Fiware-Cygnus installation via yum

泄露秘密 提交于 2019-12-02 11:23:41
问题 i am trying to install the Fireware Cygnus via yum yum install cygnus-ngsi But in the middle i got some erros. Transaction Check Error: file /usr/cygnus/init.d/cygnus from install of cygnus-common-1.2.0-0.gbd4790e.x86_64 conflicts with file from package cygnus-0.13.0-0.g0c6765f.x86_64 -...... i checked the /usr directory but there is nothing with /cygnus/init.d and so on... It is possible that there have been something before but who knows. I also tried to clean yum repo but the error still

Error with Fiware-Cygnus installation via yum

耗尽温柔 提交于 2019-12-02 07:24:38
i am trying to install the Fireware Cygnus via yum yum install cygnus-ngsi But in the middle i got some erros. Transaction Check Error: file /usr/cygnus/init.d/cygnus from install of cygnus-common-1.2.0-0.gbd4790e.x86_64 conflicts with file from package cygnus-0.13.0-0.g0c6765f.x86_64 -...... i checked the /usr directory but there is nothing with /cygnus/init.d and so on... It is possible that there have been something before but who knows. I also tried to clean yum repo but the error still exists. Does anyone have an idea ? Try the following command in order to remove all Cygnus stuff: sudo

yum install texinfo on CentOS 6.6 (no package)

微笑、不失礼 提交于 2019-12-02 05:29:30
问题 To resolve some dependency to one of my programs, I have to install texinfo on my centos 6.6 system yum install texinfo it resulted to Setting up Install Process No package texinfo available Error: Nothing to do I don't know how to resolve this. So far, I've downloaded that binary rpm. Can anyone point me to the right direction ? 回答1: texinfo is provided by the BASE repo. Available Packages Name : texinfo Arch : x86_64 Version : 4.13a Release : 8.el6 Size : 668 k Repo : base Summary : Tools

PHP memory allocation doesn't work

被刻印的时光 ゝ 提交于 2019-12-02 03:54:48
Wordpress Site Centos6 Apache 2.2 PHP 5.5 RAM 4gb I have the following php error message: Fatal error: Allowed memory size of 268435456 bytes exhausted The problem is that I have allocated 512M on php. I have changed the proper variable in php.ini . Also I have edited my wp-config.php with defining the following: define( 'WP_MEMORY_LIMIT' , '512M' ); define( 'WP_MAX_MEMORY_LIMIT' , '512M' ); I couldn't figure out why I'm having the message that I have allocated only 268435456 bytes even after changing the above mentioned settings. Is there any other settings to be changed? php.ini details: