On 03/23/2011 10:06 AM, Ben Snowden wrote:
I cannot seem to get 2.1.7 to run on ubuntu 10.04 x64. I have compiled
2.1.5 fine and got it working rather easily. No logs are generated
when I run "trafficserver start" and the traffic server daemons are
not started. I configured it with the --with-group=nobody option. I
had to use the --without-sqlite3 option before but that one is no
longer valid. Any help would be appreciated.
Hmmm, I tried this on a 10.04 x64 installation, a VM, and it works for
me. This is what I did
% sudo rm -rf /opt/ats
% cd trafficserver-src
% ./configure --prefix=/opt/ats
% make -j6
% sudo make install
% cd /opt/ats
% sudo ./bin/trafficserver start
% ps awux | grep traffic
root 14010 0.0 0.5 46704 2852 ? Ss 20:58 0:00
/opt/ats/bin/traffic_cop
nobody 14012 0.2 1.2 188448 6180 ? Ssl 20:58 0:00
/opt/ats/bin/traffic_manager
nobody 14023 2.1 19.1 218636 96728 ? Sl 20:58 0:02
/opt/ats/bin/traffic_server -M -A,7:X
A few things to check / consider:
1) You don't need the --with-group any more, the defaults are sane for
more Unix / Linux versions now.
2) sqlite3 is as you've noticed not required any more (it's never used)
3) If that still fails, make sure you've blown away the entire old
installation. I'm wondering if there's a permission problem in your install.
4) If that still fails, please examine /var/log/messages and all the
logs in ${prefix}/var/log/trafficserver (where $prefix is default
/usr/local, in my case it's /opt/ats).
Cheers,
-- leif