Reply
Thread Tools
benlau's Avatar
Posts: 135 | Thanked: 375 times | Joined on Mar 2010 @ Hong Kong
#1
Hi,

I just register my account to upload my software (OSS) to extras builder. However, I got the following error:

Code:
$ dput -f fremantle-extras-builder penpen_0.1-1_armel.changes
Uploading to fremantle-extras-builder (via scp to drop.maemo.org):
This is a restricted account.
Warning: The execution of '/usr/bin/scp' as
  'scp -p /scratchbox/users/benlau/home/benlau/src/penpen/src/penpen_0.1-1.dsc /scratchbox/users/benlau/home/benlau/src/penpen/src/penpen_0.1-1.tar.gz /scratchbox/users/benlau/home/benlau/src/penpen/src/penpen_0.1-1_armel.deb /scratchbox/users/benlau/home/benlau/src/penpen/src/penpen_0.1-1_armel.changes benlau@drop.maemo.org:/var/www/extras-devel/incoming-builder/fremantle'
  returned a nonzero exit code.
Error while uploading.
As I can login with using ssh , so my ssh key should be set correctly.

Code:
$ ssh benlau@drop.maemo.org
Linux wml0250 2.6.32-5+logica3 #1 SMP Mon Feb 1 12:49:32 EET 2010 i686

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Jun 16 14:58:18 2010 from 221.125.8.44
This is a restricted account.
You cannot execute anything here.
Not enough arguments.
Goodbye.
Connection to drop.maemo.org closed.
Anything wrong about the builder? Or I have missed any step?
 
Posts: 726 | Thanked: 345 times | Joined on Apr 2010 @ Sweden
#2
Originally Posted by benlau View Post
Code:
$ dput -f fremantle-extras-builder penpen_0.1-1_armel.changes
Uploading to fremantle-extras-builder (via scp to drop.maemo.org):
This is a restricted account.
Warning: The execution of '/usr/bin/scp' as
  'scp -p /scratchbox/users/benlau/home/benlau/src/penpen/src/penpen_0.1-1.dsc /scratchbox/users/benlau/home/benlau/src/penpen/src/penpen_0.1-1.tar.gz /scratchbox/users/benlau/home/benlau/src/penpen/src/penpen_0.1-1_armel.deb /scratchbox/users/benlau/home/benlau/src/penpen/src/penpen_0.1-1_armel.changes benlau@drop.maemo.org:/var/www/extras-devel/incoming-builder/fremantle'
  returned a nonzero exit code.
Error while uploading.
As I can login with using ssh , so my ssh key should be set correctly.
You key looks like it's working so I've added some bold to your snippet above.

Why would scp fail? 9 times out of 10, scp fails because it can't read the files you're trying to copy somewhere. Either a file is missing or it has the wrong bits or is owned by an unexpected owner. Or a combination.

So, do some ls -l in the directories with the files that you try to copy and see what's what.
 
benlau's Avatar
Posts: 135 | Thanked: 375 times | Joined on Mar 2010 @ Hong Kong
#3
Hi Joorin,

I have changed the path for a new release of software. However, the problem is still existed. The result of `ls` is

Code:
$ ls /scratchbox/users/benlau/home/benlau/src/buildarea/penpen_0.2-1.dsc /scratchbox/users/benlau/home/benlau/src/buildarea/penpen_0.2-1.tar.gz /scratchbox/users/benlau/home/benlau/src/buildarea/penpen_0.2-1_armel.deb /scratchbox/users/benlau/home/benlau/src/buildarea/penpen_0.2-1_armel.changes
/scratchbox/users/benlau/home/benlau/src/buildarea/penpen_0.2-1_armel.changes
/scratchbox/users/benlau/home/benlau/src/buildarea/penpen_0.2-1_armel.deb
/scratchbox/users/benlau/home/benlau/src/buildarea/penpen_0.2-1.dsc
/scratchbox/users/benlau/home/benlau/src/buildarea/penpen_0.2-1.tar.gz
All are existed.

I found sometimes the ssh login will not work with a error message of :

Code:
$ ssh benlau@drop.maemo.org
Permission denied (publickey).
If I keep to try few more times , it will work again.

If I scp directly, sometimes it just return from the command or print an error message with :

Code:
$ scp -p /home/benlau/MyDevices/Workspace/tmp/buildarea/penpen_0.2-1.dsc /home/benlau/MyDevices/Workspace/tmp/buildarea/penpen_0.2-1.tar.gz /home/benlau/MyDevices/Workspace/tmp/buildarea/penpen_0.2-1_armel.deb /home/benlau/MyDevices/Workspace/tmp/buildarea/penpen_0.2-1_armel.changes benlau@drop.maemo.org:/var/www/extras-devel/incoming-builder/fremantle
Permission denied (publickey).
lost connection
I am very confused now.. Do maemo hold any black list ?
 
Posts: 726 | Thanked: 345 times | Joined on Apr 2010 @ Sweden
#4
Only "ls" lists files, "ls -l", as I wrote, also lists permissions.

But, this looks more like a problem with the Maemo servers than your file permissions.
 
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#5
Stupid question, but did you update your key here https://garage.maemo.org/account/?
ssh-keygen -t rsa to generate a key, it should be in ~/.ssh/id_rsa.pub (iirc)
 
benlau's Avatar
Posts: 135 | Thanked: 375 times | Joined on Mar 2010 @ Hong Kong
#6
Code:
$ ls -lh /scratchbox/users/benlau/home/benlau/src/buildarea/penpen_0.2-1.dsc /scratchbox/users/benlau/home/benlau/src/buildarea/penpen_0.2-1.tar.gz /scratchbox/users/benlau/home/benlau/src/buildarea/penpen_0.2-1_armel.deb /scratchbox/users/benlau/home/benlau/src/buildarea/penpen_0.2-1_armel.changes 
-rw-rw-r-- 1 benlau benlau 920 2010-06-20 20:40 /scratchbox/users/benlau/home/benlau/src/buildarea/penpen_0.2-1_armel.changes
-rw-r--r-- 1 benlau benlau 89K 2010-06-20 20:40 /scratchbox/users/benlau/home/benlau/src/buildarea/penpen_0.2-1_armel.deb
-rw-rw-r-- 1 benlau benlau 298 2010-06-20 20:37 /scratchbox/users/benlau/home/benlau/src/buildarea/penpen_0.2-1.dsc
-rw-rw-r-- 1 benlau benlau 63K 2010-06-20 20:37 /scratchbox/users/benlau/home/benlau/src/buildarea/penpen_0.2-1.tar.gz
yes , I think it is related to Maemo servers.. I just drop an email to the administrator. Anyway , thanks for your reply!
 
benlau's Avatar
Posts: 135 | Thanked: 375 times | Joined on Mar 2010 @ Hong Kong
#7
Originally Posted by MohammadAG View Post
Stupid question, but did you update your key here https://garage.maemo.org/account/?
ssh-keygen -t rsa to generate a key, it should be in ~/.ssh/id_rsa.pub (iirc)
As I can login with ssh (sometimes not work), the key should be correctly set.

I read from the Bugzilla that the sshd configuration is set to drop connection randomly for user with too many connections. But each time I only made a single connection , and the problem is existed since my first time upload. I am quite confused...
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 07:26.