Page 1 of 1
Unable to open 'tmp' directory
Posted: Sun Aug 28, 2005 3:31 pm
by skorot
Hi,
When i do ./Config and then make, i try to start unreal with ./unreal start
but there is one error:
Code: Select all
[error] Unable to open 'tmp' directory: No such file or directory, please create
one with the appropriate permissions
Possible error encountered (IRCd seemily not started)
but i have a dir named tmp!
i tryd chmod 777 tmp
but there was same error, pls help
skorot
Posted: Sun Aug 28, 2005 3:42 pm
by Dukat
You need a tmp dir in the same directory UnrealIRCd is in, not /tmp.
Posted: Sun Aug 28, 2005 3:45 pm
by skorot
see your self
Code: Select all
[sshd@supermicro Unreal3.2]$ ls
CVS badwords.quit.conf ircdcron
Changes config.guess keys
Changes.old config.log m_template.c
Config config.settings makefile.win32
Donation config.status modulize
INSTALL.REMOTEINC config.sub networks
LICENSE configure newnet
Makefile curlinstall spamfilter.conf
Makefile.in dccallow.conf src
README doc tmp
Unreal.nfo extras unreal
aliases help.conf unreal.in
autoconf include unrealircd.conf
badwords.channel.conf install-sh update
badwords.message.conf ircd.log wircd.def
i have it :\
Posted: Sun Aug 28, 2005 3:54 pm
by Dukat
And the output of ls -al?
What OS are you using?
Posted: Sun Aug 28, 2005 4:04 pm
by skorot
Code: Select all
[sshd@supermicro Unreal3.2]$ ls -al
total 1128
...
drwxrwxrwx 2 sshd sshd 4096 Aug 28 17:06 tmp
i have Red Hat Linux release 7.2
Posted: Sun Aug 28, 2005 4:11 pm
by Syzop
And you are in the right installation dir?
Eg:
Code: Select all
$ grep DPATH include/setup.h
#define DPATH "/home/syzop/Unreal3.2"
$ ls -ald /home/syzop/Unreal3.2/tmp
drwx------ 2 syzop syzop 4096 Aug 27 02:48 /home/syzop/Unreal3.2/tmp
Posted: Sun Aug 28, 2005 4:40 pm
by skorot
Code: Select all
[sshd@supermicro Unreal3.2]$ grep DPATH include/setup.h
#define DPATH "/var/.../IRCD/Unreal3.2"
[sshd@supermicro Unreal3.2]$ ls -ald /var/.../IRCD/Unreal3.2/tmp
drwxrwxrwx 2 sshd sshd 4096 Aug 28 17:06 /var/.../IRCD/Unreal3.2/tmp
Posted: Sun Aug 28, 2005 10:00 pm
by Syzop
No idea then.
You could strace/truss, if you are bored:P.
('strace src/ircd' or 'strace -o strace.log src/ircd', etc...)