[techtalk] mysql install on RH 6.1

2000-10-11 Thread Erb, Maria

Hi all,

I installed a mysql tarball on RH 6.1 and tried to connect to the mysql
server but got a "can't connect to mysql server through socket
/tmp/mysql.sock"  .  If I install mysql with the rpm files and try to
connect to the server I get a "can't connect to mysql server through socket
/var/lib/mysql/mysql.sock".  My question is this: when are these .sock files
created and is there anything particular to RH 6.1 that is causing the .sock
files not to be created?

thanks for any help,
Maria  

Maria B. Erb
Web Developer
Keene State College
603-358-2340

mail address:
MS 2707 / CMIT
229 Main Street
Keene, NH 03435


___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] mysql install on RH 6.1

2000-10-11 Thread Mandi

the mysql.sock files are created when the mysql server is started.  The
daemon usually ends up in /usr/local/bin, and it's name is safe_mysqld.
If it gets stuck, or the .sock file gets deleted, just kill the process
and start it again.

On RH 6.1 with RPMS, I ran into the issue that i had to create the
directories under /var by hand, so if they're not there, safe_mysqld will
give you an error, because it will want to put that .sock file under its
directory in /var.  the tar install created all the directories itself.

Hope that helps!

--mandi

On Wed, 11 Oct 2000, Erb, Maria wrote:

> Hi all,
> 
> I installed a mysql tarball on RH 6.1 and tried to connect to the mysql
> server but got a "can't connect to mysql server through socket
> /tmp/mysql.sock"  .  If I install mysql with the rpm files and try to
> connect to the server I get a "can't connect to mysql server through socket
> /var/lib/mysql/mysql.sock".  My question is this: when are these .sock files
> created and is there anything particular to RH 6.1 that is causing the .sock
> files not to be created?
> 
> thanks for any help,
> Maria  
> 
> Maria B. Erb
> Web Developer
> Keene State College
> 603-358-2340
> 
> mail address:
> MS 2707 / CMIT
> 229 Main Street
> Keene, NH 03435
> 
> 
> ___
> techtalk mailing list
> [EMAIL PROTECTED]
> http://www.linux.org.uk/mailman/listinfo/techtalk
> 


___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] su and PATH?

2000-10-11 Thread Olivier Tharan

Le 11 octobre 2000, Brian Sweeney écrivait :
> Quick questions that's been bugging me for some time...if I telnet to a
> machine as a normal user and SU as root, I don't gain any of the root user's
> standard PATH.  So when I try to execute programs I have to specify
> /usr/sbin, or /usr/bin, or whatever.  I'm using bash.

Do a 'su -' to have a login shell -- bash will then read root's
.bash_profile.

olive
-- 
Codito, ergo sum - "Je code, donc je suis"

___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



[techtalk] su and PATH?

2000-10-11 Thread Brian Sweeney

Hey all-

Quick questions that's been bugging me for some time...if I telnet to a
machine as a normal user and SU as root, I don't gain any of the root user's
standard PATH.  So when I try to execute programs I have to specify
/usr/sbin, or /usr/bin, or whatever.  I'm using bash.

I know this is one of those things where I'm missing something REALLY basic
about my understanding of environment variables, so I'm figuring someone out
there's got an answer that'll make me say "DOH! Right.  That makes sense."

Anyone?

-Brian

-
Brian J. Sweeney
Systems Admin
email: [EMAIL PROTECTED]


___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] StarOffice:It rings me

2000-10-11 Thread Telsa Gwynne

On Wed, Oct 11, 2000 at 11:40:26AM +0800 or thereabouts, antonxie wrote:
> Well techtalkers...
> 
> I've installed Staroffice 5.2 too on a separate partition u01.
> I'm complete newbee...not bumblebee nor gonnabe...

:) 

> I have it installed on /u01/staroffice52/
> To run the program, I have to type ./soffice in /u01/staroffice52/program/
> directory
> My guestions:
> 1. How does the command  "./soffice" differ from other, say "soffice", coz
> simply type soffice would run the program.  I don't know about this stuff...

Enough people have answered the "what's this dot-slash" thing for
me to leave it alone. :) I shall mention though, that your shell
(the text interface you type commands into) knows loads of these
abbreviations: dot is "this directory", dot-dot ("..") is "the
one above this directory", and you can mix and match them like
mad, so that "../../some-command" is "some-command which is found
in the directory above the directory above this one".

> 2. How do I create a launcher on gnome desktop then, since the command line
> start with a dot (.)

It only starts with a dot when you are in that directory. If you do
"cd" to get back to your home directory, and type "./soffice", the
shell will look only there, and tell you it can't find it. :) 

So there are two things you can try with this launcher.

First, try a launcher with this in the "command" section:

/u01/staroffice52/program/soffice

If that "soffice" is the program itself, all will work fine.

Now, I have occasionally had trouble setting up launchers in gnome
where there is a full pathname. This happens with Netscape and Mozilla
a lot. Instead of putting "/some/path/to/program", I have to put
"cd /some/path/to/ ; ./program". I think it's because the "program"
in the case of Netscape and Mozilla is actually a script, and that
script has relative pathnames with "../" in them (see above). So
it goes and looks for files in the wrong place. (Shell people -- 
this possible?) But if nothing happens with your launcher, you can 
try this, too. The semi-colon is a way of separating two commands,
so this is a launcher which does the "cd" and then runs the command. 

cd /u01/staroffice52/program/ ; ./soffice

I think this should work. I don't have StarOffice so I can't check.

Telsa

___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



[techtalk] .tv = .lame

2000-10-11 Thread alissa bader

turns out you have to be a registered user to get any
whois information (for a .tv domain name)

does anyone else find this the lamest thing ever?

turns out their advisory board is headed by people
associated with movie studios and stuff, damned
commercial crap. I really  hate the web and what it
has become

--alissa

__
Do You Yahoo!?
Get Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/

___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] Partitioning advice (was Disk utilities under Linux)

2000-10-11 Thread Conor Daly

On Tue, Oct 10, 2000 at 10:35:00AM -0400 or so it is rumoured hereabouts, 
Caitlyn M. Martin thought:
> HI,
> > 
> 
> > Does /home never need updating?
> 
> Only when you update your data.  Think of it this way:  if you're running
> Windows, you could create a shared directory called \home, right?  In it you
> could have subdirectories for different users, right?  Now, if you put
> things like word processing documents, spreadsheets, saved games in
> progress, or whatever in there, why would you need to upgrade it?  See what
> I mean?
> 

BTW, I have a little ~3 page doc available giving suggested partition
layouts for both single and multi disk systems for dual-boot.  There's a
little bit on what needs to be backed up and what doesn't.  There's even a
method detailed for the speediest reinstallation of a bad Windows system
w/o losing your data or appllications.  Using this method, I can
completely (including applications) restore my Windows side of things in 
under two hours!

I had it posted somewhere on the web but can't remember the URL off-hand.
If anyone's interested in having a look, give me a shout and I'll hunt
down the URL.

-- 
Conor Daly <[EMAIL PROTECTED]>

Domestic Sysadmin :-)

___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] su and PATH?

2000-10-11 Thread Elaine Poulsen

when you su use su - root or su -l root
to take on roots environment.

Brian Sweeney wrote:
> 
> Hey all-
> 
> Quick questions that's been bugging me for some time...if I telnet to a
> machine as a normal user and SU as root, I don't gain any of the root user's
> standard PATH.  So when I try to execute programs I have to specify
> /usr/sbin, or /usr/bin, or whatever.  I'm using bash.
> 
> I know this is one of those things where I'm missing something REALLY basic
> about my understanding of environment variables, so I'm figuring someone out
> there's got an answer that'll make me say "DOH! Right.  That makes sense."
> 
> Anyone?
> 
> -Brian
> 
> -
> Brian J. Sweeney
> Systems Admin
> email: [EMAIL PROTECTED]
> 
> ___
> techtalk mailing list
> [EMAIL PROTECTED]
> http://www.linux.org.uk/mailman/listinfo/techtalk

-- 

Elaine Poulsen
Product Operations Engineer
Excite@Home - The Leader in Broadband
VOICE: 801.234.8319
FAX: 801.234.8480

Can you get @Home service? http://www.home.com/now
"Do not approach wild animals."

___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] .tv = .lame

2000-10-11 Thread curious

decss.tv anyone :) 


 /"\  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 
 \ /   ASCII Ribbon Campaign  [EMAIL PROTECTED]
  X   - NO HTML/RTF in e-mail http://www.curious.org/
 / \  - NO Word docs in e-mail"This quote is false." -anon

On Wed, 11 Oct 2000, alissa bader wrote:

> turns out you have to be a registered user to get any
> whois information (for a .tv domain name)
> 
> does anyone else find this the lamest thing ever?
> 
> turns out their advisory board is headed by people
> associated with movie studios and stuff, damned
> commercial crap. I really  hate the web and what it
> has become
> 
> --alissa
> 
> __
> Do You Yahoo!?
> Get Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
> 
> ___
> techtalk mailing list
> [EMAIL PROTECTED]
> http://www.linux.org.uk/mailman/listinfo/techtalk
> 


___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk



Re: [techtalk] Partitioning advice (was Disk utilities under Linux)

2000-10-11 Thread Conor Daly

On Wed, Oct 11, 2000 at 01:37:09PM +0100 or so it is rumoured hereabouts, 
Conor Daly thought:
> On Tue, Oct 10, 2000 at 10:35:00AM -0400 or so it is rumoured hereabouts, 
> Caitlyn M. Martin thought:
> > HI,
> > > 
> > 
> > > Does /home never need updating?
> > 
> > Only when you update your data.  Think of it this way:  if you're running
> > Windows, you could create a shared directory called \home, right?  In it you
> > could have subdirectories for different users, right?  Now, if you put
> > things like word processing documents, spreadsheets, saved games in
> > progress, or whatever in there, why would you need to upgrade it?  See what
> > I mean?
> > 
> 
> BTW, I have a little ~3 page doc available giving suggested partition
> layouts for both single and multi disk systems for dual-boot.  There's a
> little bit on what needs to be backed up and what doesn't.  There's even a
> method detailed for the speediest reinstallation of a bad Windows system
> w/o losing your data or appllications.  Using this method, I can
> completely (including applications) restore my Windows side of things in 
> under two hours!
> 
> I had it posted somewhere on the web but can't remember the URL off-hand.
> If anyone's interested in having a look, give me a shout and I'll hunt
> down the URL.
> 

I've had a number of replies asking for this info so I went and hunted
myself down on geocities.com.  The Partitioning document is to be found at

www.geocities.com/conor_daly/documentation/Disk-Partitioning-Layout.pdf

The rest of the site is still very much under construction and should not
be laughed at...

Enjoy..

-- 
Conor Daly <[EMAIL PROTECTED]>

Domestic Sysadmin :-)

___
techtalk mailing list
[EMAIL PROTECTED]
http://www.linux.org.uk/mailman/listinfo/techtalk