iptables,centos5,ipv6,facebookRelated issues-Collection of common programming errors
janneb
linux iptables openvz ubuntu-9.10 kernel-modules
After an unsuccessful p2v migration of my Ubuntu server to an OpenVZ container which I am stack with I thought I would give a try to a reinstall based on a clean OpenVZ template for Ubuntu 9.10 (from the OpenVZ wiki)When I try to load my iptables rules on the VM machine I’ve been getting errors which I believe are related to kernel modules not being loaded on the VM from the /vz/XXX.conf template model.I’ve been testing with a few post I’ve found but I was stack with the error:WARNING: Deprecate
arrowill12
centos iptables modules
im trying to allow ftp access on my server I am running Centos 5.x i have instantiated the correct rules in my iptables but when trying to load “ip_conntrack_ftp i get this error:FATAL: Could not load /lib/modules/2.6.18-028stab091.2/modules.dep: No such file or directoryalso I have check my modules directory and it contains nothing.thank you.
Marko Krsmanovic
networking server iptables openvpn
Im trying to setup OpenVPN on Ubuntu and I can’t get internet access when I connect. Only local ip of server is reachable (10.8.0.1) Please Help.My configurations:Server.conf################################################# # Sample OpenVPN 2.0 config file for # # multi-client server. # # # # This file is for the server side # # of a many-clients <-> one-server # # OpenVPN configurat
Luis Alvarado
9.10 iptables
I’m trying to setup OpenVPN Access Server on a VPS running Ubuntu 9.10 for a friend so she can play games from her uni campus. The problem is I keep running into this error when trying to start openvpn.Service deferred error: IPTablesServiceBase: failed to run iptables-restore [status=1]: [‘FATAL: Could not load /lib/modules/2.6.18-028stab070.14/modules.dep: No such file or directory’, ‘FATAL: Could not load /lib/modules/2.6.18-028stab070.14/modules.dep: No such file or directory’, ‘iptables-re
user3215
server 9.10 iptables
When I try to use iptables command on one of my Rackspace cloud server, I’m getting the following error.In an attempt to apply iptables rules with iptables-apply -t 120 /etc/iptables.rules and iptables-restore < /etc/iptables.rules I got the next error:FATAL: Could not load /lib/modules/2.6.32.4-rscloud/modules.dep: No such file or directory iptables-restore v1.4.4: iptables-restore: unable to initialize table ‘filter’Error occurred at line: 2 Try `iptables-restore -h’ or ‘iptables-restore —
qbi
proxy settings firewall iptables spotify
I have been trying to install Spotify, but when logging in I get a message saying I have an error 101. This appears to be related to either my proxy settings or to my firewall. Following instructions from another similar question I’ve entered the following into a terminal iptables -L and it has returned this message which sounds a bit worrying! FATAL: Error inserting ip_tables (/lib/modules/3.5.0-25-generic/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted iptables v1.4.12: can’t
user2307181
android tcp raspberry-pi iptables netcat
Hello im new in linux and android programming , my idea is send packet data from Raspberry Pi to Android Phone via TCP socket. .When connection started, the data stream well , after few data sent the streaming sometimes “jammed”. My android phone IP 192.168.43.1 My static Raspberry IP 192.168.43.5I try to change the port number but the connection still jammed, I try to reduce the size of the packet data but also still jammed .I assume the raspberry firewall (if it exist) is the problem Or maybe
Less
linux http iptables ssl tomcat
I encountered the following problem(s) using Tomcat 7 with iptables on. 1) Namely, there’s this Tomcat 7 instance that I run on server-1 (directly exposed), and this Tomcat instance hosts a REST web-service. Tomcat itself is configured with SSL (NIO, not APR/native), with clientAuth=”true”. Keystores, certs, and everything seems to be set up OK and working. On this server, iptables are up and running allowing all traffic from server-2, and the last rule in the filter INPUT chain is: -A INPUT
Kevin
networking iptables tcp proxy
I have set up a local, transparent TCP proxy on localhost. I want to redirect ALL TCP traffic to this proxy, so it can handle it and nothing “leaks out,” circumventing the proxy. I need to use IPTables to redirect the traffic. I thought about using TPROXY, but that requires application support and only the REDIRECT target is supported at the moment.I have used the following IPTables rules:iptables -t nat -A OUTPUT -o lo -j RETURN iptables -t nat -A OUTPUT -d 127.0.0.0/8 -j RETURN iptables -t nat
user1944267
networking security firewall iptables udp
I notice when I send udp packets from computer A to computer B, B can receive the upd packets correctly but if I send udp packets from computer B to computer A the udp packets are not receivedA and B are not in the same network, and they are all with public IP, they are not behind NAT.does this mean there is a firewall in between which prevents A from receiving udp packets from B? if A sends some udp packets to B before B sends udp packets to A, will the firewall remember this and then allow the
Tom Thorogood
python centos5 apache-2.2 mod-wsgi
I am trying to get web.py working.I have compiled mod_wsgi to use python2.6, and configured my virtualhost correctly (at least I am pretty sure it is!). The hello, world application keeps showing up as 404. I changed the loglevel of Apache to info. and am seeing the following: [Wed Sep 28 15:41:12 2011] [info] mod_wsgi (pid=25969): Attach interpreter ”. [Wed Sep 28 15:42:55 2011] [info] mod_wsgi (pid=25969): Create interpreter ‘clearpoint.turnleftllc.com|/budgetcalculator’. [Wed Sep 28 15:45:33
coolcfan
centos centos5 memory
I am trying to do some tests with Azul’s ZingVM, which needs to pre-allocate large amount of ram.The problem is, on my server (running Cent OS 5.8) which has 16GB ram, more than 8GB will be used right after rebooting… like this (I reboot the server, ssh login to it, and run free -m at once):total used free shared buffers cached Mem: 16048 8281 7767 0 1 19 -/+ buffers/cache: 8260 7788 Swap: 18047 0
hcsteve
centos5 ipv6
I have a machine running CentOS 5.8. IPv6 was disabled by creating a file /etc/modprobe.d/disable-ipv6 with the following contents:options ipv6 disable=1Removing the file and rebooting the machine should re-enable IPv6. Is there a way to enable IPv6 without having to reboot?Additional info:I found something that said to echo 0 > /proc/sys/net/ipv6/conf/interface/disable_ipv6, but /proc/sys/net/ipv6 does not exist on this machine.sysctl shows nothing about IPv6:# sysctl -a | grep -i ipv6 | w
Coombesy
centos5 php5.3
I’m tring to install phpdox https://github.com/theseer/phpdox using composer. I’ve successfully installed it locally, but when I try on my server (centos 5.9) composer declares all is ok, but running phpdox throws:Warning: require(TheSeer/DirectoryScanner/autoload.php): failed to open stream: No such file or directory in /opt/phpdox/phpdox.php on line 45 Fatal error: require(): Failed opening required ‘TheSeer/DirectoryScanner/autoload.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /
melvincv
centos5 lamp
I’m running Centos 5.7. I’m running Apache, MySQL, PHP, Courier-IMAP, Qmail and Plesk control panel in a typical Web hosting server setup. It gets hung often.I had to restart the server via the admin panel, since there was no Plesk or SSH access… How to prevent this from happening again?Processor: AMD Phenom(tm) II X4RAM: 8 GBI noticed some errors in the Apache log:# tail -20 /var/log/httpd/error_log[Mon Sep 03 06:12:33 2012] [error] [client 202.29.34.28] File does not exist: /var/www/vhosts/d
jon
php redhat centos5
I’ve got a CentOS / Red Hat 5.5 box running the current PHP 5.1.6 package. A user is getting the following error:Fatal error: Class ‘ZipArchive’ not found in /var/www/html/<filename.php> on line 225Based on some reading it looks like PHP wants to have had the –enable-zip flag at compile time, however we are running the packaged version for RedHat / Cent. I’m not excited about compiling PHP from source just to enable this option; is there a way to enable the zip functions without resorti
mgorven
postfix centos5
When I have restarting the postfix server I am facing the below error ::postfix-out/master[1714]: fatal: open lock file pid/master.pid: cannot create file exclusively: Permission deniedI having a centos server.
Life of Madness
ruby gem centos gitlab centos5
I get this gitlab install error.Does anyone know why?log:[git@ictiy-01 gitlab]$ sudo -u git -H bundle install –deployment –without development test postgres aws Fetching source index from https://rubygems.org/ Using rake (10.1.0) Using i18n (0.6.9) Using minitest (4.7.5) Using multi_json (1.8.2) Using atomic (1.1.14) Using thread_safe (0.1.3) Using tzinfo (0.3.38) Using activesupport (4.0.2) Using builder (3.1.4) Using erubis (2.7.0) Using rack (1.5.2) Using rack-test (0.6.2) Using actionpack
objah
ruby postgresql gem centos5 pg
After upgrade postgresql 8.1 to 9.0 ive noticed issues with libraries dependency. Postgresql works fine (connection, queries).yum list postgresql* Installed Packages postgresql.i386 9.0.0-1PGDG.el5 installed postgresql-debuginfo.i386 9.0.0-1PGDG.el5 installed postgresql-devel.i386 9.0.0-1PGDG.el5 installed postgresql-libs.i386 9.0.0-1PGDG.el5 installed postgresql-odbcng.i386 0.90.101-2.el5 installed postgresql-plruby.i386 0.5.1-5.el5 installed postgresql-server.i386 9.0.0-1PGDG.el5 installbut wh
Keith Pitty
rubygems rmagick centos5
I’m having problems installing the RMagick rubygem on Centos 5. I’ve followed the steps detailed in http://rmagick.rubyforge.org/install2-linux.html but when I try:sudo gem install rmagickthe result is:Building native extensions. This could take a while… ERROR: Error installing rmagick:ERROR: Failed to build gem native extension./usr/local/bin/ruby extconf.rb checking for Ruby version >= 1.8.5… yes checking for gcc… yes checking for Magick-config… no Can’t install RMagick 2.11.0. Ca
hcsteve
centos5 ipv6
I have a machine running CentOS 5.8. IPv6 was disabled by creating a file /etc/modprobe.d/disable-ipv6 with the following contents:options ipv6 disable=1Removing the file and rebooting the machine should re-enable IPv6. Is there a way to enable IPv6 without having to reboot?Additional info:I found something that said to echo 0 > /proc/sys/net/ipv6/conf/interface/disable_ipv6, but /proc/sys/net/ipv6 does not exist on this machine.sysctl shows nothing about IPv6:# sysctl -a | grep -i ipv6 | w
flxa
google-chrome default ipv6
I’ve been to chrome://net-internals/#dns and enabled IPV6 but there does not seem to be an option to have the browser try the IPV6 address first, it’s defaulting to IPV4.Before enabling IPV6 the default address family was: Default adress family: ADDRESS_FAMILY_IPV4 (IPv6 disabled) After enabling IPV6 it shows as:Default adress family: ADDRESS_FAMILY_UNSPECIFIEDThis looked promising for a sec until it grabbed the IPV4 address first. Any help would be appreciated or even confirmation that it isn’t
datenwolf
ssh ipv6 ipv4
I’m currently stumped by a strange problem. I have a dual stack host to which I want to SSH. If I connect via IPv6 everything works like expecteddatenwolf@foo ~/ > ssh -6 bar.example.com Password:datenwolf@bar ~/ >However when doing the same via IPv4 it failsdatenwolf@foo ~/ > ssh -4 bar.example.com Password: Permission denied (publickey,keyboard-interactive).datenwolf@foo ~/ >Excerpt from /var/log/sshd for the failing loginApr 24 16:34:03 [sshd] SSH: Server;Ltype: Version;Remote: ww
Spiff
ipv6
Is there a way already in place to make use of IPv6 as a routable protocol? Is it possible to buy private IP addresses for IPv6 yet and if so who sells them? Would there be any performance advantage or reduction in latency from having a network based on IPv6? Many software vendors tell you to disable the IPv6 capability of your NIC in order to prevent problems with their software. Does use of IPv6 somehow confuse systems also using IPv4?
Zulakis
apache-2.2 ipv6
When booting a debian wheezy server using apache2 version 2.2.22, the apache autostart fails with the following error:Starting web server: apache2(99)Cannot assign requested address: make_sock: could not bind to address [2a01:aaa:bbb:ccc::2]:80 no listening sockets available, shutting down Unable to open logs Action ‘start’ failed.I already checked if port 80 is already being used by another process using netstat – it is not.The ipv6 setup is native, not using any tunnels. This is the used /etc/
Robert Tupelo-Schneck
tcp ipv6 icmpv6
I’m testing on IPv6. A is a server in a Cogent colo with native IPv6, call it 2001:db8:1111::1. B is a Mac mini behind an Airport Extreme router behind ISP Comcast; the router is set up to use anycast 6to4, and B is let’s say 2002:c000:202::2.On B, ssh 2001:db8:1111::1 works just fine.On A, ssh 2002:c000:202::2 times out. (Same for any other TCP connection.) Running tcpdump -nnvvvSs0 on B, I can see that the SYN packet from A reaches B just fine, but the SYN-ACK packet back from B to A is to
Ian Boyd
nat ipv6 teredo
i’m trying to get Teredo to function on my machine.Most routers, it seems, refuse to forward packets from any host other than the one i specifically connected to first. Teredo requires full Cone NAT in order to function.Does any router, hardware or software, allow full cone NAT? Is this an oversight by the designers of Teredo that nobody, in practice, can use it?i’ve triedm0n0wall pfsense D-Link Linksys SMC
Søren Løvborg
linux routing ipv6 ndp
I administrate the network for a small organisation. Having only experience with IPv4, I’m unsure of how to best approach IPv6.Existing IPv4 setupWe have 13 public IPv4 addresses which are all NAT’ed to internal RFC 1918 addresses (one mapping one-to-many for users, the rest mapping one-to-one for servers). All outgoing traffic goes our ISP’s (single) upstream gateway. Our own router runs Linux.In beautiful ASCII art, the network looks akin to this:client <- LAN -> router
choroba
linux bash ssh ipv6 scp
In a Bash Script I iterate over a list of IPv6 Addresses. I try to scp a unique file on each unique IPv6 Device. The unique file for every Device has the IPv6 Address in the filename. Unfortunately SSH/SCP try to resolve something in the Filename and throw this Error: “ssh: Could not resolve hostname file_2001: Name or service not known”How can I supress this unexpected resolving? or is there a possibility to escape something in here?#!/bin/bashDEVICES=”\ 2001:db8::3e81:d8ff:feef:4982 \ “do_copy
the Tin Man
mysql ipv6
How do I do that?Right now, IPv6 will not be used, but I need to design the application to make it IPv6-ready. It is necessary to store IP addresses and CIDR blocks (also BGP NLRI, but this is another story) in a MySQL database. I’ve alway used an INT for IPv4 + a TINYINT for masklen, but IPv6 is 128 bit.What approach will be best for that? 2xBIGINT? CHAR(16) for binary storage? CHAR(39) for text storage? 8xSMALLINT in a dedicated table?What would you recommend?
user3057928
facebook facebook-php-sdk
I use the official example but didn’t get it to work. It returned this error:Fatal error: Uncaught OAuthException: This IP can’t make requests for that application. thrown in mylinl/etc../base_facebook.php on line 1336
Narisa Glory
php facebook facebook-graph-api facebook-javascript-sdk
First I authenticate the user and get permissions on index.php and after authenticating the user is redirected to action.php where the app does its work.I get this errorFatal error: Uncaught OAuthException: An active access token must beused to query information about the current user. thrown in/home/flysw4fr/public_html/event/facebook.phpThis app worked fine two years ago and now it no longer workshere is my code for action.php <?phprequire_once(‘config.php’);if(!$_SESSION[‘init’]){die; }uns
jjnguy
php facebook api facebook-graph-api
i’m a beginner with the Facebook API. i just created an application and i want to display name and number of friends:this is my code:<?phprequire_once ‘facebook-php-sdk/src/facebook.php’;$appapikey = ‘133XXXX60164049’; $appsecret = ‘ ce6a47dfd838WWWWWW34f387b28633660’;$facebook = new Facebook($appapikey, $appsecret);$user_id = $facebook->getUser();$friends = $facebook->api(‘/me/friends’);echo “<p>Hello <fb:name uid=\”$user_id\” useyou=\”false\” linked=\”false\” firstnameonly=\
Troy Jones
facebook
I have an facebook application. In my app it’s able to pull your friends list where you can search by name or stroll down to find friend. When I type in the search box to find friend I keep getting error message Fatal error: Uncaught Exception: 102: Requires user session thrown in /home/chattabo/public_html/fbappdev/src/base_facebook.php on line 123. What does this mean and do anyone knows how to fix this?
Sahil Mittal
php facebook facebook-graph-api facebook-php-sdk facebook-login
Facebook PHP SDK calls the Facebook::getLoginStatusUrl() method, but this method does not exist in the SDK. I’m using the following code: if ($user) { $logoutUrl = $facebook->getLogoutUrl(); } else { $statusUrl = $facebook->getLoginStatusUrl(); $loginUrl = $facebook->getLoginUrl(); } What do I do?
bruce
facebook class
I have installed the instabuilder plug in and somehow the SEO Facebook C. plugin is conflicting with it.Only when the SEO Facebook C. plugin is active accessing this page: http://www.jmuller777.com/blog/?mode=facebook_tab gives me the fallowing error:”Fatal error: Cannot redeclare class FacebookApiException in/home/denrrou/public_html/jmuller777.com/blog/wp-content/plugins/InstaBuilder/inc/facebook/base_facebook.phpon line 107″I have read that it should be a class issue, but i cant figure out wh
Jonatan
php facebook facebook-graph-api
PHP Fatal error: Class ‘Facebook’ not found in /mnt/releases/server/asrivastava/first-task/390f5294f2b74ffbbe729e1ce9773c39573973b8/public/subscribe.php on line 36<?php try{include_once “./php-sdk/src/facebook.php”; } catch(Exception $o){echo ‘<pre>’;print_r($o);echo ‘</pre>’; }error_log(“Subscribe.php”); error_log(“included facebook classes”); define (“FB_APPID” ,”APPID”) ; define (“FB_SECRET”, “KEY”); define (“VERIFY_TOKEN” ,”myFirstFB”);$access_token = “MyAccessToken”; $user =
Bram Vanroy
facebook
StackOverflow users thought this topic was best posted here, and so I willingly do so.First of all: the readme.txt of this module is seriously out-dated! It really needs a review concerning the FB updates.Now, the real problem: I have installed the module, inserted my appID and all that, but when in /admin/config/people/fbconnect I click on ‘appearance’ I get this fatal error:Fatal error: Call to a member function getUser() on a non-object in /customers/denotenbalkers.be/denotenbalkers.be/httpd.
kiamlaluno
facebook
I’m using the Facebook connect module to give the users the possibility to log in in my website with their Facebook account. The configuration of the module is good, but when I click on “Log in to NameSite with Facebook account” I get this error message:Fatal error: Call to a member function getLoginUrl() on a non-object in fbconnect.pages.inc on line 230I am using Drupal 7.
Marinescu Edward
php facebook api
I have a facebook application as a page tab, it’s a mini game. The problem is if I stay 5 min afk in the menu and than click a button to go to other page of the game I get the following error (This doesn’t happends if you click faster than 5 minutes or so):Fatal error: Uncaught OAuthException: An active access token must be used to query information about the current user. thrown in /home/…/facebook/base_facebook.php on line 1340Anyone know what could be the problem?
Web site is in building