Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] [help request] apt-get blocked by apache?
- Date: Fri, 27 Mar 2009 23:50:13 +0900
- From: Miles Colman <mcolman@example.com>
- Subject: Re: [tlug] [help request] apt-get blocked by apache?
- References: <ff055fb80903261106w801521bs437abbb02e493a9e@example.com> <20090327094604.9f707ef8.henrich@example.com>
Thanks to everyone who responded. I'm still not sure what's going on, but the error message from dpkg has changed. It looks like textpattern is configured to use apache2 and lighttpd? Anyhow, I'd just like to make dpkg useable again. I've got boa, apache2 and lighttpd installed, and I can start and stop all of them. When I go to 'localhost' I can see an 'It works!' page. When I stop all three with eg. /etc/init.d/lighttpd stop then (sometimes?) the page is no longer found. Also fiddling with /etc/init.d/<servername> stop changed the output of netstat and lsof but dpkg hasn't stopped showing errors. (earlier) mcolman@example.com:~$ sudo netstat -A inet -lnp [sudo] password for mcolman: Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 5173/mysqld tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 5313/smbd tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 5255/boa tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 5095/cupsd tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 5313/smbd udp 0 0 192.168.0.16:137 0.0.0.0:* 5311/nmbd udp 0 0 0.0.0.0:137 0.0.0.0:* 5311/nmbd udp 0 0 192.168.0.16:138 0.0.0.0:* 5311/nmbd udp 0 0 0.0.0.0:138 0.0.0.0:* 5311/nmbd udp 0 0 0.0.0.0:33328 0.0.0.0:* 5052/avahi-daemon: udp 0 0 0.0.0.0:68 0.0.0.0:* 5695/dhclient udp 0 0 0.0.0.0:5353 0.0.0.0:* 5052/avahi-daemon: mcolman@example.com:/etc/init.d$ sudo netstat -antp Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 5173/mysqld tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 5313/smbd tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 5255/boa tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 5095/cupsd tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 5313/smbd tcp 0 0 192.168.0.16:60167 66.249.89.18:80 ESTABLISHED 6170/firefox tcp 0 0 192.168.0.16:60165 66.249.89.18:80 ESTABLISHED 6170/firefox (later) mcolman@example.com:/etc/init.d$ sudo /etc/init.d/lighttpd stop * Stopping web server lighttpd ...done. mcolman@example.com:/etc/init.d$ sudo /etc/init.d/lighttpd start * Starting web server lighttpd ...done. mcolman@example.com:/etc/init.d$ sudo /etc/init.d/lighttpd stop * Stopping web server lighttpd ...done. mcolman@example.com:/etc/init.d$ sudo /etc/init.d/apache2 stop * Stopping web server apache2 httpd (no pid file) not running ...done. mcolman@example.com:/etc/init.d$ sudo /etc/init.d/boa stop Stopping HTTP server: boa. mcolman@example.com:/etc/init.d$ apt-get install avrdude E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? mcolman@example.com:/etc/init.d$ sudo apt-get install avrdude Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: avrdude-doc The following packages will be REMOVED: textpattern The following NEW packages will be installed: avrdude 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0B/163kB of archives. After this operation, 733kB disk space will be freed. Do you want to continue [Y/n]? (Reading database ... 154283 files and directories currently installed.) Removing textpattern ... * Restarting web server apache2 httpd (no pid file) not running ...done. * Stopping web server lighttpd ...done. * Starting web server lighttpd 2009-03-27 23:39:33: (network.c.300) can't bind to port: 80 Address already in use ...fail! invoke-rc.d: initscript lighttpd, action "restart" failed. dpkg: error processing textpattern (--remove): subprocess post-removal script returned error exit status 1 Errors were encountered while processing: textpattern E: Sub-process /usr/bin/dpkg returned an error code (1) mcolman@example.com:/etc/init.d$ mcolman@example.com:/etc/init.d$ sudo lsof -i :http COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME firefox 6170 mcolman 21u IPv4 108111 TCP kmsd.local:59747->jp-in-f18.google.com:www (ESTABLISHED) firefox 6170 mcolman 57u IPv4 105604 TCP kmsd.local:51119->jp-in-f83.google.com:www (ESTABLISHED) apache2 7105 root 4u IPv4 109772 TCP *:www (LISTEN) apache2 7106 www-data 4u IPv4 109772 TCP *:www (LISTEN) apache2 7108 www-data 4u IPv4 109772 TCP *:www (LISTEN) apache2 7110 www-data 4u IPv4 109772 TCP *:www (LISTEN) apache2 7111 www-data 4u IPv4 109772 TCP *:www (LISTEN) apache2 7112 www-data 4u IPv4 109772 TCP *:www (LISTEN) mcolman@example.com:/etc/init.d$ sudo netstat -antp Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 5173/mysqld tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 5313/smbd tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 7105/apache2 tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 5095/cupsd tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN 5313/smbd tcp 0 0 192.168.0.16:59747 66.249.89.18:80 ESTABLISHED 6170/firefox tcp 0 0 192.168.0.16:51119 66.249.89.83:80 ESTABLISHED 6170/firefox On Fri, Mar 27, 2009 at 9:46 AM, Hideki Yamane <henrich@example.com> wrote: > Hi, > > On Fri, 27 Mar 2009 03:06:36 +0900 > Miles Colman <mcolman@example.com> wrote: >> While trying to install textpattern I also installed the packages >> mysql-server (partly) and lighttpd. > (snip) >> Removing textpattern ... >> * Restarting web server apache2 >> httpd (no pid file) not running > > Maybe you set textparttern package uses apache2 package as httpd, > not lighttpd. Does apache2 run and listen port 80? > > > -- > Regards, > > Hideki Yamane henrich @ debian.or.jp/iijmio-mail.jp > http://wiki.debian.org/HidekiYamane > > -- > To unsubscribe from this mailing list, > please see the instructions at http://www.tlug.jp/list.html > > Please visit our sponsor at http://www.networld.ne.jp/ >
- Follow-Ups:
- Re: [tlug] [help request] apt-get blocked by apache?
- From: Hideki Yamane
- References:
- [tlug] [help request] apt-get blocked by apache?
- From: Miles Colman
- Re: [tlug] [help request] apt-get blocked by apache?
- From: Hideki Yamane
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] ISP Opinion
- Next by Date: Re: [tlug] ISP Opinion
- Previous by thread: Re: [tlug] [help request] apt-get blocked by apache?
- Next by thread: Re: [tlug] [help request] apt-get blocked by apache?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links