Koozali.org: home of the SME Server

Badly Needs Help in SME 7.2

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Badly Needs Help in SME 7.2
« Reply #30 on: October 14, 2008, 07:53:20 AM »
grisswold

Maybe this will help

db commands are used now
eg
db accounts setprop joe Shell /bin/bash
refer
http://forums.contribs.org/index.php?topic=33570.0

also

the generic command
chsh -s /bin/bash

The command is
chsh -s /bin/csh xxxxx
where csh is the shell you want to use and xxxxx is the user account name

man chsh
to get info on shells

pick ONE of the following

chsh -s /bin/csh xxxxx
chsh -s /bin/sh xxxxx
chsh -s /bin/bash xxxx
chsh -s /bin/bash2 xxxx
« Last Edit: October 14, 2008, 07:55:34 AM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Badly Needs Help in SME 7.2
« Reply #31 on: October 14, 2008, 10:23:41 AM »
Oh yeah, got another question...
Is mysql 5 compatible with SME 7.3?
No it is not. Is this your way of telling us you installed MySQL version 5 on your system? If you did so that might be the cause of the MySQL problem.
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 CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Badly Needs Help in SME 7.2
« Reply #32 on: October 14, 2008, 04:17:32 PM »
It wont reset my password ...

It will if you do it properly.

Quote
I still have to insert this before a command "/sbin/e-smith/" and this is already 7.3.... T_T

Please open a bug report so that can be investigated and fixed.

Quote
Is mysql 5 compatible with SME 7.3?

Not without complications (e.g. problems when you upgrade to SME8).

Offline grisswold

  • **
  • 29
  • +0/-0
Re: Badly Needs Help in SME 7.2
« Reply #33 on: October 15, 2008, 04:55:14 AM »
I hvnt installed mysql 5 in my server... Like I said last time, I'll be asking 1st before doing it coz I might mess up the system...

Somehow I think I've done it right in reseting the password to the mysql, i've been following the steps posted in the wiki for the SME 7.3. Doesnt give me any errors but doesnt changes anythin either.... But, I ges I'll just leave it that way... Besides I was already able to create a new user in MYSQL with all the rights and I'm able to manage my databases and tables so I ges dats alryt....

I'll try opening a bug report if it still doesnt fix it once I've tried mary's suggestion.... And I might do it later coz right now, I'm focusing on a different matter.... I've got a problem in making changes with joomla..... Everytime I save changes to my global configuration I get the error "could not make the configuration.php writable/unwritable"... I was able to find some help with regards to this concern, and was suppose to key in a command to give read/write access to a user(www-data:www-data)... but was having another problem with an invalid user "www-data:www-data"... Ges I didnt have that kind of user and I dont know how to add that kind of user... So I just tried making the file readable/writable by doing "sudo chmod 600 /var/www/joomla/configuration.php"... And ges what? My page just shows a white screen.... WAAAAAAW! I messed up pretty bad... Good thing is, when I deleted my joomla folder and reuploaded the folder again.... It went back to normal.... Phew.... I ges this aint an SME concern anymore, I'll find other means to get this through.... I just wanted to say this coz my problems with SME just doesnt end... They just keep popping out.... And I wonder how u guys get done with ease....  Maybe its just experience..... Yeah, ges dats it...

Ey again, Thank you guys for replyin and assisting me with this probssss.... Stay well....




Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Badly Needs Help in SME 7.2
« Reply #34 on: October 15, 2008, 05:48:31 AM »
grisswold

Quote
I've got a problem in making changes with joomla.....

The correct way to change permissions on a Joomla configuration.php is like this

cd to the folder where configuration.php is located eg if in an ibay called joomla then do

cd /home/e-smith/files/ibays/joomla/html/

to see the current permissions (and make a note of them)
ls -al configuration.php

to TEMPORARILY change to a suitable value to allow Joomla control panel to make and save changes

chmod 770 configuration.php

make & save your changes in Joomla

Then you MUST change permissions back to safe values to prevent anyone from accessing the config file eg

chmod 640 configuration.php

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 #35 on: October 15, 2008, 06:19:15 AM »
Holy COW! Ur d best mary! Im now able to save it.. Yahoooooooo! Thanks so much! U've made my day... ^_^

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Badly Needs Help in SME 7.2
« Reply #36 on: October 15, 2008, 07:52:49 AM »
grisswold

Now you have saved so much time fixing the Joomla issue, please report the other path and mysql issues to bugzilla as Charlie has suggested. That way they can get fixed.
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 #37 on: October 15, 2008, 09:53:08 AM »
Quote
db commands are used now
eg
db accounts setprop joe Shell /bin/bash
refer
http://forums.contribs.org/index.php?topic=33570.0

also

the generic command
chsh -s /bin/bash

The command is
chsh -s /bin/csh xxxxx
where csh is the shell you want to use and xxxxx is the user account name

man chsh
to get info on shells


I dont know where to start from this... coz I dnt knw what shell do i want to use... I just want it as the default... I dnt knw either if its the default but I just want this command "expand-template /root/.my.cnf" to work without typing the whole path "/sbin/e-smith/expand-template /root/.my.cnf"...


tried this "chsh --list-shells"
got this
Quote
/bin/bash
/bin/bash2
/sbin/e-smith/console
/bin/csh
/bin/false
/usr/bin/rssh
/bin/sh
[root@vmsme ~]#

are these the only choices bellow?
Quote
pick ONE of the following

chsh -s /bin/csh xxxxx
chsh -s /bin/sh xxxxx
chsh -s /bin/bash xxxx
chsh -s /bin/bash2 xxxx

what if I do this "chsh -s /sbin/e-smith/console root", what'll happen?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Badly Needs Help in SME 7.2
« Reply #38 on: October 15, 2008, 09:58:19 AM »
Since he installed MySQL 5 reporting a bug is of not much use as he has taken an unsupported approach on SME Server 7.x, his bug is likely to be closed as WONTFIX as it is not a stock SME Server anymore.

MySQL 5 will be available on SME Server 8, the SME Server 7.x tree will have MySQL 4 as the parent distro has MySQL 4.

Grissworld, next time please give all details as I could have already have explained to you in one of the first posts that this method most likely would not work if you manually install MySQL 5, would have saved you, me and others a lot of hassle. Also please open a post for new issues, this makes thefrum more readable and makes others find solutions easier in the future.

Oops, overread the nt in his post. Sorry.
« Last Edit: October 15, 2008, 10:01:59 AM by cactus »
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 #39 on: October 15, 2008, 10:21:00 AM »
Quote
Also please open a post for new issues, this makes thefrum more readable and makes others find solutions easier in the future.

will do nxt time....

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Badly Needs Help in SME 7.2
« Reply #40 on: October 15, 2008, 11:51:42 AM »
grisswold

Quote
I dont know where to start from this... coz I dnt knw what shell do i want to use...

If you don't know what to do or why, then you should NOT be making random changes to your system, you will only get yourself and your system into a bigger mess.
You don't even know exactly what the problem is yet, but you propose a fix that you are not even sure of !!!!

Your best approach is to lodge a bug report as asked by Charlie, please do that immediately. Thank you.

Quote
...I just want this command "expand-template /root/.my.cnf" to work without typing the whole path "/sbin/e-smith/expand-template /root/.my.cnf"...

There are links in sme that do that for you, obviously something is wrong, perhaps with those links. Bugzilla is the place to sort that out.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Badly Needs Help in SME 7.2
« Reply #41 on: October 15, 2008, 05:01:27 PM »
what if I do this "chsh -s /sbin/e-smith/console root", what'll happen?

Bad things - you'll lose the ability to do anything other than what you can already do by logging in as 'admin'.

I'd strongly advise you not to use any shell but /bin/bash.

Offline grisswold

  • **
  • 29
  • +0/-0
Re: Badly Needs Help in SME 7.2
« Reply #42 on: October 16, 2008, 01:21:56 PM »
I opened a bug report, took me awhile to do it coz I to search all problems that cud've been familiar to mine....