Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now

adamwer
Posted on: Sep 1 2006, 09:24 AM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 11-May 06
Member No.: 6,361


It was the presence of /opt/tomcat/bin/setenv.sh

CATALINA_HOME='opt/tomcat'
JAVA_HOME='/opt/jdk'

Once this file deleted the server starts fine from startup.sh
  Forum: Technical Support · Post Preview: #27941 · Replies: 2 · Views: 2,968

adamwer
Posted on: Aug 18 2006, 10:51 AM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 11-May 06
Member No.: 6,361


Run on FC5.

Got the following:

[root@victor ~]# cd /opt/tomcat/bin
[root@victor bin]# ./startup.sh
Cannot find opt/tomcat/bin/setclasspath.sh
This file is needed to run this program
[root@victor bin]# ls -altr
...
-rwxr-xr-x 1 root root 3008 Apr 14 19:09 setclasspath.sh
...

File location and permissions are ok.
  Forum: Technical Support · Post Preview: #27786 · Replies: 2 · Views: 2,968

adamwer
Posted on: May 12 2006, 05:32 AM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 11-May 06
Member No.: 6,361


Some additional info:
The compiled gnats version is 4.0.
I also tried:

[root@sierra gnats]# gnatsd -n
Memory fault
[root@sierra gnats]# su gnats
[gnats@sierra gnats]$ gnatsd -n
Segmentation fault


[root@sierra gnats]# strace gnatsd -n
execve("/usr/local/libexec/gnats/gnatsd", ["gnatsd", "-n"], [/* 24 vars */]) = 0
uname({sys="Linux", node="sierra", ...}) = 0
brk(0) = 0x8074e60
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=13727, ...}) = 0
mmap2(NULL, 13727, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000
close(3) = 0
open("/lib/libcrypt.so.1", O_RDONLY) = 3
read(3, "177ELF111331340t"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=34104, ...}) = 0
mmap2(NULL, 197404, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4001b000
mmap2(0x40023000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7) = 0x40023000
mmap2(0x40025000, 156444, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40025000
close(3) = 0
open("/lib/tls/libc.so.6", O_RDONLY) = 3
read(3, "177ELF11133120Q100"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1148008, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4004c000
mmap2(NULL, 1154236, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x4004d000
mmap2(0x40161000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x114) = 0x40161000
mmap2(0x40165000, 7356, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40165000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40167000
mprotect(0x40161000, 4096, PROT_READ) = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0x401676c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0x40017000, 13727) = 0
umask(022) = 022
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
uname({sys="Linux", node="sierra", ...}) = 0
brk(0) = 0x8074e60
brk(0x8095e60) = 0x8095e60
brk(0x8096000) = 0x8096000
gettimeofday({1147434759, 107132}, NULL) = 0
getpid() = 3514
open("/etc/resolv.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=58, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
read(3, "domain ratio.co.uknnameserver 21"..., 4096) = 58
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40017000, 4096) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 3
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3) = 0
socket(PF_FILE, SOCK_STREAM, 0) = 3
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
close(3) = 0
open("/etc/nsswitch.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=277, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
read(3, "# /etc/nsswitch.confn#n# Example"..., 4096) = 277
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40017000, 4096) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=13727, ...}) = 0
mmap2(NULL, 13727, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000
close(3) = 0
open("/lib/libnss_files.so.2", O_RDONLY) = 3
read(3, "177ELF111331p3300"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=34188, ...}) = 0
mmap2(NULL, 37516, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40168000
mmap2(0x40170000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7) = 0x40170000
close(3) = 0
munmap(0x40017000, 13727) = 0
open("/etc/host.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=26, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
read(3, "order hosts,bindnmulti onn", 4096) = 26
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40017000, 4096) = 0
open("/etc/hosts", O_RDONLY) = 3
fcntl64(3, F_GETFD) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=283, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
read(3, "# /etc/hostsn127.0.0.1tlocalhost"..., 4096) = 283
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40017000, 4096) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=13727, ...}) = 0
mmap2(NULL, 13727, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40017000
close(3) = 0
open("/lib/libnss_dns.so.2", O_RDONLY) = 3
read(3, "177ELF111331340r"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=17764, ...}) = 0
mmap2(NULL, 20616, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40172000
mmap2(0x40176000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3) = 0x40176000
close(3) = 0
open("/lib/libresolv.so.2", O_RDONLY) = 3
read(3, "177ELF111331p$00"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=63188, ...}) = 0
mmap2(NULL, 71880, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x40178000
mmap2(0x40186000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe) = 0x40186000
mmap2(0x40188000, 6344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40188000
close(3) = 0
munmap(0x40017000, 13727) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("212.104.130.65")}, 28) = 0
fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
gettimeofday({1147434759, 160091}, NULL) = 0
poll([{fd=3, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
send(3, "330301116sierra5ratio2co2uk"..., 36, 0) = 36
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(3, FIONREAD, [52]) = 0
recvfrom(3, "330301201200116sierra5ratio2co2u"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("212.104.130.65")}, [16]) = 52
close(3) = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
open("/usr/local/etc/gnats/databases", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0777, st_size=687, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
read(3, "# This file contains a list of d"..., 4096) = 687
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40017000, 4096) = 0
stat64("/usr/local/com/gnatsdb", {st_mode=S_IFDIR|0755, st_size=54, ...}) = 0
stat64("/usr/local/com/gnatsdb/gnats-adm/gnatsd.host_access", 0xbffff45c) = -1 ENOENT (No such file or directory)
open("/usr/local/com/gnatsdb/gnats-adm/dbconfig", O_RDONLY) = 3
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
fstat64(3, {st_mode=S_IFREG|0755, st_size=20730, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
read(3, "# This configuration file descri"..., 4096) = 4096
open("/usr/local/com/gnatsdb/gnats-adm/categories", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0755, st_size=1157, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(4, "#tt Possible categories for a"..., 4096) = 1157
read(4, "", 4096) = 0
close(4) = 0
munmap(0x40018000, 4096) = 0
read(3, "enumerated field with two possib"..., 4096) = 4096
open("/usr/local/com/gnatsdb/gnats-adm/responsible", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0755, st_size=1226, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(4, "#n#tt People responsible for a "..., 4096) = 1226
read(4, "", 4096) = 0
close(4) = 0
munmap(0x40018000, 4096) = 0
open("/usr/local/com/gnatsdb/gnats-adm/states", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0755, st_size=2975, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(4, "#tt Possible states for a PR."..., 4096) = 2975
read(4, "", 4096) = 0
close(4) = 0
munmap(0x40018000, 4096) = 0
open("/usr/local/com/gnatsdb/gnats-adm/classes", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0755, st_size=1421, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(4, "#tt Possible classes for a PR"..., 4096) = 1421
read(4, "", 4096) = 0
close(4) = 0
munmap(0x40018000, 4096) = 0
open("/usr/local/com/gnatsdb/gnats-adm/submitters", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0755, st_size=2114, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(4, "#n#tt submitters database for"..., 4096) = 2114
read(4, "", 4096) = 0
close(4) = 0
munmap(0x40018000, 4096) = 0
read(3, ""closed-date"n description "D"..., 4096) = 4096
read(3, "egory" "Synopsis" "Confidential""..., 4096) = 4096
read(3, " $MailTo -- the To: line of the "..., 4096) = 4096
read(3, "ppear inn# the template.ninitial"..., 4096) = 250
read(3, "", 4096) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
close(3) = 0
munmap(0x40017000, 4096) = 0
open("/usr/local/etc/gnats/gnatsd.host_access", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0777, st_size=1774, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
read(3, "#n# Hosts that "..., 4096) = 1774
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40017000, 4096) = 0
open("/usr/local/com/gnatsdb/gnats-adm/gnatsd.user_access", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0600, st_size=2227, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
read(3, "#n# User access"..., 4096) = 2227
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40017000, 4096) = 0
open("/usr/local/etc/gnats/gnatsd.user_access", O_RDONLY) = -1 ENOENT (No such file or directory)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 3514 detached
[root@sierra gnats]#
  Forum: Technical Support · Post Preview: #26550 · Replies: 2 · Views: 2,267

adamwer
Posted on: May 11 2006, 11:18 AM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 11-May 06
Member No.: 6,361


Hi
It didn't start on boot automatically so I tried the following:

[root@sierra /]# find -noleaf -name gnatsd
./usr/local/libexec/gnats/gnatsd
[root@sierra /]# cd /usr/local/libexec/gnats
[root@sierra gnats]# gnatsd
Memory fault
[root@sierra gnats]# gnatsd start
Memory fault
[root@sierra gnats]# gnatsd start dwvbwdbvwb wwsbvwfdrbvwrbgv
Memory fault
[root@sierra gnats]#

Please help.
Cheers
Adam
  Forum: Technical Support · Post Preview: #26548 · Replies: 2 · Views: 2,267

adamwer
Posted on: May 11 2006, 11:15 AM


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 11-May 06
Member No.: 6,361


Hi
System: PLD Linux 2.6.8, vixie-cron. While installing gnats I encountered the following:

[root@sierra ~]# cd /home/users/gnats
[root@sierra gnats]# su gnats
[gnats@sierra ~]$ ls -altr
total 28
...
-rw-r--r-- 1 gnats users 64 May 9 15:28 .mycron
...
[gnats@sierra ~]$ crontab .mycron
You (gnats) are not allowed to use this program (crontab)
See crontab(1) for more information
[gnats@sierra ~]$

I checked the files below several times:
/etc/cron/cron.allow
/etc/cron/cron.deny
Additionaly I created (with the same attributes):
/etc/cron/at.allow
/var/spool/cron/at.allow
/var/spool/cron/cron.allow

Finally I tried:
chmod a+rwx /etc/cron.d/crontab

Still the same error.
I will appreciate any hint.

Cheers
Adam
  Forum: Technical Support · Post Preview: #26547 · Replies: 1 · Views: 2,116


New Posts  New Replies
No New Posts  No New Replies
Hot topic  Hot Topic (New)
No new  Hot Topic (No New)
Poll  Poll (New)
No new votes  Poll (No New)
Closed  Locked Topic
Moved  Moved Topic
 

RSS Lo-Fi Version Time is now: 24th February 2018 - 03:23 AM