You are not logged in.
Yay GNU screen! Terminal multiplexing rocks!
But I still have web server problems. It still says access denied even when my public html and files in it are set to permissions 777.
How's my programming? Call 1-800-DEV-NULL
Offline
That's weird, frankly I've no idea what's wrong.
Offline
Yay GNU screen! Terminal multiplexing rocks!
But I still have web server problems. It still says access denied even when my public html and files in it are set to permissions 777.
Is your home dir at least +x for world? 701 would suffice. Remember, the user running the server needs to be able to execute all directories down to the files you want to serve.
Edit: I did some looking, permissions on your home dir are in fact the problem.
Last edited by rson451 (2009-09-09 14:35:41)
archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson
Offline
Fixed permissions for both of you, public_html works now.
Last edited by ZankerH (2009-09-09 14:43:39)
Offline
Thanks for fixing permissions for me! Now seriously check out my site, it has llama legs.
http://sshbox.ath.cx/~zowki
High resolution recommended.
Last edited by zowki (2009-09-09 14:53:04)
How's my programming? Call 1-800-DEV-NULL
Offline
i guess i have permission issues too....
eh would it be possible to install http://www.eggheads.org so i could use it for an irc-bot
Offline
Well that's weird...but should be fixed now, I gave everyone's home 701.
Offline
i guess i have permission issues too....
eh would it be possible to install http://www.eggheads.org so i could use it for an irc-bot
Is your public_html folder recursively set to permissions 777? Is your home folder permissions 701?
How's my programming? Call 1-800-DEV-NULL
Offline
public_html was 775 that was the problem thx
Offline
Would you mind telling where your server is located?
Who we are is but a stepping stone to what we can become.
Offline
Would you mind telling where your server is located?
Eastern Europe. Some post communist state starting with the letter s. Don't remember which one.
How's my programming? Call 1-800-DEV-NULL
Offline
t4k1t wrote:Would you mind telling where your server is located?
Eastern Europe. Some post communist state starting with the letter s. Don't remember which one.
Slovenia, Central Europe.
Offline
Just curious, can anyone give me an example of what it can be used for, and any tips about system admin, like practices or such.
Thanks ( sorry if I am derailing the thread, simple pm would dp )
P.S kinda of a nub myself
Last edited by clg (2009-09-09 17:17:49)
Offline
Just curious, can anyone give me an example of what it can be used for, and any tips about system admin, like practices or such.
Thanks ( sorry if I am derailing the thread, simple pm would dp )
P.S kinda of a nub myself
-Remote storage
-Web proxy
-http server
-A place to try stuff out
For anything else, ask more specifically.
Offline
i guess i have permission issues too....
eh would it be possible to install http://www.eggheads.org so i could use it for an irc-bot
I installed whatever that is in your /home, I'll leave configuring it to you.
Offline
ZankerH: Are there, or are there not, any more accounts? You haven't said anything to indicate an answer, nor have you responded to any of the askers...
[see rson451's comment]
Last edited by Peasantoid (2009-09-09 20:41:23)
Offline
There's plenty of disk space, since people aren't uploading much, but the net connection is more or less clogged. At this point, the server can't handle many more accounts, but I'll consider making one for people who have experience with servers/administration and are willing to help with advice. I'll delete some of the accounts who have never logged in by tomorrow, and we'll see then.
Offline
Looks like we have a problem - something's eating my ram!
I checked top, and it looked like there were ten httpd forks taking up about 150MB each - which amounted to three quarters of my 2GB. So I restarted httpd, then tried killing it (which worked)
The ram usage is the same, but the ps aux input doesn't add up. Ideas?
[root@ARTEMIS rc.d]# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 3796 264 ? Ss Sep09 0:00 ini
root 2 0.0 0.0 0 0 ? S< Sep09 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S< Sep09 0:00 [migration/0]
root 4 0.0 0.0 0 0 ? S< Sep09 0:00 [ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S< Sep09 0:00 [watchdog/0]
root 6 0.0 0.0 0 0 ? S< Sep09 0:00 [migration/1]
root 7 0.0 0.0 0 0 ? S< Sep09 0:00 [ksoftirqd/1]
root 8 0.0 0.0 0 0 ? S< Sep09 0:00 [watchdog/1]
root 9 0.0 0.0 0 0 ? S< Sep09 0:00 [events/0]
root 10 0.0 0.0 0 0 ? S< Sep09 0:00 [events/1]
root 11 0.0 0.0 0 0 ? S< Sep09 0:00 [khelper]
root 12 0.0 0.0 0 0 ? S< Sep09 0:00 [async/mgr]
root 13 0.0 0.0 0 0 ? S< Sep09 0:00 [kblockd/0]
root 14 0.0 0.0 0 0 ? S< Sep09 0:00 [kblockd/1]
root 15 0.0 0.0 0 0 ? S< Sep09 0:02 [kacpid]
root 16 0.0 0.0 0 0 ? S< Sep09 0:00 [kacpi_notify]
root 17 0.0 0.0 0 0 ? S< Sep09 0:00 [kseriod]
root 18 0.0 0.0 0 0 ? S Sep09 0:00 [khungtaskd]
root 19 0.0 0.0 0 0 ? S Sep09 0:00 [pdflush]
root 20 0.0 0.0 0 0 ? S Sep09 0:00 [pdflush]
root 21 0.0 0.0 0 0 ? S< Sep09 0:06 [kswapd0]
root 22 0.0 0.0 0 0 ? S< Sep09 0:00 [aio/0]
root 23 0.0 0.0 0 0 ? S< Sep09 0:00 [aio/1]
root 24 0.0 0.0 0 0 ? S< Sep09 0:00 [crypto/0]
root 25 0.0 0.0 0 0 ? S< Sep09 0:00 [crypto/1]
root 454 0.0 0.0 0 0 ? S< Sep09 0:00 [ata/0]
root 456 0.0 0.0 0 0 ? S< Sep09 0:00 [ata/1]
root 457 0.0 0.0 0 0 ? S< Sep09 0:00 [ata_aux]
root 463 0.0 0.0 0 0 ? S< Sep09 0:00 [scsi_eh_0]
root 464 0.0 0.0 0 0 ? S< Sep09 0:00 [scsi_eh_1]
root 467 0.0 0.0 0 0 ? S< Sep09 0:00 [scsi_eh_2]
root 468 0.0 0.0 0 0 ? S< Sep09 0:00 [scsi_eh_3]
root 543 0.0 0.0 0 0 ? S< Sep09 0:00 [kjournald2]
root 568 0.0 0.0 6200 428 ? S<s Sep09 0:00 /sbin/udevd --daemon
root 793 0.0 0.0 0 0 ? S< Sep09 0:00 [ksuspend_usbd]
root 800 0.0 0.0 0 0 ? S< Sep09 0:00 [khubd]
root 821 0.0 0.0 0 0 ? S< Sep09 0:00 [khpsbpkt]
root 841 0.0 0.0 0 0 ? S< Sep09 0:00 [kpsmoused]
root 842 0.0 0.0 0 0 ? S< Sep09 0:00 [kmmcd]
root 857 0.0 0.0 0 0 ? S< Sep09 0:00 [knodemgrd_0]
root 905 0.0 0.0 0 0 ? S< Sep09 0:00 [iwlagn]
root 906 0.0 0.0 0 0 ? S< Sep09 0:00 [phy0]
root 925 0.0 0.0 0 0 ? S< Sep09 0:00 [hd-audio0]
root 1072 0.0 0.0 0 0 ? S< Sep09 0:00 [kjournald2]
root 1316 0.0 0.0 25604 76 ? S Sep09 0:00 supervising syslog-ng
root 1317 0.0 0.0 27964 800 ? Ss Sep09 0:00 /usr/sbin/syslog-ng
root 1355 0.0 0.0 8092 328 ? Ss Sep09 0:00 /sbin/dhcpcd -q eth0
root 1376 0.0 0.0 5876 460 ? S Sep09 0:00 /usr/sbin/crond
root 1390 0.0 0.0 5840 420 ? Ss Sep09 0:00 /usr/sbin/uptimed
root 1401 0.0 0.0 51912 424 ? Ss Sep09 0:00 /usr/sbin/sshd
root 1404 0.0 0.0 43416 244 tty1 Ss Sep09 0:00 /bin/login --
root 1405 0.0 0.0 3792 212 tty2 Ss+ Sep09 0:00 /sbin/agetty -8 38400 tty2 linux
root 1406 0.0 0.0 3792 212 tty3 Ss+ Sep09 0:00 /sbin/agetty -8 38400 tty3 linux
root 1407 0.0 0.0 3792 212 tty4 Ss+ Sep09 0:00 /sbin/agetty -8 38400 tty4 linux
root 1408 0.0 0.0 3792 212 tty5 Ss+ Sep09 0:00 /sbin/agetty -8 38400 tty5 linux
root 1409 0.0 0.0 3792 212 tty6 Ss+ Sep09 0:00 /sbin/agetty -8 38400 tty6 linux
zero0ne 1410 0.0 0.0 17520 1132 tty1 S+ Sep09 0:00 -bash
root 10356 0.0 0.0 6196 604 ? S< Sep09 0:00 /sbin/udevd --daemon
root 10379 0.0 0.0 6196 532 ? S< Sep09 0:00 /sbin/udevd --daemon
root 14526 0.0 0.0 10068 1148 pts/1 R+ 00:56 0:00 ps aux
mudkipz 15758 0.0 0.0 21928 676 ? Ss Sep09 0:00 ./sbnc
mudkipz 15759 0.0 0.3 47436 7280 ? Sl Sep09 0:00 ./sbnc --rpc-child
root 22508 0.0 0.1 66920 3104 ? Ss Sep09 0:00 sshd: zero0ne [priv]
zero0ne 22510 0.0 0.0 66920 1596 ? S Sep09 0:01 sshd: zero0ne@pts/0
zero0ne 22511 0.0 0.1 17520 2124 pts/0 Ss Sep09 0:00 -bash
zero0ne 22514 2.4 0.4 55148 8564 pts/0 S+ Sep09 2:18 /usr/bin/python /usr/bin/speedometer -rx eth0 -tx eth0
root 23185 0.0 0.1 66920 3100 ? Ss Sep09 0:00 sshd: zero0ne [priv]
zero0ne 23187 0.0 0.0 67052 1612 ? S Sep09 0:00 sshd: zero0ne@pts/1
zero0ne 23188 0.0 0.1 17520 2124 pts/1 Ss Sep09 0:00 -bash
root 23191 0.0 0.0 22252 992 pts/1 S Sep09 0:00 su
root 23192 0.0 0.1 17256 2080 pts/1 S Sep09 0:00 bash
root 24214 0.0 0.1 67212 3344 ? Ss Sep09 0:00 sshd: root@notty
root 24216 0.0 0.1 47520 2224 ? Ss Sep09 0:00 /usr/lib/ssh/sftp-server
[root@ARTEMIS rc.d]# free
total used free shared buffers cached
Mem: 2057564 1504264 553300 0 90172 1265144
-/+ buffers/cache: 148948 1908616
Swap: 248968 2728 246240
EDIT: Dropping memory caches solved the problem. I'm getting good at this!
Last edited by ZankerH (2009-09-09 23:26:24)
Offline
That is the way Linux works. It allocates all memory but dont use it until needed.
-/+ buffers/cache: 148948 1908616
if cache becomes zero then you have a RAM problem.
By the way could you add a mail server?
Last edited by zowki (2009-09-10 00:27:30)
How's my programming? Call 1-800-DEV-NULL
Offline
There's plenty of disk space, since people aren't uploading much, but the net connection is more or less clogged. At this point, the server can't handle many more accounts, but I'll consider making one for people who have experience with servers/administration and are willing to help with advice. I'll delete some of the accounts who have never logged in by tomorrow, and we'll see then.
Hey ZankerH, I was just in it for the kicks. Much rather more knowledgable Archers out there helping you out
Ahh, well. Would've been nice. A little itty bitty private stash located in Slovenia. Very exotic...:D
Last edited by my0pic (2009-09-10 00:52:16)
Offline
Oh wow, one of my users managed to crash everything somehow. Rebooting.
Edit: it was a forkbomb.
Everyone is now restricted to 200 processes.
Edit2: And, there goes another account, nice try dding zeroes over /var/tmp. chmod o-w * it is.
Last edited by ZankerH (2009-09-10 02:23:12)
Offline
Oh wow, one of my users managed to crash everything somehow. Rebooting.
Edit: it was a forkbomb.
Everyone is now restricted to 200 processes.
Edit2: And, there goes another account, nice try dding zeroes over /var/tmp. chmod o-w * it is.
It appears there are several dicks in the world.
Offline
Edit2: And, there goes another account, nice try dding zeroes over /var/tmp. chmod o-w * it is.
tmp is *supposed* to be writeable by everyone... That's what it's there for, and this is why we should have a separate /tmp partition on servers
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Wow, had to delete and restrict a ton of accounts. People are dicks.
ssh now operating on a whitelist, if I missed anyone let me know.
Looking on the bright side, I've now installed the full LAMP stack.
I'd love to put a mail server on it, but I don't even have the slightest idea on where to start, and can't find anything relevant on the wiki. Point me in the right direction?
Last edited by ZankerH (2009-09-10 04:42:42)
Offline
Wow, had to delete and restrict a ton of accounts. People are dicks.
ssh now operating on a whitelist, if I missed anyone let me know.
Looking on the bright side, I've now installed the full LAMP stack.
I'd love to put a mail server on it, but I don't even have the slightest idea on where to start, and can't find anything relevant on the wiki. Point me in the right direction?
I found some info here:
http://lmgtfy.com/?q=archlinux+mail+server
How's my programming? Call 1-800-DEV-NULL
Offline