Ask Your Question
0

Cannot start proxy process

asked 2011-03-02 23:22:14 -0500

rostik-2000 gravatar image

After installing Swift, I am trying to run proxy service, using the command "sudo swift-init proxy start" and get the following output: "Starting proxy server"

/var/run/swift/proxy-server.pid file is created with process id; however, the process with such an id is not running. It can be verified both with "ps aux" and by trying to restart server via "sudo swift-init proxy restart", which results in the following output:

"Stopping proxy-server pid:XXX sygnal:15 Process XXX not running Starting proxy-server"

In the syslog there are no messages concerning swift/openstack.

Any recommendations on troubleshooting the installation? Thank you

  • Rostik
edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted
0

answered 2011-03-03 16:32:20 -0500

rostik-2000 gravatar image

The problem was indeed in config file. swift-proxy-server printed error on screen unlike swift-init, which exited silently

edit flag offensive delete link more
0

answered 2011-03-03 14:58:05 -0500

clay-gerrard gravatar image

start the proxy directly and see what the problem is (probably a config file syntax error?)

swift-proxy-server /etc/swift/proxy-server.conf

Paste the error here if it's not clear what you need to fix.

the swift-init in trunk is better behaved with these types of errors...

edit flag offensive delete link more
0

answered 2011-03-03 16:31:03 -0500

rostik-2000 gravatar image

Thanks clayg, that solved my question.

edit flag offensive delete link more
0

answered 2011-03-03 14:58:00 -0500

clay-gerrard gravatar image

start the proxy directly and see what the problem is (probably a config file syntax error?)

swift-proxy-server /etc/swift/proxy-server.conf

Paste the error here if it's not clear what you need to fix.

the swift-init in trunk is better behaved with these types of errors...

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-03-02 23:22:14 -0500

Seen: 70 times

Last updated: Mar 03 '11