mailmanctl(7175): Site list is missing: Mailman Error

Mailman Error : mailmanctl(7175): Site list is missing : Mailman 

Solution

At first you have to add a dummy mailing list called mailman, before starting the mailman service.

Procedure
Find the
# locate newlist | grep -v template
/usr/local/mailman/bin/newlist


# cd /usr/lib/mailman/bin/
# ./newlist mailman
Enter the email of the person running the list: admin@domain.com
Initial mailman password:
To finish creating your mailing list, you must edit your /etc/aliases (or
equivalent) file by adding the following lines, and possibly running the
`newaliases' program:

## mailman mailing list
mailman: "|/usr/lib/mailman/mail/mailman post mailman"
mailman-admin: "|/usr/lib/mailman/mail/mailman admin mailman"
mailman-bounces: "|/usr/lib/mailman/mail/mailman bounces mailman"
mailman-confirm: "|/usr/lib/mailman/mail/mailman confirm mailman"
mailman-join: "|/usr/lib/mailman/mail/mailman join mailman"
mailman-leave: "|/usr/lib/mailman/mail/mailman leave mailman"
mailman-owner: "|/usr/lib/mailman/mail/mailman owner mailman"
mailman-request: "|/usr/lib/mailman/mail/mailman request mailman"
mailman-subscribe: "|/usr/lib/mailman/mail/mailman subscribe mailman"
mailman-unsubscribe: "|/usr/lib/mailman/mail/mailman unsubscribe mailman"

Hit enter to notify mailman owner...


Past the above in aliases file
#vim /etc/aliases
Now restart the mailman.

#service mailman restart


Linux Terminal Server Config (LTSP)

Linux Terminal Server Config (LTSP)


Below you can find the sample lts.conf file for USB keyboard and USB mouse


[default]
#X_COLOR_DEPTH=16
X_COLOR_DEPTH=24
LOCALDEV=True
SOUND=True
NBD_SWAP=True
SYSLOG_HOST=server
XKBLAYOUT=us
LDM_GLOBAL_DMRC=/etc/ltsp/ldm-global-dmrc

# XKBLAYOUT=us
#LDM_NUMLOCK=true
# X_COLOR_DEPTH=24
X_MODE_0=1024x768
SCREEN_01=shell
#SCREEN_02=shell
#SCREEN_03=rdesktop
#SCREEN_04=shell
#SCREEN_05=shell
#SCREEN_06=shell
SCREEN_07=shell
#VOLUME=90
#p
#HEADPHONE_VOLUME=90
#PCM_VOLUME=90
#CD_VOLUME=90
#FRONT_VOLUME=90
#TIMEZONE=UTC
#TIMESERVER=clock.redhat.com
#LOCAL_APPS_MENU=True
#LOCAL_APPS_WHITELIST="/usr/bin/foo /usr/bin/bar"

# LDM_DIRECTX=yes is very insecure, but it is faster and more scalable
LDM_DIRECTX=yes
# LDM_DEBUG=yes writes to /var/log/ldm.log during client runtime
LDM_DEBUG=yes


[00:50:56:ac:06:da]
#PRINTER_0_DEVICE=/dev/usblp0
#XSERVER = auto
SCREEN_03=rdesktop -f -a 24 -g 1024x768 -N 10.0.0.1
SCREEN_04=kdm
SCREEN_05=ltsp-localapps /usr/bin/kdm
X_COLOR_DEPTH=24
X_MODE_0=1024x768

#for USB mouse and keyboard
[00:1E:43:de:06:63]

SCREEN_02=rdesktop -f -a 24 -g 1680x1050 -N 10.0.0.2
X_COLOR_DEPTH=24
X_MODE_0=1680x1050
# X_MODE_0=1280x1024
# X_MODE_0=1024x768
MODULE_01 = usb-uhci
MODULE_02 = usbmouse
MODULE_03 = mousedev
MODULE_04 = usbkbd
MODULE_05 = keybdev
MODULE_06 = usbcore
X_MOUSE_DEVICE = "/dev/input/mice"
X_MOUSE_PROTOCOL = "IMPS/2"

[00:1E:43:de:06:6d]

MODULE_01 = usb-uhci
MODULE_02 = usbmouse
MODULE_03 = mousedev
MODULE_04 = usbkbd
MODULE_05 = keybdev
MODULE_06 = usbcore
X_MOUSE_DEVICE = "/dev/input/mice"
X_MOUSE_PROTOCOL = "IMPS/2"
X_MODE_0=1024x768
X_COLOR_DEPTH=24
SCREEN_02=rdesktop -f -a 24 -g 1024x768 -N 10.0.0.3

How To reset Fedora Linux 24 root Password

How To reset Redhat / Fedora Linux root Password

METHOD 1

By following the below simple steps you can reset the Linux root password.
1)While booting, on the boot menu screen press 'e' 
2)This will enable edit option in the grub menu . In the line which contains the word 'kernel' press 'e' 
3)go to end of that line and enter 'linux single' 
4)the press 'esc' twice and press 'b' to boot the system 
5) now the system will boot in the single user mode. On the console type: passwd root

METHOD 2

Please try out the following steps to change the root password: 

1. Boot the computer with linux Installation CD. 
2. Enter into linux Rescue mode by entering the following command in boot screen. boot: Linux rescue 
3. When the sh prompt is reached, enter the following commands to change root password.

#chroot /mnt/sysimage
#passwd

This will prompt you to enter your new password.



PXE-E53 "No boot filename received"


PXE-E53 "No boot filename received" 



The first thing I'd probably check is your BIOS setup. It may be trying to look for a network drive before starting from your local devices


Either the CMOS battery is bad & the boot order settings have changed in the BIOS, or the hard drive is bad & the computer is bypassing it & progressing thru the boot order. Network Boot usually comes after the HDD.

Error: Couldn't install: rjsmin 1.0.12

Error: Couldn't install: rjsmin 1.0.12

While installing Mailman, following error occurred.

#pip install zc.buildout
# buildout

Develop: '/opt/mailman/mailman-bundler/.'
warning: no files found matching '*.in' under directory 'mailman_bundler'
warning: no files found matching '*.in' under directory 'deployment'
warning: no files found matching 'deployment/mailman-web.logrotate.conf'
Installing mailman-web.
Getting distribution for 'rjsmin>=1.0.6'.
gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory
error: Setup script exited with error: command 'gcc' failed with exit status 1
An error occurred when trying to install rjsmin 1.0.12. Look above this message for any errors that were output by easy_install.
While:
  Installing mailman-web.
  Getting distribution for 'rjsmin>=1.0.6'.

Solution

How to set ACL in linux | Redhat Fedora Linux File | Partition Access control configuration

How to set ACL Permission in Redhat Linux

Step 1

Enable ACL support on the partition.
Edit /etc/fstab file and change the default parameter to rw,acl
If we want to enable acl for /home

LABEL=/                 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2 
LABEL=/home             /home                   ext3    rw,acl          1 2
LABEL=/tmp              /tmp                    ext3    defaults        1 2
LABEL=/usr              /usr                    ext3    defaults        1 2
LABEL=/var              /var                    ext3    defaults        1 2
/dev/hda8               swap                    swap    defaults        0 0
/dev/hdd1               /Data                   ext3    ro,noatime      1 2
LABEL=/XFS              /XFS                    xfs     rw,noatime      0 2

Reboot the system. If the partition is not in use, you can unmount and remount the partition

#sudo umount /home
#sudo mount /home

Step 2

Create user and group

#useradd user1
#groupadd group1
#usermod -a -G group1 user1

Step 3

Default ACL

Now you can enable ACL by using setfacl command

#mkdir /home/folder1
#chgrp group1 /home/folder1
#chmod g+w /home/folder1
#setfacl --set u::rwx,g::r-x,o::- /home/folder1


To set ACL 
#setfacl -d --set u::rwx,u:user1:rwx,g::rx,g:group1:rx,o::- /home/folder1


To view the acl
# getfacl /home/folder1/

# file: home/folder1/
# owner: root
# group: group1
user::rwx
group::r-x
other::---
default:user::rwx
default:user:user1:rwx
default:group::r-x
default:group:group1:r-x
default:mask::rwx
default:other::---

 


MySql Installation Procedure On Linux Command Line Yum Step By Step

How To Install Mysql On Linux through Command Line

There are multiple ways to install mysql on Linux machine

Installing through Yum:

If your server is on internet and yum repository is enabled, then you can install directly by runing the below command on linux console.

#yum install -y mysql-server


Installing:
mysql-server x86_64 5.1.47-2.fc12
Installing for dependencies:
perl-DBD-MySQL x86_64 4.016-1.fc12
perl-DBI x86_64 1.609-3.fc12
Updating for dependencies
mysql x86_64 5.1.47-2.fc12
mysql-libs x86_64 5.1.47-2.fc12

Installing from RPM:

Download the latest mysql-server rpm from rpm.pbone.net
You may need to download and install the dependency packages (mysql-libs, mysql, perl-DBD-MySQL, perl-DBD )before installing mysql-server
Transfer the downloaded file to the server using winscp or some other file transfer method

#rpm -ivh mysql-libs* mysql* perl-DBD-MySQL* perl-DBD*
#rpm -ivh mysql-server*

Initial Configurations:

After installing the mysql using one of the above method, you can start mysql with the default my.cnf settings

#service mysqld start
To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system
/usr/bin/mysqladmin -u root password 'new-password'
Alternatively you can run:
/usr/bin/mysql_secure_installation


Default my.cnf file

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1

# Disabling symbolic-links is recommended to prevent assorted security risks;
# to do so, uncomment this line:
# symbolic-links=0

# To allow mysqld to connect to a MySQL Cluster management daemon, uncomment
# these lines and adjust the connectstring as needed.
#ndbcluster
#ndb-connectstring="nodeid=4;host=localhost:1186"

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid

[ndbd]
# If you are running a MySQL Cluster storage daemon (ndbd) on this machine,
# adjust its connection to the management daemon here.
# Note: ndbd init script requires this to include nodeid!
connect-string="nodeid=2;host=localhost:1186"

[ndb_mgm]
# connection string for MySQL Cluster management tool
connect-string="host=localhost:1186"

How to reSet mysql root password:

By default there will be no password set for mysql admin (root). Now you can set root password using the below command 
#/usr/bin/mysqladmin -u root password 'new-password'
#mysqladmin -u root password mysqlpasswd
Now you can login to mysql server using the below commands
#mysql -u root -p
Related Articles:
How to create database
How to reset root password



Free it help desk inventory software | inventory management | help desk

Best free IT Helpdesk and Inventory Management software

I was searching for a free IT helpdesk and Inventory Management software for more than few years. I have tried IRM, exoPhpdesk, spiceworks and free demo helpdesk software's.  But I was not happy with the features. Then I found GLPI from freshmeat.net. I was quiet impressed by the futures available in this software. It got almost all the functionalists offered by the commercial help-desk software's. I have been using GLPI successfully for more that four years. I can say  this is the best open-source IT helpdesk and Inventory Management software in the industry
You can download the software form official GLPI webiste
Installation Procedure

License -  GPL licence
Features list of GLPI

General

  • Multi-entities management (multi-park, multi-structure)
  • Multi-users management
  • Multiple Authentication System (local, LDAP, AD, Pop/Imap, CAS, x509...) and multiple servers
  • Multilingual management (22 languages available )
  • Permissions and profiles system
  • Cache and Pagination system
  • Complex search module
  • Bookmark search system
  • Configurability of display fields in lists
  • Export System in PDF, CSV and SLK (spreadsheet)
  • Saving/restoration module of the database to the SQL format
  • Exportation of the database to the XML format
  • Configurable dropdowns
  • Dictionary
  • System of notifications on events (consumable stock, expiry of contracts and licenses)
  • Updates check system
  • UTF8 interface
  • HTML 4.01 compatibility
Inventory
  • Import data of the inventory from one or several OCS Inventory NG servers
  • Inventory of the computers fleet with management of its components, disk space and TCO management
  • Inventory of the monitors with management of the connections to the computers
  • Inventory of the network hardware fleet with management of the connections to the devices (IP, Mac addresses, VLANs...).
  • Inventory of printers fleet with management of connections to the computers and management of consumable associated and consumption and the thresholds of alarm.
  • Inventory of the external devices (scanners, graphical tables...) with management of the connections to the computers Inventory of the telephones fleet with management of connections to the computers
  • Inventory if the software fleet with license and expiration dates management
  • Assignment of the hardware by geographic area (room, floor...)
  • Typing models management to make the insertion of equal configurations easier
  • Commercial and financial Information management (purchase, guarantee and extension, damping)
  • Filing of the materials left the inventory
  • Management of the status of the hardwares
  • Management of the various states for the materials (in repair...) Management of generic peripherals and monitors being able to be associated several computers
  • Management of external bonds towards other applications
  • History of the modifications on the elements of the inventory
Tracking
  • Management of the tracking requests for all the types of material of the inventory
  • Tracking requests opened using web interface or email
Final user
  • Final user frontend for intervention demand
  • Mail tracking of the intervention demand feature
  • Interventions history consultation
  • Possibility of adding comments at the request of intervention using web interface or email
Technicians
  • Interventions demands priority management
  • Tracking of interventions demands
  • Mail tracking of interventions
  • Assignment of interventions demands
  • Opening/Closing/Re-opening of interventions
  • Assignment of a real time of interventions
  • History of done interventions
  • Displaying of the interventions to do by a technician
  • Displaying of the history of the interventions for a given hardware
  • Posting of the interventions to be realized by technician
  • Posting of the history of the interventions for a given material
  • Management of planning of intervention
Statistics
  • Statistics reports by month, year, total.
  • Global
  • By technician or enterprise
  • By hardware, location or type
  • By user
  • By category
  • By priority
Management
  • Management of enterprises (manufacturers, suppliers, conveyors, people receiving benefits...) and associated contacts
  • Management of the contracts (loan, hiring, leasing, insurance, maintenance and service)
  • Management of the documents related to the elements of inventories, contracts...
  • Management of the types of authorized documents
Reservation
  • Management of the reservations for the material in affected inventory with the park of loan
  • User interface (calendar) for reservation
Knowledge Database
  • Management of a basic system of knowledge hierarchical
  • Management of a public FAQ
Reports
  • Reports generation about the devices
  • By device-type
  • By associated contract
  • By commercial informations
  • Network Reports


Squid IP based access control How to Configure

How to configure squid IP based access control

To configure Squid ip based access confrol
Define the ACL allowedip and allow them in the http_access

acl allowedip src 10.5.5.1-10.5.5.100/32
acl deniedip src 10.5.6.1-10.5.6.100/32
http_access deny deniedip
http_access allow allowedip

How to Accept or Reject Sendmail incoming Email from Specific Domains, ip address, email ID

How to Accept or Reject Sendmail incoming Email from Specific Domains / ip address /email IDS


To accept or reject mails from specific domains, email address just Edit the access DB and add the IP address you want to block

#vim  /etc/mail/access

from:gmail.com                OK
from:hotmail.com   OK
from:yahoo.com       OK
189.30.24.75            DISCARD
85.187.23.85            DISCARD
213.130.80.230         REJECT
@home.ru                DISCARD
@lasmos.ru              DISCARD
@maynew.ru              DISCARD
@rambler.ru             DISCARD
@earlyvoting.net        DISCARD
@clicrevenu.net         DISCARD
@informeo.net           DISCARD
@iainwest.net           DISCARD
@ribk.net               DISCARD
@inforpar.net           DISCARD
@xdepot.net             DISCARD
@south-road.net         DISCARD
spam@home.ru                DISCARD




Save the settings and restart Sendmail or MailScanner service