Sponsored Content
Special Forums IP Networking Linux centos, can't connect whois.tucows.com Post 302878731 by postcd on Sunday 8th of December 2013 12:20:27 PM
Old 12-08-2013
You were right fpmurphy, it was my firewall.

It was because of Config Server Firewall. When i added port 43 into allowed outgoing ports (on the top of the /etc/csf/csf.conf) and restarted csf by: csf -r

it then started to work
 

10 More Discussions You Might Find Interesting

1. What is on Your Mind?

Linux Centos 5.4 BTMP file size

Dear fellows, I have Centos 5.4 linux with DNS server, all logs are normal, in my /var/log/ btmp files is getting larger day by day. What is this btmp file for? How can i reduce the file siez or control file size. Waiting. MAZ (1 Reply)
Discussion started by: maz
1 Replies

2. Red Hat

Installed apache server , can't connect from outside (using CentOS in WMware )

Hello all I installed apache in CentOS 5.5 ,after searching the web for tips on configuration I did the fallowing stuff to unable connecting the http server from outside. In /etc/httpd/conf/httpd.conf I changed the Listen value to 0.0.0.8011 Then checked with then check with: netstat -anp and I... (2 Replies)
Discussion started by: umen
2 Replies

3. Linux

sort command in centos linux os

Iam working on centos os. Iam not able to sort records without option Please help me out Jayaprakash B. (1 Reply)
Discussion started by: jpachar
1 Replies

4. Red Hat

Authentication Failed in Linux centos

Hi everyone ... ( Linux Cent OS ) i cant login as root user in my lab machine ... i did give correct root and root passwd ..but it showing Authentication Failed ... plz help me (0 Replies)
Discussion started by: coolboys
0 Replies

5. UNIX for Dummies Questions & Answers

How to Autorun a program in Linux(Centos)

HI Expert, :confused: CAn some1 guide me how to run a program automatically whenever the PC/Server is rebooted ? Im not sure where to start from. PLease refer to the pic attached and do help me. Thanks in advance ---------------------------------------------------- (11 Replies)
Discussion started by: crazydude80
11 Replies

6. Web Development

Connect C#(App) + Exim en Centos

Hi everyone, Today i'm faceing a problem, that really hope for some help. I'm working in a Web application developed in C#(DB SQL Server 2012, IDE VS 2010), so i've hired two VPS (Virtual Private Server), one with Windows Server 2012 where it's running my app and the other VPS in Centos.... (1 Reply)
Discussion started by: Newer
1 Replies

7. Emergency UNIX and Linux Support

Websockets proxy on CentOS Linux?

I need to setup a proxy that will sit in front of a websockets server and proxy websockets communication both to and from the server. There will only be one specific client trying to access this server using the websockets protocol. We can configure the proxy settings for port and IP on the... (3 Replies)
Discussion started by: glev2005
3 Replies

8. Cybersecurity

When i start CSF i cant connect VPS or download any data into it It appears i cant connect Linux VP?

It appears i cant connect linux VPS server via SSH or i cant SCP any file to it and i cant wget any file TO it (from inside it) while CSF (Config Server Firewall, LFD is running. Just after isntall in default configuration and after changing TESTING mode to LIVE mode. Trying to wget & install... (1 Reply)
Discussion started by: postcd
1 Replies

9. Red Hat

Hack a centos Linux box

HI, I have a Centos linux box and there is interface connect to internet. I stop the iptables in this box . After a few day , I find the linux box have been hacked and install some perl script into the box . Could anyone tell me how the hacker can login into the centos box without knowing... (1 Reply)
Discussion started by: chuikingman
1 Replies

10. Shell Programming and Scripting

How to schedule a shell script in Linux centos?

Hi All, I have a script that I need to schedule on daily basis. How can I schedule a script in centos. Like I want to run that script evryday at 10 AM and can I store the output of the script in a log file. Thanks ---------- Post updated 04-18-14 at 12:52 AM ---------- Previous update... (0 Replies)
Discussion started by: Palak Sharma
0 Replies
PTHREAD_ATTR_GETSCOPE(3)				   BSD Library Functions Manual 				  PTHREAD_ATTR_GETSCOPE(3)

NAME
pthread_attr_getscope -- get and set the contention scope attribute LIBRARY
POSIX Threads Library (libpthread, -lpthread) SYNOPSIS
#include <pthread.h> int pthread_attr_getscope(const pthread_attr_t * restrict attr, int * restrict contentionscope); int pthread_attr_setscope(pthread_attr_t *attr, int contentionscope); DESCRIPTION
The pthread_attr_getscope() and pthread_attr_setscope() functions get and set, respectively, the contention scope attribute in the attr object. The contentionscope parameter specifies the scheduling contention scope of a thread. It is only possible to set the scope of a thread before the thread is created. There are two possible contention scopes: PTHREAD_SCOPE_SYSTEM The thread will contend for CPU resources with all other processes and threads in the system. Generally this means that the user thread is bound directly to the kernel scheduling for its entire lifetime. PTHREAD_SCOPE_PROCESS The thread will contend with other threads with the same scope attribute. In general, this means that all PTHREAD_SCOPE_PROCESS threads are grouped together and this group of threads contends for CPU resources. This is commonly seen to require a hybrid (``M:N'') threading model in order to multiplex the user and kernel space schedul- ing. Only PTHREAD_SCOPE_SYSTEM is supported in NetBSD. RETURN VALUES
Upon successful completion, both functions return 0. Otherwise an error number is returned to indicate the error. ERRORS
No errors are defined for pthread_attr_getscope(). The pthread_attr_setscope() function shall fail if: [EINVAL] Invalid parameter. SEE ALSO
pthread_attr(3), csf(9) STANDARDS
Both functions conform to ISO/IEC 9945-1:1996 (``POSIX.1''). BSD
July 7, 2010 BSD
All times are GMT -4. The time now is 04:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy