Results 1 to 34 of 34
  1. #1
    Join Date
    Jun 2002
    Posts
    209

    about unitedcolo server

    hi

    I just got a server from unitedcolo but webmin is not installed.
    I sent a request to them but I don't know when they will have that insatlled.

    I just wonder if someone could teach me how to set up a ftp account for my root account (or any other name like abc)? so that I can upload my counter strike files to the server first ..

    thanks

  2. #2
    Join Date
    Jul 2002
    Location
    Vancouver, BC
    Posts
    1,017
    those dimwits couldn't setup a server right even if their life depended on it... damn unitedcolo... the partitions are all wrong n now i am having to symlink all over the place just to make appropriate room for site data and mysql stuff... err... how many idiots would setup a /var with 200MB? considering thats where mysql stores DBs by default... ??? on a 60GB drive... !?!?!

    damn idiots... i know its redhat default... but if these guys wanna call themselves hosts, they should understand that it isn't redhat's business to make an OS for hosting, its their (united colo's) business to do that... err

  3. #3
    Join Date
    Jan 2002
    Location
    Luxembourg
    Posts
    1,145
    I agree with Andrew. For $49, it's a fun box to play with, and to start learn linux.

    Sonic, webmin is quite easy to install, if you need help, just contact me on ICQ > 25948902, and I can help you with it (for free).

  4. #4
    Join Date
    Jun 2002
    Posts
    209
    thanks

    but they just installed webmin for me.

    by the way, how do you check for the space assigned for /var ?

  5. #5
    df -h will show you all space
    Powered by AMD & FreeBSD.
    "Documentation is like sex:
    when it is good, it is very, very good;
    and when it is bad, it is better than nothing."

  6. #6
    Join Date
    Jun 2002
    Posts
    209
    thanks.

    mine is like this
    Filesystem Size Used Avail Use% Mounted on
    /dev/hda3 54G 944M 50G 2% /
    /dev/hda1 45M 8.5M 34M 20% /boot
    none 247M 0 247M 0% /dev/shm

    anything wrong with it ?

  7. #7
    Join Date
    Sep 2002
    Location
    Dallas, TX
    Posts
    205
    Yeah, you have one huge 50G root partition.
    justin 'at' abrogo.com
    http://www.abrogo.com
    Shared Unix Hosting

  8. #8
    Join Date
    Jun 2002
    Posts
    209
    my p4 box with rackshack is like this :

    Filesystem Size Used Avail Use% Mounted on
    /dev/hda3 36G 4.6G 29G 14% /
    /dev/hda1 99M 7.4M 86M 8% /boot
    none 250M 0 250M 0% /dev/shm

    it looks similiar to the unitedcolo box I have

  9. #9
    Join Date
    Apr 2002
    Location
    USA
    Posts
    5,779
    Mine for Unitedcolo is like this.
    /dev/hda5/ 1.9Gig /
    /dev/hda1/ 99meg /boot
    /dev/hda7/ 41gig /home
    /dev/hda3/ 5.3 gig /usr
    /dev/hda2/ 5.3 gig /var

    Of course I ask them to set it up that way when I ordered.

  10. #10
    Join Date
    Sep 2002
    Posts
    43
    My UnitedColo box looks like this:

    Filesystem Size Used Avail Use% Mounted on
    /dev/hda3 54G 984M 50G 2% /
    /dev/hda1 53M 8.5M 41M 17% /boot
    none 247M 0 247M 0% /dev/shm

  11. #11
    Join Date
    Nov 2001
    Location
    Canada
    Posts
    1,963
    nuclear:~# df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/hda6 372M 63M 290M 18% /
    /dev/hda1 45M 8.5M 34M 20% /boot
    /dev/hda5 14G 931M 12G 7% /home
    none 247M 0 247M 0% /dev/shm
    /dev/hda2 39G 773M 36G 3% /usr
    /dev/hda7 251M 31M 207M 13% /var

  12. #12
    Join Date
    Jun 2002
    Posts
    209
    how do I check for the space available in /var?

    I executed df -h but it didnt give me info on this

  13. #13
    Join Date
    Jun 2001
    Location
    Earth
    Posts
    1,258
    Sonic,

    You have a /var directory, not file system. df shows space for file systems. Everything (other than /boot) is under your / file system.


    clocker1996,

    Why is /usr so big. It's bigger than your home partition.

    Frank
    Umbra Hosting
    cPanel | Softaculous | CloudLinux | R1Soft | Ksplice
    Web Hosting, Reseller Hosting, VPS, Dedicated Servers, Colocation
    UmbraHosting.com

  14. #14
    Join Date
    Jul 2002
    Location
    Vancouver, BC
    Posts
    1,017
    ffeingol, exactly dude... my partition setup is the same as clocker's... those morons (unitedcolo)...

  15. #15
    Join Date
    Apr 2002
    Location
    USA
    Posts
    5,779
    Originally posted by ffeingol


    clocker1996,

    Why is /usr so big. It's bigger than your home partition.

    Frank

    Yeah I was wondering the same thing why usr was so big and var so small?


  16. #16
    Join Date
    Nov 2001
    Location
    Canada
    Posts
    1,963
    no idea
    i didn't request it
    lol
    thats just how it came..
    i dont even use my server at ucg..
    =(

    i'm probably going to cancel

  17. #17
    Join Date
    Apr 2002
    Location
    USA
    Posts
    5,779
    Looks like that server could use an fdisk or a do over as my kids say.

  18. #18
    Join Date
    Jun 2001
    Location
    Earth
    Posts
    1,258
    At least dumping everything into / make a bit of sense. It's easy for them and they don't have to custom build each server.

    OTOH, it does not offer you much protection. When that file system fills up, it's all over.

    Frank
    Umbra Hosting
    cPanel | Softaculous | CloudLinux | R1Soft | Ksplice
    Web Hosting, Reseller Hosting, VPS, Dedicated Servers, Colocation
    UmbraHosting.com

  19. #19
    how do u transfer mysql to /home/mysql since /var is so small,
    I have move everything but still getting:
    Warning: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /var/www/html/forum/admin/db_mysql.php on line 40

    Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /var/www/html/forum/admin/db_mysql.php on line 40

    >how do I symbolic link it? I check under my.cnf and even httpd.conf. They all using the same /home/mysql.sock

    Yes, life would be a lot easier if the /var partition is large enough for fitting at least 1G database...... sigh......

  20. #20
    Join Date
    Jul 2002
    Location
    Vancouver, BC
    Posts
    1,017
    i explained it a few times... unitedcolo are a bunch of morons...

    *obviously, still annoyed*

    Originally posted by Monte



    Yeah I was wondering the same thing why usr was so big and var so small?


  21. #21
    Join Date
    Apr 2002
    Location
    USA
    Posts
    5,779
    Netdude the Mysql install is messed up, if you look I suspect you will find mysql is not running and the command to make it run is not working either.

    Best thing to do it start again. That server will never work right configured that way.

    I have been stripping everything off mine and reinstalling it all by hand.

    I would suggest not trying to host anyone on that server the way it is now.

    I got mine for testing and to play with so it is not that big of deal to me, but if I was wanting to host sites on it I would be pissed off and demand they redo it and do it correctly with everything working.

  22. #22
    Join Date
    Nov 2001
    Location
    Canada
    Posts
    1,963
    Originally posted by Monte
    Netdude the Mysql install is messed up, if you look I suspect you will find mysql is not running and the command to make it run is not working either.

    Best thing to do it start again. That server will never work right configured that way.

    I have been stripping everything off mine and reinstalling it all by hand.

    I would suggest not trying to host anyone on that server the way it is now.

    I got mine for testing and to play with so it is not that big of deal to me, but if I was wanting to host sites on it I would be pissed off and demand they redo it and do it correctly with everything working.
    i personally tend not to put important things on $49 companies

  23. #23
    Join Date
    May 2001
    Location
    Dayton, Ohio
    Posts
    4,962
    For $49/month I wouldn't expect a linux guru

    But as long as the network is decent and the hardware is decent, you can prolly make it into a fairly stable server....
    -Mat Sumpter
    Director, Product Engagement
    Penton Media

  24. #24
    Join Date
    Nov 2001
    Posts
    1,262
    [[email protected] zac]$ df -h
    Filesystem Size Used Avail Use% Mounted on
    /dev/hda5 372M 75M 278M 22% /
    /dev/hda1 45M 8.5M 34M 20% /boot
    /dev/hda7 48G 2.5G 42G 6% /home
    none 247M 0 247M 0% /dev/shm
    /dev/hda2 5.8G 854M 4.6G 16% /usr
    /dev/hda6 251M 31M 207M 13% /var
    [[email protected] zac]$


    this is one i have a shell on.

  25. #25
    Join Date
    Oct 2002
    Posts
    3
    Why is it bad to have one big root partition? Is it to minimize the damage in case of diskcrash?

    Jan

  26. #26
    Join Date
    Jul 2002
    Location
    Vancouver, BC
    Posts
    1,017
    its a $99/month box... lol

    Originally posted by clocker1996


    i personally tend not to put important things on $49 companies

  27. #27
    Join Date
    Jul 2002
    Location
    Perth, Western Australia
    Posts
    227
    My partitions were set right, because I specified it in the "Special Instructions" in the order form. Otherwise they will do a default partition scheme. Restores are free anyway, get them to do it again with your partition requirements.
    <<Please RTFM for signature setup>>

  28. #28
    Join Date
    Jun 2001
    Location
    Earth
    Posts
    1,258
    Originally posted by jhs
    Why is it bad to have one big root partition? Is it to minimize the damage in case of diskcrash?
    Jan,

    The major reason is that *nix starts to act very funny (crash etc.) when critical partitions fill. Since everything is on one partition, it's pretty easy for someone to flood your server and have that flood log 100's of thousands of messages. Eventually those messages will fill you / partition and bye-bye server.

    It just make it easier for a DoS attack.

    Frank
    Umbra Hosting
    cPanel | Softaculous | CloudLinux | R1Soft | Ksplice
    Web Hosting, Reseller Hosting, VPS, Dedicated Servers, Colocation
    UmbraHosting.com

  29. #29
    Join Date
    Jul 2002
    Location
    Perth, Western Australia
    Posts
    227
    Thats where proc/fork limits are set. Quotas too!
    <<Please RTFM for signature setup>>

  30. #30
    Join Date
    Oct 2002
    Posts
    3
    Originally posted by ffeingol

    The major reason is that *nix starts to act very funny (crash etc.) when critical partitions fill. Since everything is on one partition, it's pretty easy for someone to flood your server and have that flood log 100's of thousands of messages. Eventually those messages will fill you / partition and bye-bye server.
    Frank, thank you for the answer, but I still don't see the advantage.

    You say that if certain partitions fill *nix will behave funny. But what does it help to make separate partitions? For example let's take /var, if it has it own partition, it fills and the box behaves funny, if everything is in one big root partition, that partition fill and the machine behave funny. I don't really see the difference

    Jan

  31. #31
    Join Date
    Apr 2002
    Posts
    221
    But then, say some perl script gets stuck in an unlimited loop and starts dumping data into the /tmp directory... it goes on forever until the entire disk, not just /tmp fills up, making it a much bigger mess to clean up.

    James

  32. #32
    Join Date
    Nov 2001
    Posts
    1,262
    Originally posted by zRedDice
    But then, say some perl script gets stuck in an unlimited loop and starts dumping data into the /tmp directory... it goes on forever until the entire disk, not just /tmp fills up, making it a much bigger mess to clean up.

    James
    well although the whole disk would be full it would'nt be any hard er to clean up since its all in /tmp

  33. #33
    Join Date
    Sep 2002
    Location
    Colorado, US
    Posts
    108
    i really dont see a difference, i know more partitions can be better except that really varied servers where the various folders are used alot would give tremendous flexibility.
    Rave5 Web Solutions
    http://www.rave5.com

  34. #34
    A couple of reasons you want to separate the partitions out:

    1. Disk usage: If say your logs get filled up and you have just one big partition. Your whole system crashes because it can't make any more writes to the disk by other processes besides logging. If you have a partition for /var then it just fills up that partition. The computer still continues to run. If the entire main partition gets filled it is very possible that it will not be able to boot up.

    2. Security. A lot of root exploits do things like making links of certain files (say from the temp dir) to maybe /etc/passwd. Then they download that file. Linux cannot create links accross partitions, so it eliminates these types of problems. There are also several other exploits that this helps prevent, I just can't remember them off the top of my head.

    There are also some other reasons, but it is just too early in the morning for me to think about it right now (on top of it beeing Monday).

    Basically it is a very good idea to have separate partitions. It would also be a good idea to create a /tmp partition for security reasons.

    --
    Chuck

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •