Ubuntu :: Tar: Var/spool/postfix/public/cleanup: Socket Ignored

Jan 21, 2010

Is there an alternate tar package for Ubuntu that supports sockets and such? I know there is in Slackware, which I use when I'm doing stuff on Slackware.

View 2 Replies


ADVERTISEMENT

Ubuntu Servers :: Postfix Make Install - Error - Postfix: Fatal: Chdir(/usr/libexec/postfix): No Such File Or Directory

Mar 11, 2010

Here is what i do: make clean make makefiles CCARGS='-DEF_CONFIG_DIR="/opt/product/postfix-2.6.5/etc"

-DEF_COMMAND_DIR="/opt/product/postfix-2.6.5"
-DEF_DAEMON_DIR="/opt/product/postfix-2.6.5/libexec"
-DEF_MAILQ_PATH="/opt/product/postfix-2.6.5/bin/mailq"
-DEF_DATA_DIR="/opt/product/postfix-2.6.5/lib"
-DEF_NEWALIAS_DIR="/opt/product/postfix-2.6.5/bin/newaliases"
[Code]...

make install then i got this error: postfix: fatal: chdir(/usr/libexec/postfix): No such file or directory make: *** [install] Error 1 I don't understand why it's checking the usr/libexec folder for the daemons although I've set the folder to /opt/product/postfix-2.6.5/libexec in the makefile. Here is also the cat of my makedefs.out:

[Code]....

View 1 Replies View Related

Ubuntu :: Use Openssl Public And Private Keys So Only A Host With The Public Key Could Access / Decrypt The Filesharing

Aug 2, 2011

I'm trying to write a p2p file sharing program using python's built-in libraries. Everything is going well. The only thing is that i'd like to be able to use openssl public and private keys so only a host with the public key could access/decrypt the filesharing. I've gotten these libraries (httplib, basehttpserver, ssl, os) to work using just a pem file containing both the public and private keys but no success with them seperately. Can someone point me in the right direction or offer an alternative? PS, the goal of the project is to create an anonymous, decentralized, secure file sharing program. I want to be able to upload this to sourceforge so everyone can use it, if that's any incentive

View 2 Replies View Related

Networking :: Configuring Socket Timer To Release Socket Once The Connection Is Terminated?

Jun 4, 2010

I want to configure socket timer to release socket(port) once the connection is terminated. Do we have something in Linux OS to configure this delay to release socket?.

Any command, link or man-page anything will be helpful.

I browsed a lot but unable to find it.

View 1 Replies View Related

Server :: Socket Connections / Socket And TCP Connection For Connecting To An External System?

Dec 7, 2010

Anyone knows the difference between a socket and TCP connection for connecting to an external system?

View 1 Replies View Related

Networking :: /usr/sbin/in.telnetd: Getpeername: Socket Operation On Non-socket?

May 5, 2009

I had installed Fedora 10

Below is the output of uname -a

Linux 2.6.27.5-117.fc10.i686.PAE #1 SMP Tue Nov 18 12:08:10 EST 2008 i686 i686 i386 GNU/Linux

I need to enable telnet service on it, then found xinetd and telnet-server not installed,

Then I had installed below
First I had installed Xinetd: xinetd-2.3.14-21.fc10.i386.rpm
then I had installed telnet-server: xinetd-2.3.14-21.fc10.i386.rpm

After installation I executed below commands

Service xinetd start
Chkconfig xinetd on
Chkconfig telnet on
Service iptables stop
Chkconfig iptables off
Iptables �F

After I had tried telnet localhost ----IT FAILED

when I run telnet server manually by issuing the below command
/usr/sbin/in.telnetd, I get below error
[COLOR="Red"]/usr/sbin/in.telnetd: getpeername: Socket operation on non-socket[/COLOR]

I have other system running same OS, I had followed the same steps discussed above to enable telnet, It works fine on it.

View 1 Replies View Related

General :: Socket Programming - Feed Some Words One By One To The Socket

Jul 6, 2010

i'm writing a simple program of client socket program. Here below is the code sample which i'm writing...

Code:
//tcp_client.c
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include<string.h>
#include<stdlib.h>
[Code].....

the above code works fine.if we copmile and run ./a.exe 192.xx.xx.xxx 1111 and press enter it works fine..everytime it asks "Please enter the message: " and if give that will be displayed in server. but my problem is i dont want to print everytime "Please enter the message: " i just want to feed some words one by one to the socket.

View 4 Replies View Related

Programming :: Setsockopt : Socket Operation On Non-socket Getting Error?

Mar 30, 2009

im getting that error in my code for some reason. I compiled my code, and when i try to run this server it throws me an error on my call to setsocketopt(). The only way it can reach that part of my loop is if it succeeds when it calls sock() so I dont understand why the error says its an operation on a non-socket. Im just trying to set up a server to pass messages from a client to it a viceversa. Here is the code:

Code:
int main()
{
int socket_fd, new_socket_fd, k;
struct addrinfo hints, *server_info, *p;
struct sockaddr_storage peer_address;
code....

View 7 Replies View Related

General :: Mv: Cannot Stat `/public/public/clamscans/*.txt': No Such File Or Directory

Sep 24, 2010

I run the following file with the >log.log redirector and it does not capture errors.

#!/bin/bash
echo ************************BEGIN LOG******************************
date +"%m/%d/%Y %H:%M:%S $HOSTNAME"
cp -f /scripts/original/clamscans.log /scripts

[code]....

The following errors show up when I run from the file from the term window, but are not written to log.log:

tar: /public/public/clamscans/*.txt: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors
mv: cannot stat `/public/public/clamscans/*.txt': No such file or directory

I know with windows you can add the 2>&1 to capture error data. Is there such a thing for Linux?

View 2 Replies View Related

Debian Configuration :: Forward Traffic From Public IP To Another Public IP?

Mar 3, 2010

How can I forward all traffic from a public IP to another public IP. Let's say I have a first debian box named box1 with eth0 = 1.1.1.1 and eth0:1 = 1.1.1.2 and I want to forward all traffic from 1.1.1.2 to "box2" located somewhere else over the internet and having for eth0 2.2.2.2 Both 1.1.1.0/24 and 3.3.3.0/24 are public IP ranges.

View 1 Replies View Related

General :: Socket Error / Socket 31: 0x36?

Sep 15, 2009

We are seeing recv err on socket 31: 0x36. What could be meaning of the error?.

View 1 Replies View Related

Ubuntu :: Get Email From /var/spool On Its Account?

Jan 14, 2010

Does anyone know a way (the simple the better) to receive all the email that can be found in /var/spool/mail/user to a yahoo or gmail account?

i mean, instead of login to the server and read the messages from /var/spool/root, it will be a lot easyear and faster to found about them, if they will be sent to my email account

i know i can make the cron output be sent by email, if i place in front of the cron line something like :
MAILTO="email@something.com"

but in /var/spool/mail/ for root or other usernames you can found many other messages.

View 2 Replies View Related

Ubuntu Installation :: App Cleanup And 10.04 Will Not Boot

Aug 26, 2011

I have installed Ubuntu 10.04 on a Dell Inspiron 1300 laptop. After installing many apps and finding I didn't need some, I did some cleanup. I must've cleaned too much because now Ubuntu won't boot. On boot, I see the Ubuntu logo with the five dots under it. The dots change color as if something is in progress, but it won''t get beyond that. I am relatively new to Ubuntu and I want to stay with it because it's an excellent system. I have worked extensively with Unix in the past but not with a GUI front-end.

View 1 Replies View Related

Networking :: Multiple FTP Upload Socket Error "Connection Reset By Peer: Socket Write"

Jan 31, 2010

I am pragmatically trying to upload a list of files from my client machine to a proFTPd server I have running on Ubuntu. Every time I get several (around fifty) files into the transfer, I get the following error: Quote: Connection reset by peer: socket write error

I am able to remotely upload 25,000 small files of ~ 1K in size, but when I go to upload hundreds of 2-4 Mb files, I get a socket write error. Am I using up all available sockets before they can be released? If so, how do I release the sockets? If not, what does this error mean and why am I getting it?

View 1 Replies View Related

Ubuntu :: Thunderbird Cannot Locate Mail Spool File - Gmail

Oct 28, 2010

I just dl'd Thunderbird and its working fine with my Hotmail account however I'm having some problems with my Gmail account. I can send emails thru gmail just fine but when I click get mail, the error message: Unable to locate mail spool file pops up. The server settings for this account are Server Type: Unix Movemail Server Name: Local Host Username: (my gmail email - @gmail.com) I think this is all set up right, it did it automatically for me.

View 2 Replies View Related

Slackware :: Change Mail Spool Location ?

Mar 2, 2010

Is there a way to change the mail spool location from /var/mail/ to some other place? I'm thinking of users own home directory or $HOME/.mail.

This is because system partition is not big enough to keep all mail from the company and /home is in a different one.

Creating another partition to keep /var or /var/mail seems too much just to keep emails.

Solution: checking /usr/doc/procmail-x.xx/examples/advanced

View 8 Replies View Related

Ubuntu :: Lost Boot Option After Windows Cleanup?

Jul 29, 2010

A Microsoft anti virus program (Security Essentials) cleaned out a bunch of problems in Windows XP and now I don't have the double boot option any more. What do I change to get Ubuntu option back? OH, I also had to do a checkpoint restore prior to that but it was after I had installed Ubunto (I think). Which leads me to ask....how do I identify the Ubuntu disk space I allocated at install time? I can't seem to find it.

View 9 Replies View Related

Ubuntu :: Sda1 Full, Cleanup Commands Not Working

Oct 25, 2010

I have had the same problem of /dev/sda1 becoming full and have been able to fix it with the commands:

sudo apt-get clean
sudo apt-get autoremove
sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade

But this time I am still unable to free significant space. Here is the output of various commands.

df -h
/dev/sda1 5.6G 5.4G 0 100% /
varrun 498M 108K 498M 1% /var/run
varlock 498M 0 498M 0% /var/lock
udev 498M 76K 498M 1% /dev

[Code].....

View 1 Replies View Related

Ubuntu :: Cleanup Script Which Will Clean All Trash Folders

Dec 20, 2010

its basically a cleanup script which will clean all my trash folders..

n run
apt-get clean
apt-get autoclean
apt-get autoremove..

how can i do so?

View 9 Replies View Related

Ubuntu Networking :: No Internet Access After Security Cleanup?

May 17, 2011

i installed many security programs as a switching from windows guy and decided to get rid of them last night. I uninstalledgufw, clamav(and all based packages), firestarterusing synapticbefore i rebooted the system the internet was well and working. but after i rebooted i had no internet access;firefox couldn't retrieve, update manager and apt-get couldn't connect.the computer knows it's connected to the router i see the connection established sign but I can't even connect to the router by typing "192.168.2.1".the computer can ping itself(127.0.0.1) but can't ping itself in the network (the dhcp address is 192.168.2.3) and replies "operation denied" or something like that.I rebooted using live-cd and connected with no problems; the my internet connection is fineany thoughts will be appreciated P.S.: I did a fast check on the forums and couldn't find anything related; i didn't check thoroughly though.

View 4 Replies View Related

Software :: Test / Cleanup Program For Ubuntu System?

Apr 9, 2010

Have Ubuntu & it was working well, but has become slow, 'greys out' on me regularly - eg. pic loses colour & nothing will respond for a few or more seconds. Also 'Ubuntu Software Centre' & "Synaptic' thingy come up with errors, saying can't install or uninstall progs. Although it seems they may do it OK despite saying they can't. Have Computer Janitor installed, but this is no longer working at all. So... is there a program or such that I can use to test/clean out the system?? For that matter, is there a program for testing hardware, as I'm not sure if it's an indication of unhealthy hard drive or such?

View 1 Replies View Related

General :: Move The Contents Of /public-back/templates Recursively With Permissions Into /public/templates?

Apr 20, 2011

ls -al ../public-back
drwxrwxr-x 4 apache apache 4096 Apr 19 03:32 templates
ls -al ../public-back/templates
drwxrwxr-x 2 apache apache 4096 Apr 19 03:33 content

[code]....

How do I move the contents of /public-back/templates recursively with permissions into /public/templates ?

View 2 Replies View Related

General :: Spool Directory Samba Has Been Shared As Printer

Oct 2, 2009

In my samba configuration, I have a strange share.
Share name: MyPrinter
Shared folder: /var/spool/samba
comment = lp
read only = No
print ok = Yes
The spool directory /var/spool/samba has been shared as a printer. What will be the harm caused by it? (I don't know who shared such). And I also wanted to know the security issue due to it..

View 1 Replies View Related

SUSE :: Opensuse 11.2 How To Check /var/spool/mail/acer

Jun 11, 2010

What is the message /var/spool/mail/acer for? how do I check the mail? I'm new to openSuSE.

View 4 Replies View Related

Hardware :: Remote Printer Starts To Spool Job But Never Finishes?

Jul 14, 2009

I'm trying to set up a remote printer.Printer is on a Vista machineI am on Debian testing.This is the result of smbclient for the remote computer:

Code:
$ smbclient -L //192.168.0.10
Enter rach's password:

[code]...

View 2 Replies View Related

Software :: /var/spool/clientmqueue Filling Up On RHEL 5.5 - Stop?

Feb 18, 2011

I know that this issue has been brought up before but I can't quite find the answer I am looking for. I have several servers where /var/spool/clientmqueue is filling up with unsent messages. I know this is because I have disabled sendmail on these servers. My question is how do I get it to stop and leave that poor directory alone?

View 1 Replies View Related

Slackware :: Mutt Reads Mail Spool Very Slowly

May 11, 2011

Running 13.37 with either the stock 2.6.37.6 or 2.6.38.4 from /testing and the stock mutt I am having to wait 3-8 seconds while mutt reads my mail spool. Hmmm on closer examination read speed is actually fine, pressing F5 to refresh shows the spool immediately. Some odd refresh problem, this with xfce.

View 1 Replies View Related

Ubuntu :: Tool Similar To Windows Defrag - Disk Cleanup?

Jul 8, 2011

Does Ubuntu have any tool similar to Windows defrag or disk cleanup that cleans up your hard disk and clears up some space?

View 4 Replies View Related

Programming :: Socket Programming - Detect Whether A Client Socket Is Closed / Active?

Mar 8, 2011

iam just trying to connect to server which accepts one client and server will read(blocking operation) infinitely, but After closing the client socket the server "read operation" is returning zero and "errno variable(in errno.h)" value is also zero. how can i detect whether a client socket is closed/active..?

client.c
Serv_Addr.sin_family = AF_INET;
Serv_Addr.sin_addr.s_addr = inet_addr("127.0.0.1");
Serv_Addr.sin_port = htons(26553);
if( 0 > connect (Serv_Fds,&Serv_Addr,sizeof(Serv_Addr)) )
{
perror("connect");
return 0;
[Code]....

View 3 Replies View Related

Slackware :: Crontab - Fetchmail Sends Output To Mail Spool?

Jan 6, 2010

I'm new to mail via the CLI, so bear with me. I have this line in my crontab:

Code:
*/5 * * * * fetchmail
Which does check my mail every 5 minutes fine. But I get the command-line output mailed to

[code]...

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved