Koozali.org: home of the SME Server

Badly Needs Help in SME 7.2

Offline grisswold

  • **
  • 29
  • +0/-0
Re: Badly Needs Help in SME 7.2
« Reply #15 on: October 07, 2008, 08:42:43 AM »
yep... Im accessing the server-manager via internet coz our sme server is just a dedicated server... we dont have any computers, hubs, switches connected to the lan to our server...
I was even able to download and install PHPmyadmin using the wget command in the shell from the server...

And making it double sure I did the test internet access... it returned to be success and was able to communicate with contribs.org.....

I wish I could post a print screen to the result updating via the server-manager, but it seems that I dont have the option to paste the image....
« Last Edit: October 07, 2008, 08:44:16 AM by grisswold »

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Re: Badly Needs Help in SME 7.2
« Reply #16 on: October 07, 2008, 01:39:21 PM »
It might be the simplest to download the ISO and upgrade from CD.

Offline grisswold

  • **
  • 29
  • +0/-0
Re: Badly Needs Help in SME 7.2
« Reply #17 on: October 08, 2008, 08:21:27 AM »
yep thought of that as well since I was running out of options and help....

Quick Question....In updating to 7.3 using the cd, shall I be performing the same steps as to updating SME 7.2 via cd?

 
Quote
  1.  Insert the CD into your server and issue a reboot, follow the instructions presented to you on the server screen to update to SME Server 7.2.
   2. Reset yum to the new default configuration as described here: Adding_Software#Restoring_Default_Yum_Repositories
   3. Reset other settings to new defaults as shown here: Updating_to_SME_7.2#Updating_Configuration_Database_with_New_Default_Values
   4. Perform a final yum update to obtain updates or patches released after the generation of the 7.2 iso.


Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Badly Needs Help in SME 7.2
« Reply #18 on: October 08, 2008, 12:04:32 PM »
grisswold

Only steps 1 & 4 are needed, the CD upgrade should correct your other issues.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline grisswold

  • **
  • 29
  • +0/-0
Re: Badly Needs Help in SME 7.2
« Reply #19 on: October 09, 2008, 10:01:47 AM »
ey thanks mary... U know a weird thing just happened.... I tried the yum clean all and yum update the 4th time without the cd... and now its updating fine... weird.....

The only thing is, its taking more than 15 minutes as expected..... Well at least its updating now... Just have to be patient for it.....

Again, I wanna thank all of u guys for the elp!

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Badly Needs Help in SME 7.2
« Reply #20 on: October 09, 2008, 10:37:01 AM »
grisswold

....and make sure you do

signal-event post-upgrade
signal-event reboot

when the yum update is finished.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline grisswold

  • **
  • 29
  • +0/-0
Re: Badly Needs Help in SME 7.2
« Reply #21 on: October 10, 2008, 02:17:33 AM »
the update took about 8hrs and it says that its completed...

now I've got a new problem....   This command doesnt work...
Quote
signal-event post-upgrade
signal-event reboot

It would give me an error "bash:signal-event: command not found"
Is there an alternative command for that?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Badly Needs Help in SME 7.2
« Reply #22 on: October 10, 2008, 02:27:14 AM »
grisswold

/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline grisswold

  • **
  • 29
  • +0/-0
Re: Badly Needs Help in SME 7.2
« Reply #23 on: October 10, 2008, 02:42:18 AM »
ey mary, how do I go about in changing my bash as my default shell? They say I have to edit this file ".profile", but where can I locate that file and how do I open it to do some editing from the shell command line?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Badly Needs Help in SME 7.2
« Reply #24 on: October 10, 2008, 02:49:40 AM »
ey mary, how do I go about in changing my bash as my default shell?

Upgrade to 7.3 and /sbin/e-smith will already be included in the path.

Offline grisswold

  • **
  • 29
  • +0/-0
Re: Badly Needs Help in SME 7.2
« Reply #25 on: October 10, 2008, 03:40:02 AM »
I've already updated to 7.3.. Yahooooo! But my bash didn't change to default T_T

After the signal-event reboot

I followed this to reset my mysql password coz I still cnt logon to mysql by just typing mysql to the command shell.. "Access denied root@localhost Password:NO"..

Quote
cd /var/service/mysqld
sv d .
expand-template /root/.my.cnf
expand-template /var/service/mysqld/set.password
/usr/libexec/mysqld --bootstrap --user=mysql --skip-grant-tables < ./set.password
sv u .

when I typed this "expand-template /root/.my.cnf" it still said that "bash:expand-template: command not found"....
So Im just gonna do "/sbin/e-smith/expand-template /root/.my.cnf" for the meantime.. But again, how do I go about in changing my bash as my default shell?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Badly Needs Help in SME 7.2
« Reply #26 on: October 10, 2008, 03:48:08 AM »
grisswold

From
http://wiki.contribs.org/MySQL

As you are now on 7.3 use this instead

cd /var/service/mysqld
runsvctrl d .
expand-template /root/.my.cnf
expand-template /var/service/mysqld/set.password
/usr/libexec/mysqld --bootstrap --user=mysql --skip-grant-tables < ./set.password
runsvctrl u .
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline grisswold

  • **
  • 29
  • +0/-0
Re: Badly Needs Help in SME 7.2
« Reply #27 on: October 10, 2008, 03:56:52 AM »
o yeah! I just followed ur post that I printed las time... kk.. will do and hope this'll work.. X fingers crossed....
=)

----------------Addtional Message-------------
tried this and it doesnt work in SME 7.3

Quote
runsvctrl d .
runsvctrl u .

quoted from http://wiki.contribs.org/MySQL "Since SME Server 7.3 the runsvctrl command was replaced by the sv command so for SME Server 7.2 and earlier releases use the following:"
« Last Edit: October 10, 2008, 04:15:55 AM by grisswold »

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Badly Needs Help in SME 7.2
« Reply #28 on: October 10, 2008, 06:35:50 PM »
o yeah! I just followed ur post that I printed las time... kk.. will do and hope this'll work.. X fingers crossed....
=)

----------------Addtional Message-------------
tried this and it doesnt work in SME 7.3

quoted from http://wiki.contribs.org/MySQL "Since SME Server 7.3 the runsvctrl command was replaced by the sv command so for SME Server 7.2 and earlier releases use the following:"
You are logged in as root user on the console or through putty I presume or did you promote your user account to be superuser using sudo or su?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline grisswold

  • **
  • 29
  • +0/-0
Re: Badly Needs Help in SME 7.2
« Reply #29 on: October 14, 2008, 05:54:51 AM »
nope.. I'm logged in as root user...

It wont reset my password so I just logged in to mysql typing the dam long password... I created another user with all the grant options so I'm ok for now. mydamin works too now..  But I sure do wish to know in how to be able to reset my bash to the default....
I still have to insert this before a command "/sbin/e-smith/" and this is already 7.3.... T_T


Oh yeah, got another question...
Is mysql 5 compatible with SME 7.3?
« Last Edit: October 14, 2008, 05:56:56 AM by grisswold »