Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

sendmail clientrate, the extension for wap page file is, mdadm wait for drives to become ready, www.xxx.con, g4trgh, xxx.com.b, WWWXXX.1PQ, stop ndr sendmail, fresh teens, debian /dev/md1 clean, resyncing (PENDING)

Links

XODOX
Impressum

#1: Urgency: 1 Perl Parser: Inappropriate ioctl for device

Posted on 2005-11-07 16:55:27 by Mike Thompson

Urgency: 1-Extreme
=A0When I restart apache I get


=A0Perl Parser: Inappropriate ioctl for device


=A0I have to restart the server to get apache to restart.


RedHat Enterprise Linux 4

MServer version: Apache/2.0.52
Server built: Jul 7 2005 13:08:18
Server's Module Magic Number: 20020903:9
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR=3D3D"server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT=3D3D"/etc/httpd"
-D SUEXEC_BIN=3D3D"/usr/sbin/suexec"
-D DEFAULT_PIDLOG=3D3D"logs/httpd.pid"
-D DEFAULT_SCOREBOARD=3D3D"logs/apache_runtime_status"
-D DEFAULT_LOCKFILE=3D3D"logs/accept.lock"
-D DEFAULT_ERRORLOG=3D3D"logs/error_log"
-D AP_TYPES_CONFIG_FILE=3D3D"conf/mime.types"
-D SERVER_CONFIG_FILE=3D3D"conf/httpd.conf"

- Show quoted text -
=A0DSO-

LoadModule access_module modules/mod_access.so
LoadModule auth_module modules/mod_auth.so
LoadModule auth_anon_module modules/mod_auth_anon.so
#LoadModule auth_dbm_module modules/mod_auth_dbm.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
#LoadModule ldap_module modules/mod_ldap.so
#LoadModule auth_ldap_module modules/mod_auth_ldap.so
LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule env_module modules/mod_env.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule asis_module modules/mod_asis.so
LoadModule info_module modules/mod_info.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
#LoadModule imap_module modules/mod_imap.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule cache_module modules/mod_cache.so
LoadModule suexec_module modules/mod_suexec.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule php5_module /usr/lib/httpd/modules/libphp5.so

=A0When I do a strace and this is what I get

=A0getuid32() =3D3D 0
geteuid32() =3D3D 0
getgid32() =3D3D 0
getegid32() =3D3D 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) =3D3D 5
fstat64(5, {st_mode=3D3DS_IFREG|0644, st_size=3D3D39554544, ...}) =3D3D =
0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 5, 0) =3D3D 0xb7df1000
close(5) =3D3D 0
mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, =
0)
=3D3D 0xb7dd0000
time([1131377022]) =3D3D 1131377022
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo =
....}=3D
)
=3D3D 0
_llseek(0, 0, 0xbfec8b90, SEEK_CUR) =3D3D -1 ESPIPE (Illegal seek)
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo =
....}=3D
)
=3D3D 0
_llseek(1, 0, 0xbfec8b90, SEEK_CUR) =3D3D -1 ESPIPE (Illegal seek)
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo =
....}=3D
)
=3D3D 0
_llseek(2, 0, 0xbfec8b90, SEEK_CUR) =3D3D -1 ESPIPE (Illegal seek)
open("/dev/null", O_RDONLY|O_LARGEFILE) =3D3D 5
ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfec8c28) =3D3D -1 ENOTTY
(Inappropriate ioctl for device)
_llseek(5, 0, [0], SEEK_CUR) =3D3D 0
fcntl64(5, F_SETFD, FD_CLOEXEC) =3D3D 0
fstat64(5, {st_mode=3D3DS_IFCHR|S_ISGID|0666, st_rdev=3D3Dmakedev(1, 3), =
....}) =3D
=3D3D 0
write(2, "Setuid script not plain file\n", 29) =3D3D 29
dup(2) =3D3D 7
fcntl64(7, F_GETFL) =3D3D 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat64(7, {st_mode=3D3DS_IFCHR|0620, st_rdev=3D3Dmakedev(136, 0), ...}) =
=3D3D 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, =
0) =3D
=3D3D
0xb7dcf000
_llseek(7, 0, 0xbfec8a80, SEEK_CUR) =3D3D -1 ESPIPE (Illegal seek)
open("/usr/share/locale/locale.alias", O_RDONLY) =3D3D 8
fstat64(8, {st_mode=3D3DS_IFREG|0644, st_size=3D3D2528, ...}) =3D3D 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, =
0) =3D
=3D3D
0xb7dce000
read(8, "# Locale name alias data base.\n#"..., 4096) =3D3D 2528
read(8, "", 4096) =3D3D 0
close(8) =3D3D 0
munmap(0xb7dce000, 4096) =3D3D 0
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) =
=3D3D -1
ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) =3D3D =
-1
ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) =3D3D -1 =
ENOENT
(No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) =3D3D =
-1 ENO=3D
ENT
(No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) =3D3D -1 =
ENOE=3D
NT
(No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) =3D3D -1 =
ENOENT (N=3D
o
such file or directory)
write(7, "perl_parse: Inappropriate ioctl "..., 43) =3D3D 43
close(7) =3D3D 0
munmap(0xb7dcf000, 4096) =3D3D 0
exit_group(1) =3D3D ?

=A0This is being a pain in the butt any help would be great.
=A0Mike


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Report this message

#2: RE: Urgency: 1 Perl Parser: Inappropriate ioctl for device

Posted on 2005-11-07 20:57:31 by Mike Thompson

This is Top info when the server stops

top - 12:59:55 up 4:32, 9 users, load average: 1.05, 0.65, 0.54
Tasks: 112 total, 1 running, 111 sleeping, 0 stopped, 0 zombie
Cpu(s): 3.3% us, 7.9% sy, 0.0% ni, 74.0% id, 14.8% wa, 0.0% hi, =
0.0% si
Mem: 2075016k total, 1262192k used, 812824k free, 75216k buffers
Swap: 1540088k total, 124k used, 1539964k free, 1077760k cached

-----Original Message-----
From: Mike Thompson=20
Sent: Monday, November 07, 2005 8:55 AM
To: users@httpd.apache.org
Subject: [users@httpd] Urgency: 1 Perl Parser: Inappropriate ioctl for =
device

Urgency: 1-Extreme
=A0When I restart apache I get


=A0Perl Parser: Inappropriate ioctl for device


=A0I have to restart the server to get apache to restart.


RedHat Enterprise Linux 4

MServer version: Apache/2.0.52
Server built: Jul 7 2005 13:08:18
Server's Module Magic Number: 20020903:9
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR=3D3D"server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT=3D3D"/etc/httpd"
-D SUEXEC_BIN=3D3D"/usr/sbin/suexec"
-D DEFAULT_PIDLOG=3D3D"logs/httpd.pid"
-D DEFAULT_SCOREBOARD=3D3D"logs/apache_runtime_status"
-D DEFAULT_LOCKFILE=3D3D"logs/accept.lock"
-D DEFAULT_ERRORLOG=3D3D"logs/error_log"
-D AP_TYPES_CONFIG_FILE=3D3D"conf/mime.types"
-D SERVER_CONFIG_FILE=3D3D"conf/httpd.conf"

- Show quoted text -
=A0DSO-

LoadModule access_module modules/mod_access.so
LoadModule auth_module modules/mod_auth.so
LoadModule auth_anon_module modules/mod_auth_anon.so
#LoadModule auth_dbm_module modules/mod_auth_dbm.so
#LoadModule auth_digest_module modules/mod_auth_digest.so
#LoadModule ldap_module modules/mod_ldap.so
#LoadModule auth_ldap_module modules/mod_auth_ldap.so
LoadModule include_module modules/mod_include.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule env_module modules/mod_env.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule cern_meta_module modules/mod_cern_meta.so
LoadModule expires_module modules/mod_expires.so
LoadModule deflate_module modules/mod_deflate.so
LoadModule headers_module modules/mod_headers.so
LoadModule usertrack_module modules/mod_usertrack.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule asis_module modules/mod_asis.so
LoadModule info_module modules/mod_info.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
#LoadModule imap_module modules/mod_imap.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
#LoadModule proxy_module modules/mod_proxy.so
#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
#LoadModule proxy_http_module modules/mod_proxy_http.so
#LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule cache_module modules/mod_cache.so
LoadModule suexec_module modules/mod_suexec.so
LoadModule disk_cache_module modules/mod_disk_cache.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule mem_cache_module modules/mod_mem_cache.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule php5_module /usr/lib/httpd/modules/libphp5.so

=A0When I do a strace and this is what I get

=A0getuid32() =3D3D 0
geteuid32() =3D3D 0
getgid32() =3D3D 0
getegid32() =3D3D 0
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) =3D3D 5
fstat64(5, {st_mode=3D3DS_IFREG|0644, st_size=3D3D39554544, ...}) =3D3D =
0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 5, 0) =3D3D 0xb7df1000
close(5) =3D3D 0
mmap2(NULL, 135168, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, =
0)
=3D3D 0xb7dd0000
time([1131377022]) =3D3D 1131377022
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo =
....}=3D
)
=3D3D 0
_llseek(0, 0, 0xbfec8b90, SEEK_CUR) =3D3D -1 ESPIPE (Illegal seek)
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo =
....}=3D
)
=3D3D 0
_llseek(1, 0, 0xbfec8b90, SEEK_CUR) =3D3D -1 ESPIPE (Illegal seek)
ioctl(2, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo =
....}=3D
)
=3D3D 0
_llseek(2, 0, 0xbfec8b90, SEEK_CUR) =3D3D -1 ESPIPE (Illegal seek)
open("/dev/null", O_RDONLY|O_LARGEFILE) =3D3D 5
ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfec8c28) =3D3D -1 ENOTTY
(Inappropriate ioctl for device)
_llseek(5, 0, [0], SEEK_CUR) =3D3D 0
fcntl64(5, F_SETFD, FD_CLOEXEC) =3D3D 0
fstat64(5, {st_mode=3D3DS_IFCHR|S_ISGID|0666, st_rdev=3D3Dmakedev(1, 3), =
....}) =3D
=3D3D 0
write(2, "Setuid script not plain file\n", 29) =3D3D 29
dup(2) =3D3D 7
fcntl64(7, F_GETFL) =3D3D 0x8002 (flags O_RDWR|O_LARGEFILE)
fstat64(7, {st_mode=3D3DS_IFCHR|0620, st_rdev=3D3Dmakedev(136, 0), ...}) =
=3D3D 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, =
0) =3D
=3D3D
0xb7dcf000
_llseek(7, 0, 0xbfec8a80, SEEK_CUR) =3D3D -1 ESPIPE (Illegal seek)
open("/usr/share/locale/locale.alias", O_RDONLY) =3D3D 8
fstat64(8, {st_mode=3D3DS_IFREG|0644, st_size=3D3D2528, ...}) =3D3D 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, =
0) =3D
=3D3D
0xb7dce000
read(8, "# Locale name alias data base.\n#"..., 4096) =3D3D 2528
read(8, "", 4096) =3D3D 0
close(8) =3D3D 0
munmap(0xb7dce000, 4096) =3D3D 0
open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) =
=3D3D -1
ENOENT (No such file or directory)
open("/usr/share/locale/en_US.utf8/LC_MESSAGES/libc.mo", O_RDONLY) =3D3D =
-1
ENOENT (No such file or directory)
open("/usr/share/locale/en_US/LC_MESSAGES/libc.mo", O_RDONLY) =3D3D -1 =
ENOENT
(No such file or directory)
open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) =3D3D =
-1 ENO=3D
ENT
(No such file or directory)
open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) =3D3D -1 =
ENOE=3D
NT
(No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) =3D3D -1 =
ENOENT (N=3D
o
such file or directory)
write(7, "perl_parse: Inappropriate ioctl "..., 43) =3D3D 43
close(7) =3D3D 0
munmap(0xb7dcf000, 4096) =3D3D 0
exit_group(1) =3D3D ?

=A0This is being a pain in the butt any help would be great.
=A0Mike


------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server =
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Report this message