We installed gitorious as in : 
http://gitorious.org/gitorious/pages/Rhel_Installation.
But, after completion, when i tried to start web server using
passenger as:

[git@www gitorious]$ /etc/rc.d/passengers start
Start project_name...
Password:

Stopping web server...
/opt/ruby-enterprise-1.8.7-2011.03/lib/ruby/gems/1.8/gems/
daemon_controller-0.2.6/lib/daemon_controller.rb:435:in `read': Is
a directory - /var/run/passenger/file.pid (Errno::EISDIR)

When i checked in /var/run/passenger directory. The passenger is
creating both directory and a file with the
same name.
[git@www gitorious]$ ls /var/run/passenger/ -l
total 8
drwxr-xr-x. 2 git git 4096  Jul 13 20:51 file.pid
-rw-rw-r--.   1 git git    0    Jul 13 21:06 file.pid.lock
drwxr-xr-x. 2 git git 4096  Jul 13 20:51 file.socket

I tried to modify /etc/rc.d/passengers script. It started to show
syntax error at line no 182. Is this problem
with /etc/rc.d/passengers script?

Thank you.

On Jul 13, 8:47 am, "prabhu kumar k v 2.0.1.1"
<prabhukumar...@gmail.com> wrote:
> Yes. I think i should try as you said. Thank you Marius.
>
> On Jul 12, 2:48 pm, Marius Mårnes Mathiesen
>
> <marius.mathie...@gmail.com> wrote:
> > On Tue, Jul 12, 2011 at 10:53 AM, prabhu kumar k v 2.0.1.1 <
>
> > prabhukumar...@gmail.com> wrote:
> > > Yes, exactly. We are using
> > > $passenger start -e production
> > > to start nginx, where nginx is loaded as a module. But i don't know
> > > how to make passenger to give up port 3000!
> > > The -p option is allowed only for root user or we can use (as root)
> > > #rvmsudo  passenger start -p 80 --user=gituser
> > > But still pages that require SSL connection from gitorious are not
> > > working.
>
> > As I said you really should install Nginx first (try apt-get install nginx
> > on Debian-based systems or yum install nginx on Redhat/Fedora-based systems)
> > and then install Passenger into that (passenger-install-nginx-module).
>
> > Even if you manage to start Nginx/passenger as the root user (which you
> > shouldn't) on port 80, SSL should run on port 443. So you need Nginx to run
> > on two ports: 80 for HTTP and 443 for SSL.
>
> > - Marius

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com

Reply via email to