[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Raq 2 questions



> I have searched the KB and Forum at cobalt.com and did not find what I thought
> I was looking for. Most mentioned Raq31 or 4.

Personally, I never use them. I prefer the User Archives.

http://list.cobalt.com/mailman/listinfo/cobalt-users

> I have a raq2. I bought it used. I did not get any restore cd's (if they had
> any they did not send them). Am still becoming fimilar with it and linux.

Search for iso in the archives. You'll find a download site for them.

> Mysql is on it. (version 3.22.21 )however I can not get into it to create a
> db. I get this  error:
>
> mysql> create database football;
> ERROR 1044: Access denied for user: '@localhost' to database 'football'

You probably don't have create privileges. See the user manual at mysql.com
for help.
 
> I was ssh'ed in as admin and su - to root.
> how can I make the db's i need ?

Has nothing to do with MySQL privileges.

> If I do a last it goes back to 1999 !!! should it. ?
> I thought the logs got rotated daily ?

The program last uses /var/log/wtmp. I don't think that gets rotated.
 
> The /home/log/httpd files are huge. The combined-access is 23megs ! DOn't
> these things get rotated ?

Yes

> How do I rotate them so they are not so big. They to go back to 1999.

They should do it automatically. There is a cron shell script for it in
/etc/cron.daily called logrotate. Type man logrotate for the manual pages.
 
> what is the difference between /home/log/httpd files
> and the log in /home/sites/site1 ?

/home/log/httpd is the main logfile until the Cobalt special sauce splits it
up and creates the /home/sites/site1/logs/access files.

> is there a gui to create and maintain mysql on the raq2 ? like webmin or
> something.

PHPMyAdmin is what you want, but you have to have PHP installed. Someone
just made a pkg file for it recently. You'll find a link in the archives.

Happy Searching,
j
-- 
http://www.bizmanuals.com