29 Apr, 2009, David Haley wrote in the 21st comment:
Votes: 0
You can try right-clicking the files/directories and viewing properties, permissions, or whatever it might be called and seeing if you still have write access to the relevant directories.

Also, check that you still have quota left. (Log in and type 'quota')
29 Apr, 2009, Mabus wrote in the 22nd comment:
Votes: 0
boblinski said:
and I can upload .txt files.. but I cannot seem to upload any other type of file (ie: .h or .c)

Can you change a .c file to .txt and upload it?

Strange.
29 Apr, 2009, David Haley wrote in the 23rd comment:
Votes: 0
I doubt file extension has anything to do with it other than overwriting a file that already exists. What was meant is likely not that a random .c file couldn't be uploaded, but that a .c file from the offline file could not be uploaded on top of a .c file on the server.

Anyhow, the things to check now are permissions and quota. (It's possible that the .txt files in question are very small and so don't exceed quota whereas the source files are big enough. But, quota is less likely to be the problem at this point.)
29 Apr, 2009, boblinski wrote in the 24th comment:
Votes: 0
I have found the problem, it was as David said… I have exceeded my quota!

The LOG folder, after only a day of having the mud running, has now got 12097 txt files..

Most of them say:
Quote
Tue Apr 28 02:40:40 2009 :: Loading configuration settings from ../area/qmconfig.rc.
Tue Apr 28 02:40:40 2009 :: Set IP address to 0.0.0.0
Init socket: bind: Address already in use

(each with a slightly different time.. normally every few seconds)

Some say:
Quote
Tue Apr 28 15:26:20 2009 :: Loading configuration settings from ../area/qmconfig.rc.
Tue Apr 28 15:26:20 2009 :: Set IP address to 0.0.0.0
Tue Apr 28 15:26:20 2009 :: Loaded 0 mobprogs.
Tue Apr 28 15:26:20 2009 :: Loaded 0 mobprogs.
Tue Apr 28 15:26:20 2009 :: Loaded 1 mobprogs.
Tue Apr 28 15:26:20 2009 :: Loaded 1 mobprogs.
Tue Apr 28 15:26:20 2009 :: Loaded 1 mobprogs.
Tue Apr 28 15:26:20 2009 :: ROM is ready to rock on port 8888 (0.0.0.0).
Tue Apr 28 15:26:21 2009 :: Sock.sinaddr: 121.72.54.232
Tue Apr 28 16:47:23 2009 :: [*****] BUG: Load_char_obj: # not found.
Tue Apr 28 16:47:24 2009 :: Closing link to Bob.
Tue Apr 28 16:47:35 2009 :: Sock.sinaddr: 121.72.54.232
Tue Apr 28 16:47:37 2009 :: [*****] BUG: Load_char_obj: # not found.
Tue Apr 28 16:47:40 2009 :: Closing link to Bob.
Tue Apr 28 16:47:42 2009 :: Sock.sinaddr: 121.72.54.232
Tue Apr 28 16:47:47 2009 :: Loading Matt.
Tue Apr 28 16:47:52 2009 :: Matt@121-72-54-232.dsl.clearinet.net has connected.
Tue Apr 28 16:48:02 2009 :: Log Matt: shutdown
Tue Apr 28 16:48:02 2009 :: Closing link to Matt.
Tue Apr 28 16:48:02 2009 :: Normal termination of game.


And others are just blank!


1) Whats going wrong?

2) When I was using Cygwin.. the mud didn't -ever- create a single log-file in the log folder.. what has changed.. which is correct?
29 Apr, 2009, Davion wrote in the 25th comment:
Votes: 0
boblinski said:
Tue Apr 28 02:40:40 2009 :: Loading configuration settings from ../area/qmconfig.rc.
Tue Apr 28 02:40:40 2009 :: Set IP address to 0.0.0.0
Init socket: bind: Address already in use


That's either you booting up on a port already being used, or more likely, you booting up more than one copy of the MUD. If you have one startup script running -don't- boot another (sometimes I really wish these startup scripts worked like the scripts in init.d :S). If you're running on a hosted server, just type 'ps ux' and you'll see a list of things you're running. If you see './startup &' in there, don't boot up another copy ;). If you're running it off a desktop or something else, you can just grep the output to see if startup is in there "ps ux|grep startup". If nothing pops up, no startup proc is running
29 Apr, 2009, Kline wrote in the 26th comment:
Votes: 0
As Davion said, you probably had two startup scripts running already. Below is the script I use, which helps prevent this by checking if the port is in use. It's not perfect (and I'm sure someone will comment how to improve it ;), but it hasn't failed me yet.

Here's the pertinent part:
matches=`netstat -an | grep ":$port " | grep -c LISTEN`
if [ $matches -ge 1 ]; then
#Already running
echo Port $port already in use.
exit 0
fi


Here's the whole thing:
#!/bin/bash
#
# /bin/sh replacement for startup, by Spectrum
#

# grab the port number
port=3000
if [ "$1" != "" ]; then port=$1; fi

# set up
cd ../report
if [ -f shutdown.txt ]; then rm -f shutdown.txt; fi

cd ../area

# allow cores
#ulimit -c 50000
# stack limit
#ulimit -s 1500

renice +5 -p $$

# loop indefinately
while :
do
# find a logfile

index=1000
while :
do
logfile=../log/$index.log
if [ ! -e $logfile ]; then break; fi
let index=$index+1
done

date > $logfile

# run the mud
matches=`netstat -an | grep ":$port " | grep -c LISTEN`
if [ $matches -ge 1 ]; then
#Already running
echo Port $port already in use.
exit 0
fi
../src/ack $port &> $logfile

# shutdown?

cd ../report

if [ -e shutdown.txt ]; then
echo "startup: shutting down" >>$logfile
exit 1
fi

cd ../area

# sleep, so if we fail on boot we don't get massive looping
sleep 10
done
29 Apr, 2009, Davion wrote in the 27th comment:
Votes: 0
Kline, you're doing it right. That's a pretty good addition to any startup script
30 Apr, 2009, Zenn wrote in the 28th comment:
Votes: 0
Hades_Kane said:
Sandi said:
In Windows, I also use WinSCP.

WinSCP


Ditto.


Thirded. Good program. Terminal/PuTTY functions too.
30 Apr, 2009, David Haley wrote in the 29th comment:
Votes: 0
In the other thread, when you typed "ps", there were two entries for the startup program – as others have said that was your problem.
10 Jun, 2009, Havok wrote in the 30th comment:
Votes: 0
I too use coreftp, It's easy and friendly. I don't think I've switched in several years. I've used it for day of defeat as well.
10 Jun, 2009, Scandum wrote in the 31st comment:
Votes: 0
Cool script Kline.

I'm using sftp on Cygwin, and if I need to automate anything I run sftp within tintin++.
10 Jun, 2009, Zenn wrote in the 32nd comment:
Votes: 0
I also use WinSCP. Works nicely with PuTTY and has a simple terminal function as well.
10 Jun, 2009, Crystal wrote in the 33rd comment:
Votes: 0
I used Smart FTP forever because it was free and because it had the drag/drop feature. Now since Firefox is my main browser I use the FireFTP plugin because it's quick to use and has all the features I'd need.
10 Jun, 2009, Banner wrote in the 34th comment:
Votes: 0
Way to revive old posts. It makes Zenn post almost verbatim.
10 Jun, 2009, Zenn wrote in the 35th comment:
Votes: 0
:O
10 Jun, 2009, David Haley wrote in the 36th comment:
Votes: 0
Hmm, well, you have to be careful that you don't have two entries for the startup program, like you had in the other thread (when you typed "ps").
10 Jun, 2009, Banner wrote in the 37th comment:
Votes: 0
David Haley said:
Hmm, well, you have to be careful that you don't have two entries for the startup program, like you had in the other thread (when you typed "ps").
I see what you did there. :devil:
11 Jun, 2009, Runter wrote in the 38th comment:
Votes: 0
There's a puttyFTP I believe for those puddites out there.
20.0/38