Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
google site



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Display Modes
  #8  
Old 12-26-2009
Registered User
 

Join Date: Sep 2009
Location: Kolkata,India
Posts: 211
Thanks: 0
Thanked 0 Times in 0 Posts
Well you r best judge of that. Usually maintenance work can be done during non-business hours.
Sponsored Links
  #9  
Old 12-26-2009
Registered User
 

Join Date: Dec 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

Code:
shutdown -rF now
-bash: shutdown: command not found

  #10  
Old 12-26-2009
Registered User
 

Join Date: Sep 2009
Location: Kolkata,India
Posts: 211
Thanks: 0
Thanked 0 Times in 0 Posts
Run the command as root. The command shutdown is in /sbin and usually
only root has access to that directory...
Also,what OS are you using?
  #11  
Old 12-26-2009
Registered User
 

Join Date: Dec 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Hey proactiveaditya,

this is not my own webserver.
The server belongs to 1+1 (Webhoster) and I can not login as root...

Next week I will call the Hotline from 1+1, maybe they can delete the directory.

Thank you very much!

Regards,
Joe
  #12  
Old 12-26-2009
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 7,841
Thanks: 28
Thanked 43 Times in 21 Posts
Works fine here:


Code:
neo@www:/tmp# mkdir a
neo@www:/tmp# touch a/file.txt
neo@www:/tmp# rm -r a
neo@www:/tmp#

List the files in the directory and post back:


Code:
ls -la views

Seems you don't have permissions.....
  #13  
Old 12-26-2009
jpm jpm is offline
Registered User
 

Join Date: Dec 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Is your directory nfs or samba mounted? I that case, you wouldn't be able to delete the directory.

Type mount with no options or showmount to get some clues. showmount might not work if you aren't root.

Maybe you could cat /etc/fstab, and look for nfs mounts. If the directory is automounted, it's a little more complex. Either way, the hosting provider probably would have to remove the directory for you.

Hmmmm....
or....

Maybe your directory is a filesystem mounted by itself (likely). I don't think you could delete it if that's the case. (I'm a little rusty) I think you would have to unmount it, and then delete the mount point. Type "df" to show all mounted file systems.

Last edited by jpm; 12-26-2009 at 06:47 PM..
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Problem with image display stored outside webserver in Unix? nsurendiran Web Programming, Web 2.0 and Mashups 1 12-27-2009 06:50 AM
using c programming in unix to delete zero-byte files in a specified directory sogetsu009 Shell Programming and Scripting 3 08-26-2009 02:05 AM
Can't delete directory funksen Solaris 4 03-09-2007 01:14 PM
delete a directory madmat UNIX for Dummies Questions & Answers 4 01-25-2007 10:14 AM
Can't delete a directory on HP-UX oradbus HP-UX 2 05-31-2005 03:32 PM



All times are GMT -4. The time now is 03:09 AM.