Martin's answer is probably the one you want, but here's another marginally trivial example.
Let $\mathcal{C}$ be a category and let $\mathbf{1}$ be the terminal category with only one object and one morphism. The unique functor $G : \mathcal{C} \to \mathbf{1}$ obviously preserves all limits, but $G$ has a left adjoint if and only if $\mathcal{C}$ has an initial object. Dually, $G$ preserves all colimits and has a right adjoint if and only if $\mathcal{C}$ has a terminal object.
More generally, if $\mathcal{J}$ is a category and $[\mathcal{J}, \mathcal{C}]$ is the category of all functors $\mathcal{J} \to \mathcal{C}$ (i.e. diagrams of shape $\mathcal{J}$ in $\mathcal{C}$), then there is a constant diagram functor $\Delta : \mathcal{C} \to [\mathcal{J}, \mathcal{C}]$ which sends an object $X$ of $\mathcal{C}$ to the constant functor $\Delta(X) : \mathcal{J} \to \mathcal{C}$ which evaluates to $X$ on every object of $\mathcal{J}$ and $\textrm{id}_X$ on every arrow of $\mathcal{J}$. Because limits and colimits in $[\mathcal{J}, \mathcal{C}]$ can be computed pointwise, the functor $\Delta$ preserves all limits and colimits. But $\Delta$ has a left adjoint if and only if $\mathcal{C}$ has all colimits of shape $\mathcal{J}$, and $\Delta$ has a right adjoint if and only if $\mathcal{C}$ has all limits of shape $\mathcal{J}$, i.e.
$$\varinjlim \dashv \Delta \dashv \varprojlim : [\mathcal{J}, \mathcal{C}] \to \mathcal{C}$$
The example above was the special case $\mathcal{J} = \emptyset$.