Jump to content
MakeWebGames

issue with permissions CentOS 6.5


Raven1992

Recommended Posts

Hey MWG Raven here listen I got a problem i brought a nice vps classic from http://www.ovh.co.uk done the useal installed the os for it.

started to install haproxy for a game that needs a bit more protecting everything ran fine it installed fine got the packages when i try and change the config of it to listen on my other vps that i got (not saying the ip or host for that) i get this message

-bash: /etc/haproxy/haproxy.cfg: Permission denied

I am logged in as root which technerly should give me full access.

i am useing a program called putty for windows

the CentOS is 6.5

any help would be good.

I just want to get haproxy configured for my game before i release it to the public

Link to comment
Share on other sites

  • 2 weeks later...

What commands have you tried and what where the error messages that popped up? You can try:

su vim /etc/haproxy/haproxy.cfg

and see if that let's you in the file to edit it.

Also, what would you need haproxy for? I know the big guys like SO and GitHub use it which can make sense but at this point in time do you think you may need it?

Link to comment
Share on other sites

What commands have you tried and what where the error messages that popped up? You can try:
su vim /etc/haproxy/haproxy.cfg

and see if that let's you in the file to edit it.

Also, what would you need haproxy for? I know the big guys like SO and GitHub use it which can make sense but at this point in time do you think you may need it?

i tryed the su root /etc/haproxy/haproxy.cfg and got most lines saying command not found

Link to comment
Share on other sites

sudo /etc/haproxy/haproxy.cfg - will work, not sure why you used "su root /etc/haproxy/haproxy.cfg"

-- edit --

After looking at haproxy setup, you might be on the wrong route:

https://www.digitalocean.com/community/tutorials/how-to-use-haproxy-to-set-up-http-load-balancing-on-an-ubuntu-vps

vi /etc/haproxy/haproxy.cfg - will allow you to edit it.

Edited by HauntedDawg
Link to comment
Share on other sites

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...