March 18, 2007

lighttpd and mailman

Filed under: Messaging, Redhat/Fedora, linux — morgan @ 23:07

There does not appear to be a how-to about integrating mailman with lighttpd. I’m relatively new to lighttpd and it’s pretty different from Apache. Please let me know if I am missing something significant.

I am using mailman 2.1.9 installed from rpm in Fedora Core 6 (fc6). There should not be much difference if you install it from the distribution.

If you install mailman from scratch it is important that you run the configure with –with-cgi-gid=lighttpd. Substitute ‘lighttpd’ with the group id you will be using to run lighttpd. lighttpd runs as group ‘lighttpd’ by default in fc6.


# mkdir /srv/www/lighttpd/images
# cp /usr/lib/mailman/icons/* /srv/www/lighttpd/images
# vi /usr/lib/mailman/Mailman/mm_cfg.py
    IMAGE_LOGOS = '/images/'
# vi /etc/lighttpd/lighttpd.conf


uncomment the following from "server.modules:"


    "mod_redirect",
    "mod_cgi",


If you're running lighttpd and mailman from the Fedora RPM:


    server.groupname            = "apache"


then


    # Exec        /mailman/*      $prefix/cgi-bin/* or
    # ScriptAlias /mailman/       $prefix/cgi-bin/
    alias.url = ( "/mailman" => "/usr/lib/mailman/cgi-bin",
        "/pipermail/" => "/var/lib/mailman/archives/public")
    $HTTP["url"] =~ "^/mailman" {
        cgi.assign = ( "" => "" )
    }

The Apache config directives are in comments above. In essence:
Alias /mailman to "/usr/lib/mailman/cgi-bin" on the filesystem
Tell lighttpd that any web path starting with /mailman contains executables.
cgi.assign = ("" => "") tells lighttpd that files without extensions should be run without an interpreter.

March 13, 2007

Zimbra install fails due to missing /usr/lib64/libstdc_++.so.5

Filed under: Messaging, Redhat/Fedora, Zimbra, linux — morgan @ 18:03

We are running Zimbra 4.5.3 Network Edition on Sun x4200s and x4100s with RHEL4. We’ve fully patched Redhat and I’m 99% sure certain Redhat was installed with full 64 bit support.


# gzip -dc zcs-NETWORK-4.5.3_GA_733.RHEL4_64.tgz |tar xf -
# cd zcs
# ./install.sh
...
Checking for prerequisites...
    NPTL...FOUND
    sudo...FOUND sudo-1.6.7p5-30.1.3
    libidn...FOUND libidn-0.5.6-1
libidn-0.5.6-1
    curl...FOUND curl-7.12.1-8
curl-7.12.1-8
    fetchmail...FOUND fetchmail-6.2.5-6
    gmp...FOUND gmp-4.1.4-3
gmp-4.1.4-3
    compat-libstdc++-296...FOUND compat-libstdc++-296-2.96-132.7.2
    compat-libstdc++-33...FOUND compat-libstdc++-33-3.2.3-47.3
    /usr/lib/libstdc++.so.5...FOUND
    /usr/lib64/libstdc++.so.5...MISSING

###ERROR###

One or more prerequisite packages are missing.
Please install them before running this installer.

Installation cancelled.

#

The solution is relatively simple:


# up2date --arch=x86_64 -i compat-libstdc++-33

Fetching Obsoletes list for channel: rhel-x86_64-es-4...

Fetching rpm headers...
########################################

Name                                    Version        Rel
----------------------------------------------------------
compat-libstdc++-33    3.2.3    47.3     x86_64

Testing package set / solving RPM inter-dependencies...
########################################
compat-libstdc++-33-3.2.3-4 ########################## Done.
Preparing              ######################################
##### [100%]

Installing...
   1:compat-libstdc++-33
########################################### [100%]
#

Redhat doesn't name their 64 libraries differently than their 32 bit libraries. I expect there's a way to tell the difference.

March 8, 2007

Front page news followed by brief trial.

Filed under: Casinos — morgan @ 23:19

This week’s Daily News had a front page article about Sugarhouse’s private investigators questioning the public about signing a democratic petition.

Taking it to the streets and asking each voter if they did sign the petition does make some sense, but it looks more like they are just trying to make the public uncomfortable. They asked her if she had a lawyer. I understand this is legal, but certainly intimidating to most people. They then hid their license plate as they left. Sugarhouse is clearly not listening to the public– they are trying to intimidate them and are unwilling to stand up to the people that oppose them.

On the heels of Sugarhouse’s P.I.s advising the public to retain a lawyer, Sprague, an investor in Sugarhouse provides us with reason to believe that maybe he knows how to run a court room.

if you think the proceedings and decision make sense, send me an email. The signatures were gathered in good faith. I was there, I gathered several hundred personally in freezing cold weather. There are clearly a lot of Philadelphians who are against casinos. It would appear the judge really wasn’t interested interested the will of the people.

If I read the article correctly:
- They argued over the spelling of Griffin,
- Mary agreed that it *appeared* like multiple signatures on one page “might” have been signed by the same person and
- The judge then denied further requests to question Sprague’s evidence and ruled in favor of Sugarhouse.

This is just more reason to write your councilperson. and ask him/her to support the referendum.

March 6, 2007

Anti-Casino Movement Matures and Sugarhouse Shows Fear

Filed under: Casinos — morgan @ 3:34

The last few weeks included a particularly upsetting Fishtown Neighborhood Association (FNA) meeting, acknowledgment by Sugarhouse Casino that they view us as a threat and announcement of structure at Casino Free Philadelphia.

The Fishtown Neighborhood Association (FNA) FNA is officially neutral on the subject of Casinos. This is troubling as FNA is the only city recognized organization representing our neighborhood and it is difficult to hav a strong voice if they do not take a stand on the issue. There was strong sentiment at the meeting that newcomers to the neighborhood such as myself and anyone that has been there less than their entire life should not have a say. We’ve started door-to-door outreach as concerned residents to express a stronger voice against Sugarhouse and casinos in general. Early signs are positive: 75% of those we’ve talked to so far have expressed similar sentiments. We need to build community, Fishtown is fractured culturally.

Sugarhouse accused us of voter fraud Thursday’s paper. Casino Free Philadelphia successfully gathered 27,000+ signatures on a petition to add an item to the May ballot that would allow voters to decide if Casinos should be near residential areas. This would push them to the industrial edges of the city. Sugarhouse’s claims are significant but if they truly believed them they wouldn’t call the paper and allege massive fraud, they would just challenge us in court. As far as I’m aware this is the first public sign that Sugarhouse acknowledges us. This is the first step: they consider us a threat. This is a good sign.

The fight will go to court in the next few weeks and will probably be battled down the the last signature. It should be interesting.

We attended Casino Free Philadelphia’s second strategy retreat on Saturday. They announced a structure for an organization, they now have a budget and paid employees. It is still a primarily volunteer organization but Sugarhouse is clearly organizing, we need to do the same. There is clear dedication in the anti-casino movement that didn’t exist even 2 months ago. The movement is serious and we’re motivated.

Powered by WordPress