LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 05-19-2007, 04:02 PM   #1
norim666
LQ Newbie
 
Registered: May 2007
Posts: 10

Rep: Reputation: 0
did something stupid


Hello everyone, I am a total newbie in linux.
At home Ive setup Asterisk PBX and LAMP box and Iam so happy with it!
But one boring evening Ive played with commands, just to learn things (you know how it goes).
And After: extract from my bash history file

chown /* root
chown root /*
find / -path './etc/asterisk/' -prune -o -print
find / -path './etc/asterisk/' -prune -o print
find / -path './etc/asterisk/' -prune -o -print
find / -path './etc/asterisk/'-path './etc/asterisk/'-path './etc/asterisk/' -prune -o -print
find / -path './etc/asterisk/'-path './etc/asterisk/' -path './srv/file_srv/' -prune -o -print
find / -path './etc/asterisk/' -path './srv/file_srv/' -prune -o -print
find / -path './etc/asterisk/' -prune -o -print | xargs cown root
find / -path './etc/asterisk/' -prune -o -print | xargs chown root
find /etc -path './etc/asterisk/' -prune -o -print | xargs chown root
find /etc -path './etc/asterisk/' -prune -o -print | xargs chown root
cd etc
find . -path './etc/asterisk/' -prune -o -print | xargs chown root
ls
find . -path './etc/asterisk/' | xargs chown root
find . -path './etc/asterisk/' | xargs chown root *
cd asterisk/
find . | xargs chown asterisk *


The Following problems start to occur:
1. fstab doesnt mount my samba shares (it does but when cd to them, it just hangs.)
2. Asterisk doesn't start.
3. MySQL doesn't start (says, can't connect to local host and can't find the socket?)
(other services like apache, atftpd, sshd are working)

I also executed this commands, but I don't think they have done anything harmful.

watch -n 0.1 ls
watch -n 0.1 uptime
watch -n 0.1 ps
screen
cfdisk
kernelversion
fsck
eject
eject -d
showkey
showmount
setleds
setleds -F


Any help would much appreciated!
 
Old 05-19-2007, 04:39 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
I'm closing this thread, as you have posted another one here http://www.linuxquestions.org/questi...d.php?t=555230

Next time if a thread does not appear or you have different problems, please contact a moderator or the site admin before posting again.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Stupid, stupid spoofing teejaytimms Linux - Server 6 10-30-2006 10:25 AM
I Did Something Stupid... SentralOrigin Linux - Newbie 2 10-23-2005 03:35 PM
Stupid, stupid question; I lost Klaptop. :( Surfrider Slackware 2 08-31-2005 09:12 PM
Stupid Dumb Stupid Question... drigz Linux - Software 3 09-23-2004 03:09 PM
stupid stupid newb ? what to use instead of xconfigurator h00ligan Fedora 3 01-25-2004 09:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration