Posts Tagged ‘hat’
Monday, June 7th, 2010

Se você está tentando enviar emails pelo RoundCube e sabe que o mesmo fica somente apresentando a mensagem “Enviando mensagem…” e não faz nada, tente as soluções abaixo:
1 – Como root use o comando:
/scripts/autorepair net_smtp_fix
(http://www.nerdblog.info/2009/11/04/webmail-no-cpanel-whm-nao-envia-mais-mensagens/)
Caso não resolva ainda podemos aplicar uma solução mais leve:
2 – Verifique se o CSF está instalado em seu servidor, cas0 sim, acesse o csf em seu WHM -> Plugins -> ConfigServer Security&Firewall -> clique em Firewall Configuration e procure por SMTP_ALLOWLOCAL, caso esteja como “0″ coloque “1″, save as configurações e reinicie seu CSF/LFD.
Caso não resolve (muito difícil de não sanar), vamos mergulhar mais fundo no problema, force uma atualização do RoundCube com o comando:
3 – logado como root:
/usr/local/cpanel/bin/update-roundcube –force
Caso ainda assim não alcance o resultado esperado, apele para update geral:
4 – Procure pelo arquivo -> /usr/local/cpanel/base/3rdparty/roundcube/config/main.inc.php, abra-o e edite procure pela linha:
$rcmail_config['smtp_user'] = ‘%u’;
e substitua a mesma por:
$rcmail_config['smtp_user'] = ‘ ‘;
Salve e saia, em seguida tente ver se o roudcube opera como desejado.
5 – Como root execute:
/scripts/upcp –force
Caso resolva, dê um whois neste domínio e envie uma caneca do Ubuntu, Uma camisa do Ubuntu ou uma caixa de bis!
Abraços.
Tags: cpanel, csf, dont, Error, hat, lfd, message, red, resolver, root, roudcube, scripts, sending, solution, stop, timeout, trouble, troubleshooting, update, webmail, whm, work
Posted in 1, CentOs, gnu/linux, Hosting, How To, Open Source, Painéis de Controle, php, red hat | No Comments »
Thursday, April 22nd, 2010

Antes de mais nada é bom saber que os testes realizados em cima do Red Hat 6 foram baseados em plataforma beta.
Entretanto, uma das coisas que não gostei (principalmente por evangelizar na web que Red hat/Centos são os mais rápidos ambientes Webs em Lamp) foi o desempenho do Rhel 6 com uso do Apache.
O CentOs foi melhor (5.4) nas requisições.
A matéria completa está no fim deste post.
Espero que o Red Hat stable esteja bem tunado, por que até o momento, no que diz respeito ao Apache, ele foi uma carroça
.
http://www.phoronix.com/vr.php?view=14826
Tags: 6, beta, gnu, hat, linux, overview, red, rhel
Posted in 1, gnu/linux, red hat | No Comments »
Wednesday, April 21st, 2010

Certeza que esse release uma hora iria aparecer eu tinha.
Segundo a própria Red Hat o maior foco foi na Virtualização, veja:
The major themes of the release include pervasive virtualization, improved scalability and availability, increased power efficiency, and delivery of some of the latest software technologies. In line with today’s Beta availability, we’ll briefly highlight a few of the new and noteworthy improvements:
* Comprehensive power management capabilities
Time-keeping improvements within the kernel allow the system to transition processors that do not have active tasks into the idle state more frequently. This leads to cooler CPUs and greater power savings compared to previous releases. New monitoring tools like powertop are designed to help pin-point power consumption issues that can be resolved in order to further reduce power consumption. New tuning tools like “tuned,” which is an adaptive system tuning daemon, allow the system to adjust power consumption based on analysis of service usage patterns.
* Performance enhancements
Red Hat engineers have played key roles in the upstream development of a wide range of kernel performance enhancements that we plan to feature in Red Hat Enterprise Linux 6. This includes a complete rewrite of the process scheduler so that it more fairly shares compute cycles among processes and provides more determinism by enabling higher-priority processes to run with minimal interference from lower-priority processes. Additionally, there are a substantial range of multi-processor lock synchronization enhancements. For example, elimination of unnecessary locking occurrences, replacement of many spin locks with sleep locks and implementation of more efficient locking primitives. These foundational changes impact a number of kernel subsystems.
* Scalability enhancements
Recent hardware launches have resulted in significant growth in commodity computing platforms. For example it is now possible to have 64 CPUs and 2TB of memory in a 5U rackmount form factor. These systems and their successors are approaching the scalability limits of Red Hat Enterprise Linux 5. A primary feature of Red Hat Enterprise Linux 6 is that it is designed to provide the scalability to handle systems well into the future. Capabilities range from optimized support for large CPU counts and memory configurations to the ability to handle an increased number of system-interconnect buses and peripherals. These capabilities are appropriate for both bare metal and virtualized environments as virtualization becomes as pervasive as bare metal deployments.
* New security features
A new service called the System Security Services Daemon (SSSD) provides central management of identities. It also has the ability to cache credentials for offline use. The new SELinux sandbox feature allows execution of untrusted content in an isolated environment designed not to impact the rest of the system. This includes the ability to isolate any virtualized guest running on Red Hat Enterprise Linux 6.
* Resource management
Fine-grained control, allocation and management of hardware resources is available with the help of a new framework called Control Groups or cgroups. cgroups work at the process group level and can be used to manage resources ranging from CPU, memory, network and disk I/O for applications. This framework is also used to manage virtual guests.
* Virtualization
Red Hat Enterprise Linux 6 builds on the integrated KVM-based virtualization provided by earlier Red Hat Enterprise Linux releases. Incorporating numerous performance, scheduler and hardware support enhancements, it offers improved flexibility and control regardless of the deployment model.
* Storage
Support for network block storage via FCoE and iSCSI protocols make it possible to perform online re-size of mirrored and multipath volumes using LVM/DM.
* File system
This release includes the ext4 file system. As the next generation of the extended filesystem family, it includes support for larger file sizes, more efficient allocation of disk space, better file system checking and more robust journaling. In addition to ext4, the XFS® filesystem is also expected to be available. XFS® is well suited for extremely large file and directory sizes and includes features such as the ability to defragment and re-size the filesystem while active. NFS has been updated to version 4, which includes support for IPv6.
* Reliability, availability and serviceability (RAS)
This release leverages new hardware capabilities to offer features such as hot-add of devices and memory, and enhanced error checking for PCIe devices via AER. It also is expected to include advanced data integrity features (DIF/DIX) that validate data from application to platter via hardware checksums. The introduction of ABRT (Automated Bug Reporting Tool) provides a more consistent way to identify and report system exception conditions like kernel failures (kernel oops) and userspace application crashes.
* Compiler and tools
The GCC compiler has been updated to version 4.4. This version complies with the C++ 0x standard draft. It also conforms to OpenMP 3.0 and includes many debugging capabilities. SystemTap improvements include better support for user-space probing, a more secure script-compile server and a new unprivileged mode that allows non-root users to access SystemTap. Additionally, there are many other libraries that have been updated to the latest versions, as well as additional languages and runtime environments, including the complete LAMP stack and OpenJDK.
* Desktop
This release introduces automatic detection of display types and support for multiple displays. We have also included updated nouveau drivers to support NVIDIA graphics devices. Of course, no release would be complete without significant updates to the GNOME and KDE desktops.
Toda nota oficial pode ser encontrada em:
http://press.redhat.com/2010/04/21/red-hat-enterprise-linux-6-beta-available-today-for-public-download/
Tags: gnu, hat, hyper, linux, red, v, virtualization, vms
Posted in 1, Open Source, red hat | No Comments »
Tuesday, April 13th, 2010

Para alterar o IP de saída pelo EXIM, crie no arquivo abaixo a referência:
/etc/mailips
Ficando dessa forma:
seu-dominio.com.br: IP
Como ao reiniciar o exim pelo whm , ele limpa o arquivo, torne o arquivo imultável com o comando:
chattr +i /etc/mailips
Neste caso, em minha opinião o bacana poderia também colocar o +ai como parâmetro do chattr para reforçar a segurança do arquivo pois o Cpanel em alguns updates chega a utilizar-se de chattr para tirar proteções.
Fonte: http://eltern.wordpress.com/2010/04/08/como-alterar-o-ip-de-saida-do-exim-para-um-dominio-no-servidor-de-hospedagem-com-cpanel/
Tags: CentOs, domain, exim, hat, ip, mail, red
Posted in 1, CentOs, gnu/linux, Hosting, How To, Open Source, Painéis de Controle, red hat | No Comments »
Friday, March 26th, 2010

Bem, se você usa o GOOGLE APPS e está tentando enviar um email de dentro de um servidor com POSTFIX e o mesmo não envia nada e ainda apresenta o erro do título, nada de pânico, o que ocorre:
1 – Email vai sair do servidor mas antes lê a lista de hosts locais dentro do arquivo /etc/postfix/main.cf na linha:
mydestination
2 – Quando o domínio tenta enviar para o outro domínio que provavelmente está citado ali, pimba! Fala que o destinatário falhou por não existir.
Como corrigir?
Remova o domínio do destinatário dali e seja feliz!
Tags: /etc, apps, CentOs, debian, erro, Error, googe, hat, mail, messages, postfix, red, send, smtp, ubuntu
Posted in 1, CentOs, debian, gnu/linux, Hosting, How To, Open Source, red hat, redes, ubuntu | No Comments »
Thursday, March 18th, 2010
rode os comandos como root para remover o apf:
/etc/rc.d/init.d/apf stop
rm -Rf /etc/apf
rm -Rf /etc/rc.d/init.d/apf
rm -Rf /var/log/apf_log
rm -Rf /var/log/apfados_log
rm -Rf /usr/local/sbin/apf
Desabilite o serviço do apf
/sbin/chkconfig –level 345 apf off
vim /etc/cron.daily/fw
e remova a linha abaixo:
/etc/rc.d/init.d/apf restart >> /dev/null 2>&1
Pronto, o script firewall APF agora não mais está ativo em seu servidor.
Tags: apf, CentOs, cpanel, hat, linux, red, whm
Posted in 1, CentOs, gnu/linux, Hosting, How To, Painéis de Controle | No Comments »
Saturday, March 13th, 2010
Esse erro é mais comum que feijão com arroz, mas para sanar este cara localize o php.ini do seu servidor e aumente o parâmetro
memory_limit = -1
(-1 indica uso infinito de memória)
Recomendo colocar algo simples como:
memory_limit = 32M
Reinicie o apache e tudo estará sanado -> service httpd restart (em caso de debian e afins /etc/init.d/apache2 restart)
Abraços.
Tags: .deb, apache, Error, hat, ini, limit, memory, php, red
Posted in Gentoo, gnu/linux, Hosting, How To, Nerdice!, Open Source, php, programação, red hat, slackware, ubuntu | No Comments »
Friday, February 19th, 2010
Rode os comandos abaixo como root:
cd /usr/local/cpanel/whostmgr/docroot/cgi
wget -N http://files.betaservant.com/files/free/fantastico_whm_admin.tgz
tar -xzpf fantastico_whm_admin.tgz
rm -rf fantastico_whm_admin.tgz
Depois é só correr para o abraço e observar em seu whm no último menu ,o fantastico estará lá, bastando somente clicar em install e mandar ficha!
Tags: CentOs, fantastico, hat, install, red, rhel
Posted in 1, CentOs, gnu/linux, Hosting, How To, Open Source, Painéis de Controle, red hat | No Comments »
Wednesday, November 4th, 2009
Se você tem certeza que o firewall está liberando as portas de email (143, 25, 110) e que seu serviço está operando normalmente no whm cpanel a saída está aqui:
/scripts/autorepair net_smtp_fix
Abraços e caso funcione eu quero 1 caixa de Bis!
Tags: CentOs, cpanel, cube, email, emails, gnu, hat, horde, linux, message, problem, red, round, smtp, squirrel, whm
Posted in 1, CentOs, fedora, gnu/linux, Hosting, How To, Painéis de Controle, red hat | 2 Comments »
Wednesday, October 21st, 2009
Entra no php.ini global do server (/usr/lib/php.ini) e informa isso:
date.timezone = America/Fortaleza
OU, caso a conta tenha um php.ini customizado informe isto acima e tudo ficará filé!
Abraços.
Tags: CentOs, cgi, debian. ubuntu, fast, fedora, hat, ini, php, red, rhel, suphp, timezone
Posted in 1, CentOs, debian, fedora, gnu/linux, Hosting, How To, Open Source, Painéis de Controle, php | 1 Comment »
Monday, September 14th, 2009
Se você instalou o IONCUBE no CENTOS/RedHat/Fedora, NÃO entre em pânico se recebeu a mensagem acima ou algo bem semelhante (com compontente da zend). Há uma probabilidade monstruosa do problema estar ocorrendo por causa do SELINUX. Para sanar esse problema rode:
/usr/sbin/setenforce 0
OU
edite o arquivo /etc/selinux/config colocando no lugar de enforcing a informação disable.
Reinicie seu server e depois seja feliz
Tags: CentOs, denied, enterprise, Error, fedora, gnu, hat, ioncube, linux, permission, problem, red, rhel, selinux, zend
Posted in 1, CentOs, fedora, gnu/linux, Hosting, Open Source, red hat | No Comments »
Thursday, May 7th, 2009
Se você é um desenvolvedor praticamente CURRENT então instale este repositório maravilhoso:
wget -q -O – http://www.atomicorp.com/installers/atomic |sh
Tags: atomic, atualizado, CentOs, current, hat, patches, red, repositório, update, updated, wget, yum
Posted in 1, CentOs, gnu/linux, Hosting, How To, Open Source, Painéis de Controle, parallels, php, programação, red hat, Segurança | No Comments »
Friday, April 17th, 2009
Essa é uma questão muito comum entre os sysadmins que tentam instalar o yum no red hat 4 ou centos 4 e não têm tido sucesso.
Abaixo preparei um how to com um link próprio dos arquivos para que você não tente encontrar o pacote na web e acabe se decepcionando ao ver navios.
Para instalar o yum no centos ou redhat siga exatamente o que será descrito.
Esse how to mostra como instalar o yum no RedHat 4.x (centos 4.x) de maneira simples e amigável.
O que será preciso?
1 – Estar logado como root no terminal,
2 – Criar um diretório aonde as coisas estarão armazenadas,
3 – Ter uma internet acessível para poder baixar (claro!).
Logue-se como root, em seguida, na pasta root crie algo como:
mkdir tmp
cd tmp
Agora que estamos dentro de /root/tmp nós iremos baixar todos os arquivos necessários e iremos deixar que o próprio yum dê conta do recado. Use exatamente os comandos abaixo para pegar os arquivos:
wget http://www.libphp.net/repositorio/yum-2.4.2-0.4.el4.rf.noarch.rpm
wget http://www.libphp.net/repositorio/libsqlite-2.8.15-1.i386.rpm
wget http://www.libphp.net/repositorio/python-elementtree-1.2.6-7.el4.rf.i386.rpm
wget http://www.libphp.net/repositorio/python-sqlite-0.5.0-1.2.el4.rf.i386.rpm
wget http://www.libphp.net/repositorio/python-urlgrabber-2.9.7-1.2.el4.rf.noarch.rpm
Agora que já temos os arquivos (pacotes) vamos instalar os mesmos:
rpm -ivh libsqlite-2.8.15-1.i386.rpm
rpm -ivh python-elementtree-1.2.6-7.el4.rf.i386.rpm
rpm -ivh python-sqlite-0.5.0-1.2.el4.rf.i386.rpm
rpm -ivh python-urlgrabber-2.9.7-1.2.el4.rf.noarch.rpm
rpm -ivh yum-2.4.2-0.4.el4.rf.noarch.rpm
Vamos ajustar o repositório:
wget http://www.libphp.net/repositorio/rpmforge-release-0.3.6-1.el4.rf.i386.rpm
Após
rpm -ivh rpmforge-release-0.3.6-1.el4.rf.i386.rpm
Depois disto somente faça:
yum update
Pronto!
Abração a todos e bom trabalho.
Tags: /tmp, 4, CentOs, centos4, dog, hat, hate, howto, ihv, instalação, instalar, manager, red, red hat, redhat, redhat4, repositórios, repository, root, rpm, sysadmin, tuto, update, yellow, yum
Posted in 1, CentOs, gnu/linux, Hosting, How To, Open Source, red hat, redes, Segurança | 3 Comments »