| View previous topic :: View next topic |
| Author |
Message |
he11e n00b

Joined: 27 Dec 2006 Posts: 3
|
Posted: Wed Dec 27, 2006 11:11 am Post subject: sendxmpp, perl and hardened |
|
|
hi all
i have here problems with sendxmpp. i always geht this error:
| Code: |
server ~ # echo test | sendxmpp h@jabber.ccc.de
Cannot resolve server: at /usr/lib/perl5/vendor_perl/5.8.8/XML/Stream.pm line 406.
|
or
| Code: |
server ~ # echo test | sendxmpp h@jabber.ccc.de
Cannot resolve server: Datei oder Verzeichnis nicht gefunden at /usr/lib/perl5/vendor_perl/5.8.8/XML/Stream.pm line 406.
|
or
| Code: |
server libexec # echo test | sendxmpp -v h@jabber.ccc.de
sendxmpp: config: 'password' => 'xXxXxX'
sendxmpp: config: 'jserver' => 'jabber.cc'
sendxmpp: config: 'username' => '****'
Cannot resolve server: Datei oder Verzeichnis nicht gefunden at /usr/lib/perl5/vendor_perl/5.8.8/XML/Stream.pm line 406.
|
dns works on this server
| Code: |
server ~ # nslookup jabber.cc
Server: 217.237.150.141
Address: 217.237.150.141#53
Non-authoritative answer:
Name: jabber.cc
Address: 212.112.228.24
server ~ # nslookup jabber.ccc.de
Server: 217.237.150.141
Address: 217.237.150.141#53
Non-authoritative answer:
Name: jabber.ccc.de
Address: 217.10.10.194
|
may this error is cause i build this system with the hardened USE flag, but at this time i dont use hardened. but everytime i try to install something this warning occurs:
| Quote: |
* This profile has not been tested thoroughly and is not considered to be
* a supported server profile at this time. For a supported server
* profile, please check the Hardened project (http://hardened.gentoo.org).
* This profile is merely a convenience for people who require a more
* minimal profile, yet are unable to use hardened due to restrictions in
* the software being used on the server. This profile should also be used
* if you require GCC 4.1 or Glibc 2.4 support. If you don't know if this
* applies to you, then it doesn't and you should probably be using
* Hardened, instead.
|
my profile is at this time:
| Quote: |
server libexec # ls -al /etc/make.profile
lrwxrwxrwx 1 root root 53 2. Nov 14:36 /etc/make.profile -> /usr/portage/profiles/default-linux/x86/2006.1/server
|
and here is the emerge --info
| Quote: |
Portage 2.1.1-r2 (default-linux/x86/2006.1/server, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r3 i686)
=================================================================
System uname: 2.6.18-gentoo-r3 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.6
Last Sync: Wed, 27 Dec 2006 06:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python: 2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.60
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo"
CXXFLAGS="-O3 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sfperms strict"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 acl alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 bash-completion bitmap-fonts bzip2 cgi cli cracklib crypt cscope cups curl dlloader dri elibc_glibc eurofile exif fortran gd gdbm gnutls gpm iconv input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog kerberos kernel_linux ldap libclamav libg++ logrotate mailwrapper mysql ncurses nls nptl nptlonly oav pam pcre pdf perl ppds pppd python quotas readline reflection ruby samba sasl session slp snmp spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU utf8 vhosts video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo webdav xml xorg zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|
after i switched from the hardened to the gentoo-sources kernel i made a emerge -DNuav system.
revdep-rebuild dont finds anything wrong.
i tried a few times to compile perl, all other dependencies from sendxmpp and the deep dependencies again. but nothing changed.
here are the versions i have installed:
| Quote: |
dev-lang/perl-5.8.8-r2 USE="gdbm -berkdb -build -debug -doc -ithreads -perlsuid" 0 kB
sys-devel/libperl-5.8.8-r1 USE="gdbm -berkdb -debug -ithreads" 0 kB
dev-perl/Net-IP-1.25 0 kB
dev-perl/Net-DNS-0.59 USE="-ipv6" 0 kB
net-im/sendxmpp-0.0.8 0 kB
|
any ideas? |
|
| Back to top |
|
 |
he11e n00b

Joined: 27 Dec 2006 Posts: 3
|
Posted: Tue Jan 02, 2007 9:46 am Post subject: |
|
|
| wrong thread? |
|
| Back to top |
|
 |
Tintamarre n00b


Joined: 11 Jun 2007 Posts: 63 Location: Belgium
|
Posted: Fri Apr 27, 2012 7:09 am Post subject: |
|
|
I'm also trying to do the same. Here is what I get:
| Code: |
gaston ~ # echo test | sendxmpp -v xXxXxXx2@jabber.org
sendxmpp: config: 'password' => '********'
sendxmpp: config: 'jserver' => 'jabber.org'
sendxmpp: config: 'port' => '0'
sendxmpp: config: 'username' => 'xXxXxXxXx1'
Use of uninitialized value within @_ in lc at /usr/lib/perl5/vendor_perl/5.12.4/XML/Stream/Parser.pm line 66.
sendxmpp: Connect: 1
Error 'AuthSend': error: invalid-authzid[?]
sendxmpp: Disconnect
|
Any idea ? _________________ Martin Erpicum |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|