Fail to start proftpd in CentOS Rumi, November 12, 2008 My ProFTPD was not starting at all even after removing and re-installing! Moved around few places. So, I investigated the followings- Checked whether some other FTP server was running without my conscent! The result came negative. Then executed shell “/usr/sbin/proftpd” Something fired up this time! and it was like [root@ns2 ~]# /usr/sbin/proftpd /etc/host.conf: line 2: bad command `host.mydomain.com’ – warning: unable to determine IP address of ‘host.mydomain.com’ – error: no valid servers configured – Fatal: error processing configuration file ‘/etc/proftpd.conf’ The answer which resolved me by adding a single stated line in /etc/hosts file- host.mydomain.com Life’s beautiful- eh! Related Administrations Configurations (Linux)
MySQL Database Import Command July 31, 2012 The syntax is as follows to import the data created by mysqldump command: mysql -u {DB-USER-NAME} -p {DB-NAME} < {db.file.sql} mysql -u {DB-USER-NAME} -h {MySQL-SERVER-HOST-NAME} -p {DB-NAME} < {db.file.sql} In this example import a file called sales.sql for salesdb1 user and sales db, enter: $ mysql -u sales -p salesdb1… Read More
Setup Tomcat with Apache2 and Java on Ubuntu 10.04 Server May 28, 2011May 28, 2011 Apache Tomcat (or Jakarta Tomcat or simply Tomcat) is an open source servlet container developed by the Apache Software Foundation (ASF). Tomcat implements the Java Servlet and the JavaServer Pages (JSP) specifications from Sun Microsystems, and provides a "pure Java" HTTP web server environment for Java code to run. … Read More
Zimbra – deleting all email in queue by sender August 17, 2018January 15, 2022 As root user execute: /opt/zimbra/postfix/sbin/postqueue -p | tail -n +2 | awk ‘BEGIN { RS = “” } / sender@mail\.com/ { print $1 }’ | tr -d ‘*’ | /opt/zimbra/postfix/sbin/postsuper -d – To Delete ALL Messages From Queue /opt/zimbra/postfix/sbin/postsuper -d ALL or /opt/zimbra/common/sbin/postsupe -d ALL Another way to do this:… Read More