Incredibly stupid Linux newbie questions.....

Discussion in 'Site & Server Administration' started by WCGuy, May 21, 2010.

  1. #1
    I am ashamed. I've avoided Linux, simply because I am old, and tired, and I miss my DOS c:> prompt......

    Yet, here I am, 47 and trying to manage my own Linux servers, with the assistance of the most incredibly incompentent "cpanel" specialists that get a nice monthly fee...

    So, I come here, hat in hand, humbled that my google foo is not strong enough to figure out the answer myself. I am not worthy. Yet, persevere I must.

    Will one of the technocrati of the Linux command line answer my plea?

    Will one of the gurus of nix allow an acolyte into the inner sanctom?

    Will someone take pity on an old man and answer my noob questions?

    1. The mysteries of Linux file management. Okay, I've used filezilla, cuteftp, and even a browser window, to upload and download files onto a web server. No problem. Yet, for the life of me, I cannot figure out how to configure filezilla or any other graphical app, to allow me to issue an su command so that I can dive back down the directory structure to see the files in the other directories, their sizes, upload and download, and figure out what files are growing out of control like a cancer causing my server to crash from out of hard disk space.

    Yes, I've downloaded putty. Yes, I am able to use the terminal function of putty to issue an su command, and I've looked up cheat sheets of linux commands to use dos like directory commands to list out files, and directories. But I don't see file sizes. I can't figure out from a command prompt how to download a .named.conf file to my local computer so I can put a text editor on it, and I can't figure out why I can't.... I don't have all day to look at one file at a time. There is a reason a gui was created. It's faster and easier, and old farts can't parse directory structures in their heads anymore.

    2. Nameserver recursive single point of failure. Maybe it's me. Maybe I'm dense, but who thought of having a web server point back to itself to be the nameserver for itself and the domains it hosts? I've spent even more money to pay for a third party DNS solution, but after 25 url's you gotta pay more! I've been trying to get the dang server to be a name server for some of the other sites it hosts, but for some reason, I keep getting a network unreachable resolving failure on some computers, and on others it seems to work. Googling traces this back to an ipv6 mismatch problem, but I couldn't figure out what cpanel parameters to chang to fix the problem. It's probably a command line fix, but since my comfort zone in linux is text files, I'm not sure what or where to run the magic "fix".

    Thanks for any help, pointers, and suggestions.
     
    WCGuy, May 21, 2010 IP
  2. hostwebdata

    hostwebdata Peon

    Messages:
    264
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    first have u installed whm//cpanel on your server and have you set up the nameserver in whm for ns1 and ns2 and also you must set it also in your domain registration setting

    Exmaple
    ns1.yourdomain.com to ip xxx.xxx.xxx.xx
    ns2.yourdomain.com to ip xxx.xxx.xxx.xx

    and also use this tool to make sure every think is setup fine


    http://www.intodns.com/

    also how is your harddrive getting full does any 1 have acces to your ftp info or setting ?
     
    hostwebdata, May 21, 2010 IP
  3. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #3
    Bohra, May 21, 2010 IP
  4. WCGuy

    WCGuy Peon

    Messages:
    57
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Oh, my cpanel setup is works quite nicely..... nameservers done correctly on cpanel. domain registrar bulletproof with the ns1 and ns2 servers configured at the registrar level, using dnsmadeeasy.com for the third party dns pointers as well. This is my third server, (one dedicated, two virtual)... Only on this one, I cannot get a domain to resolve when it is NOT using the DNSmadeeasy nameservers, but the namserver on the VDS instead.

    The wierdness is that DNSstuff tools finds no errors, reports back the proper, expected, ns1 and ns2.myvirtualserver.com properly. Yet I've only been able to hit the site on one computer. All other computers I've tried, even on the same IP, fail to see it. The only difference is that the computer that can see it, si a vista OS.

     
    WCGuy, May 21, 2010 IP
  5. WCGuy

    WCGuy Peon

    Messages:
    57
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Ok, Downloade, and I'll try it out tomorrow. Thanks!

    35 million downloades, it just might work.

     
    WCGuy, May 21, 2010 IP
  6. WCGuy

    WCGuy Peon

    Messages:
    57
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6

    How is the hard drive getting full? My guess is out of control log files that aren't getting expired. Figuring out which ones is the problem. Whm isn't reporting the domain sizes properly, with one method showing a 500 mb usage, and other showing a 1.5 GB usage.
     
    WCGuy, May 22, 2010 IP
  7. WCGuy

    WCGuy Peon

    Messages:
    57
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    As it turns out, that was one of the apps I HAD downloaded before and tried. Still no joy. I was getting an error message of ....

    Command 'su' failed with return code 1 and error message standard in must be a tty.

    Thought about it for a while, posted on their forum, and then answered my own question....

    I had to set up putty in the winscp client, log in, then start putty, su in, THEN CLOSE PUTTY WINDOW.

    I had previously gotten as far as the su in part when I first downloaded the ap, but never figured out that once in, putty window had to be closed before the winscp would work. Not intuitively obvious. Thanks for the help.
     
    WCGuy, May 22, 2010 IP
  8. alan_smithee

    alan_smithee Active Member

    Messages:
    873
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    60
    #8
    if you don't like winscp you can use flashfxp (http://flashfxp.com/)
    it has built-in sftp and has easy looking GUI

    it's not free tho
     
    alan_smithee, May 22, 2010 IP
  9. WCGuy

    WCGuy Peon

    Messages:
    57
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Wll, I guess I spoke too soon. I can now see below home, but many file process are forbidden, you know, like rename, delete, etc..... and I cannot get into the domain directories..... And some directories are still forbidden, but not all. Yet, when I putty in, I can go and do whatever whereever....

    And I still haven't figured out the putty command line syntax for "dowload this file from the remote server to my local hard drive" wget filename c:\ just isn't working.

    urgh.
     
    WCGuy, May 22, 2010 IP
  10. WCGuy

    WCGuy Peon

    Messages:
    57
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    here is just a sample of the error message from the logs for the Ipv6??? maybe problem?

     
    WCGuy, May 22, 2010 IP
  11. WCGuy

    WCGuy Peon

    Messages:
    57
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    OK, going back and forth between a putty and winscp, I have figured out that 3 gigs of files reside in this directory......

    [/home/.cpan/build]

    looks like where the autoupdate software goes, and is never cleaned out.

    So, is it permisable / advisablel / to delete out everything in this directory?

    Thanks
     
    WCGuy, May 22, 2010 IP