Disable PHP warnings in seyret
The seyret video module used on this site is awesome, but the PHP warnings it was spewing out on my site were unacceptable. Finally tracked it down.
 
Recover files from Apple Time Machine backup on linux.

I was playing with a hackintosh for a month or so, and one of the neatest features it has is Time Machine backups. When I got sick of dicking around with MacOS, I threw linux back on my box. Then I mounted up the Time Machine backup drive and... hrmf.

It is less than easy to navigate.

If you've done this and you need to pull off your mp3s or something, you can just use the find command to search the full disk and copy files off of it.

find . -name *.mp3 -print0 |xargs -0 -i cp {} /datastore/tmp/

 
OpenSuSE 11.2 Remote Administration (VNC) Black screen

In previous opensuse versions, it has been posible to enable vnc administration easily by enabling the service in YAST.
In OpenSuSE 11.2, this option is still available, but does not work well by default.

The issue, I believe is that the default window manager has changed to KDE4. Although KDE4 is the default window manager in 11.2, I still use GNOME.

When connecting to the vnc server on display :0, all that's drawn is a black screen with a gray X. To fix this, I changed the default window manager to gnome, and the default display manager to GDM.

These settings can be changed by editing the files in /etc/sysconfig, or using the /etc/sysconfig editor in yast.

Set DISPLAYMANAGER to 'gdm' and DEFAULT_WM to 'gnome'

You'll have to restart the X server, and after that, remote connections via VNC will open up gdm and allow you to log in.

 
CA Siteminder and SLES 10/11
CA Siteminder (And every CA product I've ever had the misfortune of using) is a steaming pile of shit.
I mean that with all due respect. Considering the default installation package doesn't work on stock SLES10/11, here are the hacks to make it work.

Follow the normal installation procedure, which will fail when you select your apache version (2.2). When it bombs out looking for your apache config, just give in and manually select your apache config dir (/etc/apache2) and let the installation proceed.

After the package is installed add the following to your /etc/apache2/httpd.conf

LoadModule sm_module "/usr/local/CA/Siteminder/webagent/bin/libmod_sm22.so"
SmInitFile "/etc/apache2/WebAgent.conf"



# Added for CA Siteminder on 09/09/09
Alias /siteminderagent/pwcgi/ "/usr/local/CA/Siteminder/webagent/pw/"
<directory usr="" local="" ca="" siteminder="" webagent="" pw="">
Options Indexes MultiViews ExecCGI
AllowOverride None
Allow from all
</directory>

Alias /siteminderagent/pw/ "/usr/local/CA/Siteminder/webagent/pw/"
<directory usr="" local="" ca="" siteminder="" webagent="" pw="">
Options Indexes MultiViews ExecCGI
AllowOverride None
Allow from all
</directory>

Alias /siteminderagent/ "/usr/local/CA/Siteminder/webagent/samples/"
<directory usr="" local="" ca="" siteminder="" webagent="" samples="">
Options Indexes MultiViews ExecCGI
AllowOverride None
Allow from all
</directory>



Also.. siteminder requires some environment variables to be set in order for LLAWMP to start up.
To load these, I've added the configuration script to the apache startup script /etc/init.d/apache2

#
# load the configuration
#
. /usr/local/CA/Siteminder/webagent/nete_wa_env.sh



... Now, how CA can get away with selling this trash is beyond me... but they do, and you probably have to use it.


 
<< Start < Prev 1 2 3 4 5 Next > End >>

Page 1 of 5