SMTP Auth on Ubuntu with Postfix Problem
Posted by Mr. IT Guy | Filed under IT in General, Linux
Problem: postfix/smtpd[12563]: warning: unknown[192.168.1.126]: SASL PLAIN authentication failed: authentication failure
Solution: Change the line that says
MECHANISMS="pam"
in /etc/default/saslauthd to
MECHANISMS="shadow"
Problem: postfix/smtpd[16619]: warning: SASL authentication failure: Password verification failed
Solution: Change /etc/init.d/saslauthd line from
PIDFILE=$RUN_DIR/saslauthd.pid
to
PIDFILE="/var/spool/postfix/var/run/${NAME}/saslauthd.pid"
and set ownership to group sasl then put ther user postfix in group sasl
HOWTO: Log Apache to MySQL on Ubuntu 8.04 (Hardy Heron)
Posted by Mr. IT Guy | Filed under Howto, Linux, Operating System
Installing the Software
Run the following commands in terminal:
sudo apt-get update sudo apt-get install libapache2-mod-log-sql-mysql libapache2-mod-log-sql libapache2-mod-log-sql-ssl
Create DB & User
Run the following commands in MySQL:
CREATE DATABASE apachelogs; GRANT INSERT,CREATE ON apachelogs.* TO apachelogger@localhost IDENTIFIED BY 'insert_passwd_here'; FLUSH PRIVILEGES;
Add Entry to apache2.conf
Add the following entry to apache2.conf before the VirtualHost settings (commonly before
Include /etc/apache2/sites-enabled/):
LogSQLLoginInfo mysql://apachelogger:insert_passwd_here@localhost/apachelogs
LogSQLCreateTables on
LogSQLDBParam socketfile /var/run/mysqld/mysqld.sock
LogSQLTransferLogFormat AabfHhmRSsTUuvIModify Each Virtual Host
For each virtual host that you want to log to SQL, add the following line:
LogSQLTransferLogTable this_site_com
where access_log is replaced by any table name; to differentiate many different virtual host, you can use the name of each virtual host here by replacing each dot (’.') with underscore (’_')
Tags: 8.04, database, hardy heron, Howto, SQL, ubuntu
Fixed: DVD Video Only Runs at Fullscreen
Posted by Mr. IT Guy | Filed under Howto, IT in General, Linux
If you’re on Ubuntu 8.04 (Hardy Heron), the Multimedia Systems Selector is hidden. You will need to enable this first.
Enabling Multimedia System Selector
- Goto System -> Preferences -> Main Menu
- Browse to System -> Preferences section
- Check the box where it says “Multimedia System Selector”
Changing the Multimedia System Video Output
- Goto System -> Preferences -> Multimedia System Selector
- Goto Video Tab
- Change the Default Output Plugin to “X Window System (No Xv)”
- Click OK & Restart Movie Player
Changing the VLC Setting
- Goto Settings -> Preferences -> Video -> Output Modules
- Check the box that says “Advanced options” at the lower right corner
- Change the Video output module to “X11 video output”
- Click Save
UPDATE:
Changing the Xine Setting
- Right Click -> Settings -> Setup (or Alt+S)
- Change “Configuration experience level” to “Expert”
- Goto Video and change “Video driver to use” to “xshm”
- Click Apply, Close then restart Xine




