ruby uuid - no such file or directory error

60 views
Skip to first unread message

Kriti Aggarwal

unread,
Apr 24, 2015, 10:14:45 AM4/24/15
to rubyonra...@googlegroups.com

Hi everyone,

I am trying to deploy a rails application using apache and passenger. I have also integrated it with Okta for authentication. Though everything seems to be working fine after bypassing the authentication or by using thin/webrick server. I am getting the following error in my error logs if I use apache:

Errno::ENOENT (No such file or directory @ rb_sysopen - /nonexistent/.ruby-uuid):

It stops execution just after reaching saml init function. Does anyone has any idea what might be causing this?

Thanks,
Kriti

Frederick Cheung

unread,
Apr 25, 2015, 3:32:20 AM4/25/15
to rubyonra...@googlegroups.com
On Friday, April 24, 2015 at 3:14:45 PM UTC+1, Kriti Aggarwal wrote:
> I am trying to deploy a rails application using apache and passenger.
> I have also integrated it with Okta for authentication. Though
> everything seems to be working fine after bypassing the authentication
> or by using thin/webrick server. I am getting the following error in my
> error logs if I use apache:
>
>
>
> Errno::ENOENT (No such file or directory @ rb_sysopen -
> /nonexistent/.ruby-uuid):
>
>

Presumably there's more backtrace ? At a guess this looks like some code that assumes that the HOME environment variable is set to somewhere it can write files to but that in production it's set to some dummy value.

Fred

Kriti Aggarwal

unread,
Apr 28, 2015, 1:24:41 AM4/28/15
to rubyonra...@googlegroups.com
Hi Frederick, 

Thanks for the response. It turned out the process did not have permissions on a child folder.

Regards,
Kriti


--
You received this message because you are subscribed to a topic in the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rubyonrails-talk/COf10sEFHSM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/0442373f-6aa5-4a28-a033-a917275b9493%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Thanks and regards
Kriti 
Security Researcher
Adobe Secure Software Engineering Team
Adobe Systems, India
Reply all
Reply to author
Forward
0 new messages