Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

ftd: uuid not found

Got problems with Bubba? Then this forum is for you.
Locked
gorgulator
Posts: 14
Joined: 23 Oct 2007, 08:55

ftd: uuid not found

Post by gorgulator »

Hi,

my /var/log/daemon.log is full of the above mentioned errorlog.

the complete output reads like

Code: Select all

Oct 24 15:57:24 ftd: uuid not found
Oct 24 15:57:24 ftd: User userXyz added download
Oct 24 15:57:25 ftd: uuid not found
Oct 24 15:57:25 ftd: Caught exception waiting for message: [Unable to read message: Interrupted system call]
Oct 24 15:57:45 last message repeated 3 times
Oct 24 15:57:45 ftd: User userXyz canceled download
Oct 24 15:57:46 ftd: uuid not found
Thank you for your support.
gorgulator
Posts: 14
Joined: 23 Oct 2007, 08:55

Post by gorgulator »

Hi again,
I may should have added that I can't get any upload get to work with the error mentioned above :cry: - so my bubba is of no use for me at the moment.

May the problem relate to "avahi"? After rebooting my log says:

Code: Select all

Oct 25 16:05:24  avahi-daemon[1062]: Failed to add service 'Webpages on myComputerName' of type '_http._tcp', ignoring service group (/etc/avahi/services/bubbaweb.service): Local name collision
Thank you for your support.#
gorgulator
Posts: 14
Joined: 23 Oct 2007, 08:55

Post by gorgulator »

Is there anyone having a clue what's the problem with my ftd? As I cannot use my bubba at all I'll have to push this topic again, sorry . :roll:
tor
Posts: 703
Joined: 06 Dec 2006, 12:24
Contact:

Post by tor »

Hi gorgulator,

Is it correct that downloads work fine but uploads fail when using the web-admin?

Regarding the log.

You can most likely ignore the uuid not found they are most likely the result when the browser queries bubba on progress of the upload before it has started and after its done.

The added and canceled downloads are also ok. The cancel part is due to uploads being automatically closed when done.

The Caught exception lines are a bit more serious but nothing fatal. Its the ftd process being interrupted while waiting on messages from the webserver.

Regarding Avahi. It should really not affect ftd at all. The error message simply says that there is another service named nyComputerName in the network that provides the service mentioned.

But the big question is why upload is failing for you. It seems that everything actually is working. It could fx be permissions that are involved here.

Exactly how do you do when you are uploading? Try log in as a regular user, ie not admin, in the web-admin. Press filemanager, dont change directory, and upload something moderate in size ~1MB. Does this fail as well?

/Tor
Co-founder OpenProducts and Ex Excito Developer
gorgulator
Posts: 14
Joined: 23 Oct 2007, 08:55

Post by gorgulator »

Hello Tor,

I tried as you suggested and selected a file with only about 500 kb ....

The daemon.log is full of

Code: Select all

last message repeated 14881 times
after the following Exception:

Code: Select all

Oct 31 06:25:39 ftd: Caught exception waiting for message: [Unable to read message: Permission denied]
I logged into the web-admin console using a normal user.

Thank you for your support!
tor
Posts: 703
Joined: 06 Dec 2006, 12:24
Contact:

Post by tor »

Hi gorgulator,

This seems strange. Either permissions on communication between the ftd and the web server is borked. Or the ftd is using some errornous config. (Neither of this seems to have been the issue before though) Could you please provide the output of

Code: Select all

ls -l /tmp
/Tor
Co-founder OpenProducts and Ex Excito Developer
gorgulator
Posts: 14
Joined: 23 Oct 2007, 08:55

Post by gorgulator »

Hello Tor,

there are two files:

Code: Select all

srwxr-xr-x  1 www-data www-data 0 Oct 31 12:19 buplOnbzqc
-rw-rw----  1 root     www-data 0 Oct 30 11:10 ftdaemon

Gorgulator
tor
Posts: 703
Joined: 06 Dec 2006, 12:24
Contact:

Post by tor »

Ok that looked correct. Could you then do

Code: Select all

ps u -C ftd
to see that the ftd process is executing as the correct user.

/Tor
Co-founder OpenProducts and Ex Excito Developer
gorgulator
Posts: 14
Joined: 23 Oct 2007, 08:55

Post by gorgulator »

This states:

Code: Select all

susi      1071 73.5  3.8 31820 2392 ?        Rs   Oct30 1276:59 /usr/sbin/ftd
"susi" is the user which I used to do the upload ....
gorgulator
Posts: 14
Joined: 23 Oct 2007, 08:55

Post by gorgulator »

... but that was yesterday! I did the upload TOday ... (and "date" says that my bubba's got the correct date.

So I maybe should restart ftd and try again - shouldn't I?
tor
Posts: 703
Joined: 06 Dec 2006, 12:24
Contact:

Post by tor »

Hi,

The ftd must run as root to work. Only start and stop it when logged in as root. Restart ftd and retry the above test :)

/Tor
Co-founder OpenProducts and Ex Excito Developer
gorgulator
Posts: 14
Joined: 23 Oct 2007, 08:55

Post by gorgulator »

Hello Tor,

restartet my bubba and ps u -C ftd delivered:

Code: Select all

USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root      1072  0.0  3.5 23628 2228 ?        Ss   17:21   0:00 /usr/sbin/ftd
Afterwards I logged in with the "susi" account and started an upload. The above mentioned Exceptions occured in the daemon.log and the bubba web-admin console froze ...

A further ps showed that the ftd has been given to the susi User (same PID!)

Code: Select all

USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
susi      1072  5.6  3.8 31820 2392 ?        Rs   17:21   0:26 /usr/sbin/ftd
Fascinating - what do you think :lol: ?
tor
Posts: 703
Joined: 06 Dec 2006, 12:24
Contact:

Post by tor »

Hi again,

Ok, the change of process owner suggests that something goes wrong during the upload. (The process changes "identity" to the uploader during operation and changes back afterwards. And in your case it never changes back.)

Im not however able to reproduce this on our side. And thus i need more information on this. Which operating system and brower do you use? How do you access your bubba, what do you have in the location bar of your browser?

Since it seems like all your uploads goes wrong i suspect that there is something in the environment that is causing this.

If you rateher would email us at support than provide this info in the forum thats ok.

/Tor
Co-founder OpenProducts and Ex Excito Developer
Locked