Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 189698
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Francesco Piccinno <stack.box@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 189698 depends on: Show dependency tree
Bug 189698 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-08-21 12:58 0000
Lighttpd:

ToSSiKa stack # /etc/init.d/lighttpd status
 * status: stopped
ToSSiKa stack # /etc/init.d/lighttpd start
 * Starting lighttpd ...
 * start-stop-daemon: /usr/sbin/lighttpd died                                  
                                         [ !! ]
 * ERROR: lighttpd failed to start
ToSSiKa stack # ps -def | grep light
lighttpd 22155     1  0 14:46 ?        00:00:00 /usr/sbin/lighttpd -f
/etc/lighttpd/lighttpd.conf
lighttpd 22156 22155  0 14:46 ?        00:00:00 /usr/bin/php-cgi
lighttpd 22158 22156  0 14:46 ?        00:00:00 /usr/bin/php-cgi
lighttpd 22159 22155  0 14:46 ?        00:00:00 /usr/bin/php-cgi
lighttpd 22160 22159  0 14:46 ?        00:00:00 /usr/bin/php-cgi
lighttpd 22161 22155  0 14:46 ?        00:00:00 /usr/bin/php-cgi
lighttpd 22162 22161  0 14:46 ?        00:00:00 /usr/bin/php-cgi
lighttpd 22163 22155  0 14:46 ?        00:00:00 /usr/bin/php-cgi
lighttpd 22167 22163  0 14:46 ?        00:00:00 /usr/bin/php-cgi
lighttpd 22169     1  0 14:46 ?        00:00:00 /usr/libexec/gam_server
root     22186  9252  0 14:46 pts/2    00:00:00 grep --colour=auto light
ToSSiKa stack # /etc/init.d/lighttpd status
 * status: stopped

mldonkey:
ToSSiKa stack # /etc/init.d/mldonkey status
 * status: crashed
ToSSiKa stack # ps -def | grep mlnet
root     23610  9252  0 14:53 pts/2    00:00:00 grep --colour=auto mlnet
ToSSiKa stack # cat /var/run/mldonkey.pid
20425
ToSSiKa stack # rm /var/run/mldonkey.pid
ToSSiKa stack # /etc/init.d/mldonkey zap
 * Manually resetting mldonkey to stopped state
ToSSiKa stack # /etc/init.d/mldonkey start
 * Starting mldonkey ...                                                       
                                         [ ok ]
ToSSiKa stack # ps -def | grep mlnet
root     23721  9252  0 14:54 pts/2    00:00:00 grep --colour=auto mlnet
ToSSiKa stack # /etc/init.d/mldonkey status
 * status: crashed
ToSSiKa stack # cat /var/log/mldonkey.log
cat: /var/log/mldonkey.log: No such file or directory
ToSSiKa stack # tail /home/p2p/mldonkey/mlnet.log
2007/08/20 11:03:54 [cO] Started logging...
2007/08/20 11:03:55 [dcCO] LETS reverse clients list NOW
2007/08/20 18:17:13 [cO] Started logging...
2007/08/20 18:17:14 [dcCO] LETS reverse clients list NOW
2007/08/21 13:00:59 [cO] Started logging...
2007/08/21 13:01:00 [dcCO] LETS reverse clients list NOW
2007/08/21 14:37:52 [cO] Started logging...
2007/08/21 14:37:52 [dcCO] LETS reverse clients list NOW
2007/08/21 14:54:09 [cO] Started logging...
2007/08/21 14:54:09 [dcCO] LETS reverse clients list NOW
ToSSiKa stack # mlnet
2007/08/21 14:55:29 [cO] Starting MLDonkey 2.9.0 ...
2007/08/21 14:55:29 [cO] Language EN, locale ANSI_X3.4-1968, ulimit for open
files 1024
2007/08/21 14:55:29 [cO] MLDonkey is working in /root/.mldonkey

2007/08/21 14:55:29 [cO] creating new MLDonkey base directory in
/root/.mldonkey

2007/08/21 14:55:29 [cO] loaded language resource file
2007/08/21 14:55:29 [DNS] Resolving [ToSSiKa] ...
2007/08/21 14:55:29 [DNS] Resolving [www.mldonkey.org] ...
2007/08/21 14:55:29 [cO] Logging in /root/.mldonkey/mlnet.log
2007/08/21 14:55:29 [dMain] Core started


Reproducible: Always

------- Comment #1 From Roy Marples (RETIRED) 2007-08-21 13:17:02 0000 -------
Odd, both of those work fine for me.

For mldonkey, please ensure that the data files are owned by the p2p user

------- Comment #2 From Matěj Laitl 2007-08-21 20:24:45 0000 -------
As of lighttpd, I can reproduce this problem:

nb-matej /home/strohel # pgrep lighttpd
nb-matej /home/strohel # /etc/init.d/lighttpd start
 * Starting lighttpd ...
 * start-stop-daemon: caught an interupt
 * start-stop-daemon: /usr/sbin/lighttpd died   [ !! ]
 * ERROR: lighttpd failed to start
nb-matej /home/strohel # pgrep lighttpd
11800

This is caused by superfluous --background option in s-s-d in in
/etc/init.d/lighttpd
Without this option, lighttpd init script produces expected results.

It was fixed in 1.4.13-r3, but the fix was somehow skipped in 1.4.15* and
1.4.16 ebuilds. (they include old init.d file from 1.4.13-r2)

------- Comment #3 From Roy Marples (RETIRED) 2007-08-21 20:47:39 0000 -------
You're right. Assigning to www-servers.

------- Comment #4 From Thilo Bangert 2007-08-22 06:45:41 0000 -------
fixed lighttpd in cvs. thanks for the report.
reassigning back to base-system for mldonkey.

------- Comment #5 From Roy Marples (RETIRED) 2007-08-22 08:29:30 0000 -------
I'm going to mark this as WORKSFORME now because it does :)
And I'm pretty sure it's just a file permissions error.

Re-open if you dis-agree

------- Comment #6 From Francesco Piccinno 2007-08-22 14:01:58 0000 -------
It's not a file permission issue:

ToSSiKa stack # rc-status
Runlevel: default
 dbus                                                                          
                                  [  started  ]
 fcron                                                                         
                                  [  started  ]
 hald                                                                          
                                  [  started  ]
 lm_sensors                                                                    
                                  [  started  ]
 local                                                                         
                                  [  started  ]
 metalog                                                                       
                                  [  started  ]
 mldonkey                                                                      
                                  [  crashed  ]
 net.eth0                                                                      
                                  [  started  ]
 netmount                                                                      
                                  [  started  ]
 ntp-client                                                                    
                                  [  started  ]
ToSSiKa stack # rm /var/run/mldonkey.pid
ToSSiKa stack # /etc/init.d/mldonkey zap
 * Manually resetting mldonkey to stopped state
ToSSiKa stack # ps -def | grep mlne
root     28201 27967  0 15:55 pts/3    00:00:00 grep --colour=auto mlne
ToSSiKa stack # /etc/init.d/mldonkey start
 * Caching service dependencies ...                                            
                                         [ ok ]
 * Starting mldonkey ...                                                       
                                         [ ok ]
ToSSiKa stack # ps -def | grep mln
root     28350 27967  0 15:55 pts/3    00:00:00 grep --colour=auto mln
ToSSiKa stack # /etc/init.d/mldonkey stop
 * Stopping mldonkey -- please wait ...                                        
                                         [ ok ]
ToSSiKa stack # chown p2p:users /home/p2p/mldonkey -R
ToSSiKa stack # grep DIR /etc/conf.d/mldonkey
MLDONKEY_DIR="/home/p2p/mldonkey"
ToSSiKa stack # ls -lh /home/p2p/ | grep mldo
drwxr-xr-x 11 p2p   users 1.3K Aug 22 15:56 mldonkey
ToSSiKa stack # /etc/init.d/mldonkey start
 * Starting mldonkey ...                                                       
                                         [ ok ]
ToSSiKa stack # ps -def | grep mlnet
root     28567 27967  0 15:56 pts/3    00:00:00 grep --colour=auto mlnet
ToSSiKa mldonkey # /etc/init.d/mldonkey status
 * status: crashed
ToSSiKa mldonkey # tail /var/log/messages -n3
Aug 22 15:54:16 ToSSiKa su[27955]: + pts/3 stack:root
Aug 22 15:54:16 ToSSiKa su[27955]: pam_unix(su:session): session opened for
user root by stack(uid=1000)
Aug 22 15:59:19 ToSSiKa /etc/init.d/mldonkey[29176]: status: crashed
ToSSiKa mldonkey #

------- Comment #7 From Roy Marples (RETIRED) 2007-08-22 14:08:17 0000 -------
OK, attach the output of the following please

cat /var/run/mkdonkey.pid
pgrep mlnet
cat /lib/rcscripts/init.d/daemons/mldonkey/*

------- Comment #8 From Francesco Piccinno 2007-08-22 14:17:24 0000 -------
ToSSiKa stack # /etc/init.d/mldonkey restart
 * Stopping mldonkey -- please wait ...                                        
                                         [ ok ]
 * Starting mldonkey ...                                                       
                                         [ ok ]
ToSSiKa stack # cat /var/run/mldonkey.pid
3114
ToSSiKa stack # pgrep mlnet
ToSSiKa stack # cat /lib/rcscripts/init.d/daemons/mldonkey/*
exec=/usr/bin/mlnet
name=
pidfile=/var/run/mldonkey.pid
ToSSiKa stack # ps -def | grep 3114
root      3290 14811  0 16:16 pts/1    00:00:00 grep --colour=auto 3114
ToSSiKa stack #

------- Comment #9 From Roy Marples (RETIRED) 2007-08-22 14:24:33 0000 -------
OK, now post the output of this

su - p2p
mlnet

wait for say 5 minutes and then ctrl-c out. attach the output

------- Comment #10 From Francesco Piccinno 2007-08-22 14:32:31 0000 -------
whops.. :/
it was my error. sorry

ToSSiKa stack # su p2p
p2p@ToSSiKa /home/stack $ cd
p2p@ToSSiKa ~ $ pwd
/home/p2p
p2p@ToSSiKa ~ $ mlnet
2007/08/22 16:25:30 [cO] Starting MLDonkey 2.9.0 ...
2007/08/22 16:25:30 [cO] Language EN, locale ANSI_X3.4-1968, ulimit for open
files 1024
2007/08/22 16:25:30 [cO] MLDonkey is working in /home/p2p/.mldonkey

2007/08/22 16:25:30 [cO] creating new MLDonkey base directory in
/home/p2p/.mldonkey

2007/08/22 16:25:31 [cO] loaded language resource file
2007/08/22 16:25:31 [DNS] Resolving [ToSSiKa] ...
2007/08/22 16:25:31 [DNS] Resolving [www.mldonkey.org] ...
2007/08/22 16:25:31 [cO] Logging in /home/p2p/.mldonkey/mlnet.log
2007/08/22 16:25:31 [dMain] Core started
p2p@ToSSiKa ~ $ cat /etc/conf.d/mldonkey
cat: /etc/conf.d/mldonkey: Permission denied
p2p@ToSSiKa ~ $ MLDONKEY_DIR="/home/p2p/mldonkey" mlnet
2007/08/22 16:27:28 [cO] Starting MLDonkey 2.9.0 ...
2007/08/22 16:27:28 [cO] Language EN, locale ANSI_X3.4-1968, ulimit for open
files 1024
2007/08/22 16:27:28 [cO] MLDonkey is working in /home/p2p/mldonkey
2007/08/22 16:27:28 [Gettext] Loading language resource
mlnet_strings.EN_ANSI_X3.4-1968
2007/08/22 16:27:28 [cO] loaded language resource file
2007/08/22 16:27:28 [DNS] Resolving [ToSSiKa] ...
2007/08/22 16:27:28 [DNS] Resolving [www.mldonkey.org] ...
2007/08/22 16:27:28 [cO] Logging in /home/p2p/mldonkey/mlnet.log
File shared_files.ini.tmp exists
An error may have occurred during previous configuration save.
Please, check your configurations files, and rename/remove this file
before restarting
p2p@ToSSiKa ~ $ rm /home/p2p/mldonkey/shared_files.ini.tmp
p2p@ToSSiKa ~ $ MLDONKEY_DIR="/home/p2p/mldonkey" mlnet
2007/08/22 16:27:55 [cO] Starting MLDonkey 2.9.0 ...
2007/08/22 16:27:55 [cO] Language EN, locale ANSI_X3.4-1968, ulimit for open
files 1024
2007/08/22 16:27:55 [cO] MLDonkey is working in /home/p2p/mldonkey
2007/08/22 16:27:55 [Gettext] Loading language resource
mlnet_strings.EN_ANSI_X3.4-1968
2007/08/22 16:27:55 [cO] loaded language resource file
2007/08/22 16:27:55 [DNS] Resolving [ToSSiKa] ...
2007/08/22 16:27:55 [DNS] Resolving [www.mldonkey.org] ...
2007/08/22 16:27:55 [cO] Logging in /home/p2p/mldonkey/mlnet.log
2007/08/22 16:28:03 [dMain] Core started

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug