Software :: Compiling A 32-bit, Local Gcc, 64-bit Host

Feb 7, 2011

I've successfully compiled a local gcc(s), but now I want to have multiple versions (which is easy enough), but one in particular, I want to be 32-bit. This one eludes me.

Can anyone suggest what to do in order to compile a 32-bit version of the gcc that I want? All the other versions, 64-bit, compiled no problem.

View 3 Replies


ADVERTISEMENT

Fedora :: Getting Error While Cross Compiling Kernel On 14 Host

Feb 9, 2011

I am cross compiling a linux kernel for the mips platform. I have installed the tool chain and everything. When i try to build the kernel i get the following error message.

HOSTCC -static scripts/basic/fixdep
scripts/basic/fixdep.c: In function traps
scripts/basic/fixdep.c:377:2: warning: dereferencing type-punned pointer will break strict-aliasing rules
scripts/basic/fixdep.c:379:4: warning: dereferencing type-punned pointer will break strict-aliasing rules
[Code].....

If i set up the toolchain on a fedora 13 machine with the exact same procedure, the cross compilation works fine. I can't figure out how this can be fixed. I am currently considering downgrading to fedora 13 due to this.

View 3 Replies View Related

General :: Why Can't 'scp' From Remote To Local Host

May 31, 2011

I am having difficulty sending files from a remote machine to local one using

Code:
scp
. It is working the other way however. local > remote. I am using the verbose options

[code]....

View 3 Replies View Related

Fedora :: Can't Mount Host On Local Network Via Nsf?

Sep 21, 2009

I have two machines on my local netowrk, one running Fedora 9 and the other Fedora 11,(64 bit version).I made one, machine A, into an NSF server and arranged to export a directory to the other machine B.I made sure the firewalls were allowing nsf traffic, and I restarted all the relevant daemons.But the mounting still doesn't work.I looked at the setup on my Linksys router, but I don't see anything obvious there that might be getting in the way.ping and ssh recognize my names for the two machines and work properly, bu t I've also tried using the numeric local ip addresses.I tried with the program showmount on B to see if there was any connectivity and I getB% showmount -e Aand I get the responseclint_create:RPC: Port mapper failure - RPC: unable to receive.I used to manage a departmental network and set up nfs mounts all the time, but things were simpler then. I am at a lost what to look at next

View 14 Replies View Related

Fedora Networking :: Set Local Host As FQDN?

Dec 11, 2010

I want to install Globus tool kit it says host name is not FQDN(fully qualified domain name) I tried by installing DNS but it doesnt works

I got the configuration. I have posted in following link. I am not able to reply your post i dont know why. [URL]

View 1 Replies View Related

General :: FTP From Remote Host To Local System?

Sep 27, 2010

I'm using Windows XP. I'm connecting to a UNIX box using putty SHH(ksh). Now I want to copy a text file present in remote host to my local system.

View 5 Replies View Related

Ubuntu Servers :: Webpage Can't Be Viewed On Local Host?

Mar 7, 2010

I have tried to set up the desktop version of the server . In my apache2.conf file I have changed the following lines-

Code:
# Include the virtual host configurations:
#Include /etc/apache2/sites-enabled/
Include /home/www/websites/
Yes I do keep the default values commented out

In my virtual host file I have made the following changes to the DocumentRoot, and to one of the <Directory>; the rest of the file doesn't appear here as nothing was changed.

Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
# DocumentRoot /var/www

[Code]....

View 7 Replies View Related

Ubuntu Servers :: Exim4 Forwarding To Local Host

Jun 9, 2010

I've recently had to rebuild our mail server - after the old one over heated - and I've realised I never backed up the config files for exim... so now tyring to work out how the hell to configure what I had....

The setup isn't the most straight forward, so I'll try and explain what happens...

- all emails @longdomain.com are received by an hosted server on the internet
- they are then forwarded to @shortdomain.com, the IP for which is our internet connection which fowards port 25 traffic to the exim server
- the exim server then spam and virus checks the emails and forwards them to an exchange server (sorry but it works well for us)....

I've installed exim4/spamassassin/clamav successfully, and it's setup to receive emails for the relevant domains and relay from the hosted server on the internet (and some local addresses).

how I then setup exim4 to foward all emails on the relevant domains to the exchange server?

View 6 Replies View Related

Software :: Monitoring Local Host MySQL In Nagios?

Jan 6, 2010

I am using nagios to monitor a local host and a remote host in a vmware, where both the machines working in CentOS. Now i need to monitor MySQL in my local host so that i should know whether MySQL is up and running. I came across some plugins like

check_MySQL_health
check_MySQL_status
check_MySQL_stat.

While i was trying to install check_MySQL_health, i cant get clear description about the installation and i got stuck with that.

View 2 Replies View Related

Debian Configuration :: IPTables - Local Host Cannot Get Returning Traffic

Sep 20, 2010

I have a strange iptables issues. I have just built a new Debian install and starting adding some real basic rules (see below) the problem seems to be that the localhost itself can't get any returning traffic. That is, it seems to be allowed outgoing traffic but not the connected, returning traffic. Ordinarily allowing Established Connections would resolve this, see the rule below, but it hasn't. Why this doesn't work. Removing the last DROP in the INPUT chains obviously makes the traffic work!

iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -j ACCEPT -p tcp --dport 22
iptables -A INPUT -j ACCEPT -s x.x.x.x
iptables -A INPUT -j ACCEPT -s x.x.x.x
iptables -A INPUT -j ACCEPT -s x.x.x.x -p tcp --dport 80
iptables -A INPUT -j ACCEPT -s x.x.x.x -p tcp --dport 8080
iptables -I INPUT 1 -i lo -j ACCEPT
iptables -A INPUT -j DROP

View 3 Replies View Related

Fedora Networking :: Local Host Names Without Domain Using Bind?

May 10, 2009

I want to use single label host names on my local LAN, without using any domain (at least no registered one). My machines should be named in a fashion similar to 'myserver', 'mydesktop' etc. so that i from a browser on any LAN machine may write 'http://myserver', and get the webserver on 'myserver' (so NO domain part, e.g. myserver.domain).

Do i need to create a DNS zone for each host or is there a way to put all host in a single zone, if so; which? Would such a name be considered a root domain?

View 4 Replies View Related

Networking :: Apache Server - Host Local Website Within Network

Jan 11, 2011

I am trying to host a local website(an wiki application) within a network. Is it necessary that all the files I need to upload should be in the var/www?

View 8 Replies View Related

General :: LiveCD - Terminal Like Screen Asking For Local Host Login

May 12, 2010

I have loaded the LiveCd successfully on 3 laptops, now I'm at my daughters new Toshiba & and getting a "Terminal" like screen asking for "Local Host" Login, never had this experience before.

View 6 Replies View Related

Programming :: Script To Find Local IP - Output Unknown Host

Nov 24, 2010

I want to find out my IP and I test this code from beej tutorial:

Code:
char hostname[128];
int i;
struct hostent *he;
struct in_addr **addr_list;
struct in_addr addr;

gethostname(hostname, sizeof hostname);
printf("My hostname: %s
", hostname);
he = gethostbyname(hostname);
if (he == NULL) { // do some error checking
herror("gethostbyname"); // herror(), NOT perror()
return 1;
} // print information about this host:
printf("Official name is: %s
", he->h_name);
printf("IP address: %s
", inet_ntoa(*(struct in_addr*)he->h_addr));
printf("All addresses: ");
addr_list = (struct in_addr **)he->h_addr_list;

for(i = 0; addr_list[i] != NULL; i++) {
printf("%s ", inet_ntoa(*addr_list[i]));
}
printf("
");
return 0;

But my output is this:
Code:
My hostname: vBx
gethostbyname: Unknown host

I heard that it works in windows, why isn't working in linux?

View 1 Replies View Related

OpenSUSE :: Mount A Remote Windows Partition Onto Local Host Through Rdesktop?

Mar 26, 2011

basically i am able to connect to my other windows machine using rdesktop I want to be able to mount the window machine's partition (particularly my media folder cusermyaccountVideo) i know rdesktop ipaddr -r disk: blah blah blah mounts the partition onto the local machine however, i cant figure out what the specific commands are i tried followings but with no luck

Code:
rdesktop ipaddr -u username -p password -r :c=mntmntpoint
rdesktop ipaddr -u username -p password -r :c=mntmntpoint
rdesktop ipaddr -u username -p password -r :cmyaccountVideo=mntmntpoint

all these commands didnt work do anyone know how to do this? i thikn there must be a way

PS: no luck with smbfs as my machines arent on the same lan network (not sure if samba can connect remotely)

View 7 Replies View Related

Ubuntu Networking :: Telnet To Port 25; Connection Refused For All But Local Host

Jan 12, 2010

I can telnet (while on the actual machine) using

Quote:

telnet localhost 25

When I try and use the local machine's ip

Quote:

telnet 192.168.100.9 25

I get

Quote:

Trying 192.168.100.9...
telnet: Unable to connect to remote host: Connection refused

[Code].....

This last one is strange as I the IP looks odd.

What I am doing wrong, and how do I fix it. After much surfing many mosts say that telnet is not used anymore but I want to use it to test my smtp server.

View 9 Replies View Related

Ubuntu :: Epson Stylus D88 Recognized By 10.04 No Tests Or Maintenance Available In Local Host

Aug 7, 2010

Epson stylus d88 recognised by 10.04 no tests or maintenance available in local host and obviously not printing. It's like it's there but they cannot talk to each other

View 3 Replies View Related

Ubuntu Servers :: Fcannot Access Cgi-bin From Local-host - Permission Forbidden

Jun 16, 2011

Using httpd - everything usually works but I have written a cgi script and placed in cgi-bin but i cannot access this dir and keep getting forbidden messages. I have tried adding my root and usual user to the /etc/group file against the user stipulated in the httpd.conf file but i still can't access the cgi script i wrote (in browser - localhost/cgibin/myscrippt.cgi) when i place it in the cgi-bin under htdocs. i have also chmod 755 directory and files.

View 1 Replies View Related

Applications :: Scp Copy A Directory And Its Contents From A Remote Machine To Local Host

Oct 8, 2010

For the life of me I can not figure out what I am doing wrong with scp to copy a directory and its contents from a remote machine to my local host. I have no issues with getting a single file but would like to just save time and get the whole folder in one command.

Here is what I have tried:

scp user AT remoteMachine:/home/username/folderIwant user AT localMachine:/folderIwant this gives me a permission denied error and try again and received disconnect from localHost to many authentication failures

scp user AT remoteMachine:home/username/folderIwant . says can not find file or folder

I am sure this is something easy that I cant remember, and searches gives me local to remote not remote to local and trying to make the local to remote suggestions I read to work remote to local have not worked.

View 2 Replies View Related

Software :: Cross Compiling Software - With A Proprietary Toolchain - Unrecognized Host Platform?

Feb 28, 2011

We have a device here at work running an Arm processor, I have a cross-compiler for the device, it was distributed to our company with the linux distribution we are using on the device (montavista linux). I would love to be able to cross compile some software for this device, however, I really suck at this kind of thing.

Whenever I try to cross compile software, I usually get an error like "unrecognized host platform" (I'm paraphrasing obviously), but the toolchain is not that much different from a generic Arm toolchain, just with some extra libraries installed and stuff. I tried using other arm toolchains, but those are a crapshoot, they compile fine, but they don't always run correctly on the device (for instance, busybox).

The reason I get the unrecognized platform error is because the toolchain has a weird prefix on it (arm_v5t_le-) which the configure script can't handle, but if it would just try to cross compile it like it does with other arm targets, it would work fine. How do I make it work?

View 6 Replies View Related

General :: How To Mount Remote Samba Share From Local Host With Multiple Groups

May 6, 2010

I am using mount.cifs to mount a remote samba share (both client and server are Ubuntu server 8.04) like this:mount.cifs //sambaserver/samba /mountpath -o credentials=/path/.credentials,uid=someuser,gid=1000.I mounted a user from local system with username and password with mount.cifs but the problem is that the user is part of multiple groups on the remote system and with mount.cifs I can only specify one gid. Is there a way to specify all the gids that the remote user has?

Mount the remote samba with multiple groups on the local system?Browse the mount from 1) with the terminal since I want to pass some files from samba as arguments to local programs.which runs through gvfs; but the newer gnome does not write to disk the ~/.gvfs anymore so I can't browse it in terminal. And the last solution would be NFS but that means that I have to synchronize the uids and gids on the local system with the ones from the server.

View 1 Replies View Related

CentOS 5 :: Configure Sendmail To Accept Email Without Domain In Local-host-names

Mar 23, 2011

dammit... all that typing and I hit the wrong "submit" button. *sigh*

Ok, I have a couple of SMTP servers for our infrastructure. They are running Postfix. I have them configured so that specific email addresses such as support@mydomain.com and billing@mydomain.com all go to a new support server that I am building with osTicket. Lets call that server SUPP1.

SUPP1 runs sendmail from the default install of CentOS 5 i386. At this point everything runs great. New emails get added into the osTicket system via a pipe in sendmail. Here's where the problem comes in. In order to accept mail, sendmail has to have the domain listed in local-host-names and the addresses in virtusertable. That works just dandy. But in doing so, sendmail believes it is the destination SMTP server for "mydomain.com". That means that I can't send mail from that server back into my normal SMTP servers. So things like the LogWatch, cron jobs, etc can't send notifications. Is there a way to work around that? For sendmail to ignore local-host-names for outbound email or something?

View 1 Replies View Related

Ubuntu Networking :: Combine Rsync And SSH Pass - Backup File From Each Host With General Password In Local Network??

May 13, 2011

I made a script to backup file from each host with general password in local network. This script using SSH Pass and Rsync with this

syntax:
rsync --rsh="sshpass -p password ssh -l root" hostath destinationpath
Everything is okay under 9.10 version until I migrate to Ubuntu 11.04, there is always give an error:
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(541) [Receiver=3.0.7]

I am using bash version: GNU bash, version 4.2.8(1)-release (i686-pc-linux-gnu) and 2.6.38-8-generic kernel

View 3 Replies View Related

CentOS 5 Server :: Named Reports "NXDOMAIN" Error When Query From Local Host?

Oct 29, 2010

I set up a DNS server, and it works fine when being queried from other hosts.But if I query it from localhost (by using nslookup), it reports error:

======================================
** server can't find www.example.com: NXDOMAIN
======================================

[code]....

View 5 Replies View Related

OpenSUSE Network :: Cannot Resolve Host Names On Local Network?

Mar 9, 2010

I have a mac and an openSUSE box connected wirelessly to a router. From my mac, if I ping the Linux machine by both ip address and hostname "elmo.local", I get a response. If I ping my mac from the Linux machine using its ip address, I get a response. However, if I ping the mac from the Linux box using its name "kermit.local" - nothing!

This means in order to share files between them via the network, I have to use the ip address rather than name, but I'd rather not. When I had Ubuntu installed instead of openSUSE this all worked fine out of the box, so I'm assuming it's a problem with the setup of openSUSE rather than the router or the mac.

View 4 Replies View Related

General :: Error "invalid Arithmetic Operator" When Telnet To Local Host (127.0.0.1) Via A Personal Port

Feb 12, 2011

i write this script:

[Code].....

i make this script to become a service ( i test it from bash, and my script work good), my problem is when i telnet to my local host (127.0.0.1) via a personal port like 5555 telnet give this error: ")syntax error: invalid arithmetic operator (error token is ", i know this error is for echo $(($A+$B)) and i know that telnet can not calculate $A+$B and the error is for this

View 3 Replies View Related

Server :: Host Unknown Error:Sendmail / Stat=Host Unknown (Name Server: Def-fgh.com.: Host Not Found)?

Sep 8, 2009

Many of mails sent from my mail server that are in Queue;The main reason is deffered by domains like yahoo,aol,etc.but there is one more error that i keep getting and that is Host Unknown,Below is an example from mail log,The catch is,test mail sent on the same email id sent from my personal mail from the same server i.e. url was deliveredHowever,another mail containing client information sent from customercare@mycompanysdomain ended up in queue.

There are more examples of the same,around 20 domain have the same problem.

Sep 7 14:33:46 server2 sendmail[24591]: n8793jiC024589: to=<abc@xyz.fi>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=163672, relay=xyz.fi., dsn=5.1.2, stat=Host unknown (Name server: xyz.fi.: host not found)

Sep 7 22:09:42 server2 sendmail[6407]: n87Gdffa006403: to=<abc@def-fgh.com>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=152474, relay=def-fgh.com., dsn=5.1.2, stat=Host unknown (Name server: def-fgh.com.: host not found)

View 2 Replies View Related

Ubuntu Networking :: Transfer Files From Cluster To Host And Then Host To Another?

Mar 4, 2010

I am working on a cluster for a molecular dynamics class and I have to edit my FORTRAN code (only the newest and best for me!). In order to get through to the cluster I have to ssh in. The network on which the cluster resides is behind a firewall, so I have to ssh through the firewall into the network first.

this is fine, I can login and move files and folders as needed, including sftp-ing into host 1, then into the cluster so I can transfer files from cluster to host and then host to me. This gets rather tiresome, so it would be nice to edit the files in place.

The problem is that when I access my code with emacs it launches the emacs client on Host 1, with no mouse support. I know the purists will howl about how I should be using keyboard shortcuts, but I am a chemist and not a programmer, so the mouse is very nice for me. Is there any way I can perhaps mount the cluster using sshfs so that when I open my code it launches a local instance of emacs? Sorry if this is the wrong forum, but I thought it was network related.

View 3 Replies View Related

Networking :: How To Find Least Busy Host Given Hardcoded Host List?

Oct 12, 2010

I got a bunch of machines (~10) that I share with my co-workers. I have appropriate .ssh file(s) set up so I don't get prompt for password when I try to ssh.Currently I ssh into these hosts and then do a top to check the load before I start using the machine. Because I don't want to be on a busy host.Can someone show me how to write a script that find a least-busy host given a list of hosts to check? (hardcoded is fine)

View 1 Replies View Related

General :: Transfer Large Number Of Files Host To Host

Oct 20, 2010

I have two servers, one has an empty / and the other has a subdirectory with a large number (4 gig) with many, many files. I need a way to transfer the files en masse from the server with the large number of files to the one that is essentially blank.I don't have space on the used host to simply gzip all the files. I've googled this and see that there may be some combination of tar and/or gzip that will let me do this with some sort of redirection.

I really need and example line of how this can be accomplished. If my explanation seems rather sparse, I can supply more details.

View 3 Replies View Related







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