Koozali.org: home of the SME Server

can't create new ibays with server-manager

brit-dub

can't create new ibays with server-manager
« on: February 28, 2006, 12:35:01 PM »
Hi

I have been running 7.0 pre 1 for a few weeks with no problems until this morning.

I’m having problems within server-manager when I create an ibay from within firefox or IE it never comes back to me to tell me its finished. I can no longer access server-manager via ssh it allows me to log in and then the ssh window closes.

So it short I can’t create ibays.

Any help please.

TIA

brit

Offline byte

  • *
  • 2,183
  • +2/-0
can't create new ibays with server-manager
« Reply #1 on: February 28, 2006, 02:13:00 PM »
Can you do a yum to upgrade to latest pre release? which is 7.0pre3 as pre1 is not support or you may open a Bug Ticket and see whether a bug or not

Sorry cant help no further
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

brit-dub

can't create new ibays with server-manager
« Reply #2 on: February 28, 2006, 02:18:25 PM »
thanks byte

I did try to an update vie the server-manager but when I click on install all updates selected the screen goes blank and nothing happens.

is that a yum update ? sorry not to sure what yum stands for.

regards

Brit

Offline byte

  • *
  • 2,183
  • +2/-0
can't create new ibays with server-manager
« Reply #3 on: February 28, 2006, 03:17:57 PM »
can you do a yum update/upgrade from the command line? don't forget to read and run the signal-event post-upgrade
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
can't create new ibays with server-manager
« Reply #4 on: February 28, 2006, 03:35:52 PM »
Quote from: "byte"
Can you do a yum to upgrade to latest pre release? which is 7.0pre3 as pre1 is not support or you may open a Bug Ticket and see whether a bug or not


Opening the Bug Ticket is the only thing which OP should do.

brit-dub

can't create new ibays with server-manager
« Reply #5 on: February 28, 2006, 06:32:28 PM »
Ok I’ve found how I messed things up. I’m not an expert when it comes to command line, but I’m trying. I made a mistake when using chmod. I used chmod –R 777 on the usr folder. And I think this is why I’m getting

Insecure directory in $ENV{PATH} while running with -T switch at /sbin/e-smith/console line 146.

When I try to log on as admin with ssh.

So can anyone help me put things back as it should be please using chmod

TIA

Brit

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
can't create new ibays with server-manager
« Reply #6 on: February 28, 2006, 06:35:36 PM »
Quote from: "brit-dub"

So can anyone help me put things back as it should be please using chmod


Why did you chmod in the first place?

This will restore most permissions and ownerships to what they should be:

rpm --setperms --setugids $(rpm -qa | sed -n  /e-smith/p -n /smeserver/p)

brit-dub

can't create new ibays with server-manager
« Reply #7 on: February 28, 2006, 06:46:57 PM »
thanks for the reply but its not working, this is what I see.

[root@server01 usr]# rpm --setperms --setugids $(rpm -qa | sed -n /e-smith/p -n /smeserver/p)                                

sed: can't read /smeserver/p: No such file or directory

rpmq: no arguments given for query

I used chmod in the wrong dir, I should been in a html dir when I did it.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
can't create new ibays with server-manager
« Reply #8 on: February 28, 2006, 07:42:20 PM »
Quote from: "brit-dub"
thanks for the reply but its not working,
...
sed: can't read /smeserver/p: No such file or directory


My bad. I meant to say:

rpm --setperms --setugids $(rpm -qa | sed -n -e /e-smith/p -e /smeserver/p)

Quote

I used chmod in the wrong dir, I should been in a html dir when I did it.


But why were you trying to chmod at all? If you want part of a website to be edited by other than admin, you can use an ibay, with appropriate group access.

brit-dub

can't create new ibays with server-manager
« Reply #9 on: March 01, 2006, 09:37:41 AM »
when I used it this is what I got back

chmod: invalid mode string: 0040755'
chmod: invalid mode string: 0041755'
chmod: invalid mode string: 0040755'
chmod: invalid mode string: 0100755'
chmod: invalid mode string: 0040755'
chmod: invalid mode string: 0100755'
chmod: invalid mode string: 0040700'

the reason I used chmod was because I installed a cms site from http://www.etomite.org/ and this put new dirs which needed to changed.


wow thats really caused me problems ! I cant get into server-manager at all now.

help please

Brit

brit-dub

can't create new ibays with server-manager
« Reply #10 on: March 03, 2006, 06:50:17 PM »
one last cry for help before I do a reinstall.

TIA

Brit