Jump to content

Sapphiron

Members
  • Posts

    49
  • Joined

  • Last visited

Everything posted by Sapphiron

  1. here is the contents of my fstab file /dev/sda1 / ext3 defaults 1 1 /dev/sda6 /home ext3 defaults 1 2 /dev/hda /mnt/cdrom auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec,users 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=ext2:vfat,--,umask=0,iocharset=iso8859-15,sync,codepage=850 0 0 none /proc proc defaults 0 0 /dev/sda5 swap swap defaults 0 0 /dev/sdb5 swap swap defaults 0 0 What do You guys make of it? If the raid controller is unsupported by linux, can I unmount (in essance, prevent linux from using) the second drive and have the raid chip control the raid array. How reliable is the linux software raid? Whats the catch/s(if any)
  2. thanks for the reply. I do have a device called md0. Does this mean that my raid is working properly. I know it can still detect 2 drives through a tool like harddrake.
  3. I have a ftp server that I use to serve as a file source for my web application. I don't want people to see all the files in my anonymous ftp folder, but I want them to be able to access a file if I give them the URL. I set up a user called 'FTPadmin". He is a member of the "ftp" group. I changed the home folder of the "ftp" user to the /home/FTPadmin/. I set the folder properties to have "FTPAdmin" as the owner and "ftp" as the group. It work for giving read-only access to the "ftp" user to the "FTPAdmin" folder. I dont want the ftp user to have listing access. i figured that I can remove the group's listing access, but retain the owners listing access. Or so I thought.... Now i don't have anonymouse access, even if I type in the exact URL into my browser it does not work. I have run out of things to try.
  4. Sapphiron

    mobos...

    Try a Abit KV-7 It should cost about R300 (south African Rands) thats about $40 it has all the new goodies as well (SATA RAID, optical 5.1 sound, 5 pci slots, onboard 100mb lan and up to 8x USB 2.0 (4 onboard and 4 by cables)) And I'm sure the other users will agree that abit is very good quality. Not some shakey brand like asrock or ECS
  5. Hi All I set up my Sempron 2800 on a Abit KV-7 with a VIA KT600 chipset. I want to use it as a server with my important stuff so i set up a hardware raid 1 (Using the Raid Bios before installation) with 2 WD 80GB SATA drives. What concerns me is that mandrake 10.1 picks it up as 2 independent drives. In windows it picks it up as 1 drive. I went ahead and installed Mandrake on the source drive on channel 0. Do I need to set up Linux with Raid, or will the hardware Raid do it's thing. I'm just concerned that having the second drive visible in Mandrake might cause trouble when Mandrakes writes something to the Mirror drive. I was thinking of setting up raid using the raid tools or the mdadm packages, but they only seem to support software raid. What advise can you guys give me? Thanks in advance
  6. I was fiddling around with my ftp account when I broke anonymous access. I think i accidentally reset it's password. When i try to log in via ftp in I get "invalid username and password". Methinks the problem lies with the password stored in Proftp and linux differs. How can I get it fixed? PS I already tried reinstalling proftpd. thanks in advance
  7. Forgive me, but i know very little about shell scripting, but will this script recursively step into subfolders?
  8. Thanks, the command told me what I wanted to know, thanks a lot
  9. I've got my own application which I need to run on port 8090. the problem is that that port seems to be in use. How can I find out what program it is, so I can change it's port O, I'm using mandrake 10.0 official
  10. Hi everyone I have an application that needs to run, both in windows and in linux. Do any of you know about a tool or command that I can use to remove or detect all the ^M characters from all the configuration files in the folder. thanks in advance.
  11. Hi all I use ftp scripts in windows to backup some files on all my linux server. I want to automate these backups on the linux boxes instead of running it on my pc. I want them to "put" the files to a ftp server. My windows ftp scripts work perfectly in windows, the moment I run them in linux, it does not accept the "ftp -s:scriptname hostname" command. I found out that ftp under Mandrake 10 does not support the -s parameter. I have tried piping the script into the command like so: "ftp hostname < scriptname" The remote server tells me the following: 500 AUTH not understood. Please help , I'm stuck Thanks in advance
  12. Thanks anon Your help is appreciated, I just whish more people could help. Thanks for being the only one to try. I think I should get round to setting up sendmail then.
  13. No i do not have a mail server installed. Is there no way I can send an email to an external SMTP server, so that it gets forwarded to my support address at the office. That brings me to another question: How does Webmin acually send an email? does is use something internal to Linux, or does it require software for sending email.
  14. I would prefer not to install sendmail on the servers. I want to keep the server as light as possible. I would really like to know where webmin would keep that log files.
  15. Ok I set it up, only one problem, the email is no going out. Do i need to configure an email client, or is specifying the smtp server and email address enough? Is there a log file I could check to see if the email generated an error
  16. Hi All I have a web-based application that I sell to my clients. I want to be infromed whenever that application goes down or a serious error occurs. You know client, thye don't tell you when they have a problem. All they do is get angry and bame the stupid programs What would be the best way for me to monitor these servers. Currently most of my servers are running on Mandrake 10. I also have webmin installed. Is there a way I can monitor it through webmin? PS: I would be handy if it could send an email automatically when a problem occurs. or it can ftp a report file to my ftp server Thanks in advance
  17. CRACKED IT. I changed the script to the following and it worked I would like to thank the furom and my linux guru, who came up with the solution. #!/bin/sh # chkconfig: 2345 99 00 case "$1" in 'start') /home/workpool/Workpool4/jboss/bin/run.sh > /home/workpool/start.log 2>&1 & touch /var/lock/subsys/WorkPool ;; 'stop') /home/workpool/Workpool4/jboss/bin/shutdown.sh -S > /home/workpool/stop.log 2>&1 & rm -f /var/lock/subsys/WorkPool ;; *) echo "Usage: $0 { start | stop }" ;; esac Yipee!
  18. Ok i tried somthing. Since Jboss constantly writes it status and action to the console, I thought that might be the problem, so I did changed the script to the following: #!/bin/sh # chkconfig: 2345 99 00 case "$1" in 'start') /home/workpool/Workpool4/jboss/bin/run.sh > /dev/null touch /var/lock/subsys/WorkPool ;; 'stop') /home/workpool/Workpool4/jboss/bin/shutdown.sh -S rm -f /var/lock/subsys/WorkPool ;; *) echo "Usage: $0 { start | stop }" ;; esac This however still does not solve the problem. This is starting to frustrate me.
  19. Ok I checked the entries in the runlevels. They seem to be in order. (Webmin is a cool tool). Thanks for the info so far I'm going to try the "service jboss start/stop"-thingy in the init.d, but I'm a bit clueless, so your help would be very much appreciated.
  20. Sorry, I probably did not make it clear enough. let me try again. I have 1 application running in jboss. I want to start that jboss as a service. I normally do this by running the run.sh script in the jboss/bin folder. When I run the script with a '&', it runs fine. The problem comes in when I want to start it as a service. When the machine boots up all goes fine until it starts jboss. Jboss starts sucessfully, but control isnot returned to the system (ie it does not finish booting) I tried to fix this by adding a '&' after the run.sh. Everything is fine then, but jboss (and my application) does not start. Hope this is a bit more clear. Again Thanks in advance.
  21. I have an web application I have installed on mandrake 10.0 CE. The application runs within Jboss. I used Webmin to add it at a service (easier than doing it in command-line) The problem I am having is that at startup, all the services start untill it gets to my application. The application starts and works perfectly, but after it has started, it does not say OK and continue with the next service. Here is the script webmin wrote for me: #!/bin/sh # chkconfig: 2345 99 00 case "$1" in 'start') /home/workpool/Workpool4/jboss/bin/run.sh touch /var/lock/subsys/WorkPool ;; 'stop') /home/workpool/Workpool4/jboss/bin/shutdown.sh -S rm -f /var/lock/subsys/WorkPool ;; *) echo "Usage: $0 { start | stop }" ;; esac How can I change this so that it can continue with the next service. I think the problem might be caused by jboss. When I run the script normally, I have to run it in the background (&) as it continues to run until you close it. I tried adding a & after the "run.sh" , but it does not seem to start up then. Thanks in advance. I know the solution is probably frightfully simple.
  22. It says it was updated on that date, but i doubt it has been revised
×
×
  • Create New...