[ 
https://issues.apache.org/jira/browse/DTACLOUD-362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493993#comment-13493993
 ] 

Michal Fojtik commented on DTACLOUD-362:
----------------------------------------

Hi Dies,

I spent some time trying reproduce this but no luck, this is what I did:

1. Installed CentOS 6
2. Installed ruby, ruby-devel, gcc, gcc-c++, libxslt-devel, libxslt.... (all 
other dependencies - bundler, etc...)
3. Cloned Deltacloud from git
4. $ cd deltacloud/server
5. $ bundle
6. $ ./bin/deltacloudd -i mock 

And I got:

[root@dhcp-lab-163 server]# ./bin/deltacloudd -i mock
Starting Deltacloud API :: mock :: http://localhost:3001/api

>> Thin web server (v1.5.0 codename Knife)
>> Debugging ON
>> Maximum connections set to 1024
>> Listening on localhost:3001, CTRL+C to stop

[root@dhcp-lab-163 server]# cat /etc/redhat-release 
CentOS release 6.3 (Final)

Can you check if the 'bin/deltacloudd' has correct permissions? (chmod +x 
bin/deltacloudd) otherwise I have no clue how this can happen. 
                
> can't start DC with ./bin/deltacloudd, need to add "ruby"
> ---------------------------------------------------------
>
>                 Key: DTACLOUD-362
>                 URL: https://issues.apache.org/jira/browse/DTACLOUD-362
>             Project: DeltaCloud
>          Issue Type: Bug
>          Components: Website
>         Environment: CentOS 6.2 (and Win 7)
>            Reporter: Dies Koper
>            Priority: Minor
>
> I can't start DC with ./bin/deltacloudd:
> [root@localhost server]# ./bin/deltacloudd -i mock
> : No such file or directory
> [root@localhost server]# ls
> 0001-fgcp-activate-new-ip-as-soon-as-allocated.patch  deltacloud-core.gemspec 
>  LICENSE  Rakefile   tests
> bin                                                   Gemfile                 
>  log      README.md  tmp
> config                                                Gemfile.lock            
>  NOTICE   support    views
> config.ru                                             lib                     
>  public   temp.txt
> [root@localhost server]# pwd
> /mnt/hgfs/deltacloud/server
> but "ruby ./bin/deltacloudd" does work.
> See also http://fpaste.org/Qrxk/ and note:
>  $ /usr/bin/env ruby --version
> ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to